@aws-sdk/client-sagemaker 3.753.0 → 3.758.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 +16 -0
- package/dist-cjs/index.js +134 -11
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/UpdateHubContentCommand.js +22 -0
- package/dist-es/commands/UpdateHubContentReferenceCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_2.js +1 -4
- package/dist-es/models/models_3.js +8 -5
- package/dist-es/models/models_4.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +80 -0
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +6 -0
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +12 -0
- package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -5
- package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +2 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +6 -0
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +3 -2
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -0
- package/dist-types/commands/DescribeHubContentCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +12 -0
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +21 -0
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +3 -4
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +6 -0
- package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +2 -2
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -0
- package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -2
- package/dist-types/commands/ListHubContentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +2 -1
- package/dist-types/commands/SearchCommand.d.ts +17 -15
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -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 -2
- package/dist-types/commands/UpdateHubContentCommand.d.ts +123 -0
- package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +21 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +79 -51
- package/dist-types/models/models_1.d.ts +112 -112
- package/dist-types/models/models_2.d.ts +18 -14
- package/dist-types/models/models_3.d.ts +165 -193
- package/dist-types/models/models_4.d.ts +252 -122
- package/dist-types/models/models_5.d.ts +207 -21
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateMonitoringScheduleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +2 -4
- 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 -2
- package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/models/models_2.d.ts +5 -6
- package/dist-types/ts3.4/models/models_3.d.ts +29 -39
- package/dist-types/ts3.4/models/models_4.d.ts +38 -21
- package/dist-types/ts3.4/models/models_5.d.ts +49 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -2881,6 +2881,22 @@ UpdateHub
|
|
|
2881
2881
|
|
|
2882
2882
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/UpdateHubCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubCommandOutput/)
|
|
2883
2883
|
|
|
2884
|
+
</details>
|
|
2885
|
+
<details>
|
|
2886
|
+
<summary>
|
|
2887
|
+
UpdateHubContent
|
|
2888
|
+
</summary>
|
|
2889
|
+
|
|
2890
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/UpdateHubContentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubContentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubContentCommandOutput/)
|
|
2891
|
+
|
|
2892
|
+
</details>
|
|
2893
|
+
<details>
|
|
2894
|
+
<summary>
|
|
2895
|
+
UpdateHubContentReference
|
|
2896
|
+
</summary>
|
|
2897
|
+
|
|
2898
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/UpdateHubContentReferenceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubContentReferenceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/UpdateHubContentReferenceCommandOutput/)
|
|
2899
|
+
|
|
2884
2900
|
</details>
|
|
2885
2901
|
<details>
|
|
2886
2902
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -351,6 +351,7 @@ __export(src_exports, {
|
|
|
351
351
|
ImageVersionSortOrder: () => ImageVersionSortOrder,
|
|
352
352
|
ImageVersionStatus: () => ImageVersionStatus,
|
|
353
353
|
ImportHubContentCommand: () => ImportHubContentCommand,
|
|
354
|
+
InferenceComponentCapacitySizeType: () => InferenceComponentCapacitySizeType,
|
|
354
355
|
InferenceComponentSortKey: () => InferenceComponentSortKey,
|
|
355
356
|
InferenceComponentStatus: () => InferenceComponentStatus,
|
|
356
357
|
InferenceExecutionMode: () => InferenceExecutionMode,
|
|
@@ -673,6 +674,8 @@ __export(src_exports, {
|
|
|
673
674
|
UpdateFeatureGroupCommand: () => UpdateFeatureGroupCommand,
|
|
674
675
|
UpdateFeatureMetadataCommand: () => UpdateFeatureMetadataCommand,
|
|
675
676
|
UpdateHubCommand: () => UpdateHubCommand,
|
|
677
|
+
UpdateHubContentCommand: () => UpdateHubContentCommand,
|
|
678
|
+
UpdateHubContentReferenceCommand: () => UpdateHubContentReferenceCommand,
|
|
676
679
|
UpdateImageCommand: () => UpdateImageCommand,
|
|
677
680
|
UpdateImageVersionCommand: () => UpdateImageVersionCommand,
|
|
678
681
|
UpdateInferenceComponentCommand: () => UpdateInferenceComponentCommand,
|
|
@@ -3194,12 +3197,9 @@ var HubContentStatus = {
|
|
|
3194
3197
|
};
|
|
3195
3198
|
var HubContentSupportStatus = {
|
|
3196
3199
|
DEPRECATED: "Deprecated",
|
|
3200
|
+
RESTRICTED: "Restricted",
|
|
3197
3201
|
SUPPORTED: "Supported"
|
|
3198
3202
|
};
|
|
3199
|
-
var HumanTaskUiStatus = {
|
|
3200
|
-
ACTIVE: "Active",
|
|
3201
|
-
DELETING: "Deleting"
|
|
3202
|
-
};
|
|
3203
3203
|
var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3204
3204
|
...obj,
|
|
3205
3205
|
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -5208,6 +5208,18 @@ var se_UpdateHubCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
5208
5208
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
5209
5209
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
5210
5210
|
}, "se_UpdateHubCommand");
|
|
5211
|
+
var se_UpdateHubContentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5212
|
+
const headers = sharedHeaders("UpdateHubContent");
|
|
5213
|
+
let body;
|
|
5214
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
5215
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
5216
|
+
}, "se_UpdateHubContentCommand");
|
|
5217
|
+
var se_UpdateHubContentReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5218
|
+
const headers = sharedHeaders("UpdateHubContentReference");
|
|
5219
|
+
let body;
|
|
5220
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
5221
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
5222
|
+
}, "se_UpdateHubContentReferenceCommand");
|
|
5211
5223
|
var se_UpdateImageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
5212
5224
|
const headers = sharedHeaders("UpdateImage");
|
|
5213
5225
|
let body;
|
|
@@ -9495,6 +9507,32 @@ var de_UpdateHubCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
9495
9507
|
};
|
|
9496
9508
|
return response;
|
|
9497
9509
|
}, "de_UpdateHubCommand");
|
|
9510
|
+
var de_UpdateHubContentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9511
|
+
if (output.statusCode >= 300) {
|
|
9512
|
+
return de_CommandError(output, context);
|
|
9513
|
+
}
|
|
9514
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
9515
|
+
let contents = {};
|
|
9516
|
+
contents = de_UpdateHubContentResponse(data, context);
|
|
9517
|
+
const response = {
|
|
9518
|
+
$metadata: deserializeMetadata(output),
|
|
9519
|
+
...contents
|
|
9520
|
+
};
|
|
9521
|
+
return response;
|
|
9522
|
+
}, "de_UpdateHubContentCommand");
|
|
9523
|
+
var de_UpdateHubContentReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9524
|
+
if (output.statusCode >= 300) {
|
|
9525
|
+
return de_CommandError(output, context);
|
|
9526
|
+
}
|
|
9527
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
9528
|
+
let contents = {};
|
|
9529
|
+
contents = de_UpdateHubContentReferenceResponse(data, context);
|
|
9530
|
+
const response = {
|
|
9531
|
+
$metadata: deserializeMetadata(output),
|
|
9532
|
+
...contents
|
|
9533
|
+
};
|
|
9534
|
+
return response;
|
|
9535
|
+
}, "de_UpdateHubContentReferenceCommand");
|
|
9498
9536
|
var de_UpdateImageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
9499
9537
|
if (output.statusCode >= 300) {
|
|
9500
9538
|
return de_CommandError(output, context);
|
|
@@ -11233,6 +11271,7 @@ var se_UpdateEndpointWeightsAndCapacitiesInput = /* @__PURE__ */ __name((input,
|
|
|
11233
11271
|
}, "se_UpdateEndpointWeightsAndCapacitiesInput");
|
|
11234
11272
|
var se_UpdateInferenceComponentInput = /* @__PURE__ */ __name((input, context) => {
|
|
11235
11273
|
return (0, import_smithy_client.take)(input, {
|
|
11274
|
+
DeploymentConfig: import_smithy_client._json,
|
|
11236
11275
|
InferenceComponentName: [],
|
|
11237
11276
|
RuntimeConfig: import_smithy_client._json,
|
|
11238
11277
|
Specification: (_) => se_InferenceComponentSpecification(_, context)
|
|
@@ -13755,6 +13794,7 @@ var de_DescribeHubContentResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
13755
13794
|
HubContentType: import_smithy_client.expectString,
|
|
13756
13795
|
HubContentVersion: import_smithy_client.expectString,
|
|
13757
13796
|
HubName: import_smithy_client.expectString,
|
|
13797
|
+
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
13758
13798
|
ReferenceMinVersion: import_smithy_client.expectString,
|
|
13759
13799
|
SageMakerPublicHubContentArn: import_smithy_client.expectString,
|
|
13760
13800
|
SupportStatus: import_smithy_client.expectString
|
|
@@ -13847,6 +13887,7 @@ var de_DescribeInferenceComponentOutput = /* @__PURE__ */ __name((output, contex
|
|
|
13847
13887
|
InferenceComponentArn: import_smithy_client.expectString,
|
|
13848
13888
|
InferenceComponentName: import_smithy_client.expectString,
|
|
13849
13889
|
InferenceComponentStatus: import_smithy_client.expectString,
|
|
13890
|
+
LastDeploymentConfig: (_) => de_InferenceComponentDeploymentConfig(_, context),
|
|
13850
13891
|
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
13851
13892
|
RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
|
|
13852
13893
|
Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
|
|
@@ -15295,6 +15336,11 @@ var de_HookParameters = /* @__PURE__ */ __name((output, context) => {
|
|
|
15295
15336
|
return acc;
|
|
15296
15337
|
}, {});
|
|
15297
15338
|
}, "de_HookParameters");
|
|
15339
|
+
var de_HubAccessConfig = /* @__PURE__ */ __name((output, context) => {
|
|
15340
|
+
return (0, import_smithy_client.take)(output, {
|
|
15341
|
+
HubContentArn: import_smithy_client.expectString
|
|
15342
|
+
});
|
|
15343
|
+
}, "de_HubAccessConfig");
|
|
15298
15344
|
var de_HubContentDependency = /* @__PURE__ */ __name((output, context) => {
|
|
15299
15345
|
return (0, import_smithy_client.take)(output, {
|
|
15300
15346
|
DependencyCopyPath: import_smithy_client.expectString,
|
|
@@ -15718,6 +15764,12 @@ var de_ImportHubContentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
15718
15764
|
HubContentArn: import_smithy_client.expectString
|
|
15719
15765
|
});
|
|
15720
15766
|
}, "de_ImportHubContentResponse");
|
|
15767
|
+
var de_InferenceComponentCapacitySize = /* @__PURE__ */ __name((output, context) => {
|
|
15768
|
+
return (0, import_smithy_client.take)(output, {
|
|
15769
|
+
Type: import_smithy_client.expectString,
|
|
15770
|
+
Value: import_smithy_client.expectInt32
|
|
15771
|
+
});
|
|
15772
|
+
}, "de_InferenceComponentCapacitySize");
|
|
15721
15773
|
var de_InferenceComponentComputeResourceRequirements = /* @__PURE__ */ __name((output, context) => {
|
|
15722
15774
|
return (0, import_smithy_client.take)(output, {
|
|
15723
15775
|
MaxMemoryRequiredInMb: import_smithy_client.expectInt32,
|
|
@@ -15733,6 +15785,20 @@ var de_InferenceComponentContainerSpecificationSummary = /* @__PURE__ */ __name(
|
|
|
15733
15785
|
Environment: (_) => de_EnvironmentMap(_, context)
|
|
15734
15786
|
});
|
|
15735
15787
|
}, "de_InferenceComponentContainerSpecificationSummary");
|
|
15788
|
+
var de_InferenceComponentDeploymentConfig = /* @__PURE__ */ __name((output, context) => {
|
|
15789
|
+
return (0, import_smithy_client.take)(output, {
|
|
15790
|
+
AutoRollbackConfiguration: (_) => de_AutoRollbackConfig(_, context),
|
|
15791
|
+
RollingUpdatePolicy: (_) => de_InferenceComponentRollingUpdatePolicy(_, context)
|
|
15792
|
+
});
|
|
15793
|
+
}, "de_InferenceComponentDeploymentConfig");
|
|
15794
|
+
var de_InferenceComponentRollingUpdatePolicy = /* @__PURE__ */ __name((output, context) => {
|
|
15795
|
+
return (0, import_smithy_client.take)(output, {
|
|
15796
|
+
MaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
15797
|
+
MaximumExecutionTimeoutInSeconds: import_smithy_client.expectInt32,
|
|
15798
|
+
RollbackMaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
15799
|
+
WaitIntervalInSeconds: import_smithy_client.expectInt32
|
|
15800
|
+
});
|
|
15801
|
+
}, "de_InferenceComponentRollingUpdatePolicy");
|
|
15736
15802
|
var de_InferenceComponentRuntimeConfigSummary = /* @__PURE__ */ __name((output, context) => {
|
|
15737
15803
|
return (0, import_smithy_client.take)(output, {
|
|
15738
15804
|
CurrentCopyCount: import_smithy_client.expectInt32,
|
|
@@ -18779,7 +18845,9 @@ var de_RuleParameters = /* @__PURE__ */ __name((output, context) => {
|
|
|
18779
18845
|
var de_S3DataSource = /* @__PURE__ */ __name((output, context) => {
|
|
18780
18846
|
return (0, import_smithy_client.take)(output, {
|
|
18781
18847
|
AttributeNames: (_) => de_AttributeNames(_, context),
|
|
18848
|
+
HubAccessConfig: (_) => de_HubAccessConfig(_, context),
|
|
18782
18849
|
InstanceGroupNames: (_) => de_InstanceGroupNames(_, context),
|
|
18850
|
+
ModelAccessConfig: (_) => de_ModelAccessConfig(_, context),
|
|
18783
18851
|
S3DataDistributionType: import_smithy_client.expectString,
|
|
18784
18852
|
S3DataType: import_smithy_client.expectString,
|
|
18785
18853
|
S3Uri: import_smithy_client.expectString
|
|
@@ -19914,6 +19982,18 @@ var de_UpdateFeatureGroupResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
19914
19982
|
FeatureGroupArn: import_smithy_client.expectString
|
|
19915
19983
|
});
|
|
19916
19984
|
}, "de_UpdateFeatureGroupResponse");
|
|
19985
|
+
var de_UpdateHubContentReferenceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
19986
|
+
return (0, import_smithy_client.take)(output, {
|
|
19987
|
+
HubArn: import_smithy_client.expectString,
|
|
19988
|
+
HubContentArn: import_smithy_client.expectString
|
|
19989
|
+
});
|
|
19990
|
+
}, "de_UpdateHubContentReferenceResponse");
|
|
19991
|
+
var de_UpdateHubContentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
19992
|
+
return (0, import_smithy_client.take)(output, {
|
|
19993
|
+
HubArn: import_smithy_client.expectString,
|
|
19994
|
+
HubContentArn: import_smithy_client.expectString
|
|
19995
|
+
});
|
|
19996
|
+
}, "de_UpdateHubContentResponse");
|
|
19917
19997
|
var de_UpdateHubResponse = /* @__PURE__ */ __name((output, context) => {
|
|
19918
19998
|
return (0, import_smithy_client.take)(output, {
|
|
19919
19999
|
HubArn: import_smithy_client.expectString
|
|
@@ -22717,6 +22797,10 @@ var DescribeModelBiasJobDefinitionCommand = class extends import_smithy_client.C
|
|
|
22717
22797
|
|
|
22718
22798
|
// src/models/models_3.ts
|
|
22719
22799
|
|
|
22800
|
+
var HumanTaskUiStatus = {
|
|
22801
|
+
ACTIVE: "Active",
|
|
22802
|
+
DELETING: "Deleting"
|
|
22803
|
+
};
|
|
22720
22804
|
var TrainingJobStatus = {
|
|
22721
22805
|
COMPLETED: "Completed",
|
|
22722
22806
|
FAILED: "Failed",
|
|
@@ -22756,6 +22840,10 @@ var InferenceComponentStatus = {
|
|
|
22756
22840
|
IN_SERVICE: "InService",
|
|
22757
22841
|
UPDATING: "Updating"
|
|
22758
22842
|
};
|
|
22843
|
+
var InferenceComponentCapacitySizeType = {
|
|
22844
|
+
CAPACITY_PERCENT: "CAPACITY_PERCENT",
|
|
22845
|
+
COPY_COUNT: "COPY_COUNT"
|
|
22846
|
+
};
|
|
22759
22847
|
var ModelVariantStatus = {
|
|
22760
22848
|
CREATING: "Creating",
|
|
22761
22849
|
DELETED: "Deleted",
|
|
@@ -23178,11 +23266,6 @@ var MonitoringJobDefinitionSortKey = {
|
|
|
23178
23266
|
CREATION_TIME: "CreationTime",
|
|
23179
23267
|
NAME: "Name"
|
|
23180
23268
|
};
|
|
23181
|
-
var ListDeviceFleetsSortBy = {
|
|
23182
|
-
CreationTime: "CREATION_TIME",
|
|
23183
|
-
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
23184
|
-
Name: "NAME"
|
|
23185
|
-
};
|
|
23186
23269
|
var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
23187
23270
|
...obj,
|
|
23188
23271
|
...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -25056,6 +25139,11 @@ var RetryPipelineExecutionCommand = class extends import_smithy_client.Command.c
|
|
|
25056
25139
|
|
|
25057
25140
|
// src/models/models_4.ts
|
|
25058
25141
|
|
|
25142
|
+
var ListDeviceFleetsSortBy = {
|
|
25143
|
+
CreationTime: "CREATION_TIME",
|
|
25144
|
+
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
25145
|
+
Name: "NAME"
|
|
25146
|
+
};
|
|
25059
25147
|
var ListEdgeDeploymentPlansSortBy = {
|
|
25060
25148
|
CreationTime: "CREATION_TIME",
|
|
25061
25149
|
DeviceFleetName: "DEVICE_FLEET_NAME",
|
|
@@ -25952,6 +26040,36 @@ var UpdateHubCommand = class extends import_smithy_client.Command.classBuilder()
|
|
|
25952
26040
|
}
|
|
25953
26041
|
};
|
|
25954
26042
|
|
|
26043
|
+
// src/commands/UpdateHubContentCommand.ts
|
|
26044
|
+
|
|
26045
|
+
|
|
26046
|
+
|
|
26047
|
+
var UpdateHubContentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
26048
|
+
return [
|
|
26049
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
26050
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
26051
|
+
];
|
|
26052
|
+
}).s("SageMaker", "UpdateHubContent", {}).n("SageMakerClient", "UpdateHubContentCommand").f(void 0, void 0).ser(se_UpdateHubContentCommand).de(de_UpdateHubContentCommand).build() {
|
|
26053
|
+
static {
|
|
26054
|
+
__name(this, "UpdateHubContentCommand");
|
|
26055
|
+
}
|
|
26056
|
+
};
|
|
26057
|
+
|
|
26058
|
+
// src/commands/UpdateHubContentReferenceCommand.ts
|
|
26059
|
+
|
|
26060
|
+
|
|
26061
|
+
|
|
26062
|
+
var UpdateHubContentReferenceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
26063
|
+
return [
|
|
26064
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
26065
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
26066
|
+
];
|
|
26067
|
+
}).s("SageMaker", "UpdateHubContentReference", {}).n("SageMakerClient", "UpdateHubContentReferenceCommand").f(void 0, void 0).ser(se_UpdateHubContentReferenceCommand).de(de_UpdateHubContentReferenceCommand).build() {
|
|
26068
|
+
static {
|
|
26069
|
+
__name(this, "UpdateHubContentReferenceCommand");
|
|
26070
|
+
}
|
|
26071
|
+
};
|
|
26072
|
+
|
|
25955
26073
|
// src/commands/UpdateImageCommand.ts
|
|
25956
26074
|
|
|
25957
26075
|
|
|
@@ -26654,6 +26772,8 @@ var commands = {
|
|
|
26654
26772
|
UpdateFeatureGroupCommand,
|
|
26655
26773
|
UpdateFeatureMetadataCommand,
|
|
26656
26774
|
UpdateHubCommand,
|
|
26775
|
+
UpdateHubContentCommand,
|
|
26776
|
+
UpdateHubContentReferenceCommand,
|
|
26657
26777
|
UpdateImageCommand,
|
|
26658
26778
|
UpdateImageVersionCommand,
|
|
26659
26779
|
UpdateInferenceComponentCommand,
|
|
@@ -27887,6 +28007,8 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
27887
28007
|
UpdateFeatureGroupCommand,
|
|
27888
28008
|
UpdateFeatureMetadataCommand,
|
|
27889
28009
|
UpdateHubCommand,
|
|
28010
|
+
UpdateHubContentCommand,
|
|
28011
|
+
UpdateHubContentReferenceCommand,
|
|
27890
28012
|
UpdateImageCommand,
|
|
27891
28013
|
UpdateImageVersionCommand,
|
|
27892
28014
|
UpdateInferenceComponentCommand,
|
|
@@ -28212,14 +28334,15 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28212
28334
|
HubStatus,
|
|
28213
28335
|
HubContentStatus,
|
|
28214
28336
|
HubContentSupportStatus,
|
|
28215
|
-
HumanTaskUiStatus,
|
|
28216
28337
|
OidcConfigFilterSensitiveLog,
|
|
28217
28338
|
CreateWorkforceRequestFilterSensitiveLog,
|
|
28339
|
+
HumanTaskUiStatus,
|
|
28218
28340
|
TrainingJobStatus,
|
|
28219
28341
|
HyperParameterTuningJobStatus,
|
|
28220
28342
|
ImageStatus,
|
|
28221
28343
|
ImageVersionStatus,
|
|
28222
28344
|
InferenceComponentStatus,
|
|
28345
|
+
InferenceComponentCapacitySizeType,
|
|
28223
28346
|
ModelVariantStatus,
|
|
28224
28347
|
InferenceExperimentStatus,
|
|
28225
28348
|
RecommendationJobStatus,
|
|
@@ -28281,9 +28404,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28281
28404
|
SortQuotaBy,
|
|
28282
28405
|
SortContextsBy,
|
|
28283
28406
|
MonitoringJobDefinitionSortKey,
|
|
28284
|
-
ListDeviceFleetsSortBy,
|
|
28285
28407
|
DescribeModelCardResponseFilterSensitiveLog,
|
|
28286
28408
|
DescribeModelPackageOutputFilterSensitiveLog,
|
|
28409
|
+
ListDeviceFleetsSortBy,
|
|
28287
28410
|
ListEdgeDeploymentPlansSortBy,
|
|
28288
28411
|
ListEdgePackagingJobsSortBy,
|
|
28289
28412
|
OrderKey,
|
package/dist-es/SageMaker.js
CHANGED
|
@@ -332,6 +332,8 @@ import { UpdateExperimentCommand, } from "./commands/UpdateExperimentCommand";
|
|
|
332
332
|
import { UpdateFeatureGroupCommand, } from "./commands/UpdateFeatureGroupCommand";
|
|
333
333
|
import { UpdateFeatureMetadataCommand, } from "./commands/UpdateFeatureMetadataCommand";
|
|
334
334
|
import { UpdateHubCommand } from "./commands/UpdateHubCommand";
|
|
335
|
+
import { UpdateHubContentCommand, } from "./commands/UpdateHubContentCommand";
|
|
336
|
+
import { UpdateHubContentReferenceCommand, } from "./commands/UpdateHubContentReferenceCommand";
|
|
335
337
|
import { UpdateImageCommand } from "./commands/UpdateImageCommand";
|
|
336
338
|
import { UpdateImageVersionCommand, } from "./commands/UpdateImageVersionCommand";
|
|
337
339
|
import { UpdateInferenceComponentCommand, } from "./commands/UpdateInferenceComponentCommand";
|
|
@@ -690,6 +692,8 @@ const commands = {
|
|
|
690
692
|
UpdateFeatureGroupCommand,
|
|
691
693
|
UpdateFeatureMetadataCommand,
|
|
692
694
|
UpdateHubCommand,
|
|
695
|
+
UpdateHubContentCommand,
|
|
696
|
+
UpdateHubContentReferenceCommand,
|
|
693
697
|
UpdateImageCommand,
|
|
694
698
|
UpdateImageVersionCommand,
|
|
695
699
|
UpdateInferenceComponentCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateHubContentCommand, se_UpdateHubContentCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateHubContentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SageMaker", "UpdateHubContent", {})
|
|
17
|
+
.n("SageMakerClient", "UpdateHubContentCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateHubContentCommand)
|
|
20
|
+
.de(de_UpdateHubContentCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateHubContentReferenceCommand, se_UpdateHubContentReferenceCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateHubContentReferenceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("SageMaker", "UpdateHubContentReference", {})
|
|
17
|
+
.n("SageMakerClient", "UpdateHubContentReferenceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateHubContentReferenceCommand)
|
|
20
|
+
.de(de_UpdateHubContentReferenceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -331,6 +331,8 @@ export * from "./UpdateExperimentCommand";
|
|
|
331
331
|
export * from "./UpdateFeatureGroupCommand";
|
|
332
332
|
export * from "./UpdateFeatureMetadataCommand";
|
|
333
333
|
export * from "./UpdateHubCommand";
|
|
334
|
+
export * from "./UpdateHubContentCommand";
|
|
335
|
+
export * from "./UpdateHubContentReferenceCommand";
|
|
334
336
|
export * from "./UpdateImageCommand";
|
|
335
337
|
export * from "./UpdateImageVersionCommand";
|
|
336
338
|
export * from "./UpdateInferenceComponentCommand";
|
|
@@ -260,12 +260,9 @@ export const HubContentStatus = {
|
|
|
260
260
|
};
|
|
261
261
|
export const HubContentSupportStatus = {
|
|
262
262
|
DEPRECATED: "Deprecated",
|
|
263
|
+
RESTRICTED: "Restricted",
|
|
263
264
|
SUPPORTED: "Supported",
|
|
264
265
|
};
|
|
265
|
-
export const HumanTaskUiStatus = {
|
|
266
|
-
ACTIVE: "Active",
|
|
267
|
-
DELETING: "Deleting",
|
|
268
|
-
};
|
|
269
266
|
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
270
267
|
...obj,
|
|
271
268
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const HumanTaskUiStatus = {
|
|
4
|
+
ACTIVE: "Active",
|
|
5
|
+
DELETING: "Deleting",
|
|
6
|
+
};
|
|
3
7
|
export const TrainingJobStatus = {
|
|
4
8
|
COMPLETED: "Completed",
|
|
5
9
|
FAILED: "Failed",
|
|
@@ -39,6 +43,10 @@ export const InferenceComponentStatus = {
|
|
|
39
43
|
IN_SERVICE: "InService",
|
|
40
44
|
UPDATING: "Updating",
|
|
41
45
|
};
|
|
46
|
+
export const InferenceComponentCapacitySizeType = {
|
|
47
|
+
CAPACITY_PERCENT: "CAPACITY_PERCENT",
|
|
48
|
+
COPY_COUNT: "COPY_COUNT",
|
|
49
|
+
};
|
|
42
50
|
export const ModelVariantStatus = {
|
|
43
51
|
CREATING: "Creating",
|
|
44
52
|
DELETED: "Deleted",
|
|
@@ -461,11 +469,6 @@ export const MonitoringJobDefinitionSortKey = {
|
|
|
461
469
|
CREATION_TIME: "CreationTime",
|
|
462
470
|
NAME: "Name",
|
|
463
471
|
};
|
|
464
|
-
export const ListDeviceFleetsSortBy = {
|
|
465
|
-
CreationTime: "CREATION_TIME",
|
|
466
|
-
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
467
|
-
Name: "NAME",
|
|
468
|
-
};
|
|
469
472
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
470
473
|
...obj,
|
|
471
474
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const ListDeviceFleetsSortBy = {
|
|
4
|
+
CreationTime: "CREATION_TIME",
|
|
5
|
+
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
6
|
+
Name: "NAME",
|
|
7
|
+
};
|
|
3
8
|
export const ListEdgeDeploymentPlansSortBy = {
|
|
4
9
|
CreationTime: "CREATION_TIME",
|
|
5
10
|
DeviceFleetName: "DEVICE_FLEET_NAME",
|
|
@@ -2004,6 +2004,18 @@ export const se_UpdateHubCommand = async (input, context) => {
|
|
|
2004
2004
|
body = JSON.stringify(_json(input));
|
|
2005
2005
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2006
2006
|
};
|
|
2007
|
+
export const se_UpdateHubContentCommand = async (input, context) => {
|
|
2008
|
+
const headers = sharedHeaders("UpdateHubContent");
|
|
2009
|
+
let body;
|
|
2010
|
+
body = JSON.stringify(_json(input));
|
|
2011
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2012
|
+
};
|
|
2013
|
+
export const se_UpdateHubContentReferenceCommand = async (input, context) => {
|
|
2014
|
+
const headers = sharedHeaders("UpdateHubContentReference");
|
|
2015
|
+
let body;
|
|
2016
|
+
body = JSON.stringify(_json(input));
|
|
2017
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2018
|
+
};
|
|
2007
2019
|
export const se_UpdateImageCommand = async (input, context) => {
|
|
2008
2020
|
const headers = sharedHeaders("UpdateImage");
|
|
2009
2021
|
let body;
|
|
@@ -6291,6 +6303,32 @@ export const de_UpdateHubCommand = async (output, context) => {
|
|
|
6291
6303
|
};
|
|
6292
6304
|
return response;
|
|
6293
6305
|
};
|
|
6306
|
+
export const de_UpdateHubContentCommand = async (output, context) => {
|
|
6307
|
+
if (output.statusCode >= 300) {
|
|
6308
|
+
return de_CommandError(output, context);
|
|
6309
|
+
}
|
|
6310
|
+
const data = await parseBody(output.body, context);
|
|
6311
|
+
let contents = {};
|
|
6312
|
+
contents = de_UpdateHubContentResponse(data, context);
|
|
6313
|
+
const response = {
|
|
6314
|
+
$metadata: deserializeMetadata(output),
|
|
6315
|
+
...contents,
|
|
6316
|
+
};
|
|
6317
|
+
return response;
|
|
6318
|
+
};
|
|
6319
|
+
export const de_UpdateHubContentReferenceCommand = async (output, context) => {
|
|
6320
|
+
if (output.statusCode >= 300) {
|
|
6321
|
+
return de_CommandError(output, context);
|
|
6322
|
+
}
|
|
6323
|
+
const data = await parseBody(output.body, context);
|
|
6324
|
+
let contents = {};
|
|
6325
|
+
contents = de_UpdateHubContentReferenceResponse(data, context);
|
|
6326
|
+
const response = {
|
|
6327
|
+
$metadata: deserializeMetadata(output),
|
|
6328
|
+
...contents,
|
|
6329
|
+
};
|
|
6330
|
+
return response;
|
|
6331
|
+
};
|
|
6294
6332
|
export const de_UpdateImageCommand = async (output, context) => {
|
|
6295
6333
|
if (output.statusCode >= 300) {
|
|
6296
6334
|
return de_CommandError(output, context);
|
|
@@ -8037,6 +8075,7 @@ const se_UpdateEndpointWeightsAndCapacitiesInput = (input, context) => {
|
|
|
8037
8075
|
};
|
|
8038
8076
|
const se_UpdateInferenceComponentInput = (input, context) => {
|
|
8039
8077
|
return take(input, {
|
|
8078
|
+
DeploymentConfig: _json,
|
|
8040
8079
|
InferenceComponentName: [],
|
|
8041
8080
|
RuntimeConfig: _json,
|
|
8042
8081
|
Specification: (_) => se_InferenceComponentSpecification(_, context),
|
|
@@ -10686,6 +10725,7 @@ const de_DescribeHubContentResponse = (output, context) => {
|
|
|
10686
10725
|
HubContentType: __expectString,
|
|
10687
10726
|
HubContentVersion: __expectString,
|
|
10688
10727
|
HubName: __expectString,
|
|
10728
|
+
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10689
10729
|
ReferenceMinVersion: __expectString,
|
|
10690
10730
|
SageMakerPublicHubContentArn: __expectString,
|
|
10691
10731
|
SupportStatus: __expectString,
|
|
@@ -10778,6 +10818,7 @@ const de_DescribeInferenceComponentOutput = (output, context) => {
|
|
|
10778
10818
|
InferenceComponentArn: __expectString,
|
|
10779
10819
|
InferenceComponentName: __expectString,
|
|
10780
10820
|
InferenceComponentStatus: __expectString,
|
|
10821
|
+
LastDeploymentConfig: (_) => de_InferenceComponentDeploymentConfig(_, context),
|
|
10781
10822
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10782
10823
|
RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
|
|
10783
10824
|
Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
|
|
@@ -12293,6 +12334,11 @@ const de_HookParameters = (output, context) => {
|
|
|
12293
12334
|
return acc;
|
|
12294
12335
|
}, {});
|
|
12295
12336
|
};
|
|
12337
|
+
const de_HubAccessConfig = (output, context) => {
|
|
12338
|
+
return take(output, {
|
|
12339
|
+
HubContentArn: __expectString,
|
|
12340
|
+
});
|
|
12341
|
+
};
|
|
12296
12342
|
const de_HubContentDependency = (output, context) => {
|
|
12297
12343
|
return take(output, {
|
|
12298
12344
|
DependencyCopyPath: __expectString,
|
|
@@ -12746,6 +12792,12 @@ const de_ImportHubContentResponse = (output, context) => {
|
|
|
12746
12792
|
HubContentArn: __expectString,
|
|
12747
12793
|
});
|
|
12748
12794
|
};
|
|
12795
|
+
const de_InferenceComponentCapacitySize = (output, context) => {
|
|
12796
|
+
return take(output, {
|
|
12797
|
+
Type: __expectString,
|
|
12798
|
+
Value: __expectInt32,
|
|
12799
|
+
});
|
|
12800
|
+
};
|
|
12749
12801
|
const de_InferenceComponentComputeResourceRequirements = (output, context) => {
|
|
12750
12802
|
return take(output, {
|
|
12751
12803
|
MaxMemoryRequiredInMb: __expectInt32,
|
|
@@ -12761,6 +12813,20 @@ const de_InferenceComponentContainerSpecificationSummary = (output, context) =>
|
|
|
12761
12813
|
Environment: (_) => de_EnvironmentMap(_, context),
|
|
12762
12814
|
});
|
|
12763
12815
|
};
|
|
12816
|
+
const de_InferenceComponentDeploymentConfig = (output, context) => {
|
|
12817
|
+
return take(output, {
|
|
12818
|
+
AutoRollbackConfiguration: (_) => de_AutoRollbackConfig(_, context),
|
|
12819
|
+
RollingUpdatePolicy: (_) => de_InferenceComponentRollingUpdatePolicy(_, context),
|
|
12820
|
+
});
|
|
12821
|
+
};
|
|
12822
|
+
const de_InferenceComponentRollingUpdatePolicy = (output, context) => {
|
|
12823
|
+
return take(output, {
|
|
12824
|
+
MaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
12825
|
+
MaximumExecutionTimeoutInSeconds: __expectInt32,
|
|
12826
|
+
RollbackMaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
12827
|
+
WaitIntervalInSeconds: __expectInt32,
|
|
12828
|
+
});
|
|
12829
|
+
};
|
|
12764
12830
|
const de_InferenceComponentRuntimeConfigSummary = (output, context) => {
|
|
12765
12831
|
return take(output, {
|
|
12766
12832
|
CurrentCopyCount: __expectInt32,
|
|
@@ -16001,7 +16067,9 @@ const de_RuleParameters = (output, context) => {
|
|
|
16001
16067
|
const de_S3DataSource = (output, context) => {
|
|
16002
16068
|
return take(output, {
|
|
16003
16069
|
AttributeNames: (_) => de_AttributeNames(_, context),
|
|
16070
|
+
HubAccessConfig: (_) => de_HubAccessConfig(_, context),
|
|
16004
16071
|
InstanceGroupNames: (_) => de_InstanceGroupNames(_, context),
|
|
16072
|
+
ModelAccessConfig: (_) => de_ModelAccessConfig(_, context),
|
|
16005
16073
|
S3DataDistributionType: __expectString,
|
|
16006
16074
|
S3DataType: __expectString,
|
|
16007
16075
|
S3Uri: __expectString,
|
|
@@ -17193,6 +17261,18 @@ const de_UpdateFeatureGroupResponse = (output, context) => {
|
|
|
17193
17261
|
FeatureGroupArn: __expectString,
|
|
17194
17262
|
});
|
|
17195
17263
|
};
|
|
17264
|
+
const de_UpdateHubContentReferenceResponse = (output, context) => {
|
|
17265
|
+
return take(output, {
|
|
17266
|
+
HubArn: __expectString,
|
|
17267
|
+
HubContentArn: __expectString,
|
|
17268
|
+
});
|
|
17269
|
+
};
|
|
17270
|
+
const de_UpdateHubContentResponse = (output, context) => {
|
|
17271
|
+
return take(output, {
|
|
17272
|
+
HubArn: __expectString,
|
|
17273
|
+
HubContentArn: __expectString,
|
|
17274
|
+
});
|
|
17275
|
+
};
|
|
17196
17276
|
const de_UpdateHubResponse = (output, context) => {
|
|
17197
17277
|
return take(output, {
|
|
17198
17278
|
HubArn: __expectString,
|
|
@@ -332,6 +332,8 @@ import { UpdateExperimentCommandInput, UpdateExperimentCommandOutput } from "./c
|
|
|
332
332
|
import { UpdateFeatureGroupCommandInput, UpdateFeatureGroupCommandOutput } from "./commands/UpdateFeatureGroupCommand";
|
|
333
333
|
import { UpdateFeatureMetadataCommandInput, UpdateFeatureMetadataCommandOutput } from "./commands/UpdateFeatureMetadataCommand";
|
|
334
334
|
import { UpdateHubCommandInput, UpdateHubCommandOutput } from "./commands/UpdateHubCommand";
|
|
335
|
+
import { UpdateHubContentCommandInput, UpdateHubContentCommandOutput } from "./commands/UpdateHubContentCommand";
|
|
336
|
+
import { UpdateHubContentReferenceCommandInput, UpdateHubContentReferenceCommandOutput } from "./commands/UpdateHubContentReferenceCommand";
|
|
335
337
|
import { UpdateImageCommandInput, UpdateImageCommandOutput } from "./commands/UpdateImageCommand";
|
|
336
338
|
import { UpdateImageVersionCommandInput, UpdateImageVersionCommandOutput } from "./commands/UpdateImageVersionCommand";
|
|
337
339
|
import { UpdateInferenceComponentCommandInput, UpdateInferenceComponentCommandOutput } from "./commands/UpdateInferenceComponentCommand";
|
|
@@ -2426,6 +2428,18 @@ export interface SageMaker {
|
|
|
2426
2428
|
updateHub(args: UpdateHubCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHubCommandOutput>;
|
|
2427
2429
|
updateHub(args: UpdateHubCommandInput, cb: (err: any, data?: UpdateHubCommandOutput) => void): void;
|
|
2428
2430
|
updateHub(args: UpdateHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHubCommandOutput) => void): void;
|
|
2431
|
+
/**
|
|
2432
|
+
* @see {@link UpdateHubContentCommand}
|
|
2433
|
+
*/
|
|
2434
|
+
updateHubContent(args: UpdateHubContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHubContentCommandOutput>;
|
|
2435
|
+
updateHubContent(args: UpdateHubContentCommandInput, cb: (err: any, data?: UpdateHubContentCommandOutput) => void): void;
|
|
2436
|
+
updateHubContent(args: UpdateHubContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHubContentCommandOutput) => void): void;
|
|
2437
|
+
/**
|
|
2438
|
+
* @see {@link UpdateHubContentReferenceCommand}
|
|
2439
|
+
*/
|
|
2440
|
+
updateHubContentReference(args: UpdateHubContentReferenceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHubContentReferenceCommandOutput>;
|
|
2441
|
+
updateHubContentReference(args: UpdateHubContentReferenceCommandInput, cb: (err: any, data?: UpdateHubContentReferenceCommandOutput) => void): void;
|
|
2442
|
+
updateHubContentReference(args: UpdateHubContentReferenceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHubContentReferenceCommandOutput) => void): void;
|
|
2429
2443
|
/**
|
|
2430
2444
|
* @see {@link UpdateImageCommand}
|
|
2431
2445
|
*/
|