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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


5395
5396
5397
5398
5399
5400
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 5395

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)


5395
5396
5397
5398
5399
5400
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 5395

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