Module Smaws_Client_WorkSpaces.DeleteConnectionAlias

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAssociatedException of Types.resource_associated_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_connection_alias_request -> (Types.delete_connection_alias_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAssociatedException of Types.resource_associated_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_connection_alias_request -> (Types.delete_connection_alias_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `InvalidResourceStateException of Types.invalid_resource_state_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceAssociatedException of Types.resource_associated_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result