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 |
Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
__If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues.__ For more information, see Security Considerations if You Stop Using Cross-Region Redirection.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
Synopsis
- data DeleteConnectionAlias = DeleteConnectionAlias' {}
- newDeleteConnectionAlias :: Text -> DeleteConnectionAlias
- deleteConnectionAlias_aliasId :: Lens' DeleteConnectionAlias Text
- data DeleteConnectionAliasResponse = DeleteConnectionAliasResponse' {
- httpStatus :: Int
- newDeleteConnectionAliasResponse :: Int -> DeleteConnectionAliasResponse
- deleteConnectionAliasResponse_httpStatus :: Lens' DeleteConnectionAliasResponse Int
Creating a Request
data DeleteConnectionAlias Source #
See: newDeleteConnectionAlias
smart constructor.
Instances
newDeleteConnectionAlias Source #
Create a value of DeleteConnectionAlias
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:aliasId:DeleteConnectionAlias'
, deleteConnectionAlias_aliasId
- The identifier of the connection alias to delete.
Request Lenses
deleteConnectionAlias_aliasId :: Lens' DeleteConnectionAlias Text Source #
The identifier of the connection alias to delete.
Destructuring the Response
data DeleteConnectionAliasResponse Source #
See: newDeleteConnectionAliasResponse
smart constructor.
DeleteConnectionAliasResponse' | |
|
Instances
newDeleteConnectionAliasResponse Source #
Create a value of DeleteConnectionAliasResponse
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:DeleteConnectionAliasResponse'
, deleteConnectionAliasResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectionAliasResponse_httpStatus :: Lens' DeleteConnectionAliasResponse Int Source #
The response's http status code.