@aws-sdk/client-sagemaker 3.38.0 → 3.39.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/CHANGELOG.md +11 -0
- package/dist-cjs/SageMaker.js +30 -0
- package/dist-cjs/commands/BatchDescribeModelPackageCommand.js +36 -0
- package/dist-cjs/commands/CreateLabelingJobCommand.js +3 -3
- package/dist-cjs/commands/CreateModelCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectCommand.js +2 -1
- package/dist-cjs/commands/DescribeStudioLifecycleConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeSubscribedWorkteamCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrainingJobCommand.js +1 -2
- package/dist-cjs/commands/StopHyperParameterTuningJobCommand.js +2 -2
- package/dist-cjs/commands/StopLabelingJobCommand.js +2 -2
- package/dist-cjs/commands/StopMonitoringScheduleCommand.js +2 -2
- package/dist-cjs/commands/StopNotebookInstanceCommand.js +2 -2
- package/dist-cjs/commands/StopPipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/StopProcessingJobCommand.js +2 -2
- package/dist-cjs/commands/StopTrainingJobCommand.js +2 -2
- package/dist-cjs/commands/StopTransformJobCommand.js +2 -2
- package/dist-cjs/commands/UpdateActionCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppImageConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +5 -0
- package/dist-cjs/models/models_0.js +165 -163
- package/dist-cjs/models/models_1.js +86 -85
- package/dist-cjs/models/models_2.js +83 -84
- package/dist-cjs/models/models_3.js +98 -1
- package/dist-cjs/protocols/Aws_json1_1.js +400 -10
- package/dist-es/SageMaker.js +30 -0
- package/dist-es/commands/BatchDescribeModelPackageCommand.js +39 -0
- package/dist-es/commands/CreateLabelingJobCommand.js +1 -1
- package/dist-es/commands/CreateModelCommand.js +1 -1
- package/dist-es/commands/DescribeProjectCommand.js +2 -1
- package/dist-es/commands/DescribeStudioLifecycleConfigCommand.js +1 -1
- package/dist-es/commands/DescribeSubscribedWorkteamCommand.js +1 -1
- package/dist-es/commands/DescribeTrainingJobCommand.js +1 -2
- package/dist-es/commands/StopHyperParameterTuningJobCommand.js +1 -1
- package/dist-es/commands/StopLabelingJobCommand.js +1 -1
- package/dist-es/commands/StopMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/StopNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/StopPipelineExecutionCommand.js +1 -1
- package/dist-es/commands/StopProcessingJobCommand.js +1 -1
- package/dist-es/commands/StopTrainingJobCommand.js +1 -1
- package/dist-es/commands/StopTransformJobCommand.js +1 -1
- package/dist-es/commands/UpdateActionCommand.js +1 -1
- package/dist-es/commands/UpdateAppImageConfigCommand.js +1 -1
- package/dist-es/commands/UpdateProjectCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +5 -0
- package/dist-es/models/models_0.js +140 -130
- package/dist-es/models/models_1.js +56 -59
- package/dist-es/models/models_2.js +53 -52
- package/dist-es/models/models_3.js +64 -0
- package/dist-es/protocols/Aws_json1_1.js +374 -10
- package/dist-types/SageMaker.d.ts +23 -2
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +35 -0
- package/dist-types/commands/CreateLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProjectCommand.d.ts +2 -1
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubscribedWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +1 -2
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +42 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +389 -691
- package/dist-types/models/models_1.d.ts +553 -275
- package/dist-types/models/models_2.d.ts +319 -185
- package/dist-types/models/models_3.d.ts +265 -5
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/SageMaker.d.ts +10 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/BatchDescribeModelPackageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSubscribedWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +240 -264
- package/dist-types/ts3.4/models/models_1.d.ts +177 -150
- package/dist-types/ts3.4/models/models_2.d.ts +170 -120
- package/dist-types/ts3.4/models/models_3.d.ts +163 -4
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +10 -10
|
@@ -36,6 +36,17 @@ export var serializeAws_json1_1AssociateTrialComponentCommand = function (input,
|
|
|
36
36
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
37
37
|
});
|
|
38
38
|
}); };
|
|
39
|
+
export var serializeAws_json1_1BatchDescribeModelPackageCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
40
|
+
var headers, body;
|
|
41
|
+
return __generator(this, function (_a) {
|
|
42
|
+
headers = {
|
|
43
|
+
"content-type": "application/x-amz-json-1.1",
|
|
44
|
+
"x-amz-target": "SageMaker.BatchDescribeModelPackage",
|
|
45
|
+
};
|
|
46
|
+
body = JSON.stringify(serializeAws_json1_1BatchDescribeModelPackageInput(input, context));
|
|
47
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
48
|
+
});
|
|
49
|
+
}); };
|
|
39
50
|
export var serializeAws_json1_1CreateActionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
40
51
|
var headers, body;
|
|
41
52
|
return __generator(this, function (_a) {
|
|
@@ -2577,6 +2588,17 @@ export var serializeAws_json1_1UpdatePipelineExecutionCommand = function (input,
|
|
|
2577
2588
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2578
2589
|
});
|
|
2579
2590
|
}); };
|
|
2591
|
+
export var serializeAws_json1_1UpdateProjectCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2592
|
+
var headers, body;
|
|
2593
|
+
return __generator(this, function (_a) {
|
|
2594
|
+
headers = {
|
|
2595
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2596
|
+
"x-amz-target": "SageMaker.UpdateProject",
|
|
2597
|
+
};
|
|
2598
|
+
body = JSON.stringify(serializeAws_json1_1UpdateProjectInput(input, context));
|
|
2599
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2600
|
+
});
|
|
2601
|
+
}); };
|
|
2580
2602
|
export var serializeAws_json1_1UpdateTrainingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2581
2603
|
var headers, body;
|
|
2582
2604
|
return __generator(this, function (_a) {
|
|
@@ -2815,6 +2837,50 @@ var deserializeAws_json1_1AssociateTrialComponentCommandError = function (output
|
|
|
2815
2837
|
}
|
|
2816
2838
|
});
|
|
2817
2839
|
}); };
|
|
2840
|
+
export var deserializeAws_json1_1BatchDescribeModelPackageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2841
|
+
var data, contents, response;
|
|
2842
|
+
return __generator(this, function (_a) {
|
|
2843
|
+
switch (_a.label) {
|
|
2844
|
+
case 0:
|
|
2845
|
+
if (output.statusCode >= 300) {
|
|
2846
|
+
return [2, deserializeAws_json1_1BatchDescribeModelPackageCommandError(output, context)];
|
|
2847
|
+
}
|
|
2848
|
+
return [4, parseBody(output.body, context)];
|
|
2849
|
+
case 1:
|
|
2850
|
+
data = _a.sent();
|
|
2851
|
+
contents = {};
|
|
2852
|
+
contents = deserializeAws_json1_1BatchDescribeModelPackageOutput(data, context);
|
|
2853
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2854
|
+
return [2, Promise.resolve(response)];
|
|
2855
|
+
}
|
|
2856
|
+
});
|
|
2857
|
+
}); };
|
|
2858
|
+
var deserializeAws_json1_1BatchDescribeModelPackageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2859
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
2860
|
+
var _b;
|
|
2861
|
+
return __generator(this, function (_c) {
|
|
2862
|
+
switch (_c.label) {
|
|
2863
|
+
case 0:
|
|
2864
|
+
_a = [__assign({}, output)];
|
|
2865
|
+
_b = {};
|
|
2866
|
+
return [4, parseBody(output.body, context)];
|
|
2867
|
+
case 1:
|
|
2868
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
2869
|
+
errorCode = "UnknownError";
|
|
2870
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2871
|
+
switch (errorCode) {
|
|
2872
|
+
default:
|
|
2873
|
+
parsedBody = parsedOutput.body;
|
|
2874
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2875
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2876
|
+
}
|
|
2877
|
+
message = response.message || response.Message || errorCode;
|
|
2878
|
+
response.message = message;
|
|
2879
|
+
delete response.Message;
|
|
2880
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2881
|
+
}
|
|
2882
|
+
});
|
|
2883
|
+
}); };
|
|
2818
2884
|
export var deserializeAws_json1_1CreateActionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2819
2885
|
var data, contents, response;
|
|
2820
2886
|
return __generator(this, function (_a) {
|
|
@@ -15171,6 +15237,50 @@ var deserializeAws_json1_1UpdatePipelineExecutionCommandError = function (output
|
|
|
15171
15237
|
}
|
|
15172
15238
|
});
|
|
15173
15239
|
}); };
|
|
15240
|
+
export var deserializeAws_json1_1UpdateProjectCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15241
|
+
var data, contents, response;
|
|
15242
|
+
return __generator(this, function (_a) {
|
|
15243
|
+
switch (_a.label) {
|
|
15244
|
+
case 0:
|
|
15245
|
+
if (output.statusCode >= 300) {
|
|
15246
|
+
return [2, deserializeAws_json1_1UpdateProjectCommandError(output, context)];
|
|
15247
|
+
}
|
|
15248
|
+
return [4, parseBody(output.body, context)];
|
|
15249
|
+
case 1:
|
|
15250
|
+
data = _a.sent();
|
|
15251
|
+
contents = {};
|
|
15252
|
+
contents = deserializeAws_json1_1UpdateProjectOutput(data, context);
|
|
15253
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
15254
|
+
return [2, Promise.resolve(response)];
|
|
15255
|
+
}
|
|
15256
|
+
});
|
|
15257
|
+
}); };
|
|
15258
|
+
var deserializeAws_json1_1UpdateProjectCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15259
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
15260
|
+
var _b;
|
|
15261
|
+
return __generator(this, function (_c) {
|
|
15262
|
+
switch (_c.label) {
|
|
15263
|
+
case 0:
|
|
15264
|
+
_a = [__assign({}, output)];
|
|
15265
|
+
_b = {};
|
|
15266
|
+
return [4, parseBody(output.body, context)];
|
|
15267
|
+
case 1:
|
|
15268
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
15269
|
+
errorCode = "UnknownError";
|
|
15270
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
15271
|
+
switch (errorCode) {
|
|
15272
|
+
default:
|
|
15273
|
+
parsedBody = parsedOutput.body;
|
|
15274
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
15275
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
15276
|
+
}
|
|
15277
|
+
message = response.message || response.Message || errorCode;
|
|
15278
|
+
response.message = message;
|
|
15279
|
+
delete response.Message;
|
|
15280
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
15281
|
+
}
|
|
15282
|
+
});
|
|
15283
|
+
}); };
|
|
15174
15284
|
export var deserializeAws_json1_1UpdateTrainingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
15175
15285
|
var data, contents, response;
|
|
15176
15286
|
return __generator(this, function (_a) {
|
|
@@ -15770,6 +15880,12 @@ var serializeAws_json1_1AutoRollbackConfig = function (input, context) {
|
|
|
15770
15880
|
return __assign({}, (input.Alarms !== undefined &&
|
|
15771
15881
|
input.Alarms !== null && { Alarms: serializeAws_json1_1AlarmList(input.Alarms, context) }));
|
|
15772
15882
|
};
|
|
15883
|
+
var serializeAws_json1_1BatchDescribeModelPackageInput = function (input, context) {
|
|
15884
|
+
return __assign({}, (input.ModelPackageArnList !== undefined &&
|
|
15885
|
+
input.ModelPackageArnList !== null && {
|
|
15886
|
+
ModelPackageArnList: serializeAws_json1_1ModelPackageArnList(input.ModelPackageArnList, context),
|
|
15887
|
+
}));
|
|
15888
|
+
};
|
|
15773
15889
|
var serializeAws_json1_1Bias = function (input, context) {
|
|
15774
15890
|
return __assign({}, (input.Report !== undefined &&
|
|
15775
15891
|
input.Report !== null && { Report: serializeAws_json1_1MetricsSource(input.Report, context) }));
|
|
@@ -16116,11 +16232,15 @@ var serializeAws_json1_1CreateDeviceFleetRequest = function (input, context) {
|
|
|
16116
16232
|
})), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16117
16233
|
};
|
|
16118
16234
|
var serializeAws_json1_1CreateDomainRequest = function (input, context) {
|
|
16119
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppNetworkAccessType !== undefined &&
|
|
16120
|
-
input.AppNetworkAccessType !== null && { AppNetworkAccessType: input.AppNetworkAccessType })), (input.
|
|
16235
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AppNetworkAccessType !== undefined &&
|
|
16236
|
+
input.AppNetworkAccessType !== null && { AppNetworkAccessType: input.AppNetworkAccessType })), (input.AppSecurityGroupManagement !== undefined &&
|
|
16237
|
+
input.AppSecurityGroupManagement !== null && { AppSecurityGroupManagement: input.AppSecurityGroupManagement })), (input.AuthMode !== undefined && input.AuthMode !== null && { AuthMode: input.AuthMode })), (input.DefaultUserSettings !== undefined &&
|
|
16121
16238
|
input.DefaultUserSettings !== null && {
|
|
16122
16239
|
DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
|
|
16123
|
-
})), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.
|
|
16240
|
+
})), (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.DomainSettings !== undefined &&
|
|
16241
|
+
input.DomainSettings !== null && {
|
|
16242
|
+
DomainSettings: serializeAws_json1_1DomainSettings(input.DomainSettings, context),
|
|
16243
|
+
})), (input.HomeEfsFileSystemKmsKeyId !== undefined &&
|
|
16124
16244
|
input.HomeEfsFileSystemKmsKeyId !== null && { HomeEfsFileSystemKmsKeyId: input.HomeEfsFileSystemKmsKeyId })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.SubnetIds !== undefined &&
|
|
16125
16245
|
input.SubnetIds !== null && { SubnetIds: serializeAws_json1_1Subnets(input.SubnetIds, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }));
|
|
16126
16246
|
};
|
|
@@ -16307,8 +16427,11 @@ var serializeAws_json1_1CreateModelPackageGroupInput = function (input, context)
|
|
|
16307
16427
|
};
|
|
16308
16428
|
var serializeAws_json1_1CreateModelPackageInput = function (input, context) {
|
|
16309
16429
|
var _a;
|
|
16310
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CertifyForMarketplace !== undefined &&
|
|
16311
|
-
input.CertifyForMarketplace !== null && { CertifyForMarketplace: input.CertifyForMarketplace })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.
|
|
16430
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CertifyForMarketplace !== undefined &&
|
|
16431
|
+
input.CertifyForMarketplace !== null && { CertifyForMarketplace: input.CertifyForMarketplace })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.CustomerMetadataProperties !== undefined &&
|
|
16432
|
+
input.CustomerMetadataProperties !== null && {
|
|
16433
|
+
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
16434
|
+
})), (input.InferenceSpecification !== undefined &&
|
|
16312
16435
|
input.InferenceSpecification !== null && {
|
|
16313
16436
|
InferenceSpecification: serializeAws_json1_1InferenceSpecification(input.InferenceSpecification, context),
|
|
16314
16437
|
})), (input.MetadataProperties !== undefined &&
|
|
@@ -16600,6 +16723,26 @@ var serializeAws_json1_1CsvContentTypes = function (input, context) {
|
|
|
16600
16723
|
return entry;
|
|
16601
16724
|
});
|
|
16602
16725
|
};
|
|
16726
|
+
var serializeAws_json1_1CustomerMetadataKeyList = function (input, context) {
|
|
16727
|
+
return input
|
|
16728
|
+
.filter(function (e) { return e != null; })
|
|
16729
|
+
.map(function (entry) {
|
|
16730
|
+
if (entry === null) {
|
|
16731
|
+
return null;
|
|
16732
|
+
}
|
|
16733
|
+
return entry;
|
|
16734
|
+
});
|
|
16735
|
+
};
|
|
16736
|
+
var serializeAws_json1_1CustomerMetadataMap = function (input, context) {
|
|
16737
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
16738
|
+
var _b;
|
|
16739
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
16740
|
+
if (value === null) {
|
|
16741
|
+
return acc;
|
|
16742
|
+
}
|
|
16743
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
16744
|
+
}, {});
|
|
16745
|
+
};
|
|
16603
16746
|
var serializeAws_json1_1CustomImage = function (input, context) {
|
|
16604
16747
|
return __assign(__assign(__assign({}, (input.AppImageConfigName !== undefined &&
|
|
16605
16748
|
input.AppImageConfigName !== null && { AppImageConfigName: input.AppImageConfigName })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.ImageVersionNumber !== undefined &&
|
|
@@ -17087,6 +17230,31 @@ var serializeAws_json1_1DisassociateTrialComponentRequest = function (input, con
|
|
|
17087
17230
|
return __assign(__assign({}, (input.TrialComponentName !== undefined &&
|
|
17088
17231
|
input.TrialComponentName !== null && { TrialComponentName: input.TrialComponentName })), (input.TrialName !== undefined && input.TrialName !== null && { TrialName: input.TrialName }));
|
|
17089
17232
|
};
|
|
17233
|
+
var serializeAws_json1_1DomainSecurityGroupIds = function (input, context) {
|
|
17234
|
+
return input
|
|
17235
|
+
.filter(function (e) { return e != null; })
|
|
17236
|
+
.map(function (entry) {
|
|
17237
|
+
if (entry === null) {
|
|
17238
|
+
return null;
|
|
17239
|
+
}
|
|
17240
|
+
return entry;
|
|
17241
|
+
});
|
|
17242
|
+
};
|
|
17243
|
+
var serializeAws_json1_1DomainSettings = function (input, context) {
|
|
17244
|
+
return __assign(__assign({}, (input.RStudioServerProDomainSettings !== undefined &&
|
|
17245
|
+
input.RStudioServerProDomainSettings !== null && {
|
|
17246
|
+
RStudioServerProDomainSettings: serializeAws_json1_1RStudioServerProDomainSettings(input.RStudioServerProDomainSettings, context),
|
|
17247
|
+
})), (input.SecurityGroupIds !== undefined &&
|
|
17248
|
+
input.SecurityGroupIds !== null && {
|
|
17249
|
+
SecurityGroupIds: serializeAws_json1_1DomainSecurityGroupIds(input.SecurityGroupIds, context),
|
|
17250
|
+
}));
|
|
17251
|
+
};
|
|
17252
|
+
var serializeAws_json1_1DomainSettingsForUpdate = function (input, context) {
|
|
17253
|
+
return __assign({}, (input.RStudioServerProDomainSettingsForUpdate !== undefined &&
|
|
17254
|
+
input.RStudioServerProDomainSettingsForUpdate !== null && {
|
|
17255
|
+
RStudioServerProDomainSettingsForUpdate: serializeAws_json1_1RStudioServerProDomainSettingsForUpdate(input.RStudioServerProDomainSettingsForUpdate, context),
|
|
17256
|
+
}));
|
|
17257
|
+
};
|
|
17090
17258
|
var serializeAws_json1_1EdgeOutputConfig = function (input, context) {
|
|
17091
17259
|
return __assign(__assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PresetDeploymentConfig !== undefined &&
|
|
17092
17260
|
input.PresetDeploymentConfig !== null && { PresetDeploymentConfig: input.PresetDeploymentConfig })), (input.PresetDeploymentType !== undefined &&
|
|
@@ -18183,6 +18351,16 @@ var serializeAws_json1_1ModelMetrics = function (input, context) {
|
|
|
18183
18351
|
})), (input.ModelQuality !== undefined &&
|
|
18184
18352
|
input.ModelQuality !== null && { ModelQuality: serializeAws_json1_1ModelQuality(input.ModelQuality, context) }));
|
|
18185
18353
|
};
|
|
18354
|
+
var serializeAws_json1_1ModelPackageArnList = function (input, context) {
|
|
18355
|
+
return input
|
|
18356
|
+
.filter(function (e) { return e != null; })
|
|
18357
|
+
.map(function (entry) {
|
|
18358
|
+
if (entry === null) {
|
|
18359
|
+
return null;
|
|
18360
|
+
}
|
|
18361
|
+
return entry;
|
|
18362
|
+
});
|
|
18363
|
+
};
|
|
18186
18364
|
var serializeAws_json1_1ModelPackageContainerDefinition = function (input, context) {
|
|
18187
18365
|
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
18188
18366
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
|
|
@@ -18852,6 +19030,28 @@ var serializeAws_json1_1RetryStrategy = function (input, context) {
|
|
|
18852
19030
|
return __assign({}, (input.MaximumRetryAttempts !== undefined &&
|
|
18853
19031
|
input.MaximumRetryAttempts !== null && { MaximumRetryAttempts: input.MaximumRetryAttempts }));
|
|
18854
19032
|
};
|
|
19033
|
+
var serializeAws_json1_1RSessionAppSettings = function (input, context) {
|
|
19034
|
+
return {};
|
|
19035
|
+
};
|
|
19036
|
+
var serializeAws_json1_1RStudioServerProAppSettings = function (input, context) {
|
|
19037
|
+
return __assign(__assign({}, (input.AccessStatus !== undefined && input.AccessStatus !== null && { AccessStatus: input.AccessStatus })), (input.UserGroup !== undefined && input.UserGroup !== null && { UserGroup: input.UserGroup }));
|
|
19038
|
+
};
|
|
19039
|
+
var serializeAws_json1_1RStudioServerProDomainSettings = function (input, context) {
|
|
19040
|
+
return __assign(__assign(__assign(__assign({}, (input.DefaultResourceSpec !== undefined &&
|
|
19041
|
+
input.DefaultResourceSpec !== null && {
|
|
19042
|
+
DefaultResourceSpec: serializeAws_json1_1ResourceSpec(input.DefaultResourceSpec, context),
|
|
19043
|
+
})), (input.DomainExecutionRoleArn !== undefined &&
|
|
19044
|
+
input.DomainExecutionRoleArn !== null && { DomainExecutionRoleArn: input.DomainExecutionRoleArn })), (input.RStudioConnectUrl !== undefined &&
|
|
19045
|
+
input.RStudioConnectUrl !== null && { RStudioConnectUrl: input.RStudioConnectUrl })), (input.RStudioPackageManagerUrl !== undefined &&
|
|
19046
|
+
input.RStudioPackageManagerUrl !== null && { RStudioPackageManagerUrl: input.RStudioPackageManagerUrl }));
|
|
19047
|
+
};
|
|
19048
|
+
var serializeAws_json1_1RStudioServerProDomainSettingsForUpdate = function (input, context) {
|
|
19049
|
+
return __assign(__assign({}, (input.DefaultResourceSpec !== undefined &&
|
|
19050
|
+
input.DefaultResourceSpec !== null && {
|
|
19051
|
+
DefaultResourceSpec: serializeAws_json1_1ResourceSpec(input.DefaultResourceSpec, context),
|
|
19052
|
+
})), (input.DomainExecutionRoleArn !== undefined &&
|
|
19053
|
+
input.DomainExecutionRoleArn !== null && { DomainExecutionRoleArn: input.DomainExecutionRoleArn }));
|
|
19054
|
+
};
|
|
18855
19055
|
var serializeAws_json1_1RuleParameters = function (input, context) {
|
|
18856
19056
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
18857
19057
|
var _b;
|
|
@@ -18931,6 +19131,13 @@ var serializeAws_json1_1ServiceCatalogProvisioningDetails = function (input, con
|
|
|
18931
19131
|
ProvisioningParameters: serializeAws_json1_1ProvisioningParameters(input.ProvisioningParameters, context),
|
|
18932
19132
|
}));
|
|
18933
19133
|
};
|
|
19134
|
+
var serializeAws_json1_1ServiceCatalogProvisioningUpdateDetails = function (input, context) {
|
|
19135
|
+
return __assign(__assign({}, (input.ProvisioningArtifactId !== undefined &&
|
|
19136
|
+
input.ProvisioningArtifactId !== null && { ProvisioningArtifactId: input.ProvisioningArtifactId })), (input.ProvisioningParameters !== undefined &&
|
|
19137
|
+
input.ProvisioningParameters !== null && {
|
|
19138
|
+
ProvisioningParameters: serializeAws_json1_1ProvisioningParameters(input.ProvisioningParameters, context),
|
|
19139
|
+
}));
|
|
19140
|
+
};
|
|
18934
19141
|
var serializeAws_json1_1SharingSettings = function (input, context) {
|
|
18935
19142
|
return __assign(__assign(__assign({}, (input.NotebookOutputOption !== undefined &&
|
|
18936
19143
|
input.NotebookOutputOption !== null && { NotebookOutputOption: input.NotebookOutputOption })), (input.S3KmsKeyId !== undefined && input.S3KmsKeyId !== null && { S3KmsKeyId: input.S3KmsKeyId })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }));
|
|
@@ -19314,10 +19521,13 @@ var serializeAws_json1_1UpdateDevicesRequest = function (input, context) {
|
|
|
19314
19521
|
input.Devices !== null && { Devices: serializeAws_json1_1Devices(input.Devices, context) }));
|
|
19315
19522
|
};
|
|
19316
19523
|
var serializeAws_json1_1UpdateDomainRequest = function (input, context) {
|
|
19317
|
-
return __assign(__assign({}, (input.DefaultUserSettings !== undefined &&
|
|
19524
|
+
return __assign(__assign(__assign({}, (input.DefaultUserSettings !== undefined &&
|
|
19318
19525
|
input.DefaultUserSettings !== null && {
|
|
19319
19526
|
DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
|
|
19320
|
-
})), (input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId }))
|
|
19527
|
+
})), (input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId })), (input.DomainSettingsForUpdate !== undefined &&
|
|
19528
|
+
input.DomainSettingsForUpdate !== null && {
|
|
19529
|
+
DomainSettingsForUpdate: serializeAws_json1_1DomainSettingsForUpdate(input.DomainSettingsForUpdate, context),
|
|
19530
|
+
}));
|
|
19321
19531
|
};
|
|
19322
19532
|
var serializeAws_json1_1UpdateEndpointInput = function (input, context) {
|
|
19323
19533
|
return __assign(__assign(__assign(__assign(__assign({}, (input.DeploymentConfig !== undefined &&
|
|
@@ -19347,8 +19557,14 @@ var serializeAws_json1_1UpdateImageRequest = function (input, context) {
|
|
|
19347
19557
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
19348
19558
|
};
|
|
19349
19559
|
var serializeAws_json1_1UpdateModelPackageInput = function (input, context) {
|
|
19350
|
-
return __assign(__assign(__assign({}, (input.ApprovalDescription !== undefined &&
|
|
19351
|
-
input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.
|
|
19560
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ApprovalDescription !== undefined &&
|
|
19561
|
+
input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.CustomerMetadataProperties !== undefined &&
|
|
19562
|
+
input.CustomerMetadataProperties !== null && {
|
|
19563
|
+
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
19564
|
+
})), (input.CustomerMetadataPropertiesToRemove !== undefined &&
|
|
19565
|
+
input.CustomerMetadataPropertiesToRemove !== null && {
|
|
19566
|
+
CustomerMetadataPropertiesToRemove: serializeAws_json1_1CustomerMetadataKeyList(input.CustomerMetadataPropertiesToRemove, context),
|
|
19567
|
+
})), (input.ModelApprovalStatus !== undefined &&
|
|
19352
19568
|
input.ModelApprovalStatus !== null && { ModelApprovalStatus: input.ModelApprovalStatus })), (input.ModelPackageArn !== undefined &&
|
|
19353
19569
|
input.ModelPackageArn !== null && { ModelPackageArn: input.ModelPackageArn }));
|
|
19354
19570
|
};
|
|
@@ -19410,6 +19626,13 @@ var serializeAws_json1_1UpdatePipelineRequest = function (input, context) {
|
|
|
19410
19626
|
input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription })), (input.PipelineDisplayName !== undefined &&
|
|
19411
19627
|
input.PipelineDisplayName !== null && { PipelineDisplayName: input.PipelineDisplayName })), (input.PipelineName !== undefined && input.PipelineName !== null && { PipelineName: input.PipelineName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
19412
19628
|
};
|
|
19629
|
+
var serializeAws_json1_1UpdateProjectInput = function (input, context) {
|
|
19630
|
+
return __assign(__assign(__assign(__assign({}, (input.ProjectDescription !== undefined &&
|
|
19631
|
+
input.ProjectDescription !== null && { ProjectDescription: input.ProjectDescription })), (input.ProjectName !== undefined && input.ProjectName !== null && { ProjectName: input.ProjectName })), (input.ServiceCatalogProvisioningUpdateDetails !== undefined &&
|
|
19632
|
+
input.ServiceCatalogProvisioningUpdateDetails !== null && {
|
|
19633
|
+
ServiceCatalogProvisioningUpdateDetails: serializeAws_json1_1ServiceCatalogProvisioningUpdateDetails(input.ServiceCatalogProvisioningUpdateDetails, context),
|
|
19634
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
19635
|
+
};
|
|
19413
19636
|
var serializeAws_json1_1UpdateTrainingJobRequest = function (input, context) {
|
|
19414
19637
|
return __assign(__assign(__assign({}, (input.ProfilerConfig !== undefined &&
|
|
19415
19638
|
input.ProfilerConfig !== null && {
|
|
@@ -19474,12 +19697,18 @@ var serializeAws_json1_1USD = function (input, context) {
|
|
|
19474
19697
|
input.TenthFractionsOfACent !== null && { TenthFractionsOfACent: input.TenthFractionsOfACent }));
|
|
19475
19698
|
};
|
|
19476
19699
|
var serializeAws_json1_1UserSettings = function (input, context) {
|
|
19477
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExecutionRole !== undefined && input.ExecutionRole !== null && { ExecutionRole: input.ExecutionRole })), (input.JupyterServerAppSettings !== undefined &&
|
|
19700
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ExecutionRole !== undefined && input.ExecutionRole !== null && { ExecutionRole: input.ExecutionRole })), (input.JupyterServerAppSettings !== undefined &&
|
|
19478
19701
|
input.JupyterServerAppSettings !== null && {
|
|
19479
19702
|
JupyterServerAppSettings: serializeAws_json1_1JupyterServerAppSettings(input.JupyterServerAppSettings, context),
|
|
19480
19703
|
})), (input.KernelGatewayAppSettings !== undefined &&
|
|
19481
19704
|
input.KernelGatewayAppSettings !== null && {
|
|
19482
19705
|
KernelGatewayAppSettings: serializeAws_json1_1KernelGatewayAppSettings(input.KernelGatewayAppSettings, context),
|
|
19706
|
+
})), (input.RSessionAppSettings !== undefined &&
|
|
19707
|
+
input.RSessionAppSettings !== null && {
|
|
19708
|
+
RSessionAppSettings: serializeAws_json1_1RSessionAppSettings(input.RSessionAppSettings, context),
|
|
19709
|
+
})), (input.RStudioServerProAppSettings !== undefined &&
|
|
19710
|
+
input.RStudioServerProAppSettings !== null && {
|
|
19711
|
+
RStudioServerProAppSettings: serializeAws_json1_1RStudioServerProAppSettings(input.RStudioServerProAppSettings, context),
|
|
19483
19712
|
})), (input.SecurityGroups !== undefined &&
|
|
19484
19713
|
input.SecurityGroups !== null && {
|
|
19485
19714
|
SecurityGroups: serializeAws_json1_1SecurityGroupIds(input.SecurityGroups, context),
|
|
@@ -20089,6 +20318,48 @@ var deserializeAws_json1_1AutoRollbackConfig = function (output, context) {
|
|
|
20089
20318
|
: undefined,
|
|
20090
20319
|
};
|
|
20091
20320
|
};
|
|
20321
|
+
var deserializeAws_json1_1BatchDescribeModelPackageError = function (output, context) {
|
|
20322
|
+
return {
|
|
20323
|
+
ErrorCode: __expectString(output.ErrorCode),
|
|
20324
|
+
ErrorResponse: __expectString(output.ErrorResponse),
|
|
20325
|
+
};
|
|
20326
|
+
};
|
|
20327
|
+
var deserializeAws_json1_1BatchDescribeModelPackageErrorMap = function (output, context) {
|
|
20328
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
20329
|
+
var _b;
|
|
20330
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
20331
|
+
if (value === null) {
|
|
20332
|
+
return acc;
|
|
20333
|
+
}
|
|
20334
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_json1_1BatchDescribeModelPackageError(value, context), _b));
|
|
20335
|
+
}, {});
|
|
20336
|
+
};
|
|
20337
|
+
var deserializeAws_json1_1BatchDescribeModelPackageOutput = function (output, context) {
|
|
20338
|
+
return {
|
|
20339
|
+
BatchDescribeModelPackageErrorMap: output.BatchDescribeModelPackageErrorMap !== undefined && output.BatchDescribeModelPackageErrorMap !== null
|
|
20340
|
+
? deserializeAws_json1_1BatchDescribeModelPackageErrorMap(output.BatchDescribeModelPackageErrorMap, context)
|
|
20341
|
+
: undefined,
|
|
20342
|
+
ModelPackageSummaries: output.ModelPackageSummaries !== undefined && output.ModelPackageSummaries !== null
|
|
20343
|
+
? deserializeAws_json1_1ModelPackageSummaries(output.ModelPackageSummaries, context)
|
|
20344
|
+
: undefined,
|
|
20345
|
+
};
|
|
20346
|
+
};
|
|
20347
|
+
var deserializeAws_json1_1BatchDescribeModelPackageSummary = function (output, context) {
|
|
20348
|
+
return {
|
|
20349
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
20350
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
20351
|
+
: undefined,
|
|
20352
|
+
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
20353
|
+
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
20354
|
+
: undefined,
|
|
20355
|
+
ModelApprovalStatus: __expectString(output.ModelApprovalStatus),
|
|
20356
|
+
ModelPackageArn: __expectString(output.ModelPackageArn),
|
|
20357
|
+
ModelPackageDescription: __expectString(output.ModelPackageDescription),
|
|
20358
|
+
ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
|
|
20359
|
+
ModelPackageStatus: __expectString(output.ModelPackageStatus),
|
|
20360
|
+
ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
|
|
20361
|
+
};
|
|
20362
|
+
};
|
|
20092
20363
|
var deserializeAws_json1_1Bias = function (output, context) {
|
|
20093
20364
|
return {
|
|
20094
20365
|
Report: output.Report !== undefined && output.Report !== null
|
|
@@ -20728,6 +20999,16 @@ var deserializeAws_json1_1CsvContentTypes = function (output, context) {
|
|
|
20728
20999
|
return __expectString(entry);
|
|
20729
21000
|
});
|
|
20730
21001
|
};
|
|
21002
|
+
var deserializeAws_json1_1CustomerMetadataMap = function (output, context) {
|
|
21003
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
21004
|
+
var _b;
|
|
21005
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
21006
|
+
if (value === null) {
|
|
21007
|
+
return acc;
|
|
21008
|
+
}
|
|
21009
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
21010
|
+
}, {});
|
|
21011
|
+
};
|
|
20731
21012
|
var deserializeAws_json1_1CustomImage = function (output, context) {
|
|
20732
21013
|
return {
|
|
20733
21014
|
AppImageConfigName: __expectString(output.AppImageConfigName),
|
|
@@ -21313,6 +21594,7 @@ var deserializeAws_json1_1DescribeDeviceResponse = function (output, context) {
|
|
|
21313
21594
|
var deserializeAws_json1_1DescribeDomainResponse = function (output, context) {
|
|
21314
21595
|
return {
|
|
21315
21596
|
AppNetworkAccessType: __expectString(output.AppNetworkAccessType),
|
|
21597
|
+
AppSecurityGroupManagement: __expectString(output.AppSecurityGroupManagement),
|
|
21316
21598
|
AuthMode: __expectString(output.AuthMode),
|
|
21317
21599
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
21318
21600
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
@@ -21323,6 +21605,9 @@ var deserializeAws_json1_1DescribeDomainResponse = function (output, context) {
|
|
|
21323
21605
|
DomainArn: __expectString(output.DomainArn),
|
|
21324
21606
|
DomainId: __expectString(output.DomainId),
|
|
21325
21607
|
DomainName: __expectString(output.DomainName),
|
|
21608
|
+
DomainSettings: output.DomainSettings !== undefined && output.DomainSettings !== null
|
|
21609
|
+
? deserializeAws_json1_1DomainSettings(output.DomainSettings, context)
|
|
21610
|
+
: undefined,
|
|
21326
21611
|
FailureReason: __expectString(output.FailureReason),
|
|
21327
21612
|
HomeEfsFileSystemId: __expectString(output.HomeEfsFileSystemId),
|
|
21328
21613
|
HomeEfsFileSystemKmsKeyId: __expectString(output.HomeEfsFileSystemKmsKeyId),
|
|
@@ -21330,6 +21615,7 @@ var deserializeAws_json1_1DescribeDomainResponse = function (output, context) {
|
|
|
21330
21615
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21331
21616
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21332
21617
|
: undefined,
|
|
21618
|
+
SecurityGroupIdForDomainBoundary: __expectString(output.SecurityGroupIdForDomainBoundary),
|
|
21333
21619
|
SingleSignOnManagedApplicationInstanceId: __expectString(output.SingleSignOnManagedApplicationInstanceId),
|
|
21334
21620
|
Status: __expectString(output.Status),
|
|
21335
21621
|
SubnetIds: output.SubnetIds !== undefined && output.SubnetIds !== null
|
|
@@ -21726,6 +22012,9 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
|
|
|
21726
22012
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
21727
22013
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
21728
22014
|
: undefined,
|
|
22015
|
+
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
22016
|
+
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
22017
|
+
: undefined,
|
|
21729
22018
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
21730
22019
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
21731
22020
|
: undefined,
|
|
@@ -21981,6 +22270,12 @@ var deserializeAws_json1_1DescribeProjectOutput = function (output, context) {
|
|
|
21981
22270
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
21982
22271
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
21983
22272
|
: undefined,
|
|
22273
|
+
LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
|
|
22274
|
+
? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
|
|
22275
|
+
: undefined,
|
|
22276
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22277
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22278
|
+
: undefined,
|
|
21984
22279
|
ProjectArn: __expectString(output.ProjectArn),
|
|
21985
22280
|
ProjectDescription: __expectString(output.ProjectDescription),
|
|
21986
22281
|
ProjectId: __expectString(output.ProjectId),
|
|
@@ -22351,6 +22646,26 @@ var deserializeAws_json1_1DomainList = function (output, context) {
|
|
|
22351
22646
|
return deserializeAws_json1_1DomainDetails(entry, context);
|
|
22352
22647
|
});
|
|
22353
22648
|
};
|
|
22649
|
+
var deserializeAws_json1_1DomainSecurityGroupIds = function (output, context) {
|
|
22650
|
+
return (output || [])
|
|
22651
|
+
.filter(function (e) { return e != null; })
|
|
22652
|
+
.map(function (entry) {
|
|
22653
|
+
if (entry === null) {
|
|
22654
|
+
return null;
|
|
22655
|
+
}
|
|
22656
|
+
return __expectString(entry);
|
|
22657
|
+
});
|
|
22658
|
+
};
|
|
22659
|
+
var deserializeAws_json1_1DomainSettings = function (output, context) {
|
|
22660
|
+
return {
|
|
22661
|
+
RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
|
|
22662
|
+
? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
|
|
22663
|
+
: undefined,
|
|
22664
|
+
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|
|
22665
|
+
? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
|
|
22666
|
+
: undefined,
|
|
22667
|
+
};
|
|
22668
|
+
};
|
|
22354
22669
|
var deserializeAws_json1_1EdgeModel = function (output, context) {
|
|
22355
22670
|
return {
|
|
22356
22671
|
LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
|
|
@@ -24109,6 +24424,9 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
|
24109
24424
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
24110
24425
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
24111
24426
|
: undefined,
|
|
24427
|
+
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
24428
|
+
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
24429
|
+
: undefined,
|
|
24112
24430
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
24113
24431
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
24114
24432
|
: undefined,
|
|
@@ -24232,6 +24550,16 @@ var deserializeAws_json1_1ModelPackageStatusItemList = function (output, context
|
|
|
24232
24550
|
return deserializeAws_json1_1ModelPackageStatusItem(entry, context);
|
|
24233
24551
|
});
|
|
24234
24552
|
};
|
|
24553
|
+
var deserializeAws_json1_1ModelPackageSummaries = function (output, context) {
|
|
24554
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
24555
|
+
var _b;
|
|
24556
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
24557
|
+
if (value === null) {
|
|
24558
|
+
return acc;
|
|
24559
|
+
}
|
|
24560
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_json1_1BatchDescribeModelPackageSummary(value, context), _b));
|
|
24561
|
+
}, {});
|
|
24562
|
+
};
|
|
24235
24563
|
var deserializeAws_json1_1ModelPackageSummary = function (output, context) {
|
|
24236
24564
|
return {
|
|
24237
24565
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -25431,6 +25759,12 @@ var deserializeAws_json1_1Project = function (output, context) {
|
|
|
25431
25759
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
25432
25760
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
25433
25761
|
: undefined,
|
|
25762
|
+
LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
|
|
25763
|
+
? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
|
|
25764
|
+
: undefined,
|
|
25765
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
25766
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
25767
|
+
: undefined,
|
|
25434
25768
|
ProjectArn: __expectString(output.ProjectArn),
|
|
25435
25769
|
ProjectDescription: __expectString(output.ProjectDescription),
|
|
25436
25770
|
ProjectId: __expectString(output.ProjectId),
|
|
@@ -25638,6 +25972,25 @@ var deserializeAws_json1_1RetryStrategy = function (output, context) {
|
|
|
25638
25972
|
MaximumRetryAttempts: __expectInt32(output.MaximumRetryAttempts),
|
|
25639
25973
|
};
|
|
25640
25974
|
};
|
|
25975
|
+
var deserializeAws_json1_1RSessionAppSettings = function (output, context) {
|
|
25976
|
+
return {};
|
|
25977
|
+
};
|
|
25978
|
+
var deserializeAws_json1_1RStudioServerProAppSettings = function (output, context) {
|
|
25979
|
+
return {
|
|
25980
|
+
AccessStatus: __expectString(output.AccessStatus),
|
|
25981
|
+
UserGroup: __expectString(output.UserGroup),
|
|
25982
|
+
};
|
|
25983
|
+
};
|
|
25984
|
+
var deserializeAws_json1_1RStudioServerProDomainSettings = function (output, context) {
|
|
25985
|
+
return {
|
|
25986
|
+
DefaultResourceSpec: output.DefaultResourceSpec !== undefined && output.DefaultResourceSpec !== null
|
|
25987
|
+
? deserializeAws_json1_1ResourceSpec(output.DefaultResourceSpec, context)
|
|
25988
|
+
: undefined,
|
|
25989
|
+
DomainExecutionRoleArn: __expectString(output.DomainExecutionRoleArn),
|
|
25990
|
+
RStudioConnectUrl: __expectString(output.RStudioConnectUrl),
|
|
25991
|
+
RStudioPackageManagerUrl: __expectString(output.RStudioPackageManagerUrl),
|
|
25992
|
+
};
|
|
25993
|
+
};
|
|
25641
25994
|
var deserializeAws_json1_1RuleParameters = function (output, context) {
|
|
25642
25995
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
25643
25996
|
var _b;
|
|
@@ -26662,6 +27015,11 @@ var deserializeAws_json1_1UpdatePipelineResponse = function (output, context) {
|
|
|
26662
27015
|
PipelineArn: __expectString(output.PipelineArn),
|
|
26663
27016
|
};
|
|
26664
27017
|
};
|
|
27018
|
+
var deserializeAws_json1_1UpdateProjectOutput = function (output, context) {
|
|
27019
|
+
return {
|
|
27020
|
+
ProjectArn: __expectString(output.ProjectArn),
|
|
27021
|
+
};
|
|
27022
|
+
};
|
|
26665
27023
|
var deserializeAws_json1_1UpdateTrainingJobResponse = function (output, context) {
|
|
26666
27024
|
return {
|
|
26667
27025
|
TrainingJobArn: __expectString(output.TrainingJobArn),
|
|
@@ -26742,6 +27100,12 @@ var deserializeAws_json1_1UserSettings = function (output, context) {
|
|
|
26742
27100
|
KernelGatewayAppSettings: output.KernelGatewayAppSettings !== undefined && output.KernelGatewayAppSettings !== null
|
|
26743
27101
|
? deserializeAws_json1_1KernelGatewayAppSettings(output.KernelGatewayAppSettings, context)
|
|
26744
27102
|
: undefined,
|
|
27103
|
+
RSessionAppSettings: output.RSessionAppSettings !== undefined && output.RSessionAppSettings !== null
|
|
27104
|
+
? deserializeAws_json1_1RSessionAppSettings(output.RSessionAppSettings, context)
|
|
27105
|
+
: undefined,
|
|
27106
|
+
RStudioServerProAppSettings: output.RStudioServerProAppSettings !== undefined && output.RStudioServerProAppSettings !== null
|
|
27107
|
+
? deserializeAws_json1_1RStudioServerProAppSettings(output.RStudioServerProAppSettings, context)
|
|
27108
|
+
: undefined,
|
|
26745
27109
|
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
26746
27110
|
? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroups, context)
|
|
26747
27111
|
: undefined,
|