libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.ListChannelModerators

Description

Lists all the moderators for a channel.

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 ListChannelModerators Source #

See: newListChannelModerators smart constructor.

Constructors

ListChannelModerators' 

Fields

Instances

Instances details
Eq ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Show ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Generic ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Associated Types

type Rep ListChannelModerators :: Type -> Type #

NFData ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Methods

rnf :: ListChannelModerators -> () #

Hashable ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

AWSRequest ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Associated Types

type AWSResponse ListChannelModerators #

ToHeaders ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

ToPath ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

ToQuery ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

type Rep ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

type Rep ListChannelModerators = D1 ('MetaData "ListChannelModerators" "Amazonka.Chime.ListChannelModerators" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListChannelModerators'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chimeBearer") '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 "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListChannelModerators Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

newListChannelModerators Source #

Create a value of ListChannelModerators 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:chimeBearer:ListChannelModerators', listChannelModerators_chimeBearer - The AppInstanceUserArn of the user that makes the API call.

$sel:nextToken:ListChannelModerators', listChannelModerators_nextToken - The token passed by previous API calls until all requested moderators are returned.

$sel:maxResults:ListChannelModerators', listChannelModerators_maxResults - The maximum number of moderators that you want returned.

$sel:channelArn:ListChannelModerators', listChannelModerators_channelArn - The ARN of the channel.

Request Lenses

listChannelModerators_chimeBearer :: Lens' ListChannelModerators (Maybe Text) Source #

The AppInstanceUserArn of the user that makes the API call.

listChannelModerators_nextToken :: Lens' ListChannelModerators (Maybe Text) Source #

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

listChannelModerators_maxResults :: Lens' ListChannelModerators (Maybe Natural) Source #

The maximum number of moderators that you want returned.

Destructuring the Response

data ListChannelModeratorsResponse Source #

See: newListChannelModeratorsResponse smart constructor.

Constructors

ListChannelModeratorsResponse' 

Fields

Instances

Instances details
Eq ListChannelModeratorsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Show ListChannelModeratorsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Generic ListChannelModeratorsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

Associated Types

type Rep ListChannelModeratorsResponse :: Type -> Type #

NFData ListChannelModeratorsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

type Rep ListChannelModeratorsResponse Source # 
Instance details

Defined in Amazonka.Chime.ListChannelModerators

type Rep ListChannelModeratorsResponse = D1 ('MetaData "ListChannelModeratorsResponse" "Amazonka.Chime.ListChannelModerators" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListChannelModeratorsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "channelModerators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChannelModeratorSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListChannelModeratorsResponse Source #

Create a value of ListChannelModeratorsResponse 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:channelArn:ListChannelModerators', listChannelModeratorsResponse_channelArn - The ARN of the channel.

$sel:nextToken:ListChannelModerators', listChannelModeratorsResponse_nextToken - The token passed by previous API calls until all requested moderators are returned.

$sel:channelModerators:ListChannelModeratorsResponse', listChannelModeratorsResponse_channelModerators - The information about and names of each moderator.

$sel:httpStatus:ListChannelModeratorsResponse', listChannelModeratorsResponse_httpStatus - The response's http status code.

Response Lenses

listChannelModeratorsResponse_nextToken :: Lens' ListChannelModeratorsResponse (Maybe Text) Source #

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