deleteAccessGrantsInstance
inline suspend fun S3ControlClient.deleteAccessGrantsInstance(crossinline block: DeleteAccessGrantsInstanceRequest.Builder.() -> Unit): DeleteAccessGrantsInstanceResponse
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.