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

Description

Lists all channels that a particular AppInstanceUser is a part of. Only an AppInstanceAdmin can call the API with a user ARN that is not their own.

The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn of the user that makes the API call as the value in the header.

Synopsis

Creating a Request

data ListChannelMembershipsForAppInstanceUser Source #

Constructors

ListChannelMembershipsForAppInstanceUser' 

Fields

Instances

Instances details
ToHeaders ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

ToPath ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

ToQuery ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

AWSRequest ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Generic ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Show ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

NFData ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Eq ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Hashable ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type AWSResponse ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type Rep ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type Rep ListChannelMembershipsForAppInstanceUser = D1 ('MetaData "ListChannelMembershipsForAppInstanceUser" "Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "ListChannelMembershipsForAppInstanceUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appInstanceUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListChannelMembershipsForAppInstanceUser Source #

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

$sel:appInstanceUserArn:ListChannelMembershipsForAppInstanceUser', listChannelMembershipsForAppInstanceUser_appInstanceUserArn - The ARN of the AppInstanceUsers

$sel:maxResults:ListChannelMembershipsForAppInstanceUser', listChannelMembershipsForAppInstanceUser_maxResults - The maximum number of users that you want returned.

ListChannelMembershipsForAppInstanceUser, listChannelMembershipsForAppInstanceUser_nextToken - The token returned from previous API requests until the number of channel memberships is reached.

$sel:chimeBearer:ListChannelMembershipsForAppInstanceUser', listChannelMembershipsForAppInstanceUser_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

Request Lenses

listChannelMembershipsForAppInstanceUser_nextToken :: Lens' ListChannelMembershipsForAppInstanceUser (Maybe Text) Source #

The token returned from previous API requests until the number of channel memberships is reached.

Destructuring the Response

data ListChannelMembershipsForAppInstanceUserResponse Source #

Constructors

ListChannelMembershipsForAppInstanceUserResponse' 

Fields

Instances

Instances details
Generic ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Show ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

NFData ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Eq ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type Rep ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type Rep ListChannelMembershipsForAppInstanceUserResponse = D1 ('MetaData "ListChannelMembershipsForAppInstanceUserResponse" "Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "ListChannelMembershipsForAppInstanceUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelMemberships") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChannelMembershipForAppInstanceUserSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

Response Lenses

listChannelMembershipsForAppInstanceUserResponse_nextToken :: Lens' ListChannelMembershipsForAppInstanceUserResponse (Maybe Text) Source #

The token passed by previous API calls until all requested users are returned.