S3Control / Client / delete_access_grants_instance_resource_policy

delete_access_grants_instance_resource_policy

S3Control.Client.delete_access_grants_instance_resource_policy(**kwargs)

Deletes the resource policy of the S3 Access Grants instance. The resource policy is used to manage cross-account access to your S3 Access Grants instance. By deleting the resource policy, you delete any cross-account permissions to your S3 Access Grants instance.

Permissions

You must have the s3:DeleteAccessGrantsInstanceResourcePolicy permission to use this operation.

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_access_grants_instance_resource_policy(
    AccountId='string'
)
Parameters:

AccountId (string) –

[REQUIRED]

The Amazon Web Services account ID of the S3 Access Grants instance.

Returns:

None