libZSservicesZSamazonka-workmailZSamazonka-workmail
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.WorkMail.ListGroupMembers

Description

Returns an overview of the members of a group. Users and groups can be members of a group.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGroupMembers Source #

See: newListGroupMembers smart constructor.

Constructors

ListGroupMembers' 

Fields

  • nextToken :: Maybe Text

    The token to use to retrieve the next page of results. The first call does not contain any tokens.

  • maxResults :: Maybe Natural

    The maximum number of results to return in a single call.

  • organizationId :: Text

    The identifier for the organization under which the group exists.

  • groupId :: Text

    The identifier for the group to which the members (users or groups) are associated.

Instances

Instances details
Eq ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Read ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Show ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Generic ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Associated Types

type Rep ListGroupMembers :: Type -> Type #

NFData ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Methods

rnf :: ListGroupMembers -> () #

Hashable ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

ToJSON ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

AWSPager ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

AWSRequest ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Associated Types

type AWSResponse ListGroupMembers #

ToHeaders ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

ToPath ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

ToQuery ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

type Rep ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

type Rep ListGroupMembers = D1 ('MetaData "ListGroupMembers" "Amazonka.WorkMail.ListGroupMembers" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListGroupMembers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListGroupMembers Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

newListGroupMembers Source #

Create a value of ListGroupMembers 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:nextToken:ListGroupMembers', listGroupMembers_nextToken - The token to use to retrieve the next page of results. The first call does not contain any tokens.

$sel:maxResults:ListGroupMembers', listGroupMembers_maxResults - The maximum number of results to return in a single call.

$sel:organizationId:ListGroupMembers', listGroupMembers_organizationId - The identifier for the organization under which the group exists.

$sel:groupId:ListGroupMembers', listGroupMembers_groupId - The identifier for the group to which the members (users or groups) are associated.

Request Lenses

listGroupMembers_nextToken :: Lens' ListGroupMembers (Maybe Text) Source #

The token to use to retrieve the next page of results. The first call does not contain any tokens.

listGroupMembers_maxResults :: Lens' ListGroupMembers (Maybe Natural) Source #

The maximum number of results to return in a single call.

listGroupMembers_organizationId :: Lens' ListGroupMembers Text Source #

The identifier for the organization under which the group exists.

listGroupMembers_groupId :: Lens' ListGroupMembers Text Source #

The identifier for the group to which the members (users or groups) are associated.

Destructuring the Response

data ListGroupMembersResponse Source #

See: newListGroupMembersResponse smart constructor.

Constructors

ListGroupMembersResponse' 

Fields

Instances

Instances details
Eq ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Read ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Show ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Generic ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

Associated Types

type Rep ListGroupMembersResponse :: Type -> Type #

NFData ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

type Rep ListGroupMembersResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListGroupMembers

type Rep ListGroupMembersResponse = D1 ('MetaData "ListGroupMembersResponse" "Amazonka.WorkMail.ListGroupMembers" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListGroupMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Member])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListGroupMembersResponse Source #

Create a value of ListGroupMembersResponse 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:members:ListGroupMembersResponse', listGroupMembersResponse_members - The members associated to the group.

$sel:nextToken:ListGroupMembers', listGroupMembersResponse_nextToken - The token to use to retrieve the next page of results. The first call does not contain any tokens.

$sel:httpStatus:ListGroupMembersResponse', listGroupMembersResponse_httpStatus - The response's http status code.

Response Lenses

listGroupMembersResponse_nextToken :: Lens' ListGroupMembersResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. The first call does not contain any tokens.