dynamodb_delete_resource_policy: Deletes the resource-based policy attached to the resource,...

View source: R/dynamodb_operations.R

dynamodb_delete_resource_policyR Documentation

Deletes the resource-based policy attached to the resource, which can be a table or stream

Description

Deletes the resource-based policy attached to the resource, which can be a table or stream.

See https://www.paws-r-sdk.com/docs/dynamodb_delete_resource_policy/ for full documentation.

Usage

dynamodb_delete_resource_policy(ResourceArn, ExpectedRevisionId = NULL)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed. The resources you can specify include tables and streams. If you remove the policy of a table, it will also remove the permissions for the table's indexes defined in that policy document. This is because index permissions are defined in the table's policy.

ExpectedRevisionId

A string value that you can use to conditionally delete your policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, the request will fail and return a PolicyNotFoundException.


paws.database documentation built on Sept. 12, 2024, 6:37 a.m.