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

Description

Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.

Synopsis

Creating a Request

data DeleteInvitations Source #

See: newDeleteInvitations smart constructor.

Constructors

DeleteInvitations' 

Fields

  • accountIds :: NonEmpty Text

    A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.

Instances

Instances details
Eq DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Read DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Show DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Generic DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Associated Types

type Rep DeleteInvitations :: Type -> Type #

NFData DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Methods

rnf :: DeleteInvitations -> () #

Hashable DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

ToJSON DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

AWSRequest DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Associated Types

type AWSResponse DeleteInvitations #

ToHeaders DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

ToPath DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

ToQuery DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

type Rep DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

type Rep DeleteInvitations = D1 ('MetaData "DeleteInvitations" "Amazonka.GuardDuty.DeleteInvitations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DeleteInvitations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse DeleteInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

newDeleteInvitations 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 - A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.

Request Lenses

deleteInvitations_accountIds :: Lens' DeleteInvitations (NonEmpty Text) Source #

A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.

Destructuring the Response

data DeleteInvitationsResponse Source #

See: newDeleteInvitationsResponse smart constructor.

Constructors

DeleteInvitationsResponse' 

Fields

Instances

Instances details
Eq DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Read DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Show DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Generic DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

Associated Types

type Rep DeleteInvitationsResponse :: Type -> Type #

NFData DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

type Rep DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeleteInvitations

type Rep DeleteInvitationsResponse = D1 ('MetaData "DeleteInvitationsResponse" "Amazonka.GuardDuty.DeleteInvitations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DeleteInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UnprocessedAccount])))

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:httpStatus:DeleteInvitationsResponse', deleteInvitationsResponse_httpStatus - The response's http status code.

$sel:unprocessedAccounts:DeleteInvitationsResponse', deleteInvitationsResponse_unprocessedAccounts - A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

Response Lenses

deleteInvitationsResponse_unprocessedAccounts :: Lens' DeleteInvitationsResponse [UnprocessedAccount] Source #

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.