Class: Aws::LexModelsV2::Types::DeleteResourcePolicyStatementRequest

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 of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.

If you don't specify a revision, Amazon Lex removes the current contents of the statement.

Returns:

  • (String)


5562
5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5562

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

#resource_arnString

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

Returns:

  • (String)


5562
5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5562

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

#statement_idString

The name of the statement (SID) to delete from the policy.

Returns:

  • (String)


5562
5563
5564
5565
5566
5567
5568
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5562

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