@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { BedrockServiceException as __BaseException } from "../models/BedrockServiceException";
|
|
6
|
-
import { AccessDeniedException, AutomatedEvaluationCustomMetricSource, ConflictException, EvaluationConfig, InternalServerException, RatingScaleItemValue, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { AccessDeniedException, AutomatedEvaluationCustomMetricSource, AutomatedReasoningPolicyWorkflowTypeContent, ConflictException, EvaluationConfig, InternalServerException, RatingScaleItemValue, ResourceInUseException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, ValidationException, } from "../models/models_0";
|
|
7
7
|
import { EvaluationInferenceConfig, KnowledgeBaseConfig, RAGConfig, RetrievalFilter, } from "../models/models_1";
|
|
8
8
|
export const se_BatchDeleteEvaluationJobCommand = async (input, context) => {
|
|
9
9
|
const b = rb(input, context);
|
|
@@ -18,6 +18,67 @@ export const se_BatchDeleteEvaluationJobCommand = async (input, context) => {
|
|
|
18
18
|
b.m("POST").h(headers).b(body);
|
|
19
19
|
return b.build();
|
|
20
20
|
};
|
|
21
|
+
export const se_CancelAutomatedReasoningPolicyBuildWorkflowCommand = async (input, context) => {
|
|
22
|
+
const b = rb(input, context);
|
|
23
|
+
const headers = {};
|
|
24
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/cancel");
|
|
25
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
26
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
27
|
+
let body;
|
|
28
|
+
b.m("POST").h(headers).b(body);
|
|
29
|
+
return b.build();
|
|
30
|
+
};
|
|
31
|
+
export const se_CreateAutomatedReasoningPolicyCommand = async (input, context) => {
|
|
32
|
+
const b = rb(input, context);
|
|
33
|
+
const headers = {
|
|
34
|
+
"content-type": "application/json",
|
|
35
|
+
};
|
|
36
|
+
b.bp("/automated-reasoning-policies");
|
|
37
|
+
let body;
|
|
38
|
+
body = JSON.stringify(take(input, {
|
|
39
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
40
|
+
description: [],
|
|
41
|
+
name: [],
|
|
42
|
+
policyDefinition: (_) => _json(_),
|
|
43
|
+
tags: (_) => _json(_),
|
|
44
|
+
}));
|
|
45
|
+
b.m("POST").h(headers).b(body);
|
|
46
|
+
return b.build();
|
|
47
|
+
};
|
|
48
|
+
export const se_CreateAutomatedReasoningPolicyTestCaseCommand = async (input, context) => {
|
|
49
|
+
const b = rb(input, context);
|
|
50
|
+
const headers = {
|
|
51
|
+
"content-type": "application/json",
|
|
52
|
+
};
|
|
53
|
+
b.bp("/automated-reasoning-policies/{policyArn}/test-cases");
|
|
54
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
55
|
+
let body;
|
|
56
|
+
body = JSON.stringify(take(input, {
|
|
57
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
58
|
+
confidenceThreshold: (_) => __serializeFloat(_),
|
|
59
|
+
expectedAggregatedFindingsResult: [],
|
|
60
|
+
guardContent: [],
|
|
61
|
+
queryContent: [],
|
|
62
|
+
}));
|
|
63
|
+
b.m("POST").h(headers).b(body);
|
|
64
|
+
return b.build();
|
|
65
|
+
};
|
|
66
|
+
export const se_CreateAutomatedReasoningPolicyVersionCommand = async (input, context) => {
|
|
67
|
+
const b = rb(input, context);
|
|
68
|
+
const headers = {
|
|
69
|
+
"content-type": "application/json",
|
|
70
|
+
};
|
|
71
|
+
b.bp("/automated-reasoning-policies/{policyArn}/versions");
|
|
72
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
73
|
+
let body;
|
|
74
|
+
body = JSON.stringify(take(input, {
|
|
75
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
76
|
+
lastUpdatedDefinitionHash: [],
|
|
77
|
+
tags: (_) => _json(_),
|
|
78
|
+
}));
|
|
79
|
+
b.m("POST").h(headers).b(body);
|
|
80
|
+
return b.build();
|
|
81
|
+
};
|
|
21
82
|
export const se_CreateCustomModelCommand = async (input, context) => {
|
|
22
83
|
const b = rb(input, context);
|
|
23
84
|
const headers = {
|
|
@@ -97,6 +158,7 @@ export const se_CreateGuardrailCommand = async (input, context) => {
|
|
|
97
158
|
b.bp("/guardrails");
|
|
98
159
|
let body;
|
|
99
160
|
body = JSON.stringify(take(input, {
|
|
161
|
+
automatedReasoningPolicyConfig: (_) => se_GuardrailAutomatedReasoningPolicyConfig(_, context),
|
|
100
162
|
blockedInputMessaging: [],
|
|
101
163
|
blockedOutputsMessaging: [],
|
|
102
164
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -287,6 +349,47 @@ export const se_CreateProvisionedModelThroughputCommand = async (input, context)
|
|
|
287
349
|
b.m("POST").h(headers).b(body);
|
|
288
350
|
return b.build();
|
|
289
351
|
};
|
|
352
|
+
export const se_DeleteAutomatedReasoningPolicyCommand = async (input, context) => {
|
|
353
|
+
const b = rb(input, context);
|
|
354
|
+
const headers = {};
|
|
355
|
+
b.bp("/automated-reasoning-policies/{policyArn}");
|
|
356
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
357
|
+
let body;
|
|
358
|
+
b.m("DELETE").h(headers).b(body);
|
|
359
|
+
return b.build();
|
|
360
|
+
};
|
|
361
|
+
export const se_DeleteAutomatedReasoningPolicyBuildWorkflowCommand = async (input, context) => {
|
|
362
|
+
const b = rb(input, context);
|
|
363
|
+
const headers = {};
|
|
364
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}");
|
|
365
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
366
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
367
|
+
const query = map({
|
|
368
|
+
[_uA]: [
|
|
369
|
+
__expectNonNull(input.lastUpdatedAt, `lastUpdatedAt`) != null,
|
|
370
|
+
() => __serializeDateTime(input[_lUA]).toString(),
|
|
371
|
+
],
|
|
372
|
+
});
|
|
373
|
+
let body;
|
|
374
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
375
|
+
return b.build();
|
|
376
|
+
};
|
|
377
|
+
export const se_DeleteAutomatedReasoningPolicyTestCaseCommand = async (input, context) => {
|
|
378
|
+
const b = rb(input, context);
|
|
379
|
+
const headers = {};
|
|
380
|
+
b.bp("/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}");
|
|
381
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
382
|
+
b.p("testCaseId", () => input.testCaseId, "{testCaseId}", false);
|
|
383
|
+
const query = map({
|
|
384
|
+
[_uA]: [
|
|
385
|
+
__expectNonNull(input.lastUpdatedAt, `lastUpdatedAt`) != null,
|
|
386
|
+
() => __serializeDateTime(input[_lUA]).toString(),
|
|
387
|
+
],
|
|
388
|
+
});
|
|
389
|
+
let body;
|
|
390
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
391
|
+
return b.build();
|
|
392
|
+
};
|
|
290
393
|
export const se_DeleteCustomModelCommand = async (input, context) => {
|
|
291
394
|
const b = rb(input, context);
|
|
292
395
|
const headers = {};
|
|
@@ -392,6 +495,88 @@ export const se_DeregisterMarketplaceModelEndpointCommand = async (input, contex
|
|
|
392
495
|
b.m("DELETE").h(headers).b(body);
|
|
393
496
|
return b.build();
|
|
394
497
|
};
|
|
498
|
+
export const se_ExportAutomatedReasoningPolicyVersionCommand = async (input, context) => {
|
|
499
|
+
const b = rb(input, context);
|
|
500
|
+
const headers = {};
|
|
501
|
+
b.bp("/automated-reasoning-policies/{policyArn}/export");
|
|
502
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
503
|
+
let body;
|
|
504
|
+
b.m("GET").h(headers).b(body);
|
|
505
|
+
return b.build();
|
|
506
|
+
};
|
|
507
|
+
export const se_GetAutomatedReasoningPolicyCommand = async (input, context) => {
|
|
508
|
+
const b = rb(input, context);
|
|
509
|
+
const headers = {};
|
|
510
|
+
b.bp("/automated-reasoning-policies/{policyArn}");
|
|
511
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
512
|
+
let body;
|
|
513
|
+
b.m("GET").h(headers).b(body);
|
|
514
|
+
return b.build();
|
|
515
|
+
};
|
|
516
|
+
export const se_GetAutomatedReasoningPolicyAnnotationsCommand = async (input, context) => {
|
|
517
|
+
const b = rb(input, context);
|
|
518
|
+
const headers = {};
|
|
519
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations");
|
|
520
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
521
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
522
|
+
let body;
|
|
523
|
+
b.m("GET").h(headers).b(body);
|
|
524
|
+
return b.build();
|
|
525
|
+
};
|
|
526
|
+
export const se_GetAutomatedReasoningPolicyBuildWorkflowCommand = async (input, context) => {
|
|
527
|
+
const b = rb(input, context);
|
|
528
|
+
const headers = {};
|
|
529
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}");
|
|
530
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
531
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
532
|
+
let body;
|
|
533
|
+
b.m("GET").h(headers).b(body);
|
|
534
|
+
return b.build();
|
|
535
|
+
};
|
|
536
|
+
export const se_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand = async (input, context) => {
|
|
537
|
+
const b = rb(input, context);
|
|
538
|
+
const headers = {};
|
|
539
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/result-assets");
|
|
540
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
541
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
542
|
+
const query = map({
|
|
543
|
+
[_aT]: [, __expectNonNull(input[_aT], `assetType`)],
|
|
544
|
+
});
|
|
545
|
+
let body;
|
|
546
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
547
|
+
return b.build();
|
|
548
|
+
};
|
|
549
|
+
export const se_GetAutomatedReasoningPolicyNextScenarioCommand = async (input, context) => {
|
|
550
|
+
const b = rb(input, context);
|
|
551
|
+
const headers = {};
|
|
552
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/scenarios");
|
|
553
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
554
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
555
|
+
let body;
|
|
556
|
+
b.m("GET").h(headers).b(body);
|
|
557
|
+
return b.build();
|
|
558
|
+
};
|
|
559
|
+
export const se_GetAutomatedReasoningPolicyTestCaseCommand = async (input, context) => {
|
|
560
|
+
const b = rb(input, context);
|
|
561
|
+
const headers = {};
|
|
562
|
+
b.bp("/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}");
|
|
563
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
564
|
+
b.p("testCaseId", () => input.testCaseId, "{testCaseId}", false);
|
|
565
|
+
let body;
|
|
566
|
+
b.m("GET").h(headers).b(body);
|
|
567
|
+
return b.build();
|
|
568
|
+
};
|
|
569
|
+
export const se_GetAutomatedReasoningPolicyTestResultCommand = async (input, context) => {
|
|
570
|
+
const b = rb(input, context);
|
|
571
|
+
const headers = {};
|
|
572
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-cases/{testCaseId}/test-results");
|
|
573
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
574
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
575
|
+
b.p("testCaseId", () => input.testCaseId, "{testCaseId}", false);
|
|
576
|
+
let body;
|
|
577
|
+
b.m("GET").h(headers).b(body);
|
|
578
|
+
return b.build();
|
|
579
|
+
};
|
|
395
580
|
export const se_GetCustomModelCommand = async (input, context) => {
|
|
396
581
|
const b = rb(input, context);
|
|
397
582
|
const headers = {};
|
|
@@ -546,6 +731,59 @@ export const se_GetUseCaseForModelAccessCommand = async (input, context) => {
|
|
|
546
731
|
b.m("GET").h(headers).b(body);
|
|
547
732
|
return b.build();
|
|
548
733
|
};
|
|
734
|
+
export const se_ListAutomatedReasoningPoliciesCommand = async (input, context) => {
|
|
735
|
+
const b = rb(input, context);
|
|
736
|
+
const headers = {};
|
|
737
|
+
b.bp("/automated-reasoning-policies");
|
|
738
|
+
const query = map({
|
|
739
|
+
[_pA]: [, input[_pA]],
|
|
740
|
+
[_nT]: [, input[_nT]],
|
|
741
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
742
|
+
});
|
|
743
|
+
let body;
|
|
744
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
745
|
+
return b.build();
|
|
746
|
+
};
|
|
747
|
+
export const se_ListAutomatedReasoningPolicyBuildWorkflowsCommand = async (input, context) => {
|
|
748
|
+
const b = rb(input, context);
|
|
749
|
+
const headers = {};
|
|
750
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows");
|
|
751
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
752
|
+
const query = map({
|
|
753
|
+
[_nT]: [, input[_nT]],
|
|
754
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
755
|
+
});
|
|
756
|
+
let body;
|
|
757
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
758
|
+
return b.build();
|
|
759
|
+
};
|
|
760
|
+
export const se_ListAutomatedReasoningPolicyTestCasesCommand = async (input, context) => {
|
|
761
|
+
const b = rb(input, context);
|
|
762
|
+
const headers = {};
|
|
763
|
+
b.bp("/automated-reasoning-policies/{policyArn}/test-cases");
|
|
764
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
765
|
+
const query = map({
|
|
766
|
+
[_nT]: [, input[_nT]],
|
|
767
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
768
|
+
});
|
|
769
|
+
let body;
|
|
770
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
771
|
+
return b.build();
|
|
772
|
+
};
|
|
773
|
+
export const se_ListAutomatedReasoningPolicyTestResultsCommand = async (input, context) => {
|
|
774
|
+
const b = rb(input, context);
|
|
775
|
+
const headers = {};
|
|
776
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-results");
|
|
777
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
778
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
779
|
+
const query = map({
|
|
780
|
+
[_nT]: [, input[_nT]],
|
|
781
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
782
|
+
});
|
|
783
|
+
let body;
|
|
784
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
785
|
+
return b.build();
|
|
786
|
+
};
|
|
549
787
|
export const se_ListCustomModelDeploymentsCommand = async (input, context) => {
|
|
550
788
|
const b = rb(input, context);
|
|
551
789
|
const headers = {};
|
|
@@ -846,6 +1084,42 @@ export const se_RegisterMarketplaceModelEndpointCommand = async (input, context)
|
|
|
846
1084
|
b.m("POST").h(headers).b(body);
|
|
847
1085
|
return b.build();
|
|
848
1086
|
};
|
|
1087
|
+
export const se_StartAutomatedReasoningPolicyBuildWorkflowCommand = async (input, context) => {
|
|
1088
|
+
const b = rb(input, context);
|
|
1089
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1090
|
+
"content-type": "application/json",
|
|
1091
|
+
[_xact]: input[_cRT] ?? generateIdempotencyToken(),
|
|
1092
|
+
});
|
|
1093
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowType}/start");
|
|
1094
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
1095
|
+
b.p("buildWorkflowType", () => input.buildWorkflowType, "{buildWorkflowType}", false);
|
|
1096
|
+
let body;
|
|
1097
|
+
if (input.sourceContent !== undefined) {
|
|
1098
|
+
body = se_AutomatedReasoningPolicyBuildWorkflowSource(input.sourceContent, context);
|
|
1099
|
+
}
|
|
1100
|
+
if (body === undefined) {
|
|
1101
|
+
body = {};
|
|
1102
|
+
}
|
|
1103
|
+
body = JSON.stringify(body);
|
|
1104
|
+
b.m("POST").h(headers).b(body);
|
|
1105
|
+
return b.build();
|
|
1106
|
+
};
|
|
1107
|
+
export const se_StartAutomatedReasoningPolicyTestWorkflowCommand = async (input, context) => {
|
|
1108
|
+
const b = rb(input, context);
|
|
1109
|
+
const headers = {
|
|
1110
|
+
"content-type": "application/json",
|
|
1111
|
+
};
|
|
1112
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-workflows");
|
|
1113
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
1114
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
1115
|
+
let body;
|
|
1116
|
+
body = JSON.stringify(take(input, {
|
|
1117
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1118
|
+
testCaseIds: (_) => _json(_),
|
|
1119
|
+
}));
|
|
1120
|
+
b.m("POST").h(headers).b(body);
|
|
1121
|
+
return b.build();
|
|
1122
|
+
};
|
|
849
1123
|
export const se_StopEvaluationJobCommand = async (input, context) => {
|
|
850
1124
|
const b = rb(input, context);
|
|
851
1125
|
const headers = {};
|
|
@@ -901,6 +1175,59 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
901
1175
|
b.m("POST").h(headers).b(body);
|
|
902
1176
|
return b.build();
|
|
903
1177
|
};
|
|
1178
|
+
export const se_UpdateAutomatedReasoningPolicyCommand = async (input, context) => {
|
|
1179
|
+
const b = rb(input, context);
|
|
1180
|
+
const headers = {
|
|
1181
|
+
"content-type": "application/json",
|
|
1182
|
+
};
|
|
1183
|
+
b.bp("/automated-reasoning-policies/{policyArn}");
|
|
1184
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
1185
|
+
let body;
|
|
1186
|
+
body = JSON.stringify(take(input, {
|
|
1187
|
+
description: [],
|
|
1188
|
+
name: [],
|
|
1189
|
+
policyDefinition: (_) => _json(_),
|
|
1190
|
+
}));
|
|
1191
|
+
b.m("PATCH").h(headers).b(body);
|
|
1192
|
+
return b.build();
|
|
1193
|
+
};
|
|
1194
|
+
export const se_UpdateAutomatedReasoningPolicyAnnotationsCommand = async (input, context) => {
|
|
1195
|
+
const b = rb(input, context);
|
|
1196
|
+
const headers = {
|
|
1197
|
+
"content-type": "application/json",
|
|
1198
|
+
};
|
|
1199
|
+
b.bp("/automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations");
|
|
1200
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
1201
|
+
b.p("buildWorkflowId", () => input.buildWorkflowId, "{buildWorkflowId}", false);
|
|
1202
|
+
let body;
|
|
1203
|
+
body = JSON.stringify(take(input, {
|
|
1204
|
+
annotations: (_) => _json(_),
|
|
1205
|
+
lastUpdatedAnnotationSetHash: [],
|
|
1206
|
+
}));
|
|
1207
|
+
b.m("PATCH").h(headers).b(body);
|
|
1208
|
+
return b.build();
|
|
1209
|
+
};
|
|
1210
|
+
export const se_UpdateAutomatedReasoningPolicyTestCaseCommand = async (input, context) => {
|
|
1211
|
+
const b = rb(input, context);
|
|
1212
|
+
const headers = {
|
|
1213
|
+
"content-type": "application/json",
|
|
1214
|
+
};
|
|
1215
|
+
b.bp("/automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}");
|
|
1216
|
+
b.p("policyArn", () => input.policyArn, "{policyArn}", false);
|
|
1217
|
+
b.p("testCaseId", () => input.testCaseId, "{testCaseId}", false);
|
|
1218
|
+
let body;
|
|
1219
|
+
body = JSON.stringify(take(input, {
|
|
1220
|
+
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1221
|
+
confidenceThreshold: (_) => __serializeFloat(_),
|
|
1222
|
+
expectedAggregatedFindingsResult: [],
|
|
1223
|
+
guardContent: [],
|
|
1224
|
+
kmsKeyArn: [],
|
|
1225
|
+
lastUpdatedAt: (_) => __serializeDateTime(_),
|
|
1226
|
+
queryContent: [],
|
|
1227
|
+
}));
|
|
1228
|
+
b.m("PATCH").h(headers).b(body);
|
|
1229
|
+
return b.build();
|
|
1230
|
+
};
|
|
904
1231
|
export const se_UpdateGuardrailCommand = async (input, context) => {
|
|
905
1232
|
const b = rb(input, context);
|
|
906
1233
|
const headers = {
|
|
@@ -910,6 +1237,7 @@ export const se_UpdateGuardrailCommand = async (input, context) => {
|
|
|
910
1237
|
b.p("guardrailIdentifier", () => input.guardrailIdentifier, "{guardrailIdentifier}", false);
|
|
911
1238
|
let body;
|
|
912
1239
|
body = JSON.stringify(take(input, {
|
|
1240
|
+
automatedReasoningPolicyConfig: (_) => se_GuardrailAutomatedReasoningPolicyConfig(_, context),
|
|
913
1241
|
blockedInputMessaging: [],
|
|
914
1242
|
blockedOutputsMessaging: [],
|
|
915
1243
|
contentPolicyConfig: (_) => _json(_),
|
|
@@ -970,6 +1298,70 @@ export const de_BatchDeleteEvaluationJobCommand = async (output, context) => {
|
|
|
970
1298
|
Object.assign(contents, doc);
|
|
971
1299
|
return contents;
|
|
972
1300
|
};
|
|
1301
|
+
export const de_CancelAutomatedReasoningPolicyBuildWorkflowCommand = async (output, context) => {
|
|
1302
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1303
|
+
return de_CommandError(output, context);
|
|
1304
|
+
}
|
|
1305
|
+
const contents = map({
|
|
1306
|
+
$metadata: deserializeMetadata(output),
|
|
1307
|
+
});
|
|
1308
|
+
await collectBody(output.body, context);
|
|
1309
|
+
return contents;
|
|
1310
|
+
};
|
|
1311
|
+
export const de_CreateAutomatedReasoningPolicyCommand = async (output, context) => {
|
|
1312
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1313
|
+
return de_CommandError(output, context);
|
|
1314
|
+
}
|
|
1315
|
+
const contents = map({
|
|
1316
|
+
$metadata: deserializeMetadata(output),
|
|
1317
|
+
});
|
|
1318
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1319
|
+
const doc = take(data, {
|
|
1320
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1321
|
+
definitionHash: __expectString,
|
|
1322
|
+
description: __expectString,
|
|
1323
|
+
name: __expectString,
|
|
1324
|
+
policyArn: __expectString,
|
|
1325
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1326
|
+
version: __expectString,
|
|
1327
|
+
});
|
|
1328
|
+
Object.assign(contents, doc);
|
|
1329
|
+
return contents;
|
|
1330
|
+
};
|
|
1331
|
+
export const de_CreateAutomatedReasoningPolicyTestCaseCommand = async (output, context) => {
|
|
1332
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1333
|
+
return de_CommandError(output, context);
|
|
1334
|
+
}
|
|
1335
|
+
const contents = map({
|
|
1336
|
+
$metadata: deserializeMetadata(output),
|
|
1337
|
+
});
|
|
1338
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1339
|
+
const doc = take(data, {
|
|
1340
|
+
policyArn: __expectString,
|
|
1341
|
+
testCaseId: __expectString,
|
|
1342
|
+
});
|
|
1343
|
+
Object.assign(contents, doc);
|
|
1344
|
+
return contents;
|
|
1345
|
+
};
|
|
1346
|
+
export const de_CreateAutomatedReasoningPolicyVersionCommand = async (output, context) => {
|
|
1347
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1348
|
+
return de_CommandError(output, context);
|
|
1349
|
+
}
|
|
1350
|
+
const contents = map({
|
|
1351
|
+
$metadata: deserializeMetadata(output),
|
|
1352
|
+
});
|
|
1353
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1354
|
+
const doc = take(data, {
|
|
1355
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1356
|
+
definitionHash: __expectString,
|
|
1357
|
+
description: __expectString,
|
|
1358
|
+
name: __expectString,
|
|
1359
|
+
policyArn: __expectString,
|
|
1360
|
+
version: __expectString,
|
|
1361
|
+
});
|
|
1362
|
+
Object.assign(contents, doc);
|
|
1363
|
+
return contents;
|
|
1364
|
+
};
|
|
973
1365
|
export const de_CreateCustomModelCommand = async (output, context) => {
|
|
974
1366
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
975
1367
|
return de_CommandError(output, context);
|
|
@@ -1171,6 +1563,36 @@ export const de_CreateProvisionedModelThroughputCommand = async (output, context
|
|
|
1171
1563
|
Object.assign(contents, doc);
|
|
1172
1564
|
return contents;
|
|
1173
1565
|
};
|
|
1566
|
+
export const de_DeleteAutomatedReasoningPolicyCommand = async (output, context) => {
|
|
1567
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1568
|
+
return de_CommandError(output, context);
|
|
1569
|
+
}
|
|
1570
|
+
const contents = map({
|
|
1571
|
+
$metadata: deserializeMetadata(output),
|
|
1572
|
+
});
|
|
1573
|
+
await collectBody(output.body, context);
|
|
1574
|
+
return contents;
|
|
1575
|
+
};
|
|
1576
|
+
export const de_DeleteAutomatedReasoningPolicyBuildWorkflowCommand = async (output, context) => {
|
|
1577
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1578
|
+
return de_CommandError(output, context);
|
|
1579
|
+
}
|
|
1580
|
+
const contents = map({
|
|
1581
|
+
$metadata: deserializeMetadata(output),
|
|
1582
|
+
});
|
|
1583
|
+
await collectBody(output.body, context);
|
|
1584
|
+
return contents;
|
|
1585
|
+
};
|
|
1586
|
+
export const de_DeleteAutomatedReasoningPolicyTestCaseCommand = async (output, context) => {
|
|
1587
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1588
|
+
return de_CommandError(output, context);
|
|
1589
|
+
}
|
|
1590
|
+
const contents = map({
|
|
1591
|
+
$metadata: deserializeMetadata(output),
|
|
1592
|
+
});
|
|
1593
|
+
await collectBody(output.body, context);
|
|
1594
|
+
return contents;
|
|
1595
|
+
};
|
|
1174
1596
|
export const de_DeleteCustomModelCommand = async (output, context) => {
|
|
1175
1597
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1176
1598
|
return de_CommandError(output, context);
|
|
@@ -1281,6 +1703,139 @@ export const de_DeregisterMarketplaceModelEndpointCommand = async (output, conte
|
|
|
1281
1703
|
await collectBody(output.body, context);
|
|
1282
1704
|
return contents;
|
|
1283
1705
|
};
|
|
1706
|
+
export const de_ExportAutomatedReasoningPolicyVersionCommand = async (output, context) => {
|
|
1707
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1708
|
+
return de_CommandError(output, context);
|
|
1709
|
+
}
|
|
1710
|
+
const contents = map({
|
|
1711
|
+
$metadata: deserializeMetadata(output),
|
|
1712
|
+
});
|
|
1713
|
+
const data = __expectObject(await parseBody(output.body, context));
|
|
1714
|
+
contents.policyDefinition = _json(data);
|
|
1715
|
+
return contents;
|
|
1716
|
+
};
|
|
1717
|
+
export const de_GetAutomatedReasoningPolicyCommand = async (output, context) => {
|
|
1718
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
|
+
return de_CommandError(output, context);
|
|
1720
|
+
}
|
|
1721
|
+
const contents = map({
|
|
1722
|
+
$metadata: deserializeMetadata(output),
|
|
1723
|
+
});
|
|
1724
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1725
|
+
const doc = take(data, {
|
|
1726
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1727
|
+
definitionHash: __expectString,
|
|
1728
|
+
description: __expectString,
|
|
1729
|
+
name: __expectString,
|
|
1730
|
+
policyArn: __expectString,
|
|
1731
|
+
policyId: __expectString,
|
|
1732
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1733
|
+
version: __expectString,
|
|
1734
|
+
});
|
|
1735
|
+
Object.assign(contents, doc);
|
|
1736
|
+
return contents;
|
|
1737
|
+
};
|
|
1738
|
+
export const de_GetAutomatedReasoningPolicyAnnotationsCommand = async (output, context) => {
|
|
1739
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1740
|
+
return de_CommandError(output, context);
|
|
1741
|
+
}
|
|
1742
|
+
const contents = map({
|
|
1743
|
+
$metadata: deserializeMetadata(output),
|
|
1744
|
+
});
|
|
1745
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1746
|
+
const doc = take(data, {
|
|
1747
|
+
annotationSetHash: __expectString,
|
|
1748
|
+
annotations: _json,
|
|
1749
|
+
buildWorkflowId: __expectString,
|
|
1750
|
+
name: __expectString,
|
|
1751
|
+
policyArn: __expectString,
|
|
1752
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1753
|
+
});
|
|
1754
|
+
Object.assign(contents, doc);
|
|
1755
|
+
return contents;
|
|
1756
|
+
};
|
|
1757
|
+
export const de_GetAutomatedReasoningPolicyBuildWorkflowCommand = async (output, context) => {
|
|
1758
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
+
return de_CommandError(output, context);
|
|
1760
|
+
}
|
|
1761
|
+
const contents = map({
|
|
1762
|
+
$metadata: deserializeMetadata(output),
|
|
1763
|
+
});
|
|
1764
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1765
|
+
const doc = take(data, {
|
|
1766
|
+
buildWorkflowId: __expectString,
|
|
1767
|
+
buildWorkflowType: __expectString,
|
|
1768
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1769
|
+
documentContentType: __expectString,
|
|
1770
|
+
documentDescription: __expectString,
|
|
1771
|
+
documentName: __expectString,
|
|
1772
|
+
policyArn: __expectString,
|
|
1773
|
+
status: __expectString,
|
|
1774
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1775
|
+
});
|
|
1776
|
+
Object.assign(contents, doc);
|
|
1777
|
+
return contents;
|
|
1778
|
+
};
|
|
1779
|
+
export const de_GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand = async (output, context) => {
|
|
1780
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1781
|
+
return de_CommandError(output, context);
|
|
1782
|
+
}
|
|
1783
|
+
const contents = map({
|
|
1784
|
+
$metadata: deserializeMetadata(output),
|
|
1785
|
+
});
|
|
1786
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1787
|
+
const doc = take(data, {
|
|
1788
|
+
buildWorkflowAssets: (_) => de_AutomatedReasoningPolicyBuildResultAssets(__expectUnion(_), context),
|
|
1789
|
+
buildWorkflowId: __expectString,
|
|
1790
|
+
policyArn: __expectString,
|
|
1791
|
+
});
|
|
1792
|
+
Object.assign(contents, doc);
|
|
1793
|
+
return contents;
|
|
1794
|
+
};
|
|
1795
|
+
export const de_GetAutomatedReasoningPolicyNextScenarioCommand = async (output, context) => {
|
|
1796
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1797
|
+
return de_CommandError(output, context);
|
|
1798
|
+
}
|
|
1799
|
+
const contents = map({
|
|
1800
|
+
$metadata: deserializeMetadata(output),
|
|
1801
|
+
});
|
|
1802
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1803
|
+
const doc = take(data, {
|
|
1804
|
+
policyArn: __expectString,
|
|
1805
|
+
scenario: _json,
|
|
1806
|
+
});
|
|
1807
|
+
Object.assign(contents, doc);
|
|
1808
|
+
return contents;
|
|
1809
|
+
};
|
|
1810
|
+
export const de_GetAutomatedReasoningPolicyTestCaseCommand = async (output, context) => {
|
|
1811
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1812
|
+
return de_CommandError(output, context);
|
|
1813
|
+
}
|
|
1814
|
+
const contents = map({
|
|
1815
|
+
$metadata: deserializeMetadata(output),
|
|
1816
|
+
});
|
|
1817
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1818
|
+
const doc = take(data, {
|
|
1819
|
+
policyArn: __expectString,
|
|
1820
|
+
testCase: (_) => de_AutomatedReasoningPolicyTestCase(_, context),
|
|
1821
|
+
});
|
|
1822
|
+
Object.assign(contents, doc);
|
|
1823
|
+
return contents;
|
|
1824
|
+
};
|
|
1825
|
+
export const de_GetAutomatedReasoningPolicyTestResultCommand = async (output, context) => {
|
|
1826
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1827
|
+
return de_CommandError(output, context);
|
|
1828
|
+
}
|
|
1829
|
+
const contents = map({
|
|
1830
|
+
$metadata: deserializeMetadata(output),
|
|
1831
|
+
});
|
|
1832
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1833
|
+
const doc = take(data, {
|
|
1834
|
+
testResult: (_) => de_AutomatedReasoningPolicyTestResult(_, context),
|
|
1835
|
+
});
|
|
1836
|
+
Object.assign(contents, doc);
|
|
1837
|
+
return contents;
|
|
1838
|
+
};
|
|
1284
1839
|
export const de_GetCustomModelCommand = async (output, context) => {
|
|
1285
1840
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1286
1841
|
return de_CommandError(output, context);
|
|
@@ -1400,6 +1955,7 @@ export const de_GetGuardrailCommand = async (output, context) => {
|
|
|
1400
1955
|
});
|
|
1401
1956
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1402
1957
|
const doc = take(data, {
|
|
1958
|
+
automatedReasoningPolicy: (_) => de_GuardrailAutomatedReasoningPolicy(_, context),
|
|
1403
1959
|
blockedInputMessaging: __expectString,
|
|
1404
1960
|
blockedOutputsMessaging: __expectString,
|
|
1405
1961
|
contentPolicy: _json,
|
|
@@ -1596,7 +2152,84 @@ export const de_GetModelInvocationJobCommand = async (output, context) => {
|
|
|
1596
2152
|
Object.assign(contents, doc);
|
|
1597
2153
|
return contents;
|
|
1598
2154
|
};
|
|
1599
|
-
export const de_GetModelInvocationLoggingConfigurationCommand = async (output, context) => {
|
|
2155
|
+
export const de_GetModelInvocationLoggingConfigurationCommand = async (output, context) => {
|
|
2156
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2157
|
+
return de_CommandError(output, context);
|
|
2158
|
+
}
|
|
2159
|
+
const contents = map({
|
|
2160
|
+
$metadata: deserializeMetadata(output),
|
|
2161
|
+
});
|
|
2162
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2163
|
+
const doc = take(data, {
|
|
2164
|
+
loggingConfig: _json,
|
|
2165
|
+
});
|
|
2166
|
+
Object.assign(contents, doc);
|
|
2167
|
+
return contents;
|
|
2168
|
+
};
|
|
2169
|
+
export const de_GetPromptRouterCommand = async (output, context) => {
|
|
2170
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2171
|
+
return de_CommandError(output, context);
|
|
2172
|
+
}
|
|
2173
|
+
const contents = map({
|
|
2174
|
+
$metadata: deserializeMetadata(output),
|
|
2175
|
+
});
|
|
2176
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2177
|
+
const doc = take(data, {
|
|
2178
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2179
|
+
description: __expectString,
|
|
2180
|
+
fallbackModel: _json,
|
|
2181
|
+
models: _json,
|
|
2182
|
+
promptRouterArn: __expectString,
|
|
2183
|
+
promptRouterName: __expectString,
|
|
2184
|
+
routingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
2185
|
+
status: __expectString,
|
|
2186
|
+
type: __expectString,
|
|
2187
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2188
|
+
});
|
|
2189
|
+
Object.assign(contents, doc);
|
|
2190
|
+
return contents;
|
|
2191
|
+
};
|
|
2192
|
+
export const de_GetProvisionedModelThroughputCommand = async (output, context) => {
|
|
2193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2194
|
+
return de_CommandError(output, context);
|
|
2195
|
+
}
|
|
2196
|
+
const contents = map({
|
|
2197
|
+
$metadata: deserializeMetadata(output),
|
|
2198
|
+
});
|
|
2199
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2200
|
+
const doc = take(data, {
|
|
2201
|
+
commitmentDuration: __expectString,
|
|
2202
|
+
commitmentExpirationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2203
|
+
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2204
|
+
desiredModelArn: __expectString,
|
|
2205
|
+
desiredModelUnits: __expectInt32,
|
|
2206
|
+
failureMessage: __expectString,
|
|
2207
|
+
foundationModelArn: __expectString,
|
|
2208
|
+
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2209
|
+
modelArn: __expectString,
|
|
2210
|
+
modelUnits: __expectInt32,
|
|
2211
|
+
provisionedModelArn: __expectString,
|
|
2212
|
+
provisionedModelName: __expectString,
|
|
2213
|
+
status: __expectString,
|
|
2214
|
+
});
|
|
2215
|
+
Object.assign(contents, doc);
|
|
2216
|
+
return contents;
|
|
2217
|
+
};
|
|
2218
|
+
export const de_GetUseCaseForModelAccessCommand = async (output, context) => {
|
|
2219
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2220
|
+
return de_CommandError(output, context);
|
|
2221
|
+
}
|
|
2222
|
+
const contents = map({
|
|
2223
|
+
$metadata: deserializeMetadata(output),
|
|
2224
|
+
});
|
|
2225
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2226
|
+
const doc = take(data, {
|
|
2227
|
+
formData: context.base64Decoder,
|
|
2228
|
+
});
|
|
2229
|
+
Object.assign(contents, doc);
|
|
2230
|
+
return contents;
|
|
2231
|
+
};
|
|
2232
|
+
export const de_ListAutomatedReasoningPoliciesCommand = async (output, context) => {
|
|
1600
2233
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1601
2234
|
return de_CommandError(output, context);
|
|
1602
2235
|
}
|
|
@@ -1605,12 +2238,13 @@ export const de_GetModelInvocationLoggingConfigurationCommand = async (output, c
|
|
|
1605
2238
|
});
|
|
1606
2239
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1607
2240
|
const doc = take(data, {
|
|
1608
|
-
|
|
2241
|
+
automatedReasoningPolicySummaries: (_) => de_AutomatedReasoningPolicySummaries(_, context),
|
|
2242
|
+
nextToken: __expectString,
|
|
1609
2243
|
});
|
|
1610
2244
|
Object.assign(contents, doc);
|
|
1611
2245
|
return contents;
|
|
1612
2246
|
};
|
|
1613
|
-
export const
|
|
2247
|
+
export const de_ListAutomatedReasoningPolicyBuildWorkflowsCommand = async (output, context) => {
|
|
1614
2248
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1615
2249
|
return de_CommandError(output, context);
|
|
1616
2250
|
}
|
|
@@ -1619,21 +2253,13 @@ export const de_GetPromptRouterCommand = async (output, context) => {
|
|
|
1619
2253
|
});
|
|
1620
2254
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1621
2255
|
const doc = take(data, {
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
fallbackModel: _json,
|
|
1625
|
-
models: _json,
|
|
1626
|
-
promptRouterArn: __expectString,
|
|
1627
|
-
promptRouterName: __expectString,
|
|
1628
|
-
routingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
1629
|
-
status: __expectString,
|
|
1630
|
-
type: __expectString,
|
|
1631
|
-
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2256
|
+
automatedReasoningPolicyBuildWorkflowSummaries: (_) => de_AutomatedReasoningPolicyBuildWorkflowSummaries(_, context),
|
|
2257
|
+
nextToken: __expectString,
|
|
1632
2258
|
});
|
|
1633
2259
|
Object.assign(contents, doc);
|
|
1634
2260
|
return contents;
|
|
1635
2261
|
};
|
|
1636
|
-
export const
|
|
2262
|
+
export const de_ListAutomatedReasoningPolicyTestCasesCommand = async (output, context) => {
|
|
1637
2263
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1638
2264
|
return de_CommandError(output, context);
|
|
1639
2265
|
}
|
|
@@ -1642,24 +2268,13 @@ export const de_GetProvisionedModelThroughputCommand = async (output, context) =
|
|
|
1642
2268
|
});
|
|
1643
2269
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1644
2270
|
const doc = take(data, {
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
creationTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1648
|
-
desiredModelArn: __expectString,
|
|
1649
|
-
desiredModelUnits: __expectInt32,
|
|
1650
|
-
failureMessage: __expectString,
|
|
1651
|
-
foundationModelArn: __expectString,
|
|
1652
|
-
lastModifiedTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1653
|
-
modelArn: __expectString,
|
|
1654
|
-
modelUnits: __expectInt32,
|
|
1655
|
-
provisionedModelArn: __expectString,
|
|
1656
|
-
provisionedModelName: __expectString,
|
|
1657
|
-
status: __expectString,
|
|
2271
|
+
nextToken: __expectString,
|
|
2272
|
+
testCases: (_) => de_AutomatedReasoningPolicyTestCaseList(_, context),
|
|
1658
2273
|
});
|
|
1659
2274
|
Object.assign(contents, doc);
|
|
1660
2275
|
return contents;
|
|
1661
2276
|
};
|
|
1662
|
-
export const
|
|
2277
|
+
export const de_ListAutomatedReasoningPolicyTestResultsCommand = async (output, context) => {
|
|
1663
2278
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1664
2279
|
return de_CommandError(output, context);
|
|
1665
2280
|
}
|
|
@@ -1668,7 +2283,8 @@ export const de_GetUseCaseForModelAccessCommand = async (output, context) => {
|
|
|
1668
2283
|
});
|
|
1669
2284
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1670
2285
|
const doc = take(data, {
|
|
1671
|
-
|
|
2286
|
+
nextToken: __expectString,
|
|
2287
|
+
testResults: (_) => de_AutomatedReasoningPolicyTestList(_, context),
|
|
1672
2288
|
});
|
|
1673
2289
|
Object.assign(contents, doc);
|
|
1674
2290
|
return contents;
|
|
@@ -1945,6 +2561,35 @@ export const de_RegisterMarketplaceModelEndpointCommand = async (output, context
|
|
|
1945
2561
|
Object.assign(contents, doc);
|
|
1946
2562
|
return contents;
|
|
1947
2563
|
};
|
|
2564
|
+
export const de_StartAutomatedReasoningPolicyBuildWorkflowCommand = async (output, context) => {
|
|
2565
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2566
|
+
return de_CommandError(output, context);
|
|
2567
|
+
}
|
|
2568
|
+
const contents = map({
|
|
2569
|
+
$metadata: deserializeMetadata(output),
|
|
2570
|
+
});
|
|
2571
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2572
|
+
const doc = take(data, {
|
|
2573
|
+
buildWorkflowId: __expectString,
|
|
2574
|
+
policyArn: __expectString,
|
|
2575
|
+
});
|
|
2576
|
+
Object.assign(contents, doc);
|
|
2577
|
+
return contents;
|
|
2578
|
+
};
|
|
2579
|
+
export const de_StartAutomatedReasoningPolicyTestWorkflowCommand = async (output, context) => {
|
|
2580
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2581
|
+
return de_CommandError(output, context);
|
|
2582
|
+
}
|
|
2583
|
+
const contents = map({
|
|
2584
|
+
$metadata: deserializeMetadata(output),
|
|
2585
|
+
});
|
|
2586
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2587
|
+
const doc = take(data, {
|
|
2588
|
+
policyArn: __expectString,
|
|
2589
|
+
});
|
|
2590
|
+
Object.assign(contents, doc);
|
|
2591
|
+
return contents;
|
|
2592
|
+
};
|
|
1948
2593
|
export const de_StopEvaluationJobCommand = async (output, context) => {
|
|
1949
2594
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1950
2595
|
return de_CommandError(output, context);
|
|
@@ -1995,6 +2640,55 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1995
2640
|
await collectBody(output.body, context);
|
|
1996
2641
|
return contents;
|
|
1997
2642
|
};
|
|
2643
|
+
export const de_UpdateAutomatedReasoningPolicyCommand = async (output, context) => {
|
|
2644
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2645
|
+
return de_CommandError(output, context);
|
|
2646
|
+
}
|
|
2647
|
+
const contents = map({
|
|
2648
|
+
$metadata: deserializeMetadata(output),
|
|
2649
|
+
});
|
|
2650
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2651
|
+
const doc = take(data, {
|
|
2652
|
+
definitionHash: __expectString,
|
|
2653
|
+
name: __expectString,
|
|
2654
|
+
policyArn: __expectString,
|
|
2655
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2656
|
+
});
|
|
2657
|
+
Object.assign(contents, doc);
|
|
2658
|
+
return contents;
|
|
2659
|
+
};
|
|
2660
|
+
export const de_UpdateAutomatedReasoningPolicyAnnotationsCommand = async (output, context) => {
|
|
2661
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2662
|
+
return de_CommandError(output, context);
|
|
2663
|
+
}
|
|
2664
|
+
const contents = map({
|
|
2665
|
+
$metadata: deserializeMetadata(output),
|
|
2666
|
+
});
|
|
2667
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2668
|
+
const doc = take(data, {
|
|
2669
|
+
annotationSetHash: __expectString,
|
|
2670
|
+
buildWorkflowId: __expectString,
|
|
2671
|
+
policyArn: __expectString,
|
|
2672
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2673
|
+
});
|
|
2674
|
+
Object.assign(contents, doc);
|
|
2675
|
+
return contents;
|
|
2676
|
+
};
|
|
2677
|
+
export const de_UpdateAutomatedReasoningPolicyTestCaseCommand = async (output, context) => {
|
|
2678
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2679
|
+
return de_CommandError(output, context);
|
|
2680
|
+
}
|
|
2681
|
+
const contents = map({
|
|
2682
|
+
$metadata: deserializeMetadata(output),
|
|
2683
|
+
});
|
|
2684
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2685
|
+
const doc = take(data, {
|
|
2686
|
+
policyArn: __expectString,
|
|
2687
|
+
testCaseId: __expectString,
|
|
2688
|
+
});
|
|
2689
|
+
Object.assign(contents, doc);
|
|
2690
|
+
return contents;
|
|
2691
|
+
};
|
|
1998
2692
|
export const de_UpdateGuardrailCommand = async (output, context) => {
|
|
1999
2693
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2000
2694
|
return de_CommandError(output, context);
|
|
@@ -2067,6 +2761,9 @@ const de_CommandError = async (output, context) => {
|
|
|
2067
2761
|
case "TooManyTagsException":
|
|
2068
2762
|
case "com.amazonaws.bedrock#TooManyTagsException":
|
|
2069
2763
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2764
|
+
case "ResourceInUseException":
|
|
2765
|
+
case "com.amazonaws.bedrock#ResourceInUseException":
|
|
2766
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
2070
2767
|
case "ServiceUnavailableException":
|
|
2071
2768
|
case "com.amazonaws.bedrock#ServiceUnavailableException":
|
|
2072
2769
|
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
@@ -2119,6 +2816,19 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2119
2816
|
});
|
|
2120
2817
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2121
2818
|
};
|
|
2819
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
2820
|
+
const contents = map({});
|
|
2821
|
+
const data = parsedOutput.body;
|
|
2822
|
+
const doc = take(data, {
|
|
2823
|
+
message: __expectString,
|
|
2824
|
+
});
|
|
2825
|
+
Object.assign(contents, doc);
|
|
2826
|
+
const exception = new ResourceInUseException({
|
|
2827
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2828
|
+
...contents,
|
|
2829
|
+
});
|
|
2830
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
2831
|
+
};
|
|
2122
2832
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2123
2833
|
const contents = map({});
|
|
2124
2834
|
const data = parsedOutput.body;
|
|
@@ -2236,6 +2946,34 @@ const se_AutomatedEvaluationCustomMetricSource = (input, context) => {
|
|
|
2236
2946
|
_: (name, value) => ({ [name]: value }),
|
|
2237
2947
|
});
|
|
2238
2948
|
};
|
|
2949
|
+
const se_AutomatedReasoningPolicyBuildWorkflowDocument = (input, context) => {
|
|
2950
|
+
return take(input, {
|
|
2951
|
+
document: context.base64Encoder,
|
|
2952
|
+
documentContentType: [],
|
|
2953
|
+
documentDescription: [],
|
|
2954
|
+
documentName: [],
|
|
2955
|
+
});
|
|
2956
|
+
};
|
|
2957
|
+
const se_AutomatedReasoningPolicyBuildWorkflowDocumentList = (input, context) => {
|
|
2958
|
+
return input
|
|
2959
|
+
.filter((e) => e != null)
|
|
2960
|
+
.map((entry) => {
|
|
2961
|
+
return se_AutomatedReasoningPolicyBuildWorkflowDocument(entry, context);
|
|
2962
|
+
});
|
|
2963
|
+
};
|
|
2964
|
+
const se_AutomatedReasoningPolicyBuildWorkflowSource = (input, context) => {
|
|
2965
|
+
return take(input, {
|
|
2966
|
+
policyDefinition: _json,
|
|
2967
|
+
workflowContent: (_) => se_AutomatedReasoningPolicyWorkflowTypeContent(_, context),
|
|
2968
|
+
});
|
|
2969
|
+
};
|
|
2970
|
+
const se_AutomatedReasoningPolicyWorkflowTypeContent = (input, context) => {
|
|
2971
|
+
return AutomatedReasoningPolicyWorkflowTypeContent.visit(input, {
|
|
2972
|
+
documents: (value) => ({ documents: se_AutomatedReasoningPolicyBuildWorkflowDocumentList(value, context) }),
|
|
2973
|
+
policyRepairAssets: (value) => ({ policyRepairAssets: _json(value) }),
|
|
2974
|
+
_: (name, value) => ({ [name]: value }),
|
|
2975
|
+
});
|
|
2976
|
+
};
|
|
2239
2977
|
const se_ByteContentDoc = (input, context) => {
|
|
2240
2978
|
return take(input, {
|
|
2241
2979
|
contentType: [],
|
|
@@ -2310,6 +3048,12 @@ const se_GenerationConfiguration = (input, context) => {
|
|
|
2310
3048
|
promptTemplate: _json,
|
|
2311
3049
|
});
|
|
2312
3050
|
};
|
|
3051
|
+
const se_GuardrailAutomatedReasoningPolicyConfig = (input, context) => {
|
|
3052
|
+
return take(input, {
|
|
3053
|
+
confidenceThreshold: __serializeFloat,
|
|
3054
|
+
policies: _json,
|
|
3055
|
+
});
|
|
3056
|
+
};
|
|
2313
3057
|
const se_GuardrailContextualGroundingFilterConfig = (input, context) => {
|
|
2314
3058
|
return take(input, {
|
|
2315
3059
|
action: [],
|
|
@@ -2512,6 +3256,216 @@ const de_AutomatedEvaluationCustomMetricSource = (output, context) => {
|
|
|
2512
3256
|
}
|
|
2513
3257
|
return { $unknown: Object.entries(output)[0] };
|
|
2514
3258
|
};
|
|
3259
|
+
const de_AutomatedReasoningCheckFinding = (output, context) => {
|
|
3260
|
+
if (output.impossible != null) {
|
|
3261
|
+
return {
|
|
3262
|
+
impossible: de_AutomatedReasoningCheckImpossibleFinding(output.impossible, context),
|
|
3263
|
+
};
|
|
3264
|
+
}
|
|
3265
|
+
if (output.invalid != null) {
|
|
3266
|
+
return {
|
|
3267
|
+
invalid: de_AutomatedReasoningCheckInvalidFinding(output.invalid, context),
|
|
3268
|
+
};
|
|
3269
|
+
}
|
|
3270
|
+
if (output.noTranslations != null) {
|
|
3271
|
+
return {
|
|
3272
|
+
noTranslations: _json(output.noTranslations),
|
|
3273
|
+
};
|
|
3274
|
+
}
|
|
3275
|
+
if (output.satisfiable != null) {
|
|
3276
|
+
return {
|
|
3277
|
+
satisfiable: de_AutomatedReasoningCheckSatisfiableFinding(output.satisfiable, context),
|
|
3278
|
+
};
|
|
3279
|
+
}
|
|
3280
|
+
if (output.tooComplex != null) {
|
|
3281
|
+
return {
|
|
3282
|
+
tooComplex: _json(output.tooComplex),
|
|
3283
|
+
};
|
|
3284
|
+
}
|
|
3285
|
+
if (output.translationAmbiguous != null) {
|
|
3286
|
+
return {
|
|
3287
|
+
translationAmbiguous: de_AutomatedReasoningCheckTranslationAmbiguousFinding(output.translationAmbiguous, context),
|
|
3288
|
+
};
|
|
3289
|
+
}
|
|
3290
|
+
if (output.valid != null) {
|
|
3291
|
+
return {
|
|
3292
|
+
valid: de_AutomatedReasoningCheckValidFinding(output.valid, context),
|
|
3293
|
+
};
|
|
3294
|
+
}
|
|
3295
|
+
return { $unknown: Object.entries(output)[0] };
|
|
3296
|
+
};
|
|
3297
|
+
const de_AutomatedReasoningCheckFindingList = (output, context) => {
|
|
3298
|
+
const retVal = (output || [])
|
|
3299
|
+
.filter((e) => e != null)
|
|
3300
|
+
.map((entry) => {
|
|
3301
|
+
return de_AutomatedReasoningCheckFinding(__expectUnion(entry), context);
|
|
3302
|
+
});
|
|
3303
|
+
return retVal;
|
|
3304
|
+
};
|
|
3305
|
+
const de_AutomatedReasoningCheckImpossibleFinding = (output, context) => {
|
|
3306
|
+
return take(output, {
|
|
3307
|
+
contradictingRules: _json,
|
|
3308
|
+
logicWarning: _json,
|
|
3309
|
+
translation: (_) => de_AutomatedReasoningCheckTranslation(_, context),
|
|
3310
|
+
});
|
|
3311
|
+
};
|
|
3312
|
+
const de_AutomatedReasoningCheckInvalidFinding = (output, context) => {
|
|
3313
|
+
return take(output, {
|
|
3314
|
+
contradictingRules: _json,
|
|
3315
|
+
logicWarning: _json,
|
|
3316
|
+
translation: (_) => de_AutomatedReasoningCheckTranslation(_, context),
|
|
3317
|
+
});
|
|
3318
|
+
};
|
|
3319
|
+
const de_AutomatedReasoningCheckSatisfiableFinding = (output, context) => {
|
|
3320
|
+
return take(output, {
|
|
3321
|
+
claimsFalseScenario: _json,
|
|
3322
|
+
claimsTrueScenario: _json,
|
|
3323
|
+
logicWarning: _json,
|
|
3324
|
+
translation: (_) => de_AutomatedReasoningCheckTranslation(_, context),
|
|
3325
|
+
});
|
|
3326
|
+
};
|
|
3327
|
+
const de_AutomatedReasoningCheckTranslation = (output, context) => {
|
|
3328
|
+
return take(output, {
|
|
3329
|
+
claims: _json,
|
|
3330
|
+
confidence: __limitedParseDouble,
|
|
3331
|
+
premises: _json,
|
|
3332
|
+
untranslatedClaims: _json,
|
|
3333
|
+
untranslatedPremises: _json,
|
|
3334
|
+
});
|
|
3335
|
+
};
|
|
3336
|
+
const de_AutomatedReasoningCheckTranslationAmbiguousFinding = (output, context) => {
|
|
3337
|
+
return take(output, {
|
|
3338
|
+
differenceScenarios: _json,
|
|
3339
|
+
options: (_) => de_AutomatedReasoningCheckTranslationOptionList(_, context),
|
|
3340
|
+
});
|
|
3341
|
+
};
|
|
3342
|
+
const de_AutomatedReasoningCheckTranslationList = (output, context) => {
|
|
3343
|
+
const retVal = (output || [])
|
|
3344
|
+
.filter((e) => e != null)
|
|
3345
|
+
.map((entry) => {
|
|
3346
|
+
return de_AutomatedReasoningCheckTranslation(entry, context);
|
|
3347
|
+
});
|
|
3348
|
+
return retVal;
|
|
3349
|
+
};
|
|
3350
|
+
const de_AutomatedReasoningCheckTranslationOption = (output, context) => {
|
|
3351
|
+
return take(output, {
|
|
3352
|
+
translations: (_) => de_AutomatedReasoningCheckTranslationList(_, context),
|
|
3353
|
+
});
|
|
3354
|
+
};
|
|
3355
|
+
const de_AutomatedReasoningCheckTranslationOptionList = (output, context) => {
|
|
3356
|
+
const retVal = (output || [])
|
|
3357
|
+
.filter((e) => e != null)
|
|
3358
|
+
.map((entry) => {
|
|
3359
|
+
return de_AutomatedReasoningCheckTranslationOption(entry, context);
|
|
3360
|
+
});
|
|
3361
|
+
return retVal;
|
|
3362
|
+
};
|
|
3363
|
+
const de_AutomatedReasoningCheckValidFinding = (output, context) => {
|
|
3364
|
+
return take(output, {
|
|
3365
|
+
claimsTrueScenario: _json,
|
|
3366
|
+
logicWarning: _json,
|
|
3367
|
+
supportingRules: _json,
|
|
3368
|
+
translation: (_) => de_AutomatedReasoningCheckTranslation(_, context),
|
|
3369
|
+
});
|
|
3370
|
+
};
|
|
3371
|
+
const de_AutomatedReasoningPolicyBuildLog = (output, context) => {
|
|
3372
|
+
return take(output, {
|
|
3373
|
+
entries: _json,
|
|
3374
|
+
});
|
|
3375
|
+
};
|
|
3376
|
+
const de_AutomatedReasoningPolicyBuildResultAssets = (output, context) => {
|
|
3377
|
+
if (output.buildLog != null) {
|
|
3378
|
+
return {
|
|
3379
|
+
buildLog: de_AutomatedReasoningPolicyBuildLog(output.buildLog, context),
|
|
3380
|
+
};
|
|
3381
|
+
}
|
|
3382
|
+
if (output.policyDefinition != null) {
|
|
3383
|
+
return {
|
|
3384
|
+
policyDefinition: _json(output.policyDefinition),
|
|
3385
|
+
};
|
|
3386
|
+
}
|
|
3387
|
+
if (output.qualityReport != null) {
|
|
3388
|
+
return {
|
|
3389
|
+
qualityReport: _json(output.qualityReport),
|
|
3390
|
+
};
|
|
3391
|
+
}
|
|
3392
|
+
return { $unknown: Object.entries(output)[0] };
|
|
3393
|
+
};
|
|
3394
|
+
const de_AutomatedReasoningPolicyBuildWorkflowSummaries = (output, context) => {
|
|
3395
|
+
const retVal = (output || [])
|
|
3396
|
+
.filter((e) => e != null)
|
|
3397
|
+
.map((entry) => {
|
|
3398
|
+
return de_AutomatedReasoningPolicyBuildWorkflowSummary(entry, context);
|
|
3399
|
+
});
|
|
3400
|
+
return retVal;
|
|
3401
|
+
};
|
|
3402
|
+
const de_AutomatedReasoningPolicyBuildWorkflowSummary = (output, context) => {
|
|
3403
|
+
return take(output, {
|
|
3404
|
+
buildWorkflowId: __expectString,
|
|
3405
|
+
buildWorkflowType: __expectString,
|
|
3406
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3407
|
+
policyArn: __expectString,
|
|
3408
|
+
status: __expectString,
|
|
3409
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3410
|
+
});
|
|
3411
|
+
};
|
|
3412
|
+
const de_AutomatedReasoningPolicySummaries = (output, context) => {
|
|
3413
|
+
const retVal = (output || [])
|
|
3414
|
+
.filter((e) => e != null)
|
|
3415
|
+
.map((entry) => {
|
|
3416
|
+
return de_AutomatedReasoningPolicySummary(entry, context);
|
|
3417
|
+
});
|
|
3418
|
+
return retVal;
|
|
3419
|
+
};
|
|
3420
|
+
const de_AutomatedReasoningPolicySummary = (output, context) => {
|
|
3421
|
+
return take(output, {
|
|
3422
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3423
|
+
description: __expectString,
|
|
3424
|
+
name: __expectString,
|
|
3425
|
+
policyArn: __expectString,
|
|
3426
|
+
policyId: __expectString,
|
|
3427
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3428
|
+
version: __expectString,
|
|
3429
|
+
});
|
|
3430
|
+
};
|
|
3431
|
+
const de_AutomatedReasoningPolicyTestCase = (output, context) => {
|
|
3432
|
+
return take(output, {
|
|
3433
|
+
confidenceThreshold: __limitedParseDouble,
|
|
3434
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3435
|
+
expectedAggregatedFindingsResult: __expectString,
|
|
3436
|
+
guardContent: __expectString,
|
|
3437
|
+
queryContent: __expectString,
|
|
3438
|
+
testCaseId: __expectString,
|
|
3439
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3440
|
+
});
|
|
3441
|
+
};
|
|
3442
|
+
const de_AutomatedReasoningPolicyTestCaseList = (output, context) => {
|
|
3443
|
+
const retVal = (output || [])
|
|
3444
|
+
.filter((e) => e != null)
|
|
3445
|
+
.map((entry) => {
|
|
3446
|
+
return de_AutomatedReasoningPolicyTestCase(entry, context);
|
|
3447
|
+
});
|
|
3448
|
+
return retVal;
|
|
3449
|
+
};
|
|
3450
|
+
const de_AutomatedReasoningPolicyTestList = (output, context) => {
|
|
3451
|
+
const retVal = (output || [])
|
|
3452
|
+
.filter((e) => e != null)
|
|
3453
|
+
.map((entry) => {
|
|
3454
|
+
return de_AutomatedReasoningPolicyTestResult(entry, context);
|
|
3455
|
+
});
|
|
3456
|
+
return retVal;
|
|
3457
|
+
};
|
|
3458
|
+
const de_AutomatedReasoningPolicyTestResult = (output, context) => {
|
|
3459
|
+
return take(output, {
|
|
3460
|
+
aggregatedTestFindingsResult: __expectString,
|
|
3461
|
+
policyArn: __expectString,
|
|
3462
|
+
testCase: (_) => de_AutomatedReasoningPolicyTestCase(_, context),
|
|
3463
|
+
testFindings: (_) => de_AutomatedReasoningCheckFindingList(_, context),
|
|
3464
|
+
testRunResult: __expectString,
|
|
3465
|
+
testRunStatus: __expectString,
|
|
3466
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
3467
|
+
});
|
|
3468
|
+
};
|
|
2515
3469
|
const de_ByteContentDoc = (output, context) => {
|
|
2516
3470
|
return take(output, {
|
|
2517
3471
|
contentType: __expectString,
|
|
@@ -2669,6 +3623,12 @@ const de_GenerationConfiguration = (output, context) => {
|
|
|
2669
3623
|
promptTemplate: _json,
|
|
2670
3624
|
});
|
|
2671
3625
|
};
|
|
3626
|
+
const de_GuardrailAutomatedReasoningPolicy = (output, context) => {
|
|
3627
|
+
return take(output, {
|
|
3628
|
+
confidenceThreshold: __limitedParseDouble,
|
|
3629
|
+
policies: _json,
|
|
3630
|
+
});
|
|
3631
|
+
};
|
|
2672
3632
|
const de_GuardrailContextualGroundingFilter = (output, context) => {
|
|
2673
3633
|
return take(output, {
|
|
2674
3634
|
action: __expectString,
|
|
@@ -3171,6 +4131,7 @@ const deserializeMetadata = (output) => ({
|
|
|
3171
4131
|
cfId: output.headers["x-amz-cf-id"],
|
|
3172
4132
|
});
|
|
3173
4133
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4134
|
+
const _aT = "assetType";
|
|
3174
4135
|
const _aTE = "applicationTypeEquals";
|
|
3175
4136
|
const _bCT = "byCustomizationType";
|
|
3176
4137
|
const _bIT = "byInferenceType";
|
|
@@ -3179,12 +4140,14 @@ const _bOM = "byOutputModality";
|
|
|
3179
4140
|
const _bP = "byProvider";
|
|
3180
4141
|
const _cA = "createdAfter";
|
|
3181
4142
|
const _cB = "createdBefore";
|
|
4143
|
+
const _cRT = "clientRequestToken";
|
|
3182
4144
|
const _cTA = "creationTimeAfter";
|
|
3183
4145
|
const _cTB = "creationTimeBefore";
|
|
3184
4146
|
const _fMAE = "foundationModelArnEquals";
|
|
3185
4147
|
const _gI = "guardrailIdentifier";
|
|
3186
4148
|
const _gV = "guardrailVersion";
|
|
3187
4149
|
const _iO = "isOwned";
|
|
4150
|
+
const _lUA = "lastUpdatedAt";
|
|
3188
4151
|
const _mAE = "modelArnEquals";
|
|
3189
4152
|
const _mR = "maxResults";
|
|
3190
4153
|
const _mS = "modelStatus";
|
|
@@ -3194,6 +4157,7 @@ const _nC = "nameContains";
|
|
|
3194
4157
|
const _nT = "nextToken";
|
|
3195
4158
|
const _oMNC = "outputModelNameContains";
|
|
3196
4159
|
const _oT = "offerType";
|
|
4160
|
+
const _pA = "policyArn";
|
|
3197
4161
|
const _sAE = "sourceAccountEquals";
|
|
3198
4162
|
const _sB = "sortBy";
|
|
3199
4163
|
const _sE = "statusEquals";
|
|
@@ -3204,3 +4168,5 @@ const _sTB = "submitTimeBefore";
|
|
|
3204
4168
|
const _t = "type";
|
|
3205
4169
|
const _tE = "typeEquals";
|
|
3206
4170
|
const _tMNC = "targetModelNameContains";
|
|
4171
|
+
const _uA = "updatedAt";
|
|
4172
|
+
const _xact = "x-amz-client-token";
|