Class: Aws::DynamoDB::Types::DeleteResourcePolicyInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDB::Types::DeleteResourcePolicyInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dynamodb/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#expected_revision_id ⇒ String
A string value that you can use to conditionally delete your policy.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be removed.
Instance Attribute Details
#expected_revision_id ⇒ String
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`.
2580 2581 2582 2583 2584 2585 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 2580 class DeleteResourcePolicyInput < Struct.new( :resource_arn, :expected_revision_id) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
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.
2580 2581 2582 2583 2584 2585 |
# File 'lib/aws-sdk-dynamodb/types.rb', line 2580 class DeleteResourcePolicyInput < Struct.new( :resource_arn, :expected_revision_id) SENSITIVE = [] include Aws::Structure end |