Module Smaws_Client_WorkSpaces.AssociateConnectionAlias

Associates the specified connection alias with the specified directory to enable cross-Region redirection. 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.

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.associate_connection_alias_request -> (Types.associate_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.associate_connection_alias_request -> (Types.associate_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