S3Control / Client / delete_access_grant

delete_access_grant#

S3Control.Client.delete_access_grant(**kwargs)#

Deletes the access grant from the S3 Access Grants instance. You cannot undo an access grant deletion and the grantee will no longer have access to the S3 data.

Permissions

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

See also: AWS API Documentation

Request Syntax

response = client.delete_access_grant(
    AccountId='string',
    AccessGrantId='string'
)
Parameters:
  • AccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that is making this request.

  • AccessGrantId (string) –

    [REQUIRED]

    The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.

Returns:

None