FSx / Client / detach_and_delete_s3_access_point

detach_and_delete_s3_access_point

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

Request Syntax

response = client.detach_and_delete_s3_access_point(
    ClientRequestToken='string',
    Name='string'
)
Parameters:
  • ClientRequestToken (string) –

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

  • Name (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{
    'Lifecycle': 'AVAILABLE'|'CREATING'|'DELETING'|'UPDATING'|'FAILED',
    '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