S3Control / Client / delete_public_access_block

delete_public_access_block

S3Control.Client.delete_public_access_block(**kwargs)

Note

This operation is not supported by directory buckets.

Removes the PublicAccessBlock configuration for an Amazon Web Services account. For more information, see Using Amazon S3 block public access.

Related actions include:

Warning

You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt, containing two spaces after my, you must URL encode this value to my%20%20file.txt.

See also: AWS API Documentation

Request Syntax

response = client.delete_public_access_block(
    AccountId='string'
)
Parameters:

AccountId (string) –

[REQUIRED]

The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to remove.

Returns:

None