Smaws_Client_GlobalAccelerator.DeleteCrossAccountAttachmentDelete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. 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
| `TransactionInProgressException of Types.transaction_in_progress_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_cross_account_attachment_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> 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
| `TransactionInProgressException of
Types.transaction_in_progress_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_cross_account_attachment_request ->
(Smaws_Lib.Smithy_api.Types.unit_ 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
| `TransactionInProgressException of
Types.transaction_in_progress_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result