| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector2.AssociateMember
Description
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
Synopsis
- data AssociateMember = AssociateMember' {}
- newAssociateMember :: Text -> AssociateMember
- associateMember_accountId :: Lens' AssociateMember Text
- data AssociateMemberResponse = AssociateMemberResponse' {
- httpStatus :: Int
- accountId :: Text
- newAssociateMemberResponse :: Int -> Text -> AssociateMemberResponse
- associateMemberResponse_httpStatus :: Lens' AssociateMemberResponse Int
- associateMemberResponse_accountId :: Lens' AssociateMemberResponse Text
Creating a Request
data AssociateMember Source #
See: newAssociateMember smart constructor.
Constructors
| AssociateMember' | |
Instances
Arguments
| :: Text | |
| -> AssociateMember |
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
| |
Instances
newAssociateMemberResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> AssociateMemberResponse |
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_httpStatus :: Lens' AssociateMemberResponse Int Source #
The response's http status code.
associateMemberResponse_accountId :: Lens' AssociateMemberResponse Text Source #
The Amazon Web Services account ID of the successfully associated member account.