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

Description

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

Synopsis

Creating a Request

data DeclineInvitations Source #

See: newDeclineInvitations smart constructor.

Constructors

DeclineInvitations' 

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 decline invitations from.

Instances

Instances details
Eq DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Read DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Show DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Generic DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Associated Types

type Rep DeclineInvitations :: Type -> Type #

NFData DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Methods

rnf :: DeclineInvitations -> () #

Hashable DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

ToJSON DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

AWSRequest DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Associated Types

type AWSResponse DeclineInvitations #

ToHeaders DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

ToPath DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

ToQuery DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

type Rep DeclineInvitations Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

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

Defined in Amazonka.GuardDuty.DeclineInvitations

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

Request Lenses

declineInvitations_accountIds :: Lens' DeclineInvitations (NonEmpty Text) Source #

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

Destructuring the Response

data DeclineInvitationsResponse Source #

See: newDeclineInvitationsResponse smart constructor.

Constructors

DeclineInvitationsResponse' 

Fields

Instances

Instances details
Eq DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Read DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Show DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Generic DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

Associated Types

type Rep DeclineInvitationsResponse :: Type -> Type #

NFData DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

type Rep DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DeclineInvitations

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

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

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

Response Lenses

declineInvitationsResponse_unprocessedAccounts :: Lens' DeclineInvitationsResponse [UnprocessedAccount] Source #

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