Skip to content

Delete Access Grants Instance

s3control_delete_access_grants_instance R Documentation

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 ID of the Amazon Web Services account that is making this request.

Value

An empty list.

Request syntax

svc$delete_access_grants_instance(
  AccountId = "string"
)