Smaws_Client_GlobalAccelerator.UpdateCrossAccountAttachmentUpdate a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.
For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AttachmentNotFoundException of Types.attachment_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of Types.transaction_in_progress_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_cross_account_attachment_request ->
(Types.update_cross_account_attachment_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AttachmentNotFoundException of Types.attachment_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_cross_account_attachment_request ->
(Types.update_cross_account_attachment_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AttachmentNotFoundException of Types.attachment_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result