amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.ListInvitations

Description

Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInvitations Source #

See: newListInvitations smart constructor.

Constructors

ListInvitations' 

Fields

  • maxResults :: Maybe Natural

    You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

  • nextToken :: Maybe Text

    You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Instances

Instances details
ToHeaders ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

ToPath ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

ToQuery ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

AWSPager ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

AWSRequest ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Associated Types

type AWSResponse ListInvitations #

Generic ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitations :: Type -> Type #

Read ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Show ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

NFData ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Methods

rnf :: ListInvitations -> () #

Eq ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Hashable ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type AWSResponse ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitations = D1 ('MetaData "ListInvitations" "Amazonka.GuardDuty.ListInvitations" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "ListInvitations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:maxResults:ListInvitations', listInvitations_maxResults - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

ListInvitations, listInvitations_nextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Request Lenses

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

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

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

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Destructuring the Response

data ListInvitationsResponse Source #

See: newListInvitationsResponse smart constructor.

Constructors

ListInvitationsResponse' 

Fields

Instances

Instances details
Generic ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

Read ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Show ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

NFData ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Methods

rnf :: ListInvitationsResponse -> () #

Eq ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitationsResponse = D1 ('MetaData "ListInvitationsResponse" "Amazonka.GuardDuty.ListInvitations" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" '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 - A list of invitation descriptions.

ListInvitations, listInvitationsResponse_nextToken - The pagination parameter to be used on the next list operation to retrieve more items.

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

Response Lenses

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

The pagination parameter to be used on the next list operation to retrieve more items.