| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WorkMail.CreateAlias
Description
Adds an alias to the set of a given member of Amazon WorkMail.
Synopsis
- createAlias :: Text -> Text -> Text -> CreateAlias
- data CreateAlias
- caOrganizationId :: Lens' CreateAlias Text
- caEntityId :: Lens' CreateAlias Text
- caAlias :: Lens' CreateAlias Text
- createAliasResponse :: Int -> CreateAliasResponse
- data CreateAliasResponse
- carsResponseStatus :: Lens' CreateAliasResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateAlias |
Creates a value of CreateAlias with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caOrganizationId- The organization under which the member exists.caEntityId- The alias is added to this Amazon WorkMail entity.caAlias- The alias to add to the user.
data CreateAlias Source #
See: createAlias smart constructor.
Instances
Request Lenses
caOrganizationId :: Lens' CreateAlias Text Source #
The organization under which the member exists.
caEntityId :: Lens' CreateAlias Text Source #
The alias is added to this Amazon WorkMail entity.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateAliasResponse |
Creates a value of CreateAliasResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
carsResponseStatus- -- | The response status code.
data CreateAliasResponse Source #
See: createAliasResponse smart constructor.
Instances
Response Lenses
carsResponseStatus :: Lens' CreateAliasResponse Int Source #
- - | The response status code.