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 Amazon Web Services account ID of the S3 Access Grants instance.
AccessGrantId (string) –
[REQUIRED]
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
- Returns:
None