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

Description

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

Synopsis

Creating a Request

data DeclineInvitations Source #

See: newDeclineInvitations smart constructor.

Constructors

DeclineInvitations' 

Fields

  • accountIds :: [Text]

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

Instances

Instances details
Eq DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Read DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Show DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Generic DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Associated Types

type Rep DeclineInvitations :: Type -> Type #

NFData DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Methods

rnf :: DeclineInvitations -> () #

Hashable DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

ToJSON DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

AWSRequest DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Associated Types

type AWSResponse DeclineInvitations #

ToHeaders DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

ToPath DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

ToQuery DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

type Rep DeclineInvitations Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

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

Defined in Amazonka.MacieV2.DeclineInvitations

newDeclineInvitations :: DeclineInvitations Source #

Create a value of DeclineInvitations 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:DeclineInvitations', declineInvitations_accountIds - An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.

Request Lenses

declineInvitations_accountIds :: Lens' DeclineInvitations [Text] Source #

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

Destructuring the Response

data DeclineInvitationsResponse Source #

See: newDeclineInvitationsResponse smart constructor.

Constructors

DeclineInvitationsResponse' 

Fields

  • unprocessedAccounts :: Maybe [UnprocessedAccount]

    An array of objects, one for each account whose invitation hasn't been declined. 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 DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Read DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Show DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Generic DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

Associated Types

type Rep DeclineInvitationsResponse :: Type -> Type #

NFData DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

type Rep DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.MacieV2.DeclineInvitations

type Rep DeclineInvitationsResponse = D1 ('MetaData "DeclineInvitationsResponse" "Amazonka.MacieV2.DeclineInvitations" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "DeclineInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UnprocessedAccount])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeclineInvitationsResponse Source #

Create a value of DeclineInvitationsResponse 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:DeclineInvitationsResponse', declineInvitationsResponse_unprocessedAccounts - An array of objects, one for each account whose invitation hasn't been declined. Each object identifies the account and explains why the request hasn't been processed for that account.

$sel:httpStatus:DeclineInvitationsResponse', declineInvitationsResponse_httpStatus - The response's http status code.

Response Lenses

declineInvitationsResponse_unprocessedAccounts :: Lens' DeclineInvitationsResponse (Maybe [UnprocessedAccount]) Source #

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