libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.CreateMember

Description

Associates an account with an Amazon Macie administrator account.

Synopsis

Creating a Request

data CreateMember Source #

See: newCreateMember smart constructor.

Constructors

CreateMember' 

Fields

  • tags :: Maybe (HashMap Text Text)

    A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

    An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

  • account :: AccountDetail

    The details of the account to associate with the administrator account.

Instances

Instances details
Eq CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Read CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Show CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Generic CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Associated Types

type Rep CreateMember :: Type -> Type #

NFData CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Methods

rnf :: CreateMember -> () #

Hashable CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

ToJSON CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

AWSRequest CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Associated Types

type AWSResponse CreateMember #

ToHeaders CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

ToPath CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

ToQuery CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

type Rep CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

type Rep CreateMember = D1 ('MetaData "CreateMember" "Amazonka.MacieV2.CreateMember" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "CreateMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "account") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccountDetail)))
type AWSResponse CreateMember Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

newCreateMember Source #

Create a value of CreateMember 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:tags:CreateMember', createMember_tags - A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

$sel:account:CreateMember', createMember_account - The details of the account to associate with the administrator account.

Request Lenses

createMember_tags :: Lens' CreateMember (Maybe (HashMap Text Text)) Source #

A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.

An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

createMember_account :: Lens' CreateMember AccountDetail Source #

The details of the account to associate with the administrator account.

Destructuring the Response

data CreateMemberResponse Source #

See: newCreateMemberResponse smart constructor.

Constructors

CreateMemberResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the account that was associated with the administrator account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Read CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Show CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Generic CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Associated Types

type Rep CreateMemberResponse :: Type -> Type #

NFData CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

Methods

rnf :: CreateMemberResponse -> () #

type Rep CreateMemberResponse Source # 
Instance details

Defined in Amazonka.MacieV2.CreateMember

type Rep CreateMemberResponse = D1 ('MetaData "CreateMemberResponse" "Amazonka.MacieV2.CreateMember" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "CreateMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMemberResponse Source #

Create a value of CreateMemberResponse 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:arn:CreateMemberResponse', createMemberResponse_arn - The Amazon Resource Name (ARN) of the account that was associated with the administrator account.

$sel:httpStatus:CreateMemberResponse', createMemberResponse_httpStatus - The response's http status code.

Response Lenses

createMemberResponse_arn :: Lens' CreateMemberResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the account that was associated with the administrator account.