@aws-sdk/client-sagemaker 3.462.0 → 3.464.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +15 -13
- package/dist-cjs/models/models_1.js +23 -22
- package/dist-cjs/models/models_2.js +22 -45
- package/dist-cjs/models/models_3.js +46 -22
- package/dist-cjs/models/models_4.js +21 -1
- package/dist-cjs/protocols/Aws_json1_1.js +180 -2
- package/dist-es/models/models_0.js +14 -12
- package/dist-es/models/models_1.js +22 -21
- package/dist-es/models/models_2.js +21 -44
- package/dist-es/models/models_3.js +44 -20
- package/dist-es/models/models_4.js +20 -0
- package/dist-es/protocols/Aws_json1_1.js +179 -1
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +50 -10
- package/dist-types/commands/CreateSpaceCommand.d.ts +43 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +49 -2
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +50 -10
- package/dist-types/commands/DescribeSpaceCommand.d.ts +43 -0
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +49 -2
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +13 -0
- package/dist-types/commands/ListAppsCommand.d.ts +8 -1
- package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +2 -1
- package/dist-types/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +15 -0
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +13 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +49 -9
- package/dist-types/commands/UpdateSpaceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +48 -0
- package/dist-types/models/models_0.d.ts +184 -176
- package/dist-types/models/models_1.d.ts +383 -796
- package/dist-types/models/models_2.d.ts +4794 -5178
- package/dist-types/models/models_3.d.ts +5376 -4691
- package/dist-types/models/models_4.d.ts +598 -13
- package/dist-types/ts3.4/commands/CreateCompilationJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeTrainingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPipelineExecutionStepsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +68 -65
- package/dist-types/ts3.4/models/models_1.d.ts +116 -160
- package/dist-types/ts3.4/models/models_2.d.ts +162 -203
- package/dist-types/ts3.4/models/models_3.d.ts +227 -130
- package/dist-types/ts3.4/models/models_4.d.ts +165 -17
- package/package.json +1 -1
|
@@ -356,24 +356,14 @@ export const AssemblyType = {
|
|
|
356
356
|
NONE: "None",
|
|
357
357
|
};
|
|
358
358
|
export const AppType = {
|
|
359
|
+
CodeEditor: "CodeEditor",
|
|
360
|
+
JupyterLab: "JupyterLab",
|
|
359
361
|
JupyterServer: "JupyterServer",
|
|
360
362
|
KernelGateway: "KernelGateway",
|
|
361
363
|
RSessionGateway: "RSessionGateway",
|
|
362
364
|
RStudioServerPro: "RStudioServerPro",
|
|
363
365
|
TensorBoard: "TensorBoard",
|
|
364
366
|
};
|
|
365
|
-
export const AppStatus = {
|
|
366
|
-
Deleted: "Deleted",
|
|
367
|
-
Deleting: "Deleting",
|
|
368
|
-
Failed: "Failed",
|
|
369
|
-
InService: "InService",
|
|
370
|
-
Pending: "Pending",
|
|
371
|
-
};
|
|
372
|
-
export const AppImageConfigSortKey = {
|
|
373
|
-
CreationTime: "CreationTime",
|
|
374
|
-
LastModifiedTime: "LastModifiedTime",
|
|
375
|
-
Name: "Name",
|
|
376
|
-
};
|
|
377
367
|
export const AppInstanceType = {
|
|
378
368
|
ML_C5_12XLARGE: "ml.c5.12xlarge",
|
|
379
369
|
ML_C5_18XLARGE: "ml.c5.18xlarge",
|
|
@@ -439,6 +429,18 @@ export const AppInstanceType = {
|
|
|
439
429
|
ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
|
|
440
430
|
SYSTEM: "system",
|
|
441
431
|
};
|
|
432
|
+
export const AppStatus = {
|
|
433
|
+
Deleted: "Deleted",
|
|
434
|
+
Deleting: "Deleting",
|
|
435
|
+
Failed: "Failed",
|
|
436
|
+
InService: "InService",
|
|
437
|
+
Pending: "Pending",
|
|
438
|
+
};
|
|
439
|
+
export const AppImageConfigSortKey = {
|
|
440
|
+
CreationTime: "CreationTime",
|
|
441
|
+
LastModifiedTime: "LastModifiedTime",
|
|
442
|
+
Name: "Name",
|
|
443
|
+
};
|
|
442
444
|
export const AppNetworkAccessType = {
|
|
443
445
|
PublicInternetOnly: "PublicInternetOnly",
|
|
444
446
|
VpcOnly: "VpcOnly",
|
|
@@ -52,6 +52,14 @@ export const ProcessingInstanceType = {
|
|
|
52
52
|
export const EdgePresetDeploymentType = {
|
|
53
53
|
GreengrassV2Component: "GreengrassV2Component",
|
|
54
54
|
};
|
|
55
|
+
export var CustomFileSystemConfig;
|
|
56
|
+
(function (CustomFileSystemConfig) {
|
|
57
|
+
CustomFileSystemConfig.visit = (value, visitor) => {
|
|
58
|
+
if (value.EFSFileSystemConfig !== undefined)
|
|
59
|
+
return visitor.EFSFileSystemConfig(value.EFSFileSystemConfig);
|
|
60
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
61
|
+
};
|
|
62
|
+
})(CustomFileSystemConfig || (CustomFileSystemConfig = {}));
|
|
55
63
|
export const RStudioServerProAccessStatus = {
|
|
56
64
|
Disabled: "DISABLED",
|
|
57
65
|
Enabled: "ENABLED",
|
|
@@ -316,31 +324,24 @@ export const ProcessingS3DataType = {
|
|
|
316
324
|
MANIFEST_FILE: "ManifestFile",
|
|
317
325
|
S3_PREFIX: "S3Prefix",
|
|
318
326
|
};
|
|
327
|
+
export var CustomFileSystem;
|
|
328
|
+
(function (CustomFileSystem) {
|
|
329
|
+
CustomFileSystem.visit = (value, visitor) => {
|
|
330
|
+
if (value.EFSFileSystem !== undefined)
|
|
331
|
+
return visitor.EFSFileSystem(value.EFSFileSystem);
|
|
332
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
333
|
+
};
|
|
334
|
+
})(CustomFileSystem || (CustomFileSystem = {}));
|
|
335
|
+
export const SharingType = {
|
|
336
|
+
Private: "Private",
|
|
337
|
+
Shared: "Shared",
|
|
338
|
+
};
|
|
319
339
|
export const StudioLifecycleConfigAppType = {
|
|
340
|
+
CodeEditor: "CodeEditor",
|
|
341
|
+
JupyterLab: "JupyterLab",
|
|
320
342
|
JupyterServer: "JupyterServer",
|
|
321
343
|
KernelGateway: "KernelGateway",
|
|
322
344
|
};
|
|
323
|
-
export const JoinSource = {
|
|
324
|
-
INPUT: "Input",
|
|
325
|
-
NONE: "None",
|
|
326
|
-
};
|
|
327
|
-
export var TrialComponentParameterValue;
|
|
328
|
-
(function (TrialComponentParameterValue) {
|
|
329
|
-
TrialComponentParameterValue.visit = (value, visitor) => {
|
|
330
|
-
if (value.StringValue !== undefined)
|
|
331
|
-
return visitor.StringValue(value.StringValue);
|
|
332
|
-
if (value.NumberValue !== undefined)
|
|
333
|
-
return visitor.NumberValue(value.NumberValue);
|
|
334
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
335
|
-
};
|
|
336
|
-
})(TrialComponentParameterValue || (TrialComponentParameterValue = {}));
|
|
337
|
-
export const TrialComponentPrimaryStatus = {
|
|
338
|
-
COMPLETED: "Completed",
|
|
339
|
-
FAILED: "Failed",
|
|
340
|
-
IN_PROGRESS: "InProgress",
|
|
341
|
-
STOPPED: "Stopped",
|
|
342
|
-
STOPPING: "Stopping",
|
|
343
|
-
};
|
|
344
345
|
export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
|
|
345
346
|
...obj,
|
|
346
347
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const JoinSource = {
|
|
3
|
+
INPUT: "Input",
|
|
4
|
+
NONE: "None",
|
|
5
|
+
};
|
|
6
|
+
export var TrialComponentParameterValue;
|
|
7
|
+
(function (TrialComponentParameterValue) {
|
|
8
|
+
TrialComponentParameterValue.visit = (value, visitor) => {
|
|
9
|
+
if (value.StringValue !== undefined)
|
|
10
|
+
return visitor.StringValue(value.StringValue);
|
|
11
|
+
if (value.NumberValue !== undefined)
|
|
12
|
+
return visitor.NumberValue(value.NumberValue);
|
|
13
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
14
|
+
};
|
|
15
|
+
})(TrialComponentParameterValue || (TrialComponentParameterValue = {}));
|
|
16
|
+
export const TrialComponentPrimaryStatus = {
|
|
17
|
+
COMPLETED: "Completed",
|
|
18
|
+
FAILED: "Failed",
|
|
19
|
+
IN_PROGRESS: "InProgress",
|
|
20
|
+
STOPPED: "Stopped",
|
|
21
|
+
STOPPING: "Stopping",
|
|
22
|
+
};
|
|
2
23
|
export const CrossAccountFilterOption = {
|
|
3
24
|
CROSS_ACCOUNT: "CrossAccount",
|
|
4
25
|
SAME_ACCOUNT: "SameAccount",
|
|
@@ -283,50 +304,6 @@ export const SpaceStatus = {
|
|
|
283
304
|
Update_Failed: "Update_Failed",
|
|
284
305
|
Updating: "Updating",
|
|
285
306
|
};
|
|
286
|
-
export const ProfilingStatus = {
|
|
287
|
-
DISABLED: "Disabled",
|
|
288
|
-
ENABLED: "Enabled",
|
|
289
|
-
};
|
|
290
|
-
export const SecondaryStatus = {
|
|
291
|
-
COMPLETED: "Completed",
|
|
292
|
-
DOWNLOADING: "Downloading",
|
|
293
|
-
DOWNLOADING_TRAINING_IMAGE: "DownloadingTrainingImage",
|
|
294
|
-
FAILED: "Failed",
|
|
295
|
-
INTERRUPTED: "Interrupted",
|
|
296
|
-
LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
|
|
297
|
-
MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
|
|
298
|
-
MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
|
|
299
|
-
PREPARING_TRAINING_STACK: "PreparingTrainingStack",
|
|
300
|
-
RESTARTING: "Restarting",
|
|
301
|
-
STARTING: "Starting",
|
|
302
|
-
STOPPED: "Stopped",
|
|
303
|
-
STOPPING: "Stopping",
|
|
304
|
-
TRAINING: "Training",
|
|
305
|
-
UPDATING: "Updating",
|
|
306
|
-
UPLOADING: "Uploading",
|
|
307
|
-
};
|
|
308
|
-
export const WarmPoolResourceStatus = {
|
|
309
|
-
AVAILABLE: "Available",
|
|
310
|
-
INUSE: "InUse",
|
|
311
|
-
REUSED: "Reused",
|
|
312
|
-
TERMINATED: "Terminated",
|
|
313
|
-
};
|
|
314
|
-
export const TransformJobStatus = {
|
|
315
|
-
COMPLETED: "Completed",
|
|
316
|
-
FAILED: "Failed",
|
|
317
|
-
IN_PROGRESS: "InProgress",
|
|
318
|
-
STOPPED: "Stopped",
|
|
319
|
-
STOPPING: "Stopping",
|
|
320
|
-
};
|
|
321
|
-
export const UserProfileStatus = {
|
|
322
|
-
Delete_Failed: "Delete_Failed",
|
|
323
|
-
Deleting: "Deleting",
|
|
324
|
-
Failed: "Failed",
|
|
325
|
-
InService: "InService",
|
|
326
|
-
Pending: "Pending",
|
|
327
|
-
Update_Failed: "Update_Failed",
|
|
328
|
-
Updating: "Updating",
|
|
329
|
-
};
|
|
330
307
|
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
331
308
|
...obj,
|
|
332
309
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
export const ProfilingStatus = {
|
|
2
|
+
DISABLED: "Disabled",
|
|
3
|
+
ENABLED: "Enabled",
|
|
4
|
+
};
|
|
5
|
+
export const SecondaryStatus = {
|
|
6
|
+
COMPLETED: "Completed",
|
|
7
|
+
DOWNLOADING: "Downloading",
|
|
8
|
+
DOWNLOADING_TRAINING_IMAGE: "DownloadingTrainingImage",
|
|
9
|
+
FAILED: "Failed",
|
|
10
|
+
INTERRUPTED: "Interrupted",
|
|
11
|
+
LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
|
|
12
|
+
MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
|
|
13
|
+
MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
|
|
14
|
+
PREPARING_TRAINING_STACK: "PreparingTrainingStack",
|
|
15
|
+
RESTARTING: "Restarting",
|
|
16
|
+
STARTING: "Starting",
|
|
17
|
+
STOPPED: "Stopped",
|
|
18
|
+
STOPPING: "Stopping",
|
|
19
|
+
TRAINING: "Training",
|
|
20
|
+
UPDATING: "Updating",
|
|
21
|
+
UPLOADING: "Uploading",
|
|
22
|
+
};
|
|
23
|
+
export const WarmPoolResourceStatus = {
|
|
24
|
+
AVAILABLE: "Available",
|
|
25
|
+
INUSE: "InUse",
|
|
26
|
+
REUSED: "Reused",
|
|
27
|
+
TERMINATED: "Terminated",
|
|
28
|
+
};
|
|
29
|
+
export const TransformJobStatus = {
|
|
30
|
+
COMPLETED: "Completed",
|
|
31
|
+
FAILED: "Failed",
|
|
32
|
+
IN_PROGRESS: "InProgress",
|
|
33
|
+
STOPPED: "Stopped",
|
|
34
|
+
STOPPING: "Stopping",
|
|
35
|
+
};
|
|
36
|
+
export const UserProfileStatus = {
|
|
37
|
+
Delete_Failed: "Delete_Failed",
|
|
38
|
+
Deleting: "Deleting",
|
|
39
|
+
Failed: "Failed",
|
|
40
|
+
InService: "InService",
|
|
41
|
+
Pending: "Pending",
|
|
42
|
+
Update_Failed: "Update_Failed",
|
|
43
|
+
Updating: "Updating",
|
|
44
|
+
};
|
|
1
45
|
export const WorkforceStatus = {
|
|
2
46
|
ACTIVE: "Active",
|
|
3
47
|
DELETING: "Deleting",
|
|
@@ -302,23 +346,3 @@ export const SortPipelineExecutionsBy = {
|
|
|
302
346
|
CREATION_TIME: "CreationTime",
|
|
303
347
|
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn",
|
|
304
348
|
};
|
|
305
|
-
export const StepStatus = {
|
|
306
|
-
EXECUTING: "Executing",
|
|
307
|
-
FAILED: "Failed",
|
|
308
|
-
STARTING: "Starting",
|
|
309
|
-
STOPPED: "Stopped",
|
|
310
|
-
STOPPING: "Stopping",
|
|
311
|
-
SUCCEEDED: "Succeeded",
|
|
312
|
-
};
|
|
313
|
-
export const SortPipelinesBy = {
|
|
314
|
-
CREATION_TIME: "CreationTime",
|
|
315
|
-
NAME: "Name",
|
|
316
|
-
};
|
|
317
|
-
export const ProjectSortBy = {
|
|
318
|
-
CREATION_TIME: "CreationTime",
|
|
319
|
-
NAME: "Name",
|
|
320
|
-
};
|
|
321
|
-
export const ProjectSortOrder = {
|
|
322
|
-
ASCENDING: "Ascending",
|
|
323
|
-
DESCENDING: "Descending",
|
|
324
|
-
};
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { OidcConfigFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const StepStatus = {
|
|
4
|
+
EXECUTING: "Executing",
|
|
5
|
+
FAILED: "Failed",
|
|
6
|
+
STARTING: "Starting",
|
|
7
|
+
STOPPED: "Stopped",
|
|
8
|
+
STOPPING: "Stopping",
|
|
9
|
+
SUCCEEDED: "Succeeded",
|
|
10
|
+
};
|
|
11
|
+
export const SortPipelinesBy = {
|
|
12
|
+
CREATION_TIME: "CreationTime",
|
|
13
|
+
NAME: "Name",
|
|
14
|
+
};
|
|
15
|
+
export const ProjectSortBy = {
|
|
16
|
+
CREATION_TIME: "CreationTime",
|
|
17
|
+
NAME: "Name",
|
|
18
|
+
};
|
|
19
|
+
export const ProjectSortOrder = {
|
|
20
|
+
ASCENDING: "Ascending",
|
|
21
|
+
DESCENDING: "Descending",
|
|
22
|
+
};
|
|
3
23
|
export const ResourceCatalogSortBy = {
|
|
4
24
|
CREATION_TIME: "CreationTime",
|
|
5
25
|
};
|
|
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConflictException, ResourceInUse, ResourceLimitExceeded, ResourceNotFound, } from "../models/models_0";
|
|
6
|
-
import { TrialComponentParameterValue, } from "../models/
|
|
6
|
+
import { TrialComponentParameterValue, } from "../models/models_2";
|
|
7
7
|
import { SageMakerServiceException as __BaseException } from "../models/SageMakerServiceException";
|
|
8
8
|
export const se_AddAssociationCommand = async (input, context) => {
|
|
9
9
|
const headers = sharedHeaders("AddAssociation");
|
|
@@ -13074,6 +13074,7 @@ const de_AppDetails = (output, context) => {
|
|
|
13074
13074
|
AppType: __expectString,
|
|
13075
13075
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13076
13076
|
DomainId: __expectString,
|
|
13077
|
+
ResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
13077
13078
|
SpaceName: __expectString,
|
|
13078
13079
|
Status: __expectString,
|
|
13079
13080
|
UserProfileName: __expectString,
|
|
@@ -13084,6 +13085,7 @@ const de_AppImageConfigDetails = (output, context) => {
|
|
|
13084
13085
|
AppImageConfigArn: __expectString,
|
|
13085
13086
|
AppImageConfigName: __expectString,
|
|
13086
13087
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13088
|
+
JupyterLabAppImageConfig: (_) => de_JupyterLabAppImageConfig(_, context),
|
|
13087
13089
|
KernelGatewayImageConfig: (_) => de_KernelGatewayImageConfig(_, context),
|
|
13088
13090
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13089
13091
|
});
|
|
@@ -13900,6 +13902,12 @@ const de_ClusterSummary = (output, context) => {
|
|
|
13900
13902
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13901
13903
|
});
|
|
13902
13904
|
};
|
|
13905
|
+
const de_CodeEditorAppSettings = (output, context) => {
|
|
13906
|
+
return take(output, {
|
|
13907
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
13908
|
+
LifecycleConfigArns: (_) => de_LifecycleConfigArns(_, context),
|
|
13909
|
+
});
|
|
13910
|
+
};
|
|
13903
13911
|
const de_CodeRepositories = (output, context) => {
|
|
13904
13912
|
const retVal = (output || [])
|
|
13905
13913
|
.filter((e) => e != null)
|
|
@@ -14023,6 +14031,13 @@ const de_ContainerArguments = (output, context) => {
|
|
|
14023
14031
|
});
|
|
14024
14032
|
return retVal;
|
|
14025
14033
|
};
|
|
14034
|
+
const de_ContainerConfig = (output, context) => {
|
|
14035
|
+
return take(output, {
|
|
14036
|
+
ContainerArguments: (_) => de_CustomImageContainerArguments(_, context),
|
|
14037
|
+
ContainerEntrypoint: (_) => de_CustomImageContainerEntrypoint(_, context),
|
|
14038
|
+
ContainerEnvironmentVariables: (_) => de_CustomImageContainerEnvironmentVariables(_, context),
|
|
14039
|
+
});
|
|
14040
|
+
};
|
|
14026
14041
|
const de_ContainerDefinition = (output, context) => {
|
|
14027
14042
|
return take(output, {
|
|
14028
14043
|
ContainerHostname: __expectString,
|
|
@@ -14405,6 +14420,38 @@ const de_CustomerMetadataMap = (output, context) => {
|
|
|
14405
14420
|
return acc;
|
|
14406
14421
|
}, {});
|
|
14407
14422
|
};
|
|
14423
|
+
const de_CustomFileSystem = (output, context) => {
|
|
14424
|
+
if (output.EFSFileSystem != null) {
|
|
14425
|
+
return {
|
|
14426
|
+
EFSFileSystem: de_EFSFileSystem(output.EFSFileSystem, context),
|
|
14427
|
+
};
|
|
14428
|
+
}
|
|
14429
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14430
|
+
};
|
|
14431
|
+
const de_CustomFileSystemConfig = (output, context) => {
|
|
14432
|
+
if (output.EFSFileSystemConfig != null) {
|
|
14433
|
+
return {
|
|
14434
|
+
EFSFileSystemConfig: de_EFSFileSystemConfig(output.EFSFileSystemConfig, context),
|
|
14435
|
+
};
|
|
14436
|
+
}
|
|
14437
|
+
return { $unknown: Object.entries(output)[0] };
|
|
14438
|
+
};
|
|
14439
|
+
const de_CustomFileSystemConfigs = (output, context) => {
|
|
14440
|
+
const retVal = (output || [])
|
|
14441
|
+
.filter((e) => e != null)
|
|
14442
|
+
.map((entry) => {
|
|
14443
|
+
return de_CustomFileSystemConfig(__expectUnion(entry), context);
|
|
14444
|
+
});
|
|
14445
|
+
return retVal;
|
|
14446
|
+
};
|
|
14447
|
+
const de_CustomFileSystems = (output, context) => {
|
|
14448
|
+
const retVal = (output || [])
|
|
14449
|
+
.filter((e) => e != null)
|
|
14450
|
+
.map((entry) => {
|
|
14451
|
+
return de_CustomFileSystem(__expectUnion(entry), context);
|
|
14452
|
+
});
|
|
14453
|
+
return retVal;
|
|
14454
|
+
};
|
|
14408
14455
|
const de_CustomImage = (output, context) => {
|
|
14409
14456
|
return take(output, {
|
|
14410
14457
|
AppImageConfigName: __expectString,
|
|
@@ -14412,6 +14459,31 @@ const de_CustomImage = (output, context) => {
|
|
|
14412
14459
|
ImageVersionNumber: __expectInt32,
|
|
14413
14460
|
});
|
|
14414
14461
|
};
|
|
14462
|
+
const de_CustomImageContainerArguments = (output, context) => {
|
|
14463
|
+
const retVal = (output || [])
|
|
14464
|
+
.filter((e) => e != null)
|
|
14465
|
+
.map((entry) => {
|
|
14466
|
+
return __expectString(entry);
|
|
14467
|
+
});
|
|
14468
|
+
return retVal;
|
|
14469
|
+
};
|
|
14470
|
+
const de_CustomImageContainerEntrypoint = (output, context) => {
|
|
14471
|
+
const retVal = (output || [])
|
|
14472
|
+
.filter((e) => e != null)
|
|
14473
|
+
.map((entry) => {
|
|
14474
|
+
return __expectString(entry);
|
|
14475
|
+
});
|
|
14476
|
+
return retVal;
|
|
14477
|
+
};
|
|
14478
|
+
const de_CustomImageContainerEnvironmentVariables = (output, context) => {
|
|
14479
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
14480
|
+
if (value === null) {
|
|
14481
|
+
return acc;
|
|
14482
|
+
}
|
|
14483
|
+
acc[key] = __expectString(value);
|
|
14484
|
+
return acc;
|
|
14485
|
+
}, {});
|
|
14486
|
+
};
|
|
14415
14487
|
const de_CustomImages = (output, context) => {
|
|
14416
14488
|
const retVal = (output || [])
|
|
14417
14489
|
.filter((e) => e != null)
|
|
@@ -14427,6 +14499,12 @@ const de_CustomizedMetricSpecification = (output, context) => {
|
|
|
14427
14499
|
Statistic: __expectString,
|
|
14428
14500
|
});
|
|
14429
14501
|
};
|
|
14502
|
+
const de_CustomPosixUserConfig = (output, context) => {
|
|
14503
|
+
return take(output, {
|
|
14504
|
+
Gid: __expectLong,
|
|
14505
|
+
Uid: __expectLong,
|
|
14506
|
+
});
|
|
14507
|
+
};
|
|
14430
14508
|
const de_DataCaptureConfig = (output, context) => {
|
|
14431
14509
|
return take(output, {
|
|
14432
14510
|
CaptureContentTypeHeader: (_) => de_CaptureContentTypeHeader(_, context),
|
|
@@ -14542,6 +14620,12 @@ const de_DebugRuleEvaluationStatuses = (output, context) => {
|
|
|
14542
14620
|
});
|
|
14543
14621
|
return retVal;
|
|
14544
14622
|
};
|
|
14623
|
+
const de_DefaultEbsStorageSettings = (output, context) => {
|
|
14624
|
+
return take(output, {
|
|
14625
|
+
DefaultEbsVolumeSizeInGb: __expectInt32,
|
|
14626
|
+
MaximumEbsVolumeSizeInGb: __expectInt32,
|
|
14627
|
+
});
|
|
14628
|
+
};
|
|
14545
14629
|
const de_DefaultSpaceSettings = (output, context) => {
|
|
14546
14630
|
return take(output, {
|
|
14547
14631
|
ExecutionRole: __expectString,
|
|
@@ -14550,6 +14634,11 @@ const de_DefaultSpaceSettings = (output, context) => {
|
|
|
14550
14634
|
SecurityGroups: (_) => de_SecurityGroupIds(_, context),
|
|
14551
14635
|
});
|
|
14552
14636
|
};
|
|
14637
|
+
const de_DefaultSpaceStorageSettings = (output, context) => {
|
|
14638
|
+
return take(output, {
|
|
14639
|
+
DefaultEbsStorageSettings: (_) => de_DefaultEbsStorageSettings(_, context),
|
|
14640
|
+
});
|
|
14641
|
+
};
|
|
14553
14642
|
const de_DeleteActionResponse = (output, context) => {
|
|
14554
14643
|
return take(output, {
|
|
14555
14644
|
ActionArn: __expectString,
|
|
@@ -14710,6 +14799,7 @@ const de_DescribeAppImageConfigResponse = (output, context) => {
|
|
|
14710
14799
|
AppImageConfigArn: __expectString,
|
|
14711
14800
|
AppImageConfigName: __expectString,
|
|
14712
14801
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14802
|
+
JupyterLabAppImageConfig: (_) => de_JupyterLabAppImageConfig(_, context),
|
|
14713
14803
|
KernelGatewayImageConfig: (_) => de_KernelGatewayImageConfig(_, context),
|
|
14714
14804
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14715
14805
|
});
|
|
@@ -15504,9 +15594,12 @@ const de_DescribeSpaceResponse = (output, context) => {
|
|
|
15504
15594
|
FailureReason: __expectString,
|
|
15505
15595
|
HomeEfsFileSystemUid: __expectString,
|
|
15506
15596
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
15597
|
+
OwnershipSettings: (_) => de_OwnershipSettings(_, context),
|
|
15507
15598
|
SpaceArn: __expectString,
|
|
15599
|
+
SpaceDisplayName: __expectString,
|
|
15508
15600
|
SpaceName: __expectString,
|
|
15509
15601
|
SpaceSettings: (_) => de_SpaceSettings(_, context),
|
|
15602
|
+
SpaceSharingSettings: (_) => de_SpaceSharingSettings(_, context),
|
|
15510
15603
|
Status: __expectString,
|
|
15511
15604
|
Url: __expectString,
|
|
15512
15605
|
});
|
|
@@ -15830,6 +15923,11 @@ const de_DynamicScalingConfiguration = (output, context) => {
|
|
|
15830
15923
|
ScalingPolicies: (_) => de_ScalingPolicies(_, context),
|
|
15831
15924
|
});
|
|
15832
15925
|
};
|
|
15926
|
+
const de_EbsStorageSettings = (output, context) => {
|
|
15927
|
+
return take(output, {
|
|
15928
|
+
EbsVolumeSizeInGb: __expectInt32,
|
|
15929
|
+
});
|
|
15930
|
+
};
|
|
15833
15931
|
const de_Edge = (output, context) => {
|
|
15834
15932
|
return take(output, {
|
|
15835
15933
|
AssociationType: __expectString,
|
|
@@ -15978,6 +16076,17 @@ const de_Edges = (output, context) => {
|
|
|
15978
16076
|
});
|
|
15979
16077
|
return retVal;
|
|
15980
16078
|
};
|
|
16079
|
+
const de_EFSFileSystem = (output, context) => {
|
|
16080
|
+
return take(output, {
|
|
16081
|
+
FileSystemId: __expectString,
|
|
16082
|
+
});
|
|
16083
|
+
};
|
|
16084
|
+
const de_EFSFileSystemConfig = (output, context) => {
|
|
16085
|
+
return take(output, {
|
|
16086
|
+
FileSystemId: __expectString,
|
|
16087
|
+
FileSystemPath: __expectString,
|
|
16088
|
+
});
|
|
16089
|
+
};
|
|
15981
16090
|
const de_EMRStepMetadata = (output, context) => {
|
|
15982
16091
|
return take(output, {
|
|
15983
16092
|
ClusterId: __expectString,
|
|
@@ -17164,6 +17273,19 @@ const de_JsonContentTypes = (output, context) => {
|
|
|
17164
17273
|
});
|
|
17165
17274
|
return retVal;
|
|
17166
17275
|
};
|
|
17276
|
+
const de_JupyterLabAppImageConfig = (output, context) => {
|
|
17277
|
+
return take(output, {
|
|
17278
|
+
ContainerConfig: (_) => de_ContainerConfig(_, context),
|
|
17279
|
+
});
|
|
17280
|
+
};
|
|
17281
|
+
const de_JupyterLabAppSettings = (output, context) => {
|
|
17282
|
+
return take(output, {
|
|
17283
|
+
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
17284
|
+
CustomImages: (_) => de_CustomImages(_, context),
|
|
17285
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
17286
|
+
LifecycleConfigArns: (_) => de_LifecycleConfigArns(_, context),
|
|
17287
|
+
});
|
|
17288
|
+
};
|
|
17167
17289
|
const de_JupyterServerAppSettings = (output, context) => {
|
|
17168
17290
|
return take(output, {
|
|
17169
17291
|
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
@@ -18884,6 +19006,16 @@ const de_OutputParameterList = (output, context) => {
|
|
|
18884
19006
|
});
|
|
18885
19007
|
return retVal;
|
|
18886
19008
|
};
|
|
19009
|
+
const de_OwnershipSettings = (output, context) => {
|
|
19010
|
+
return take(output, {
|
|
19011
|
+
OwnerUserProfileName: __expectString,
|
|
19012
|
+
});
|
|
19013
|
+
};
|
|
19014
|
+
const de_OwnershipSettingsSummary = (output, context) => {
|
|
19015
|
+
return take(output, {
|
|
19016
|
+
OwnerUserProfileName: __expectString,
|
|
19017
|
+
});
|
|
19018
|
+
};
|
|
18887
19019
|
const de_ParallelismConfiguration = (output, context) => {
|
|
18888
19020
|
return take(output, {
|
|
18889
19021
|
MaxParallelExecutionSteps: __expectInt32,
|
|
@@ -20040,15 +20172,30 @@ const de_SourceIpConfig = (output, context) => {
|
|
|
20040
20172
|
Cidrs: (_) => de_Cidrs(_, context),
|
|
20041
20173
|
});
|
|
20042
20174
|
};
|
|
20175
|
+
const de_SpaceCodeEditorAppSettings = (output, context) => {
|
|
20176
|
+
return take(output, {
|
|
20177
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
20178
|
+
});
|
|
20179
|
+
};
|
|
20043
20180
|
const de_SpaceDetails = (output, context) => {
|
|
20044
20181
|
return take(output, {
|
|
20045
20182
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
20046
20183
|
DomainId: __expectString,
|
|
20047
20184
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
20185
|
+
OwnershipSettingsSummary: (_) => de_OwnershipSettingsSummary(_, context),
|
|
20186
|
+
SpaceDisplayName: __expectString,
|
|
20048
20187
|
SpaceName: __expectString,
|
|
20188
|
+
SpaceSettingsSummary: (_) => de_SpaceSettingsSummary(_, context),
|
|
20189
|
+
SpaceSharingSettingsSummary: (_) => de_SpaceSharingSettingsSummary(_, context),
|
|
20049
20190
|
Status: __expectString,
|
|
20050
20191
|
});
|
|
20051
20192
|
};
|
|
20193
|
+
const de_SpaceJupyterLabAppSettings = (output, context) => {
|
|
20194
|
+
return take(output, {
|
|
20195
|
+
CodeRepositories: (_) => de_CodeRepositories(_, context),
|
|
20196
|
+
DefaultResourceSpec: (_) => de_ResourceSpec(_, context),
|
|
20197
|
+
});
|
|
20198
|
+
};
|
|
20052
20199
|
const de_SpaceList = (output, context) => {
|
|
20053
20200
|
const retVal = (output || [])
|
|
20054
20201
|
.filter((e) => e != null)
|
|
@@ -20059,8 +20206,34 @@ const de_SpaceList = (output, context) => {
|
|
|
20059
20206
|
};
|
|
20060
20207
|
const de_SpaceSettings = (output, context) => {
|
|
20061
20208
|
return take(output, {
|
|
20209
|
+
AppType: __expectString,
|
|
20210
|
+
CodeEditorAppSettings: (_) => de_SpaceCodeEditorAppSettings(_, context),
|
|
20211
|
+
CustomFileSystems: (_) => de_CustomFileSystems(_, context),
|
|
20212
|
+
JupyterLabAppSettings: (_) => de_SpaceJupyterLabAppSettings(_, context),
|
|
20062
20213
|
JupyterServerAppSettings: (_) => de_JupyterServerAppSettings(_, context),
|
|
20063
20214
|
KernelGatewayAppSettings: (_) => de_KernelGatewayAppSettings(_, context),
|
|
20215
|
+
SpaceStorageSettings: (_) => de_SpaceStorageSettings(_, context),
|
|
20216
|
+
});
|
|
20217
|
+
};
|
|
20218
|
+
const de_SpaceSettingsSummary = (output, context) => {
|
|
20219
|
+
return take(output, {
|
|
20220
|
+
AppType: __expectString,
|
|
20221
|
+
SpaceStorageSettings: (_) => de_SpaceStorageSettings(_, context),
|
|
20222
|
+
});
|
|
20223
|
+
};
|
|
20224
|
+
const de_SpaceSharingSettings = (output, context) => {
|
|
20225
|
+
return take(output, {
|
|
20226
|
+
SharingType: __expectString,
|
|
20227
|
+
});
|
|
20228
|
+
};
|
|
20229
|
+
const de_SpaceSharingSettingsSummary = (output, context) => {
|
|
20230
|
+
return take(output, {
|
|
20231
|
+
SharingType: __expectString,
|
|
20232
|
+
});
|
|
20233
|
+
};
|
|
20234
|
+
const de_SpaceStorageSettings = (output, context) => {
|
|
20235
|
+
return take(output, {
|
|
20236
|
+
EbsStorageSettings: (_) => de_EbsStorageSettings(_, context),
|
|
20064
20237
|
});
|
|
20065
20238
|
};
|
|
20066
20239
|
const de_Stairs = (output, context) => {
|
|
@@ -20945,14 +21118,19 @@ const de_UserProfileList = (output, context) => {
|
|
|
20945
21118
|
const de_UserSettings = (output, context) => {
|
|
20946
21119
|
return take(output, {
|
|
20947
21120
|
CanvasAppSettings: (_) => de_CanvasAppSettings(_, context),
|
|
21121
|
+
CodeEditorAppSettings: (_) => de_CodeEditorAppSettings(_, context),
|
|
21122
|
+
CustomFileSystemConfigs: (_) => de_CustomFileSystemConfigs(_, context),
|
|
21123
|
+
CustomPosixUserConfig: (_) => de_CustomPosixUserConfig(_, context),
|
|
20948
21124
|
DefaultLandingUri: __expectString,
|
|
20949
21125
|
ExecutionRole: __expectString,
|
|
21126
|
+
JupyterLabAppSettings: (_) => de_JupyterLabAppSettings(_, context),
|
|
20950
21127
|
JupyterServerAppSettings: (_) => de_JupyterServerAppSettings(_, context),
|
|
20951
21128
|
KernelGatewayAppSettings: (_) => de_KernelGatewayAppSettings(_, context),
|
|
20952
21129
|
RSessionAppSettings: (_) => de_RSessionAppSettings(_, context),
|
|
20953
21130
|
RStudioServerProAppSettings: (_) => de_RStudioServerProAppSettings(_, context),
|
|
20954
21131
|
SecurityGroups: (_) => de_SecurityGroupIds(_, context),
|
|
20955
21132
|
SharingSettings: (_) => de_SharingSettings(_, context),
|
|
21133
|
+
SpaceStorageSettings: (_) => de_DefaultSpaceStorageSettings(_, context),
|
|
20956
21134
|
StudioWebPortal: __expectString,
|
|
20957
21135
|
TensorBoardAppSettings: (_) => de_TensorBoardAppSettings(_, context),
|
|
20958
21136
|
});
|
|
@@ -35,7 +35,7 @@ export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBea
|
|
|
35
35
|
* const input = { // CreateAppRequest
|
|
36
36
|
* DomainId: "STRING_VALUE", // required
|
|
37
37
|
* UserProfileName: "STRING_VALUE",
|
|
38
|
-
* AppType: "JupyterServer" || "KernelGateway" || "TensorBoard" || "RStudioServerPro" || "RSessionGateway", // required
|
|
38
|
+
* AppType: "JupyterServer" || "KernelGateway" || "TensorBoard" || "RStudioServerPro" || "RSessionGateway" || "JupyterLab" || "CodeEditor", // required
|
|
39
39
|
* AppName: "STRING_VALUE", // required
|
|
40
40
|
* Tags: [ // TagList
|
|
41
41
|
* { // Tag
|
|
@@ -53,6 +53,19 @@ export interface CreateAppImageConfigCommandOutput extends CreateAppImageConfigR
|
|
|
53
53
|
* DefaultGid: Number("int"),
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
56
|
+
* JupyterLabAppImageConfig: { // JupyterLabAppImageConfig
|
|
57
|
+
* ContainerConfig: { // ContainerConfig
|
|
58
|
+
* ContainerArguments: [ // CustomImageContainerArguments
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* ContainerEntrypoint: [ // CustomImageContainerEntrypoint
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* ContainerEnvironmentVariables: { // CustomImageContainerEnvironmentVariables
|
|
65
|
+
* "<keys>": "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
56
69
|
* };
|
|
57
70
|
* const command = new CreateAppImageConfigCommand(input);
|
|
58
71
|
* const response = await client.send(command);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CreateCompilationJobRequest
|
|
4
|
+
import { CreateCompilationJobRequest } from "../models/models_0";
|
|
5
|
+
import { CreateCompilationJobResponse } from "../models/models_1";
|
|
5
6
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { CreateContextRequest, CreateContextResponse } from "../models/
|
|
4
|
+
import { CreateContextRequest, CreateContextResponse } from "../models/models_1";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|