Class: Aws::LambdaWeb::Types::DeleteResourcePolicyRequest

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

Overview

The request to delete a resource-based policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arn ⇒ String

The Amazon Resource Name (ARN) of the web function.

Returns:

  • (String)


607
608
609
610
611
612
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 607

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

#revision_id ⇒ String

The revision ID of the policy. Use this to prevent deleting a policy that has been updated since you last retrieved it. If you don't specify a value, the policy is deleted regardless of its current revision.

Returns:

  • (String)


607
608
609
610
611
612
# File 'gems/aws-sdk-lambdaweb/lib/aws-sdk-lambdaweb/types.rb', line 607

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