Class: Aws::CloudWatchRUM::Types::DeleteResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The app monitor that you want to remove the resource policy from.

Returns:

  • (String)


771
772
773
774
775
776
# File 'gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/types.rb', line 771

class DeleteResourcePolicyRequest < Struct.new(
  :name,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_revision_idString

Specifies a specific policy revision to delete. Provide a PolicyRevisionId to ensure an atomic delete operation. If the revision ID that you provide doesn't match the latest policy revision ID, the request will be rejected with an InvalidPolicyRevisionIdException error.

Returns:

  • (String)


771
772
773
774
775
776
# File 'gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/types.rb', line 771

class DeleteResourcePolicyRequest < Struct.new(
  :name,
  :policy_revision_id)
  SENSITIVE = []
  include Aws::Structure
end