:doc:`FSx <../../fsx>` / Client / detach_and_delete_s3_access_point

*********************************
detach_and_delete_s3_access_point
*********************************



.. py:method:: FSx.Client.detach_and_delete_s3_access_point(**kwargs)

  

  Detaches an S3 access point from an Amazon FSx volume and deletes the S3 access point.

   

  The requester requires the following permission to perform this action:

   

  
  * ``fsx:DetachAndDeleteS3AccessPoint``
   
  * ``s3:DeleteAccessPoint``
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DetachAndDeleteS3AccessPoint>`_  


  **Request Syntax**
  ::

    response = client.detach_and_delete_s3_access_point(
        ClientRequestToken='string',
        Name='string'
    )
    
  :type ClientRequestToken: string
  :param ClientRequestToken: 

    (Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

    This field is autopopulated if not provided.

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the S3 access point attachment that you want to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Lifecycle': 'AVAILABLE'|'CREATING'|'DELETING'|'UPDATING'|'FAILED'|'MISCONFIGURED',
          'Name': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Lifecycle** *(string) --* 

        The lifecycle status of the S3 access point attachment.

        
      

      - **Name** *(string) --* 

        The name of the S3 access point attachment being deleted.

        
  
  **Exceptions**
  
  *   :py:class:`FSx.Client.exceptions.BadRequest`

  
  *   :py:class:`FSx.Client.exceptions.IncompatibleParameterError`

  
  *   :py:class:`FSx.Client.exceptions.InternalServerError`

  
  *   :py:class:`FSx.Client.exceptions.UnsupportedOperation`

  
  *   :py:class:`FSx.Client.exceptions.S3AccessPointAttachmentNotFound`

  