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.

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