OBJECT

Tenant

Tenants contain a network of Nodes. They are constrained to a single AWS region and allow for secure processing of messages within the Network.

link GraphQL Schema definition

  • type Tenant {
  • # After Tenant creation it can take several minutes the Tenant to
  • # become active. Only active Tenants can have requests made for them.
  • active: Boolean!
  • # True if this tenant is currently auditing messages.
  • audit: Boolean
  • # The config, in JSON object format (i.e. - dict, map).
  • config: AWSJSON
  • # When and who created.
  • created: AtBy!
  • # A human-readable description.
  • description: String
  • # When and who modified.
  • lastModified: AtBy!
  • # The name.
  • name: String!
  • # The AWS region.
  • region: String!
  • # The Id of the subscription for this Tenant. Present only if billing is enabled.
  • subscriptionId: String
  • # The name of the Tenant's DynamoDB table.
  • table: String!
  • # Lists all usage details for the Tenant
  • usages: [Usage!]
  • # A list of users authorized to work in this Tenant.
  • users: [TenantUser!]
  • # Adds the specified user to the Tenant. If the user is not already
  • # an EchoStream user an invite will be sent.
  • #
  • # Arguments
  • # email: The email.
  • # role: The role.
  • AddUser(email: AWSEmail!, role: UserRole!): TenantUser!
  • # Deletes this.
  • Delete: Boolean!
  • # Returns that AwsCredentials required to access the EchoStream resources assigned
  • # to this Tenant.
  • #
  • # Arguments
  • # duration: The length of time, in seconds, that the returned
  • # credentials are valid for. Between 900 and 43,200. Defaults to 3,600.
  • GetAwsCredentials(duration: Int): AwsCredentials!
  • # If billing is enabled, return a transaction ID for updating the payment method.
  • GetUpdatePaymentTransactionId: String
  • # Gets the usage for the Tenant for the specified period.
  • #
  • # Arguments
  • # month: The month to get usage for.
  • # year: The year to get usage for.
  • GetUsage(month: Int!, year: Int!): Usage
  • # Lists the changes.
  • #
  • # Arguments
  • # endDateTime: The end date/time (inclusive) to list changes for
  • # in ISO8601 format. Defaults to now.
  • # exclusiveStartKey: The lastEvaluatedKey from a previous
  • # ChangeResult. Used when paginating.
  • # limit: Used for limiting the number of results when paginating.
  • # Defaults to "all".
  • # sortAscending: True for ascending results, False for descending
  • # result. Defaults to True.
  • # startDateTime: The start date/time (inclusive) to list changes
  • # for in ISO8601 format. Defaults to the beginning of time.
  • ListChanges(
  • endDateTime: AWSDateTime,
  • exclusiveStartKey: AWSJSON,
  • limit: Int,
  • sortAscending: Boolean,
  • startDateTime: AWSDateTime
  • ): ChangeResult!
  • # Updates and returns the Tenant.
  • #
  • # Arguments
  • # audit: True to turn on auditing of messages, False to turn off.
  • # Null is ignored.
  • # config: The config, in JSON object format (i.e. - dict, map).
  • # Null is ignored.
  • # description: A human-readable description.
  • Update(audit: Boolean, config: AWSJSON, description: String): Tenant!
  • }

link Require by