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.

See also: AWS API Documentation

Request Syntax

response = client.delete_access_grants_instance(
    AccountId='string'
)
Parameters:

AccountId (string) –

[REQUIRED]

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

Returns:

None