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

Description

Disassociates the specified member accounts from the associated administrator account.

Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.

Synopsis

Creating a Request

data DisassociateMembers Source #

See: newDisassociateMembers smart constructor.

Constructors

DisassociateMembers' 

Fields

  • accountIds :: [Text]

    The account IDs of the member accounts to disassociate from the administrator account.

Instances

Instances details
Eq DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Read DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Show DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Generic DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Associated Types

type Rep DisassociateMembers :: Type -> Type #

NFData DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Methods

rnf :: DisassociateMembers -> () #

Hashable DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

ToJSON DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

AWSRequest DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Associated Types

type AWSResponse DisassociateMembers #

ToHeaders DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

ToPath DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

ToQuery DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

type Rep DisassociateMembers Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

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

Defined in Amazonka.SecurityHub.DisassociateMembers

newDisassociateMembers :: DisassociateMembers Source #

Create a value of DisassociateMembers 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:DisassociateMembers', disassociateMembers_accountIds - The account IDs of the member accounts to disassociate from the administrator account.

Request Lenses

disassociateMembers_accountIds :: Lens' DisassociateMembers [Text] Source #

The account IDs of the member accounts to disassociate from the administrator account.

Destructuring the Response

data DisassociateMembersResponse Source #

See: newDisassociateMembersResponse smart constructor.

Constructors

DisassociateMembersResponse' 

Fields

Instances

Instances details
Eq DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Read DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Show DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Generic DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

Associated Types

type Rep DisassociateMembersResponse :: Type -> Type #

NFData DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

type Rep DisassociateMembersResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisassociateMembers

type Rep DisassociateMembersResponse = D1 ('MetaData "DisassociateMembersResponse" "Amazonka.SecurityHub.DisassociateMembers" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DisassociateMembersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateMembersResponse Source #

Create a value of DisassociateMembersResponse 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:DisassociateMembersResponse', disassociateMembersResponse_httpStatus - The response's http status code.

Response Lenses