libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.ListInvitations

Description

Retrieves information about the Amazon Macie membership invitations that were received by an account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInvitations Source #

See: newListInvitations smart constructor.

Constructors

ListInvitations' 

Fields

  • nextToken :: Maybe Text

    The nextToken string that specifies which page of results to return in a paginated response.

  • maxResults :: Maybe Natural

    The maximum number of items to include in each page of a paginated response.

Instances

Instances details
Eq ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Read ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Show ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Generic ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Associated Types

type Rep ListInvitations :: Type -> Type #

NFData ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Methods

rnf :: ListInvitations -> () #

Hashable ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

AWSPager ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

AWSRequest ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Associated Types

type AWSResponse ListInvitations #

ToHeaders ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

ToPath ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

ToQuery ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

type Rep ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

type Rep ListInvitations = D1 ('MetaData "ListInvitations" "Amazonka.MacieV2.ListInvitations" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ListInvitations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

newListInvitations :: ListInvitations Source #

Create a value of ListInvitations 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:ListInvitations', listInvitations_nextToken - The nextToken string that specifies which page of results to return in a paginated response.

$sel:maxResults:ListInvitations', listInvitations_maxResults - The maximum number of items to include in each page of a paginated response.

Request Lenses

listInvitations_nextToken :: Lens' ListInvitations (Maybe Text) Source #

The nextToken string that specifies which page of results to return in a paginated response.

listInvitations_maxResults :: Lens' ListInvitations (Maybe Natural) Source #

The maximum number of items to include in each page of a paginated response.

Destructuring the Response

data ListInvitationsResponse Source #

See: newListInvitationsResponse smart constructor.

Constructors

ListInvitationsResponse' 

Fields

  • invitations :: Maybe [Invitation]

    An array of objects, one for each invitation that was received by the account.

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Read ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Show ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Generic ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

NFData ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

Methods

rnf :: ListInvitationsResponse -> () #

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.ListInvitations

type Rep ListInvitationsResponse = D1 ('MetaData "ListInvitationsResponse" "Amazonka.MacieV2.ListInvitations" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "ListInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invitations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Invitation])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListInvitationsResponse Source #

Create a value of ListInvitationsResponse 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:invitations:ListInvitationsResponse', listInvitationsResponse_invitations - An array of objects, one for each invitation that was received by the account.

$sel:nextToken:ListInvitations', listInvitationsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:httpStatus:ListInvitationsResponse', listInvitationsResponse_httpStatus - The response's http status code.

Response Lenses

listInvitationsResponse_invitations :: Lens' ListInvitationsResponse (Maybe [Invitation]) Source #

An array of objects, one for each invitation that was received by the account.

listInvitationsResponse_nextToken :: Lens' ListInvitationsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.