aws.chime_sdk_messaging.list_channels
Example SQL Queries
SELECT * FROMaws.chime_sdk_messaging.list_channelsWHERE"app_instance_arn" = 'VALUE'AND "chime_bearer" = 'VALUE';Description
Lists all Channels created under a single Chime App as a paginated list. You can specify filters to narrow results.
Functionality & restrictions
Use privacy = PUBLIC to retrieve all public channels in the account.
Only an AppInstanceAdmin can set privacy = PRIVATE to list the private channels in an account.
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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| app_instance_arn Required Input Column The ARN of the AppInstance. | 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 channels that you want to return. | BIGINT |
| next_token Input Column The token returned from previous API requests until the number of channels is reached. | VARCHAR |
| privacy Input Column The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels. | 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
| |
| channels The information about each channel. | STRUCT( |
Show child fields
| |