amazonka-chime-sdk-messaging-2.0: Amazon Chime SDK Messaging SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Description

Gets the membership preferences of an AppInstanceUser for the specified channel. The AppInstanceUser must be a member of the channel. Only the AppInstanceUser who owns the membership can retrieve preferences. Users in the AppInstanceAdmin 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.

Synopsis

Creating a Request

data GetChannelMembershipPreferences Source #

See: newGetChannelMembershipPreferences smart constructor.

Constructors

GetChannelMembershipPreferences' 

Fields

Instances

Instances details
ToHeaders GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

ToPath GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

ToQuery GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

AWSRequest GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Generic GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Associated Types

type Rep GetChannelMembershipPreferences :: Type -> Type #

Read GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Show GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

NFData GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Eq GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Hashable GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

type AWSResponse GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

type Rep GetChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

type Rep GetChannelMembershipPreferences = D1 ('MetaData "GetChannelMembershipPreferences" "Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "GetChannelMembershipPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "memberArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetChannelMembershipPreferences Source #

Create a value of GetChannelMembershipPreferences with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetChannelMembershipPreferences, getChannelMembershipPreferences_channelArn - The ARN of the channel.

GetChannelMembershipPreferences, getChannelMembershipPreferences_memberArn - The AppInstanceUserArn of the member retrieving the preferences.

$sel:chimeBearer:GetChannelMembershipPreferences', getChannelMembershipPreferences_chimeBearer - The AppInstanceUserARN of the user making the API call.

Request Lenses

getChannelMembershipPreferences_memberArn :: Lens' GetChannelMembershipPreferences Text Source #

The AppInstanceUserArn of the member retrieving the preferences.

getChannelMembershipPreferences_chimeBearer :: Lens' GetChannelMembershipPreferences Text Source #

The AppInstanceUserARN of the user making the API call.

Destructuring the Response

data GetChannelMembershipPreferencesResponse Source #

Constructors

GetChannelMembershipPreferencesResponse' 

Fields

Instances

Instances details
Generic GetChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Show GetChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

NFData GetChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

Eq GetChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

type Rep GetChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences

type Rep GetChannelMembershipPreferencesResponse = D1 ('MetaData "GetChannelMembershipPreferencesResponse" "Amazonka.ChimeSDKMessaging.GetChannelMembershipPreferences" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "GetChannelMembershipPreferencesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "member") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity))) :*: (S1 ('MetaSel ('Just "preferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelMembershipPreferences)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses