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 |
Remove one or more specified aliases from a set of aliases for a given user.
Synopsis
- data DeleteAlias = DeleteAlias' {}
- newDeleteAlias :: Text -> Text -> Text -> DeleteAlias
- deleteAlias_organizationId :: Lens' DeleteAlias Text
- deleteAlias_entityId :: Lens' DeleteAlias Text
- deleteAlias_alias :: Lens' DeleteAlias Text
- data DeleteAliasResponse = DeleteAliasResponse' {
- httpStatus :: Int
- newDeleteAliasResponse :: Int -> DeleteAliasResponse
- deleteAliasResponse_httpStatus :: Lens' DeleteAliasResponse Int
Creating a Request
data DeleteAlias Source #
See: newDeleteAlias
smart constructor.
DeleteAlias' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteAlias |
Create a value of DeleteAlias
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:DeleteAlias'
, deleteAlias_organizationId
- The identifier for the organization under which the user exists.
$sel:entityId:DeleteAlias'
, deleteAlias_entityId
- The identifier for the member (user or group) from which to have the
aliases removed.
$sel:alias:DeleteAlias'
, deleteAlias_alias
- 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).
Request Lenses
deleteAlias_organizationId :: Lens' DeleteAlias Text Source #
The identifier for the organization under which the user exists.
deleteAlias_entityId :: Lens' DeleteAlias Text Source #
The identifier for the member (user or group) from which to have the aliases removed.
deleteAlias_alias :: 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
data DeleteAliasResponse Source #
See: newDeleteAliasResponse
smart constructor.
DeleteAliasResponse' | |
|
Instances
newDeleteAliasResponse Source #
Create a value of DeleteAliasResponse
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:DeleteAliasResponse'
, deleteAliasResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAliasResponse_httpStatus :: Lens' DeleteAliasResponse Int Source #
The response's http status code.