Skip to content

Commit b43bb89

Browse files
author
awstools
committed
feat(client-sagemaker): This release adds support for Amazon EMR Serverless applications in SageMaker Studio for running data processing jobs.
1 parent d2d3328 commit b43bb89

12 files changed

+254
-52
lines changed

clients/client-sagemaker/src/commands/CreateDomainCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,14 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
222222
* RepositoryUrl: "STRING_VALUE", // required
223223
* },
224224
* ],
225+
* EmrSettings: { // EmrSettings
226+
* AssumableRoleArns: [ // AssumableRoleArns
227+
* "STRING_VALUE",
228+
* ],
229+
* ExecutionRoleArns: [ // ExecutionRoleArns
230+
* "STRING_VALUE",
231+
* ],
232+
* },
225233
* },
226234
* SpaceStorageSettings: { // DefaultSpaceStorageSettings
227235
* DefaultEbsStorageSettings: { // DefaultEbsStorageSettings
@@ -324,6 +332,14 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
324332
* RepositoryUrl: "STRING_VALUE", // required
325333
* },
326334
* ],
335+
* EmrSettings: {
336+
* AssumableRoleArns: [
337+
* "STRING_VALUE",
338+
* ],
339+
* ExecutionRoleArns: [
340+
* "STRING_VALUE",
341+
* ],
342+
* },
327343
* },
328344
* SpaceStorageSettings: {
329345
* DefaultEbsStorageSettings: {

clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons
193193
* RepositoryUrl: "STRING_VALUE", // required
194194
* },
195195
* ],
196+
* EmrSettings: { // EmrSettings
197+
* AssumableRoleArns: [ // AssumableRoleArns
198+
* "STRING_VALUE",
199+
* ],
200+
* ExecutionRoleArns: [ // ExecutionRoleArns
201+
* "STRING_VALUE",
202+
* ],
203+
* },
196204
* },
197205
* SpaceStorageSettings: { // DefaultSpaceStorageSettings
198206
* DefaultEbsStorageSettings: { // DefaultEbsStorageSettings

clients/client-sagemaker/src/commands/DescribeDomainCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
194194
* // RepositoryUrl: "STRING_VALUE", // required
195195
* // },
196196
* // ],
197+
* // EmrSettings: { // EmrSettings
198+
* // AssumableRoleArns: [ // AssumableRoleArns
199+
* // "STRING_VALUE",
200+
* // ],
201+
* // ExecutionRoleArns: [ // ExecutionRoleArns
202+
* // "STRING_VALUE",
203+
* // ],
204+
* // },
197205
* // },
198206
* // SpaceStorageSettings: { // DefaultSpaceStorageSettings
199207
* // DefaultEbsStorageSettings: { // DefaultEbsStorageSettings
@@ -291,6 +299,14 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
291299
* // RepositoryUrl: "STRING_VALUE", // required
292300
* // },
293301
* // ],
302+
* // EmrSettings: {
303+
* // AssumableRoleArns: [
304+
* // "STRING_VALUE",
305+
* // ],
306+
* // ExecutionRoleArns: [
307+
* // "STRING_VALUE",
308+
* // ],
309+
* // },
294310
* // },
295311
* // SpaceStorageSettings: {
296312
* // DefaultEbsStorageSettings: {

clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes
193193
* // RepositoryUrl: "STRING_VALUE", // required
194194
* // },
195195
* // ],
196+
* // EmrSettings: { // EmrSettings
197+
* // AssumableRoleArns: [ // AssumableRoleArns
198+
* // "STRING_VALUE",
199+
* // ],
200+
* // ExecutionRoleArns: [ // ExecutionRoleArns
201+
* // "STRING_VALUE",
202+
* // ],
203+
* // },
196204
* // },
197205
* // SpaceStorageSettings: { // DefaultSpaceStorageSettings
198206
* // DefaultEbsStorageSettings: { // DefaultEbsStorageSettings

clients/client-sagemaker/src/commands/UpdateDomainCommand.ts

+16
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
178178
* RepositoryUrl: "STRING_VALUE", // required
179179
* },
180180
* ],
181+
* EmrSettings: { // EmrSettings
182+
* AssumableRoleArns: [ // AssumableRoleArns
183+
* "STRING_VALUE",
184+
* ],
185+
* ExecutionRoleArns: [ // ExecutionRoleArns
186+
* "STRING_VALUE",
187+
* ],
188+
* },
181189
* },
182190
* SpaceStorageSettings: { // DefaultSpaceStorageSettings
183191
* DefaultEbsStorageSettings: { // DefaultEbsStorageSettings
@@ -267,6 +275,14 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
267275
* RepositoryUrl: "STRING_VALUE", // required
268276
* },
269277
* ],
278+
* EmrSettings: {
279+
* AssumableRoleArns: [
280+
* "STRING_VALUE",
281+
* ],
282+
* ExecutionRoleArns: [
283+
* "STRING_VALUE",
284+
* ],
285+
* },
270286
* },
271287
* SpaceStorageSettings: {
272288
* DefaultEbsStorageSettings: {

clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts

+8
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,14 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons
179179
* RepositoryUrl: "STRING_VALUE", // required
180180
* },
181181
* ],
182+
* EmrSettings: { // EmrSettings
183+
* AssumableRoleArns: [ // AssumableRoleArns
184+
* "STRING_VALUE",
185+
* ],
186+
* ExecutionRoleArns: [ // ExecutionRoleArns
187+
* "STRING_VALUE",
188+
* ],
189+
* },
182190
* },
183191
* SpaceStorageSettings: { // DefaultSpaceStorageSettings
184192
* DefaultEbsStorageSettings: { // DefaultEbsStorageSettings

clients/client-sagemaker/src/models/models_1.ts

+40-14
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,37 @@ export interface CustomPosixUserConfig {
17781778
Gid: number | undefined;
17791779
}
17801780

1781+
/**
1782+
* <p>The configuration parameters that specify the IAM roles assumed by the execution role of
1783+
* SageMaker (assumable roles) and the cluster instances or job execution environments
1784+
* (execution roles or runtime roles) to manage and access resources required for running Amazon EMR
1785+
* clusters or Amazon EMR Serverless applications.</p>
1786+
* @public
1787+
*/
1788+
export interface EmrSettings {
1789+
/**
1790+
* <p>An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of
1791+
* SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR
1792+
* Serverless applications. These roles define the permissions and access policies required
1793+
* when performing Amazon EMR-related operations, such as listing, connecting to, or terminating
1794+
* Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in
1795+
* cross-account access scenarios, where the Amazon EMR resources (clusters or serverless
1796+
* applications) are located in a different Amazon Web Services account than the SageMaker
1797+
* domain.</p>
1798+
* @public
1799+
*/
1800+
AssumableRoleArns?: string[];
1801+
1802+
/**
1803+
* <p>An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances
1804+
* or job execution environments to access other Amazon Web Services services and resources needed during the
1805+
* runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other
1806+
* Amazon Web Services services based on the particular workload requirements.</p>
1807+
* @public
1808+
*/
1809+
ExecutionRoleArns?: string[];
1810+
}
1811+
17811812
/**
17821813
* <p>The settings for the JupyterLab application.</p>
17831814
* @public
@@ -1807,6 +1838,15 @@ export interface JupyterLabAppSettings {
18071838
* @public
18081839
*/
18091840
CodeRepositories?: CodeRepository[];
1841+
1842+
/**
1843+
* <p>The configuration parameters that specify the IAM roles assumed by the execution role of
1844+
* SageMaker (assumable roles) and the cluster instances or job execution environments
1845+
* (execution roles or runtime roles) to manage and access resources required for running Amazon EMR
1846+
* clusters or Amazon EMR Serverless applications.</p>
1847+
* @public
1848+
*/
1849+
EmrSettings?: EmrSettings;
18101850
}
18111851

18121852
/**
@@ -12706,20 +12746,6 @@ export const ProcessingS3CompressionType = {
1270612746
export type ProcessingS3CompressionType =
1270712747
(typeof ProcessingS3CompressionType)[keyof typeof ProcessingS3CompressionType];
1270812748

12709-
/**
12710-
* @public
12711-
* @enum
12712-
*/
12713-
export const ProcessingS3DataType = {
12714-
MANIFEST_FILE: "ManifestFile",
12715-
S3_PREFIX: "S3Prefix",
12716-
} as const;
12717-
12718-
/**
12719-
* @public
12720-
*/
12721-
export type ProcessingS3DataType = (typeof ProcessingS3DataType)[keyof typeof ProcessingS3DataType];
12722-
1272312749
/**
1272412750
* @internal
1272512751
*/

clients/client-sagemaker/src/models/models_2.ts

+14-16
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ import {
133133
OutputConfig,
134134
ProcessingInstanceType,
135135
ProcessingS3CompressionType,
136-
ProcessingS3DataType,
137136
ProcessingS3UploadMode,
138137
Processor,
139138
ProductionVariant,
@@ -152,6 +151,20 @@ import {
152151
VendorGuidance,
153152
} from "./models_1";
154153

154+
/**
155+
* @public
156+
* @enum
157+
*/
158+
export const ProcessingS3DataType = {
159+
MANIFEST_FILE: "ManifestFile",
160+
S3_PREFIX: "S3Prefix",
161+
} as const;
162+
163+
/**
164+
* @public
165+
*/
166+
export type ProcessingS3DataType = (typeof ProcessingS3DataType)[keyof typeof ProcessingS3DataType];
167+
155168
/**
156169
* <p>Configuration for downloading input data from Amazon S3 into the processing container.</p>
157170
* @public
@@ -9458,21 +9471,6 @@ export interface ModelCardExportArtifacts {
94589471
S3ExportArtifacts: string | undefined;
94599472
}
94609473

9461-
/**
9462-
* @public
9463-
* @enum
9464-
*/
9465-
export const ModelCardExportJobStatus = {
9466-
COMPLETED: "Completed",
9467-
FAILED: "Failed",
9468-
IN_PROGRESS: "InProgress",
9469-
} as const;
9470-
9471-
/**
9472-
* @public
9473-
*/
9474-
export type ModelCardExportJobStatus = (typeof ModelCardExportJobStatus)[keyof typeof ModelCardExportJobStatus];
9475-
94769474
/**
94779475
* @internal
94789476
*/

clients/client-sagemaker/src/models/models_3.ts

+15-20
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ import {
147147
MemberDefinition,
148148
ModelArtifacts,
149149
ModelCardExportArtifacts,
150-
ModelCardExportJobStatus,
151150
ModelClientConfig,
152151
ModelConfiguration,
153152
NotificationConfiguration,
@@ -181,6 +180,21 @@ import {
181180
WorkerAccessConfiguration,
182181
} from "./models_2";
183182

183+
/**
184+
* @public
185+
* @enum
186+
*/
187+
export const ModelCardExportJobStatus = {
188+
COMPLETED: "Completed",
189+
FAILED: "Failed",
190+
IN_PROGRESS: "InProgress",
191+
} as const;
192+
193+
/**
194+
* @public
195+
*/
196+
export type ModelCardExportJobStatus = (typeof ModelCardExportJobStatus)[keyof typeof ModelCardExportJobStatus];
197+
184198
/**
185199
* @public
186200
*/
@@ -11574,25 +11588,6 @@ export const ModelMetadataFilterType = {
1157411588
*/
1157511589
export type ModelMetadataFilterType = (typeof ModelMetadataFilterType)[keyof typeof ModelMetadataFilterType];
1157611590

11577-
/**
11578-
* <p>Part of the search expression. You can specify the name and value
11579-
* (domain, task, framework, framework version, task, and model).</p>
11580-
* @public
11581-
*/
11582-
export interface ModelMetadataFilter {
11583-
/**
11584-
* <p>The name of the of the model to filter by.</p>
11585-
* @public
11586-
*/
11587-
Name: ModelMetadataFilterType | undefined;
11588-
11589-
/**
11590-
* <p>The value to filter the model metadata.</p>
11591-
* @public
11592-
*/
11593-
Value: string | undefined;
11594-
}
11595-
1159611591
/**
1159711592
* @internal
1159811593
*/

clients/client-sagemaker/src/models/models_4.ts

+20-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ import {
145145
LambdaStepMetadata,
146146
LineageType,
147147
MetricData,
148-
ModelMetadataFilter,
148+
ModelMetadataFilterType,
149149
ModelPackageGroupStatus,
150150
ModelPackageStatusDetails,
151151
MonitoringExecutionSummary,
@@ -180,6 +180,25 @@ import {
180180
Workteam,
181181
} from "./models_3";
182182

183+
/**
184+
* <p>Part of the search expression. You can specify the name and value
185+
* (domain, task, framework, framework version, task, and model).</p>
186+
* @public
187+
*/
188+
export interface ModelMetadataFilter {
189+
/**
190+
* <p>The name of the of the model to filter by.</p>
191+
* @public
192+
*/
193+
Name: ModelMetadataFilterType | undefined;
194+
195+
/**
196+
* <p>The value to filter the model metadata.</p>
197+
* @public
198+
*/
199+
Value: string | undefined;
200+
}
201+
183202
/**
184203
* <p>One or more filters that searches for the specified resource or resources in
185204
* a search. All resource objects that satisfy the expression's condition are

0 commit comments

Comments
 (0)