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 |
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
Synopsis
- data CreateAlias = CreateAlias' {}
- newCreateAlias :: Text -> Text -> Text -> CreateAlias
- createAlias_organizationId :: Lens' CreateAlias Text
- createAlias_entityId :: Lens' CreateAlias Text
- createAlias_alias :: Lens' CreateAlias Text
- data CreateAliasResponse = CreateAliasResponse' {
- httpStatus :: Int
- newCreateAliasResponse :: Int -> CreateAliasResponse
- createAliasResponse_httpStatus :: Lens' CreateAliasResponse Int
Creating a Request
data CreateAlias Source #
See: newCreateAlias
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateAlias |
Create a value of CreateAlias
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:organizationId:CreateAlias'
, createAlias_organizationId
- The organization under which the member (user or group) exists.
$sel:entityId:CreateAlias'
, createAlias_entityId
- The member (user or group) to which this alias is added.
$sel:alias:CreateAlias'
, createAlias_alias
- The alias to add to the member set.
Request Lenses
createAlias_organizationId :: Lens' CreateAlias Text Source #
The organization under which the member (user or group) exists.
createAlias_entityId :: Lens' CreateAlias Text Source #
The member (user or group) to which this alias is added.
createAlias_alias :: Lens' CreateAlias Text Source #
The alias to add to the member set.
Destructuring the Response
data CreateAliasResponse Source #
See: newCreateAliasResponse
smart constructor.
CreateAliasResponse' | |
|
Instances
newCreateAliasResponse Source #
Create a value of CreateAliasResponse
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:CreateAliasResponse'
, createAliasResponse_httpStatus
- The response's http status code.
Response Lenses
createAliasResponse_httpStatus :: Lens' CreateAliasResponse Int Source #
The response's http status code.