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

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 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)


5443
5444
5445
5446
5447
5448
5449
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 5443

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)


5443
5444
5445
5446
5447
5448
5449
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 5443

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)


5443
5444
5445
5446
5447
5448
5449
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 5443

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