@aws-sdk/client-sagemaker 3.841.0 → 3.843.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.
Files changed (64) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +135 -28
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/CreateHubContentPresignedUrlsCommand.js +22 -0
  5. package/dist-es/commands/CreateModelPackageCommand.js +1 -1
  6. package/dist-es/commands/StartSessionCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +0 -4
  9. package/dist-es/models/models_1.js +9 -4
  10. package/dist-es/models/models_2.js +5 -17
  11. package/dist-es/models/models_3.js +12 -0
  12. package/dist-es/pagination/CreateHubContentPresignedUrlsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +67 -0
  15. package/dist-types/SageMaker.d.ts +14 -0
  16. package/dist-types/SageMakerClient.d.ts +4 -2
  17. package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
  18. package/dist-types/commands/CreateHubContentPresignedUrlsCommand.d.ts +87 -0
  19. package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -2
  21. package/dist-types/commands/CreateSpaceCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeSpaceCommand.d.ts +1 -0
  24. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListSpacesCommand.d.ts +1 -0
  27. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -1
  28. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  29. package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  30. package/dist-types/commands/StartSessionCommand.d.ts +80 -0
  31. package/dist-types/commands/UpdateSpaceCommand.d.ts +1 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/models_0.d.ts +16 -12
  34. package/dist-types/models/models_1.d.ts +99 -189
  35. package/dist-types/models/models_2.d.ts +191 -72
  36. package/dist-types/models/models_3.d.ts +62 -148
  37. package/dist-types/models/models_4.d.ts +154 -59
  38. package/dist-types/models/models_5.d.ts +88 -3
  39. package/dist-types/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +7 -0
  40. package/dist-types/pagination/index.d.ts +1 -0
  41. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  42. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  43. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  44. package/dist-types/ts3.4/commands/CreateHubContentPresignedUrlsCommand.d.ts +51 -0
  45. package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +4 -2
  48. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +4 -6
  56. package/dist-types/ts3.4/models/models_1.d.ts +33 -52
  57. package/dist-types/ts3.4/models/models_2.d.ts +58 -31
  58. package/dist-types/ts3.4/models/models_3.d.ts +26 -42
  59. package/dist-types/ts3.4/models/models_4.d.ts +44 -19
  60. package/dist-types/ts3.4/models/models_5.d.ts +25 -1
  61. package/dist-types/ts3.4/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  64. package/package.json +1 -1
@@ -13,11 +13,6 @@ import {
13
13
  AppSpecification,
14
14
  ArtifactSummary,
15
15
  AssociationEdgeType,
16
- AssociationSummary,
17
- AutoMLJobStatus,
18
- AutoMLJobSummary,
19
- AutoMLSortBy,
20
- AutoMLSortOrder,
21
16
  AutoRollbackConfig,
22
17
  Autotune,
23
18
  BatchDataCaptureConfig,
@@ -54,6 +49,7 @@ import {
54
49
  FeatureDefinition,
55
50
  FeatureType,
56
51
  FlowDefinitionOutputConfig,
52
+ HubContentType,
57
53
  HubS3StorageConfig,
58
54
  HumanLoopActivationConfig,
59
55
  HumanLoopConfig,
@@ -90,7 +86,6 @@ import {
90
86
  ModelMetrics,
91
87
  ModelPackageModelCard,
92
88
  ModelPackageSecurityConfig,
93
- ModelPackageValidationSpecification,
94
89
  MonitoringNetworkConfig,
95
90
  MonitoringOutputConfig,
96
91
  MonitoringResources,
@@ -128,14 +123,12 @@ import {
128
123
  EndpointStatus,
129
124
  ExperimentConfig,
130
125
  ExperimentSource,
131
- FeatureGroupStatus,
132
- HubContentType,
133
126
  InfraCheckConfig,
134
127
  InstanceMetadataServiceConfiguration,
135
- LastUpdateStatus,
136
128
  MemberDefinition,
137
129
  ModelArtifacts,
138
130
  ModelClientConfig,
131
+ ModelPackageValidationSpecification,
139
132
  ModelQualityAppSpecification,
140
133
  ModelQualityBaselineConfig,
141
134
  ModelQualityJobInput,
@@ -177,6 +170,30 @@ import {
177
170
  TrialComponentStatus,
178
171
  WorkerAccessConfiguration,
179
172
  } from "./models_2";
173
+ export interface DescribeFeatureGroupRequest {
174
+ FeatureGroupName: string | undefined;
175
+ NextToken?: string | undefined;
176
+ }
177
+ export declare const FeatureGroupStatus: {
178
+ readonly CREATED: "Created";
179
+ readonly CREATE_FAILED: "CreateFailed";
180
+ readonly CREATING: "Creating";
181
+ readonly DELETE_FAILED: "DeleteFailed";
182
+ readonly DELETING: "Deleting";
183
+ };
184
+ export type FeatureGroupStatus =
185
+ (typeof FeatureGroupStatus)[keyof typeof FeatureGroupStatus];
186
+ export declare const LastUpdateStatusValue: {
187
+ readonly FAILED: "Failed";
188
+ readonly IN_PROGRESS: "InProgress";
189
+ readonly SUCCESSFUL: "Successful";
190
+ };
191
+ export type LastUpdateStatusValue =
192
+ (typeof LastUpdateStatusValue)[keyof typeof LastUpdateStatusValue];
193
+ export interface LastUpdateStatus {
194
+ Status: LastUpdateStatusValue | undefined;
195
+ FailureReason?: string | undefined;
196
+ }
180
197
  export declare const OfflineStoreStatusValue: {
181
198
  readonly ACTIVE: "Active";
182
199
  readonly BLOCKED: "Blocked";
@@ -2531,39 +2548,6 @@ export declare const SortAssociationsBy: {
2531
2548
  };
2532
2549
  export type SortAssociationsBy =
2533
2550
  (typeof SortAssociationsBy)[keyof typeof SortAssociationsBy];
2534
- export interface ListAssociationsRequest {
2535
- SourceArn?: string | undefined;
2536
- DestinationArn?: string | undefined;
2537
- SourceType?: string | undefined;
2538
- DestinationType?: string | undefined;
2539
- AssociationType?: AssociationEdgeType | undefined;
2540
- CreatedAfter?: Date | undefined;
2541
- CreatedBefore?: Date | undefined;
2542
- SortBy?: SortAssociationsBy | undefined;
2543
- SortOrder?: SortOrder | undefined;
2544
- NextToken?: string | undefined;
2545
- MaxResults?: number | undefined;
2546
- }
2547
- export interface ListAssociationsResponse {
2548
- AssociationSummaries?: AssociationSummary[] | undefined;
2549
- NextToken?: string | undefined;
2550
- }
2551
- export interface ListAutoMLJobsRequest {
2552
- CreationTimeAfter?: Date | undefined;
2553
- CreationTimeBefore?: Date | undefined;
2554
- LastModifiedTimeAfter?: Date | undefined;
2555
- LastModifiedTimeBefore?: Date | undefined;
2556
- NameContains?: string | undefined;
2557
- StatusEquals?: AutoMLJobStatus | undefined;
2558
- SortOrder?: AutoMLSortOrder | undefined;
2559
- SortBy?: AutoMLSortBy | undefined;
2560
- MaxResults?: number | undefined;
2561
- NextToken?: string | undefined;
2562
- }
2563
- export interface ListAutoMLJobsResponse {
2564
- AutoMLJobSummaries: AutoMLJobSummary[] | undefined;
2565
- NextToken?: string | undefined;
2566
- }
2567
2551
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2568
2552
  obj: DescribeModelCardResponse
2569
2553
  ) => any;
@@ -3,8 +3,13 @@ import {
3
3
  AlgorithmSpecification,
4
4
  AppSpecification,
5
5
  AppType,
6
+ AssociationEdgeType,
7
+ AssociationSummary,
6
8
  AutoMLCandidate,
9
+ AutoMLJobStatus,
7
10
  AutoMLJobStepMetadata,
11
+ AutoMLJobSummary,
12
+ AutoMLSortBy,
8
13
  AutoMLSortOrder,
9
14
  BatchDataCaptureConfig,
10
15
  BatchStrategy,
@@ -26,11 +31,11 @@ import {
26
31
  CompilationJobStatus,
27
32
  CompilationJobSummary,
28
33
  ComputeQuotaSummary,
34
+ FeatureStatus,
29
35
  InferenceSpecification,
30
36
  ModelApprovalStatus,
31
37
  ModelPackageStatus,
32
38
  OutputDataConfig,
33
- OutputParameter,
34
39
  ResourceConfig,
35
40
  SchedulerResourceStatus,
36
41
  StoppingCondition,
@@ -47,6 +52,7 @@ import {
47
52
  ContainerDefinition,
48
53
  ContextSummary,
49
54
  DriftCheckBaselines,
55
+ HubContentType,
50
56
  InferenceExecutionConfig,
51
57
  InferenceExperimentType,
52
58
  MetadataProperties,
@@ -56,7 +62,6 @@ import {
56
62
  ModelMetrics,
57
63
  ModelPackageModelCard,
58
64
  ModelPackageSecurityConfig,
59
- ModelPackageValidationSpecification,
60
65
  RetryStrategy,
61
66
  SkipModelValidation,
62
67
  SourceAlgorithmSpecification,
@@ -73,10 +78,9 @@ import {
73
78
  EdgePackagingJobStatus,
74
79
  EndpointStatus,
75
80
  ExperimentConfig,
76
- FeatureGroupStatus,
77
- HubContentType,
78
81
  ModelArtifacts,
79
82
  ModelClientConfig,
83
+ ModelPackageValidationSpecification,
80
84
  MonitoringScheduleConfig,
81
85
  MonitoringType,
82
86
  NetworkConfig,
@@ -122,6 +126,7 @@ import {
122
126
  FeatureGroup,
123
127
  FeatureGroupSortBy,
124
128
  FeatureGroupSortOrder,
129
+ FeatureGroupStatus,
125
130
  FeatureGroupSummary,
126
131
  FeatureMetadata,
127
132
  Filter,
@@ -180,6 +185,7 @@ import {
180
185
  SecondaryStatusTransition,
181
186
  SelectiveExecutionConfig,
182
187
  ServiceCatalogProvisionedProductDetails,
188
+ SortAssociationsBy,
183
189
  SortOrder,
184
190
  SpaceStatus,
185
191
  SubscribedWorkteam,
@@ -197,6 +203,39 @@ import {
197
203
  Workforce,
198
204
  Workteam,
199
205
  } from "./models_3";
206
+ export interface ListAssociationsRequest {
207
+ SourceArn?: string | undefined;
208
+ DestinationArn?: string | undefined;
209
+ SourceType?: string | undefined;
210
+ DestinationType?: string | undefined;
211
+ AssociationType?: AssociationEdgeType | undefined;
212
+ CreatedAfter?: Date | undefined;
213
+ CreatedBefore?: Date | undefined;
214
+ SortBy?: SortAssociationsBy | undefined;
215
+ SortOrder?: SortOrder | undefined;
216
+ NextToken?: string | undefined;
217
+ MaxResults?: number | undefined;
218
+ }
219
+ export interface ListAssociationsResponse {
220
+ AssociationSummaries?: AssociationSummary[] | undefined;
221
+ NextToken?: string | undefined;
222
+ }
223
+ export interface ListAutoMLJobsRequest {
224
+ CreationTimeAfter?: Date | undefined;
225
+ CreationTimeBefore?: Date | undefined;
226
+ LastModifiedTimeAfter?: Date | undefined;
227
+ LastModifiedTimeBefore?: Date | undefined;
228
+ NameContains?: string | undefined;
229
+ StatusEquals?: AutoMLJobStatus | undefined;
230
+ SortOrder?: AutoMLSortOrder | undefined;
231
+ SortBy?: AutoMLSortBy | undefined;
232
+ MaxResults?: number | undefined;
233
+ NextToken?: string | undefined;
234
+ }
235
+ export interface ListAutoMLJobsResponse {
236
+ AutoMLJobSummaries: AutoMLJobSummary[] | undefined;
237
+ NextToken?: string | undefined;
238
+ }
200
239
  export interface ListCandidatesForAutoMLJobRequest {
201
240
  AutoMLJobName: string | undefined;
202
241
  StatusEquals?: CandidateStatus | undefined;
@@ -1579,6 +1618,7 @@ export interface OwnershipSettingsSummary {
1579
1618
  }
1580
1619
  export interface SpaceSettingsSummary {
1581
1620
  AppType?: AppType | undefined;
1621
+ RemoteAccess?: FeatureStatus | undefined;
1582
1622
  SpaceStorageSettings?: SpaceStorageSettings | undefined;
1583
1623
  }
1584
1624
  export interface SpaceSharingSettingsSummary {
@@ -2379,21 +2419,6 @@ export interface SendPipelineExecutionStepFailureRequest {
2379
2419
  FailureReason?: string | undefined;
2380
2420
  ClientRequestToken?: string | undefined;
2381
2421
  }
2382
- export interface SendPipelineExecutionStepFailureResponse {
2383
- PipelineExecutionArn?: string | undefined;
2384
- }
2385
- export interface SendPipelineExecutionStepSuccessRequest {
2386
- CallbackToken: string | undefined;
2387
- OutputParameters?: OutputParameter[] | undefined;
2388
- ClientRequestToken?: string | undefined;
2389
- }
2390
- export interface SendPipelineExecutionStepSuccessResponse {
2391
- PipelineExecutionArn?: string | undefined;
2392
- }
2393
- export interface StartEdgeDeploymentStageRequest {
2394
- EdgeDeploymentPlanName: string | undefined;
2395
- StageName: string | undefined;
2396
- }
2397
2422
  export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
2398
2423
  export declare const ModelPackageFilterSensitiveLog: (obj: ModelPackage) => any;
2399
2424
  export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
@@ -16,6 +16,7 @@ import {
16
16
  JupyterLabAppImageConfig,
17
17
  KernelGatewayImageConfig,
18
18
  ModelApprovalStatus,
19
+ OutputParameter,
19
20
  Tag,
20
21
  } from "./models_0";
21
22
  import {
@@ -24,6 +25,7 @@ import {
24
25
  DeploymentConfig,
25
26
  EdgeOutputConfig,
26
27
  FeatureDefinition,
28
+ HubContentType,
27
29
  InferenceComponentRuntimeConfig,
28
30
  InferenceComponentSpecification,
29
31
  InferenceExperimentDataStorageConfig,
@@ -44,7 +46,6 @@ import {
44
46
  } from "./models_1";
45
47
  import {
46
48
  CrossAccountFilterOption,
47
- HubContentType,
48
49
  InstanceMetadataServiceConfiguration,
49
50
  MemberDefinition,
50
51
  MonitoringScheduleConfig,
@@ -93,6 +94,21 @@ import {
93
94
  SearchSortOrder,
94
95
  VisibilityConditions,
95
96
  } from "./models_4";
97
+ export interface SendPipelineExecutionStepFailureResponse {
98
+ PipelineExecutionArn?: string | undefined;
99
+ }
100
+ export interface SendPipelineExecutionStepSuccessRequest {
101
+ CallbackToken: string | undefined;
102
+ OutputParameters?: OutputParameter[] | undefined;
103
+ ClientRequestToken?: string | undefined;
104
+ }
105
+ export interface SendPipelineExecutionStepSuccessResponse {
106
+ PipelineExecutionArn?: string | undefined;
107
+ }
108
+ export interface StartEdgeDeploymentStageRequest {
109
+ EdgeDeploymentPlanName: string | undefined;
110
+ StageName: string | undefined;
111
+ }
96
112
  export interface StartInferenceExperimentRequest {
97
113
  Name: string | undefined;
98
114
  }
@@ -123,6 +139,14 @@ export interface StartPipelineExecutionRequest {
123
139
  export interface StartPipelineExecutionResponse {
124
140
  PipelineExecutionArn?: string | undefined;
125
141
  }
142
+ export interface StartSessionRequest {
143
+ ResourceIdentifier: string | undefined;
144
+ }
145
+ export interface StartSessionResponse {
146
+ SessionId?: string | undefined;
147
+ StreamUrl?: string | undefined;
148
+ TokenValue?: string | undefined;
149
+ }
126
150
  export interface StopAutoMLJobRequest {
127
151
  AutoMLJobName: string | undefined;
128
152
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ CreateHubContentPresignedUrlsCommandInput,
4
+ CreateHubContentPresignedUrlsCommandOutput,
5
+ } from "../commands/CreateHubContentPresignedUrlsCommand";
6
+ import { SageMakerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateCreateHubContentPresignedUrls: (
8
+ config: SageMakerPaginationConfiguration,
9
+ input: CreateHubContentPresignedUrlsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<CreateHubContentPresignedUrlsCommandOutput>;
@@ -1,3 +1,4 @@
1
+ export * from "./CreateHubContentPresignedUrlsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListActionsPaginator";
3
4
  export * from "./ListAlgorithmsPaginator";
@@ -123,6 +123,10 @@ import {
123
123
  CreateHubCommandInput,
124
124
  CreateHubCommandOutput,
125
125
  } from "../commands/CreateHubCommand";
126
+ import {
127
+ CreateHubContentPresignedUrlsCommandInput,
128
+ CreateHubContentPresignedUrlsCommandOutput,
129
+ } from "../commands/CreateHubContentPresignedUrlsCommand";
126
130
  import {
127
131
  CreateHubContentReferenceCommandInput,
128
132
  CreateHubContentReferenceCommandOutput,
@@ -1199,6 +1203,10 @@ import {
1199
1203
  StartPipelineExecutionCommandInput,
1200
1204
  StartPipelineExecutionCommandOutput,
1201
1205
  } from "../commands/StartPipelineExecutionCommand";
1206
+ import {
1207
+ StartSessionCommandInput,
1208
+ StartSessionCommandOutput,
1209
+ } from "../commands/StartSessionCommand";
1202
1210
  import {
1203
1211
  StopAutoMLJobCommandInput,
1204
1212
  StopAutoMLJobCommandOutput,
@@ -1555,6 +1563,10 @@ export declare const se_CreateHubCommand: (
1555
1563
  input: CreateHubCommandInput,
1556
1564
  context: __SerdeContext
1557
1565
  ) => Promise<__HttpRequest>;
1566
+ export declare const se_CreateHubContentPresignedUrlsCommand: (
1567
+ input: CreateHubContentPresignedUrlsCommandInput,
1568
+ context: __SerdeContext
1569
+ ) => Promise<__HttpRequest>;
1558
1570
  export declare const se_CreateHubContentReferenceCommand: (
1559
1571
  input: CreateHubContentReferenceCommandInput,
1560
1572
  context: __SerdeContext
@@ -2631,6 +2643,10 @@ export declare const se_StartPipelineExecutionCommand: (
2631
2643
  input: StartPipelineExecutionCommandInput,
2632
2644
  context: __SerdeContext
2633
2645
  ) => Promise<__HttpRequest>;
2646
+ export declare const se_StartSessionCommand: (
2647
+ input: StartSessionCommandInput,
2648
+ context: __SerdeContext
2649
+ ) => Promise<__HttpRequest>;
2634
2650
  export declare const se_StopAutoMLJobCommand: (
2635
2651
  input: StopAutoMLJobCommandInput,
2636
2652
  context: __SerdeContext
@@ -2987,6 +3003,10 @@ export declare const de_CreateHubCommand: (
2987
3003
  output: __HttpResponse,
2988
3004
  context: __SerdeContext
2989
3005
  ) => Promise<CreateHubCommandOutput>;
3006
+ export declare const de_CreateHubContentPresignedUrlsCommand: (
3007
+ output: __HttpResponse,
3008
+ context: __SerdeContext
3009
+ ) => Promise<CreateHubContentPresignedUrlsCommandOutput>;
2990
3010
  export declare const de_CreateHubContentReferenceCommand: (
2991
3011
  output: __HttpResponse,
2992
3012
  context: __SerdeContext
@@ -4063,6 +4083,10 @@ export declare const de_StartPipelineExecutionCommand: (
4063
4083
  output: __HttpResponse,
4064
4084
  context: __SerdeContext
4065
4085
  ) => Promise<StartPipelineExecutionCommandOutput>;
4086
+ export declare const de_StartSessionCommand: (
4087
+ output: __HttpResponse,
4088
+ context: __SerdeContext
4089
+ ) => Promise<StartSessionCommandOutput>;
4066
4090
  export declare const de_StopAutoMLJobCommand: (
4067
4091
  output: __HttpResponse,
4068
4092
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.841.0",
4
+ "version": "3.843.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker",