:doc:`GlobalAccelerator <../../globalaccelerator>` / Client / delete_cross_account_attachment

*******************************
delete_cross_account_attachment
*******************************



.. py:method:: 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 <https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html>`__ in the *Global Accelerator Developer Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCrossAccountAttachment>`_  


  **Request Syntax**
  ::

    response = client.delete_cross_account_attachment(
        AttachmentArn='string'
    )
    
  :type AttachmentArn: string
  :param AttachmentArn: **[REQUIRED]** 

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

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`GlobalAccelerator.Client.exceptions.AttachmentNotFoundException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.InternalServiceErrorException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.InvalidArgumentException`

  
  *   :py:class:`GlobalAccelerator.Client.exceptions.TransactionInProgressException`

  