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

Description

Deletes the specified member accounts from Security Hub.

Can be used to delete member accounts that belong to an organization as well as member accounts that were invited manually.

Synopsis

Creating a Request

data DeleteMembers Source #

See: newDeleteMembers smart constructor.

Constructors

DeleteMembers' 

Fields

  • accountIds :: [Text]

    The list of account IDs for the member accounts to delete.

Instances

Instances details
Eq DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Read DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Show DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Generic DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Associated Types

type Rep DeleteMembers :: Type -> Type #

NFData DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Methods

rnf :: DeleteMembers -> () #

Hashable DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

ToJSON DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

AWSRequest DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Associated Types

type AWSResponse DeleteMembers #

ToHeaders DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

ToPath DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

ToQuery DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

type Rep DeleteMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

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

Defined in Amazonka.SecurityHub.DeleteMembers

newDeleteMembers :: DeleteMembers Source #

Create a value of DeleteMembers 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:DeleteMembers', deleteMembers_accountIds - The list of account IDs for the member accounts to delete.

Request Lenses

deleteMembers_accountIds :: Lens' DeleteMembers [Text] Source #

The list of account IDs for the member accounts to delete.

Destructuring the Response

data DeleteMembersResponse Source #

See: newDeleteMembersResponse smart constructor.

Constructors

DeleteMembersResponse' 

Fields

  • unprocessedAccounts :: Maybe [Result]

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

Defined in Amazonka.SecurityHub.DeleteMembers

Read DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Show DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Generic DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Associated Types

type Rep DeleteMembersResponse :: Type -> Type #

NFData DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

Methods

rnf :: DeleteMembersResponse -> () #

type Rep DeleteMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DeleteMembers

type Rep DeleteMembersResponse = D1 ('MetaData "DeleteMembersResponse" "Amazonka.SecurityHub.DeleteMembers" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DeleteMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unprocessedAccounts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Result])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMembersResponse Source #

Create a value of DeleteMembersResponse 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:DeleteMembersResponse', deleteMembersResponse_unprocessedAccounts - The list of Amazon Web Services accounts that were not deleted. For each account, the list includes the account ID and the email address.

$sel:httpStatus:DeleteMembersResponse', deleteMembersResponse_httpStatus - The response's http status code.

Response Lenses

deleteMembersResponse_unprocessedAccounts :: Lens' DeleteMembersResponse (Maybe [Result]) Source #

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