@aws-sdk/client-sagemaker 3.577.0 → 3.578.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/index.js +40 -17
- package/dist-es/models/models_2.js +4 -12
- package/dist-es/models/models_3.js +12 -4
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +17 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +8 -0
- package/dist-types/commands/DescribeProjectCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +1 -2
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +8 -0
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +8 -0
- package/dist-types/commands/UpdateWorkteamCommand.d.ts +16 -0
- package/dist-types/models/models_2.d.ts +57 -139
- package/dist-types/models/models_3.d.ts +151 -119
- package/dist-types/models/models_4.d.ts +122 -10
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +17 -37
- package/dist-types/ts3.4/models/models_3.d.ts +39 -28
- package/dist-types/ts3.4/models/models_4.d.ts +31 -2
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -275,6 +275,7 @@ __export(src_exports, {
|
|
|
275
275
|
EdgePresetDeploymentStatus: () => EdgePresetDeploymentStatus,
|
|
276
276
|
EdgePresetDeploymentType: () => EdgePresetDeploymentType,
|
|
277
277
|
EnableSagemakerServicecatalogPortfolioCommand: () => EnableSagemakerServicecatalogPortfolioCommand,
|
|
278
|
+
EnabledOrDisabled: () => EnabledOrDisabled,
|
|
278
279
|
EndpointConfigSortKey: () => EndpointConfigSortKey,
|
|
279
280
|
EndpointSortKey: () => EndpointSortKey,
|
|
280
281
|
EndpointStatus: () => EndpointStatus,
|
|
@@ -2189,6 +2190,10 @@ var TrialComponentPrimaryStatus = {
|
|
|
2189
2190
|
STOPPED: "Stopped",
|
|
2190
2191
|
STOPPING: "Stopping"
|
|
2191
2192
|
};
|
|
2193
|
+
var EnabledOrDisabled = {
|
|
2194
|
+
Disabled: "Disabled",
|
|
2195
|
+
Enabled: "Enabled"
|
|
2196
|
+
};
|
|
2192
2197
|
var CrossAccountFilterOption = {
|
|
2193
2198
|
CROSS_ACCOUNT: "CrossAccount",
|
|
2194
2199
|
SAME_ACCOUNT: "SameAccount"
|
|
@@ -2457,18 +2462,6 @@ var ProcessingJobStatus = {
|
|
|
2457
2462
|
STOPPED: "Stopped",
|
|
2458
2463
|
STOPPING: "Stopping"
|
|
2459
2464
|
};
|
|
2460
|
-
var ProjectStatus = {
|
|
2461
|
-
CREATE_COMPLETED: "CreateCompleted",
|
|
2462
|
-
CREATE_FAILED: "CreateFailed",
|
|
2463
|
-
CREATE_IN_PROGRESS: "CreateInProgress",
|
|
2464
|
-
DELETE_COMPLETED: "DeleteCompleted",
|
|
2465
|
-
DELETE_FAILED: "DeleteFailed",
|
|
2466
|
-
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
2467
|
-
PENDING: "Pending",
|
|
2468
|
-
UPDATE_COMPLETED: "UpdateCompleted",
|
|
2469
|
-
UPDATE_FAILED: "UpdateFailed",
|
|
2470
|
-
UPDATE_IN_PROGRESS: "UpdateInProgress"
|
|
2471
|
-
};
|
|
2472
2465
|
var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2473
2466
|
...obj,
|
|
2474
2467
|
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -13668,6 +13661,12 @@ var de_IamIdentity = /* @__PURE__ */ __name((output, context) => {
|
|
|
13668
13661
|
SourceIdentity: import_smithy_client.expectString
|
|
13669
13662
|
});
|
|
13670
13663
|
}, "de_IamIdentity");
|
|
13664
|
+
var de_IamPolicyConstraints = /* @__PURE__ */ __name((output, context) => {
|
|
13665
|
+
return (0, import_smithy_client.take)(output, {
|
|
13666
|
+
SourceIp: import_smithy_client.expectString,
|
|
13667
|
+
VpcSourceIp: import_smithy_client.expectString
|
|
13668
|
+
});
|
|
13669
|
+
}, "de_IamPolicyConstraints");
|
|
13671
13670
|
var de_IdentityProviderOAuthSetting = /* @__PURE__ */ __name((output, context) => {
|
|
13672
13671
|
return (0, import_smithy_client.take)(output, {
|
|
13673
13672
|
DataSourceName: import_smithy_client.expectString,
|
|
@@ -16513,6 +16512,11 @@ var de_S3ModelDataSource = /* @__PURE__ */ __name((output, context) => {
|
|
|
16513
16512
|
S3Uri: import_smithy_client.expectString
|
|
16514
16513
|
});
|
|
16515
16514
|
}, "de_S3ModelDataSource");
|
|
16515
|
+
var de_S3Presign = /* @__PURE__ */ __name((output, context) => {
|
|
16516
|
+
return (0, import_smithy_client.take)(output, {
|
|
16517
|
+
IamPolicyConstraints: (_) => de_IamPolicyConstraints(_, context)
|
|
16518
|
+
});
|
|
16519
|
+
}, "de_S3Presign");
|
|
16516
16520
|
var de_S3StorageConfig = /* @__PURE__ */ __name((output, context) => {
|
|
16517
16521
|
return (0, import_smithy_client.take)(output, {
|
|
16518
16522
|
KmsKeyId: import_smithy_client.expectString,
|
|
@@ -17695,6 +17699,11 @@ var de_WarmPoolStatus = /* @__PURE__ */ __name((output, context) => {
|
|
|
17695
17699
|
Status: import_smithy_client.expectString
|
|
17696
17700
|
});
|
|
17697
17701
|
}, "de_WarmPoolStatus");
|
|
17702
|
+
var de_WorkerAccessConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
17703
|
+
return (0, import_smithy_client.take)(output, {
|
|
17704
|
+
S3Presign: (_) => de_S3Presign(_, context)
|
|
17705
|
+
});
|
|
17706
|
+
}, "de_WorkerAccessConfiguration");
|
|
17698
17707
|
var de_Workforce = /* @__PURE__ */ __name((output, context) => {
|
|
17699
17708
|
return (0, import_smithy_client.take)(output, {
|
|
17700
17709
|
CognitoConfig: (_) => de_CognitoConfig(_, context),
|
|
@@ -17751,6 +17760,7 @@ var de_Workteam = /* @__PURE__ */ __name((output, context) => {
|
|
|
17751
17760
|
NotificationConfiguration: (_) => de_NotificationConfiguration(_, context),
|
|
17752
17761
|
ProductListingIds: (_) => de_ProductListings(_, context),
|
|
17753
17762
|
SubDomain: import_smithy_client.expectString,
|
|
17763
|
+
WorkerAccessConfiguration: (_) => de_WorkerAccessConfiguration(_, context),
|
|
17754
17764
|
WorkforceArn: import_smithy_client.expectString,
|
|
17755
17765
|
WorkteamArn: import_smithy_client.expectString,
|
|
17756
17766
|
WorkteamName: import_smithy_client.expectString
|
|
@@ -22683,6 +22693,10 @@ var RetryPipelineExecutionCommand = _RetryPipelineExecutionCommand;
|
|
|
22683
22693
|
|
|
22684
22694
|
// src/models/models_4.ts
|
|
22685
22695
|
|
|
22696
|
+
var SortPipelineExecutionsBy = {
|
|
22697
|
+
CREATION_TIME: "CreationTime",
|
|
22698
|
+
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn"
|
|
22699
|
+
};
|
|
22686
22700
|
var StepStatus = {
|
|
22687
22701
|
EXECUTING: "Executing",
|
|
22688
22702
|
FAILED: "Failed",
|
|
@@ -24949,6 +24963,18 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
24949
24963
|
}, "waitUntilTransformJobCompletedOrStopped");
|
|
24950
24964
|
|
|
24951
24965
|
// src/models/models_3.ts
|
|
24966
|
+
var ProjectStatus = {
|
|
24967
|
+
CREATE_COMPLETED: "CreateCompleted",
|
|
24968
|
+
CREATE_FAILED: "CreateFailed",
|
|
24969
|
+
CREATE_IN_PROGRESS: "CreateInProgress",
|
|
24970
|
+
DELETE_COMPLETED: "DeleteCompleted",
|
|
24971
|
+
DELETE_FAILED: "DeleteFailed",
|
|
24972
|
+
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
24973
|
+
PENDING: "Pending",
|
|
24974
|
+
UPDATE_COMPLETED: "UpdateCompleted",
|
|
24975
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
24976
|
+
UPDATE_IN_PROGRESS: "UpdateInProgress"
|
|
24977
|
+
};
|
|
24952
24978
|
var SpaceStatus = {
|
|
24953
24979
|
Delete_Failed: "Delete_Failed",
|
|
24954
24980
|
Deleting: "Deleting",
|
|
@@ -25305,10 +25331,6 @@ var NotebookInstanceSortOrder = {
|
|
|
25305
25331
|
ASCENDING: "Ascending",
|
|
25306
25332
|
DESCENDING: "Descending"
|
|
25307
25333
|
};
|
|
25308
|
-
var SortPipelineExecutionsBy = {
|
|
25309
|
-
CREATION_TIME: "CreationTime",
|
|
25310
|
-
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn"
|
|
25311
|
-
};
|
|
25312
25334
|
// Annotate the CommonJS export names for ESM import in node:
|
|
25313
25335
|
|
|
25314
25336
|
0 && (module.exports = {
|
|
@@ -25890,6 +25912,7 @@ var SortPipelineExecutionsBy = {
|
|
|
25890
25912
|
JoinSource,
|
|
25891
25913
|
TrialComponentParameterValue,
|
|
25892
25914
|
TrialComponentPrimaryStatus,
|
|
25915
|
+
EnabledOrDisabled,
|
|
25893
25916
|
CrossAccountFilterOption,
|
|
25894
25917
|
Statistic,
|
|
25895
25918
|
RuleEvaluationStatus,
|
|
@@ -25928,10 +25951,10 @@ var SortPipelineExecutionsBy = {
|
|
|
25928
25951
|
PipelineStatus,
|
|
25929
25952
|
PipelineExecutionStatus,
|
|
25930
25953
|
ProcessingJobStatus,
|
|
25931
|
-
ProjectStatus,
|
|
25932
25954
|
OidcConfigFilterSensitiveLog,
|
|
25933
25955
|
CreateWorkforceRequestFilterSensitiveLog,
|
|
25934
25956
|
DescribeModelCardResponseFilterSensitiveLog,
|
|
25957
|
+
ProjectStatus,
|
|
25935
25958
|
SpaceStatus,
|
|
25936
25959
|
ProfilingStatus,
|
|
25937
25960
|
SecondaryStatus,
|
|
@@ -20,6 +20,10 @@ export const TrialComponentPrimaryStatus = {
|
|
|
20
20
|
STOPPED: "Stopped",
|
|
21
21
|
STOPPING: "Stopping",
|
|
22
22
|
};
|
|
23
|
+
export const EnabledOrDisabled = {
|
|
24
|
+
Disabled: "Disabled",
|
|
25
|
+
Enabled: "Enabled",
|
|
26
|
+
};
|
|
23
27
|
export const CrossAccountFilterOption = {
|
|
24
28
|
CROSS_ACCOUNT: "CrossAccount",
|
|
25
29
|
SAME_ACCOUNT: "SameAccount",
|
|
@@ -288,18 +292,6 @@ export const ProcessingJobStatus = {
|
|
|
288
292
|
STOPPED: "Stopped",
|
|
289
293
|
STOPPING: "Stopping",
|
|
290
294
|
};
|
|
291
|
-
export const ProjectStatus = {
|
|
292
|
-
CREATE_COMPLETED: "CreateCompleted",
|
|
293
|
-
CREATE_FAILED: "CreateFailed",
|
|
294
|
-
CREATE_IN_PROGRESS: "CreateInProgress",
|
|
295
|
-
DELETE_COMPLETED: "DeleteCompleted",
|
|
296
|
-
DELETE_FAILED: "DeleteFailed",
|
|
297
|
-
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
298
|
-
PENDING: "Pending",
|
|
299
|
-
UPDATE_COMPLETED: "UpdateCompleted",
|
|
300
|
-
UPDATE_FAILED: "UpdateFailed",
|
|
301
|
-
UPDATE_IN_PROGRESS: "UpdateInProgress",
|
|
302
|
-
};
|
|
303
295
|
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
304
296
|
...obj,
|
|
305
297
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export const ProjectStatus = {
|
|
2
|
+
CREATE_COMPLETED: "CreateCompleted",
|
|
3
|
+
CREATE_FAILED: "CreateFailed",
|
|
4
|
+
CREATE_IN_PROGRESS: "CreateInProgress",
|
|
5
|
+
DELETE_COMPLETED: "DeleteCompleted",
|
|
6
|
+
DELETE_FAILED: "DeleteFailed",
|
|
7
|
+
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
8
|
+
PENDING: "Pending",
|
|
9
|
+
UPDATE_COMPLETED: "UpdateCompleted",
|
|
10
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
11
|
+
UPDATE_IN_PROGRESS: "UpdateInProgress",
|
|
12
|
+
};
|
|
1
13
|
export const SpaceStatus = {
|
|
2
14
|
Delete_Failed: "Delete_Failed",
|
|
3
15
|
Deleting: "Deleting",
|
|
@@ -354,7 +366,3 @@ export const NotebookInstanceSortOrder = {
|
|
|
354
366
|
ASCENDING: "Ascending",
|
|
355
367
|
DESCENDING: "Descending",
|
|
356
368
|
};
|
|
357
|
-
export const SortPipelineExecutionsBy = {
|
|
358
|
-
CREATION_TIME: "CreationTime",
|
|
359
|
-
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn",
|
|
360
|
-
};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { OidcConfigFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const SortPipelineExecutionsBy = {
|
|
4
|
+
CREATION_TIME: "CreationTime",
|
|
5
|
+
PIPELINE_EXECUTION_ARN: "PipelineExecutionArn",
|
|
6
|
+
};
|
|
3
7
|
export const StepStatus = {
|
|
4
8
|
EXECUTING: "Executing",
|
|
5
9
|
FAILED: "Failed",
|
|
@@ -11390,6 +11390,12 @@ const de_IamIdentity = (output, context) => {
|
|
|
11390
11390
|
SourceIdentity: __expectString,
|
|
11391
11391
|
});
|
|
11392
11392
|
};
|
|
11393
|
+
const de_IamPolicyConstraints = (output, context) => {
|
|
11394
|
+
return take(output, {
|
|
11395
|
+
SourceIp: __expectString,
|
|
11396
|
+
VpcSourceIp: __expectString,
|
|
11397
|
+
});
|
|
11398
|
+
};
|
|
11393
11399
|
const de_IdentityProviderOAuthSetting = (output, context) => {
|
|
11394
11400
|
return take(output, {
|
|
11395
11401
|
DataSourceName: __expectString,
|
|
@@ -14413,6 +14419,11 @@ const de_S3ModelDataSource = (output, context) => {
|
|
|
14413
14419
|
S3Uri: __expectString,
|
|
14414
14420
|
});
|
|
14415
14421
|
};
|
|
14422
|
+
const de_S3Presign = (output, context) => {
|
|
14423
|
+
return take(output, {
|
|
14424
|
+
IamPolicyConstraints: (_) => de_IamPolicyConstraints(_, context),
|
|
14425
|
+
});
|
|
14426
|
+
};
|
|
14416
14427
|
const de_S3StorageConfig = (output, context) => {
|
|
14417
14428
|
return take(output, {
|
|
14418
14429
|
KmsKeyId: __expectString,
|
|
@@ -15650,6 +15661,11 @@ const de_WarmPoolStatus = (output, context) => {
|
|
|
15650
15661
|
Status: __expectString,
|
|
15651
15662
|
});
|
|
15652
15663
|
};
|
|
15664
|
+
const de_WorkerAccessConfiguration = (output, context) => {
|
|
15665
|
+
return take(output, {
|
|
15666
|
+
S3Presign: (_) => de_S3Presign(_, context),
|
|
15667
|
+
});
|
|
15668
|
+
};
|
|
15653
15669
|
const de_Workforce = (output, context) => {
|
|
15654
15670
|
return take(output, {
|
|
15655
15671
|
CognitoConfig: (_) => de_CognitoConfig(_, context),
|
|
@@ -15712,6 +15728,7 @@ const de_Workteam = (output, context) => {
|
|
|
15712
15728
|
NotificationConfiguration: (_) => de_NotificationConfiguration(_, context),
|
|
15713
15729
|
ProductListingIds: (_) => de_ProductListings(_, context),
|
|
15714
15730
|
SubDomain: __expectString,
|
|
15731
|
+
WorkerAccessConfiguration: (_) => de_WorkerAccessConfiguration(_, context),
|
|
15715
15732
|
WorkforceArn: __expectString,
|
|
15716
15733
|
WorkteamArn: __expectString,
|
|
15717
15734
|
WorkteamName: __expectString,
|
|
@@ -26,7 +26,7 @@ declare const CreateSpaceCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Creates a space used for real time collaboration in a domain.</p>
|
|
29
|
+
* <p>Creates a private space or a space used for real time collaboration in a domain.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -57,6 +57,14 @@ declare const CreateWorkteamCommand_base: {
|
|
|
57
57
|
* NotificationConfiguration: { // NotificationConfiguration
|
|
58
58
|
* NotificationTopicArn: "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
|
+
* WorkerAccessConfiguration: { // WorkerAccessConfiguration
|
|
61
|
+
* S3Presign: { // S3Presign
|
|
62
|
+
* IamPolicyConstraints: { // IamPolicyConstraints
|
|
63
|
+
* SourceIp: "Enabled" || "Disabled",
|
|
64
|
+
* VpcSourceIp: "Enabled" || "Disabled",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
60
68
|
* Tags: [ // TagList
|
|
61
69
|
* { // Tag
|
|
62
70
|
* Key: "STRING_VALUE", // required
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeProjectInput
|
|
3
|
+
import { DescribeProjectInput } from "../models/models_2";
|
|
4
|
+
import { DescribeProjectOutput } from "../models/models_3";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeSpaceRequest } from "../models/
|
|
4
|
-
import { DescribeSpaceResponse } from "../models/models_3";
|
|
3
|
+
import { DescribeSpaceRequest, DescribeSpaceResponse } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -69,6 +69,14 @@ declare const DescribeWorkteamCommand_base: {
|
|
|
69
69
|
* // NotificationConfiguration: { // NotificationConfiguration
|
|
70
70
|
* // NotificationTopicArn: "STRING_VALUE",
|
|
71
71
|
* // },
|
|
72
|
+
* // WorkerAccessConfiguration: { // WorkerAccessConfiguration
|
|
73
|
+
* // S3Presign: { // S3Presign
|
|
74
|
+
* // IamPolicyConstraints: { // IamPolicyConstraints
|
|
75
|
+
* // SourceIp: "Enabled" || "Disabled",
|
|
76
|
+
* // VpcSourceIp: "Enabled" || "Disabled",
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
72
80
|
* // },
|
|
73
81
|
* // };
|
|
74
82
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListPipelineExecutionsRequest, ListPipelineExecutionsResponse } from "../models/
|
|
3
|
+
import { ListPipelineExecutionsRequest, ListPipelineExecutionsResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -74,6 +74,14 @@ declare const ListWorkteamsCommand_base: {
|
|
|
74
74
|
* // NotificationConfiguration: { // NotificationConfiguration
|
|
75
75
|
* // NotificationTopicArn: "STRING_VALUE",
|
|
76
76
|
* // },
|
|
77
|
+
* // WorkerAccessConfiguration: { // WorkerAccessConfiguration
|
|
78
|
+
* // S3Presign: { // S3Presign
|
|
79
|
+
* // IamPolicyConstraints: { // IamPolicyConstraints
|
|
80
|
+
* // SourceIp: "Enabled" || "Disabled",
|
|
81
|
+
* // VpcSourceIp: "Enabled" || "Disabled",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
77
85
|
* // },
|
|
78
86
|
* // ],
|
|
79
87
|
* // NextToken: "STRING_VALUE",
|
|
@@ -53,6 +53,14 @@ declare const UpdateWorkteamCommand_base: {
|
|
|
53
53
|
* NotificationConfiguration: { // NotificationConfiguration
|
|
54
54
|
* NotificationTopicArn: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
|
+
* WorkerAccessConfiguration: { // WorkerAccessConfiguration
|
|
57
|
+
* S3Presign: { // S3Presign
|
|
58
|
+
* IamPolicyConstraints: { // IamPolicyConstraints
|
|
59
|
+
* SourceIp: "Enabled" || "Disabled",
|
|
60
|
+
* VpcSourceIp: "Enabled" || "Disabled",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
56
64
|
* };
|
|
57
65
|
* const command = new UpdateWorkteamCommand(input);
|
|
58
66
|
* const response = await client.send(command);
|
|
@@ -85,6 +93,14 @@ declare const UpdateWorkteamCommand_base: {
|
|
|
85
93
|
* // NotificationConfiguration: { // NotificationConfiguration
|
|
86
94
|
* // NotificationTopicArn: "STRING_VALUE",
|
|
87
95
|
* // },
|
|
96
|
+
* // WorkerAccessConfiguration: { // WorkerAccessConfiguration
|
|
97
|
+
* // S3Presign: { // S3Presign
|
|
98
|
+
* // IamPolicyConstraints: { // IamPolicyConstraints
|
|
99
|
+
* // SourceIp: "Enabled" || "Disabled",
|
|
100
|
+
* // VpcSourceIp: "Enabled" || "Disabled",
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
88
104
|
* // },
|
|
89
105
|
* // };
|
|
90
106
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, Autotune, BatchDataCaptureConfig, BatchStrategy, CaptureStatus, Channel, CheckpointConfig, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterStatus, CodeEditorAppImageConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContextSource, GitConfig, HyperParameterTuningJobObjectiveType, InferenceSpecification, InputConfig, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetadataProperties, ModelApprovalStatus, ModelDeployConfig, ModelPackageStatus, ObjectiveStatus, OutputDataConfig, ProblemType, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
|
|
2
|
-
import { _InstanceType, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DirectInternetAccess, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInfo, ExperimentConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobWarmStartConfig, InferenceComponentComputeResourceRequirements, InferenceComponentStartupParameters, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, InstanceMetadataServiceConfiguration, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig, ModelMetrics, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringScheduleConfig, MonitoringStoppingCondition, MonitoringType, NeoVpcConfig, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ParallelismConfiguration, ProcessingInput, ProcessingInstanceType, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, Processor, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RecommendationJobInputConfig, RecommendationJobStoppingConditions, RecommendationJobType, RetryStrategy, RootAccess,
|
|
2
|
+
import { _InstanceType, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DirectInternetAccess, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInfo, ExperimentConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobWarmStartConfig, InferenceComponentComputeResourceRequirements, InferenceComponentStartupParameters, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, InstanceMetadataServiceConfiguration, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig, ModelMetrics, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringScheduleConfig, MonitoringStoppingCondition, MonitoringType, NeoVpcConfig, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ParallelismConfiguration, ProcessingInput, ProcessingInstanceType, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, Processor, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RecommendationJobInputConfig, RecommendationJobStoppingConditions, RecommendationJobType, RetryStrategy, RootAccess, ShadowModeConfig, SkipModelValidation, SourceAlgorithmSpecification, ThroughputMode, UserSettings, VendorGuidance } from "./models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1172,6 +1172,57 @@ export interface NotificationConfiguration {
|
|
|
1172
1172
|
*/
|
|
1173
1173
|
NotificationTopicArn?: string;
|
|
1174
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @public
|
|
1177
|
+
* @enum
|
|
1178
|
+
*/
|
|
1179
|
+
export declare const EnabledOrDisabled: {
|
|
1180
|
+
readonly Disabled: "Disabled";
|
|
1181
|
+
readonly Enabled: "Enabled";
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
export type EnabledOrDisabled = (typeof EnabledOrDisabled)[keyof typeof EnabledOrDisabled];
|
|
1187
|
+
/**
|
|
1188
|
+
* <p>Use this parameter to specify a supported global condition key that is added to the IAM policy.</p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
export interface IamPolicyConstraints {
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>When <code>SourceIp</code> is <code>Enabled</code> the worker's IP address when a task is rendered in the worker portal is added to the IAM policy as a <code>Condition</code> used to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal.</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
SourceIp?: EnabledOrDisabled;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>When <code>VpcSourceIp</code> is <code>Enabled</code> the worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as a <code>Condition</code> used to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/samurai-vpc-worker-portal.html">Use Amazon VPC mode from a private worker portal</a>.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
VpcSourceIp?: EnabledOrDisabled;
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>This object defines the access restrictions to Amazon S3 resources that are included in custom worker task templates using the Liquid filter, <code>grant_read_access</code>.</p>
|
|
1205
|
+
* <p>To learn more about how custom templates are created, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html">Create custom worker task templates</a>.</p>
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
export interface S3Presign {
|
|
1209
|
+
/**
|
|
1210
|
+
* <p>Use this parameter to specify the allowed request source. Possible sources are either <code>SourceIp</code> or <code>VpcSourceIp</code>.</p>
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
IamPolicyConstraints?: IamPolicyConstraints;
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* <p>Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL.</p>
|
|
1217
|
+
* @public
|
|
1218
|
+
*/
|
|
1219
|
+
export interface WorkerAccessConfiguration {
|
|
1220
|
+
/**
|
|
1221
|
+
* <p>Defines any Amazon S3 resource constraints.</p>
|
|
1222
|
+
* @public
|
|
1223
|
+
*/
|
|
1224
|
+
S3Presign?: S3Presign;
|
|
1225
|
+
}
|
|
1175
1226
|
/**
|
|
1176
1227
|
* @public
|
|
1177
1228
|
*/
|
|
@@ -1217,6 +1268,11 @@ export interface CreateWorkteamRequest {
|
|
|
1217
1268
|
* @public
|
|
1218
1269
|
*/
|
|
1219
1270
|
NotificationConfiguration?: NotificationConfiguration;
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
WorkerAccessConfiguration?: WorkerAccessConfiguration;
|
|
1220
1276
|
/**
|
|
1221
1277
|
* <p>An array of key-value pairs.</p>
|
|
1222
1278
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Resource
|
|
@@ -8538,144 +8594,6 @@ export interface DescribeProjectInput {
|
|
|
8538
8594
|
*/
|
|
8539
8595
|
ProjectName: string | undefined;
|
|
8540
8596
|
}
|
|
8541
|
-
/**
|
|
8542
|
-
* @public
|
|
8543
|
-
* @enum
|
|
8544
|
-
*/
|
|
8545
|
-
export declare const ProjectStatus: {
|
|
8546
|
-
readonly CREATE_COMPLETED: "CreateCompleted";
|
|
8547
|
-
readonly CREATE_FAILED: "CreateFailed";
|
|
8548
|
-
readonly CREATE_IN_PROGRESS: "CreateInProgress";
|
|
8549
|
-
readonly DELETE_COMPLETED: "DeleteCompleted";
|
|
8550
|
-
readonly DELETE_FAILED: "DeleteFailed";
|
|
8551
|
-
readonly DELETE_IN_PROGRESS: "DeleteInProgress";
|
|
8552
|
-
readonly PENDING: "Pending";
|
|
8553
|
-
readonly UPDATE_COMPLETED: "UpdateCompleted";
|
|
8554
|
-
readonly UPDATE_FAILED: "UpdateFailed";
|
|
8555
|
-
readonly UPDATE_IN_PROGRESS: "UpdateInProgress";
|
|
8556
|
-
};
|
|
8557
|
-
/**
|
|
8558
|
-
* @public
|
|
8559
|
-
*/
|
|
8560
|
-
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
8561
|
-
/**
|
|
8562
|
-
* <p>Details of a provisioned service catalog product. For information about service catalog,
|
|
8563
|
-
* see <a href="https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html">What is Amazon Web Services Service
|
|
8564
|
-
* Catalog</a>.</p>
|
|
8565
|
-
* @public
|
|
8566
|
-
*/
|
|
8567
|
-
export interface ServiceCatalogProvisionedProductDetails {
|
|
8568
|
-
/**
|
|
8569
|
-
* <p>The ID of the provisioned product.</p>
|
|
8570
|
-
* @public
|
|
8571
|
-
*/
|
|
8572
|
-
ProvisionedProductId?: string;
|
|
8573
|
-
/**
|
|
8574
|
-
* <p>The current status of the product.</p>
|
|
8575
|
-
* <ul>
|
|
8576
|
-
* <li>
|
|
8577
|
-
* <p>
|
|
8578
|
-
* <code>AVAILABLE</code> - Stable state, ready to perform any operation. The most recent operation succeeded and completed.</p>
|
|
8579
|
-
* </li>
|
|
8580
|
-
* <li>
|
|
8581
|
-
* <p>
|
|
8582
|
-
* <code>UNDER_CHANGE</code> - Transitive state. Operations performed might not have valid results. Wait for an AVAILABLE status before performing operations.</p>
|
|
8583
|
-
* </li>
|
|
8584
|
-
* <li>
|
|
8585
|
-
* <p>
|
|
8586
|
-
* <code>TAINTED</code> - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version.</p>
|
|
8587
|
-
* </li>
|
|
8588
|
-
* <li>
|
|
8589
|
-
* <p>
|
|
8590
|
-
* <code>ERROR</code> - An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack.</p>
|
|
8591
|
-
* </li>
|
|
8592
|
-
* <li>
|
|
8593
|
-
* <p>
|
|
8594
|
-
* <code>PLAN_IN_PROGRESS</code> - Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for an AVAILABLE status before performing operations.</p>
|
|
8595
|
-
* </li>
|
|
8596
|
-
* </ul>
|
|
8597
|
-
* @public
|
|
8598
|
-
*/
|
|
8599
|
-
ProvisionedProductStatusMessage?: string;
|
|
8600
|
-
}
|
|
8601
|
-
/**
|
|
8602
|
-
* @public
|
|
8603
|
-
*/
|
|
8604
|
-
export interface DescribeProjectOutput {
|
|
8605
|
-
/**
|
|
8606
|
-
* <p>The Amazon Resource Name (ARN) of the project.</p>
|
|
8607
|
-
* @public
|
|
8608
|
-
*/
|
|
8609
|
-
ProjectArn: string | undefined;
|
|
8610
|
-
/**
|
|
8611
|
-
* <p>The name of the project.</p>
|
|
8612
|
-
* @public
|
|
8613
|
-
*/
|
|
8614
|
-
ProjectName: string | undefined;
|
|
8615
|
-
/**
|
|
8616
|
-
* <p>The ID of the project.</p>
|
|
8617
|
-
* @public
|
|
8618
|
-
*/
|
|
8619
|
-
ProjectId: string | undefined;
|
|
8620
|
-
/**
|
|
8621
|
-
* <p>The description of the project.</p>
|
|
8622
|
-
* @public
|
|
8623
|
-
*/
|
|
8624
|
-
ProjectDescription?: string;
|
|
8625
|
-
/**
|
|
8626
|
-
* <p>Information used to provision a service catalog product. For information, see <a href="https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html">What is Amazon Web Services Service
|
|
8627
|
-
* Catalog</a>.</p>
|
|
8628
|
-
* @public
|
|
8629
|
-
*/
|
|
8630
|
-
ServiceCatalogProvisioningDetails: ServiceCatalogProvisioningDetails | undefined;
|
|
8631
|
-
/**
|
|
8632
|
-
* <p>Information about a provisioned service catalog product.</p>
|
|
8633
|
-
* @public
|
|
8634
|
-
*/
|
|
8635
|
-
ServiceCatalogProvisionedProductDetails?: ServiceCatalogProvisionedProductDetails;
|
|
8636
|
-
/**
|
|
8637
|
-
* <p>The status of the project.</p>
|
|
8638
|
-
* @public
|
|
8639
|
-
*/
|
|
8640
|
-
ProjectStatus: ProjectStatus | undefined;
|
|
8641
|
-
/**
|
|
8642
|
-
* <p>Information about the user who created or modified an experiment, trial, trial
|
|
8643
|
-
* component, lineage group, project, or model card.</p>
|
|
8644
|
-
* @public
|
|
8645
|
-
*/
|
|
8646
|
-
CreatedBy?: UserContext;
|
|
8647
|
-
/**
|
|
8648
|
-
* <p>The time when the project was created.</p>
|
|
8649
|
-
* @public
|
|
8650
|
-
*/
|
|
8651
|
-
CreationTime: Date | undefined;
|
|
8652
|
-
/**
|
|
8653
|
-
* <p>The timestamp when project was last modified.</p>
|
|
8654
|
-
* @public
|
|
8655
|
-
*/
|
|
8656
|
-
LastModifiedTime?: Date;
|
|
8657
|
-
/**
|
|
8658
|
-
* <p>Information about the user who created or modified an experiment, trial, trial
|
|
8659
|
-
* component, lineage group, project, or model card.</p>
|
|
8660
|
-
* @public
|
|
8661
|
-
*/
|
|
8662
|
-
LastModifiedBy?: UserContext;
|
|
8663
|
-
}
|
|
8664
|
-
/**
|
|
8665
|
-
* @public
|
|
8666
|
-
*/
|
|
8667
|
-
export interface DescribeSpaceRequest {
|
|
8668
|
-
/**
|
|
8669
|
-
* <p>The ID of the associated domain.</p>
|
|
8670
|
-
* @public
|
|
8671
|
-
*/
|
|
8672
|
-
DomainId: string | undefined;
|
|
8673
|
-
/**
|
|
8674
|
-
* <p>The name of the space.</p>
|
|
8675
|
-
* @public
|
|
8676
|
-
*/
|
|
8677
|
-
SpaceName: string | undefined;
|
|
8678
|
-
}
|
|
8679
8597
|
/**
|
|
8680
8598
|
* @internal
|
|
8681
8599
|
*/
|