Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Associates an account with an Amazon Macie administrator account.
Synopsis
- data CreateMember = CreateMember' {}
- newCreateMember :: AccountDetail -> CreateMember
- createMember_tags :: Lens' CreateMember (Maybe (HashMap Text Text))
- createMember_account :: Lens' CreateMember AccountDetail
- data CreateMemberResponse = CreateMemberResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newCreateMemberResponse :: Int -> CreateMemberResponse
- createMemberResponse_arn :: Lens' CreateMemberResponse (Maybe Text)
- createMemberResponse_httpStatus :: Lens' CreateMemberResponse Int
Creating a Request
data CreateMember Source #
See: newCreateMember
smart constructor.
CreateMember' | |
|
Instances
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.
CreateMemberResponse' | |
|
Instances
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.
createMemberResponse_httpStatus :: Lens' CreateMemberResponse Int Source #
The response's http status code.