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.PutChannelMembershipPreferences

Description

Sets 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 set preferences. Users in the AppInstanceAdmin 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.

Synopsis

Creating a Request

data PutChannelMembershipPreferences Source #

See: newPutChannelMembershipPreferences smart constructor.

Constructors

PutChannelMembershipPreferences' 

Fields

Instances

Instances details
ToJSON PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

ToHeaders PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

ToPath PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

ToQuery PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

AWSRequest PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Generic PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Associated Types

type Rep PutChannelMembershipPreferences :: Type -> Type #

Show PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

NFData PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Eq PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Hashable PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

type AWSResponse PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

type Rep PutChannelMembershipPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

type Rep PutChannelMembershipPreferences = D1 ('MetaData "PutChannelMembershipPreferences" "Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "PutChannelMembershipPreferences'" '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) :*: S1 ('MetaSel ('Just "preferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChannelMembershipPreferences))))

newPutChannelMembershipPreferences Source #

Create a value of PutChannelMembershipPreferences 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:

PutChannelMembershipPreferences, putChannelMembershipPreferences_channelArn - The ARN of the channel.

PutChannelMembershipPreferences, putChannelMembershipPreferences_memberArn - The AppInstanceUserArn of the member setting the preferences.

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

PutChannelMembershipPreferences, putChannelMembershipPreferences_preferences - The channel membership preferences of an AppInstanceUser .

Request Lenses

putChannelMembershipPreferences_memberArn :: Lens' PutChannelMembershipPreferences Text Source #

The AppInstanceUserArn of the member setting the preferences.

putChannelMembershipPreferences_chimeBearer :: Lens' PutChannelMembershipPreferences Text Source #

The AppInstanceUserARN of the user making the API call.

Destructuring the Response

data PutChannelMembershipPreferencesResponse Source #

Constructors

PutChannelMembershipPreferencesResponse' 

Fields

Instances

Instances details
Generic PutChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Show PutChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

NFData PutChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

Eq PutChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

type Rep PutChannelMembershipPreferencesResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences

type Rep PutChannelMembershipPreferencesResponse = D1 ('MetaData "PutChannelMembershipPreferencesResponse" "Amazonka.ChimeSDKMessaging.PutChannelMembershipPreferences" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "PutChannelMembershipPreferencesResponse'" '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