GlobalAccelerator / Client / delete_cross_account_attachment

delete_cross_account_attachment#

GlobalAccelerator.Client.delete_cross_account_attachment(**kwargs)#

Delete 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.

See also: AWS API Documentation

Request Syntax

response = client.delete_cross_account_attachment(
    AttachmentArn='string'
)
Parameters:

AttachmentArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) for the cross-account attachment to delete.

Returns:

None

Exceptions

  • GlobalAccelerator.Client.exceptions.AttachmentNotFoundException

  • GlobalAccelerator.Client.exceptions.AccessDeniedException

  • GlobalAccelerator.Client.exceptions.InternalServiceErrorException

  • GlobalAccelerator.Client.exceptions.InvalidArgumentException

  • GlobalAccelerator.Client.exceptions.TransactionInProgressException