Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_access_point_policy_status

get_access_point_policy_status(**kwargs)

Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 access points in the Amazon S3 User Guide .

See also: AWS API Documentation

Request Syntax

response = client.get_access_point_policy_status(
    AccountId='string',
    Name='string'
)
Parameters
  • AccountId (string) --

    [REQUIRED]

    The account ID for the account that owns the specified access point.

  • Name (string) --

    [REQUIRED]

    The name of the access point whose policy status you want to retrieve.

Return type

dict

Returns

Response Syntax

{
    'PolicyStatus': {
        'IsPublic': True|False
    }
}

Response Structure

  • (dict) --

    • PolicyStatus (dict) --

      Indicates the current policy status of the specified access point.

      • IsPublic (boolean) --