disassociate_connection_alias
(**kwargs)¶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.
Note
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_connection_alias(
AliasId='string'
)
[REQUIRED]
The identifier of the connection alias to disassociate.
{}
Response Structure
Exceptions
WorkSpaces.Client.exceptions.AccessDeniedException
WorkSpaces.Client.exceptions.ResourceNotFoundException
WorkSpaces.Client.exceptions.InvalidParameterValuesException
WorkSpaces.Client.exceptions.InvalidResourceStateException
WorkSpaces.Client.exceptions.OperationNotSupportedException