amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.AssociateMember

Description

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.

Synopsis

Creating a Request

data AssociateMember Source #

See: newAssociateMember smart constructor.

Constructors

AssociateMember' 

Fields

  • accountId :: Text

    The Amazon Web Services account ID of the member account to be associated.

Instances

Instances details
ToJSON AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

ToHeaders AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

ToPath AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

ToQuery AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

AWSRequest AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Associated Types

type AWSResponse AssociateMember #

Generic AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Associated Types

type Rep AssociateMember :: Type -> Type #

Read AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Show AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

NFData AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Methods

rnf :: AssociateMember -> () #

Eq AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Hashable AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

type AWSResponse AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

type Rep AssociateMember Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

type Rep AssociateMember = D1 ('MetaData "AssociateMember" "Amazonka.Inspector2.AssociateMember" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "AssociateMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateMember Source #

Create a value of AssociateMember 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:

AssociateMember, associateMember_accountId - The Amazon Web Services account ID of the member account to be associated.

Request Lenses

associateMember_accountId :: Lens' AssociateMember Text Source #

The Amazon Web Services account ID of the member account to be associated.

Destructuring the Response

data AssociateMemberResponse Source #

See: newAssociateMemberResponse smart constructor.

Constructors

AssociateMemberResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • accountId :: Text

    The Amazon Web Services account ID of the successfully associated member account.

Instances

Instances details
Generic AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Associated Types

type Rep AssociateMemberResponse :: Type -> Type #

Read AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Show AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

NFData AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

Methods

rnf :: AssociateMemberResponse -> () #

Eq AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

type Rep AssociateMemberResponse Source # 
Instance details

Defined in Amazonka.Inspector2.AssociateMember

type Rep AssociateMemberResponse = D1 ('MetaData "AssociateMemberResponse" "Amazonka.Inspector2.AssociateMember" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "AssociateMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAssociateMemberResponse Source #

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

AssociateMember, associateMemberResponse_accountId - The Amazon Web Services account ID of the successfully associated member account.

Response Lenses

associateMemberResponse_accountId :: Lens' AssociateMemberResponse Text Source #

The Amazon Web Services account ID of the successfully associated member account.