@aws-sdk/client-bedrock 3.859.0 → 3.862.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +192 -0
- package/dist-cjs/index.js +2684 -369
- package/dist-es/Bedrock.js +48 -0
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/CreateGuardrailCommand.js +1 -1
- package/dist-es/commands/CreateGuardrailVersionCommand.js +1 -1
- package/dist-es/commands/CreateInferenceProfileCommand.js +1 -1
- package/dist-es/commands/CreatePromptRouterCommand.js +1 -1
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +22 -0
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +23 -0
- package/dist-es/commands/GetGuardrailCommand.js +1 -1
- package/dist-es/commands/GetInferenceProfileCommand.js +1 -1
- package/dist-es/commands/GetModelInvocationJobCommand.js +1 -1
- package/dist-es/commands/GetPromptRouterCommand.js +1 -1
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +22 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +23 -0
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +23 -0
- package/dist-es/commands/ListGuardrailsCommand.js +1 -1
- package/dist-es/commands/ListInferenceProfilesCommand.js +1 -1
- package/dist-es/commands/ListModelInvocationJobsCommand.js +1 -1
- package/dist-es/commands/ListPromptRoutersCommand.js +1 -1
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +23 -0
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +22 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +23 -0
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +23 -0
- package/dist-es/commands/UpdateGuardrailCommand.js +1 -1
- package/dist-es/commands/index.js +24 -0
- package/dist-es/models/models_0.js +742 -315
- package/dist-es/models/models_1.js +300 -1
- package/dist-es/pagination/ListAutomatedReasoningPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +997 -31
- package/dist-types/Bedrock.d.ts +169 -0
- package/dist-types/BedrockClient.d.ts +26 -2
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +86 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +139 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +99 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +106 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +90 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +85 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +115 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +172 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +307 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +94 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +96 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +97 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +258 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/commands/GetGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +99 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +100 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +265 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +1 -2
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +222 -0
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +95 -0
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +175 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +127 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +102 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +7 -1
- package/dist-types/commands/index.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +3899 -3774
- package/dist-types/models/models_1.d.ts +3320 -1
- package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +216 -0
- package/dist-types/ts3.4/Bedrock.d.ts +523 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +144 -0
- package/dist-types/ts3.4/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateGuardrailVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetImportedModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelCopyJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGuardrailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImportedModelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelCopyJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelInvocationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopModelInvocationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGuardrailCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +24 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2324 -1702
- package/dist-types/ts3.4/models/models_1.d.ts +970 -2
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +288 -0
- package/package.json +34 -34
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import { GetAutomatedReasoningPolicyTestResultRequest, GetAutomatedReasoningPolicyTestResultResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAutomatedReasoningPolicyTestResultCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAutomatedReasoningPolicyTestResultCommandInput extends GetAutomatedReasoningPolicyTestResultRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAutomatedReasoningPolicyTestResultCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAutomatedReasoningPolicyTestResultCommandOutput extends GetAutomatedReasoningPolicyTestResultResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAutomatedReasoningPolicyTestResultCommand_base: {
|
|
25
|
+
new (input: GetAutomatedReasoningPolicyTestResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetAutomatedReasoningPolicyTestResultCommandInput, GetAutomatedReasoningPolicyTestResultCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAutomatedReasoningPolicyTestResultCommandInput): import("@smithy/smithy-client").CommandImpl<GetAutomatedReasoningPolicyTestResultCommandInput, GetAutomatedReasoningPolicyTestResultCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the test result for a specific Automated Reasoning policy test. Returns detailed validation findings and execution status.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, GetAutomatedReasoningPolicyTestResultCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, GetAutomatedReasoningPolicyTestResultCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // GetAutomatedReasoningPolicyTestResultRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* buildWorkflowId: "STRING_VALUE", // required
|
|
40
|
+
* testCaseId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetAutomatedReasoningPolicyTestResultCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetAutomatedReasoningPolicyTestResultResponse
|
|
45
|
+
* // testResult: { // AutomatedReasoningPolicyTestResult
|
|
46
|
+
* // testCase: { // AutomatedReasoningPolicyTestCase
|
|
47
|
+
* // testCaseId: "STRING_VALUE", // required
|
|
48
|
+
* // guardContent: "STRING_VALUE", // required
|
|
49
|
+
* // queryContent: "STRING_VALUE",
|
|
50
|
+
* // expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION",
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // confidenceThreshold: Number("double"),
|
|
54
|
+
* // },
|
|
55
|
+
* // policyArn: "STRING_VALUE", // required
|
|
56
|
+
* // testRunStatus: "NOT_STARTED" || "SCHEDULED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
57
|
+
* // testFindings: [ // AutomatedReasoningCheckFindingList
|
|
58
|
+
* // { // AutomatedReasoningCheckFinding Union: only one key present
|
|
59
|
+
* // valid: { // AutomatedReasoningCheckValidFinding
|
|
60
|
+
* // translation: { // AutomatedReasoningCheckTranslation
|
|
61
|
+
* // premises: [ // AutomatedReasoningLogicStatementList
|
|
62
|
+
* // { // AutomatedReasoningLogicStatement
|
|
63
|
+
* // logic: "STRING_VALUE", // required
|
|
64
|
+
* // naturalLanguage: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // claims: [ // required
|
|
68
|
+
* // {
|
|
69
|
+
* // logic: "STRING_VALUE", // required
|
|
70
|
+
* // naturalLanguage: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // untranslatedPremises: [ // AutomatedReasoningCheckInputTextReferenceList
|
|
74
|
+
* // { // AutomatedReasoningCheckInputTextReference
|
|
75
|
+
* // text: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // untranslatedClaims: [
|
|
79
|
+
* // {
|
|
80
|
+
* // text: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // confidence: Number("double"), // required
|
|
84
|
+
* // },
|
|
85
|
+
* // claimsTrueScenario: { // AutomatedReasoningCheckScenario
|
|
86
|
+
* // statements: [
|
|
87
|
+
* // {
|
|
88
|
+
* // logic: "STRING_VALUE", // required
|
|
89
|
+
* // naturalLanguage: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // supportingRules: [ // AutomatedReasoningCheckRuleList
|
|
94
|
+
* // { // AutomatedReasoningCheckRule
|
|
95
|
+
* // id: "STRING_VALUE",
|
|
96
|
+
* // policyVersionArn: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // logicWarning: { // AutomatedReasoningCheckLogicWarning
|
|
100
|
+
* // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
|
|
101
|
+
* // premises: [
|
|
102
|
+
* // {
|
|
103
|
+
* // logic: "STRING_VALUE", // required
|
|
104
|
+
* // naturalLanguage: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // claims: [
|
|
108
|
+
* // {
|
|
109
|
+
* // logic: "STRING_VALUE", // required
|
|
110
|
+
* // naturalLanguage: "STRING_VALUE",
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // invalid: { // AutomatedReasoningCheckInvalidFinding
|
|
116
|
+
* // translation: {
|
|
117
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
118
|
+
* // claims: "<AutomatedReasoningLogicStatementList>", // required
|
|
119
|
+
* // untranslatedPremises: [
|
|
120
|
+
* // {
|
|
121
|
+
* // text: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // untranslatedClaims: [
|
|
125
|
+
* // {
|
|
126
|
+
* // text: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // confidence: Number("double"), // required
|
|
130
|
+
* // },
|
|
131
|
+
* // contradictingRules: [
|
|
132
|
+
* // {
|
|
133
|
+
* // id: "STRING_VALUE",
|
|
134
|
+
* // policyVersionArn: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // logicWarning: {
|
|
138
|
+
* // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
|
|
139
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
140
|
+
* // claims: "<AutomatedReasoningLogicStatementList>",
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // satisfiable: { // AutomatedReasoningCheckSatisfiableFinding
|
|
144
|
+
* // translation: {
|
|
145
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
146
|
+
* // claims: "<AutomatedReasoningLogicStatementList>", // required
|
|
147
|
+
* // untranslatedPremises: [
|
|
148
|
+
* // {
|
|
149
|
+
* // text: "STRING_VALUE",
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
152
|
+
* // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
|
|
153
|
+
* // confidence: Number("double"), // required
|
|
154
|
+
* // },
|
|
155
|
+
* // claimsTrueScenario: {
|
|
156
|
+
* // statements: "<AutomatedReasoningLogicStatementList>",
|
|
157
|
+
* // },
|
|
158
|
+
* // claimsFalseScenario: {
|
|
159
|
+
* // statements: "<AutomatedReasoningLogicStatementList>",
|
|
160
|
+
* // },
|
|
161
|
+
* // logicWarning: {
|
|
162
|
+
* // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
|
|
163
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
164
|
+
* // claims: "<AutomatedReasoningLogicStatementList>",
|
|
165
|
+
* // },
|
|
166
|
+
* // },
|
|
167
|
+
* // impossible: { // AutomatedReasoningCheckImpossibleFinding
|
|
168
|
+
* // translation: {
|
|
169
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
170
|
+
* // claims: "<AutomatedReasoningLogicStatementList>", // required
|
|
171
|
+
* // untranslatedPremises: "<AutomatedReasoningCheckInputTextReferenceList>",
|
|
172
|
+
* // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
|
|
173
|
+
* // confidence: Number("double"), // required
|
|
174
|
+
* // },
|
|
175
|
+
* // contradictingRules: [
|
|
176
|
+
* // {
|
|
177
|
+
* // id: "STRING_VALUE",
|
|
178
|
+
* // policyVersionArn: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // logicWarning: {
|
|
182
|
+
* // type: "ALWAYS_TRUE" || "ALWAYS_FALSE",
|
|
183
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
184
|
+
* // claims: "<AutomatedReasoningLogicStatementList>",
|
|
185
|
+
* // },
|
|
186
|
+
* // },
|
|
187
|
+
* // translationAmbiguous: { // AutomatedReasoningCheckTranslationAmbiguousFinding
|
|
188
|
+
* // options: [ // AutomatedReasoningCheckTranslationOptionList
|
|
189
|
+
* // { // AutomatedReasoningCheckTranslationOption
|
|
190
|
+
* // translations: [ // AutomatedReasoningCheckTranslationList
|
|
191
|
+
* // {
|
|
192
|
+
* // premises: "<AutomatedReasoningLogicStatementList>",
|
|
193
|
+
* // claims: "<AutomatedReasoningLogicStatementList>", // required
|
|
194
|
+
* // untranslatedPremises: "<AutomatedReasoningCheckInputTextReferenceList>",
|
|
195
|
+
* // untranslatedClaims: "<AutomatedReasoningCheckInputTextReferenceList>",
|
|
196
|
+
* // confidence: Number("double"), // required
|
|
197
|
+
* // },
|
|
198
|
+
* // ],
|
|
199
|
+
* // },
|
|
200
|
+
* // ],
|
|
201
|
+
* // differenceScenarios: [ // AutomatedReasoningCheckDifferenceScenarioList
|
|
202
|
+
* // {
|
|
203
|
+
* // statements: "<AutomatedReasoningLogicStatementList>",
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // },
|
|
207
|
+
* // tooComplex: {},
|
|
208
|
+
* // noTranslations: {},
|
|
209
|
+
* // },
|
|
210
|
+
* // ],
|
|
211
|
+
* // testRunResult: "PASSED" || "FAILED",
|
|
212
|
+
* // aggregatedTestFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION",
|
|
213
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
214
|
+
* // },
|
|
215
|
+
* // };
|
|
216
|
+
*
|
|
217
|
+
* ```
|
|
218
|
+
*
|
|
219
|
+
* @param GetAutomatedReasoningPolicyTestResultCommandInput - {@link GetAutomatedReasoningPolicyTestResultCommandInput}
|
|
220
|
+
* @returns {@link GetAutomatedReasoningPolicyTestResultCommandOutput}
|
|
221
|
+
* @see {@link GetAutomatedReasoningPolicyTestResultCommandInput} for command's `input` shape.
|
|
222
|
+
* @see {@link GetAutomatedReasoningPolicyTestResultCommandOutput} for command's `response` shape.
|
|
223
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
224
|
+
*
|
|
225
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
226
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link InternalServerException} (server fault)
|
|
229
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
230
|
+
*
|
|
231
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
232
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
233
|
+
*
|
|
234
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
235
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link ValidationException} (client fault)
|
|
238
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
239
|
+
*
|
|
240
|
+
* @throws {@link BedrockServiceException}
|
|
241
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
242
|
+
*
|
|
243
|
+
*
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export declare class GetAutomatedReasoningPolicyTestResultCommand extends GetAutomatedReasoningPolicyTestResultCommand_base {
|
|
247
|
+
/** @internal type navigation helper, not in runtime. */
|
|
248
|
+
protected static __types: {
|
|
249
|
+
api: {
|
|
250
|
+
input: GetAutomatedReasoningPolicyTestResultRequest;
|
|
251
|
+
output: GetAutomatedReasoningPolicyTestResultResponse;
|
|
252
|
+
};
|
|
253
|
+
sdk: {
|
|
254
|
+
input: GetAutomatedReasoningPolicyTestResultCommandInput;
|
|
255
|
+
output: GetAutomatedReasoningPolicyTestResultCommandOutput;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetFoundationModelRequest, GetFoundationModelResponse } from "../models/
|
|
4
|
+
import { GetFoundationModelRequest, GetFoundationModelResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetGuardrailRequest, GetGuardrailResponse } from "../models/
|
|
4
|
+
import { GetGuardrailRequest, GetGuardrailResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -142,6 +142,12 @@ declare const GetGuardrailCommand_base: {
|
|
|
142
142
|
* // },
|
|
143
143
|
* // ],
|
|
144
144
|
* // },
|
|
145
|
+
* // automatedReasoningPolicy: { // GuardrailAutomatedReasoningPolicy
|
|
146
|
+
* // policies: [ // AutomatedReasoningPolicyArnList // required
|
|
147
|
+
* // "STRING_VALUE",
|
|
148
|
+
* // ],
|
|
149
|
+
* // confidenceThreshold: Number("double"),
|
|
150
|
+
* // },
|
|
145
151
|
* // crossRegionDetails: { // GuardrailCrossRegionDetails
|
|
146
152
|
* // guardrailProfileId: "STRING_VALUE",
|
|
147
153
|
* // guardrailProfileArn: "STRING_VALUE",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetImportedModelRequest, GetImportedModelResponse } from "../models/
|
|
4
|
+
import { GetImportedModelRequest, GetImportedModelResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetInferenceProfileRequest, GetInferenceProfileResponse } from "../models/
|
|
4
|
+
import { GetInferenceProfileRequest, GetInferenceProfileResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetModelCopyJobRequest, GetModelCopyJobResponse } from "../models/
|
|
4
|
+
import { GetModelCopyJobRequest, GetModelCopyJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetModelImportJobRequest, GetModelImportJobResponse } from "../models/
|
|
4
|
+
import { GetModelImportJobRequest, GetModelImportJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetModelInvocationJobRequest, GetModelInvocationJobResponse } from "../models/
|
|
4
|
+
import { GetModelInvocationJobRequest, GetModelInvocationJobResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetModelInvocationLoggingConfigurationRequest, GetModelInvocationLoggingConfigurationResponse } from "../models/
|
|
4
|
+
import { GetModelInvocationLoggingConfigurationRequest, GetModelInvocationLoggingConfigurationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetPromptRouterRequest, GetPromptRouterResponse } from "../models/
|
|
4
|
+
import { GetPromptRouterRequest, GetPromptRouterResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { GetProvisionedModelThroughputRequest, GetProvisionedModelThroughputResponse } from "../models/
|
|
4
|
+
import { GetProvisionedModelThroughputRequest, GetProvisionedModelThroughputResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import { ListAutomatedReasoningPoliciesRequest, ListAutomatedReasoningPoliciesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAutomatedReasoningPoliciesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAutomatedReasoningPoliciesCommandInput extends ListAutomatedReasoningPoliciesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAutomatedReasoningPoliciesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAutomatedReasoningPoliciesCommandOutput extends ListAutomatedReasoningPoliciesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAutomatedReasoningPoliciesCommand_base: {
|
|
25
|
+
new (input: ListAutomatedReasoningPoliciesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPoliciesCommandInput, ListAutomatedReasoningPoliciesCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAutomatedReasoningPoliciesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPoliciesCommandInput, ListAutomatedReasoningPoliciesCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all Automated Reasoning policies in your account, with optional filtering by policy ARN. This helps you manage and discover existing policies.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, ListAutomatedReasoningPoliciesCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, ListAutomatedReasoningPoliciesCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // ListAutomatedReasoningPoliciesRequest
|
|
38
|
+
* policyArn: "STRING_VALUE",
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListAutomatedReasoningPoliciesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListAutomatedReasoningPoliciesResponse
|
|
45
|
+
* // automatedReasoningPolicySummaries: [ // AutomatedReasoningPolicySummaries // required
|
|
46
|
+
* // { // AutomatedReasoningPolicySummary
|
|
47
|
+
* // policyArn: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // version: "STRING_VALUE", // required
|
|
51
|
+
* // policyId: "STRING_VALUE", // required
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListAutomatedReasoningPoliciesCommandInput - {@link ListAutomatedReasoningPoliciesCommandInput}
|
|
62
|
+
* @returns {@link ListAutomatedReasoningPoliciesCommandOutput}
|
|
63
|
+
* @see {@link ListAutomatedReasoningPoliciesCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListAutomatedReasoningPoliciesCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BedrockServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListAutomatedReasoningPoliciesCommand extends ListAutomatedReasoningPoliciesCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListAutomatedReasoningPoliciesRequest;
|
|
93
|
+
output: ListAutomatedReasoningPoliciesResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListAutomatedReasoningPoliciesCommandInput;
|
|
97
|
+
output: ListAutomatedReasoningPoliciesCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import { ListAutomatedReasoningPolicyBuildWorkflowsRequest, ListAutomatedReasoningPolicyBuildWorkflowsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAutomatedReasoningPolicyBuildWorkflowsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAutomatedReasoningPolicyBuildWorkflowsCommandInput extends ListAutomatedReasoningPolicyBuildWorkflowsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAutomatedReasoningPolicyBuildWorkflowsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput extends ListAutomatedReasoningPolicyBuildWorkflowsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAutomatedReasoningPolicyBuildWorkflowsCommand_base: {
|
|
25
|
+
new (input: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all build workflows for an Automated Reasoning policy, showing the history of policy creation and modification attempts.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // ListAutomatedReasoningPolicyBuildWorkflowsRequest
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListAutomatedReasoningPolicyBuildWorkflowsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListAutomatedReasoningPolicyBuildWorkflowsResponse
|
|
45
|
+
* // automatedReasoningPolicyBuildWorkflowSummaries: [ // AutomatedReasoningPolicyBuildWorkflowSummaries // required
|
|
46
|
+
* // { // AutomatedReasoningPolicyBuildWorkflowSummary
|
|
47
|
+
* // policyArn: "STRING_VALUE", // required
|
|
48
|
+
* // buildWorkflowId: "STRING_VALUE", // required
|
|
49
|
+
* // status: "SCHEDULED" || "CANCEL_REQUESTED" || "PREPROCESSING" || "BUILDING" || "TESTING" || "COMPLETED" || "FAILED" || "CANCELLED", // required
|
|
50
|
+
* // buildWorkflowType: "INGEST_CONTENT" || "REFINE_POLICY" || "IMPORT_POLICY", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListAutomatedReasoningPolicyBuildWorkflowsCommandInput - {@link ListAutomatedReasoningPolicyBuildWorkflowsCommandInput}
|
|
61
|
+
* @returns {@link ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput}
|
|
62
|
+
* @see {@link ListAutomatedReasoningPolicyBuildWorkflowsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal server error occurred. Retry your request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link BedrockServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ListAutomatedReasoningPolicyBuildWorkflowsCommand extends ListAutomatedReasoningPolicyBuildWorkflowsCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: ListAutomatedReasoningPolicyBuildWorkflowsRequest;
|
|
92
|
+
output: ListAutomatedReasoningPolicyBuildWorkflowsResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: ListAutomatedReasoningPolicyBuildWorkflowsCommandInput;
|
|
96
|
+
output: ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|