libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.ListInvitations

Description

Lists all GuardDuty membership invitations that were sent to the current AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInvitations Source #

See: newListInvitations smart constructor.

Constructors

ListInvitations' 

Fields

  • 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.

  • 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.

Instances

Instances details
Eq ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Read ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Show ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Generic ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitations :: Type -> Type #

NFData ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Methods

rnf :: ListInvitations -> () #

Hashable 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 #

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

type Rep ListInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitations = D1 ('MetaData "ListInvitations" "Amazonka.GuardDuty.ListInvitations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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.GuardDuty.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 - 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.

$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.

Request Lenses

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.

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.

Destructuring the Response

data ListInvitationsResponse Source #

See: newListInvitationsResponse smart constructor.

Constructors

ListInvitationsResponse' 

Fields

Instances

Instances details
Eq ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Read ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Show ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Generic ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

NFData ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

Methods

rnf :: ListInvitationsResponse -> () #

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListInvitations

type Rep ListInvitationsResponse = D1 ('MetaData "ListInvitationsResponse" "Amazonka.GuardDuty.ListInvitations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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.

$sel:nextToken: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.