aws.chime_sdk_messaging.list_channel_memberships
Example SQL Queries
SELECT * FROMaws.chime_sdk_messaging.list_channel_membershipsWHERE"channel_arn" = 'VALUE'AND "chime_bearer" = 'VALUE';Description
Lists all channel memberships in a channel.
The x-amz-chime-bearer request header is mandatory. Use the ARN of the AppInstanceUser or AppInstanceBot that makes the API call as the value in the header.
If you want to list the channels to which a specific app instance user belongs, see the ListChannelMembershipsForAppInstanceUser API.
Table Definition
| Column Name | Column Data Type |
|---|---|
| channel_arn Required Input Column The ARN of the channel. | VARCHAR |
| chime_bearer Required Input Column The ARN of the AppInstanceUser or AppInstanceBot that makes the API call. | VARCHAR |
| max_results Input Column The maximum number of channel memberships that you want returned. | BIGINT |
| next_token Input Column The token passed by previous API calls until all requested channel memberships are returned. | VARCHAR |
| sub_channel_id Input Column The ID of the SubChannel in the request. Only required when listing a user's memberships in a particular sub-channel of an elastic channel. | VARCHAR |
| type Input Column The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| channel_memberships The information for the requested channel memberships. | STRUCT( |
Show child fields
| |