@aws-sdk/client-sagemaker 3.860.0 → 3.861.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 +24 -0
- package/dist-cjs/index.js +492 -124
- package/dist-es/SageMaker.js +6 -0
- package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
- package/dist-es/commands/CreateModelCardCommand.js +1 -1
- package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
- package/dist-es/commands/ListClusterEventsCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +38 -93
- package/dist-es/models/models_1.js +86 -15
- package/dist-es/models/models_2.js +14 -40
- package/dist-es/models/models_3.js +43 -40
- package/dist-es/models/models_4.js +40 -10
- package/dist-es/models/models_5.js +10 -2
- package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +281 -0
- package/dist-types/SageMaker.d.ts +21 -0
- package/dist-types/SageMakerClient.d.ts +5 -2
- package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
- package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
- package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/commands/ListActionsCommand.d.ts +1 -2
- package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
- package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
- package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +635 -539
- package/dist-types/models/models_1.d.ts +3626 -3557
- package/dist-types/models/models_2.d.ts +3079 -3394
- package/dist-types/models/models_3.d.ts +4419 -4366
- package/dist-types/models/models_4.d.ts +3813 -3877
- package/dist-types/models/models_5.d.ts +836 -5
- package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/SageMaker.d.ts +51 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +186 -188
- package/dist-types/ts3.4/models/models_1.d.ts +177 -117
- package/dist-types/ts3.4/models/models_2.d.ts +123 -214
- package/dist-types/ts3.4/models/models_3.d.ts +219 -195
- package/dist-types/ts3.4/models/models_4.d.ts +225 -244
- package/dist-types/ts3.4/models/models_5.d.ts +220 -17
- package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.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 +36 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export * from "./ListArtifactsPaginator";
|
|
|
9
9
|
export * from "./ListAssociationsPaginator";
|
|
10
10
|
export * from "./ListAutoMLJobsPaginator";
|
|
11
11
|
export * from "./ListCandidatesForAutoMLJobPaginator";
|
|
12
|
+
export * from "./ListClusterEventsPaginator";
|
|
12
13
|
export * from "./ListClusterNodesPaginator";
|
|
13
14
|
export * from "./ListClusterSchedulerConfigsPaginator";
|
|
14
15
|
export * from "./ListClustersPaginator";
|
|
@@ -30,6 +30,12 @@ export const se_AttachClusterNodeVolumeCommand = async (input, context) => {
|
|
|
30
30
|
body = JSON.stringify(_json(input));
|
|
31
31
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
32
|
};
|
|
33
|
+
export const se_BatchAddClusterNodesCommand = async (input, context) => {
|
|
34
|
+
const headers = sharedHeaders("BatchAddClusterNodes");
|
|
35
|
+
let body;
|
|
36
|
+
body = JSON.stringify(se_BatchAddClusterNodesRequest(input, context));
|
|
37
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
38
|
+
};
|
|
33
39
|
export const se_BatchDeleteClusterNodesCommand = async (input, context) => {
|
|
34
40
|
const headers = sharedHeaders("BatchDeleteClusterNodes");
|
|
35
41
|
let body;
|
|
@@ -822,6 +828,12 @@ export const se_DescribeClusterCommand = async (input, context) => {
|
|
|
822
828
|
body = JSON.stringify(_json(input));
|
|
823
829
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
824
830
|
};
|
|
831
|
+
export const se_DescribeClusterEventCommand = async (input, context) => {
|
|
832
|
+
const headers = sharedHeaders("DescribeClusterEvent");
|
|
833
|
+
let body;
|
|
834
|
+
body = JSON.stringify(_json(input));
|
|
835
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
836
|
+
};
|
|
825
837
|
export const se_DescribeClusterNodeCommand = async (input, context) => {
|
|
826
838
|
const headers = sharedHeaders("DescribeClusterNode");
|
|
827
839
|
let body;
|
|
@@ -1296,6 +1308,12 @@ export const se_ListCandidatesForAutoMLJobCommand = async (input, context) => {
|
|
|
1296
1308
|
body = JSON.stringify(_json(input));
|
|
1297
1309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1298
1310
|
};
|
|
1311
|
+
export const se_ListClusterEventsCommand = async (input, context) => {
|
|
1312
|
+
const headers = sharedHeaders("ListClusterEvents");
|
|
1313
|
+
let body;
|
|
1314
|
+
body = JSON.stringify(se_ListClusterEventsRequest(input, context));
|
|
1315
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1316
|
+
};
|
|
1299
1317
|
export const se_ListClusterNodesCommand = async (input, context) => {
|
|
1300
1318
|
const headers = sharedHeaders("ListClusterNodes");
|
|
1301
1319
|
let body;
|
|
@@ -2242,6 +2260,19 @@ export const de_AttachClusterNodeVolumeCommand = async (output, context) => {
|
|
|
2242
2260
|
};
|
|
2243
2261
|
return response;
|
|
2244
2262
|
};
|
|
2263
|
+
export const de_BatchAddClusterNodesCommand = async (output, context) => {
|
|
2264
|
+
if (output.statusCode >= 300) {
|
|
2265
|
+
return de_CommandError(output, context);
|
|
2266
|
+
}
|
|
2267
|
+
const data = await parseBody(output.body, context);
|
|
2268
|
+
let contents = {};
|
|
2269
|
+
contents = de_BatchAddClusterNodesResponse(data, context);
|
|
2270
|
+
const response = {
|
|
2271
|
+
$metadata: deserializeMetadata(output),
|
|
2272
|
+
...contents,
|
|
2273
|
+
};
|
|
2274
|
+
return response;
|
|
2275
|
+
};
|
|
2245
2276
|
export const de_BatchDeleteClusterNodesCommand = async (output, context) => {
|
|
2246
2277
|
if (output.statusCode >= 300) {
|
|
2247
2278
|
return de_CommandError(output, context);
|
|
@@ -3838,6 +3869,19 @@ export const de_DescribeClusterCommand = async (output, context) => {
|
|
|
3838
3869
|
};
|
|
3839
3870
|
return response;
|
|
3840
3871
|
};
|
|
3872
|
+
export const de_DescribeClusterEventCommand = async (output, context) => {
|
|
3873
|
+
if (output.statusCode >= 300) {
|
|
3874
|
+
return de_CommandError(output, context);
|
|
3875
|
+
}
|
|
3876
|
+
const data = await parseBody(output.body, context);
|
|
3877
|
+
let contents = {};
|
|
3878
|
+
contents = de_DescribeClusterEventResponse(data, context);
|
|
3879
|
+
const response = {
|
|
3880
|
+
$metadata: deserializeMetadata(output),
|
|
3881
|
+
...contents,
|
|
3882
|
+
};
|
|
3883
|
+
return response;
|
|
3884
|
+
};
|
|
3841
3885
|
export const de_DescribeClusterNodeCommand = async (output, context) => {
|
|
3842
3886
|
if (output.statusCode >= 300) {
|
|
3843
3887
|
return de_CommandError(output, context);
|
|
@@ -4865,6 +4909,19 @@ export const de_ListCandidatesForAutoMLJobCommand = async (output, context) => {
|
|
|
4865
4909
|
};
|
|
4866
4910
|
return response;
|
|
4867
4911
|
};
|
|
4912
|
+
export const de_ListClusterEventsCommand = async (output, context) => {
|
|
4913
|
+
if (output.statusCode >= 300) {
|
|
4914
|
+
return de_CommandError(output, context);
|
|
4915
|
+
}
|
|
4916
|
+
const data = await parseBody(output.body, context);
|
|
4917
|
+
let contents = {};
|
|
4918
|
+
contents = de_ListClusterEventsResponse(data, context);
|
|
4919
|
+
const response = {
|
|
4920
|
+
$metadata: deserializeMetadata(output),
|
|
4921
|
+
...contents,
|
|
4922
|
+
};
|
|
4923
|
+
return response;
|
|
4924
|
+
};
|
|
4868
4925
|
export const de_ListClusterNodesCommand = async (output, context) => {
|
|
4869
4926
|
if (output.statusCode >= 300) {
|
|
4870
4927
|
return de_CommandError(output, context);
|
|
@@ -6820,6 +6877,13 @@ const se_AutoMLJobConfig = (input, context) => {
|
|
|
6820
6877
|
SecurityConfig: _json,
|
|
6821
6878
|
});
|
|
6822
6879
|
};
|
|
6880
|
+
const se_BatchAddClusterNodesRequest = (input, context) => {
|
|
6881
|
+
return take(input, {
|
|
6882
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
6883
|
+
ClusterName: [],
|
|
6884
|
+
NodesToAdd: _json,
|
|
6885
|
+
});
|
|
6886
|
+
};
|
|
6823
6887
|
const se_BatchTransformInput = (input, context) => {
|
|
6824
6888
|
return take(input, {
|
|
6825
6889
|
DataCapturedDestinationS3Uri: [],
|
|
@@ -7244,11 +7308,26 @@ const se_ListAutoMLJobsRequest = (input, context) => {
|
|
|
7244
7308
|
StatusEquals: [],
|
|
7245
7309
|
});
|
|
7246
7310
|
};
|
|
7311
|
+
const se_ListClusterEventsRequest = (input, context) => {
|
|
7312
|
+
return take(input, {
|
|
7313
|
+
ClusterName: [],
|
|
7314
|
+
EventTimeAfter: (_) => _.getTime() / 1_000,
|
|
7315
|
+
EventTimeBefore: (_) => _.getTime() / 1_000,
|
|
7316
|
+
InstanceGroupName: [],
|
|
7317
|
+
MaxResults: [],
|
|
7318
|
+
NextToken: [],
|
|
7319
|
+
NodeId: [],
|
|
7320
|
+
ResourceType: [],
|
|
7321
|
+
SortBy: [],
|
|
7322
|
+
SortOrder: [],
|
|
7323
|
+
});
|
|
7324
|
+
};
|
|
7247
7325
|
const se_ListClusterNodesRequest = (input, context) => {
|
|
7248
7326
|
return take(input, {
|
|
7249
7327
|
ClusterName: [],
|
|
7250
7328
|
CreationTimeAfter: (_) => _.getTime() / 1_000,
|
|
7251
7329
|
CreationTimeBefore: (_) => _.getTime() / 1_000,
|
|
7330
|
+
IncludeNodeLogicalIds: [],
|
|
7252
7331
|
InstanceGroupNameContains: [],
|
|
7253
7332
|
MaxResults: [],
|
|
7254
7333
|
NextToken: [],
|
|
@@ -8290,6 +8369,11 @@ const de_AdditionalCodeRepositoryNamesOrUrls = (output, context) => {
|
|
|
8290
8369
|
});
|
|
8291
8370
|
return retVal;
|
|
8292
8371
|
};
|
|
8372
|
+
const de_AdditionalEnis = (output, context) => {
|
|
8373
|
+
return take(output, {
|
|
8374
|
+
EfaEnis: (_) => de_EfaEnis(_, context),
|
|
8375
|
+
});
|
|
8376
|
+
};
|
|
8293
8377
|
const de_AdditionalInferenceSpecificationDefinition = (output, context) => {
|
|
8294
8378
|
return take(output, {
|
|
8295
8379
|
Containers: (_) => de_ModelPackageContainerDefinitionList(_, context),
|
|
@@ -8966,6 +9050,28 @@ const de_Autotune = (output, context) => {
|
|
|
8966
9050
|
Mode: __expectString,
|
|
8967
9051
|
});
|
|
8968
9052
|
};
|
|
9053
|
+
const de_BatchAddClusterNodesError = (output, context) => {
|
|
9054
|
+
return take(output, {
|
|
9055
|
+
ErrorCode: __expectString,
|
|
9056
|
+
FailedCount: __expectInt32,
|
|
9057
|
+
InstanceGroupName: __expectString,
|
|
9058
|
+
Message: __expectString,
|
|
9059
|
+
});
|
|
9060
|
+
};
|
|
9061
|
+
const de_BatchAddClusterNodesErrorList = (output, context) => {
|
|
9062
|
+
const retVal = (output || [])
|
|
9063
|
+
.filter((e) => e != null)
|
|
9064
|
+
.map((entry) => {
|
|
9065
|
+
return de_BatchAddClusterNodesError(entry, context);
|
|
9066
|
+
});
|
|
9067
|
+
return retVal;
|
|
9068
|
+
};
|
|
9069
|
+
const de_BatchAddClusterNodesResponse = (output, context) => {
|
|
9070
|
+
return take(output, {
|
|
9071
|
+
Failed: (_) => de_BatchAddClusterNodesErrorList(_, context),
|
|
9072
|
+
Successful: (_) => de_NodeAdditionResultList(_, context),
|
|
9073
|
+
});
|
|
9074
|
+
};
|
|
8969
9075
|
const de_BatchDataCaptureConfig = (output, context) => {
|
|
8970
9076
|
return take(output, {
|
|
8971
9077
|
DestinationS3Uri: __expectString,
|
|
@@ -8973,6 +9079,21 @@ const de_BatchDataCaptureConfig = (output, context) => {
|
|
|
8973
9079
|
KmsKeyId: __expectString,
|
|
8974
9080
|
});
|
|
8975
9081
|
};
|
|
9082
|
+
const de_BatchDeleteClusterNodeLogicalIdsError = (output, context) => {
|
|
9083
|
+
return take(output, {
|
|
9084
|
+
Code: __expectString,
|
|
9085
|
+
Message: __expectString,
|
|
9086
|
+
NodeLogicalId: __expectString,
|
|
9087
|
+
});
|
|
9088
|
+
};
|
|
9089
|
+
const de_BatchDeleteClusterNodeLogicalIdsErrorList = (output, context) => {
|
|
9090
|
+
const retVal = (output || [])
|
|
9091
|
+
.filter((e) => e != null)
|
|
9092
|
+
.map((entry) => {
|
|
9093
|
+
return de_BatchDeleteClusterNodeLogicalIdsError(entry, context);
|
|
9094
|
+
});
|
|
9095
|
+
return retVal;
|
|
9096
|
+
};
|
|
8976
9097
|
const de_BatchDeleteClusterNodesError = (output, context) => {
|
|
8977
9098
|
return take(output, {
|
|
8978
9099
|
Code: __expectString,
|
|
@@ -8991,7 +9112,9 @@ const de_BatchDeleteClusterNodesErrorList = (output, context) => {
|
|
|
8991
9112
|
const de_BatchDeleteClusterNodesResponse = (output, context) => {
|
|
8992
9113
|
return take(output, {
|
|
8993
9114
|
Failed: (_) => de_BatchDeleteClusterNodesErrorList(_, context),
|
|
9115
|
+
FailedNodeLogicalIds: (_) => de_BatchDeleteClusterNodeLogicalIdsErrorList(_, context),
|
|
8994
9116
|
Successful: (_) => de_ClusterNodeIds(_, context),
|
|
9117
|
+
SuccessfulNodeLogicalIds: (_) => de_ClusterNodeLogicalIdList(_, context),
|
|
8995
9118
|
});
|
|
8996
9119
|
};
|
|
8997
9120
|
const de_BatchDescribeModelPackageError = (output, context) => {
|
|
@@ -9112,6 +9235,12 @@ const de_CanvasAppSettings = (output, context) => {
|
|
|
9112
9235
|
WorkspaceSettings: (_) => de_WorkspaceSettings(_, context),
|
|
9113
9236
|
});
|
|
9114
9237
|
};
|
|
9238
|
+
const de_CapacityReservation = (output, context) => {
|
|
9239
|
+
return take(output, {
|
|
9240
|
+
Arn: __expectString,
|
|
9241
|
+
Type: __expectString,
|
|
9242
|
+
});
|
|
9243
|
+
};
|
|
9115
9244
|
const de_CapacitySize = (output, context) => {
|
|
9116
9245
|
return take(output, {
|
|
9117
9246
|
Type: __expectString,
|
|
@@ -9342,9 +9471,44 @@ const de_ClusterEbsVolumeConfig = (output, context) => {
|
|
|
9342
9471
|
VolumeSizeInGB: __expectInt32,
|
|
9343
9472
|
});
|
|
9344
9473
|
};
|
|
9474
|
+
const de_ClusterEventDetail = (output, context) => {
|
|
9475
|
+
return take(output, {
|
|
9476
|
+
ClusterArn: __expectString,
|
|
9477
|
+
ClusterName: __expectString,
|
|
9478
|
+
Description: __expectString,
|
|
9479
|
+
EventDetails: (_) => de_EventDetails(_, context),
|
|
9480
|
+
EventId: __expectString,
|
|
9481
|
+
EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9482
|
+
InstanceGroupName: __expectString,
|
|
9483
|
+
InstanceId: __expectString,
|
|
9484
|
+
ResourceType: __expectString,
|
|
9485
|
+
});
|
|
9486
|
+
};
|
|
9487
|
+
const de_ClusterEventSummaries = (output, context) => {
|
|
9488
|
+
const retVal = (output || [])
|
|
9489
|
+
.filter((e) => e != null)
|
|
9490
|
+
.map((entry) => {
|
|
9491
|
+
return de_ClusterEventSummary(entry, context);
|
|
9492
|
+
});
|
|
9493
|
+
return retVal;
|
|
9494
|
+
};
|
|
9495
|
+
const de_ClusterEventSummary = (output, context) => {
|
|
9496
|
+
return take(output, {
|
|
9497
|
+
ClusterArn: __expectString,
|
|
9498
|
+
ClusterName: __expectString,
|
|
9499
|
+
Description: __expectString,
|
|
9500
|
+
EventId: __expectString,
|
|
9501
|
+
EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9502
|
+
InstanceGroupName: __expectString,
|
|
9503
|
+
InstanceId: __expectString,
|
|
9504
|
+
ResourceType: __expectString,
|
|
9505
|
+
});
|
|
9506
|
+
};
|
|
9345
9507
|
const de_ClusterInstanceGroupDetails = (output, context) => {
|
|
9346
9508
|
return take(output, {
|
|
9347
9509
|
CurrentCount: __expectInt32,
|
|
9510
|
+
CurrentImageId: __expectString,
|
|
9511
|
+
DesiredImageId: __expectString,
|
|
9348
9512
|
ExecutionRole: __expectString,
|
|
9349
9513
|
InstanceGroupName: __expectString,
|
|
9350
9514
|
InstanceStorageConfigs: (_) => de_ClusterInstanceStorageConfigs(_, context),
|
|
@@ -9402,8 +9566,17 @@ const de_ClusterLifeCycleConfig = (output, context) => {
|
|
|
9402
9566
|
SourceS3Uri: __expectString,
|
|
9403
9567
|
});
|
|
9404
9568
|
};
|
|
9569
|
+
const de_ClusterMetadata = (output, context) => {
|
|
9570
|
+
return take(output, {
|
|
9571
|
+
EksRoleAccessEntries: (_) => de_EksRoleAccessEntries(_, context),
|
|
9572
|
+
FailureMessage: __expectString,
|
|
9573
|
+
SlrAccessEntry: __expectString,
|
|
9574
|
+
});
|
|
9575
|
+
};
|
|
9405
9576
|
const de_ClusterNodeDetails = (output, context) => {
|
|
9406
9577
|
return take(output, {
|
|
9578
|
+
CurrentImageId: __expectString,
|
|
9579
|
+
DesiredImageId: __expectString,
|
|
9407
9580
|
InstanceGroupName: __expectString,
|
|
9408
9581
|
InstanceId: __expectString,
|
|
9409
9582
|
InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
|
|
@@ -9412,6 +9585,7 @@ const de_ClusterNodeDetails = (output, context) => {
|
|
|
9412
9585
|
LastSoftwareUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9413
9586
|
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9414
9587
|
LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
|
|
9588
|
+
NodeLogicalId: __expectString,
|
|
9415
9589
|
OverrideVpcConfig: (_) => de_VpcConfig(_, context),
|
|
9416
9590
|
Placement: (_) => de_ClusterInstancePlacement(_, context),
|
|
9417
9591
|
PrivateDnsHostname: __expectString,
|
|
@@ -9428,6 +9602,14 @@ const de_ClusterNodeIds = (output, context) => {
|
|
|
9428
9602
|
});
|
|
9429
9603
|
return retVal;
|
|
9430
9604
|
};
|
|
9605
|
+
const de_ClusterNodeLogicalIdList = (output, context) => {
|
|
9606
|
+
const retVal = (output || [])
|
|
9607
|
+
.filter((e) => e != null)
|
|
9608
|
+
.map((entry) => {
|
|
9609
|
+
return __expectString(entry);
|
|
9610
|
+
});
|
|
9611
|
+
return retVal;
|
|
9612
|
+
};
|
|
9431
9613
|
const de_ClusterNodeSummaries = (output, context) => {
|
|
9432
9614
|
const retVal = (output || [])
|
|
9433
9615
|
.filter((e) => e != null)
|
|
@@ -9444,6 +9626,7 @@ const de_ClusterNodeSummary = (output, context) => {
|
|
|
9444
9626
|
InstanceType: __expectString,
|
|
9445
9627
|
LastSoftwareUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9446
9628
|
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9629
|
+
NodeLogicalId: __expectString,
|
|
9447
9630
|
});
|
|
9448
9631
|
};
|
|
9449
9632
|
const de_ClusterOrchestrator = (output, context) => {
|
|
@@ -10663,6 +10846,11 @@ const de_DescribeAutoMLJobV2Response = (output, context) => {
|
|
|
10663
10846
|
SecurityConfig: (_) => de_AutoMLSecurityConfig(_, context),
|
|
10664
10847
|
});
|
|
10665
10848
|
};
|
|
10849
|
+
const de_DescribeClusterEventResponse = (output, context) => {
|
|
10850
|
+
return take(output, {
|
|
10851
|
+
EventDetails: (_) => de_ClusterEventDetail(_, context),
|
|
10852
|
+
});
|
|
10853
|
+
};
|
|
10666
10854
|
const de_DescribeClusterNodeResponse = (output, context) => {
|
|
10667
10855
|
return take(output, {
|
|
10668
10856
|
NodeDetails: (_) => de_ClusterNodeDetails(_, context),
|
|
@@ -10676,6 +10864,7 @@ const de_DescribeClusterResponse = (output, context) => {
|
|
|
10676
10864
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10677
10865
|
FailureMessage: __expectString,
|
|
10678
10866
|
InstanceGroups: (_) => de_ClusterInstanceGroupDetailsList(_, context),
|
|
10867
|
+
NodeProvisioningMode: __expectString,
|
|
10679
10868
|
NodeRecovery: __expectString,
|
|
10680
10869
|
Orchestrator: (_) => de_ClusterOrchestrator(_, context),
|
|
10681
10870
|
RestrictedInstanceGroups: (_) => de_ClusterRestrictedInstanceGroupDetailsList(_, context),
|
|
@@ -12023,6 +12212,14 @@ const de_Edges = (output, context) => {
|
|
|
12023
12212
|
});
|
|
12024
12213
|
return retVal;
|
|
12025
12214
|
};
|
|
12215
|
+
const de_EfaEnis = (output, context) => {
|
|
12216
|
+
const retVal = (output || [])
|
|
12217
|
+
.filter((e) => e != null)
|
|
12218
|
+
.map((entry) => {
|
|
12219
|
+
return __expectString(entry);
|
|
12220
|
+
});
|
|
12221
|
+
return retVal;
|
|
12222
|
+
};
|
|
12026
12223
|
const de_EFSFileSystem = (output, context) => {
|
|
12027
12224
|
return take(output, {
|
|
12028
12225
|
FileSystemId: __expectString,
|
|
@@ -12034,6 +12231,14 @@ const de_EFSFileSystemConfig = (output, context) => {
|
|
|
12034
12231
|
FileSystemPath: __expectString,
|
|
12035
12232
|
});
|
|
12036
12233
|
};
|
|
12234
|
+
const de_EksRoleAccessEntries = (output, context) => {
|
|
12235
|
+
const retVal = (output || [])
|
|
12236
|
+
.filter((e) => e != null)
|
|
12237
|
+
.map((entry) => {
|
|
12238
|
+
return __expectString(entry);
|
|
12239
|
+
});
|
|
12240
|
+
return retVal;
|
|
12241
|
+
};
|
|
12037
12242
|
const de_EmrServerlessComputeConfig = (output, context) => {
|
|
12038
12243
|
return take(output, {
|
|
12039
12244
|
ExecutionRoleARN: __expectString,
|
|
@@ -12236,6 +12441,34 @@ const de_ErrorInfo = (output, context) => {
|
|
|
12236
12441
|
Reason: __expectString,
|
|
12237
12442
|
});
|
|
12238
12443
|
};
|
|
12444
|
+
const de_EventDetails = (output, context) => {
|
|
12445
|
+
return take(output, {
|
|
12446
|
+
EventMetadata: (_) => de_EventMetadata(__expectUnion(_), context),
|
|
12447
|
+
});
|
|
12448
|
+
};
|
|
12449
|
+
const de_EventMetadata = (output, context) => {
|
|
12450
|
+
if (output.Cluster != null) {
|
|
12451
|
+
return {
|
|
12452
|
+
Cluster: de_ClusterMetadata(output.Cluster, context),
|
|
12453
|
+
};
|
|
12454
|
+
}
|
|
12455
|
+
if (output.Instance != null) {
|
|
12456
|
+
return {
|
|
12457
|
+
Instance: de_InstanceMetadata(output.Instance, context),
|
|
12458
|
+
};
|
|
12459
|
+
}
|
|
12460
|
+
if (output.InstanceGroup != null) {
|
|
12461
|
+
return {
|
|
12462
|
+
InstanceGroup: de_InstanceGroupMetadata(output.InstanceGroup, context),
|
|
12463
|
+
};
|
|
12464
|
+
}
|
|
12465
|
+
if (output.InstanceGroupScaling != null) {
|
|
12466
|
+
return {
|
|
12467
|
+
InstanceGroupScaling: de_InstanceGroupScalingMetadata(output.InstanceGroupScaling, context),
|
|
12468
|
+
};
|
|
12469
|
+
}
|
|
12470
|
+
return { $unknown: Object.entries(output)[0] };
|
|
12471
|
+
};
|
|
12239
12472
|
const de_ExecutionRoleArns = (output, context) => {
|
|
12240
12473
|
const retVal = (output || [])
|
|
12241
12474
|
.filter((e) => e != null)
|
|
@@ -13324,6 +13557,16 @@ const de_InstanceGroup = (output, context) => {
|
|
|
13324
13557
|
InstanceType: __expectString,
|
|
13325
13558
|
});
|
|
13326
13559
|
};
|
|
13560
|
+
const de_InstanceGroupMetadata = (output, context) => {
|
|
13561
|
+
return take(output, {
|
|
13562
|
+
AmiOverride: __expectString,
|
|
13563
|
+
AvailabilityZoneId: __expectString,
|
|
13564
|
+
CapacityReservation: (_) => de_CapacityReservation(_, context),
|
|
13565
|
+
FailureMessage: __expectString,
|
|
13566
|
+
SecurityGroupIds: (_) => de_SecurityGroupIds(_, context),
|
|
13567
|
+
SubnetId: __expectString,
|
|
13568
|
+
});
|
|
13569
|
+
};
|
|
13327
13570
|
const de_InstanceGroupNames = (output, context) => {
|
|
13328
13571
|
const retVal = (output || [])
|
|
13329
13572
|
.filter((e) => e != null)
|
|
@@ -13340,6 +13583,23 @@ const de_InstanceGroups = (output, context) => {
|
|
|
13340
13583
|
});
|
|
13341
13584
|
return retVal;
|
|
13342
13585
|
};
|
|
13586
|
+
const de_InstanceGroupScalingMetadata = (output, context) => {
|
|
13587
|
+
return take(output, {
|
|
13588
|
+
FailureMessage: __expectString,
|
|
13589
|
+
InstanceCount: __expectInt32,
|
|
13590
|
+
TargetCount: __expectInt32,
|
|
13591
|
+
});
|
|
13592
|
+
};
|
|
13593
|
+
const de_InstanceMetadata = (output, context) => {
|
|
13594
|
+
return take(output, {
|
|
13595
|
+
AdditionalEnis: (_) => de_AdditionalEnis(_, context),
|
|
13596
|
+
CapacityReservation: (_) => de_CapacityReservation(_, context),
|
|
13597
|
+
CustomerEni: __expectString,
|
|
13598
|
+
FailureMessage: __expectString,
|
|
13599
|
+
LcsExecutionState: __expectString,
|
|
13600
|
+
NodeLogicalId: __expectString,
|
|
13601
|
+
});
|
|
13602
|
+
};
|
|
13343
13603
|
const de_InstanceMetadataServiceConfiguration = (output, context) => {
|
|
13344
13604
|
return take(output, {
|
|
13345
13605
|
MinimumInstanceMetadataServiceVersion: __expectString,
|
|
@@ -13648,6 +13908,12 @@ const de_ListCandidatesForAutoMLJobResponse = (output, context) => {
|
|
|
13648
13908
|
NextToken: __expectString,
|
|
13649
13909
|
});
|
|
13650
13910
|
};
|
|
13911
|
+
const de_ListClusterEventsResponse = (output, context) => {
|
|
13912
|
+
return take(output, {
|
|
13913
|
+
Events: (_) => de_ClusterEventSummaries(_, context),
|
|
13914
|
+
NextToken: __expectString,
|
|
13915
|
+
});
|
|
13916
|
+
};
|
|
13651
13917
|
const de_ListClusterNodesResponse = (output, context) => {
|
|
13652
13918
|
return take(output, {
|
|
13653
13919
|
ClusterNodeSummaries: (_) => de_ClusterNodeSummaries(_, context),
|
|
@@ -15053,6 +15319,21 @@ const de_NetworkConfig = (output, context) => {
|
|
|
15053
15319
|
VpcConfig: (_) => de_VpcConfig(_, context),
|
|
15054
15320
|
});
|
|
15055
15321
|
};
|
|
15322
|
+
const de_NodeAdditionResult = (output, context) => {
|
|
15323
|
+
return take(output, {
|
|
15324
|
+
InstanceGroupName: __expectString,
|
|
15325
|
+
NodeLogicalId: __expectString,
|
|
15326
|
+
Status: __expectString,
|
|
15327
|
+
});
|
|
15328
|
+
};
|
|
15329
|
+
const de_NodeAdditionResultList = (output, context) => {
|
|
15330
|
+
const retVal = (output || [])
|
|
15331
|
+
.filter((e) => e != null)
|
|
15332
|
+
.map((entry) => {
|
|
15333
|
+
return de_NodeAdditionResult(entry, context);
|
|
15334
|
+
});
|
|
15335
|
+
return retVal;
|
|
15336
|
+
};
|
|
15056
15337
|
const de_NotebookInstanceAcceleratorTypes = (output, context) => {
|
|
15057
15338
|
const retVal = (output || [])
|
|
15058
15339
|
.filter((e) => e != null)
|
|
@@ -3,6 +3,7 @@ import { AddAssociationCommandInput, AddAssociationCommandOutput } from "./comma
|
|
|
3
3
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
4
4
|
import { AssociateTrialComponentCommandInput, AssociateTrialComponentCommandOutput } from "./commands/AssociateTrialComponentCommand";
|
|
5
5
|
import { AttachClusterNodeVolumeCommandInput, AttachClusterNodeVolumeCommandOutput } from "./commands/AttachClusterNodeVolumeCommand";
|
|
6
|
+
import { BatchAddClusterNodesCommandInput, BatchAddClusterNodesCommandOutput } from "./commands/BatchAddClusterNodesCommand";
|
|
6
7
|
import { BatchDeleteClusterNodesCommandInput, BatchDeleteClusterNodesCommandOutput } from "./commands/BatchDeleteClusterNodesCommand";
|
|
7
8
|
import { BatchDescribeModelPackageCommandInput, BatchDescribeModelPackageCommandOutput } from "./commands/BatchDescribeModelPackageCommand";
|
|
8
9
|
import { CreateActionCommandInput, CreateActionCommandOutput } from "./commands/CreateActionCommand";
|
|
@@ -135,6 +136,7 @@ import { DescribeArtifactCommandInput, DescribeArtifactCommandOutput } from "./c
|
|
|
135
136
|
import { DescribeAutoMLJobCommandInput, DescribeAutoMLJobCommandOutput } from "./commands/DescribeAutoMLJobCommand";
|
|
136
137
|
import { DescribeAutoMLJobV2CommandInput, DescribeAutoMLJobV2CommandOutput } from "./commands/DescribeAutoMLJobV2Command";
|
|
137
138
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
139
|
+
import { DescribeClusterEventCommandInput, DescribeClusterEventCommandOutput } from "./commands/DescribeClusterEventCommand";
|
|
138
140
|
import { DescribeClusterNodeCommandInput, DescribeClusterNodeCommandOutput } from "./commands/DescribeClusterNodeCommand";
|
|
139
141
|
import { DescribeClusterSchedulerConfigCommandInput, DescribeClusterSchedulerConfigCommandOutput } from "./commands/DescribeClusterSchedulerConfigCommand";
|
|
140
142
|
import { DescribeCodeRepositoryCommandInput, DescribeCodeRepositoryCommandOutput } from "./commands/DescribeCodeRepositoryCommand";
|
|
@@ -214,6 +216,7 @@ import { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./command
|
|
|
214
216
|
import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
|
|
215
217
|
import { ListAutoMLJobsCommandInput, ListAutoMLJobsCommandOutput } from "./commands/ListAutoMLJobsCommand";
|
|
216
218
|
import { ListCandidatesForAutoMLJobCommandInput, ListCandidatesForAutoMLJobCommandOutput } from "./commands/ListCandidatesForAutoMLJobCommand";
|
|
219
|
+
import { ListClusterEventsCommandInput, ListClusterEventsCommandOutput } from "./commands/ListClusterEventsCommand";
|
|
217
220
|
import { ListClusterNodesCommandInput, ListClusterNodesCommandOutput } from "./commands/ListClusterNodesCommand";
|
|
218
221
|
import { ListClusterSchedulerConfigsCommandInput, ListClusterSchedulerConfigsCommandOutput } from "./commands/ListClusterSchedulerConfigsCommand";
|
|
219
222
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
@@ -389,6 +392,12 @@ export interface SageMaker {
|
|
|
389
392
|
attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options?: __HttpHandlerOptions): Promise<AttachClusterNodeVolumeCommandOutput>;
|
|
390
393
|
attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
|
|
391
394
|
attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
|
|
395
|
+
/**
|
|
396
|
+
* @see {@link BatchAddClusterNodesCommand}
|
|
397
|
+
*/
|
|
398
|
+
batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, options?: __HttpHandlerOptions): Promise<BatchAddClusterNodesCommandOutput>;
|
|
399
|
+
batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, cb: (err: any, data?: BatchAddClusterNodesCommandOutput) => void): void;
|
|
400
|
+
batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAddClusterNodesCommandOutput) => void): void;
|
|
392
401
|
/**
|
|
393
402
|
* @see {@link BatchDeleteClusterNodesCommand}
|
|
394
403
|
*/
|
|
@@ -1183,6 +1192,12 @@ export interface SageMaker {
|
|
|
1183
1192
|
describeCluster(args: DescribeClusterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterCommandOutput>;
|
|
1184
1193
|
describeCluster(args: DescribeClusterCommandInput, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
|
|
1185
1194
|
describeCluster(args: DescribeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
|
|
1195
|
+
/**
|
|
1196
|
+
* @see {@link DescribeClusterEventCommand}
|
|
1197
|
+
*/
|
|
1198
|
+
describeClusterEvent(args: DescribeClusterEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterEventCommandOutput>;
|
|
1199
|
+
describeClusterEvent(args: DescribeClusterEventCommandInput, cb: (err: any, data?: DescribeClusterEventCommandOutput) => void): void;
|
|
1200
|
+
describeClusterEvent(args: DescribeClusterEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterEventCommandOutput) => void): void;
|
|
1186
1201
|
/**
|
|
1187
1202
|
* @see {@link DescribeClusterNodeCommand}
|
|
1188
1203
|
*/
|
|
@@ -1667,6 +1682,12 @@ export interface SageMaker {
|
|
|
1667
1682
|
listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, options?: __HttpHandlerOptions): Promise<ListCandidatesForAutoMLJobCommandOutput>;
|
|
1668
1683
|
listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, cb: (err: any, data?: ListCandidatesForAutoMLJobCommandOutput) => void): void;
|
|
1669
1684
|
listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCandidatesForAutoMLJobCommandOutput) => void): void;
|
|
1685
|
+
/**
|
|
1686
|
+
* @see {@link ListClusterEventsCommand}
|
|
1687
|
+
*/
|
|
1688
|
+
listClusterEvents(args: ListClusterEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListClusterEventsCommandOutput>;
|
|
1689
|
+
listClusterEvents(args: ListClusterEventsCommandInput, cb: (err: any, data?: ListClusterEventsCommandOutput) => void): void;
|
|
1690
|
+
listClusterEvents(args: ListClusterEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClusterEventsCommandOutput) => void): void;
|
|
1670
1691
|
/**
|
|
1671
1692
|
* @see {@link ListClusterNodesCommand}
|
|
1672
1693
|
*/
|