Module Smaws_Client_WorkSpaces.UpdateConnectionAliasPermission

Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

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 | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_connection_alias_permission_request -> (Types.update_connection_alias_permission_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 | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_connection_alias_permission_request -> (Types.update_connection_alias_permission_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 | `ResourceLimitExceededException of Types.resource_limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result