Skip to content

Deletes your S3 Access Grants instance

Description

Deletes your S3 Access Grants instance. You must first delete the access grants and locations before S3 Access Grants can delete the instance. See delete_access_grant and delete_access_grants_location. 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 associate_access_grants_identity_center and dissociate_access_grants_identity_center.

Permissions

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

Usage

s3control_delete_access_grants_instance(AccountId)

Arguments

  • AccountId

    [required] The Amazon Web Services account ID of the S3 Access Grants instance.

Value

An empty list.

Request syntax

svc$delete_access_grants_instance(
  AccountId = "string"
)