Class: Aws::Bedrock::Types::UpdateAutomatedReasoningPolicyTestCaseRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:guard_content, :query_content]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_token ⇒ String

A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#confidence_threshold ⇒ Float

The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.

Returns:

  • (Float)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#expected_aggregated_findings_result ⇒ String

The updated expected result of the Automated Reasoning check.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#guard_content ⇒ String

The updated content to be validated by the Automated Reasoning policy.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#last_updated_at ⇒ Time

The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.

Returns:

  • (Time)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#policy_arn ⇒ String

The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#query_content ⇒ String

The updated input query or prompt that generated the content.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end

#test_case_id ⇒ String

The unique identifier of the test to update.

Returns:

  • (String)


15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 15696

class UpdateAutomatedReasoningPolicyTestCaseRequest < Struct.new(
  :policy_arn,
  :test_case_id,
  :guard_content,
  :query_content,
  :last_updated_at,
  :expected_aggregated_findings_result,
  :confidence_threshold,
  :client_request_token)
  SENSITIVE = [:guard_content, :query_content]
  include Aws::Structure
end