"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>Calls back 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>"
"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 <code>AppInstanceUserArn</code> of the user 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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>"
"documentation":"<p>Adds a user 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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 <code>AppInstanceUserArn</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":"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>Removes a user from a channel's ban list.</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>"
"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>"
"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>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>Deletes a channel moderator.</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>"
},
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p> Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code>.</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>"
"documentation":"<p>Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code>.</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>"
"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>"
"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. 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>"
"documentation":"<p>Gets the membership preferences of an <code>AppInstanceUser</code> for the specified channel. The <code>AppInstanceUser</code> must be a member of the channel. Only the <code>AppInstanceUser</code> who owns the membership can retrieve preferences. Users in the <code>AppInstanceAdmin</code> and channel moderator roles can't retrieve preferences for other users. Banned users can't retrieve membership preferences for the channel from which they are banned.</p>"
"documentation":"<p>Gets the full details of a channel message.</p> <note> <p>The x-amz-chime-bearer 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>"
"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>Messasge 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header</p> </li> </ul> </note>"
"documentation":"<p>The details of the endpoint for the messaging session.</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 banned from a particular 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>"
"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 <code>AppInstanceUserArn</code> of the user 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>"
"documentation":"<p> Lists all channels that a particular <code>AppInstanceUser</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 <code>AppInstanceUserArn</code> of the user 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 x-amz-chime-bearer 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>"
"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 <code>AppInstanceUserArn</code> of the user 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 & 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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"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>"
"documentation":"<p>Sets the membership preferences of an <code>AppInstanceUser</code> for the specified channel. The <code>AppInstanceUser</code> must be a member of the channel. Only the <code>AppInstanceUser</code> who owns the membership can set preferences. Users in the <code>AppInstanceAdmin</code> and channel moderator roles can't set preferences for other users. Banned users can't set membership preferences for the channel from which they are banned.</p>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>Allows <code>ChimeBearer</code> to search channels by channel members. AppInstanceUsers can search across the channels that they belong to. AppInstanceAdmins can search across all channels.</p>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> <p>Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB of metadata. <code>CONTROL</code> messages can contain 30 bytes of data and no metadata.</p> </note>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>Updates the content of a message.</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>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call as the value in the header.</p> </note>"
"documentation":"<p>The ARN of the channel to which you're adding users.</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>"
"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>"
"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>"
"documentation":"<p>The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.</p>"
"documentation":"<p>The status of the channel 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>"
"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>"
"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 message attribues listed in a the summary of a channel message.</p>"
"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 <code>AppInstanceUserArn</code> of the user that makes the API call.</p>",
"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>"
"documentation":"<p>The <code>AppInstanceUserArn</code> of the user 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 <code>AppInstanceUserArn</code> of the user that makes the API call.</p>",
"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>"
"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>",
"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>",
"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>"
"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>",
"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>",
"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>",
"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>",
"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>",
"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 <code>AppInstanceUserArn</code> of the user 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>"
"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":0,
"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>"
"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>"
"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>"
"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>"
"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>"
"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>"