| 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.DeleteAlias
Description
Remove the alias from a set of aliases for a given user.
Synopsis
- deleteAlias :: Text -> Text -> Text -> DeleteAlias
- data DeleteAlias
- daOrganizationId :: Lens' DeleteAlias Text
- daEntityId :: Lens' DeleteAlias Text
- daAlias :: Lens' DeleteAlias Text
- deleteAliasResponse :: Int -> DeleteAliasResponse
- data DeleteAliasResponse
- darsResponseStatus :: Lens' DeleteAliasResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteAlias |
Creates a value of DeleteAlias with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
daOrganizationId- The identifier for the organization under which the user exists.daEntityId- The identifier for the Amazon WorkMail entity to have the aliases removed.daAlias- The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).
data DeleteAlias Source #
See: deleteAlias smart constructor.
Instances
Request Lenses
daOrganizationId :: Lens' DeleteAlias Text Source #
The identifier for the organization under which the user exists.
daEntityId :: Lens' DeleteAlias Text Source #
The identifier for the Amazon WorkMail entity to have the aliases removed.
daAlias :: Lens' DeleteAlias Text Source #
The aliases to be removed from the user's set of aliases. Duplicate entries in the list are collapsed into single entries (the list is transformed into a set).
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteAliasResponse |
Creates a value of DeleteAliasResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
darsResponseStatus- -- | The response status code.
data DeleteAliasResponse Source #
See: deleteAliasResponse smart constructor.
Instances
Response Lenses
darsResponseStatus :: Lens' DeleteAliasResponse Int Source #
- - | The response status code.