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

Description

Deletes invitations received by the Amazon Web Services account to become a member account.

This operation is only used by accounts that are not part of an organization. Organization accounts do not receive invitations.

Synopsis

Creating a Request

data DeleteInvitations Source #

See: newDeleteInvitations smart constructor.

Constructors

DeleteInvitations' 

Fields

  • accountIds :: [Text]

    The list of the account IDs that sent the invitations to delete.

Instances

Instances details
Eq DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Read DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Show DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Generic DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Associated Types

type Rep DeleteInvitations :: Type -> Type #

NFData DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Methods

rnf :: DeleteInvitations -> () #

Hashable DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

ToJSON DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

AWSRequest DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Associated Types

type AWSResponse DeleteInvitations #

ToHeaders DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

ToPath DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

ToQuery DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

type Rep DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

type Rep DeleteInvitations = D1 ('MetaData "DeleteInvitations" "Amazonka.SecurityHub.DeleteInvitations" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeleteInvitations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse DeleteInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

newDeleteInvitations :: DeleteInvitations Source #

Create a value of DeleteInvitations 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:accountIds:DeleteInvitations', deleteInvitations_accountIds - The list of the account IDs that sent the invitations to delete.

Request Lenses

deleteInvitations_accountIds :: Lens' DeleteInvitations [Text] Source #

The list of the account IDs that sent the invitations to delete.

Destructuring the Response

data DeleteInvitationsResponse Source #

See: newDeleteInvitationsResponse smart constructor.

Constructors

DeleteInvitationsResponse' 

Fields

  • unprocessedAccounts :: Maybe [Result]

    The list of Amazon Web Services accounts for which the invitations were not deleted. For each account, the list includes the account ID and the email address.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Read DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Show DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Generic DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

Associated Types

type Rep DeleteInvitationsResponse :: Type -> Type #

NFData DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

type Rep DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteInvitations

type Rep DeleteInvitationsResponse = D1 ('MetaData "DeleteInvitationsResponse" "Amazonka.SecurityHub.DeleteInvitations" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeleteInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Result])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteInvitationsResponse Source #

Create a value of DeleteInvitationsResponse 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:unprocessedAccounts:DeleteInvitationsResponse', deleteInvitationsResponse_unprocessedAccounts - The list of Amazon Web Services accounts for which the invitations were not deleted. For each account, the list includes the account ID and the email address.

$sel:httpStatus:DeleteInvitationsResponse', deleteInvitationsResponse_httpStatus - The response's http status code.

Response Lenses

deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse (Maybe [Result]) Source #

The list of Amazon Web Services accounts for which the invitations were not deleted. For each account, the list includes the account ID and the email address.