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

Description

Declines invitations 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 DeclineInvitations Source #

See: newDeclineInvitations smart constructor.

Constructors

DeclineInvitations' 

Fields

  • accountIds :: [Text]

    The list of account IDs for the accounts from which to decline the invitations to Security Hub.

Instances

Instances details
Eq DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Read DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Show DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Generic DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Associated Types

type Rep DeclineInvitations :: Type -> Type #

NFData DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Methods

rnf :: DeclineInvitations -> () #

Hashable DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

ToJSON DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

AWSRequest DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Associated Types

type AWSResponse DeclineInvitations #

ToHeaders DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

ToPath DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

ToQuery DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

type Rep DeclineInvitations Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

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

Defined in Amazonka.SecurityHub.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 - The list of account IDs for the accounts from which to decline the invitations to Security Hub.

Request Lenses

declineInvitations_accountIds :: Lens' DeclineInvitations [Text] Source #

The list of account IDs for the accounts from which to decline the invitations to Security Hub.

Destructuring the Response

data DeclineInvitationsResponse Source #

See: newDeclineInvitationsResponse smart constructor.

Constructors

DeclineInvitationsResponse' 

Fields

  • unprocessedAccounts :: Maybe [Result]

    The list of Amazon Web Services accounts that were not processed. 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 DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Read DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Show DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Generic DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

Associated Types

type Rep DeclineInvitationsResponse :: Type -> Type #

NFData DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

type Rep DeclineInvitationsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeclineInvitations

type Rep DeclineInvitationsResponse = D1 ('MetaData "DeclineInvitationsResponse" "Amazonka.SecurityHub.DeclineInvitations" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeclineInvitationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Result])) :*: 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 - The list of Amazon Web Services accounts that were not processed. For each account, the list includes the account ID and the email address.

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

Response Lenses

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

The list of Amazon Web Services accounts that were not processed. For each account, the list includes the account ID and the email address.