Class: Aws::LexModelsV2::Types::DeleteResourcePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expected_revision_idString

The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception

If you don't specify a revision ID, Amazon Lex will delete the current policy.

Returns:

  • (String)


5322
5323
5324
5325
5326
5327
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5322

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

#resource_arnString

The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.

Returns:

  • (String)


5322
5323
5324
5325
5326
5327
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5322

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