{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2021-05-15",
    "endpointPrefix":"messaging-chime",
    "protocol":"rest-json",
    "serviceFullName":"Amazon Chime SDK Messaging",
    "serviceId":"Chime SDK Messaging",
    "signatureVersion":"v4",
    "signingName":"chime",
    "uid":"chime-sdk-messaging-2021-05-15"
  },
  "operations":{
    "AssociateChannelFlow":{
      "name":"AssociateChannelFlow",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}/channel-flow",
        "responseCode":200
      },
      "input":{"shape":"AssociateChannelFlowRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> API.</p> <note> <p>Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "BatchCreateChannelMembership":{
      "name":"BatchCreateChannelMembership",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/memberships?operation=batch-create",
        "responseCode":200
      },
      "input":{"shape":"BatchCreateChannelMembershipRequest"},
      "output":{"shape":"BatchCreateChannelMembershipResponse"},
      "errors":[
        {"shape":"ServiceFailureException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"BadRequestException"},
        {"shape":"NotFoundException"},
        {"shape":"ForbiddenException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ResourceLimitExceededException"}
      ],
      "documentation":"<p>Adds a specified number of users and bots to a channel. </p>"
    },
    "ChannelFlowCallback":{
      "name":"ChannelFlowCallback",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}?operation=channel-flow-callback",
        "responseCode":200
      },
      "input":{"shape":"ChannelFlowCallbackRequest"},
      "output":{"shape":"ChannelFlowCallbackResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Calls back Amazon Chime SDK messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API.</p> <p>You can return one of the following processing responses:</p> <ul> <li> <p>Update message content or metadata</p> </li> <li> <p>Deny a message</p> </li> <li> <p>Make no changes to the message</p> </li> </ul>"
    },
    "CreateChannel":{
      "name":"CreateChannel",
      "http":{
        "method":"POST",
        "requestUri":"/channels",
        "responseCode":201
      },
      "input":{"shape":"CreateChannelRequest"},
      "output":{"shape":"CreateChannelResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceLimitExceededException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Creates a channel to which you can add users and send messages.</p> <p> <b>Restriction</b>: You can't change a channel's privacy.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "CreateChannelBan":{
      "name":"CreateChannelBan",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/bans",
        "responseCode":201
      },
      "input":{"shape":"CreateChannelBanRequest"},
      "output":{"shape":"CreateChannelBanResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceLimitExceededException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Permanently bans a member from a channel. Moderators can't add banned members to a channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or channels.</p> <p>If you ban a user who is already part of a channel, that user is automatically kicked from the channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "CreateChannelFlow":{
      "name":"CreateChannelFlow",
      "http":{
        "method":"POST",
        "requestUri":"/channel-flows",
        "responseCode":201
      },
      "input":{"shape":"CreateChannelFlowRequest"},
      "output":{"shape":"CreateChannelFlowResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceLimitExceededException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API.</p> <p>Channel flows process the following items:</p> <ol> <li> <p>New and updated messages</p> </li> <li> <p>Persistent and non-persistent messages</p> </li> <li> <p>The Standard message type</p> </li> </ol> <note> <p>Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK messaging, refer to <a href=\"https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types\">Message types</a> in the <i>Amazon Chime developer guide</i>.</p> </note>"
    },
    "CreateChannelMembership":{
      "name":"CreateChannelMembership",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/memberships",
        "responseCode":201
      },
      "input":{"shape":"CreateChannelMembershipRequest"},
      "output":{"shape":"CreateChannelMembershipResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"NotFoundException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceLimitExceededException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> is derived from the request header. A channel member can:</p> <ul> <li> <p>List messages</p> </li> <li> <p>Send messages</p> </li> <li> <p>Receive messages</p> </li> <li> <p>Edit their own messages</p> </li> <li> <p>Leave the channel</p> </li> </ul> <p>Privacy settings impact this action as follows:</p> <ul> <li> <p>Public Channels: You do not need to be a member to list messages, but you must be a member to send messages.</p> </li> <li> <p>Private Channels: You must be a member to list or send messages.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "CreateChannelModerator":{
      "name":"CreateChannelModerator",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/moderators",
        "responseCode":201
      },
      "input":{"shape":"CreateChannelModeratorRequest"},
      "output":{"shape":"CreateChannelModeratorResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceLimitExceededException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Creates a new <code>ChannelModerator</code>. A channel moderator can:</p> <ul> <li> <p>Add and remove other members of the channel.</p> </li> <li> <p>Add and remove other moderators of the channel.</p> </li> <li> <p>Add and remove user bans for the channel.</p> </li> <li> <p>Redact messages in the channel.</p> </li> <li> <p>List messages in the channel.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteChannel":{
      "name":"DeleteChannel",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteChannelBan":{
      "name":"DeleteChannelBan",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}/bans/{memberArn}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelBanRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Removes a member from a channel's ban list.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteChannelFlow":{
      "name":"DeleteChannelFlow",
      "http":{
        "method":"DELETE",
        "requestUri":"/channel-flows/{channelFlowArn}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelFlowRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Deletes a channel flow, an irreversible process. This is a developer API.</p> <note> <p> This API works only when the channel flow is not associated with any channel. To get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow from all channels. </p> </note>"
    },
    "DeleteChannelMembership":{
      "name":"DeleteChannelMembership",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}/memberships/{memberArn}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelMembershipRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Removes a member from a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteChannelMessage":{
      "name":"DeleteChannelMessage",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}/messages/{messageId}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelMessageRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Deletes a channel message. Only admins can perform this action. Deletion makes messages inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteChannelModerator":{
      "name":"DeleteChannelModerator",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}",
        "responseCode":204
      },
      "input":{"shape":"DeleteChannelModeratorRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Deletes a channel moderator.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DeleteMessagingStreamingConfigurations":{
      "name":"DeleteMessagingStreamingConfigurations",
      "http":{
        "method":"DELETE",
        "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations",
        "responseCode":204
      },
      "input":{"shape":"DeleteMessagingStreamingConfigurationsRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Deletes the streaming configurations for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>"
    },
    "DescribeChannel":{
      "name":"DescribeChannel",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelRequest"},
      "output":{"shape":"DescribeChannelResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DescribeChannelBan":{
      "name":"DescribeChannelBan",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/bans/{memberArn}",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelBanRequest"},
      "output":{"shape":"DescribeChannelBanResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a channel ban.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DescribeChannelFlow":{
      "name":"DescribeChannelFlow",
      "http":{
        "method":"GET",
        "requestUri":"/channel-flows/{channelFlowArn}",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelFlowRequest"},
      "output":{"shape":"DescribeChannelFlowResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. This is a developer API.</p>"
    },
    "DescribeChannelMembership":{
      "name":"DescribeChannelMembership",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/memberships/{memberArn}",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelMembershipRequest"},
      "output":{"shape":"DescribeChannelMembershipResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a user's channel membership.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DescribeChannelMembershipForAppInstanceUser":{
      "name":"DescribeChannelMembershipForAppInstanceUser",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}?scope=app-instance-user-membership",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelMembershipForAppInstanceUserRequest"},
      "output":{"shape":"DescribeChannelMembershipForAppInstanceUserResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p> Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DescribeChannelModeratedByAppInstanceUser":{
      "name":"DescribeChannelModeratedByAppInstanceUser",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}?scope=app-instance-user-moderated-channel",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelModeratedByAppInstanceUserRequest"},
      "output":{"shape":"DescribeChannelModeratedByAppInstanceUserResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> or <code>AppInstanceBot</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "DescribeChannelModerator":{
      "name":"DescribeChannelModerator",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/moderators/{channelModeratorArn}",
        "responseCode":200
      },
      "input":{"shape":"DescribeChannelModeratorRequest"},
      "output":{"shape":"DescribeChannelModeratorResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns the full details of a single ChannelModerator.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
    },
    "DisassociateChannelFlow":{
      "name":"DisassociateChannelFlow",
      "http":{
        "method":"DELETE",
        "requestUri":"/channels/{channelArn}/channel-flow/{channelFlowArn}",
        "responseCode":204
      },
      "input":{"shape":"DisassociateChannelFlowRequest"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor.</p> <note> <p>Only administrators or channel moderators can disassociate a channel flow.</p> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "GetChannelMembershipPreferences":{
      "name":"GetChannelMembershipPreferences",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/memberships/{memberArn}/preferences",
        "responseCode":200
      },
      "input":{"shape":"GetChannelMembershipPreferencesRequest"},
      "output":{"shape":"GetChannelMembershipPreferencesResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ForbiddenException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> for the specified channel. A user or a bot must be a member of the channel and own the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> and channel moderator roles can't retrieve preferences for other users or bots. Banned users or bots can't retrieve membership preferences for the channel from which they are banned.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "GetChannelMessage":{
      "name":"GetChannelMessage",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/messages/{messageId}",
        "responseCode":200
      },
      "input":{"shape":"GetChannelMessageRequest"},
      "output":{"shape":"GetChannelMessageResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Gets the full details of a channel message.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "GetChannelMessageStatus":{
      "name":"GetChannelMessageStatus",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/messages/{messageId}?scope=message-status",
        "responseCode":200
      },
      "input":{"shape":"GetChannelMessageStatusRequest"},
      "output":{"shape":"GetChannelMessageStatusResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Gets message status for a specified <code>messageId</code>. Use this API to determine the intermediate status of messages going through channel flow processing. The API provides an alternative to retrieving message status if the event was not received because a client wasn't connected to a websocket. </p> <p>Messages can have any one of these statuses.</p> <dl> <dt>SENT</dt> <dd> <p>Message processed successfully</p> </dd> <dt>PENDING</dt> <dd> <p>Ongoing processing</p> </dd> <dt>FAILED</dt> <dd> <p>Processing failed</p> </dd> <dt>DENIED</dt> <dd> <p>Message denied by the processor</p> </dd> </dl> <note> <ul> <li> <p>This API does not return statuses for denied messages, because we don't store them once the processor denies them. </p> </li> <li> <p>Only the message sender can invoke this API.</p> </li> <li> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </li> </ul> </note>"
    },
    "GetMessagingSessionEndpoint":{
      "name":"GetMessagingSessionEndpoint",
      "http":{
        "method":"GET",
        "requestUri":"/endpoints/messaging-session",
        "responseCode":200
      },
      "input":{"shape":"GetMessagingSessionEndpointRequest"},
      "output":{"shape":"GetMessagingSessionEndpointResponse"},
      "errors":[
        {"shape":"UnauthorizedClientException"},
        {"shape":"ForbiddenException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>The details of the endpoint for the messaging session.</p>"
    },
    "GetMessagingStreamingConfigurations":{
      "name":"GetMessagingStreamingConfigurations",
      "http":{
        "method":"GET",
        "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations",
        "responseCode":200
      },
      "input":{"shape":"GetMessagingStreamingConfigurationsRequest"},
      "output":{"shape":"GetMessagingStreamingConfigurationsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"NotFoundException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Retrieves the data streaming configuration for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>"
    },
    "ListChannelBans":{
      "name":"ListChannelBans",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/bans",
        "responseCode":200
      },
      "input":{"shape":"ListChannelBansRequest"},
      "output":{"shape":"ListChannelBansResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all the users and bots banned from a particular channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListChannelFlows":{
      "name":"ListChannelFlows",
      "http":{
        "method":"GET",
        "requestUri":"/channel-flows",
        "responseCode":200
      },
      "input":{"shape":"ListChannelFlowsRequest"},
      "output":{"shape":"ListChannelFlowsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Returns a paginated lists of all the channel flows created under a single Chime. This is a developer API.</p>"
    },
    "ListChannelMemberships":{
      "name":"ListChannelMemberships",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/memberships",
        "responseCode":200
      },
      "input":{"shape":"ListChannelMembershipsRequest"},
      "output":{"shape":"ListChannelMembershipsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all channel memberships in a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note> <p>If you want to list the channels to which a specific app instance user belongs, see the <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html\">ListChannelMembershipsForAppInstanceUser</a> API.</p>"
    },
    "ListChannelMembershipsForAppInstanceUser":{
      "name":"ListChannelMembershipsForAppInstanceUser",
      "http":{
        "method":"GET",
        "requestUri":"/channels?scope=app-instance-user-memberships",
        "responseCode":200
      },
      "input":{"shape":"ListChannelMembershipsForAppInstanceUserRequest"},
      "output":{"shape":"ListChannelMembershipsForAppInstanceUserResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p> Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN that is not their own. </p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListChannelMessages":{
      "name":"ListChannelMessages",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/messages",
        "responseCode":200
      },
      "input":{"shape":"ListChannelMessagesRequest"},
      "output":{"shape":"ListChannelMessagesResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. By default, sorted by creation timestamp in descending order.</p> <note> <p>Redacted messages appear in the results as empty, since they are only redacted, not deleted. Deleted messages do not appear in the results. This action always returns the latest version of an edited message.</p> <p>Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListChannelModerators":{
      "name":"ListChannelModerators",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/moderators",
        "responseCode":200
      },
      "input":{"shape":"ListChannelModeratorsRequest"},
      "output":{"shape":"ListChannelModeratorsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all the moderators for a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListChannels":{
      "name":"ListChannels",
      "http":{
        "method":"GET",
        "requestUri":"/channels",
        "responseCode":200
      },
      "input":{"shape":"ListChannelsRequest"},
      "output":{"shape":"ListChannelsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.</p> <p class=\"title\"> <b>Functionality &amp; restrictions</b> </p> <ul> <li> <p>Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account.</p> </li> <li> <p>Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list the private channels in an account.</p> </li> </ul> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListChannelsAssociatedWithChannelFlow":{
      "name":"ListChannelsAssociatedWithChannelFlow",
      "http":{
        "method":"GET",
        "requestUri":"/channels?scope=channel-flow-associations",
        "responseCode":200
      },
      "input":{"shape":"ListChannelsAssociatedWithChannelFlowRequest"},
      "output":{"shape":"ListChannelsAssociatedWithChannelFlowResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all channels associated with a specified channel flow. You can associate a channel flow with multiple channels, but you can only associate a channel with one channel flow. This is a developer API.</p>"
    },
    "ListChannelsModeratedByAppInstanceUser":{
      "name":"ListChannelsModeratedByAppInstanceUser",
      "http":{
        "method":"GET",
        "requestUri":"/channels?scope=app-instance-user-moderated-channels",
        "responseCode":200
      },
      "input":{"shape":"ListChannelsModeratedByAppInstanceUserRequest"},
      "output":{"shape":"ListChannelsModeratedByAppInstanceUserResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>A list of the channels moderated by an <code>AppInstanceUser</code>.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "ListSubChannels":{
      "name":"ListSubChannels",
      "http":{
        "method":"GET",
        "requestUri":"/channels/{channelArn}/subchannels",
        "responseCode":200
      },
      "input":{"shape":"ListSubChannelsRequest"},
      "output":{"shape":"ListSubChannelsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Lists all the SubChannels in an elastic channel when given a channel ID. Available only to the app instance admins and channel moderators of elastic channels.</p>"
    },
    "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":"<p>Lists the tags applied to an Amazon Chime SDK messaging resource.</p>"
    },
    "PutChannelExpirationSettings":{
      "name":"PutChannelExpirationSettings",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}/expiration-settings",
        "responseCode":200
      },
      "input":{"shape":"PutChannelExpirationSettingsRequest"},
      "output":{"shape":"PutChannelExpirationSettingsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Sets the number of days before the channel is automatically deleted.</p> <note> <ul> <li> <p>A background process deletes expired channels within 6 hours of expiration. Actual deletion times may vary.</p> </li> <li> <p>Expired channels that have not yet been deleted appear as active, and you can update their expiration settings. The system honors the new settings.</p> </li> <li> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </li> </ul> </note>"
    },
    "PutChannelMembershipPreferences":{
      "name":"PutChannelMembershipPreferences",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}/memberships/{memberArn}/preferences",
        "responseCode":200
      },
      "input":{"shape":"PutChannelMembershipPreferencesRequest"},
      "output":{"shape":"PutChannelMembershipPreferencesResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ForbiddenException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> for the specified channel. The user or bot must be a member of the channel. Only the user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> and channel moderator roles can't set preferences for other users. Banned users or bots can't set membership preferences for the channel from which they are banned.</p> <note> <p>The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "PutMessagingStreamingConfigurations":{
      "name":"PutMessagingStreamingConfigurations",
      "http":{
        "method":"PUT",
        "requestUri":"/app-instances/{appInstanceArn}/streaming-configurations",
        "responseCode":200
      },
      "input":{"shape":"PutMessagingStreamingConfigurationsRequest"},
      "output":{"shape":"PutMessagingStreamingConfigurationsResponse"},
      "errors":[
        {"shape":"NotFoundException"},
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ConflictException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Sets the data streaming configuration for an <code>AppInstance</code>. For more information, see <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html\">Streaming messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>.</p>"
    },
    "RedactChannelMessage":{
      "name":"RedactChannelMessage",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/messages/{messageId}?operation=redact",
        "responseCode":200
      },
      "input":{"shape":"RedactChannelMessageRequest"},
      "output":{"shape":"RedactChannelMessageResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Redacts message content, but not metadata. The message exists in the back end, but the action returns null content, and the state shows as redacted.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "SearchChannels":{
      "name":"SearchChannels",
      "http":{
        "method":"POST",
        "requestUri":"/channels?operation=search",
        "responseCode":200
      },
      "input":{"shape":"SearchChannelsRequest"},
      "output":{"shape":"SearchChannelsResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Allows the <code>ChimeBearer</code> to search channels by channel members. Users or bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> role can search across all channels.</p> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p>"
    },
    "SendChannelMessage":{
      "name":"SendChannelMessage",
      "http":{
        "method":"POST",
        "requestUri":"/channels/{channelArn}/messages",
        "responseCode":201
      },
      "input":{"shape":"SendChannelMessageRequest"},
      "output":{"shape":"SendChannelMessageResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ConflictException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Sends a message to a particular channel that the member is a part of.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> <p>Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment.</p> <p> <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata.</p> </note>"
    },
    "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":"<p>Applies the specified tags to the specified Amazon Chime SDK messaging resource.</p>"
    },
    "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":"<p>Removes the specified tags from the specified Amazon Chime SDK messaging resource.</p>"
    },
    "UpdateChannel":{
      "name":"UpdateChannel",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}",
        "responseCode":200
      },
      "input":{"shape":"UpdateChannelRequest"},
      "output":{"shape":"UpdateChannelResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Update a channel's attributes.</p> <p> <b>Restriction</b>: You can't change a channel's privacy. </p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "UpdateChannelFlow":{
      "name":"UpdateChannelFlow",
      "http":{
        "method":"PUT",
        "requestUri":"/channel-flows/{channelFlowArn}",
        "responseCode":200
      },
      "input":{"shape":"UpdateChannelFlowRequest"},
      "output":{"shape":"UpdateChannelFlowResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ConflictException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Updates channel flow attributes. This is a developer API.</p>"
    },
    "UpdateChannelMessage":{
      "name":"UpdateChannelMessage",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}/messages/{messageId}",
        "responseCode":200
      },
      "input":{"shape":"UpdateChannelMessageRequest"},
      "output":{"shape":"UpdateChannelMessageResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ConflictException"},
        {"shape":"ForbiddenException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>Updates the content of a message.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    },
    "UpdateChannelReadMarker":{
      "name":"UpdateChannelReadMarker",
      "http":{
        "method":"PUT",
        "requestUri":"/channels/{channelArn}/readMarker",
        "responseCode":200
      },
      "input":{"shape":"UpdateChannelReadMarkerRequest"},
      "output":{"shape":"UpdateChannelReadMarkerResponse"},
      "errors":[
        {"shape":"BadRequestException"},
        {"shape":"ForbiddenException"},
        {"shape":"ConflictException"},
        {"shape":"UnauthorizedClientException"},
        {"shape":"ThrottledClientException"},
        {"shape":"ServiceUnavailableException"},
        {"shape":"ServiceFailureException"}
      ],
      "documentation":"<p>The details of the time when a user last read messages in a channel.</p> <note> <p>The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call as the value in the header.</p> </note>"
    }
  },
  "shapes":{
    "AllowNotifications":{
      "type":"string",
      "enum":[
        "ALL",
        "NONE",
        "FILTERED"
      ]
    },
    "AppInstanceUserMembershipSummary":{
      "type":"structure",
      "members":{
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The type of <code>ChannelMembership</code>.</p>"
        },
        "ReadMarkerTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which an <code>AppInstanceUser</code> last marked a channel as read.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel that the <code>AppInstanceUser</code> is a member of.</p>"
        }
      },
      "documentation":"<p>Summary of the membership details of an <code>AppInstanceUser</code>.</p>"
    },
    "AssociateChannelFlowRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChannelFlowArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "BadRequestException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The input parameters don't match the service's restrictions.</p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "BatchChannelMemberships":{
      "type":"structure",
      "members":{
        "InvitedBy":{
          "shape":"Identity",
          "documentation":"<p>The identifier of the member who invited another member.</p>"
        },
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The membership types set for the channel members.</p>"
        },
        "Members":{
          "shape":"Members",
          "documentation":"<p>The users successfully added to the request.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel to which you're adding members.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel.</p>"
        }
      },
      "documentation":"<p>The membership information, including member ARNs, the channel ARN, and membership types.</p>"
    },
    "BatchCreateChannelMembershipError":{
      "type":"structure",
      "members":{
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member that the service couldn't add.</p>"
        },
        "ErrorCode":{
          "shape":"ErrorCode",
          "documentation":"<p>The error code.</p>"
        },
        "ErrorMessage":{
          "shape":"String",
          "documentation":"<p>The error message.</p>"
        }
      },
      "documentation":"<p>A list of failed member ARNs, error codes, and error messages.</p>"
    },
    "BatchCreateChannelMembershipErrors":{
      "type":"list",
      "member":{"shape":"BatchCreateChannelMembershipError"}
    },
    "BatchCreateChannelMembershipRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArns",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel to which you're adding users or bots.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are always returned as part of <code>ListChannelMemberships</code>. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported by moderators.</p>"
        },
        "MemberArns":{
          "shape":"MemberArns",
          "documentation":"<p>The ARNs of the members you want to add to the channel. Only <code>AppInstanceUsers</code> and <code>AppInstanceBots</code> can be added as a channel member.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request. </p> <note> <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p> </note>"
        }
      }
    },
    "BatchCreateChannelMembershipResponse":{
      "type":"structure",
      "members":{
        "BatchChannelMemberships":{
          "shape":"BatchChannelMemberships",
          "documentation":"<p>The list of channel memberships in the response.</p>"
        },
        "Errors":{
          "shape":"BatchCreateChannelMembershipErrors",
          "documentation":"<p>If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.</p>"
        }
      }
    },
    "CallbackIdType":{
      "type":"string",
      "max":64,
      "min":32
    },
    "Channel":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of a channel.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of a channel.</p>"
        },
        "Mode":{
          "shape":"ChannelMode",
          "documentation":"<p>The mode of the channel.</p>"
        },
        "Privacy":{
          "shape":"ChannelPrivacy",
          "documentation":"<p>The channel's privacy setting.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The channel's metadata.</p>"
        },
        "CreatedBy":{
          "shape":"Identity",
          "documentation":"<p>The <code>AppInstanceUser</code> who created the channel.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the <code>AppInstanceUser</code> created the channel.</p>"
        },
        "LastMessageTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a member sent the last message in the channel.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a channel was last updated.</p>"
        },
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        },
        "ElasticChannelConfiguration":{
          "shape":"ElasticChannelConfiguration",
          "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>"
        },
        "ExpirationSettings":{
          "shape":"ExpirationSettings",
          "documentation":"<p>Settings that control when a channel expires.</p>"
        }
      },
      "documentation":"<p>The details of a channel.</p>"
    },
    "ChannelAssociatedWithFlowSummary":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "Mode":{
          "shape":"ChannelMode",
          "documentation":"<p>The mode of the channel.</p>"
        },
        "Privacy":{
          "shape":"ChannelPrivacy",
          "documentation":"<p>The channel's privacy setting.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The channel's metadata.</p>"
        }
      },
      "documentation":"<p>Summary of details of a channel associated with channel flow.</p>"
    },
    "ChannelAssociatedWithFlowSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelAssociatedWithFlowSummary"}
    },
    "ChannelBan":{
      "type":"structure",
      "members":{
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The member being banned from the channel.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel from which a member is being banned.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the ban was created.</p>"
        },
        "CreatedBy":{
          "shape":"Identity",
          "documentation":"<p>The <code>AppInstanceUser</code> who created the ban.</p>"
        }
      },
      "documentation":"<p>The details of a channel ban.</p>"
    },
    "ChannelBanSummary":{
      "type":"structure",
      "members":{
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The member being banned from a channel.</p>"
        }
      },
      "documentation":"<p>Summary of the details of a <code>ChannelBan</code>.</p>"
    },
    "ChannelBanSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelBanSummary"}
    },
    "ChannelFlow":{
      "type":"structure",
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        },
        "Processors":{
          "shape":"ProcessorList",
          "documentation":"<p>Information about the processor Lambda functions.</p>"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the channel flow was created.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a channel flow was updated.</p>"
        }
      },
      "documentation":"<p>The details of a channel flow.</p>"
    },
    "ChannelFlowCallbackRequest":{
      "type":"structure",
      "required":[
        "CallbackId",
        "ChannelArn",
        "ChannelMessage"
      ],
      "members":{
        "CallbackId":{
          "shape":"CallbackIdType",
          "documentation":"<p>The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.</p>",
          "idempotencyToken":true
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "DeleteResource":{
          "shape":"NonNullableBoolean",
          "documentation":"<p>When a processor determines that a message needs to be <code>DENIED</code>, pass this parameter with a value of true.</p>"
        },
        "ChannelMessage":{
          "shape":"ChannelMessageCallback",
          "documentation":"<p>Stores information about the processed message.</p>"
        }
      }
    },
    "ChannelFlowCallbackResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "CallbackId":{
          "shape":"CallbackIdType",
          "documentation":"<p>The call back ID passed in the request.</p>"
        }
      }
    },
    "ChannelFlowExecutionOrder":{
      "type":"integer",
      "max":3,
      "min":1
    },
    "ChannelFlowSummary":{
      "type":"structure",
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        },
        "Processors":{
          "shape":"ProcessorList",
          "documentation":"<p>Information about the processor Lambda functions.</p>"
        }
      },
      "documentation":"<p>Summary of details of a channel flow.</p>"
    },
    "ChannelFlowSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelFlowSummary"}
    },
    "ChannelId":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[A-Za-z0-9]([A-Za-z0-9\\:\\-\\_\\.\\@]{0,62}[A-Za-z0-9])?",
      "sensitive":true
    },
    "ChannelMemberArns":{
      "type":"list",
      "member":{"shape":"ChimeArn"},
      "max":10,
      "min":1
    },
    "ChannelMembership":{
      "type":"structure",
      "members":{
        "InvitedBy":{
          "shape":"Identity",
          "documentation":"<p>The identifier of the member who invited another member.</p>"
        },
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The membership type set for the channel member.</p>"
        },
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The data of the channel member.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the member's channel.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the channel membership was created.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a channel membership was last updated.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel that a user belongs to.</p>"
        }
      },
      "documentation":"<p>The details of a channel member.</p>"
    },
    "ChannelMembershipForAppInstanceUserSummary":{
      "type":"structure",
      "members":{
        "ChannelSummary":{
          "shape":"ChannelSummary",
          "documentation":"<p>Returns the channel data for an <code>AppInstance</code>.</p>"
        },
        "AppInstanceUserMembershipSummary":{
          "shape":"AppInstanceUserMembershipSummary",
          "documentation":"<p>Returns the channel membership data for an <code>AppInstance</code>.</p>"
        }
      },
      "documentation":"<p>Summary of the channel membership details of an <code>AppInstanceUser</code>.</p>"
    },
    "ChannelMembershipForAppInstanceUserSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelMembershipForAppInstanceUserSummary"}
    },
    "ChannelMembershipPreferences":{
      "type":"structure",
      "members":{
        "PushNotifications":{
          "shape":"PushNotificationPreferences",
          "documentation":"<p>The push notification configuration of a message.</p>"
        }
      },
      "documentation":"<p>The channel membership preferences for an <code>AppInstanceUser</code>.</p>"
    },
    "ChannelMembershipSummary":{
      "type":"structure",
      "members":{
        "Member":{
          "shape":"Identity",
          "documentation":"<p>A member's summary data.</p>"
        }
      },
      "documentation":"<p>Summary of the details of a <code>ChannelMembership</code>.</p>"
    },
    "ChannelMembershipSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelMembershipSummary"}
    },
    "ChannelMembershipType":{
      "type":"string",
      "enum":[
        "DEFAULT",
        "HIDDEN"
      ]
    },
    "ChannelMessage":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of a message.</p>"
        },
        "Content":{
          "shape":"Content",
          "documentation":"<p>The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The message metadata.</p>"
        },
        "Type":{
          "shape":"ChannelMessageType",
          "documentation":"<p>The message type.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the message was created.</p>"
        },
        "LastEditedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a message was edited.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a message was updated.</p>"
        },
        "Sender":{
          "shape":"Identity",
          "documentation":"<p>The message sender.</p>"
        },
        "Redacted":{
          "shape":"NonNullableBoolean",
          "documentation":"<p>Hides the content of a message.</p>"
        },
        "Persistence":{
          "shape":"ChannelMessagePersistenceType",
          "documentation":"<p>The persistence setting for a channel message.</p>"
        },
        "Status":{
          "shape":"ChannelMessageStatusStructure",
          "documentation":"<p>The status of the channel message.</p>"
        },
        "MessageAttributes":{
          "shape":"MessageAttributeMap",
          "documentation":"<p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel.</p>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The content type of the channel message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "Target":{
          "shape":"TargetList",
          "documentation":"<p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.</p>"
        }
      },
      "documentation":"<p>The details of a message in a channel.</p>"
    },
    "ChannelMessageCallback":{
      "type":"structure",
      "required":["MessageId"],
      "members":{
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The message ID.</p>"
        },
        "Content":{
          "shape":"NonEmptyContent",
          "documentation":"<p>The message content. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The message metadata.</p>"
        },
        "PushNotification":{
          "shape":"PushNotificationConfiguration",
          "documentation":"<p>The push notification configuration of the message.</p>"
        },
        "MessageAttributes":{
          "shape":"MessageAttributeMap",
          "documentation":"<p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel.</p>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The content type of the call-back message. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        }
      },
      "documentation":"<p>Stores information about a callback.</p>"
    },
    "ChannelMessagePersistenceType":{
      "type":"string",
      "enum":[
        "PERSISTENT",
        "NON_PERSISTENT"
      ]
    },
    "ChannelMessageStatus":{
      "type":"string",
      "enum":[
        "SENT",
        "PENDING",
        "FAILED",
        "DENIED"
      ]
    },
    "ChannelMessageStatusStructure":{
      "type":"structure",
      "members":{
        "Value":{
          "shape":"ChannelMessageStatus",
          "documentation":"<p>The message status value.</p>"
        },
        "Detail":{
          "shape":"StatusDetail",
          "documentation":"<p>Contains more details about the message status.</p>"
        }
      },
      "documentation":"<p>Stores information about a message status.</p>"
    },
    "ChannelMessageSummary":{
      "type":"structure",
      "members":{
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message.</p>"
        },
        "Content":{
          "shape":"Content",
          "documentation":"<p>The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The metadata of the message.</p>"
        },
        "Type":{
          "shape":"ChannelMessageType",
          "documentation":"<p>The type of message.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the message summary was created.</p>"
        },
        "LastUpdatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a message was last updated.</p>"
        },
        "LastEditedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which a message was last edited.</p>"
        },
        "Sender":{
          "shape":"Identity",
          "documentation":"<p>The message sender.</p>"
        },
        "Redacted":{
          "shape":"NonNullableBoolean",
          "documentation":"<p>Indicates whether a message was redacted.</p>"
        },
        "Status":{
          "shape":"ChannelMessageStatusStructure",
          "documentation":"<p>The message status. The status value is <code>SENT</code> for messages sent to a channel without a channel flow. For channels associated with channel flow, the value determines the processing stage.</p>"
        },
        "MessageAttributes":{
          "shape":"MessageAttributeMap",
          "documentation":"<p>The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The content type of the channel message listed in the summary. For Amazon Lex V2 bot responses, the content type is <code>application/amz-chime-lex-msgs</code> for success responses and <code>application/amz-chime-lex-error</code> for failure responses. For more information, refer to <a href=\"https://docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html\">Processing responses from an AppInstanceBot</a> in the <i>Amazon Chime SDK Messaging Developer Guide</i>.</p>"
        },
        "Target":{
          "shape":"TargetList",
          "documentation":"<p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.</p>"
        }
      },
      "documentation":"<p>Summary of the messages in a <code>Channel</code>.</p>"
    },
    "ChannelMessageSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelMessageSummary"}
    },
    "ChannelMessageType":{
      "type":"string",
      "enum":[
        "STANDARD",
        "CONTROL"
      ]
    },
    "ChannelMode":{
      "type":"string",
      "enum":[
        "UNRESTRICTED",
        "RESTRICTED"
      ]
    },
    "ChannelModeratedByAppInstanceUserSummary":{
      "type":"structure",
      "members":{
        "ChannelSummary":{
          "shape":"ChannelSummary",
          "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>"
        }
      },
      "documentation":"<p>Summary of the details of a moderated channel.</p>"
    },
    "ChannelModeratedByAppInstanceUserSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelModeratedByAppInstanceUserSummary"}
    },
    "ChannelModerator":{
      "type":"structure",
      "members":{
        "Moderator":{
          "shape":"Identity",
          "documentation":"<p>The moderator's data.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the moderator's channel.</p>"
        },
        "CreatedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the moderator was created.</p>"
        },
        "CreatedBy":{
          "shape":"Identity",
          "documentation":"<p>The <code>AppInstanceUser</code> who created the moderator.</p>"
        }
      },
      "documentation":"<p>The details of a channel moderator.</p>"
    },
    "ChannelModeratorArns":{
      "type":"list",
      "member":{"shape":"ChimeArn"},
      "max":10,
      "min":1
    },
    "ChannelModeratorSummary":{
      "type":"structure",
      "members":{
        "Moderator":{
          "shape":"Identity",
          "documentation":"<p>The data for a moderator.</p>"
        }
      },
      "documentation":"<p>Summary of the details of a <code>ChannelModerator</code>.</p>"
    },
    "ChannelModeratorSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelModeratorSummary"}
    },
    "ChannelPrivacy":{
      "type":"string",
      "enum":[
        "PUBLIC",
        "PRIVATE"
      ]
    },
    "ChannelSummary":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel.</p>"
        },
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "Mode":{
          "shape":"ChannelMode",
          "documentation":"<p>The mode of the channel.</p>"
        },
        "Privacy":{
          "shape":"ChannelPrivacy",
          "documentation":"<p>The privacy setting of the channel.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The metadata of the channel.</p>"
        },
        "LastMessageTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the last persistent message visible to the caller in a channel was sent.</p>"
        }
      },
      "documentation":"<p>Summary of the details of a <code>Channel</code>.</p>"
    },
    "ChannelSummaryList":{
      "type":"list",
      "member":{"shape":"ChannelSummary"}
    },
    "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":"<p>The request could not be processed because of conflict in the current state of the resource.</p>",
      "error":{"httpStatusCode":409},
      "exception":true
    },
    "Content":{
      "type":"string",
      "max":4096,
      "min":0,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "ContentType":{
      "type":"string",
      "max":45,
      "min":0,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "CreateChannelBanRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the ban request.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member being banned.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "CreateChannelBanResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the response to the ban request.</p>"
        },
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The <code>ChannelArn</code> and <code>BannedIdentity</code> of the member in the ban response.</p>"
        }
      }
    },
    "CreateChannelFlowRequest":{
      "type":"structure",
      "required":[
        "AppInstanceArn",
        "Processors",
        "Name",
        "ClientRequestToken"
      ],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow request.</p>"
        },
        "Processors":{
          "shape":"ProcessorList",
          "documentation":"<p>Information about the processor Lambda functions.</p>"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The tags for the creation request.</p>"
        },
        "ClientRequestToken":{
          "shape":"ClientRequestToken",
          "documentation":"<p>The client token for the request. An Idempotency token.</p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateChannelFlowResponse":{
      "type":"structure",
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        }
      }
    },
    "CreateChannelMembershipRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "Type",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel to which you're adding users.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member you want to add to the channel.</p>"
        },
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are always returned as part of <code>ListChannelMemberships</code>. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>. Otherwise hidden members are not returned. This is only supported by moderators.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when creating membership in a SubChannel for a moderator in an elastic channel.</p> </note>"
        }
      }
    },
    "CreateChannelMembershipResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The ARN and metadata of the member being added.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the response.</p>"
        }
      }
    },
    "CreateChannelModeratorRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChannelModeratorArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChannelModeratorArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the moderator.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "CreateChannelModeratorResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "ChannelModerator":{
          "shape":"Identity",
          "documentation":"<p>The ARNs of the channel and the moderator.</p>"
        }
      }
    },
    "CreateChannelRequest":{
      "type":"structure",
      "required":[
        "AppInstanceArn",
        "Name",
        "ClientRequestToken",
        "ChimeBearer"
      ],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel request.</p>"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel.</p>"
        },
        "Mode":{
          "shape":"ChannelMode",
          "documentation":"<p>The channel mode: <code>UNRESTRICTED</code> or <code>RESTRICTED</code>. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.</p>"
        },
        "Privacy":{
          "shape":"ChannelPrivacy",
          "documentation":"<p>The channel's privacy level: <code>PUBLIC</code> or <code>PRIVATE</code>. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the <code>AppInstance</code>.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The metadata of the creation request. Limited to 1KB and UTF-8.</p>"
        },
        "ClientRequestToken":{
          "shape":"ClientRequestToken",
          "documentation":"<p>The client token for the request. An <code>Idempotency</code> token.</p>",
          "idempotencyToken":true
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The tags for the creation request.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "ChannelId":{
          "shape":"ChannelId",
          "documentation":"<p>The ID of the channel in the request.</p>"
        },
        "MemberArns":{
          "shape":"ChannelMemberArns",
          "documentation":"<p>The ARNs of the channel members in the request.</p>"
        },
        "ModeratorArns":{
          "shape":"ChannelModeratorArns",
          "documentation":"<p>The ARNs of the channel moderators in the request.</p>"
        },
        "ElasticChannelConfiguration":{
          "shape":"ElasticChannelConfiguration",
          "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.</p>"
        },
        "ExpirationSettings":{
          "shape":"ExpirationSettings",
          "documentation":"<p>Settings that control the interval after which the channel is automatically deleted.</p>"
        }
      }
    },
    "CreateChannelResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        }
      }
    },
    "DeleteChannelBanRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel from which the <code>AppInstanceUser</code> was banned.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> that you want to reinstate.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DeleteChannelFlowRequest":{
      "type":"structure",
      "required":["ChannelFlowArn"],
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>",
          "location":"uri",
          "locationName":"channelFlowArn"
        }
      }
    },
    "DeleteChannelMembershipRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel from which you want to remove the user.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member that you're removing from the channel.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only for use by moderators.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "DeleteChannelMessageRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MessageId",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message being deleted.</p>",
          "location":"uri",
          "locationName":"messageId"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when deleting messages in a SubChannel that the user belongs to.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "DeleteChannelModeratorRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChannelModeratorArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChannelModeratorArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the moderator being deleted.</p>",
          "location":"uri",
          "locationName":"channelModeratorArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DeleteChannelRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel being deleted.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DeleteMessagingStreamingConfigurationsRequest":{
      "type":"structure",
      "required":["AppInstanceArn"],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the streaming configurations being deleted.</p>",
          "location":"uri",
          "locationName":"appInstanceArn"
        }
      }
    },
    "DescribeChannelBanRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel from which the user is banned.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member being banned.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DescribeChannelBanResponse":{
      "type":"structure",
      "members":{
        "ChannelBan":{
          "shape":"ChannelBan",
          "documentation":"<p>The details of the ban.</p>"
        }
      }
    },
    "DescribeChannelFlowRequest":{
      "type":"structure",
      "required":["ChannelFlowArn"],
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>",
          "location":"uri",
          "locationName":"channelFlowArn"
        }
      }
    },
    "DescribeChannelFlowResponse":{
      "type":"structure",
      "members":{
        "ChannelFlow":{
          "shape":"ChannelFlow",
          "documentation":"<p>The channel flow details.</p>"
        }
      }
    },
    "DescribeChannelMembershipForAppInstanceUserRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "AppInstanceUserArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel to which the user belongs.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "AppInstanceUserArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the user or bot in a channel.</p>",
          "location":"querystring",
          "locationName":"app-instance-user-arn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DescribeChannelMembershipForAppInstanceUserResponse":{
      "type":"structure",
      "members":{
        "ChannelMembership":{
          "shape":"ChannelMembershipForAppInstanceUserSummary",
          "documentation":"<p>The channel to which a user belongs.</p>"
        }
      }
    },
    "DescribeChannelMembershipRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request. The response contains an <code>ElasticChannelConfiguration</code> object.</p> <note> <p>Only required to get a user’s SubChannel membership details.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "DescribeChannelMembershipResponse":{
      "type":"structure",
      "members":{
        "ChannelMembership":{
          "shape":"ChannelMembership",
          "documentation":"<p>The details of the membership.</p>"
        }
      }
    },
    "DescribeChannelModeratedByAppInstanceUserRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "AppInstanceUserArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the moderated channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "AppInstanceUserArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the user or bot in the moderated channel.</p>",
          "location":"querystring",
          "locationName":"app-instance-user-arn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DescribeChannelModeratedByAppInstanceUserResponse":{
      "type":"structure",
      "members":{
        "Channel":{
          "shape":"ChannelModeratedByAppInstanceUserSummary",
          "documentation":"<p>The moderated channel.</p>"
        }
      }
    },
    "DescribeChannelModeratorRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChannelModeratorArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChannelModeratorArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the channel moderator.</p>",
          "location":"uri",
          "locationName":"channelModeratorArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DescribeChannelModeratorResponse":{
      "type":"structure",
      "members":{
        "ChannelModerator":{
          "shape":"ChannelModerator",
          "documentation":"<p>The details of the channel moderator.</p>"
        }
      }
    },
    "DescribeChannelRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "DescribeChannelResponse":{
      "type":"structure",
      "members":{
        "Channel":{
          "shape":"Channel",
          "documentation":"<p>The channel details.</p>"
        }
      }
    },
    "DisassociateChannelFlowRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChannelFlowArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>",
          "location":"uri",
          "locationName":"channelFlowArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ElasticChannelConfiguration":{
      "type":"structure",
      "required":[
        "MaximumSubChannels",
        "TargetMembershipsPerSubChannel",
        "MinimumMembershipPercentage"
      ],
      "members":{
        "MaximumSubChannels":{
          "shape":"MaximumSubChannels",
          "documentation":"<p>The maximum number of SubChannels that you want to allow in the elastic channel.</p>"
        },
        "TargetMembershipsPerSubChannel":{
          "shape":"TargetMembershipsPerSubChannel",
          "documentation":"<p>The maximum number of members allowed in a SubChannel.</p>"
        },
        "MinimumMembershipPercentage":{
          "shape":"MinimumMembershipPercentage",
          "documentation":"<p>The minimum allowed percentage of TargetMembershipsPerSubChannel users. Ceil of the calculated value is used in balancing members among SubChannels of the elastic channel.</p>"
        }
      },
      "documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>"
    },
    "ErrorCode":{
      "type":"string",
      "enum":[
        "BadRequest",
        "Conflict",
        "Forbidden",
        "NotFound",
        "PreconditionFailed",
        "ResourceLimitExceeded",
        "ServiceFailure",
        "AccessDenied",
        "ServiceUnavailable",
        "Throttled",
        "Throttling",
        "Unauthorized",
        "Unprocessable",
        "VoiceConnectorGroupAssociationsExist",
        "PhoneNumberAssociationsExist"
      ]
    },
    "ExpirationCriterion":{
      "type":"string",
      "enum":[
        "CREATED_TIMESTAMP",
        "LAST_MESSAGE_TIMESTAMP"
      ]
    },
    "ExpirationDays":{
      "type":"integer",
      "max":5475,
      "min":1
    },
    "ExpirationSettings":{
      "type":"structure",
      "required":[
        "ExpirationDays",
        "ExpirationCriterion"
      ],
      "members":{
        "ExpirationDays":{
          "shape":"ExpirationDays",
          "documentation":"<p>The period in days after which the system automatically deletes a channel.</p>"
        },
        "ExpirationCriterion":{
          "shape":"ExpirationCriterion",
          "documentation":"<p>The conditions that must be met for a channel to expire.</p>"
        }
      },
      "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>"
    },
    "FallbackAction":{
      "type":"string",
      "enum":[
        "CONTINUE",
        "ABORT"
      ]
    },
    "FilterRule":{
      "type":"string",
      "min":1,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "ForbiddenException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The client is permanently forbidden from making the request.</p>",
      "error":{"httpStatusCode":403},
      "exception":true
    },
    "GetChannelMembershipPreferencesRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the member retrieving the preferences.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "GetChannelMembershipPreferencesResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The details of a user.</p>"
        },
        "Preferences":{
          "shape":"ChannelMembershipPreferences",
          "documentation":"<p>The channel membership preferences for an <code>AppInstanceUser</code> .</p>"
        }
      }
    },
    "GetChannelMessageRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MessageId",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message.</p>",
          "location":"uri",
          "locationName":"messageId"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when getting messages in a SubChannel that the user belongs to.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "GetChannelMessageResponse":{
      "type":"structure",
      "members":{
        "ChannelMessage":{
          "shape":"ChannelMessage",
          "documentation":"<p>The details of and content in the message.</p>"
        }
      }
    },
    "GetChannelMessageStatusRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MessageId",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message.</p>",
          "location":"uri",
          "locationName":"messageId"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when getting message status in a SubChannel that the user belongs to.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "GetChannelMessageStatusResponse":{
      "type":"structure",
      "members":{
        "Status":{
          "shape":"ChannelMessageStatusStructure",
          "documentation":"<p>The message status and details.</p>"
        }
      }
    },
    "GetMessagingSessionEndpointRequest":{
      "type":"structure",
      "members":{
      }
    },
    "GetMessagingSessionEndpointResponse":{
      "type":"structure",
      "members":{
        "Endpoint":{
          "shape":"MessagingSessionEndpoint",
          "documentation":"<p>The endpoint returned in the response.</p>"
        }
      }
    },
    "GetMessagingStreamingConfigurationsRequest":{
      "type":"structure",
      "required":["AppInstanceArn"],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the streaming configurations.</p>",
          "location":"uri",
          "locationName":"appInstanceArn"
        }
      }
    },
    "GetMessagingStreamingConfigurationsResponse":{
      "type":"structure",
      "members":{
        "StreamingConfigurations":{
          "shape":"StreamingConfigurationList",
          "documentation":"<p>The streaming settings.</p>"
        }
      }
    },
    "Identity":{
      "type":"structure",
      "members":{
        "Arn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN in an Identity.</p>"
        },
        "Name":{
          "shape":"ResourceName",
          "documentation":"<p>The name in an Identity.</p>"
        }
      },
      "documentation":"<p>The details of a user or bot.</p>"
    },
    "InvocationType":{
      "type":"string",
      "enum":["ASYNC"]
    },
    "LambdaConfiguration":{
      "type":"structure",
      "required":[
        "ResourceArn",
        "InvocationType"
      ],
      "members":{
        "ResourceArn":{
          "shape":"LambdaFunctionArn",
          "documentation":"<p>The ARN of the Lambda message processing function.</p>"
        },
        "InvocationType":{
          "shape":"InvocationType",
          "documentation":"<p>Controls how the Lambda function is invoked.</p>"
        }
      },
      "documentation":"<p>Stores metadata about a Lambda processor.</p>"
    },
    "LambdaFunctionArn":{
      "type":"string",
      "max":2048,
      "min":15,
      "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?"
    },
    "ListChannelBansRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of bans that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ListChannelBansResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested bans are returned.</p>"
        },
        "ChannelBans":{
          "shape":"ChannelBanSummaryList",
          "documentation":"<p>The information for each requested ban.</p>"
        }
      }
    },
    "ListChannelFlowsRequest":{
      "type":"structure",
      "required":["AppInstanceArn"],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the app instance.</p>",
          "location":"querystring",
          "locationName":"app-instance-arn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channel flows that you want to return.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channel flows are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "ListChannelFlowsResponse":{
      "type":"structure",
      "members":{
        "ChannelFlows":{
          "shape":"ChannelFlowSummaryList",
          "documentation":"<p>The information about each channel flow.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>"
        }
      }
    },
    "ListChannelMembershipsForAppInstanceUserRequest":{
      "type":"structure",
      "required":["ChimeBearer"],
      "members":{
        "AppInstanceUserArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the user or bot.</p>",
          "location":"querystring",
          "locationName":"app-instance-user-arn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of users that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API requests until the number of channel memberships is reached.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ListChannelMembershipsForAppInstanceUserResponse":{
      "type":"structure",
      "members":{
        "ChannelMemberships":{
          "shape":"ChannelMembershipForAppInstanceUserSummaryList",
          "documentation":"<p>The information for the requested channel memberships.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested users are returned.</p>"
        }
      }
    },
    "ListChannelMembershipsRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The maximum number of channel memberships that you want returned.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "Type":{
          "shape":"ChannelMembershipType",
          "documentation":"<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default members are returned as part of <code>ListChannelMemberships</code> if no type is specified. Hidden members are only returned if the type filter in <code>ListChannelMemberships</code> equals <code>HIDDEN</code>.</p>",
          "location":"querystring",
          "locationName":"type"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channel memberships that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when listing a user's memberships in a particular sub-channel of an elastic channel.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "ListChannelMembershipsResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "ChannelMemberships":{
          "shape":"ChannelMembershipSummaryList",
          "documentation":"<p>The information for the requested channel memberships.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channel memberships are returned.</p>"
        }
      }
    },
    "ListChannelMessagesRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "SortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>The order in which you want messages sorted. Default is Descending, based on time created.</p>",
          "location":"querystring",
          "locationName":"sort-order"
        },
        "NotBefore":{
          "shape":"Timestamp",
          "documentation":"<p>The initial or starting time stamp for your requested messages.</p>",
          "location":"querystring",
          "locationName":"not-before"
        },
        "NotAfter":{
          "shape":"Timestamp",
          "documentation":"<p>The final or ending time stamp for your requested messages.</p>",
          "location":"querystring",
          "locationName":"not-after"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of messages that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when listing the messages in a SubChannel that the user belongs to.</p> </note>",
          "location":"querystring",
          "locationName":"sub-channel-id"
        }
      }
    },
    "ListChannelMessagesResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel containing the requested messages.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested messages are returned.</p>"
        },
        "ChannelMessages":{
          "shape":"ChannelMessageSummaryList",
          "documentation":"<p>The information about, and content of, each requested message.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the response.</p>"
        }
      }
    },
    "ListChannelModeratorsRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of moderators that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ListChannelModeratorsResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested moderators are returned.</p>"
        },
        "ChannelModerators":{
          "shape":"ChannelModeratorSummaryList",
          "documentation":"<p>The information about and names of each moderator.</p>"
        }
      }
    },
    "ListChannelsAssociatedWithChannelFlowRequest":{
      "type":"structure",
      "required":["ChannelFlowArn"],
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>",
          "location":"querystring",
          "locationName":"channel-flow-arn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channels that you want to return.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "ListChannelsAssociatedWithChannelFlowResponse":{
      "type":"structure",
      "members":{
        "Channels":{
          "shape":"ChannelAssociatedWithFlowSummaryList",
          "documentation":"<p>The information about each channel.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>"
        }
      }
    },
    "ListChannelsModeratedByAppInstanceUserRequest":{
      "type":"structure",
      "required":["ChimeBearer"],
      "members":{
        "AppInstanceUserArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the user or bot in the moderated channel.</p>",
          "location":"querystring",
          "locationName":"app-instance-user-arn"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channels in the request.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ListChannelsModeratedByAppInstanceUserResponse":{
      "type":"structure",
      "members":{
        "Channels":{
          "shape":"ChannelModeratedByAppInstanceUserSummaryList",
          "documentation":"<p>The moderated channels in the request.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API requests until the number of channels moderated by the user is reached.</p>"
        }
      }
    },
    "ListChannelsRequest":{
      "type":"structure",
      "required":[
        "AppInstanceArn",
        "ChimeBearer"
      ],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstance</code>.</p>",
          "location":"querystring",
          "locationName":"app-instance-arn"
        },
        "Privacy":{
          "shape":"ChannelPrivacy",
          "documentation":"<p>The privacy setting. <code>PUBLIC</code> retrieves all the public channels. <code>PRIVATE</code> retrieves private channels. Only an <code>AppInstanceAdmin</code> can retrieve private channels. </p>",
          "location":"querystring",
          "locationName":"privacy"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channels that you want to return.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested channels are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "ListChannelsResponse":{
      "type":"structure",
      "members":{
        "Channels":{
          "shape":"ChannelSummaryList",
          "documentation":"<p>The information about each channel.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API requests until the number of channels is reached.</p>"
        }
      }
    },
    "ListSubChannelsRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of elastic channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of sub-channels that you want to return.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested sub-channels are returned.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "ListSubChannelsResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of elastic channel.</p>"
        },
        "SubChannels":{
          "shape":"SubChannelSummaryList",
          "documentation":"<p>The information about each sub-channel.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token passed by previous API calls until all requested sub-channels are returned.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "ResourceARN":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the resource.</p>",
          "location":"querystring",
          "locationName":"arn"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The tag key-value pairs.</p>"
        }
      }
    },
    "MaxResults":{
      "type":"integer",
      "max":50,
      "min":1
    },
    "MaximumSubChannels":{
      "type":"integer",
      "min":2
    },
    "MemberArns":{
      "type":"list",
      "member":{"shape":"ChimeArn"},
      "max":100,
      "min":1
    },
    "Members":{
      "type":"list",
      "member":{"shape":"Identity"}
    },
    "MembershipCount":{"type":"integer"},
    "MessageAttributeMap":{
      "type":"map",
      "key":{"shape":"MessageAttributeName"},
      "value":{"shape":"MessageAttributeValue"}
    },
    "MessageAttributeName":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "MessageAttributeStringValue":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "MessageAttributeStringValues":{
      "type":"list",
      "member":{"shape":"MessageAttributeStringValue"}
    },
    "MessageAttributeValue":{
      "type":"structure",
      "members":{
        "StringValues":{
          "shape":"MessageAttributeStringValues",
          "documentation":"<p>The strings in a message attribute value.</p>"
        }
      },
      "documentation":"<p>A list of message attribute values.</p>"
    },
    "MessageId":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[-_a-zA-Z0-9]*"
    },
    "MessagingDataType":{
      "type":"string",
      "enum":[
        "Channel",
        "ChannelMessage"
      ]
    },
    "MessagingSessionEndpoint":{
      "type":"structure",
      "members":{
        "Url":{
          "shape":"UrlType",
          "documentation":"<p>The endpoint to which you establish a websocket connection.</p>"
        }
      },
      "documentation":"<p>The websocket endpoint used to connect to Amazon Chime SDK messaging.</p>"
    },
    "Metadata":{
      "type":"string",
      "max":1024,
      "min":0,
      "pattern":".*",
      "sensitive":true
    },
    "MinimumMembershipPercentage":{
      "type":"integer",
      "max":40,
      "min":1
    },
    "NextToken":{
      "type":"string",
      "max":2048,
      "min":0,
      "pattern":".*",
      "sensitive":true
    },
    "NonEmptyContent":{
      "type":"string",
      "min":1,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "NonEmptyResourceName":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u0085\\u00A0-\\uD7FF\\uE000-\\uFFFD\\u10000-\\u10FFFF]*",
      "sensitive":true
    },
    "NonNullableBoolean":{"type":"boolean"},
    "NotFoundException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>One or more of the resources in the request does not exist in the system.</p>",
      "error":{"httpStatusCode":404},
      "exception":true
    },
    "Processor":{
      "type":"structure",
      "required":[
        "Name",
        "Configuration",
        "ExecutionOrder",
        "FallbackAction"
      ],
      "members":{
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        },
        "Configuration":{
          "shape":"ProcessorConfiguration",
          "documentation":"<p>The information about the type of processor and its identifier.</p>"
        },
        "ExecutionOrder":{
          "shape":"ChannelFlowExecutionOrder",
          "documentation":"<p>The sequence in which processors run. If you have multiple processors in a channel flow, message processing goes through each processor in the sequence. The value determines the sequence. At this point, we support only 1 processor within a flow.</p>"
        },
        "FallbackAction":{
          "shape":"FallbackAction",
          "documentation":"<p>Determines whether to continue with message processing or stop it in cases where communication with a processor fails. If a processor has a fallback action of <code>ABORT</code> and communication with it fails, the processor sets the message status to <code>FAILED</code> and does not send the message to any recipients. Note that if the last processor in the channel flow sequence has a fallback action of <code>CONTINUE</code> and communication with the processor fails, then the message is considered processed and sent to recipients of the channel.</p>"
        }
      },
      "documentation":"<p>The information about a processor in a channel flow.</p>"
    },
    "ProcessorConfiguration":{
      "type":"structure",
      "required":["Lambda"],
      "members":{
        "Lambda":{
          "shape":"LambdaConfiguration",
          "documentation":"<p>Indicates that the processor is of type Lambda.</p>"
        }
      },
      "documentation":"<p>A processor's metadata.</p>"
    },
    "ProcessorList":{
      "type":"list",
      "member":{"shape":"Processor"},
      "max":3,
      "min":1
    },
    "PushNotificationBody":{
      "type":"string",
      "max":150,
      "min":1,
      "pattern":"[\\s\\S]*",
      "sensitive":true
    },
    "PushNotificationConfiguration":{
      "type":"structure",
      "members":{
        "Title":{
          "shape":"PushNotificationTitle",
          "documentation":"<p>The title of the push notification.</p>"
        },
        "Body":{
          "shape":"PushNotificationBody",
          "documentation":"<p>The body of the push notification.</p>"
        },
        "Type":{
          "shape":"PushNotificationType",
          "documentation":"<p>Enum value that indicates the type of the push notification for a message. <code>DEFAULT</code>: Normal mobile push notification. <code>VOIP</code>: VOIP mobile push notification.</p>"
        }
      },
      "documentation":"<p>The push notification configuration of the message.</p>"
    },
    "PushNotificationPreferences":{
      "type":"structure",
      "required":["AllowNotifications"],
      "members":{
        "AllowNotifications":{
          "shape":"AllowNotifications",
          "documentation":"<p>Enum value that indicates which push notifications to send to the requested member of a channel. <code>ALL</code> sends all push notifications, <code>NONE</code> sends no push notifications, <code>FILTERED</code> sends only filtered push notifications. </p>"
        },
        "FilterRule":{
          "shape":"FilterRule",
          "documentation":"<p>The simple JSON object used to send a subset of a push notification to the requested member.</p>"
        }
      },
      "documentation":"<p>The channel membership preferences for push notification.</p>"
    },
    "PushNotificationTitle":{
      "type":"string",
      "max":50,
      "min":1,
      "pattern":".*",
      "sensitive":true
    },
    "PushNotificationType":{
      "type":"string",
      "enum":[
        "DEFAULT",
        "VOIP"
      ]
    },
    "PutChannelExpirationSettingsRequest":{
      "type":"structure",
      "required":["ChannelArn"],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "ExpirationSettings":{
          "shape":"ExpirationSettings",
          "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>"
        }
      }
    },
    "PutChannelExpirationSettingsResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The channel ARN.</p>"
        },
        "ExpirationSettings":{
          "shape":"ExpirationSettings",
          "documentation":"<p>Settings that control the interval after which a channel is deleted.</p>"
        }
      }
    },
    "PutChannelMembershipPreferencesRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MemberArn",
        "ChimeBearer",
        "Preferences"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the member setting the preferences.</p>",
          "location":"uri",
          "locationName":"memberArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "Preferences":{
          "shape":"ChannelMembershipPreferences",
          "documentation":"<p>The channel membership preferences of an <code>AppInstanceUser</code> .</p>"
        }
      }
    },
    "PutChannelMembershipPreferencesResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "Member":{
          "shape":"Identity",
          "documentation":"<p>The details of a user.</p>"
        },
        "Preferences":{
          "shape":"ChannelMembershipPreferences",
          "documentation":"<p>The ARN and metadata of the member being added.</p>"
        }
      }
    },
    "PutMessagingStreamingConfigurationsRequest":{
      "type":"structure",
      "required":[
        "AppInstanceArn",
        "StreamingConfigurations"
      ],
      "members":{
        "AppInstanceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the streaming configuration.</p>",
          "location":"uri",
          "locationName":"appInstanceArn"
        },
        "StreamingConfigurations":{
          "shape":"StreamingConfigurationList",
          "documentation":"<p>The streaming configurations.</p>"
        }
      }
    },
    "PutMessagingStreamingConfigurationsResponse":{
      "type":"structure",
      "members":{
        "StreamingConfigurations":{
          "shape":"StreamingConfigurationList",
          "documentation":"<p>The requested streaming configurations.</p>"
        }
      }
    },
    "RedactChannelMessageRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MessageId",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message being redacted.</p>",
          "location":"uri",
          "locationName":"messageId"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p>"
        }
      }
    },
    "RedactChannelMessageResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel containing the messages that you want to redact.</p>"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID of the message being redacted.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the response.</p> <note> <p>Only required when redacting messages in a SubChannel that the user belongs to.</p> </note>"
        }
      }
    },
    "ResourceLimitExceededException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The request exceeds the resource limit.</p>",
      "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
    },
    "SearchChannelsRequest":{
      "type":"structure",
      "required":["Fields"],
      "members":{
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The <code>AppInstanceUserArn</code> of the user making the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "Fields":{
          "shape":"SearchFields",
          "documentation":"<p>A list of the <code>Field</code> objects in the channel being searched.</p>"
        },
        "MaxResults":{
          "shape":"MaxResults",
          "documentation":"<p>The maximum number of channels that you want returned.</p>",
          "location":"querystring",
          "locationName":"max-results"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API requests until the number of channels is reached.</p>",
          "location":"querystring",
          "locationName":"next-token"
        }
      }
    },
    "SearchChannelsResponse":{
      "type":"structure",
      "members":{
        "Channels":{
          "shape":"ChannelSummaryList",
          "documentation":"<p>A list of the channels in the request.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>The token returned from previous API responses until the number of channels is reached.</p>"
        }
      }
    },
    "SearchField":{
      "type":"structure",
      "required":[
        "Key",
        "Values",
        "Operator"
      ],
      "members":{
        "Key":{
          "shape":"SearchFieldKey",
          "documentation":"<p>An <code>enum</code> value that indicates the key to search the channel on. <code>MEMBERS</code> allows you to search channels based on memberships. You can use it with the <code>EQUALS</code> operator to get channels whose memberships are equal to the specified values, and with the <code>INCLUDES</code> operator to get channels whose memberships include the specified values.</p>"
        },
        "Values":{
          "shape":"SearchFieldValues",
          "documentation":"<p>The values that you want to search for, a list of strings. The values must be <code>AppInstanceUserArns</code> specified as a list of strings.</p> <note> <p>This operation isn't supported for <code>AppInstanceUsers</code> with large number of memberships.</p> </note>"
        },
        "Operator":{
          "shape":"SearchFieldOperator",
          "documentation":"<p>The operator used to compare field values, currently <code>EQUALS</code> or <code>INCLUDES</code>. Use the <code>EQUALS</code> operator to find channels whose memberships equal the specified values. Use the <code>INCLUDES</code> operator to find channels whose memberships include the specified values.</p>"
        }
      },
      "documentation":"<p>A <code>Field</code> of the channel that you want to search.</p>"
    },
    "SearchFieldKey":{
      "type":"string",
      "enum":["MEMBERS"]
    },
    "SearchFieldOperator":{
      "type":"string",
      "enum":[
        "EQUALS",
        "INCLUDES"
      ]
    },
    "SearchFieldValue":{
      "type":"string",
      "max":512,
      "min":1,
      "pattern":"[\\s\\S]*"
    },
    "SearchFieldValues":{
      "type":"list",
      "member":{"shape":"SearchFieldValue"},
      "max":20,
      "min":1
    },
    "SearchFields":{
      "type":"list",
      "member":{"shape":"SearchField"},
      "max":20,
      "min":1
    },
    "SendChannelMessageRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "Content",
        "Type",
        "Persistence",
        "ClientRequestToken",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "Content":{
          "shape":"NonEmptyContent",
          "documentation":"<p>The content of the channel message.</p>"
        },
        "Type":{
          "shape":"ChannelMessageType",
          "documentation":"<p>The type of message, <code>STANDARD</code> or <code>CONTROL</code>.</p> <p> <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. Metadata is arbitrary, and you can use it in a variety of ways, such as containing a link to an attachment.</p> <p> <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata.</p>"
        },
        "Persistence":{
          "shape":"ChannelMessagePersistenceType",
          "documentation":"<p>Boolean that controls whether the message is persisted on the back end. Required.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The optional metadata for each message.</p>"
        },
        "ClientRequestToken":{
          "shape":"ClientRequestToken",
          "documentation":"<p>The <code>Idempotency</code> token for each client request.</p>",
          "idempotencyToken":true
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "PushNotification":{
          "shape":"PushNotificationConfiguration",
          "documentation":"<p>The push notification configuration of the message.</p>"
        },
        "MessageAttributes":{
          "shape":"MessageAttributeMap",
          "documentation":"<p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The content type of the channel message.</p>"
        },
        "Target":{
          "shape":"TargetList",
          "documentation":"<p>The target of a message. Must be a member of the channel, such as another user, a bot, or the sender. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see. </p>"
        }
      }
    },
    "SendChannelMessageResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID string assigned to each message.</p>"
        },
        "Status":{
          "shape":"ChannelMessageStatusStructure",
          "documentation":"<p>The status of the channel message.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the response.</p>"
        }
      }
    },
    "ServiceFailureException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The service encountered an unexpected error.</p>",
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "ServiceUnavailableException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The service is currently unavailable.</p>",
      "error":{"httpStatusCode":503},
      "exception":true,
      "fault":true
    },
    "SortOrder":{
      "type":"string",
      "enum":[
        "ASCENDING",
        "DESCENDING"
      ]
    },
    "StatusDetail":{
      "type":"string",
      "max":256,
      "min":0,
      "pattern":"[\\s\\S]*"
    },
    "StreamingConfiguration":{
      "type":"structure",
      "required":[
        "DataType",
        "ResourceArn"
      ],
      "members":{
        "DataType":{
          "shape":"MessagingDataType",
          "documentation":"<p>The data type of the configuration.</p>"
        },
        "ResourceArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the resource in the configuration. </p>"
        }
      },
      "documentation":"<p>The configuration for connecting a messaging stream to Amazon Kinesis.</p>"
    },
    "StreamingConfigurationList":{
      "type":"list",
      "member":{"shape":"StreamingConfiguration"},
      "max":2,
      "min":1
    },
    "String":{"type":"string"},
    "SubChannelId":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[-_a-zA-Z0-9]*"
    },
    "SubChannelSummary":{
      "type":"structure",
      "members":{
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The unique ID of a SubChannel.</p>"
        },
        "MembershipCount":{
          "shape":"MembershipCount",
          "documentation":"<p>The number of members in a SubChannel.</p>"
        }
      },
      "documentation":"<p>Summary of the sub-channels associated with the elastic channel.</p>"
    },
    "SubChannelSummaryList":{
      "type":"list",
      "member":{"shape":"SubChannelSummary"}
    },
    "Tag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>The key in a tag.</p>"
        },
        "Value":{
          "shape":"TagValue",
          "documentation":"<p>The value in a tag.</p>"
        }
      },
      "documentation":"<p>A tag object containing a key-value pair.</p>"
    },
    "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":"<p>The resource ARN.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>The tag key-value pairs.</p>"
        }
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":1,
      "sensitive":true
    },
    "Target":{
      "type":"structure",
      "members":{
        "MemberArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the target channel member.</p>"
        }
      },
      "documentation":"<p>The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.</p>"
    },
    "TargetList":{
      "type":"list",
      "member":{"shape":"Target"},
      "max":1,
      "min":1
    },
    "TargetMembershipsPerSubChannel":{
      "type":"integer",
      "min":2
    },
    "ThrottledClientException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The client exceeded its request rate limit.</p>",
      "error":{"httpStatusCode":429},
      "exception":true
    },
    "Timestamp":{"type":"timestamp"},
    "UnauthorizedClientException":{
      "type":"structure",
      "members":{
        "Code":{"shape":"ErrorCode"},
        "Message":{"shape":"String"}
      },
      "documentation":"<p>The client is not currently authorized to make the request.</p>",
      "error":{"httpStatusCode":401},
      "exception":true
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "TagKeys"
      ],
      "members":{
        "ResourceARN":{
          "shape":"ChimeArn",
          "documentation":"<p>The resource ARN.</p>"
        },
        "TagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>The tag keys.</p>"
        }
      }
    },
    "UpdateChannelFlowRequest":{
      "type":"structure",
      "required":[
        "ChannelFlowArn",
        "Processors",
        "Name"
      ],
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>",
          "location":"uri",
          "locationName":"channelFlowArn"
        },
        "Processors":{
          "shape":"ProcessorList",
          "documentation":"<p>Information about the processor Lambda functions </p>"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel flow.</p>"
        }
      }
    },
    "UpdateChannelFlowResponse":{
      "type":"structure",
      "members":{
        "ChannelFlowArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel flow.</p>"
        }
      }
    },
    "UpdateChannelMessageRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "MessageId",
        "Content",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID string of the message being updated.</p>",
          "location":"uri",
          "locationName":"messageId"
        },
        "Content":{
          "shape":"NonEmptyContent",
          "documentation":"<p>The content of the channel message. </p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The metadata of the message being updated.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when updating messages in a SubChannel that the user belongs to.</p> </note>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The content type of the channel message.</p>"
        }
      }
    },
    "UpdateChannelMessageResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        },
        "MessageId":{
          "shape":"MessageId",
          "documentation":"<p>The ID string of the message being updated.</p>"
        },
        "Status":{
          "shape":"ChannelMessageStatusStructure",
          "documentation":"<p>The status of the message update.</p>"
        },
        "SubChannelId":{
          "shape":"SubChannelId",
          "documentation":"<p>The ID of the SubChannel in the response.</p>"
        }
      }
    },
    "UpdateChannelReadMarkerRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "UpdateChannelReadMarkerResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        }
      }
    },
    "UpdateChannelRequest":{
      "type":"structure",
      "required":[
        "ChannelArn",
        "ChimeBearer"
      ],
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>",
          "location":"uri",
          "locationName":"channelArn"
        },
        "Name":{
          "shape":"NonEmptyResourceName",
          "documentation":"<p>The name of the channel.</p>"
        },
        "Mode":{
          "shape":"ChannelMode",
          "documentation":"<p>The mode of the update request.</p>"
        },
        "Metadata":{
          "shape":"Metadata",
          "documentation":"<p>The metadata for the update request.</p>"
        },
        "ChimeBearer":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>",
          "location":"header",
          "locationName":"x-amz-chime-bearer"
        }
      }
    },
    "UpdateChannelResponse":{
      "type":"structure",
      "members":{
        "ChannelArn":{
          "shape":"ChimeArn",
          "documentation":"<p>The ARN of the channel.</p>"
        }
      }
    },
    "UrlType":{
      "type":"string",
      "max":4096
    }
  },
  "documentation":"<p>The Amazon Chime SDK messaging APIs in this section allow software developers to send and receive messages in custom messaging applications. These APIs depend on the frameworks provided by the Amazon Chime SDK identity APIs. For more information about the messaging APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html\">Amazon Chime SDK messaging</a>.</p>"
}
