@aws-sdk/client-sagemaker 3.461.0 → 3.464.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 +104 -0
- package/dist-cjs/SageMaker.js +26 -0
- package/dist-cjs/commands/CreateClusterCommand.js +51 -0
- package/dist-cjs/commands/CreateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/CreateWorkforceCommand.js +2 -2
- package/dist-cjs/commands/DeleteClusterCommand.js +51 -0
- package/dist-cjs/commands/DeleteInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterNodeCommand.js +51 -0
- package/dist-cjs/commands/DescribeInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/ListClusterNodesCommand.js +51 -0
- package/dist-cjs/commands/ListClustersCommand.js +51 -0
- package/dist-cjs/commands/ListInferenceComponentsCommand.js +51 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentRuntimeConfigCommand.js +51 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +77 -64
- package/dist-cjs/models/models_1.js +85 -51
- package/dist-cjs/models/models_2.js +58 -83
- package/dist-cjs/models/models_3.js +89 -64
- package/dist-cjs/models/models_4.js +65 -3
- package/dist-cjs/pagination/ListInferenceComponentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1046 -36
- package/dist-es/SageMaker.js +26 -0
- package/dist-es/commands/CreateClusterCommand.js +47 -0
- package/dist-es/commands/CreateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/CreateWorkforceCommand.js +1 -1
- package/dist-es/commands/DeleteClusterCommand.js +47 -0
- package/dist-es/commands/DeleteInferenceComponentCommand.js +47 -0
- package/dist-es/commands/DescribeClusterCommand.js +47 -0
- package/dist-es/commands/DescribeClusterNodeCommand.js +47 -0
- package/dist-es/commands/DescribeInferenceComponentCommand.js +47 -0
- package/dist-es/commands/ListClusterNodesCommand.js +47 -0
- package/dist-es/commands/ListClustersCommand.js +47 -0
- package/dist-es/commands/ListInferenceComponentsCommand.js +47 -0
- package/dist-es/commands/UpdateClusterCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentRuntimeConfigCommand.js +47 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +74 -62
- package/dist-es/models/models_1.js +84 -48
- package/dist-es/models/models_2.js +55 -82
- package/dist-es/models/models_3.js +87 -62
- package/dist-es/models/models_4.js +63 -1
- package/dist-es/pagination/ListInferenceComponentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1006 -22
- package/dist-types/SageMaker.d.ts +91 -0
- package/dist-types/SageMakerClient.d.ts +15 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +3 -2
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +109 -0
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +64 -17
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/CreateInferenceComponentCommand.d.ts +115 -0
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpaceCommand.d.ts +45 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +4 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +56 -2
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +80 -0
- package/dist-types/commands/DeleteInferenceComponentCommand.d.ts +71 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppCommand.d.ts +3 -2
- package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +102 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +92 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +56 -9
- package/dist-types/commands/DescribeEndpointCommand.d.ts +32 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +109 -0
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +46 -0
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +5 -1
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +55 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +13 -0
- package/dist-types/commands/ListAppsCommand.d.ts +8 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +96 -0
- package/dist-types/commands/ListClustersCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceComponentsCommand.d.ts +96 -0
- package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +2 -1
- package/dist-types/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +16 -1
- package/dist-types/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +4 -4
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +97 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +58 -7
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +100 -0
- package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +80 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +54 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +616 -544
- package/dist-types/models/models_1.d.ts +7904 -8160
- package/dist-types/models/models_2.d.ts +4780 -5344
- package/dist-types/models/models_3.d.ts +5386 -4662
- package/dist-types/models/models_4.d.ts +2031 -4
- package/dist-types/pagination/ListInferenceComponentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
- package/dist-types/ts3.4/SageMaker.d.ts +227 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateCompilationJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteInferenceComponentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPipelineExecutionStepsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +191 -175
- package/dist-types/ts3.4/models/models_1.d.ts +302 -309
- package/dist-types/ts3.4/models/models_2.d.ts +388 -490
- package/dist-types/ts3.4/models/models_3.d.ts +574 -472
- package/dist-types/ts3.4/models/models_4.d.ts +534 -29
- package/dist-types/ts3.4/pagination/ListInferenceComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConflictException, ResourceInUse, ResourceLimitExceeded, ResourceNotFound, } from "../models/models_0";
|
|
6
|
-
import { TrialComponentParameterValue, } from "../models/
|
|
6
|
+
import { TrialComponentParameterValue, } from "../models/models_2";
|
|
7
7
|
import { SageMakerServiceException as __BaseException } from "../models/SageMakerServiceException";
|
|
8
8
|
export const se_AddAssociationCommand = async (input, context) => {
|
|
9
9
|
const headers = sharedHeaders("AddAssociation");
|
|
@@ -71,6 +71,12 @@ export const se_CreateAutoMLJobV2Command = async (input, context) => {
|
|
|
71
71
|
body = JSON.stringify(se_CreateAutoMLJobV2Request(input, context));
|
|
72
72
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
73
73
|
};
|
|
74
|
+
export const se_CreateClusterCommand = async (input, context) => {
|
|
75
|
+
const headers = sharedHeaders("CreateCluster");
|
|
76
|
+
let body;
|
|
77
|
+
body = JSON.stringify(_json(input));
|
|
78
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
79
|
+
};
|
|
74
80
|
export const se_CreateCodeRepositoryCommand = async (input, context) => {
|
|
75
81
|
const headers = sharedHeaders("CreateCodeRepository");
|
|
76
82
|
let body;
|
|
@@ -185,6 +191,12 @@ export const se_CreateImageVersionCommand = async (input, context) => {
|
|
|
185
191
|
body = JSON.stringify(se_CreateImageVersionRequest(input, context));
|
|
186
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
187
193
|
};
|
|
194
|
+
export const se_CreateInferenceComponentCommand = async (input, context) => {
|
|
195
|
+
const headers = sharedHeaders("CreateInferenceComponent");
|
|
196
|
+
let body;
|
|
197
|
+
body = JSON.stringify(se_CreateInferenceComponentInput(input, context));
|
|
198
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
199
|
+
};
|
|
188
200
|
export const se_CreateInferenceExperimentCommand = async (input, context) => {
|
|
189
201
|
const headers = sharedHeaders("CreateInferenceExperiment");
|
|
190
202
|
let body;
|
|
@@ -389,6 +401,12 @@ export const se_DeleteAssociationCommand = async (input, context) => {
|
|
|
389
401
|
body = JSON.stringify(_json(input));
|
|
390
402
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
391
403
|
};
|
|
404
|
+
export const se_DeleteClusterCommand = async (input, context) => {
|
|
405
|
+
const headers = sharedHeaders("DeleteCluster");
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify(_json(input));
|
|
408
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
|
+
};
|
|
392
410
|
export const se_DeleteCodeRepositoryCommand = async (input, context) => {
|
|
393
411
|
const headers = sharedHeaders("DeleteCodeRepository");
|
|
394
412
|
let body;
|
|
@@ -491,6 +509,12 @@ export const se_DeleteImageVersionCommand = async (input, context) => {
|
|
|
491
509
|
body = JSON.stringify(_json(input));
|
|
492
510
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
511
|
};
|
|
512
|
+
export const se_DeleteInferenceComponentCommand = async (input, context) => {
|
|
513
|
+
const headers = sharedHeaders("DeleteInferenceComponent");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify(_json(input));
|
|
516
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
517
|
+
};
|
|
494
518
|
export const se_DeleteInferenceExperimentCommand = async (input, context) => {
|
|
495
519
|
const headers = sharedHeaders("DeleteInferenceExperiment");
|
|
496
520
|
let body;
|
|
@@ -671,6 +695,18 @@ export const se_DescribeAutoMLJobV2Command = async (input, context) => {
|
|
|
671
695
|
body = JSON.stringify(_json(input));
|
|
672
696
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
673
697
|
};
|
|
698
|
+
export const se_DescribeClusterCommand = async (input, context) => {
|
|
699
|
+
const headers = sharedHeaders("DescribeCluster");
|
|
700
|
+
let body;
|
|
701
|
+
body = JSON.stringify(_json(input));
|
|
702
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
703
|
+
};
|
|
704
|
+
export const se_DescribeClusterNodeCommand = async (input, context) => {
|
|
705
|
+
const headers = sharedHeaders("DescribeClusterNode");
|
|
706
|
+
let body;
|
|
707
|
+
body = JSON.stringify(_json(input));
|
|
708
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
709
|
+
};
|
|
674
710
|
export const se_DescribeCodeRepositoryCommand = async (input, context) => {
|
|
675
711
|
const headers = sharedHeaders("DescribeCodeRepository");
|
|
676
712
|
let body;
|
|
@@ -797,6 +833,12 @@ export const se_DescribeImageVersionCommand = async (input, context) => {
|
|
|
797
833
|
body = JSON.stringify(_json(input));
|
|
798
834
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
799
835
|
};
|
|
836
|
+
export const se_DescribeInferenceComponentCommand = async (input, context) => {
|
|
837
|
+
const headers = sharedHeaders("DescribeInferenceComponent");
|
|
838
|
+
let body;
|
|
839
|
+
body = JSON.stringify(_json(input));
|
|
840
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
841
|
+
};
|
|
800
842
|
export const se_DescribeInferenceExperimentCommand = async (input, context) => {
|
|
801
843
|
const headers = sharedHeaders("DescribeInferenceExperiment");
|
|
802
844
|
let body;
|
|
@@ -1091,6 +1133,18 @@ export const se_ListCandidatesForAutoMLJobCommand = async (input, context) => {
|
|
|
1091
1133
|
body = JSON.stringify(_json(input));
|
|
1092
1134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1093
1135
|
};
|
|
1136
|
+
export const se_ListClusterNodesCommand = async (input, context) => {
|
|
1137
|
+
const headers = sharedHeaders("ListClusterNodes");
|
|
1138
|
+
let body;
|
|
1139
|
+
body = JSON.stringify(se_ListClusterNodesRequest(input, context));
|
|
1140
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1141
|
+
};
|
|
1142
|
+
export const se_ListClustersCommand = async (input, context) => {
|
|
1143
|
+
const headers = sharedHeaders("ListClusters");
|
|
1144
|
+
let body;
|
|
1145
|
+
body = JSON.stringify(se_ListClustersRequest(input, context));
|
|
1146
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1147
|
+
};
|
|
1094
1148
|
export const se_ListCodeRepositoriesCommand = async (input, context) => {
|
|
1095
1149
|
const headers = sharedHeaders("ListCodeRepositories");
|
|
1096
1150
|
let body;
|
|
@@ -1217,6 +1271,12 @@ export const se_ListImageVersionsCommand = async (input, context) => {
|
|
|
1217
1271
|
body = JSON.stringify(se_ListImageVersionsRequest(input, context));
|
|
1218
1272
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1219
1273
|
};
|
|
1274
|
+
export const se_ListInferenceComponentsCommand = async (input, context) => {
|
|
1275
|
+
const headers = sharedHeaders("ListInferenceComponents");
|
|
1276
|
+
let body;
|
|
1277
|
+
body = JSON.stringify(se_ListInferenceComponentsInput(input, context));
|
|
1278
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1279
|
+
};
|
|
1220
1280
|
export const se_ListInferenceExperimentsCommand = async (input, context) => {
|
|
1221
1281
|
const headers = sharedHeaders("ListInferenceExperiments");
|
|
1222
1282
|
let body;
|
|
@@ -1649,6 +1709,12 @@ export const se_UpdateArtifactCommand = async (input, context) => {
|
|
|
1649
1709
|
body = JSON.stringify(_json(input));
|
|
1650
1710
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1651
1711
|
};
|
|
1712
|
+
export const se_UpdateClusterCommand = async (input, context) => {
|
|
1713
|
+
const headers = sharedHeaders("UpdateCluster");
|
|
1714
|
+
let body;
|
|
1715
|
+
body = JSON.stringify(_json(input));
|
|
1716
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1717
|
+
};
|
|
1652
1718
|
export const se_UpdateCodeRepositoryCommand = async (input, context) => {
|
|
1653
1719
|
const headers = sharedHeaders("UpdateCodeRepository");
|
|
1654
1720
|
let body;
|
|
@@ -1727,6 +1793,18 @@ export const se_UpdateImageVersionCommand = async (input, context) => {
|
|
|
1727
1793
|
body = JSON.stringify(_json(input));
|
|
1728
1794
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1729
1795
|
};
|
|
1796
|
+
export const se_UpdateInferenceComponentCommand = async (input, context) => {
|
|
1797
|
+
const headers = sharedHeaders("UpdateInferenceComponent");
|
|
1798
|
+
let body;
|
|
1799
|
+
body = JSON.stringify(se_UpdateInferenceComponentInput(input, context));
|
|
1800
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1801
|
+
};
|
|
1802
|
+
export const se_UpdateInferenceComponentRuntimeConfigCommand = async (input, context) => {
|
|
1803
|
+
const headers = sharedHeaders("UpdateInferenceComponentRuntimeConfig");
|
|
1804
|
+
let body;
|
|
1805
|
+
body = JSON.stringify(_json(input));
|
|
1806
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1807
|
+
};
|
|
1730
1808
|
export const se_UpdateInferenceExperimentCommand = async (input, context) => {
|
|
1731
1809
|
const headers = sharedHeaders("UpdateInferenceExperiment");
|
|
1732
1810
|
let body;
|
|
@@ -2178,6 +2256,41 @@ const de_CreateAutoMLJobV2CommandError = async (output, context) => {
|
|
|
2178
2256
|
});
|
|
2179
2257
|
}
|
|
2180
2258
|
};
|
|
2259
|
+
export const de_CreateClusterCommand = async (output, context) => {
|
|
2260
|
+
if (output.statusCode >= 300) {
|
|
2261
|
+
return de_CreateClusterCommandError(output, context);
|
|
2262
|
+
}
|
|
2263
|
+
const data = await parseBody(output.body, context);
|
|
2264
|
+
let contents = {};
|
|
2265
|
+
contents = de_CreateClusterResponse(data, context);
|
|
2266
|
+
const response = {
|
|
2267
|
+
$metadata: deserializeMetadata(output),
|
|
2268
|
+
...contents,
|
|
2269
|
+
};
|
|
2270
|
+
return response;
|
|
2271
|
+
};
|
|
2272
|
+
const de_CreateClusterCommandError = async (output, context) => {
|
|
2273
|
+
const parsedOutput = {
|
|
2274
|
+
...output,
|
|
2275
|
+
body: await parseErrorBody(output.body, context),
|
|
2276
|
+
};
|
|
2277
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2278
|
+
switch (errorCode) {
|
|
2279
|
+
case "ResourceInUse":
|
|
2280
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
2281
|
+
throw await de_ResourceInUseRes(parsedOutput, context);
|
|
2282
|
+
case "ResourceLimitExceeded":
|
|
2283
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
2284
|
+
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
2285
|
+
default:
|
|
2286
|
+
const parsedBody = parsedOutput.body;
|
|
2287
|
+
return throwDefaultError({
|
|
2288
|
+
output,
|
|
2289
|
+
parsedBody,
|
|
2290
|
+
errorCode,
|
|
2291
|
+
});
|
|
2292
|
+
}
|
|
2293
|
+
};
|
|
2181
2294
|
export const de_CreateCodeRepositoryCommand = async (output, context) => {
|
|
2182
2295
|
if (output.statusCode >= 300) {
|
|
2183
2296
|
return de_CreateCodeRepositoryCommandError(output, context);
|
|
@@ -2807,6 +2920,38 @@ const de_CreateImageVersionCommandError = async (output, context) => {
|
|
|
2807
2920
|
});
|
|
2808
2921
|
}
|
|
2809
2922
|
};
|
|
2923
|
+
export const de_CreateInferenceComponentCommand = async (output, context) => {
|
|
2924
|
+
if (output.statusCode >= 300) {
|
|
2925
|
+
return de_CreateInferenceComponentCommandError(output, context);
|
|
2926
|
+
}
|
|
2927
|
+
const data = await parseBody(output.body, context);
|
|
2928
|
+
let contents = {};
|
|
2929
|
+
contents = de_CreateInferenceComponentOutput(data, context);
|
|
2930
|
+
const response = {
|
|
2931
|
+
$metadata: deserializeMetadata(output),
|
|
2932
|
+
...contents,
|
|
2933
|
+
};
|
|
2934
|
+
return response;
|
|
2935
|
+
};
|
|
2936
|
+
const de_CreateInferenceComponentCommandError = async (output, context) => {
|
|
2937
|
+
const parsedOutput = {
|
|
2938
|
+
...output,
|
|
2939
|
+
body: await parseErrorBody(output.body, context),
|
|
2940
|
+
};
|
|
2941
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2942
|
+
switch (errorCode) {
|
|
2943
|
+
case "ResourceLimitExceeded":
|
|
2944
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
2945
|
+
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
2946
|
+
default:
|
|
2947
|
+
const parsedBody = parsedOutput.body;
|
|
2948
|
+
return throwDefaultError({
|
|
2949
|
+
output,
|
|
2950
|
+
parsedBody,
|
|
2951
|
+
errorCode,
|
|
2952
|
+
});
|
|
2953
|
+
}
|
|
2954
|
+
};
|
|
2810
2955
|
export const de_CreateInferenceExperimentCommand = async (output, context) => {
|
|
2811
2956
|
if (output.statusCode >= 300) {
|
|
2812
2957
|
return de_CreateInferenceExperimentCommandError(output, context);
|
|
@@ -3937,6 +4082,41 @@ const de_DeleteAssociationCommandError = async (output, context) => {
|
|
|
3937
4082
|
});
|
|
3938
4083
|
}
|
|
3939
4084
|
};
|
|
4085
|
+
export const de_DeleteClusterCommand = async (output, context) => {
|
|
4086
|
+
if (output.statusCode >= 300) {
|
|
4087
|
+
return de_DeleteClusterCommandError(output, context);
|
|
4088
|
+
}
|
|
4089
|
+
const data = await parseBody(output.body, context);
|
|
4090
|
+
let contents = {};
|
|
4091
|
+
contents = de_DeleteClusterResponse(data, context);
|
|
4092
|
+
const response = {
|
|
4093
|
+
$metadata: deserializeMetadata(output),
|
|
4094
|
+
...contents,
|
|
4095
|
+
};
|
|
4096
|
+
return response;
|
|
4097
|
+
};
|
|
4098
|
+
const de_DeleteClusterCommandError = async (output, context) => {
|
|
4099
|
+
const parsedOutput = {
|
|
4100
|
+
...output,
|
|
4101
|
+
body: await parseErrorBody(output.body, context),
|
|
4102
|
+
};
|
|
4103
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4104
|
+
switch (errorCode) {
|
|
4105
|
+
case "ConflictException":
|
|
4106
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
4107
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4108
|
+
case "ResourceNotFound":
|
|
4109
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
4110
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
4111
|
+
default:
|
|
4112
|
+
const parsedBody = parsedOutput.body;
|
|
4113
|
+
return throwDefaultError({
|
|
4114
|
+
output,
|
|
4115
|
+
parsedBody,
|
|
4116
|
+
errorCode,
|
|
4117
|
+
});
|
|
4118
|
+
}
|
|
4119
|
+
};
|
|
3940
4120
|
export const de_DeleteCodeRepositoryCommand = async (output, context) => {
|
|
3941
4121
|
if (output.statusCode >= 300) {
|
|
3942
4122
|
return de_DeleteCodeRepositoryCommandError(output, context);
|
|
@@ -4448,6 +4628,29 @@ const de_DeleteImageVersionCommandError = async (output, context) => {
|
|
|
4448
4628
|
});
|
|
4449
4629
|
}
|
|
4450
4630
|
};
|
|
4631
|
+
export const de_DeleteInferenceComponentCommand = async (output, context) => {
|
|
4632
|
+
if (output.statusCode >= 300) {
|
|
4633
|
+
return de_DeleteInferenceComponentCommandError(output, context);
|
|
4634
|
+
}
|
|
4635
|
+
await collectBody(output.body, context);
|
|
4636
|
+
const response = {
|
|
4637
|
+
$metadata: deserializeMetadata(output),
|
|
4638
|
+
};
|
|
4639
|
+
return response;
|
|
4640
|
+
};
|
|
4641
|
+
const de_DeleteInferenceComponentCommandError = async (output, context) => {
|
|
4642
|
+
const parsedOutput = {
|
|
4643
|
+
...output,
|
|
4644
|
+
body: await parseErrorBody(output.body, context),
|
|
4645
|
+
};
|
|
4646
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4647
|
+
const parsedBody = parsedOutput.body;
|
|
4648
|
+
return throwDefaultError({
|
|
4649
|
+
output,
|
|
4650
|
+
parsedBody,
|
|
4651
|
+
errorCode,
|
|
4652
|
+
});
|
|
4653
|
+
};
|
|
4451
4654
|
export const de_DeleteInferenceExperimentCommand = async (output, context) => {
|
|
4452
4655
|
if (output.statusCode >= 300) {
|
|
4453
4656
|
return de_DeleteInferenceExperimentCommandError(output, context);
|
|
@@ -5327,6 +5530,70 @@ const de_DescribeAutoMLJobV2CommandError = async (output, context) => {
|
|
|
5327
5530
|
});
|
|
5328
5531
|
}
|
|
5329
5532
|
};
|
|
5533
|
+
export const de_DescribeClusterCommand = async (output, context) => {
|
|
5534
|
+
if (output.statusCode >= 300) {
|
|
5535
|
+
return de_DescribeClusterCommandError(output, context);
|
|
5536
|
+
}
|
|
5537
|
+
const data = await parseBody(output.body, context);
|
|
5538
|
+
let contents = {};
|
|
5539
|
+
contents = de_DescribeClusterResponse(data, context);
|
|
5540
|
+
const response = {
|
|
5541
|
+
$metadata: deserializeMetadata(output),
|
|
5542
|
+
...contents,
|
|
5543
|
+
};
|
|
5544
|
+
return response;
|
|
5545
|
+
};
|
|
5546
|
+
const de_DescribeClusterCommandError = async (output, context) => {
|
|
5547
|
+
const parsedOutput = {
|
|
5548
|
+
...output,
|
|
5549
|
+
body: await parseErrorBody(output.body, context),
|
|
5550
|
+
};
|
|
5551
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5552
|
+
switch (errorCode) {
|
|
5553
|
+
case "ResourceNotFound":
|
|
5554
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5555
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
5556
|
+
default:
|
|
5557
|
+
const parsedBody = parsedOutput.body;
|
|
5558
|
+
return throwDefaultError({
|
|
5559
|
+
output,
|
|
5560
|
+
parsedBody,
|
|
5561
|
+
errorCode,
|
|
5562
|
+
});
|
|
5563
|
+
}
|
|
5564
|
+
};
|
|
5565
|
+
export const de_DescribeClusterNodeCommand = async (output, context) => {
|
|
5566
|
+
if (output.statusCode >= 300) {
|
|
5567
|
+
return de_DescribeClusterNodeCommandError(output, context);
|
|
5568
|
+
}
|
|
5569
|
+
const data = await parseBody(output.body, context);
|
|
5570
|
+
let contents = {};
|
|
5571
|
+
contents = de_DescribeClusterNodeResponse(data, context);
|
|
5572
|
+
const response = {
|
|
5573
|
+
$metadata: deserializeMetadata(output),
|
|
5574
|
+
...contents,
|
|
5575
|
+
};
|
|
5576
|
+
return response;
|
|
5577
|
+
};
|
|
5578
|
+
const de_DescribeClusterNodeCommandError = async (output, context) => {
|
|
5579
|
+
const parsedOutput = {
|
|
5580
|
+
...output,
|
|
5581
|
+
body: await parseErrorBody(output.body, context),
|
|
5582
|
+
};
|
|
5583
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5584
|
+
switch (errorCode) {
|
|
5585
|
+
case "ResourceNotFound":
|
|
5586
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5587
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
5588
|
+
default:
|
|
5589
|
+
const parsedBody = parsedOutput.body;
|
|
5590
|
+
return throwDefaultError({
|
|
5591
|
+
output,
|
|
5592
|
+
parsedBody,
|
|
5593
|
+
errorCode,
|
|
5594
|
+
});
|
|
5595
|
+
}
|
|
5596
|
+
};
|
|
5330
5597
|
export const de_DescribeCodeRepositoryCommand = async (output, context) => {
|
|
5331
5598
|
if (output.statusCode >= 300) {
|
|
5332
5599
|
return de_DescribeCodeRepositoryCommandError(output, context);
|
|
@@ -5981,6 +6248,32 @@ const de_DescribeImageVersionCommandError = async (output, context) => {
|
|
|
5981
6248
|
});
|
|
5982
6249
|
}
|
|
5983
6250
|
};
|
|
6251
|
+
export const de_DescribeInferenceComponentCommand = async (output, context) => {
|
|
6252
|
+
if (output.statusCode >= 300) {
|
|
6253
|
+
return de_DescribeInferenceComponentCommandError(output, context);
|
|
6254
|
+
}
|
|
6255
|
+
const data = await parseBody(output.body, context);
|
|
6256
|
+
let contents = {};
|
|
6257
|
+
contents = de_DescribeInferenceComponentOutput(data, context);
|
|
6258
|
+
const response = {
|
|
6259
|
+
$metadata: deserializeMetadata(output),
|
|
6260
|
+
...contents,
|
|
6261
|
+
};
|
|
6262
|
+
return response;
|
|
6263
|
+
};
|
|
6264
|
+
const de_DescribeInferenceComponentCommandError = async (output, context) => {
|
|
6265
|
+
const parsedOutput = {
|
|
6266
|
+
...output,
|
|
6267
|
+
body: await parseErrorBody(output.body, context),
|
|
6268
|
+
};
|
|
6269
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6270
|
+
const parsedBody = parsedOutput.body;
|
|
6271
|
+
return throwDefaultError({
|
|
6272
|
+
output,
|
|
6273
|
+
parsedBody,
|
|
6274
|
+
errorCode,
|
|
6275
|
+
});
|
|
6276
|
+
};
|
|
5984
6277
|
export const de_DescribeInferenceExperimentCommand = async (output, context) => {
|
|
5985
6278
|
if (output.statusCode >= 300) {
|
|
5986
6279
|
return de_DescribeInferenceExperimentCommandError(output, context);
|
|
@@ -7441,42 +7734,100 @@ const de_ListCandidatesForAutoMLJobCommandError = async (output, context) => {
|
|
|
7441
7734
|
});
|
|
7442
7735
|
}
|
|
7443
7736
|
};
|
|
7444
|
-
export const
|
|
7737
|
+
export const de_ListClusterNodesCommand = async (output, context) => {
|
|
7445
7738
|
if (output.statusCode >= 300) {
|
|
7446
|
-
return
|
|
7739
|
+
return de_ListClusterNodesCommandError(output, context);
|
|
7447
7740
|
}
|
|
7448
7741
|
const data = await parseBody(output.body, context);
|
|
7449
7742
|
let contents = {};
|
|
7450
|
-
contents =
|
|
7743
|
+
contents = de_ListClusterNodesResponse(data, context);
|
|
7451
7744
|
const response = {
|
|
7452
7745
|
$metadata: deserializeMetadata(output),
|
|
7453
7746
|
...contents,
|
|
7454
7747
|
};
|
|
7455
7748
|
return response;
|
|
7456
7749
|
};
|
|
7457
|
-
const
|
|
7750
|
+
const de_ListClusterNodesCommandError = async (output, context) => {
|
|
7458
7751
|
const parsedOutput = {
|
|
7459
7752
|
...output,
|
|
7460
7753
|
body: await parseErrorBody(output.body, context),
|
|
7461
7754
|
};
|
|
7462
7755
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7756
|
+
switch (errorCode) {
|
|
7757
|
+
case "ResourceNotFound":
|
|
7758
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7759
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
7760
|
+
default:
|
|
7761
|
+
const parsedBody = parsedOutput.body;
|
|
7762
|
+
return throwDefaultError({
|
|
7763
|
+
output,
|
|
7764
|
+
parsedBody,
|
|
7765
|
+
errorCode,
|
|
7766
|
+
});
|
|
7767
|
+
}
|
|
7768
|
+
};
|
|
7769
|
+
export const de_ListClustersCommand = async (output, context) => {
|
|
7770
|
+
if (output.statusCode >= 300) {
|
|
7771
|
+
return de_ListClustersCommandError(output, context);
|
|
7772
|
+
}
|
|
7773
|
+
const data = await parseBody(output.body, context);
|
|
7774
|
+
let contents = {};
|
|
7775
|
+
contents = de_ListClustersResponse(data, context);
|
|
7776
|
+
const response = {
|
|
7777
|
+
$metadata: deserializeMetadata(output),
|
|
7778
|
+
...contents,
|
|
7779
|
+
};
|
|
7780
|
+
return response;
|
|
7781
|
+
};
|
|
7782
|
+
const de_ListClustersCommandError = async (output, context) => {
|
|
7783
|
+
const parsedOutput = {
|
|
7784
|
+
...output,
|
|
7785
|
+
body: await parseErrorBody(output.body, context),
|
|
7786
|
+
};
|
|
7787
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7788
|
+
const parsedBody = parsedOutput.body;
|
|
7789
|
+
return throwDefaultError({
|
|
7790
|
+
output,
|
|
7791
|
+
parsedBody,
|
|
7792
|
+
errorCode,
|
|
7793
|
+
});
|
|
7794
|
+
};
|
|
7795
|
+
export const de_ListCodeRepositoriesCommand = async (output, context) => {
|
|
7796
|
+
if (output.statusCode >= 300) {
|
|
7797
|
+
return de_ListCodeRepositoriesCommandError(output, context);
|
|
7798
|
+
}
|
|
7799
|
+
const data = await parseBody(output.body, context);
|
|
7800
|
+
let contents = {};
|
|
7801
|
+
contents = de_ListCodeRepositoriesOutput(data, context);
|
|
7802
|
+
const response = {
|
|
7803
|
+
$metadata: deserializeMetadata(output),
|
|
7804
|
+
...contents,
|
|
7805
|
+
};
|
|
7806
|
+
return response;
|
|
7807
|
+
};
|
|
7808
|
+
const de_ListCodeRepositoriesCommandError = async (output, context) => {
|
|
7809
|
+
const parsedOutput = {
|
|
7810
|
+
...output,
|
|
7811
|
+
body: await parseErrorBody(output.body, context),
|
|
7812
|
+
};
|
|
7813
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7814
|
+
const parsedBody = parsedOutput.body;
|
|
7815
|
+
return throwDefaultError({
|
|
7816
|
+
output,
|
|
7817
|
+
parsedBody,
|
|
7818
|
+
errorCode,
|
|
7819
|
+
});
|
|
7820
|
+
};
|
|
7821
|
+
export const de_ListCompilationJobsCommand = async (output, context) => {
|
|
7822
|
+
if (output.statusCode >= 300) {
|
|
7823
|
+
return de_ListCompilationJobsCommandError(output, context);
|
|
7824
|
+
}
|
|
7825
|
+
const data = await parseBody(output.body, context);
|
|
7826
|
+
let contents = {};
|
|
7827
|
+
contents = de_ListCompilationJobsResponse(data, context);
|
|
7828
|
+
const response = {
|
|
7829
|
+
$metadata: deserializeMetadata(output),
|
|
7830
|
+
...contents,
|
|
7480
7831
|
};
|
|
7481
7832
|
return response;
|
|
7482
7833
|
};
|
|
@@ -8011,6 +8362,32 @@ const de_ListImageVersionsCommandError = async (output, context) => {
|
|
|
8011
8362
|
});
|
|
8012
8363
|
}
|
|
8013
8364
|
};
|
|
8365
|
+
export const de_ListInferenceComponentsCommand = async (output, context) => {
|
|
8366
|
+
if (output.statusCode >= 300) {
|
|
8367
|
+
return de_ListInferenceComponentsCommandError(output, context);
|
|
8368
|
+
}
|
|
8369
|
+
const data = await parseBody(output.body, context);
|
|
8370
|
+
let contents = {};
|
|
8371
|
+
contents = de_ListInferenceComponentsOutput(data, context);
|
|
8372
|
+
const response = {
|
|
8373
|
+
$metadata: deserializeMetadata(output),
|
|
8374
|
+
...contents,
|
|
8375
|
+
};
|
|
8376
|
+
return response;
|
|
8377
|
+
};
|
|
8378
|
+
const de_ListInferenceComponentsCommandError = async (output, context) => {
|
|
8379
|
+
const parsedOutput = {
|
|
8380
|
+
...output,
|
|
8381
|
+
body: await parseErrorBody(output.body, context),
|
|
8382
|
+
};
|
|
8383
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8384
|
+
const parsedBody = parsedOutput.body;
|
|
8385
|
+
return throwDefaultError({
|
|
8386
|
+
output,
|
|
8387
|
+
parsedBody,
|
|
8388
|
+
errorCode,
|
|
8389
|
+
});
|
|
8390
|
+
};
|
|
8014
8391
|
export const de_ListInferenceExperimentsCommand = async (output, context) => {
|
|
8015
8392
|
if (output.statusCode >= 300) {
|
|
8016
8393
|
return de_ListInferenceExperimentsCommandError(output, context);
|
|
@@ -10078,6 +10455,44 @@ const de_UpdateArtifactCommandError = async (output, context) => {
|
|
|
10078
10455
|
});
|
|
10079
10456
|
}
|
|
10080
10457
|
};
|
|
10458
|
+
export const de_UpdateClusterCommand = async (output, context) => {
|
|
10459
|
+
if (output.statusCode >= 300) {
|
|
10460
|
+
return de_UpdateClusterCommandError(output, context);
|
|
10461
|
+
}
|
|
10462
|
+
const data = await parseBody(output.body, context);
|
|
10463
|
+
let contents = {};
|
|
10464
|
+
contents = de_UpdateClusterResponse(data, context);
|
|
10465
|
+
const response = {
|
|
10466
|
+
$metadata: deserializeMetadata(output),
|
|
10467
|
+
...contents,
|
|
10468
|
+
};
|
|
10469
|
+
return response;
|
|
10470
|
+
};
|
|
10471
|
+
const de_UpdateClusterCommandError = async (output, context) => {
|
|
10472
|
+
const parsedOutput = {
|
|
10473
|
+
...output,
|
|
10474
|
+
body: await parseErrorBody(output.body, context),
|
|
10475
|
+
};
|
|
10476
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10477
|
+
switch (errorCode) {
|
|
10478
|
+
case "ConflictException":
|
|
10479
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
10480
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
10481
|
+
case "ResourceLimitExceeded":
|
|
10482
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
10483
|
+
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
10484
|
+
case "ResourceNotFound":
|
|
10485
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
10486
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
10487
|
+
default:
|
|
10488
|
+
const parsedBody = parsedOutput.body;
|
|
10489
|
+
return throwDefaultError({
|
|
10490
|
+
output,
|
|
10491
|
+
parsedBody,
|
|
10492
|
+
errorCode,
|
|
10493
|
+
});
|
|
10494
|
+
}
|
|
10495
|
+
};
|
|
10081
10496
|
export const de_UpdateCodeRepositoryCommand = async (output, context) => {
|
|
10082
10497
|
if (output.statusCode >= 300) {
|
|
10083
10498
|
return de_UpdateCodeRepositoryCommandError(output, context);
|
|
@@ -10491,6 +10906,70 @@ const de_UpdateImageVersionCommandError = async (output, context) => {
|
|
|
10491
10906
|
});
|
|
10492
10907
|
}
|
|
10493
10908
|
};
|
|
10909
|
+
export const de_UpdateInferenceComponentCommand = async (output, context) => {
|
|
10910
|
+
if (output.statusCode >= 300) {
|
|
10911
|
+
return de_UpdateInferenceComponentCommandError(output, context);
|
|
10912
|
+
}
|
|
10913
|
+
const data = await parseBody(output.body, context);
|
|
10914
|
+
let contents = {};
|
|
10915
|
+
contents = de_UpdateInferenceComponentOutput(data, context);
|
|
10916
|
+
const response = {
|
|
10917
|
+
$metadata: deserializeMetadata(output),
|
|
10918
|
+
...contents,
|
|
10919
|
+
};
|
|
10920
|
+
return response;
|
|
10921
|
+
};
|
|
10922
|
+
const de_UpdateInferenceComponentCommandError = async (output, context) => {
|
|
10923
|
+
const parsedOutput = {
|
|
10924
|
+
...output,
|
|
10925
|
+
body: await parseErrorBody(output.body, context),
|
|
10926
|
+
};
|
|
10927
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10928
|
+
switch (errorCode) {
|
|
10929
|
+
case "ResourceLimitExceeded":
|
|
10930
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
10931
|
+
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
10932
|
+
default:
|
|
10933
|
+
const parsedBody = parsedOutput.body;
|
|
10934
|
+
return throwDefaultError({
|
|
10935
|
+
output,
|
|
10936
|
+
parsedBody,
|
|
10937
|
+
errorCode,
|
|
10938
|
+
});
|
|
10939
|
+
}
|
|
10940
|
+
};
|
|
10941
|
+
export const de_UpdateInferenceComponentRuntimeConfigCommand = async (output, context) => {
|
|
10942
|
+
if (output.statusCode >= 300) {
|
|
10943
|
+
return de_UpdateInferenceComponentRuntimeConfigCommandError(output, context);
|
|
10944
|
+
}
|
|
10945
|
+
const data = await parseBody(output.body, context);
|
|
10946
|
+
let contents = {};
|
|
10947
|
+
contents = de_UpdateInferenceComponentRuntimeConfigOutput(data, context);
|
|
10948
|
+
const response = {
|
|
10949
|
+
$metadata: deserializeMetadata(output),
|
|
10950
|
+
...contents,
|
|
10951
|
+
};
|
|
10952
|
+
return response;
|
|
10953
|
+
};
|
|
10954
|
+
const de_UpdateInferenceComponentRuntimeConfigCommandError = async (output, context) => {
|
|
10955
|
+
const parsedOutput = {
|
|
10956
|
+
...output,
|
|
10957
|
+
body: await parseErrorBody(output.body, context),
|
|
10958
|
+
};
|
|
10959
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10960
|
+
switch (errorCode) {
|
|
10961
|
+
case "ResourceLimitExceeded":
|
|
10962
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
10963
|
+
throw await de_ResourceLimitExceededRes(parsedOutput, context);
|
|
10964
|
+
default:
|
|
10965
|
+
const parsedBody = parsedOutput.body;
|
|
10966
|
+
return throwDefaultError({
|
|
10967
|
+
output,
|
|
10968
|
+
parsedBody,
|
|
10969
|
+
errorCode,
|
|
10970
|
+
});
|
|
10971
|
+
}
|
|
10972
|
+
};
|
|
10494
10973
|
export const de_UpdateInferenceExperimentCommand = async (output, context) => {
|
|
10495
10974
|
if (output.statusCode >= 300) {
|
|
10496
10975
|
return de_UpdateInferenceExperimentCommandError(output, context);
|
|
@@ -11168,12 +11647,15 @@ const se_CreateEndpointConfigInput = (input, context) => {
|
|
|
11168
11647
|
return take(input, {
|
|
11169
11648
|
AsyncInferenceConfig: _json,
|
|
11170
11649
|
DataCaptureConfig: _json,
|
|
11650
|
+
EnableNetworkIsolation: [],
|
|
11171
11651
|
EndpointConfigName: [],
|
|
11652
|
+
ExecutionRoleArn: [],
|
|
11172
11653
|
ExplainerConfig: _json,
|
|
11173
11654
|
KmsKeyId: [],
|
|
11174
11655
|
ProductionVariants: (_) => se_ProductionVariantList(_, context),
|
|
11175
11656
|
ShadowProductionVariants: (_) => se_ProductionVariantList(_, context),
|
|
11176
11657
|
Tags: _json,
|
|
11658
|
+
VpcConfig: _json,
|
|
11177
11659
|
});
|
|
11178
11660
|
};
|
|
11179
11661
|
const se_CreateFlowDefinitionRequest = (input, context) => {
|
|
@@ -11213,6 +11695,16 @@ const se_CreateImageVersionRequest = (input, context) => {
|
|
|
11213
11695
|
VendorGuidance: [],
|
|
11214
11696
|
});
|
|
11215
11697
|
};
|
|
11698
|
+
const se_CreateInferenceComponentInput = (input, context) => {
|
|
11699
|
+
return take(input, {
|
|
11700
|
+
EndpointName: [],
|
|
11701
|
+
InferenceComponentName: [],
|
|
11702
|
+
RuntimeConfig: _json,
|
|
11703
|
+
Specification: (_) => se_InferenceComponentSpecification(_, context),
|
|
11704
|
+
Tags: _json,
|
|
11705
|
+
VariantName: [],
|
|
11706
|
+
});
|
|
11707
|
+
};
|
|
11216
11708
|
const se_CreateInferenceExperimentRequest = (input, context) => {
|
|
11217
11709
|
return take(input, {
|
|
11218
11710
|
DataStorageConfig: _json,
|
|
@@ -11391,6 +11883,22 @@ const se_HyperParameterTuningJobConfig = (input, context) => {
|
|
|
11391
11883
|
TuningJobCompletionCriteria: (_) => se_TuningJobCompletionCriteria(_, context),
|
|
11392
11884
|
});
|
|
11393
11885
|
};
|
|
11886
|
+
const se_InferenceComponentComputeResourceRequirements = (input, context) => {
|
|
11887
|
+
return take(input, {
|
|
11888
|
+
MaxMemoryRequiredInMb: [],
|
|
11889
|
+
MinMemoryRequiredInMb: [],
|
|
11890
|
+
NumberOfAcceleratorDevicesRequired: __serializeFloat,
|
|
11891
|
+
NumberOfCpuCoresRequired: __serializeFloat,
|
|
11892
|
+
});
|
|
11893
|
+
};
|
|
11894
|
+
const se_InferenceComponentSpecification = (input, context) => {
|
|
11895
|
+
return take(input, {
|
|
11896
|
+
ComputeResourceRequirements: (_) => se_InferenceComponentComputeResourceRequirements(_, context),
|
|
11897
|
+
Container: _json,
|
|
11898
|
+
ModelName: [],
|
|
11899
|
+
StartupParameters: _json,
|
|
11900
|
+
});
|
|
11901
|
+
};
|
|
11394
11902
|
const se_InferenceExperimentSchedule = (input, context) => {
|
|
11395
11903
|
return take(input, {
|
|
11396
11904
|
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
@@ -11474,6 +11982,29 @@ const se_ListAutoMLJobsRequest = (input, context) => {
|
|
|
11474
11982
|
StatusEquals: [],
|
|
11475
11983
|
});
|
|
11476
11984
|
};
|
|
11985
|
+
const se_ListClusterNodesRequest = (input, context) => {
|
|
11986
|
+
return take(input, {
|
|
11987
|
+
ClusterName: [],
|
|
11988
|
+
CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
11989
|
+
CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
11990
|
+
InstanceGroupNameContains: [],
|
|
11991
|
+
MaxResults: [],
|
|
11992
|
+
NextToken: [],
|
|
11993
|
+
SortBy: [],
|
|
11994
|
+
SortOrder: [],
|
|
11995
|
+
});
|
|
11996
|
+
};
|
|
11997
|
+
const se_ListClustersRequest = (input, context) => {
|
|
11998
|
+
return take(input, {
|
|
11999
|
+
CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
12000
|
+
CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
12001
|
+
MaxResults: [],
|
|
12002
|
+
NameContains: [],
|
|
12003
|
+
NextToken: [],
|
|
12004
|
+
SortBy: [],
|
|
12005
|
+
SortOrder: [],
|
|
12006
|
+
});
|
|
12007
|
+
};
|
|
11477
12008
|
const se_ListCodeRepositoriesInput = (input, context) => {
|
|
11478
12009
|
return take(input, {
|
|
11479
12010
|
CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
@@ -11724,6 +12255,22 @@ const se_ListImageVersionsRequest = (input, context) => {
|
|
|
11724
12255
|
SortOrder: [],
|
|
11725
12256
|
});
|
|
11726
12257
|
};
|
|
12258
|
+
const se_ListInferenceComponentsInput = (input, context) => {
|
|
12259
|
+
return take(input, {
|
|
12260
|
+
CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
12261
|
+
CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
12262
|
+
EndpointNameEquals: [],
|
|
12263
|
+
LastModifiedTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
12264
|
+
LastModifiedTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
12265
|
+
MaxResults: [],
|
|
12266
|
+
NameContains: [],
|
|
12267
|
+
NextToken: [],
|
|
12268
|
+
SortBy: [],
|
|
12269
|
+
SortOrder: [],
|
|
12270
|
+
StatusEquals: [],
|
|
12271
|
+
VariantNameEquals: [],
|
|
12272
|
+
});
|
|
12273
|
+
};
|
|
11727
12274
|
const se_ListInferenceExperimentsRequest = (input, context) => {
|
|
11728
12275
|
return take(input, {
|
|
11729
12276
|
CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
@@ -12169,8 +12716,10 @@ const se_ProductionVariant = (input, context) => {
|
|
|
12169
12716
|
InitialInstanceCount: [],
|
|
12170
12717
|
InitialVariantWeight: __serializeFloat,
|
|
12171
12718
|
InstanceType: [],
|
|
12719
|
+
ManagedInstanceScaling: _json,
|
|
12172
12720
|
ModelDataDownloadTimeoutInSeconds: [],
|
|
12173
12721
|
ModelName: [],
|
|
12722
|
+
RoutingConfig: _json,
|
|
12174
12723
|
ServerlessConfig: _json,
|
|
12175
12724
|
VariantName: [],
|
|
12176
12725
|
VolumeSizeInGB: [],
|
|
@@ -12298,6 +12847,13 @@ const se_UpdateEndpointWeightsAndCapacitiesInput = (input, context) => {
|
|
|
12298
12847
|
EndpointName: [],
|
|
12299
12848
|
});
|
|
12300
12849
|
};
|
|
12850
|
+
const se_UpdateInferenceComponentInput = (input, context) => {
|
|
12851
|
+
return take(input, {
|
|
12852
|
+
InferenceComponentName: [],
|
|
12853
|
+
RuntimeConfig: _json,
|
|
12854
|
+
Specification: (_) => se_InferenceComponentSpecification(_, context),
|
|
12855
|
+
});
|
|
12856
|
+
};
|
|
12301
12857
|
const se_UpdateInferenceExperimentRequest = (input, context) => {
|
|
12302
12858
|
return take(input, {
|
|
12303
12859
|
DataStorageConfig: _json,
|
|
@@ -12518,6 +13074,7 @@ const de_AppDetails = (output, context) => {
|
|
|
12518
13074
|
AppType: __expectString,
|
|
12519
13075
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
12520
13076
|
DomainId: __expectString,
|
|
13077
|
+
ResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
12521
13078
|
SpaceName: __expectString,
|
|
12522
13079
|
Status: __expectString,
|
|
12523
13080
|
UserProfileName: __expectString,
|
|
@@ -12528,6 +13085,7 @@ const de_AppImageConfigDetails = (output, context) => {
|
|
|
12528
13085
|
AppImageConfigArn: __expectString,
|
|
12529
13086
|
AppImageConfigName: __expectString,
|
|
12530
13087
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13088
|
+
JupyterLabAppImageConfig: (_) => de_JupyterLabAppImageConfig(_, context),
|
|
12531
13089
|
KernelGatewayImageConfig: (_) => de_KernelGatewayImageConfig(_, context),
|
|
12532
13090
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
12533
13091
|
});
|
|
@@ -13269,6 +13827,87 @@ const de_ClarifyTextConfig = (output, context) => {
|
|
|
13269
13827
|
Language: __expectString,
|
|
13270
13828
|
});
|
|
13271
13829
|
};
|
|
13830
|
+
const de_ClusterInstanceGroupDetails = (output, context) => {
|
|
13831
|
+
return take(output, {
|
|
13832
|
+
CurrentCount: __expectInt32,
|
|
13833
|
+
ExecutionRole: __expectString,
|
|
13834
|
+
InstanceGroupName: __expectString,
|
|
13835
|
+
InstanceType: __expectString,
|
|
13836
|
+
LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
|
|
13837
|
+
TargetCount: __expectInt32,
|
|
13838
|
+
ThreadsPerCore: __expectInt32,
|
|
13839
|
+
});
|
|
13840
|
+
};
|
|
13841
|
+
const de_ClusterInstanceGroupDetailsList = (output, context) => {
|
|
13842
|
+
const retVal = (output || [])
|
|
13843
|
+
.filter((e) => e != null)
|
|
13844
|
+
.map((entry) => {
|
|
13845
|
+
return de_ClusterInstanceGroupDetails(entry, context);
|
|
13846
|
+
});
|
|
13847
|
+
return retVal;
|
|
13848
|
+
};
|
|
13849
|
+
const de_ClusterInstanceStatusDetails = (output, context) => {
|
|
13850
|
+
return take(output, {
|
|
13851
|
+
Message: __expectString,
|
|
13852
|
+
Status: __expectString,
|
|
13853
|
+
});
|
|
13854
|
+
};
|
|
13855
|
+
const de_ClusterLifeCycleConfig = (output, context) => {
|
|
13856
|
+
return take(output, {
|
|
13857
|
+
OnCreate: __expectString,
|
|
13858
|
+
SourceS3Uri: __expectString,
|
|
13859
|
+
});
|
|
13860
|
+
};
|
|
13861
|
+
const de_ClusterNodeDetails = (output, context) => {
|
|
13862
|
+
return take(output, {
|
|
13863
|
+
InstanceGroupName: __expectString,
|
|
13864
|
+
InstanceId: __expectString,
|
|
13865
|
+
InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
|
|
13866
|
+
InstanceType: __expectString,
|
|
13867
|
+
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13868
|
+
LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
|
|
13869
|
+
ThreadsPerCore: __expectInt32,
|
|
13870
|
+
});
|
|
13871
|
+
};
|
|
13872
|
+
const de_ClusterNodeSummaries = (output, context) => {
|
|
13873
|
+
const retVal = (output || [])
|
|
13874
|
+
.filter((e) => e != null)
|
|
13875
|
+
.map((entry) => {
|
|
13876
|
+
return de_ClusterNodeSummary(entry, context);
|
|
13877
|
+
});
|
|
13878
|
+
return retVal;
|
|
13879
|
+
};
|
|
13880
|
+
const de_ClusterNodeSummary = (output, context) => {
|
|
13881
|
+
return take(output, {
|
|
13882
|
+
InstanceGroupName: __expectString,
|
|
13883
|
+
InstanceId: __expectString,
|
|
13884
|
+
InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
|
|
13885
|
+
InstanceType: __expectString,
|
|
13886
|
+
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13887
|
+
});
|
|
13888
|
+
};
|
|
13889
|
+
const de_ClusterSummaries = (output, context) => {
|
|
13890
|
+
const retVal = (output || [])
|
|
13891
|
+
.filter((e) => e != null)
|
|
13892
|
+
.map((entry) => {
|
|
13893
|
+
return de_ClusterSummary(entry, context);
|
|
13894
|
+
});
|
|
13895
|
+
return retVal;
|
|
13896
|
+
};
|
|
13897
|
+
const de_ClusterSummary = (output, context) => {
|
|
13898
|
+
return take(output, {
|
|
13899
|
+
ClusterArn: __expectString,
|
|
13900
|
+
ClusterName: __expectString,
|
|
13901
|
+
ClusterStatus: __expectString,
|
|
13902
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13903
|
+
});
|
|
13904
|
+
};
|
|
13905
|
+
const de_CodeEditorAppSettings = (output, context) => {
|
|
13906
|
+
return take(output, {
|
|
13907
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
13908
|
+
LifecycleConfigArns: (_) => de_LifecycleConfigArns(_, context),
|
|
13909
|
+
});
|
|
13910
|
+
};
|
|
13272
13911
|
const de_CodeRepositories = (output, context) => {
|
|
13273
13912
|
const retVal = (output || [])
|
|
13274
13913
|
.filter((e) => e != null)
|
|
@@ -13392,6 +14031,13 @@ const de_ContainerArguments = (output, context) => {
|
|
|
13392
14031
|
});
|
|
13393
14032
|
return retVal;
|
|
13394
14033
|
};
|
|
14034
|
+
const de_ContainerConfig = (output, context) => {
|
|
14035
|
+
return take(output, {
|
|
14036
|
+
ContainerArguments: (_) => de_CustomImageContainerArguments(_, context),
|
|
14037
|
+
ContainerEntrypoint: (_) => de_CustomImageContainerEntrypoint(_, context),
|
|
14038
|
+
ContainerEnvironmentVariables: (_) => de_CustomImageContainerEnvironmentVariables(_, context),
|
|
14039
|
+
});
|
|
14040
|
+
};
|
|
13395
14041
|
const de_ContainerDefinition = (output, context) => {
|
|
13396
14042
|
return take(output, {
|
|
13397
14043
|
ContainerHostname: __expectString,
|
|
@@ -13525,6 +14171,11 @@ const de_CreateAutoMLJobV2Response = (output, context) => {
|
|
|
13525
14171
|
AutoMLJobArn: __expectString,
|
|
13526
14172
|
});
|
|
13527
14173
|
};
|
|
14174
|
+
const de_CreateClusterResponse = (output, context) => {
|
|
14175
|
+
return take(output, {
|
|
14176
|
+
ClusterArn: __expectString,
|
|
14177
|
+
});
|
|
14178
|
+
};
|
|
13528
14179
|
const de_CreateCodeRepositoryOutput = (output, context) => {
|
|
13529
14180
|
return take(output, {
|
|
13530
14181
|
CodeRepositoryArn: __expectString,
|
|
@@ -13606,6 +14257,11 @@ const de_CreateImageVersionResponse = (output, context) => {
|
|
|
13606
14257
|
ImageVersionArn: __expectString,
|
|
13607
14258
|
});
|
|
13608
14259
|
};
|
|
14260
|
+
const de_CreateInferenceComponentOutput = (output, context) => {
|
|
14261
|
+
return take(output, {
|
|
14262
|
+
InferenceComponentArn: __expectString,
|
|
14263
|
+
});
|
|
14264
|
+
};
|
|
13609
14265
|
const de_CreateInferenceExperimentResponse = (output, context) => {
|
|
13610
14266
|
return take(output, {
|
|
13611
14267
|
InferenceExperimentArn: __expectString,
|
|
@@ -13764,6 +14420,38 @@ const de_CustomerMetadataMap = (output, context) => {
|
|
|
13764
14420
|
return acc;
|
|
13765
14421
|
}, {});
|
|
13766
14422
|
};
|
|
14423
|
+
const de_CustomFileSystem = (output, context) => {
|
|
14424
|
+
if (output.EFSFileSystem != null) {
|
|
14425
|
+
return {
|
|
14426
|
+
EFSFileSystem: de_EFSFileSystem(output.EFSFileSystem, context),
|
|
14427
|
+
};
|
|
14428
|
+
}
|
|
14429
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14430
|
+
};
|
|
14431
|
+
const de_CustomFileSystemConfig = (output, context) => {
|
|
14432
|
+
if (output.EFSFileSystemConfig != null) {
|
|
14433
|
+
return {
|
|
14434
|
+
EFSFileSystemConfig: de_EFSFileSystemConfig(output.EFSFileSystemConfig, context),
|
|
14435
|
+
};
|
|
14436
|
+
}
|
|
14437
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14438
|
+
};
|
|
14439
|
+
const de_CustomFileSystemConfigs = (output, context) => {
|
|
14440
|
+
const retVal = (output || [])
|
|
14441
|
+
.filter((e) => e != null)
|
|
14442
|
+
.map((entry) => {
|
|
14443
|
+
return de_CustomFileSystemConfig(__expectUnion(entry), context);
|
|
14444
|
+
});
|
|
14445
|
+
return retVal;
|
|
14446
|
+
};
|
|
14447
|
+
const de_CustomFileSystems = (output, context) => {
|
|
14448
|
+
const retVal = (output || [])
|
|
14449
|
+
.filter((e) => e != null)
|
|
14450
|
+
.map((entry) => {
|
|
14451
|
+
return de_CustomFileSystem(__expectUnion(entry), context);
|
|
14452
|
+
});
|
|
14453
|
+
return retVal;
|
|
14454
|
+
};
|
|
13767
14455
|
const de_CustomImage = (output, context) => {
|
|
13768
14456
|
return take(output, {
|
|
13769
14457
|
AppImageConfigName: __expectString,
|
|
@@ -13771,6 +14459,31 @@ const de_CustomImage = (output, context) => {
|
|
|
13771
14459
|
ImageVersionNumber: __expectInt32,
|
|
13772
14460
|
});
|
|
13773
14461
|
};
|
|
14462
|
+
const de_CustomImageContainerArguments = (output, context) => {
|
|
14463
|
+
const retVal = (output || [])
|
|
14464
|
+
.filter((e) => e != null)
|
|
14465
|
+
.map((entry) => {
|
|
14466
|
+
return __expectString(entry);
|
|
14467
|
+
});
|
|
14468
|
+
return retVal;
|
|
14469
|
+
};
|
|
14470
|
+
const de_CustomImageContainerEntrypoint = (output, context) => {
|
|
14471
|
+
const retVal = (output || [])
|
|
14472
|
+
.filter((e) => e != null)
|
|
14473
|
+
.map((entry) => {
|
|
14474
|
+
return __expectString(entry);
|
|
14475
|
+
});
|
|
14476
|
+
return retVal;
|
|
14477
|
+
};
|
|
14478
|
+
const de_CustomImageContainerEnvironmentVariables = (output, context) => {
|
|
14479
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
14480
|
+
if (value === null) {
|
|
14481
|
+
return acc;
|
|
14482
|
+
}
|
|
14483
|
+
acc[key] = __expectString(value);
|
|
14484
|
+
return acc;
|
|
14485
|
+
}, {});
|
|
14486
|
+
};
|
|
13774
14487
|
const de_CustomImages = (output, context) => {
|
|
13775
14488
|
const retVal = (output || [])
|
|
13776
14489
|
.filter((e) => e != null)
|
|
@@ -13786,6 +14499,12 @@ const de_CustomizedMetricSpecification = (output, context) => {
|
|
|
13786
14499
|
Statistic: __expectString,
|
|
13787
14500
|
});
|
|
13788
14501
|
};
|
|
14502
|
+
const de_CustomPosixUserConfig = (output, context) => {
|
|
14503
|
+
return take(output, {
|
|
14504
|
+
Gid: __expectLong,
|
|
14505
|
+
Uid: __expectLong,
|
|
14506
|
+
});
|
|
14507
|
+
};
|
|
13789
14508
|
const de_DataCaptureConfig = (output, context) => {
|
|
13790
14509
|
return take(output, {
|
|
13791
14510
|
CaptureContentTypeHeader: (_) => de_CaptureContentTypeHeader(_, context),
|
|
@@ -13901,6 +14620,12 @@ const de_DebugRuleEvaluationStatuses = (output, context) => {
|
|
|
13901
14620
|
});
|
|
13902
14621
|
return retVal;
|
|
13903
14622
|
};
|
|
14623
|
+
const de_DefaultEbsStorageSettings = (output, context) => {
|
|
14624
|
+
return take(output, {
|
|
14625
|
+
DefaultEbsVolumeSizeInGb: __expectInt32,
|
|
14626
|
+
MaximumEbsVolumeSizeInGb: __expectInt32,
|
|
14627
|
+
});
|
|
14628
|
+
};
|
|
13904
14629
|
const de_DefaultSpaceSettings = (output, context) => {
|
|
13905
14630
|
return take(output, {
|
|
13906
14631
|
ExecutionRole: __expectString,
|
|
@@ -13909,6 +14634,11 @@ const de_DefaultSpaceSettings = (output, context) => {
|
|
|
13909
14634
|
SecurityGroups: (_) => de_SecurityGroupIds(_, context),
|
|
13910
14635
|
});
|
|
13911
14636
|
};
|
|
14637
|
+
const de_DefaultSpaceStorageSettings = (output, context) => {
|
|
14638
|
+
return take(output, {
|
|
14639
|
+
DefaultEbsStorageSettings: (_) => de_DefaultEbsStorageSettings(_, context),
|
|
14640
|
+
});
|
|
14641
|
+
};
|
|
13912
14642
|
const de_DeleteActionResponse = (output, context) => {
|
|
13913
14643
|
return take(output, {
|
|
13914
14644
|
ActionArn: __expectString,
|
|
@@ -13925,6 +14655,11 @@ const de_DeleteAssociationResponse = (output, context) => {
|
|
|
13925
14655
|
SourceArn: __expectString,
|
|
13926
14656
|
});
|
|
13927
14657
|
};
|
|
14658
|
+
const de_DeleteClusterResponse = (output, context) => {
|
|
14659
|
+
return take(output, {
|
|
14660
|
+
ClusterArn: __expectString,
|
|
14661
|
+
});
|
|
14662
|
+
};
|
|
13928
14663
|
const de_DeleteContextResponse = (output, context) => {
|
|
13929
14664
|
return take(output, {
|
|
13930
14665
|
ContextArn: __expectString,
|
|
@@ -14064,6 +14799,7 @@ const de_DescribeAppImageConfigResponse = (output, context) => {
|
|
|
14064
14799
|
AppImageConfigArn: __expectString,
|
|
14065
14800
|
AppImageConfigName: __expectString,
|
|
14066
14801
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14802
|
+
JupyterLabAppImageConfig: (_) => de_JupyterLabAppImageConfig(_, context),
|
|
14067
14803
|
KernelGatewayImageConfig: (_) => de_KernelGatewayImageConfig(_, context),
|
|
14068
14804
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14069
14805
|
});
|
|
@@ -14150,6 +14886,22 @@ const de_DescribeAutoMLJobV2Response = (output, context) => {
|
|
|
14150
14886
|
SecurityConfig: (_) => de_AutoMLSecurityConfig(_, context),
|
|
14151
14887
|
});
|
|
14152
14888
|
};
|
|
14889
|
+
const de_DescribeClusterNodeResponse = (output, context) => {
|
|
14890
|
+
return take(output, {
|
|
14891
|
+
NodeDetails: (_) => de_ClusterNodeDetails(_, context),
|
|
14892
|
+
});
|
|
14893
|
+
};
|
|
14894
|
+
const de_DescribeClusterResponse = (output, context) => {
|
|
14895
|
+
return take(output, {
|
|
14896
|
+
ClusterArn: __expectString,
|
|
14897
|
+
ClusterName: __expectString,
|
|
14898
|
+
ClusterStatus: __expectString,
|
|
14899
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14900
|
+
FailureMessage: __expectString,
|
|
14901
|
+
InstanceGroups: (_) => de_ClusterInstanceGroupDetailsList(_, context),
|
|
14902
|
+
VpcConfig: (_) => de_VpcConfig(_, context),
|
|
14903
|
+
});
|
|
14904
|
+
};
|
|
14153
14905
|
const de_DescribeCodeRepositoryOutput = (output, context) => {
|
|
14154
14906
|
return take(output, {
|
|
14155
14907
|
CodeRepositoryArn: __expectString,
|
|
@@ -14303,12 +15055,15 @@ const de_DescribeEndpointConfigOutput = (output, context) => {
|
|
|
14303
15055
|
AsyncInferenceConfig: (_) => de_AsyncInferenceConfig(_, context),
|
|
14304
15056
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14305
15057
|
DataCaptureConfig: (_) => de_DataCaptureConfig(_, context),
|
|
15058
|
+
EnableNetworkIsolation: __expectBoolean,
|
|
14306
15059
|
EndpointConfigArn: __expectString,
|
|
14307
15060
|
EndpointConfigName: __expectString,
|
|
15061
|
+
ExecutionRoleArn: __expectString,
|
|
14308
15062
|
ExplainerConfig: (_) => de_ExplainerConfig(_, context),
|
|
14309
15063
|
KmsKeyId: __expectString,
|
|
14310
15064
|
ProductionVariants: (_) => de_ProductionVariantList(_, context),
|
|
14311
15065
|
ShadowProductionVariants: (_) => de_ProductionVariantList(_, context),
|
|
15066
|
+
VpcConfig: (_) => de_VpcConfig(_, context),
|
|
14312
15067
|
});
|
|
14313
15068
|
};
|
|
14314
15069
|
const de_DescribeEndpointOutput = (output, context) => {
|
|
@@ -14487,6 +15242,21 @@ const de_DescribeImageVersionResponse = (output, context) => {
|
|
|
14487
15242
|
Version: __expectInt32,
|
|
14488
15243
|
});
|
|
14489
15244
|
};
|
|
15245
|
+
const de_DescribeInferenceComponentOutput = (output, context) => {
|
|
15246
|
+
return take(output, {
|
|
15247
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15248
|
+
EndpointArn: __expectString,
|
|
15249
|
+
EndpointName: __expectString,
|
|
15250
|
+
FailureReason: __expectString,
|
|
15251
|
+
InferenceComponentArn: __expectString,
|
|
15252
|
+
InferenceComponentName: __expectString,
|
|
15253
|
+
InferenceComponentStatus: __expectString,
|
|
15254
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15255
|
+
RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
|
|
15256
|
+
Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
|
|
15257
|
+
VariantName: __expectString,
|
|
15258
|
+
});
|
|
15259
|
+
};
|
|
14490
15260
|
const de_DescribeInferenceExperimentResponse = (output, context) => {
|
|
14491
15261
|
return take(output, {
|
|
14492
15262
|
Arn: __expectString,
|
|
@@ -14824,10 +15594,14 @@ const de_DescribeSpaceResponse = (output, context) => {
|
|
|
14824
15594
|
FailureReason: __expectString,
|
|
14825
15595
|
HomeEfsFileSystemUid: __expectString,
|
|
14826
15596
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15597
|
+
OwnershipSettings: (_) => de_OwnershipSettings(_, context),
|
|
14827
15598
|
SpaceArn: __expectString,
|
|
15599
|
+
SpaceDisplayName: __expectString,
|
|
14828
15600
|
SpaceName: __expectString,
|
|
14829
15601
|
SpaceSettings: (_) => de_SpaceSettings(_, context),
|
|
15602
|
+
SpaceSharingSettings: (_) => de_SpaceSharingSettings(_, context),
|
|
14830
15603
|
Status: __expectString,
|
|
15604
|
+
Url: __expectString,
|
|
14831
15605
|
});
|
|
14832
15606
|
};
|
|
14833
15607
|
const de_DescribeStudioLifecycleConfigResponse = (output, context) => {
|
|
@@ -14863,6 +15637,7 @@ const de_DescribeTrainingJobResponse = (output, context) => {
|
|
|
14863
15637
|
FailureReason: __expectString,
|
|
14864
15638
|
FinalMetricDataList: (_) => de_FinalMetricDataList(_, context),
|
|
14865
15639
|
HyperParameters: (_) => de_HyperParameters(_, context),
|
|
15640
|
+
InfraCheckConfig: (_) => de_InfraCheckConfig(_, context),
|
|
14866
15641
|
InputDataConfig: (_) => de_InputDataConfig(_, context),
|
|
14867
15642
|
LabelingJobArn: __expectString,
|
|
14868
15643
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -15148,6 +15923,11 @@ const de_DynamicScalingConfiguration = (output, context) => {
|
|
|
15148
15923
|
ScalingPolicies: (_) => de_ScalingPolicies(_, context),
|
|
15149
15924
|
});
|
|
15150
15925
|
};
|
|
15926
|
+
const de_EbsStorageSettings = (output, context) => {
|
|
15927
|
+
return take(output, {
|
|
15928
|
+
EbsVolumeSizeInGb: __expectInt32,
|
|
15929
|
+
});
|
|
15930
|
+
};
|
|
15151
15931
|
const de_Edge = (output, context) => {
|
|
15152
15932
|
return take(output, {
|
|
15153
15933
|
AssociationType: __expectString,
|
|
@@ -15296,6 +16076,17 @@ const de_Edges = (output, context) => {
|
|
|
15296
16076
|
});
|
|
15297
16077
|
return retVal;
|
|
15298
16078
|
};
|
|
16079
|
+
const de_EFSFileSystem = (output, context) => {
|
|
16080
|
+
return take(output, {
|
|
16081
|
+
FileSystemId: __expectString,
|
|
16082
|
+
});
|
|
16083
|
+
};
|
|
16084
|
+
const de_EFSFileSystemConfig = (output, context) => {
|
|
16085
|
+
return take(output, {
|
|
16086
|
+
FileSystemId: __expectString,
|
|
16087
|
+
FileSystemPath: __expectString,
|
|
16088
|
+
});
|
|
16089
|
+
};
|
|
15299
16090
|
const de_EMRStepMetadata = (output, context) => {
|
|
15300
16091
|
return take(output, {
|
|
15301
16092
|
ClusterId: __expectString,
|
|
@@ -16226,6 +17017,61 @@ const de_ImportHubContentResponse = (output, context) => {
|
|
|
16226
17017
|
HubContentArn: __expectString,
|
|
16227
17018
|
});
|
|
16228
17019
|
};
|
|
17020
|
+
const de_InferenceComponentComputeResourceRequirements = (output, context) => {
|
|
17021
|
+
return take(output, {
|
|
17022
|
+
MaxMemoryRequiredInMb: __expectInt32,
|
|
17023
|
+
MinMemoryRequiredInMb: __expectInt32,
|
|
17024
|
+
NumberOfAcceleratorDevicesRequired: __limitedParseFloat32,
|
|
17025
|
+
NumberOfCpuCoresRequired: __limitedParseFloat32,
|
|
17026
|
+
});
|
|
17027
|
+
};
|
|
17028
|
+
const de_InferenceComponentContainerSpecificationSummary = (output, context) => {
|
|
17029
|
+
return take(output, {
|
|
17030
|
+
ArtifactUrl: __expectString,
|
|
17031
|
+
DeployedImage: (_) => de_DeployedImage(_, context),
|
|
17032
|
+
Environment: (_) => de_EnvironmentMap(_, context),
|
|
17033
|
+
});
|
|
17034
|
+
};
|
|
17035
|
+
const de_InferenceComponentRuntimeConfigSummary = (output, context) => {
|
|
17036
|
+
return take(output, {
|
|
17037
|
+
CurrentCopyCount: __expectInt32,
|
|
17038
|
+
DesiredCopyCount: __expectInt32,
|
|
17039
|
+
});
|
|
17040
|
+
};
|
|
17041
|
+
const de_InferenceComponentSpecificationSummary = (output, context) => {
|
|
17042
|
+
return take(output, {
|
|
17043
|
+
ComputeResourceRequirements: (_) => de_InferenceComponentComputeResourceRequirements(_, context),
|
|
17044
|
+
Container: (_) => de_InferenceComponentContainerSpecificationSummary(_, context),
|
|
17045
|
+
ModelName: __expectString,
|
|
17046
|
+
StartupParameters: (_) => de_InferenceComponentStartupParameters(_, context),
|
|
17047
|
+
});
|
|
17048
|
+
};
|
|
17049
|
+
const de_InferenceComponentStartupParameters = (output, context) => {
|
|
17050
|
+
return take(output, {
|
|
17051
|
+
ContainerStartupHealthCheckTimeoutInSeconds: __expectInt32,
|
|
17052
|
+
ModelDataDownloadTimeoutInSeconds: __expectInt32,
|
|
17053
|
+
});
|
|
17054
|
+
};
|
|
17055
|
+
const de_InferenceComponentSummary = (output, context) => {
|
|
17056
|
+
return take(output, {
|
|
17057
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
17058
|
+
EndpointArn: __expectString,
|
|
17059
|
+
EndpointName: __expectString,
|
|
17060
|
+
InferenceComponentArn: __expectString,
|
|
17061
|
+
InferenceComponentName: __expectString,
|
|
17062
|
+
InferenceComponentStatus: __expectString,
|
|
17063
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
17064
|
+
VariantName: __expectString,
|
|
17065
|
+
});
|
|
17066
|
+
};
|
|
17067
|
+
const de_InferenceComponentSummaryList = (output, context) => {
|
|
17068
|
+
const retVal = (output || [])
|
|
17069
|
+
.filter((e) => e != null)
|
|
17070
|
+
.map((entry) => {
|
|
17071
|
+
return de_InferenceComponentSummary(entry, context);
|
|
17072
|
+
});
|
|
17073
|
+
return retVal;
|
|
17074
|
+
};
|
|
16229
17075
|
const de_InferenceExecutionConfig = (output, context) => {
|
|
16230
17076
|
return take(output, {
|
|
16231
17077
|
Mode: __expectString,
|
|
@@ -16340,6 +17186,11 @@ const de_InferenceSpecification = (output, context) => {
|
|
|
16340
17186
|
SupportedTransformInstanceTypes: (_) => de_TransformInstanceTypes(_, context),
|
|
16341
17187
|
});
|
|
16342
17188
|
};
|
|
17189
|
+
const de_InfraCheckConfig = (output, context) => {
|
|
17190
|
+
return take(output, {
|
|
17191
|
+
EnableInfraCheck: __expectBoolean,
|
|
17192
|
+
});
|
|
17193
|
+
};
|
|
16343
17194
|
const de_InputConfig = (output, context) => {
|
|
16344
17195
|
return take(output, {
|
|
16345
17196
|
DataInputConfig: __expectString,
|
|
@@ -16422,6 +17273,19 @@ const de_JsonContentTypes = (output, context) => {
|
|
|
16422
17273
|
});
|
|
16423
17274
|
return retVal;
|
|
16424
17275
|
};
|
|
17276
|
+
const de_JupyterLabAppImageConfig = (output, context) => {
|
|
17277
|
+
return take(output, {
|
|
17278
|
+
ContainerConfig: (_) => de_ContainerConfig(_, context),
|
|
17279
|
+
});
|
|
17280
|
+
};
|
|
17281
|
+
const de_JupyterLabAppSettings = (output, context) => {
|
|
17282
|
+
return take(output, {
|
|
17283
|
+
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
17284
|
+
CustomImages: (_) => de_CustomImages(_, context),
|
|
17285
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
17286
|
+
LifecycleConfigArns: (_) => de_LifecycleConfigArns(_, context),
|
|
17287
|
+
});
|
|
17288
|
+
};
|
|
16425
17289
|
const de_JupyterServerAppSettings = (output, context) => {
|
|
16426
17290
|
return take(output, {
|
|
16427
17291
|
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
@@ -16678,6 +17542,18 @@ const de_ListCandidatesForAutoMLJobResponse = (output, context) => {
|
|
|
16678
17542
|
NextToken: __expectString,
|
|
16679
17543
|
});
|
|
16680
17544
|
};
|
|
17545
|
+
const de_ListClusterNodesResponse = (output, context) => {
|
|
17546
|
+
return take(output, {
|
|
17547
|
+
ClusterNodeSummaries: (_) => de_ClusterNodeSummaries(_, context),
|
|
17548
|
+
NextToken: __expectString,
|
|
17549
|
+
});
|
|
17550
|
+
};
|
|
17551
|
+
const de_ListClustersResponse = (output, context) => {
|
|
17552
|
+
return take(output, {
|
|
17553
|
+
ClusterSummaries: (_) => de_ClusterSummaries(_, context),
|
|
17554
|
+
NextToken: __expectString,
|
|
17555
|
+
});
|
|
17556
|
+
};
|
|
16681
17557
|
const de_ListCodeRepositoriesOutput = (output, context) => {
|
|
16682
17558
|
return take(output, {
|
|
16683
17559
|
CodeRepositorySummaryList: (_) => de_CodeRepositorySummaryList(_, context),
|
|
@@ -16804,6 +17680,12 @@ const de_ListImageVersionsResponse = (output, context) => {
|
|
|
16804
17680
|
NextToken: __expectString,
|
|
16805
17681
|
});
|
|
16806
17682
|
};
|
|
17683
|
+
const de_ListInferenceComponentsOutput = (output, context) => {
|
|
17684
|
+
return take(output, {
|
|
17685
|
+
InferenceComponents: (_) => de_InferenceComponentSummaryList(_, context),
|
|
17686
|
+
NextToken: __expectString,
|
|
17687
|
+
});
|
|
17688
|
+
};
|
|
16807
17689
|
const de_ListInferenceExperimentsResponse = (output, context) => {
|
|
16808
17690
|
return take(output, {
|
|
16809
17691
|
InferenceExperiments: (_) => de_InferenceExperimentList(_, context),
|
|
@@ -18124,6 +19006,16 @@ const de_OutputParameterList = (output, context) => {
|
|
|
18124
19006
|
});
|
|
18125
19007
|
return retVal;
|
|
18126
19008
|
};
|
|
19009
|
+
const de_OwnershipSettings = (output, context) => {
|
|
19010
|
+
return take(output, {
|
|
19011
|
+
OwnerUserProfileName: __expectString,
|
|
19012
|
+
});
|
|
19013
|
+
};
|
|
19014
|
+
const de_OwnershipSettingsSummary = (output, context) => {
|
|
19015
|
+
return take(output, {
|
|
19016
|
+
OwnerUserProfileName: __expectString,
|
|
19017
|
+
});
|
|
19018
|
+
};
|
|
18127
19019
|
const de_ParallelismConfiguration = (output, context) => {
|
|
18128
19020
|
return take(output, {
|
|
18129
19021
|
MaxParallelExecutionSteps: __expectInt32,
|
|
@@ -18212,6 +19104,8 @@ const de_PendingProductionVariantSummary = (output, context) => {
|
|
|
18212
19104
|
DesiredServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
|
|
18213
19105
|
DesiredWeight: __limitedParseFloat32,
|
|
18214
19106
|
InstanceType: __expectString,
|
|
19107
|
+
ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
|
|
19108
|
+
RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
|
|
18215
19109
|
VariantName: __expectString,
|
|
18216
19110
|
VariantStatus: (_) => de_ProductionVariantStatusList(_, context),
|
|
18217
19111
|
});
|
|
@@ -18511,8 +19405,10 @@ const de_ProductionVariant = (output, context) => {
|
|
|
18511
19405
|
InitialInstanceCount: __expectInt32,
|
|
18512
19406
|
InitialVariantWeight: __limitedParseFloat32,
|
|
18513
19407
|
InstanceType: __expectString,
|
|
19408
|
+
ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
|
|
18514
19409
|
ModelDataDownloadTimeoutInSeconds: __expectInt32,
|
|
18515
19410
|
ModelName: __expectString,
|
|
19411
|
+
RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
|
|
18516
19412
|
ServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
|
|
18517
19413
|
VariantName: __expectString,
|
|
18518
19414
|
VolumeSizeInGB: __expectInt32,
|
|
@@ -18532,6 +19428,18 @@ const de_ProductionVariantList = (output, context) => {
|
|
|
18532
19428
|
});
|
|
18533
19429
|
return retVal;
|
|
18534
19430
|
};
|
|
19431
|
+
const de_ProductionVariantManagedInstanceScaling = (output, context) => {
|
|
19432
|
+
return take(output, {
|
|
19433
|
+
MaxInstanceCount: __expectInt32,
|
|
19434
|
+
MinInstanceCount: __expectInt32,
|
|
19435
|
+
Status: __expectString,
|
|
19436
|
+
});
|
|
19437
|
+
};
|
|
19438
|
+
const de_ProductionVariantRoutingConfig = (output, context) => {
|
|
19439
|
+
return take(output, {
|
|
19440
|
+
RoutingStrategy: __expectString,
|
|
19441
|
+
});
|
|
19442
|
+
};
|
|
18535
19443
|
const de_ProductionVariantServerlessConfig = (output, context) => {
|
|
18536
19444
|
return take(output, {
|
|
18537
19445
|
MaxConcurrency: __expectInt32,
|
|
@@ -18563,6 +19471,8 @@ const de_ProductionVariantSummary = (output, context) => {
|
|
|
18563
19471
|
DesiredInstanceCount: __expectInt32,
|
|
18564
19472
|
DesiredServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
|
|
18565
19473
|
DesiredWeight: __limitedParseFloat32,
|
|
19474
|
+
ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
|
|
19475
|
+
RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
|
|
18566
19476
|
VariantName: __expectString,
|
|
18567
19477
|
VariantStatus: (_) => de_ProductionVariantStatusList(_, context),
|
|
18568
19478
|
});
|
|
@@ -18975,6 +19885,7 @@ const de_ResourceSpec = (output, context) => {
|
|
|
18975
19885
|
InstanceType: __expectString,
|
|
18976
19886
|
LifecycleConfigArn: __expectString,
|
|
18977
19887
|
SageMakerImageArn: __expectString,
|
|
19888
|
+
SageMakerImageVersionAlias: __expectString,
|
|
18978
19889
|
SageMakerImageVersionArn: __expectString,
|
|
18979
19890
|
});
|
|
18980
19891
|
};
|
|
@@ -19261,15 +20172,30 @@ const de_SourceIpConfig = (output, context) => {
|
|
|
19261
20172
|
Cidrs: (_) => de_Cidrs(_, context),
|
|
19262
20173
|
});
|
|
19263
20174
|
};
|
|
20175
|
+
const de_SpaceCodeEditorAppSettings = (output, context) => {
|
|
20176
|
+
return take(output, {
|
|
20177
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
20178
|
+
});
|
|
20179
|
+
};
|
|
19264
20180
|
const de_SpaceDetails = (output, context) => {
|
|
19265
20181
|
return take(output, {
|
|
19266
20182
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
19267
20183
|
DomainId: __expectString,
|
|
19268
20184
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
20185
|
+
OwnershipSettingsSummary: (_) => de_OwnershipSettingsSummary(_, context),
|
|
20186
|
+
SpaceDisplayName: __expectString,
|
|
19269
20187
|
SpaceName: __expectString,
|
|
20188
|
+
SpaceSettingsSummary: (_) => de_SpaceSettingsSummary(_, context),
|
|
20189
|
+
SpaceSharingSettingsSummary: (_) => de_SpaceSharingSettingsSummary(_, context),
|
|
19270
20190
|
Status: __expectString,
|
|
19271
20191
|
});
|
|
19272
20192
|
};
|
|
20193
|
+
const de_SpaceJupyterLabAppSettings = (output, context) => {
|
|
20194
|
+
return take(output, {
|
|
20195
|
+
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
20196
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
20197
|
+
});
|
|
20198
|
+
};
|
|
19273
20199
|
const de_SpaceList = (output, context) => {
|
|
19274
20200
|
const retVal = (output || [])
|
|
19275
20201
|
.filter((e) => e != null)
|
|
@@ -19280,8 +20206,34 @@ const de_SpaceList = (output, context) => {
|
|
|
19280
20206
|
};
|
|
19281
20207
|
const de_SpaceSettings = (output, context) => {
|
|
19282
20208
|
return take(output, {
|
|
20209
|
+
AppType: __expectString,
|
|
20210
|
+
CodeEditorAppSettings: (_) => de_SpaceCodeEditorAppSettings(_, context),
|
|
20211
|
+
CustomFileSystems: (_) => de_CustomFileSystems(_, context),
|
|
20212
|
+
JupyterLabAppSettings: (_) => de_SpaceJupyterLabAppSettings(_, context),
|
|
19283
20213
|
JupyterServerAppSettings: (_) => de_JupyterServerAppSettings(_, context),
|
|
19284
20214
|
KernelGatewayAppSettings: (_) => de_KernelGatewayAppSettings(_, context),
|
|
20215
|
+
SpaceStorageSettings: (_) => de_SpaceStorageSettings(_, context),
|
|
20216
|
+
});
|
|
20217
|
+
};
|
|
20218
|
+
const de_SpaceSettingsSummary = (output, context) => {
|
|
20219
|
+
return take(output, {
|
|
20220
|
+
AppType: __expectString,
|
|
20221
|
+
SpaceStorageSettings: (_) => de_SpaceStorageSettings(_, context),
|
|
20222
|
+
});
|
|
20223
|
+
};
|
|
20224
|
+
const de_SpaceSharingSettings = (output, context) => {
|
|
20225
|
+
return take(output, {
|
|
20226
|
+
SharingType: __expectString,
|
|
20227
|
+
});
|
|
20228
|
+
};
|
|
20229
|
+
const de_SpaceSharingSettingsSummary = (output, context) => {
|
|
20230
|
+
return take(output, {
|
|
20231
|
+
SharingType: __expectString,
|
|
20232
|
+
});
|
|
20233
|
+
};
|
|
20234
|
+
const de_SpaceStorageSettings = (output, context) => {
|
|
20235
|
+
return take(output, {
|
|
20236
|
+
EbsStorageSettings: (_) => de_EbsStorageSettings(_, context),
|
|
19285
20237
|
});
|
|
19286
20238
|
};
|
|
19287
20239
|
const de_Stairs = (output, context) => {
|
|
@@ -19430,10 +20382,20 @@ const de_TextClassificationJobConfig = (output, context) => {
|
|
|
19430
20382
|
TargetLabelColumn: __expectString,
|
|
19431
20383
|
});
|
|
19432
20384
|
};
|
|
20385
|
+
const de_TextGenerationHyperParameters = (output, context) => {
|
|
20386
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
20387
|
+
if (value === null) {
|
|
20388
|
+
return acc;
|
|
20389
|
+
}
|
|
20390
|
+
acc[key] = __expectString(value);
|
|
20391
|
+
return acc;
|
|
20392
|
+
}, {});
|
|
20393
|
+
};
|
|
19433
20394
|
const de_TextGenerationJobConfig = (output, context) => {
|
|
19434
20395
|
return take(output, {
|
|
19435
20396
|
BaseModelName: __expectString,
|
|
19436
20397
|
CompletionCriteria: (_) => de_AutoMLJobCompletionCriteria(_, context),
|
|
20398
|
+
TextGenerationHyperParameters: (_) => de_TextGenerationHyperParameters(_, context),
|
|
19437
20399
|
});
|
|
19438
20400
|
};
|
|
19439
20401
|
const de_TextGenerationResolvedAttributes = (output, context) => {
|
|
@@ -19974,6 +20936,11 @@ const de_UpdateArtifactResponse = (output, context) => {
|
|
|
19974
20936
|
ArtifactArn: __expectString,
|
|
19975
20937
|
});
|
|
19976
20938
|
};
|
|
20939
|
+
const de_UpdateClusterResponse = (output, context) => {
|
|
20940
|
+
return take(output, {
|
|
20941
|
+
ClusterArn: __expectString,
|
|
20942
|
+
});
|
|
20943
|
+
};
|
|
19977
20944
|
const de_UpdateCodeRepositoryOutput = (output, context) => {
|
|
19978
20945
|
return take(output, {
|
|
19979
20946
|
CodeRepositoryArn: __expectString,
|
|
@@ -20024,6 +20991,16 @@ const de_UpdateImageVersionResponse = (output, context) => {
|
|
|
20024
20991
|
ImageVersionArn: __expectString,
|
|
20025
20992
|
});
|
|
20026
20993
|
};
|
|
20994
|
+
const de_UpdateInferenceComponentOutput = (output, context) => {
|
|
20995
|
+
return take(output, {
|
|
20996
|
+
InferenceComponentArn: __expectString,
|
|
20997
|
+
});
|
|
20998
|
+
};
|
|
20999
|
+
const de_UpdateInferenceComponentRuntimeConfigOutput = (output, context) => {
|
|
21000
|
+
return take(output, {
|
|
21001
|
+
InferenceComponentArn: __expectString,
|
|
21002
|
+
});
|
|
21003
|
+
};
|
|
20027
21004
|
const de_UpdateInferenceExperimentResponse = (output, context) => {
|
|
20028
21005
|
return take(output, {
|
|
20029
21006
|
InferenceExperimentArn: __expectString,
|
|
@@ -20141,13 +21118,20 @@ const de_UserProfileList = (output, context) => {
|
|
|
20141
21118
|
const de_UserSettings = (output, context) => {
|
|
20142
21119
|
return take(output, {
|
|
20143
21120
|
CanvasAppSettings: (_) => de_CanvasAppSettings(_, context),
|
|
21121
|
+
CodeEditorAppSettings: (_) => de_CodeEditorAppSettings(_, context),
|
|
21122
|
+
CustomFileSystemConfigs: (_) => de_CustomFileSystemConfigs(_, context),
|
|
21123
|
+
CustomPosixUserConfig: (_) => de_CustomPosixUserConfig(_, context),
|
|
21124
|
+
DefaultLandingUri: __expectString,
|
|
20144
21125
|
ExecutionRole: __expectString,
|
|
21126
|
+
JupyterLabAppSettings: (_) => de_JupyterLabAppSettings(_, context),
|
|
20145
21127
|
JupyterServerAppSettings: (_) => de_JupyterServerAppSettings(_, context),
|
|
20146
21128
|
KernelGatewayAppSettings: (_) => de_KernelGatewayAppSettings(_, context),
|
|
20147
21129
|
RSessionAppSettings: (_) => de_RSessionAppSettings(_, context),
|
|
20148
21130
|
RStudioServerProAppSettings: (_) => de_RStudioServerProAppSettings(_, context),
|
|
20149
21131
|
SecurityGroups: (_) => de_SecurityGroupIds(_, context),
|
|
20150
21132
|
SharingSettings: (_) => de_SharingSettings(_, context),
|
|
21133
|
+
SpaceStorageSettings: (_) => de_DefaultSpaceStorageSettings(_, context),
|
|
21134
|
+
StudioWebPortal: __expectString,
|
|
20151
21135
|
TensorBoardAppSettings: (_) => de_TensorBoardAppSettings(_, context),
|
|
20152
21136
|
});
|
|
20153
21137
|
};
|