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 |
Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call
DescribeConnectionAliases
to make sure that the current state of the connection alias is
CREATED
.
Synopsis
- data DisassociateConnectionAlias = DisassociateConnectionAlias' {}
- newDisassociateConnectionAlias :: Text -> DisassociateConnectionAlias
- disassociateConnectionAlias_aliasId :: Lens' DisassociateConnectionAlias Text
- data DisassociateConnectionAliasResponse = DisassociateConnectionAliasResponse' {
- httpStatus :: Int
- newDisassociateConnectionAliasResponse :: Int -> DisassociateConnectionAliasResponse
- disassociateConnectionAliasResponse_httpStatus :: Lens' DisassociateConnectionAliasResponse Int
Creating a Request
data DisassociateConnectionAlias Source #
See: newDisassociateConnectionAlias
smart constructor.
Instances
newDisassociateConnectionAlias Source #
Create a value of DisassociateConnectionAlias
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:DisassociateConnectionAlias'
, disassociateConnectionAlias_aliasId
- The identifier of the connection alias to disassociate.
Request Lenses
disassociateConnectionAlias_aliasId :: Lens' DisassociateConnectionAlias Text Source #
The identifier of the connection alias to disassociate.
Destructuring the Response
data DisassociateConnectionAliasResponse Source #
See: newDisassociateConnectionAliasResponse
smart constructor.
DisassociateConnectionAliasResponse' | |
|
Instances
Eq DisassociateConnectionAliasResponse Source # | |
Read DisassociateConnectionAliasResponse Source # | |
Show DisassociateConnectionAliasResponse Source # | |
Generic DisassociateConnectionAliasResponse Source # | |
Defined in Amazonka.WorkSpaces.DisassociateConnectionAlias type Rep DisassociateConnectionAliasResponse :: Type -> Type # | |
NFData DisassociateConnectionAliasResponse Source # | |
Defined in Amazonka.WorkSpaces.DisassociateConnectionAlias rnf :: DisassociateConnectionAliasResponse -> () # | |
type Rep DisassociateConnectionAliasResponse Source # | |
Defined in Amazonka.WorkSpaces.DisassociateConnectionAlias type Rep DisassociateConnectionAliasResponse = D1 ('MetaData "DisassociateConnectionAliasResponse" "Amazonka.WorkSpaces.DisassociateConnectionAlias" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "DisassociateConnectionAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateConnectionAliasResponse Source #
Create a value of DisassociateConnectionAliasResponse
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:DisassociateConnectionAliasResponse'
, disassociateConnectionAliasResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateConnectionAliasResponse_httpStatus :: Lens' DisassociateConnectionAliasResponse Int Source #
The response's http status code.