libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.ListInvitations

Description

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

This operation is only used by accounts that are managed by invitation. Accounts that are managed using the integration with Organizations do not receive invitations.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInvitations Source #

See: newListInvitations smart constructor.

Constructors

ListInvitations' 

Fields

  • nextToken :: Maybe Text

    The token that is required for pagination. On your first call to the ListInvitations operation, set the value of this parameter to NULL.

    For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

  • maxResults :: Maybe Natural

    The maximum number of items to return in the response.

Instances

Instances details
Eq ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Read ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Show ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Generic ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Associated Types

type Rep ListInvitations :: Type -> Type #

NFData ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Methods

rnf :: ListInvitations -> () #

Hashable ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

AWSPager ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

AWSRequest ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Associated Types

type AWSResponse ListInvitations #

ToHeaders ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

ToPath ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

ToQuery ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

type Rep ListInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

type Rep ListInvitations = D1 ('MetaData "ListInvitations" "Amazonka.SecurityHub.ListInvitations" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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.SecurityHub.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 token that is required for pagination. On your first call to the ListInvitations operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

$sel:maxResults:ListInvitations', listInvitations_maxResults - The maximum number of items to return in the response.

Request Lenses

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

The token that is required for pagination. On your first call to the ListInvitations operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

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

The maximum number of items to return in the response.

Destructuring the Response

data ListInvitationsResponse Source #

See: newListInvitationsResponse smart constructor.

Constructors

ListInvitationsResponse' 

Fields

Instances

Instances details
Eq ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Read ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Show ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Generic ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

NFData ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

Methods

rnf :: ListInvitationsResponse -> () #

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.ListInvitations

type Rep ListInvitationsResponse = D1 ('MetaData "ListInvitationsResponse" "Amazonka.SecurityHub.ListInvitations" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" '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 - The details of the invitations returned by the operation.

$sel:nextToken:ListInvitations', listInvitationsResponse_nextToken - The pagination token to use to request the next page of results.

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

Response Lenses

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

The details of the invitations returned by the operation.

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

The pagination token to use to request the next page of results.