Module: Aws::Bedrock::Types

Defined in:
lib/aws-sdk-bedrock/types.rb

Defined Under Namespace

Classes: AccessDeniedException, AccountEnforcedGuardrailInferenceInputConfiguration, AccountEnforcedGuardrailOutputConfiguration, AgreementAvailability, AutomatedEvaluationConfig, AutomatedEvaluationCustomMetricConfig, AutomatedEvaluationCustomMetricSource, AutomatedReasoningCheckFinding, AutomatedReasoningCheckImpossibleFinding, AutomatedReasoningCheckInputTextReference, AutomatedReasoningCheckInvalidFinding, AutomatedReasoningCheckLogicWarning, AutomatedReasoningCheckNoTranslationsFinding, AutomatedReasoningCheckRule, AutomatedReasoningCheckSatisfiableFinding, AutomatedReasoningCheckScenario, AutomatedReasoningCheckTooComplexFinding, AutomatedReasoningCheckTranslation, AutomatedReasoningCheckTranslationAmbiguousFinding, AutomatedReasoningCheckTranslationOption, AutomatedReasoningCheckValidFinding, AutomatedReasoningLogicStatement, AutomatedReasoningPolicyAddRuleAnnotation, AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation, AutomatedReasoningPolicyAddRuleMutation, AutomatedReasoningPolicyAddTypeAnnotation, AutomatedReasoningPolicyAddTypeMutation, AutomatedReasoningPolicyAddTypeValue, AutomatedReasoningPolicyAddVariableAnnotation, AutomatedReasoningPolicyAddVariableMutation, AutomatedReasoningPolicyAnnotation, AutomatedReasoningPolicyBuildLog, AutomatedReasoningPolicyBuildLogEntry, AutomatedReasoningPolicyBuildResultAssets, AutomatedReasoningPolicyBuildStep, AutomatedReasoningPolicyBuildStepContext, AutomatedReasoningPolicyBuildStepMessage, AutomatedReasoningPolicyBuildWorkflowDocument, AutomatedReasoningPolicyBuildWorkflowRepairContent, AutomatedReasoningPolicyBuildWorkflowSource, AutomatedReasoningPolicyBuildWorkflowSummary, AutomatedReasoningPolicyDefinition, AutomatedReasoningPolicyDefinitionElement, AutomatedReasoningPolicyDefinitionQualityReport, AutomatedReasoningPolicyDefinitionRule, AutomatedReasoningPolicyDefinitionType, AutomatedReasoningPolicyDefinitionTypeValue, AutomatedReasoningPolicyDefinitionTypeValuePair, AutomatedReasoningPolicyDefinitionVariable, AutomatedReasoningPolicyDeleteRuleAnnotation, AutomatedReasoningPolicyDeleteRuleMutation, AutomatedReasoningPolicyDeleteTypeAnnotation, AutomatedReasoningPolicyDeleteTypeMutation, AutomatedReasoningPolicyDeleteTypeValue, AutomatedReasoningPolicyDeleteVariableAnnotation, AutomatedReasoningPolicyDeleteVariableMutation, AutomatedReasoningPolicyDisjointRuleSet, AutomatedReasoningPolicyGeneratedTestCase, AutomatedReasoningPolicyGeneratedTestCases, AutomatedReasoningPolicyIngestContentAnnotation, AutomatedReasoningPolicyMutation, AutomatedReasoningPolicyPlanning, AutomatedReasoningPolicyScenario, AutomatedReasoningPolicySummary, AutomatedReasoningPolicyTestCase, AutomatedReasoningPolicyTestResult, AutomatedReasoningPolicyTypeValueAnnotation, AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation, AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation, AutomatedReasoningPolicyUpdateRuleAnnotation, AutomatedReasoningPolicyUpdateRuleMutation, AutomatedReasoningPolicyUpdateTypeAnnotation, AutomatedReasoningPolicyUpdateTypeMutation, AutomatedReasoningPolicyUpdateTypeValue, AutomatedReasoningPolicyUpdateVariableAnnotation, AutomatedReasoningPolicyUpdateVariableMutation, AutomatedReasoningPolicyWorkflowTypeContent, BatchDeleteEvaluationJobError, BatchDeleteEvaluationJobItem, BatchDeleteEvaluationJobRequest, BatchDeleteEvaluationJobResponse, BedrockEvaluatorModel, ByteContentDoc, CancelAutomatedReasoningPolicyBuildWorkflowRequest, CancelAutomatedReasoningPolicyBuildWorkflowResponse, CloudWatchConfig, ConflictException, CreateAutomatedReasoningPolicyRequest, CreateAutomatedReasoningPolicyResponse, CreateAutomatedReasoningPolicyTestCaseRequest, CreateAutomatedReasoningPolicyTestCaseResponse, CreateAutomatedReasoningPolicyVersionRequest, CreateAutomatedReasoningPolicyVersionResponse, CreateCustomModelDeploymentRequest, CreateCustomModelDeploymentResponse, CreateCustomModelRequest, CreateCustomModelResponse, CreateEvaluationJobRequest, CreateEvaluationJobResponse, CreateFoundationModelAgreementRequest, CreateFoundationModelAgreementResponse, CreateGuardrailRequest, CreateGuardrailResponse, CreateGuardrailVersionRequest, CreateGuardrailVersionResponse, CreateInferenceProfileRequest, CreateInferenceProfileResponse, CreateMarketplaceModelEndpointRequest, CreateMarketplaceModelEndpointResponse, CreateModelCopyJobRequest, CreateModelCopyJobResponse, CreateModelCustomizationJobRequest, CreateModelCustomizationJobResponse, CreateModelImportJobRequest, CreateModelImportJobResponse, CreateModelInvocationJobRequest, CreateModelInvocationJobResponse, CreatePromptRouterRequest, CreatePromptRouterResponse, CreateProvisionedModelThroughputRequest, CreateProvisionedModelThroughputResponse, CustomMetricBedrockEvaluatorModel, CustomMetricDefinition, CustomMetricEvaluatorModelConfig, CustomModelDeploymentSummary, CustomModelSummary, CustomModelUnits, CustomizationConfig, DataProcessingDetails, DeleteAutomatedReasoningPolicyBuildWorkflowRequest, DeleteAutomatedReasoningPolicyBuildWorkflowResponse, DeleteAutomatedReasoningPolicyRequest, DeleteAutomatedReasoningPolicyResponse, DeleteAutomatedReasoningPolicyTestCaseRequest, DeleteAutomatedReasoningPolicyTestCaseResponse, DeleteCustomModelDeploymentRequest, DeleteCustomModelDeploymentResponse, DeleteCustomModelRequest, DeleteCustomModelResponse, DeleteEnforcedGuardrailConfigurationRequest, DeleteEnforcedGuardrailConfigurationResponse, DeleteFoundationModelAgreementRequest, DeleteFoundationModelAgreementResponse, DeleteGuardrailRequest, DeleteGuardrailResponse, DeleteImportedModelRequest, DeleteImportedModelResponse, DeleteInferenceProfileRequest, DeleteInferenceProfileResponse, DeleteMarketplaceModelEndpointRequest, DeleteMarketplaceModelEndpointResponse, DeleteModelInvocationLoggingConfigurationRequest, DeleteModelInvocationLoggingConfigurationResponse, DeletePromptRouterRequest, DeletePromptRouterResponse, DeleteProvisionedModelThroughputRequest, DeleteProvisionedModelThroughputResponse, DeregisterMarketplaceModelEndpointRequest, DeregisterMarketplaceModelEndpointResponse, DimensionalPriceRate, DistillationConfig, EndpointConfig, EvaluationBedrockModel, EvaluationConfig, EvaluationDataset, EvaluationDatasetLocation, EvaluationDatasetMetricConfig, EvaluationInferenceConfig, EvaluationInferenceConfigSummary, EvaluationModelConfig, EvaluationModelConfigSummary, EvaluationOutputDataConfig, EvaluationPrecomputedInferenceSource, EvaluationPrecomputedRagSourceConfig, EvaluationPrecomputedRetrieveAndGenerateSourceConfig, EvaluationPrecomputedRetrieveSourceConfig, EvaluationRagConfigSummary, EvaluationSummary, EvaluatorModelConfig, ExportAutomatedReasoningPolicyVersionRequest, ExportAutomatedReasoningPolicyVersionResponse, ExternalSource, ExternalSourcesGenerationConfiguration, ExternalSourcesRetrieveAndGenerateConfiguration, FieldForReranking, FilterAttribute, FoundationModelDetails, FoundationModelLifecycle, FoundationModelSummary, GenerationConfiguration, GetAutomatedReasoningPolicyAnnotationsRequest, GetAutomatedReasoningPolicyAnnotationsResponse, GetAutomatedReasoningPolicyBuildWorkflowRequest, GetAutomatedReasoningPolicyBuildWorkflowResponse, GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest, GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse, GetAutomatedReasoningPolicyNextScenarioRequest, GetAutomatedReasoningPolicyNextScenarioResponse, GetAutomatedReasoningPolicyRequest, GetAutomatedReasoningPolicyResponse, GetAutomatedReasoningPolicyTestCaseRequest, GetAutomatedReasoningPolicyTestCaseResponse, GetAutomatedReasoningPolicyTestResultRequest, GetAutomatedReasoningPolicyTestResultResponse, GetCustomModelDeploymentRequest, GetCustomModelDeploymentResponse, GetCustomModelRequest, GetCustomModelResponse, GetEvaluationJobRequest, GetEvaluationJobResponse, GetFoundationModelAvailabilityRequest, GetFoundationModelAvailabilityResponse, GetFoundationModelRequest, GetFoundationModelResponse, GetGuardrailRequest, GetGuardrailResponse, GetImportedModelRequest, GetImportedModelResponse, GetInferenceProfileRequest, GetInferenceProfileResponse, GetMarketplaceModelEndpointRequest, GetMarketplaceModelEndpointResponse, GetModelCopyJobRequest, GetModelCopyJobResponse, GetModelCustomizationJobRequest, GetModelCustomizationJobResponse, GetModelImportJobRequest, GetModelImportJobResponse, GetModelInvocationJobRequest, GetModelInvocationJobResponse, GetModelInvocationLoggingConfigurationRequest, GetModelInvocationLoggingConfigurationResponse, GetPromptRouterRequest, GetPromptRouterResponse, GetProvisionedModelThroughputRequest, GetProvisionedModelThroughputResponse, GetUseCaseForModelAccessRequest, GetUseCaseForModelAccessResponse, GuardrailAutomatedReasoningPolicy, GuardrailAutomatedReasoningPolicyConfig, GuardrailConfiguration, GuardrailContentFilter, GuardrailContentFilterConfig, GuardrailContentFiltersTier, GuardrailContentFiltersTierConfig, GuardrailContentPolicy, GuardrailContentPolicyConfig, GuardrailContextualGroundingFilter, GuardrailContextualGroundingFilterConfig, GuardrailContextualGroundingPolicy, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailCrossRegionDetails, GuardrailManagedWords, GuardrailManagedWordsConfig, GuardrailPiiEntity, GuardrailPiiEntityConfig, GuardrailRegex, GuardrailRegexConfig, GuardrailSensitiveInformationPolicy, GuardrailSensitiveInformationPolicyConfig, GuardrailSummary, GuardrailTopic, GuardrailTopicConfig, GuardrailTopicPolicy, GuardrailTopicPolicyConfig, GuardrailTopicsTier, GuardrailTopicsTierConfig, GuardrailWord, GuardrailWordConfig, GuardrailWordPolicy, GuardrailWordPolicyConfig, HumanEvaluationConfig, HumanEvaluationCustomMetric, HumanWorkflowConfig, ImplicitFilterConfiguration, ImportedModelSummary, InferenceProfileModel, InferenceProfileModelSource, InferenceProfileSummary, InternalServerException, InvocationLogSource, InvocationLogsConfig, KbInferenceConfig, KnowledgeBaseConfig, KnowledgeBaseRetrievalConfiguration, KnowledgeBaseRetrieveAndGenerateConfiguration, KnowledgeBaseVectorSearchConfiguration, LegalTerm, ListAutomatedReasoningPoliciesRequest, ListAutomatedReasoningPoliciesResponse, ListAutomatedReasoningPolicyBuildWorkflowsRequest, ListAutomatedReasoningPolicyBuildWorkflowsResponse, ListAutomatedReasoningPolicyTestCasesRequest, ListAutomatedReasoningPolicyTestCasesResponse, ListAutomatedReasoningPolicyTestResultsRequest, ListAutomatedReasoningPolicyTestResultsResponse, ListCustomModelDeploymentsRequest, ListCustomModelDeploymentsResponse, ListCustomModelsRequest, ListCustomModelsResponse, ListEnforcedGuardrailsConfigurationRequest, ListEnforcedGuardrailsConfigurationResponse, ListEvaluationJobsRequest, ListEvaluationJobsResponse, ListFoundationModelAgreementOffersRequest, ListFoundationModelAgreementOffersResponse, ListFoundationModelsRequest, ListFoundationModelsResponse, ListGuardrailsRequest, ListGuardrailsResponse, ListImportedModelsRequest, ListImportedModelsResponse, ListInferenceProfilesRequest, ListInferenceProfilesResponse, ListMarketplaceModelEndpointsRequest, ListMarketplaceModelEndpointsResponse, ListModelCopyJobsRequest, ListModelCopyJobsResponse, ListModelCustomizationJobsRequest, ListModelCustomizationJobsResponse, ListModelImportJobsRequest, ListModelImportJobsResponse, ListModelInvocationJobsRequest, ListModelInvocationJobsResponse, ListPromptRoutersRequest, ListPromptRoutersResponse, ListProvisionedModelThroughputsRequest, ListProvisionedModelThroughputsResponse, ListTagsForResourceRequest, ListTagsForResourceResponse, LoggingConfig, MarketplaceModelEndpoint, MarketplaceModelEndpointSummary, MetadataAttributeSchema, MetadataConfigurationForReranking, ModelCopyJobSummary, ModelCustomizationJobSummary, ModelDataSource, ModelImportJobSummary, ModelInvocationJobInputDataConfig, ModelInvocationJobOutputDataConfig, ModelInvocationJobS3InputDataConfig, ModelInvocationJobS3OutputDataConfig, ModelInvocationJobSummary, Offer, OrchestrationConfiguration, OutputDataConfig, PerformanceConfiguration, PricingTerm, PromptRouterSummary, PromptRouterTargetModel, PromptTemplate, ProvisionedModelSummary, PutEnforcedGuardrailConfigurationRequest, PutEnforcedGuardrailConfigurationResponse, PutModelInvocationLoggingConfigurationRequest, PutModelInvocationLoggingConfigurationResponse, PutUseCaseForModelAccessRequest, PutUseCaseForModelAccessResponse, QueryTransformationConfiguration, RAGConfig, RatingScaleItem, RatingScaleItemValue, RegisterMarketplaceModelEndpointRequest, RegisterMarketplaceModelEndpointResponse, RequestMetadataBaseFilters, RequestMetadataFilters, RerankingMetadataSelectiveModeConfiguration, ResourceInUseException, ResourceNotFoundException, RetrievalFilter, RetrieveAndGenerateConfiguration, RetrieveConfig, RoutingCriteria, S3Config, S3DataSource, S3ObjectDoc, SageMakerEndpoint, ServiceQuotaExceededException, ServiceUnavailableException, StartAutomatedReasoningPolicyBuildWorkflowRequest, StartAutomatedReasoningPolicyBuildWorkflowResponse, StartAutomatedReasoningPolicyTestWorkflowRequest, StartAutomatedReasoningPolicyTestWorkflowResponse, StatusDetails, StopEvaluationJobRequest, StopEvaluationJobResponse, StopModelCustomizationJobRequest, StopModelCustomizationJobResponse, StopModelInvocationJobRequest, StopModelInvocationJobResponse, SupportTerm, Tag, TagResourceRequest, TagResourceResponse, TeacherModelConfig, TermDetails, TextInferenceConfig, ThrottlingException, TooManyTagsException, TrainingDataConfig, TrainingDetails, TrainingMetrics, UntagResourceRequest, UntagResourceResponse, UpdateAutomatedReasoningPolicyAnnotationsRequest, UpdateAutomatedReasoningPolicyAnnotationsResponse, UpdateAutomatedReasoningPolicyRequest, UpdateAutomatedReasoningPolicyResponse, UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse, UpdateGuardrailRequest, UpdateGuardrailResponse, UpdateMarketplaceModelEndpointRequest, UpdateMarketplaceModelEndpointResponse, UpdateProvisionedModelThroughputRequest, UpdateProvisionedModelThroughputResponse, ValidationDataConfig, ValidationDetails, ValidationException, Validator, ValidatorMetric, ValidityTerm, VectorSearchBedrockRerankingConfiguration, VectorSearchBedrockRerankingModelConfiguration, VectorSearchRerankingConfiguration, VpcConfig

Instance Attribute Summary collapse

Instance Attribute Details

#add_ruleTypes::AutomatedReasoningPolicyAddRuleMutation

A mutation to add a new rule to the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#add_rule_from_natural_languageTypes::AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation

An operation to add a new rule by converting natural language descriptions into formal logical expressions.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#add_typeTypes::AutomatedReasoningPolicyAddTypeMutation

A mutation to add a new custom type to the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#add_type_valueTypes::AutomatedReasoningPolicyAddTypeValue

An operation to add a new value to an existing custom type.



1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
# File 'lib/aws-sdk-bedrock/types.rb', line 1905

class AutomatedReasoningPolicyTypeValueAnnotation < Struct.new(
  :add_type_value,
  :update_type_value,
  :delete_type_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class UpdateTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class DeleteTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class Unknown < AutomatedReasoningPolicyTypeValueAnnotation; end
end

#add_variableTypes::AutomatedReasoningPolicyAddVariableMutation

A mutation to add a new variable to the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#and_allArray<Types::RetrievalFilter>

Knowledge base data sources are returned if their metadata attributes fulfill all the filter conditions inside this list.

Returns:



11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
# File 'lib/aws-sdk-bedrock/types.rb', line 11482

class RequestMetadataFilters < Struct.new(
  :equals,
  :not_equals,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:equals, :not_equals]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RequestMetadataFilters; end
  class NotEquals < RequestMetadataFilters; end
  class AndAll < RequestMetadataFilters; end
  class OrAll < RequestMetadataFilters; end
  class Unknown < RequestMetadataFilters; end
end

#automatedTypes::AutomatedEvaluationConfig

Contains the configuration details of an automated evaluation job that computes metrics.



4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
# File 'lib/aws-sdk-bedrock/types.rb', line 4395

class EvaluationConfig < Struct.new(
  :automated,
  :human,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Automated < EvaluationConfig; end
  class Human < EvaluationConfig; end
  class Unknown < EvaluationConfig; end
end

#bedrock_evaluator_modelsArray<Types::BedrockEvaluatorModel>

The evaluator model used in knowledge base evaluation job or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.

Returns:



4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
# File 'lib/aws-sdk-bedrock/types.rb', line 4846

class EvaluatorModelConfig < Struct.new(
  :bedrock_evaluator_models,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockEvaluatorModels < EvaluatorModelConfig; end
  class Unknown < EvaluatorModelConfig; end
end

#bedrock_modelTypes::EvaluationBedrockModel

Defines the Amazon Bedrock model or inference profile and inference parameters you want used.



4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
# File 'lib/aws-sdk-bedrock/types.rb', line 4593

class EvaluationModelConfig < Struct.new(
  :bedrock_model,
  :precomputed_inference_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModel < EvaluationModelConfig; end
  class PrecomputedInferenceSource < EvaluationModelConfig; end
  class Unknown < EvaluationModelConfig; end
end

#build_logTypes::AutomatedReasoningPolicyBuildLog

The complete build log containing detailed information about each step in the policy generation process.



945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
# File 'lib/aws-sdk-bedrock/types.rb', line 945

class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
  :policy_definition,
  :quality_report,
  :build_log,
  :generated_test_cases,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinition < AutomatedReasoningPolicyBuildResultAssets; end
  class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
  class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
  class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
end

#copy_fromString

The ARN of the model or system-defined inference profile that is the source for the inference profile.

Returns:

  • (String)


8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
# File 'lib/aws-sdk-bedrock/types.rb', line 8715

class InferenceProfileModelSource < Struct.new(
  :copy_from,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CopyFrom < InferenceProfileModelSource; end
  class Unknown < InferenceProfileModelSource; end
end

#custom_metric_definitionTypes::CustomMetricDefinition

The definition of a custom metric for use in an Amazon Bedrock evaluation job.



203
204
205
206
207
208
209
210
211
212
# File 'lib/aws-sdk-bedrock/types.rb', line 203

class AutomatedEvaluationCustomMetricSource < Struct.new(
  :custom_metric_definition,
  :unknown)
  SENSITIVE = [:custom_metric_definition]
  include Aws::Structure
  include Aws::Structure::Union

  class CustomMetricDefinition < AutomatedEvaluationCustomMetricSource; end
  class Unknown < AutomatedEvaluationCustomMetricSource; end
end

#delete_ruleTypes::AutomatedReasoningPolicyDeleteRuleMutation

A mutation to remove a rule from the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#delete_typeTypes::AutomatedReasoningPolicyDeleteTypeMutation

A mutation to remove a custom type from the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#delete_type_valueTypes::AutomatedReasoningPolicyDeleteTypeValue

An operation to remove a value from an existing custom type.



1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
# File 'lib/aws-sdk-bedrock/types.rb', line 1905

class AutomatedReasoningPolicyTypeValueAnnotation < Struct.new(
  :add_type_value,
  :update_type_value,
  :delete_type_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class UpdateTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class DeleteTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class Unknown < AutomatedReasoningPolicyTypeValueAnnotation; end
end

#delete_variableTypes::AutomatedReasoningPolicyDeleteVariableMutation

A mutation to remove a variable from the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#distillation_configTypes::DistillationConfig

The Distillation configuration for the custom model.



3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
# File 'lib/aws-sdk-bedrock/types.rb', line 3953

class CustomizationConfig < Struct.new(
  :distillation_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class DistillationConfig < CustomizationConfig; end
  class Unknown < CustomizationConfig; end
end

#documentsArray<Types::AutomatedReasoningPolicyBuildWorkflowDocument>

The list of documents to be processed in a document ingestion workflow.



2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
# File 'lib/aws-sdk-bedrock/types.rb', line 2141

class AutomatedReasoningPolicyWorkflowTypeContent < Struct.new(
  :documents,
  :policy_repair_assets,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Documents < AutomatedReasoningPolicyWorkflowTypeContent; end
  class PolicyRepairAssets < AutomatedReasoningPolicyWorkflowTypeContent; end
  class Unknown < AutomatedReasoningPolicyWorkflowTypeContent; end
end

#equalsTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value matches the value in this object.

The following example would return data sources with an animal attribute whose value is ‘cat’: ‘“equals”: { “key”: “animal”, “value”: “cat” }`



11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
# File 'lib/aws-sdk-bedrock/types.rb', line 11482

class RequestMetadataFilters < Struct.new(
  :equals,
  :not_equals,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:equals, :not_equals]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RequestMetadataFilters; end
  class NotEquals < RequestMetadataFilters; end
  class AndAll < RequestMetadataFilters; end
  class OrAll < RequestMetadataFilters; end
  class Unknown < RequestMetadataFilters; end
end

#fields_to_excludeArray<Types::FieldForReranking>

A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.

Returns:



11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
# File 'lib/aws-sdk-bedrock/types.rb', line 11523

class RerankingMetadataSelectiveModeConfiguration < Struct.new(
  :fields_to_include,
  :fields_to_exclude,
  :unknown)
  SENSITIVE = [:fields_to_include, :fields_to_exclude]
  include Aws::Structure
  include Aws::Structure::Union

  class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration; end
  class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration; end
  class Unknown < RerankingMetadataSelectiveModeConfiguration; end
end

#fields_to_includeArray<Types::FieldForReranking>

A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.

Returns:



11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
# File 'lib/aws-sdk-bedrock/types.rb', line 11523

class RerankingMetadataSelectiveModeConfiguration < Struct.new(
  :fields_to_include,
  :fields_to_exclude,
  :unknown)
  SENSITIVE = [:fields_to_include, :fields_to_exclude]
  include Aws::Structure
  include Aws::Structure::Union

  class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration; end
  class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration; end
  class Unknown < RerankingMetadataSelectiveModeConfiguration; end
end

#float_valueFloat

A floating point number representing the value for a rating in a custom metric rating scale.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
# File 'lib/aws-sdk-bedrock/types.rb', line 11391

class RatingScaleItemValue < Struct.new(
  :string_value,
  :float_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < RatingScaleItemValue; end
  class FloatValue < RatingScaleItemValue; end
  class Unknown < RatingScaleItemValue; end
end

#generated_test_casesTypes::AutomatedReasoningPolicyGeneratedTestCases

A comprehensive test suite generated by the build workflow, providing validation capabilities for automated reasoning policies.



945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
# File 'lib/aws-sdk-bedrock/types.rb', line 945

class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
  :policy_definition,
  :quality_report,
  :build_log,
  :generated_test_cases,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinition < AutomatedReasoningPolicyBuildResultAssets; end
  class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
  class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
  class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
end

#greater_thanTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than the value in this object.

The following example would return data sources with an year attribute whose value is greater than ‘1989’: ‘“greaterThan”: { “key”: “year”, “value”: 1989 }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#greater_than_or_equalsTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is greater than or equal to the value in this object.

The following example would return data sources with an year attribute whose value is greater than or equal to ‘1989’: ‘“greaterThanOrEquals”: { “key”: “year”, “value”: 1989 }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#humanTypes::HumanEvaluationConfig

Contains the configuration details of an evaluation job that uses human workers.



4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
# File 'lib/aws-sdk-bedrock/types.rb', line 4395

class EvaluationConfig < Struct.new(
  :automated,
  :human,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Automated < EvaluationConfig; end
  class Human < EvaluationConfig; end
  class Unknown < EvaluationConfig; end
end

#impossibleTypes::AutomatedReasoningCheckImpossibleFinding

Indicates that Automated Reasoning cannot make a statement about the claims. This can happen if the premises are logically incorrect, or if there is a conflict within the Automated Reasoning policy itself.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#inTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is in the list specified in the value in this object.

The following example would return data sources with an animal attribute that is either ‘cat’ or ‘dog’: ‘“in”: { “key”: “animal”, “value”: [“cat”, “dog”] }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#ingest_contentTypes::AutomatedReasoningPolicyIngestContentAnnotation

An operation to process and incorporate new content into the policy, extracting additional rules and concepts.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#invalidTypes::AutomatedReasoningCheckInvalidFinding

Indicates that the claims are false. The claims are not implied by the premises and Automated Reasoning policy. Furthermore, there exist different claims that are consistent with the premises and Automated Reasoning policy.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#knowledge_base_configTypes::KnowledgeBaseConfig

Contains configuration details for knowledge base retrieval and response generation.



11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
# File 'lib/aws-sdk-bedrock/types.rb', line 11339

class RAGConfig < Struct.new(
  :knowledge_base_config,
  :precomputed_rag_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KnowledgeBaseConfig < RAGConfig; end
  class PrecomputedRagSourceConfig < RAGConfig; end
  class Unknown < RAGConfig; end
end

#less_thanTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than the value in this object.

The following example would return data sources with an year attribute whose value is less than to ‘1989’: ‘“lessThan”: { “key”: “year”, “value”: 1989 }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#less_than_or_equalsTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is less than or equal to the value in this object.

The following example would return data sources with an year attribute whose value is less than or equal to ‘1989’: ‘“lessThanOrEquals”: { “key”: “year”, “value”: 1989 }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#list_containsTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is a list that contains the value as one of its members.

The following example would return data sources with an animals attribute that is a list containing a cat member (for example, ‘[“dog”, “cat”]`): `“listContains”: { “key”: “animals”, “value”: “cat” }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#modelsArray<Types::EvaluationModelConfig>

Specifies the inference models.

Returns:



4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'lib/aws-sdk-bedrock/types.rb', line 4535

class EvaluationInferenceConfig < Struct.new(
  :models,
  :rag_configs,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Models < EvaluationInferenceConfig; end
  class RagConfigs < EvaluationInferenceConfig; end
  class Unknown < EvaluationInferenceConfig; end
end

#mutationTypes::AutomatedReasoningPolicyMutation

Indicates that this build step involved modifying the policy structure, such as adding or updating rules, variables, or types.



1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'lib/aws-sdk-bedrock/types.rb', line 1008

class AutomatedReasoningPolicyBuildStepContext < Struct.new(
  :planning,
  :mutation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Planning < AutomatedReasoningPolicyBuildStepContext; end
  class Mutation < AutomatedReasoningPolicyBuildStepContext; end
  class Unknown < AutomatedReasoningPolicyBuildStepContext; end
end

#no_translationsTypes::AutomatedReasoningCheckNoTranslationsFinding

Identifies that some or all of the input prompt wasn’t translated into logic. This can happen if the input isn’t relevant to the Automated Reasoning policy, or if the policy doesn’t have variables to model relevant input.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#not_equalsTypes::FilterAttribute

Knowledge base data sources that contain a metadata attribute whose name matches the key and whose value doesn’t match the value in this object are returned.

The following example would return data sources that don’t contain an animal attribute whose value is ‘cat’: ‘“notEquals”: { “key”: “animal”, “value”: “cat” }`



11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
# File 'lib/aws-sdk-bedrock/types.rb', line 11482

class RequestMetadataFilters < Struct.new(
  :equals,
  :not_equals,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:equals, :not_equals]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RequestMetadataFilters; end
  class NotEquals < RequestMetadataFilters; end
  class AndAll < RequestMetadataFilters; end
  class OrAll < RequestMetadataFilters; end
  class Unknown < RequestMetadataFilters; end
end

#not_inTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value isn’t in the list specified in the value in this object.

The following example would return data sources whose animal attribute is neither ‘cat’ nor ‘dog’: ‘“notIn”: { “key”: “animal”, “value”: [“cat”, “dog”] }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#or_allArray<Types::RetrievalFilter>

Knowledge base data sources are returned if their metadata attributes fulfill at least one of the filter conditions inside this list.

Returns:



11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
# File 'lib/aws-sdk-bedrock/types.rb', line 11482

class RequestMetadataFilters < Struct.new(
  :equals,
  :not_equals,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:equals, :not_equals]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RequestMetadataFilters; end
  class NotEquals < RequestMetadataFilters; end
  class AndAll < RequestMetadataFilters; end
  class OrAll < RequestMetadataFilters; end
  class Unknown < RequestMetadataFilters; end
end

#planningTypes::AutomatedReasoningPolicyPlanning

Indicates that this build step was part of the planning phase, where the system determines what operations to perform.



1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
# File 'lib/aws-sdk-bedrock/types.rb', line 1008

class AutomatedReasoningPolicyBuildStepContext < Struct.new(
  :planning,
  :mutation,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Planning < AutomatedReasoningPolicyBuildStepContext; end
  class Mutation < AutomatedReasoningPolicyBuildStepContext; end
  class Unknown < AutomatedReasoningPolicyBuildStepContext; end
end

#policy_definitionTypes::AutomatedReasoningPolicyDefinition

The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.



945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
# File 'lib/aws-sdk-bedrock/types.rb', line 945

class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
  :policy_definition,
  :quality_report,
  :build_log,
  :generated_test_cases,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinition < AutomatedReasoningPolicyBuildResultAssets; end
  class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
  class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
  class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
end

#policy_definition_ruleTypes::AutomatedReasoningPolicyDefinitionRule

A rule element within the policy definition that contains a formal logical expression used for validation.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#policy_definition_typeTypes::AutomatedReasoningPolicyDefinitionType

A custom type element within the policy definition that defines a set of possible values for variables.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#policy_definition_variableTypes::AutomatedReasoningPolicyDefinitionVariable

A variable element within the policy definition that represents a concept used in logical expressions and rules.



1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/aws-sdk-bedrock/types.rb', line 1219

class AutomatedReasoningPolicyDefinitionElement < Struct.new(
  :policy_definition_variable,
  :policy_definition_type,
  :policy_definition_rule,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinitionVariable < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionType < AutomatedReasoningPolicyDefinitionElement; end
  class PolicyDefinitionRule < AutomatedReasoningPolicyDefinitionElement; end
  class Unknown < AutomatedReasoningPolicyDefinitionElement; end
end

#policy_repair_assetsTypes::AutomatedReasoningPolicyBuildWorkflowRepairContent

The assets and instructions needed for a policy repair workflow, including repair annotations and guidance.



2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
# File 'lib/aws-sdk-bedrock/types.rb', line 2141

class AutomatedReasoningPolicyWorkflowTypeContent < Struct.new(
  :documents,
  :policy_repair_assets,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Documents < AutomatedReasoningPolicyWorkflowTypeContent; end
  class PolicyRepairAssets < AutomatedReasoningPolicyWorkflowTypeContent; end
  class Unknown < AutomatedReasoningPolicyWorkflowTypeContent; end
end

#precomputed_inference_sourceTypes::EvaluationPrecomputedInferenceSource

Defines the model used to generate inference response data for a model evaluation job where you provide your own inference response data.



4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
# File 'lib/aws-sdk-bedrock/types.rb', line 4593

class EvaluationModelConfig < Struct.new(
  :bedrock_model,
  :precomputed_inference_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BedrockModel < EvaluationModelConfig; end
  class PrecomputedInferenceSource < EvaluationModelConfig; end
  class Unknown < EvaluationModelConfig; end
end

#precomputed_rag_source_configTypes::EvaluationPrecomputedRagSourceConfig

Contains configuration details about the RAG source used to generate inference response data for a Knowledge Base evaluation job.



11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
# File 'lib/aws-sdk-bedrock/types.rb', line 11339

class RAGConfig < Struct.new(
  :knowledge_base_config,
  :precomputed_rag_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KnowledgeBaseConfig < RAGConfig; end
  class PrecomputedRagSourceConfig < RAGConfig; end
  class Unknown < RAGConfig; end
end

#quality_reportTypes::AutomatedReasoningPolicyDefinitionQualityReport

A comprehensive report analyzing the quality of the generated policy, including metrics about rule coverage, potential conflicts, and unused elements.



945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
# File 'lib/aws-sdk-bedrock/types.rb', line 945

class AutomatedReasoningPolicyBuildResultAssets < Struct.new(
  :policy_definition,
  :quality_report,
  :build_log,
  :generated_test_cases,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class PolicyDefinition < AutomatedReasoningPolicyBuildResultAssets; end
  class QualityReport < AutomatedReasoningPolicyBuildResultAssets; end
  class BuildLog < AutomatedReasoningPolicyBuildResultAssets; end
  class GeneratedTestCases < AutomatedReasoningPolicyBuildResultAssets; end
  class Unknown < AutomatedReasoningPolicyBuildResultAssets; end
end

#rag_configsArray<Types::RAGConfig>

Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.

Returns:



4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
# File 'lib/aws-sdk-bedrock/types.rb', line 4535

class EvaluationInferenceConfig < Struct.new(
  :models,
  :rag_configs,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Models < EvaluationInferenceConfig; end
  class RagConfigs < EvaluationInferenceConfig; end
  class Unknown < EvaluationInferenceConfig; end
end

#retrieve_and_generate_configTypes::RetrieveAndGenerateConfiguration

Contains configuration details for retrieving information from a knowledge base and generating responses.



8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
# File 'lib/aws-sdk-bedrock/types.rb', line 8886

class KnowledgeBaseConfig < Struct.new(
  :retrieve_config,
  :retrieve_and_generate_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveConfig < KnowledgeBaseConfig; end
  class RetrieveAndGenerateConfig < KnowledgeBaseConfig; end
  class Unknown < KnowledgeBaseConfig; end
end

#retrieve_and_generate_source_configTypes::EvaluationPrecomputedRetrieveAndGenerateSourceConfig

A summary of a RAG source used for a retrieve-and-generate Knowledge Base evaluation job where you provide your own inference response data.



4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
# File 'lib/aws-sdk-bedrock/types.rb', line 4681

class EvaluationPrecomputedRagSourceConfig < Struct.new(
  :retrieve_source_config,
  :retrieve_and_generate_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig; end
  class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig; end
  class Unknown < EvaluationPrecomputedRagSourceConfig; end
end

#retrieve_configTypes::RetrieveConfig

Contains configuration details for retrieving information from a knowledge base.



8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
# File 'lib/aws-sdk-bedrock/types.rb', line 8886

class KnowledgeBaseConfig < Struct.new(
  :retrieve_config,
  :retrieve_and_generate_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveConfig < KnowledgeBaseConfig; end
  class RetrieveAndGenerateConfig < KnowledgeBaseConfig; end
  class Unknown < KnowledgeBaseConfig; end
end

#retrieve_source_configTypes::EvaluationPrecomputedRetrieveSourceConfig

A summary of a RAG source used for a retrieve-only Knowledge Base evaluation job where you provide your own inference response data.



4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
# File 'lib/aws-sdk-bedrock/types.rb', line 4681

class EvaluationPrecomputedRagSourceConfig < Struct.new(
  :retrieve_source_config,
  :retrieve_and_generate_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveSourceConfig < EvaluationPrecomputedRagSourceConfig; end
  class RetrieveAndGenerateSourceConfig < EvaluationPrecomputedRagSourceConfig; end
  class Unknown < EvaluationPrecomputedRagSourceConfig; end
end

#s3_data_sourceTypes::S3DataSource

The Amazon S3 data source of the model to import.

Returns:



10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
# File 'lib/aws-sdk-bedrock/types.rb', line 10653

class ModelDataSource < Struct.new(
  :s3_data_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3DataSource < ModelDataSource; end
  class Unknown < ModelDataSource; end
end

#s3_input_data_configTypes::ModelInvocationJobS3InputDataConfig

Contains the configuration of the S3 location of the input data.



10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
# File 'lib/aws-sdk-bedrock/types.rb', line 10725

class ModelInvocationJobInputDataConfig < Struct.new(
  :s3_input_data_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3InputDataConfig < ModelInvocationJobInputDataConfig; end
  class Unknown < ModelInvocationJobInputDataConfig; end
end

#s3_output_data_configTypes::ModelInvocationJobS3OutputDataConfig

Contains the configuration of the S3 location of the output data.



10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
# File 'lib/aws-sdk-bedrock/types.rb', line 10748

class ModelInvocationJobOutputDataConfig < Struct.new(
  :s3_output_data_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3OutputDataConfig < ModelInvocationJobOutputDataConfig; end
  class Unknown < ModelInvocationJobOutputDataConfig; end
end

#s3_uriString

The URI of an invocation log in a bucket.

Returns:

  • (String)


4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
# File 'lib/aws-sdk-bedrock/types.rb', line 4445

class EvaluationDatasetLocation < Struct.new(
  :s3_uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class S3Uri < EvaluationDatasetLocation; end
  class Unknown < EvaluationDatasetLocation; end
end

#sage_makerTypes::SageMakerEndpoint

The configuration specific to Amazon SageMaker for the endpoint.



4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
# File 'lib/aws-sdk-bedrock/types.rb', line 4325

class EndpointConfig < Struct.new(
  :sage_maker,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SageMaker < EndpointConfig; end
  class Unknown < EndpointConfig; end
end

#satisfiableTypes::AutomatedReasoningCheckSatisfiableFinding

Indicates that the claims can be true or false. It depends on what assumptions are made for the claim to be implied from the premises and Automated Reasoning policy rules. In this situation, different assumptions can make input claims false and alternative claims true.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#starts_withTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value starts with the value in this object. This filter is currently only supported for Amazon OpenSearch Serverless vector stores.

The following example would return data sources with an animal attribute starts with ‘ca’ (for example, ‘cat’ or ‘camel’). ‘“startsWith”: { “key”: “animal”, “value”: “ca” }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#string_containsTypes::FilterAttribute

Knowledge base data sources are returned if they contain a metadata attribute whose name matches the key and whose value is one of the following:

A string that contains the value as a substring. The following example would return data sources with an animal attribute that contains the substring at (for example, ‘cat’): ‘“stringContains”: { “key”: “animal”, “value”: “at” }`

A list with a member that contains the value as a substring. The following example would return data sources with an animals attribute that is a list containing a member that contains the substring at (for example, ‘[“dog”, “cat”]`): `“stringContains”: { “key”: “animals”, “value”: “at” }`



11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
# File 'lib/aws-sdk-bedrock/types.rb', line 11705

class RetrievalFilter < Struct.new(
  :equals,
  :not_equals,
  :greater_than,
  :greater_than_or_equals,
  :less_than,
  :less_than_or_equals,
  :in,
  :not_in,
  :starts_with,
  :list_contains,
  :string_contains,
  :and_all,
  :or_all,
  :unknown)
  SENSITIVE = [:and_all, :or_all]
  include Aws::Structure
  include Aws::Structure::Union

  class Equals < RetrievalFilter; end
  class NotEquals < RetrievalFilter; end
  class GreaterThan < RetrievalFilter; end
  class GreaterThanOrEquals < RetrievalFilter; end
  class LessThan < RetrievalFilter; end
  class LessThanOrEquals < RetrievalFilter; end
  class In < RetrievalFilter; end
  class NotIn < RetrievalFilter; end
  class StartsWith < RetrievalFilter; end
  class ListContains < RetrievalFilter; end
  class StringContains < RetrievalFilter; end
  class AndAll < RetrievalFilter; end
  class OrAll < RetrievalFilter; end
  class Unknown < RetrievalFilter; end
end

#string_valueString

A string representing the value for a rating in a custom metric rating scale.

Returns:

  • (String)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
# File 'lib/aws-sdk-bedrock/types.rb', line 11391

class RatingScaleItemValue < Struct.new(
  :string_value,
  :float_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class StringValue < RatingScaleItemValue; end
  class FloatValue < RatingScaleItemValue; end
  class Unknown < RatingScaleItemValue; end
end

#too_complexTypes::AutomatedReasoningCheckTooComplexFinding

Indicates that the input contains too much information for Automated Reasoning to process within its latency limits.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#translation_ambiguousTypes::AutomatedReasoningCheckTranslationAmbiguousFinding

Indicates that an ambiguity was detected in the translation, making it unsound to continue with validity checking. Additional context or follow-up questions might be needed to get translation to succeed.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end

#update_from_rules_feedbackTypes::AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation

An operation to update the policy based on feedback about how specific rules performed during testing or validation.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#update_from_scenario_feedbackTypes::AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation

An operation to update the policy based on feedback about how it performed on specific test scenarios.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#update_ruleTypes::AutomatedReasoningPolicyUpdateRuleMutation

A mutation to modify an existing rule in the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#update_typeTypes::AutomatedReasoningPolicyUpdateTypeMutation

A mutation to modify an existing custom type in the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#update_type_valueTypes::AutomatedReasoningPolicyUpdateTypeValue

An operation to modify an existing value within a custom type.



1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
# File 'lib/aws-sdk-bedrock/types.rb', line 1905

class AutomatedReasoningPolicyTypeValueAnnotation < Struct.new(
  :add_type_value,
  :update_type_value,
  :delete_type_value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class UpdateTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class DeleteTypeValue < AutomatedReasoningPolicyTypeValueAnnotation; end
  class Unknown < AutomatedReasoningPolicyTypeValueAnnotation; end
end

#update_variableTypes::AutomatedReasoningPolicyUpdateVariableMutation

A mutation to modify an existing variable in the policy.



837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
# File 'lib/aws-sdk-bedrock/types.rb', line 837

class AutomatedReasoningPolicyAnnotation < Struct.new(
  :add_type,
  :update_type,
  :delete_type,
  :add_variable,
  :update_variable,
  :delete_variable,
  :add_rule,
  :update_rule,
  :delete_rule,
  :add_rule_from_natural_language,
  :update_from_rules_feedback,
  :update_from_scenario_feedback,
  :ingest_content,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddType < AutomatedReasoningPolicyAnnotation; end
  class UpdateType < AutomatedReasoningPolicyAnnotation; end
  class DeleteType < AutomatedReasoningPolicyAnnotation; end
  class AddVariable < AutomatedReasoningPolicyAnnotation; end
  class UpdateVariable < AutomatedReasoningPolicyAnnotation; end
  class DeleteVariable < AutomatedReasoningPolicyAnnotation; end
  class AddRule < AutomatedReasoningPolicyAnnotation; end
  class UpdateRule < AutomatedReasoningPolicyAnnotation; end
  class DeleteRule < AutomatedReasoningPolicyAnnotation; end
  class AddRuleFromNaturalLanguage < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromRulesFeedback < AutomatedReasoningPolicyAnnotation; end
  class UpdateFromScenarioFeedback < AutomatedReasoningPolicyAnnotation; end
  class IngestContent < AutomatedReasoningPolicyAnnotation; end
  class Unknown < AutomatedReasoningPolicyAnnotation; end
end

#validTypes::AutomatedReasoningCheckValidFinding

Indicates that the claims are true. The claims are implied by the premises and the Automated Reasoning policy. Given the Automated Reasoning policy and premises, it is not possible for these claims to be false.



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/aws-sdk-bedrock/types.rb', line 267

class AutomatedReasoningCheckFinding < Struct.new(
  :valid,
  :invalid,
  :satisfiable,
  :impossible,
  :translation_ambiguous,
  :too_complex,
  :no_translations,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Valid < AutomatedReasoningCheckFinding; end
  class Invalid < AutomatedReasoningCheckFinding; end
  class Satisfiable < AutomatedReasoningCheckFinding; end
  class Impossible < AutomatedReasoningCheckFinding; end
  class TranslationAmbiguous < AutomatedReasoningCheckFinding; end
  class TooComplex < AutomatedReasoningCheckFinding; end
  class NoTranslations < AutomatedReasoningCheckFinding; end
  class Unknown < AutomatedReasoningCheckFinding; end
end