{ "version":"2.0", "metadata":{ "apiVersion":"2021-04-20", "endpointPrefix":"identity-chime", "protocol":"rest-json", "serviceFullName":"Amazon Chime SDK Identity", "serviceId":"Chime SDK Identity", "signatureVersion":"v4", "signingName":"chime", "uid":"chime-sdk-identity-2021-04-20" }, "operations":{ "CreateAppInstance":{ "name":"CreateAppInstance", "http":{ "method":"POST", "requestUri":"/app-instances", "responseCode":201 }, "input":{"shape":"CreateAppInstanceRequest"}, "output":{"shape":"CreateAppInstanceResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Creates an Amazon Chime SDK messaging AppInstance under an AWS account. Only SDK messaging customers use this API. CreateAppInstance supports idempotency behavior as described in the AWS API Standard.

identity

" }, "CreateAppInstanceAdmin":{ "name":"CreateAppInstanceAdmin", "http":{ "method":"POST", "requestUri":"/app-instances/{appInstanceArn}/admins", "responseCode":201 }, "input":{"shape":"CreateAppInstanceAdminRequest"}, "output":{"shape":"CreateAppInstanceAdminResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can perform the following actions.

Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.

" }, "CreateAppInstanceUser":{ "name":"CreateAppInstanceUser", "http":{ "method":"POST", "requestUri":"/app-instance-users", "responseCode":201 }, "input":{"shape":"CreateAppInstanceUserRequest"}, "output":{"shape":"CreateAppInstanceUserResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Creates a user under an Amazon Chime AppInstance. The request consists of a unique appInstanceUserId and Name for that user.

" }, "DeleteAppInstance":{ "name":"DeleteAppInstance", "http":{ "method":"DELETE", "requestUri":"/app-instances/{appInstanceArn}", "responseCode":204 }, "input":{"shape":"DeleteAppInstanceRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Deletes an AppInstance and all associated data asynchronously.

" }, "DeleteAppInstanceAdmin":{ "name":"DeleteAppInstanceAdmin", "http":{ "method":"DELETE", "requestUri":"/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}", "responseCode":204 }, "input":{"shape":"DeleteAppInstanceAdminRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Demotes an AppInstanceAdmin to an AppInstanceUser. This action does not delete the user.

" }, "DeleteAppInstanceUser":{ "name":"DeleteAppInstanceUser", "http":{ "method":"DELETE", "requestUri":"/app-instance-users/{appInstanceUserArn}", "responseCode":204 }, "input":{"shape":"DeleteAppInstanceUserRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Deletes an AppInstanceUser.

" }, "DeregisterAppInstanceUserEndpoint":{ "name":"DeregisterAppInstanceUserEndpoint", "http":{ "method":"DELETE", "requestUri":"/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}", "responseCode":204 }, "input":{"shape":"DeregisterAppInstanceUserEndpointRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Deregisters an AppInstanceUserEndpoint.

" }, "DescribeAppInstance":{ "name":"DescribeAppInstance", "http":{ "method":"GET", "requestUri":"/app-instances/{appInstanceArn}" }, "input":{"shape":"DescribeAppInstanceRequest"}, "output":{"shape":"DescribeAppInstanceResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Returns the full details of an AppInstance.

" }, "DescribeAppInstanceAdmin":{ "name":"DescribeAppInstanceAdmin", "http":{ "method":"GET", "requestUri":"/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}", "responseCode":200 }, "input":{"shape":"DescribeAppInstanceAdminRequest"}, "output":{"shape":"DescribeAppInstanceAdminResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Returns the full details of an AppInstanceAdmin.

" }, "DescribeAppInstanceUser":{ "name":"DescribeAppInstanceUser", "http":{ "method":"GET", "requestUri":"/app-instance-users/{appInstanceUserArn}" }, "input":{"shape":"DescribeAppInstanceUserRequest"}, "output":{"shape":"DescribeAppInstanceUserResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Returns the full details of an AppInstanceUser.

" }, "DescribeAppInstanceUserEndpoint":{ "name":"DescribeAppInstanceUserEndpoint", "http":{ "method":"GET", "requestUri":"/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}", "responseCode":200 }, "input":{"shape":"DescribeAppInstanceUserEndpointRequest"}, "output":{"shape":"DescribeAppInstanceUserEndpointResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Returns the full details of an AppInstanceUserEndpoint.

" }, "GetAppInstanceRetentionSettings":{ "name":"GetAppInstanceRetentionSettings", "http":{ "method":"GET", "requestUri":"/app-instances/{appInstanceArn}/retention-settings", "responseCode":200 }, "input":{"shape":"GetAppInstanceRetentionSettingsRequest"}, "output":{"shape":"GetAppInstanceRetentionSettingsResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Gets the retention settings for an AppInstance.

" }, "ListAppInstanceAdmins":{ "name":"ListAppInstanceAdmins", "http":{ "method":"GET", "requestUri":"/app-instances/{appInstanceArn}/admins", "responseCode":200 }, "input":{"shape":"ListAppInstanceAdminsRequest"}, "output":{"shape":"ListAppInstanceAdminsResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Returns a list of the administrators in the AppInstance.

" }, "ListAppInstanceUserEndpoints":{ "name":"ListAppInstanceUserEndpoints", "http":{ "method":"GET", "requestUri":"/app-instance-users/{appInstanceUserArn}/endpoints", "responseCode":200 }, "input":{"shape":"ListAppInstanceUserEndpointsRequest"}, "output":{"shape":"ListAppInstanceUserEndpointsResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Lists all the AppInstanceUserEndpoints created under a single AppInstanceUser.

" }, "ListAppInstanceUsers":{ "name":"ListAppInstanceUsers", "http":{ "method":"GET", "requestUri":"/app-instance-users" }, "input":{"shape":"ListAppInstanceUsersRequest"}, "output":{"shape":"ListAppInstanceUsersResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

List all AppInstanceUsers created under a single AppInstance.

" }, "ListAppInstances":{ "name":"ListAppInstances", "http":{ "method":"GET", "requestUri":"/app-instances" }, "input":{"shape":"ListAppInstancesRequest"}, "output":{"shape":"ListAppInstancesResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Lists all Amazon Chime AppInstances created under a single AWS account.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ThrottledClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Lists the tags applied to an Amazon Chime SDK identity resource.

" }, "PutAppInstanceRetentionSettings":{ "name":"PutAppInstanceRetentionSettings", "http":{ "method":"PUT", "requestUri":"/app-instances/{appInstanceArn}/retention-settings", "responseCode":200 }, "input":{"shape":"PutAppInstanceRetentionSettingsRequest"}, "output":{"shape":"PutAppInstanceRetentionSettingsResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Sets the amount of time in days that a given AppInstance retains data.

" }, "RegisterAppInstanceUserEndpoint":{ "name":"RegisterAppInstanceUserEndpoint", "http":{ "method":"POST", "requestUri":"/app-instance-users/{appInstanceUserArn}/endpoints", "responseCode":201 }, "input":{"shape":"RegisterAppInstanceUserEndpointRequest"}, "output":{"shape":"RegisterAppInstanceUserEndpointResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Registers an endpoint under an Amazon Chime AppInstanceUser. The endpoint receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags?operation=tag-resource", "responseCode":204 }, "input":{"shape":"TagResourceRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Applies the specified tags to the specified Amazon Chime SDK identity resource.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"POST", "requestUri":"/tags?operation=untag-resource", "responseCode":204 }, "input":{"shape":"UntagResourceRequest"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ForbiddenException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ThrottledClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Removes the specified tags from the specified Amazon Chime SDK identity resource.

" }, "UpdateAppInstance":{ "name":"UpdateAppInstance", "http":{ "method":"PUT", "requestUri":"/app-instances/{appInstanceArn}", "responseCode":200 }, "input":{"shape":"UpdateAppInstanceRequest"}, "output":{"shape":"UpdateAppInstanceResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Updates AppInstance metadata.

" }, "UpdateAppInstanceUser":{ "name":"UpdateAppInstanceUser", "http":{ "method":"PUT", "requestUri":"/app-instance-users/{appInstanceUserArn}", "responseCode":200 }, "input":{"shape":"UpdateAppInstanceUserRequest"}, "output":{"shape":"UpdateAppInstanceUserResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ResourceLimitExceededException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Updates the details of an AppInstanceUser. You can update names and metadata.

" }, "UpdateAppInstanceUserEndpoint":{ "name":"UpdateAppInstanceUserEndpoint", "http":{ "method":"PUT", "requestUri":"/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}", "responseCode":200 }, "input":{"shape":"UpdateAppInstanceUserEndpointRequest"}, "output":{"shape":"UpdateAppInstanceUserEndpointResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"ConflictException"}, {"shape":"ForbiddenException"}, {"shape":"ThrottledClientException"}, {"shape":"UnauthorizedClientException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ServiceFailureException"} ], "documentation":"

Updates the details of an AppInstanceUserEndpoint. You can update the name and AllowMessage values.

" } }, "shapes":{ "AllowMessages":{ "type":"string", "enum":[ "ALL", "NONE" ] }, "AppInstance":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the messaging instance.

" }, "Name":{ "shape":"NonEmptyResourceName", "documentation":"

The name of an AppInstance.

" }, "CreatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which an AppInstance was created. In epoch milliseconds.

" }, "LastUpdatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time an AppInstance was last updated. In epoch milliseconds.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of an AppInstance.

" } }, "documentation":"

The details of an AppInstance, an instance of an Amazon Chime SDK messaging application.

" }, "AppInstanceAdmin":{ "type":"structure", "members":{ "Admin":{ "shape":"Identity", "documentation":"

The AppInstanceAdmin data.

" }, "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance for which the user is an administrator.

" }, "CreatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which an administrator was created.

" } }, "documentation":"

The details of an AppInstanceAdmin.

" }, "AppInstanceAdminList":{ "type":"list", "member":{"shape":"AppInstanceAdminSummary"} }, "AppInstanceAdminSummary":{ "type":"structure", "members":{ "Admin":{ "shape":"Identity", "documentation":"

The details of the AppInstanceAdmin.

" } }, "documentation":"

Summary of the details of an AppInstanceAdmin.

" }, "AppInstanceList":{ "type":"list", "member":{"shape":"AppInstanceSummary"} }, "AppInstanceRetentionSettings":{ "type":"structure", "members":{ "ChannelRetentionSettings":{ "shape":"ChannelRetentionSettings", "documentation":"

The length of time in days to retain the messages in a channel.

" } }, "documentation":"

The details of the data-retention settings for an AppInstance.

" }, "AppInstanceSummary":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The AppInstance ARN.

" }, "Name":{ "shape":"NonEmptyResourceName", "documentation":"

The name of the AppInstance.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of the AppInstance.

" } }, "documentation":"

Summary of the data for an AppInstance.

" }, "AppInstanceUser":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "Name":{ "shape":"UserName", "documentation":"

The name of the AppInstanceUser.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of the AppInstanceUser.

" }, "CreatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which the AppInstanceUser was created.

" }, "LastUpdatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which the AppInstanceUser was last updated.

" } }, "documentation":"

The details of an AppInstanceUser.

" }, "AppInstanceUserEndpoint":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

" }, "Name":{ "shape":"SensitiveString1600", "documentation":"

The name of the AppInstanceUserEndpoint.

" }, "Type":{ "shape":"AppInstanceUserEndpointType", "documentation":"

The type of the AppInstanceUserEndpoint.

" }, "ResourceArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the resource to which the endpoint belongs.

" }, "EndpointAttributes":{ "shape":"EndpointAttributes", "documentation":"

The attributes of an Endpoint.

" }, "CreatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which an AppInstanceUserEndpoint was created.

" }, "LastUpdatedTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which an AppInstanceUserEndpoint was last updated.

" }, "AllowMessages":{ "shape":"AllowMessages", "documentation":"

Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will receive no messages.

" }, "EndpointState":{ "shape":"EndpointState", "documentation":"

A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:

" } }, "documentation":"

An endpoint under an Amazon Chime AppInstanceUser that receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.

" }, "AppInstanceUserEndpointSummary":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

" }, "Name":{ "shape":"SensitiveString1600", "documentation":"

The name of the AppInstanceUserEndpoint.

" }, "Type":{ "shape":"AppInstanceUserEndpointType", "documentation":"

The type of the AppInstanceUserEndpoint.

" }, "AllowMessages":{ "shape":"AllowMessages", "documentation":"

BBoolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will receive no messages.

" }, "EndpointState":{ "shape":"EndpointState", "documentation":"

A read-only field that represent the state of an AppInstanceUserEndpoint.

" } }, "documentation":"

Summary of the details of an AppInstanceUserEndpoint.

" }, "AppInstanceUserEndpointSummaryList":{ "type":"list", "member":{"shape":"AppInstanceUserEndpointSummary"} }, "AppInstanceUserEndpointType":{ "type":"string", "enum":[ "APNS", "APNS_SANDBOX", "GCM" ] }, "AppInstanceUserList":{ "type":"list", "member":{"shape":"AppInstanceUserSummary"} }, "AppInstanceUserSummary":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "Name":{ "shape":"UserName", "documentation":"

The name of an AppInstanceUser.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of the AppInstanceUser.

" } }, "documentation":"

Summary of the details of an AppInstanceUser.

" }, "BadRequestException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The input parameters don't match the service's restrictions.

", "error":{"httpStatusCode":400}, "exception":true }, "ChannelRetentionSettings":{ "type":"structure", "members":{ "RetentionDays":{ "shape":"RetentionDays", "documentation":"

The time in days to retain the messages in a channel.

" } }, "documentation":"

The details of the retention settings for a channel.

" }, "ChimeArn":{ "type":"string", "max":1600, "min":5, "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}" }, "ClientRequestToken":{ "type":"string", "max":64, "min":2, "pattern":"[-_a-zA-Z0-9]*", "sensitive":true }, "ConflictException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The request could not be processed because of conflict in the current state of the resource.

", "error":{"httpStatusCode":409}, "exception":true }, "CreateAppInstanceAdminRequest":{ "type":"structure", "required":[ "AppInstanceAdminArn", "AppInstanceArn" ], "members":{ "AppInstanceAdminArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the administrator of the current AppInstance.

" }, "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "CreateAppInstanceAdminResponse":{ "type":"structure", "members":{ "AppInstanceAdmin":{ "shape":"Identity", "documentation":"

The name and ARN of the admin for the AppInstance.

" }, "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the of the admin for the AppInstance.

" } } }, "CreateAppInstanceRequest":{ "type":"structure", "required":[ "Name", "ClientRequestToken" ], "members":{ "Name":{ "shape":"NonEmptyResourceName", "documentation":"

The name of the AppInstance.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of the AppInstance. Limited to a 1KB string in UTF-8.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", "documentation":"

The ClientRequestToken of the AppInstance.

", "idempotencyToken":true }, "Tags":{ "shape":"TagList", "documentation":"

Tags assigned to the AppInstanceUser.

" } } }, "CreateAppInstanceResponse":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The Amazon Resource Number (ARN) of the AppInstance.

" } } }, "CreateAppInstanceUserRequest":{ "type":"structure", "required":[ "AppInstanceArn", "AppInstanceUserId", "Name", "ClientRequestToken" ], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance request.

" }, "AppInstanceUserId":{ "shape":"UserId", "documentation":"

The user ID of the AppInstance.

" }, "Name":{ "shape":"UserName", "documentation":"

The user's name.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The request's metadata. Limited to a 1KB string in UTF-8.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", "documentation":"

The token assigned to the user requesting an AppInstance.

", "idempotencyToken":true }, "Tags":{ "shape":"TagList", "documentation":"

Tags assigned to the AppInstanceUser.

" } } }, "CreateAppInstanceUserResponse":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The user's ARN.

" } } }, "DeleteAppInstanceAdminRequest":{ "type":"structure", "required":[ "AppInstanceAdminArn", "AppInstanceArn" ], "members":{ "AppInstanceAdminArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance's administrator.

", "location":"uri", "locationName":"appInstanceAdminArn" }, "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "DeleteAppInstanceRequest":{ "type":"structure", "required":["AppInstanceArn"], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "DeleteAppInstanceUserRequest":{ "type":"structure", "required":["AppInstanceUserArn"], "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the user request being deleted.

", "location":"uri", "locationName":"appInstanceUserArn" } } }, "DeregisterAppInstanceUserEndpointRequest":{ "type":"structure", "required":[ "AppInstanceUserArn", "EndpointId" ], "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

", "location":"uri", "locationName":"endpointId" } } }, "DescribeAppInstanceAdminRequest":{ "type":"structure", "required":[ "AppInstanceAdminArn", "AppInstanceArn" ], "members":{ "AppInstanceAdminArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceAdmin.

", "location":"uri", "locationName":"appInstanceAdminArn" }, "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "DescribeAppInstanceAdminResponse":{ "type":"structure", "members":{ "AppInstanceAdmin":{ "shape":"AppInstanceAdmin", "documentation":"

The ARN and name of the AppInstanceUser, the ARN of the AppInstance, and the created and last-updated timestamps. All timestamps use epoch milliseconds.

" } } }, "DescribeAppInstanceRequest":{ "type":"structure", "required":["AppInstanceArn"], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "DescribeAppInstanceResponse":{ "type":"structure", "members":{ "AppInstance":{ "shape":"AppInstance", "documentation":"

The ARN, metadata, created and last-updated timestamps, and the name of the AppInstance. All timestamps use epoch milliseconds.

" } } }, "DescribeAppInstanceUserEndpointRequest":{ "type":"structure", "required":[ "AppInstanceUserArn", "EndpointId" ], "members":{ "AppInstanceUserArn":{ "shape":"SensitiveString1600", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

", "location":"uri", "locationName":"endpointId" } } }, "DescribeAppInstanceUserEndpointResponse":{ "type":"structure", "members":{ "AppInstanceUserEndpoint":{ "shape":"AppInstanceUserEndpoint", "documentation":"

The full details of an AppInstanceUserEndpoint: the AppInstanceUserArn, ID, name, type, resource ARN, attributes, allow messages, state, and created and last updated timestamps. All timestamps use epoch milliseconds.

" } } }, "DescribeAppInstanceUserRequest":{ "type":"structure", "required":["AppInstanceUserArn"], "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" } } }, "DescribeAppInstanceUserResponse":{ "type":"structure", "members":{ "AppInstanceUser":{ "shape":"AppInstanceUser", "documentation":"

The name of the AppInstanceUser.

" } } }, "EndpointAttributes":{ "type":"structure", "required":["DeviceToken"], "members":{ "DeviceToken":{ "shape":"NonEmptySensitiveString1600", "documentation":"

The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.

" }, "VoipDeviceToken":{ "shape":"NonEmptySensitiveString1600", "documentation":"

The VOIP device token for the APNS and APNS_SANDBOX endpoint types.

" } }, "documentation":"

The attributes of an Endpoint.

" }, "EndpointState":{ "type":"structure", "required":["Status"], "members":{ "Status":{ "shape":"EndpointStatus", "documentation":"

Enum that indicates the Status of an AppInstanceUserEndpoint.

" }, "StatusReason":{ "shape":"EndpointStatusReason", "documentation":"

The reason for the EndpointStatus.

" } }, "documentation":"

A read-only field that represents the state of an AppInstanceUserEndpoint. Supported values:

" }, "EndpointStatus":{ "type":"string", "enum":[ "ACTIVE", "INACTIVE" ] }, "EndpointStatusReason":{ "type":"string", "enum":[ "INVALID_DEVICE_TOKEN", "INVALID_PINPOINT_ARN" ] }, "ErrorCode":{ "type":"string", "enum":[ "BadRequest", "Conflict", "Forbidden", "NotFound", "PreconditionFailed", "ResourceLimitExceeded", "ServiceFailure", "AccessDenied", "ServiceUnavailable", "Throttled", "Throttling", "Unauthorized", "Unprocessable", "VoiceConnectorGroupAssociationsExist", "PhoneNumberAssociationsExist" ] }, "ForbiddenException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The client is permanently forbidden from making the request.

", "error":{"httpStatusCode":403}, "exception":true }, "GetAppInstanceRetentionSettingsRequest":{ "type":"structure", "required":["AppInstanceArn"], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" } } }, "GetAppInstanceRetentionSettingsResponse":{ "type":"structure", "members":{ "AppInstanceRetentionSettings":{ "shape":"AppInstanceRetentionSettings", "documentation":"

The retention settings for the AppInstance.

" }, "InitiateDeletionTimestamp":{ "shape":"Timestamp", "documentation":"

The timestamp representing the time at which the specified items are retained, in Epoch Seconds.

" } } }, "Identity":{ "type":"structure", "members":{ "Arn":{ "shape":"ChimeArn", "documentation":"

The ARN in an Identity.

" }, "Name":{ "shape":"ResourceName", "documentation":"

The name in an Identity.

" } }, "documentation":"

The details of a user.

" }, "ListAppInstanceAdminsRequest":{ "type":"structure", "required":["AppInstanceArn"], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of administrators that you want to return.

", "location":"querystring", "locationName":"max-results" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token returned from previous API requests until the number of administrators is reached.

", "location":"querystring", "locationName":"next-token" } } }, "ListAppInstanceAdminsResponse":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

" }, "AppInstanceAdmins":{ "shape":"AppInstanceAdminList", "documentation":"

The information for each administrator.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token returned from previous API requests until the number of administrators is reached.

" } } }, "ListAppInstanceUserEndpointsRequest":{ "type":"structure", "required":["AppInstanceUserArn"], "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of endpoints that you want to return.

", "location":"querystring", "locationName":"max-results" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API calls until all requested endpoints are returned.

", "location":"querystring", "locationName":"next-token" } } }, "ListAppInstanceUserEndpointsResponse":{ "type":"structure", "members":{ "AppInstanceUserEndpoints":{ "shape":"AppInstanceUserEndpointSummaryList", "documentation":"

The information for each requested AppInstanceUserEndpoint.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API calls until all requested endpoints are returned.

" } } }, "ListAppInstanceUsersRequest":{ "type":"structure", "required":["AppInstanceArn"], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"querystring", "locationName":"app-instance-arn" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of requests that you want returned.

", "location":"querystring", "locationName":"max-results" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API calls until all requested users are returned.

", "location":"querystring", "locationName":"next-token" } } }, "ListAppInstanceUsersResponse":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

" }, "AppInstanceUsers":{ "shape":"AppInstanceUserList", "documentation":"

The information for each requested AppInstanceUser.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API calls until all requested users are returned.

" } } }, "ListAppInstancesRequest":{ "type":"structure", "members":{ "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of AppInstances that you want to return.

", "location":"querystring", "locationName":"max-results" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API requests until you reach the maximum number of AppInstances.

", "location":"querystring", "locationName":"next-token" } } }, "ListAppInstancesResponse":{ "type":"structure", "members":{ "AppInstances":{ "shape":"AppInstanceList", "documentation":"

The information for each AppInstance.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The token passed by previous API requests until the maximum number of AppInstances is reached.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["ResourceARN"], "members":{ "ResourceARN":{ "shape":"ChimeArn", "documentation":"

The ARN of the resource.

", "location":"querystring", "locationName":"arn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "Tags":{ "shape":"TagList", "documentation":"

The tag key-value pairs.

" } } }, "MaxResults":{ "type":"integer", "max":50, "min":1 }, "Metadata":{ "type":"string", "max":1024, "min":0, "pattern":".*", "sensitive":true }, "NextToken":{ "type":"string", "max":2048, "min":0, "pattern":".*", "sensitive":true }, "NonEmptyResourceName":{ "type":"string", "max":256, "min":1, "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", "sensitive":true }, "NonEmptySensitiveString1600":{ "type":"string", "max":1600, "min":1, "pattern":".*", "sensitive":true }, "PutAppInstanceRetentionSettingsRequest":{ "type":"structure", "required":[ "AppInstanceArn", "AppInstanceRetentionSettings" ], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" }, "AppInstanceRetentionSettings":{ "shape":"AppInstanceRetentionSettings", "documentation":"

The time in days to retain data. Data type: number.

" } } }, "PutAppInstanceRetentionSettingsResponse":{ "type":"structure", "members":{ "AppInstanceRetentionSettings":{ "shape":"AppInstanceRetentionSettings", "documentation":"

The time in days to retain data. Data type: number.

" }, "InitiateDeletionTimestamp":{ "shape":"Timestamp", "documentation":"

The time at which the API deletes data.

" } } }, "RegisterAppInstanceUserEndpointRequest":{ "type":"structure", "required":[ "AppInstanceUserArn", "Type", "ResourceArn", "EndpointAttributes", "ClientRequestToken" ], "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "Name":{ "shape":"SensitiveString1600", "documentation":"

The name of the AppInstanceUserEndpoint.

" }, "Type":{ "shape":"AppInstanceUserEndpointType", "documentation":"

The type of the AppInstanceUserEndpoint. Supported types:

Populate the ResourceArn value of each type as PinpointAppArn.

" }, "ResourceArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the resource to which the endpoint belongs.

" }, "EndpointAttributes":{ "shape":"EndpointAttributes", "documentation":"

The attributes of an Endpoint.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", "documentation":"

The idempotency token for each client request.

", "idempotencyToken":true }, "AllowMessages":{ "shape":"AllowMessages", "documentation":"

Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint receives all messages. NONE indicates the endpoint receives no messages.

" } } }, "RegisterAppInstanceUserEndpointResponse":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

" } } }, "ResourceLimitExceededException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The request exceeds the resource limit.

", "error":{"httpStatusCode":400}, "exception":true }, "ResourceName":{ "type":"string", "max":256, "min":0, "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*", "sensitive":true }, "RetentionDays":{ "type":"integer", "max":5475, "min":1 }, "SensitiveChimeArn":{ "type":"string", "max":1600, "min":5, "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}", "sensitive":true }, "SensitiveString1600":{ "type":"string", "max":1600, "min":0, "pattern":".*", "sensitive":true }, "SensitiveString64":{ "type":"string", "max":64, "min":0, "pattern":".*", "sensitive":true }, "ServiceFailureException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The service encountered an unexpected error.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "ServiceUnavailableException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The service is currently unavailable.

", "error":{"httpStatusCode":503}, "exception":true, "fault":true }, "String":{"type":"string"}, "Tag":{ "type":"structure", "required":[ "Key", "Value" ], "members":{ "Key":{ "shape":"TagKey", "documentation":"

The key in a tag.

" }, "Value":{ "shape":"TagValue", "documentation":"

The value in a tag.

" } }, "documentation":"

A tag object containing a key-value pair.

" }, "TagKey":{ "type":"string", "max":128, "min":1, "sensitive":true }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":50, "min":1 }, "TagList":{ "type":"list", "member":{"shape":"Tag"}, "max":50, "min":1 }, "TagResourceRequest":{ "type":"structure", "required":[ "ResourceARN", "Tags" ], "members":{ "ResourceARN":{ "shape":"ChimeArn", "documentation":"

The resource ARN.

" }, "Tags":{ "shape":"TagList", "documentation":"

The tag key-value pairs.

" } } }, "TagValue":{ "type":"string", "max":256, "min":1, "sensitive":true }, "ThrottledClientException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The client exceeded its request rate limit.

", "error":{"httpStatusCode":429}, "exception":true }, "Timestamp":{"type":"timestamp"}, "UnauthorizedClientException":{ "type":"structure", "members":{ "Code":{"shape":"ErrorCode"}, "Message":{"shape":"String"} }, "documentation":"

The client is not currently authorized to make the request.

", "error":{"httpStatusCode":401}, "exception":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "ResourceARN", "TagKeys" ], "members":{ "ResourceARN":{ "shape":"ChimeArn", "documentation":"

The resource ARN.

" }, "TagKeys":{ "shape":"TagKeyList", "documentation":"

The tag keys.

" } } }, "UpdateAppInstanceRequest":{ "type":"structure", "required":[ "AppInstanceArn", "Name", "Metadata" ], "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

", "location":"uri", "locationName":"appInstanceArn" }, "Name":{ "shape":"NonEmptyResourceName", "documentation":"

The name that you want to change.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata that you want to change.

" } } }, "UpdateAppInstanceResponse":{ "type":"structure", "members":{ "AppInstanceArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstance.

" } } }, "UpdateAppInstanceUserEndpointRequest":{ "type":"structure", "required":[ "AppInstanceUserArn", "EndpointId" ], "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

", "location":"uri", "locationName":"endpointId" }, "Name":{ "shape":"SensitiveString1600", "documentation":"

The name of the AppInstanceUserEndpoint.

" }, "AllowMessages":{ "shape":"AllowMessages", "documentation":"

Boolean that controls whether the AppInstanceUserEndpoint is opted in to receive messages. ALL indicates the endpoint will receive all messages. NONE indicates the endpoint will receive no messages.

" } } }, "UpdateAppInstanceUserEndpointResponse":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"SensitiveChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" }, "EndpointId":{ "shape":"SensitiveString64", "documentation":"

The unique identifier of the AppInstanceUserEndpoint.

" } } }, "UpdateAppInstanceUserRequest":{ "type":"structure", "required":[ "AppInstanceUserArn", "Name", "Metadata" ], "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceUser.

", "location":"uri", "locationName":"appInstanceUserArn" }, "Name":{ "shape":"UserName", "documentation":"

The name of the AppInstanceUser.

" }, "Metadata":{ "shape":"Metadata", "documentation":"

The metadata of the AppInstanceUser.

" } } }, "UpdateAppInstanceUserResponse":{ "type":"structure", "members":{ "AppInstanceUserArn":{ "shape":"ChimeArn", "documentation":"

The ARN of the AppInstanceUser.

" } } }, "UserId":{ "type":"string", "max":64, "min":1, "pattern":"[A-Za-z0-9]([A-Za-z0-9\\:\\-\\_\\.\\@]{0,62}[A-Za-z0-9])?", "sensitive":true }, "UserName":{ "type":"string", "max":100, "min":1, "pattern":".*\\S.*", "sensitive":true } }, "documentation":"

The Amazon Chime SDK Identity APIs in this section allow software developers to create and manage unique instances of their messaging applications. These APIs provide the overarching framework for creating and sending messages. For more information about the identity APIs, refer to Amazon Chime SDK identity.

" }