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)


5370
5371
5372
5373
5374
5375
5376
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5370

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)


5370
5371
5372
5373
5374
5375
5376
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5370

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)


5370
5371
5372
5373
5374
5375
5376
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 5370

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