aws.chime_sdk_messaging.get_channel_membership_preferences
Example SQL Queries
SELECT * FROMaws.chime_sdk_messaging.get_channel_membership_preferencesWHERE"channel_arn" = 'VALUE'AND "member_arn" = 'VALUE'AND "chime_bearer" = 'VALUE';Description
Gets the membership preferences of an AppInstanceUser or AppInstanceBot 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 AppInstanceAdmin 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.
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 |
|---|---|
| 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 |
| member_arn Required Input Column The AppInstanceUserArn of the member retrieving the preferences. | 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
| |
| member The details of a user. | STRUCT( |
Show child fields
| |
| preferences The channel membership preferences for an AppInstanceUser . | STRUCT( |
Show child fields
| |