libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Show ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Generic ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

NFData ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Hashable ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

AWSRequest ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

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

type Rep ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

type Rep ListChannelMembershipsForAppInstanceUser = D1 ('MetaData "ListChannelMembershipsForAppInstanceUser" "Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "ListChannelMembershipsForAppInstanceUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appInstanceUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListChannelMembershipsForAppInstanceUser Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

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:nextToken:ListChannelMembershipsForAppInstanceUser', listChannelMembershipsForAppInstanceUser_nextToken - The token returned from previous API requests until the number of channel memberships is reached.

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

$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
Eq ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Show ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

Generic ListChannelMembershipsForAppInstanceUserResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ListChannelMembershipsForAppInstanceUser

NFData 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" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" '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))))

newListChannelMembershipsForAppInstanceUserResponse Source #

Create a value of ListChannelMembershipsForAppInstanceUserResponse 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:channelMemberships:ListChannelMembershipsForAppInstanceUserResponse', listChannelMembershipsForAppInstanceUserResponse_channelMemberships - The token passed by previous API calls until all requested users are returned.

$sel:nextToken:ListChannelMembershipsForAppInstanceUser', listChannelMembershipsForAppInstanceUserResponse_nextToken - The token passed by previous API calls until all requested users are returned.

$sel:httpStatus:ListChannelMembershipsForAppInstanceUserResponse', listChannelMembershipsForAppInstanceUserResponse_httpStatus - The response's http status code.

Response Lenses

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

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