Smaws_Client_WorkSpaces.UpdateConnectionAliasPermissionShares 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.
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
| `ResourceLimitExceededException of Types.resource_limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval 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.resultval 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