S3Control / Client / delete_access_grants_instance
delete_access_grants_instance¶
- S3Control.Client.delete_access_grants_instance(**kwargs)¶
Deletes your S3 Access Grants instance. You must first delete the access grants and locations before S3 Access Grants can delete the instance. See DeleteAccessGrant and DeleteAccessGrantsLocation. If you have associated an IAM Identity Center instance with your S3 Access Grants instance, you must first dissassociate the Identity Center instance from the S3 Access Grants instance before you can delete the S3 Access Grants instance. See AssociateAccessGrantsIdentityCenter and DissociateAccessGrantsIdentityCenter.
Permissions
You must have the
s3:DeleteAccessGrantsInstance
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 aftermy
, you must URL encode this value tomy%20%20file.txt
.See also: AWS API Documentation
Request Syntax
response = client.delete_access_grants_instance( AccountId='string' )
- Parameters:
AccountId (string) –
[REQUIRED]
The Amazon Web Services account ID of the S3 Access Grants instance.
- Returns:
None