libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.DeleteInvitations

Description

Deletes Amazon Macie membership invitations that were received from specific accounts.

Synopsis

Creating a Request

data DeleteInvitations Source #

See: newDeleteInvitations smart constructor.

Constructors

DeleteInvitations' 

Fields

  • accountIds :: [Text]

    An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

Instances

Instances details
Eq DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Read DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Show DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Generic DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Associated Types

type Rep DeleteInvitations :: Type -> Type #

NFData DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Methods

rnf :: DeleteInvitations -> () #

Hashable DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

ToJSON DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

AWSRequest DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Associated Types

type AWSResponse DeleteInvitations #

ToHeaders DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

ToPath DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

ToQuery DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

type Rep DeleteInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

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

Defined in Amazonka.MacieV2.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 - An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

Request Lenses

deleteInvitations_accountIds :: Lens' DeleteInvitations [Text] Source #

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

Destructuring the Response

data DeleteInvitationsResponse Source #

See: newDeleteInvitationsResponse smart constructor.

Constructors

DeleteInvitationsResponse' 

Fields

  • unprocessedAccounts :: Maybe [UnprocessedAccount]

    An array of objects, one for each account whose invitation hasn't been deleted. Each object identifies the account and explains why the request hasn't been processed for that account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Read DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Show DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Generic DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

Associated Types

type Rep DeleteInvitationsResponse :: Type -> Type #

NFData DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

type Rep DeleteInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeleteInvitations

type Rep DeleteInvitationsResponse = D1 ('MetaData "DeleteInvitationsResponse" "Amazonka.MacieV2.DeleteInvitations" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "DeleteInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedAccount])) :*: 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 - An array of objects, one for each account whose invitation hasn't been deleted. Each object identifies the account and explains why the request hasn't been processed for that account.

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

Response Lenses

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

An array of objects, one for each account whose invitation hasn't been deleted. Each object identifies the account and explains why the request hasn't been processed for that account.