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_tokenString

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)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#confidence_thresholdFloat

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

Returns:

  • (Float)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#expected_aggregated_findings_resultString

The updated expected result of the Automated Reasoning check.

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#guard_contentString

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

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#kms_key_arnString

The KMS key ARN for encrypting the test at rest. If not provided, the key will not be updated. Use DISCARD to remove the key.

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#last_updated_atTime

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

Returns:

  • (Time)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#policy_arnString

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

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#query_contentString

The updated input query or prompt that generated the content.

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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

#test_case_idString

The unique identifier of the test to update.

Returns:

  • (String)


12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 12265

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