sagemaker-core 0.1.3__py3-none-any.whl
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.
Potentially problematic release.
This version of sagemaker-core might be problematic. Click here for more details.
- sagemaker_core/__init__.py +0 -0
- sagemaker_core/_version.py +11 -0
- sagemaker_core/code_injection/__init__.py +0 -0
- sagemaker_core/code_injection/base.py +42 -0
- sagemaker_core/code_injection/codec.py +241 -0
- sagemaker_core/code_injection/constants.py +18 -0
- sagemaker_core/code_injection/shape_dag.py +14527 -0
- sagemaker_core/generated/__init__.py +0 -0
- sagemaker_core/generated/config_schema.py +870 -0
- sagemaker_core/generated/exceptions.py +147 -0
- sagemaker_core/generated/intelligent_defaults_helper.py +198 -0
- sagemaker_core/generated/resources.py +26998 -0
- sagemaker_core/generated/shapes.py +11584 -0
- sagemaker_core/generated/utils.py +314 -0
- sagemaker_core/tools/__init__.py +1 -0
- sagemaker_core/tools/codegen.py +56 -0
- sagemaker_core/tools/constants.py +96 -0
- sagemaker_core/tools/data_extractor.py +49 -0
- sagemaker_core/tools/method.py +32 -0
- sagemaker_core/tools/resources_codegen.py +2122 -0
- sagemaker_core/tools/resources_extractor.py +373 -0
- sagemaker_core/tools/shapes_codegen.py +284 -0
- sagemaker_core/tools/shapes_extractor.py +259 -0
- sagemaker_core/tools/templates.py +747 -0
- sagemaker_core/util/__init__.py +0 -0
- sagemaker_core/util/util.py +81 -0
- sagemaker_core-0.1.3.dist-info/LICENSE +201 -0
- sagemaker_core-0.1.3.dist-info/METADATA +28 -0
- sagemaker_core-0.1.3.dist-info/RECORD +31 -0
- sagemaker_core-0.1.3.dist-info/WHEEL +5 -0
- sagemaker_core-0.1.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA = {
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"SchemaVersion": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": ["1.0"],
|
|
8
|
+
"description": "The schema version of the document.",
|
|
9
|
+
},
|
|
10
|
+
"SageMaker": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"PythonSDK": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"Resources": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"Algorithm": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"training_specification": {
|
|
23
|
+
"additional_s3_data_source": {
|
|
24
|
+
"s3_data_type": {"type": "string"},
|
|
25
|
+
"s3_uri": {"type": "string"},
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"validation_specification": {
|
|
29
|
+
"validation_role": {"type": "string"}
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
"AutoMLJob": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"output_data_config": {
|
|
37
|
+
"s3_output_path": {"type": "string"},
|
|
38
|
+
"kms_key_id": {"type": "string"},
|
|
39
|
+
},
|
|
40
|
+
"role_arn": {"type": "string"},
|
|
41
|
+
"auto_ml_job_config": {
|
|
42
|
+
"security_config": {
|
|
43
|
+
"volume_kms_key_id": {"type": "string"},
|
|
44
|
+
"vpc_config": {
|
|
45
|
+
"security_group_ids": {
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {"type": "string"},
|
|
48
|
+
},
|
|
49
|
+
"subnets": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {"type": "string"},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
"candidate_generation_config": {
|
|
56
|
+
"feature_specification_s3_uri": {"type": "string"}
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
"AutoMLJobV2": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"output_data_config": {
|
|
65
|
+
"s3_output_path": {"type": "string"},
|
|
66
|
+
"kms_key_id": {"type": "string"},
|
|
67
|
+
},
|
|
68
|
+
"role_arn": {"type": "string"},
|
|
69
|
+
"auto_ml_problem_type_config": {
|
|
70
|
+
"time_series_forecasting_job_config": {
|
|
71
|
+
"feature_specification_s3_uri": {"type": "string"}
|
|
72
|
+
},
|
|
73
|
+
"tabular_job_config": {
|
|
74
|
+
"feature_specification_s3_uri": {"type": "string"}
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
"security_config": {
|
|
78
|
+
"volume_kms_key_id": {"type": "string"},
|
|
79
|
+
"vpc_config": {
|
|
80
|
+
"security_group_ids": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"items": {"type": "string"},
|
|
83
|
+
},
|
|
84
|
+
"subnets": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"items": {"type": "string"},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
"Cluster": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"vpc_config": {
|
|
96
|
+
"security_group_ids": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {"type": "string"},
|
|
99
|
+
},
|
|
100
|
+
"subnets": {
|
|
101
|
+
"type": "array",
|
|
102
|
+
"items": {"type": "string"},
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
"CompilationJob": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"model_artifacts": {
|
|
111
|
+
"s3_model_artifacts": {"type": "string"}
|
|
112
|
+
},
|
|
113
|
+
"role_arn": {"type": "string"},
|
|
114
|
+
"input_config": {"s3_uri": {"type": "string"}},
|
|
115
|
+
"output_config": {
|
|
116
|
+
"s3_output_location": {"type": "string"},
|
|
117
|
+
"kms_key_id": {"type": "string"},
|
|
118
|
+
},
|
|
119
|
+
"vpc_config": {
|
|
120
|
+
"security_group_ids": {
|
|
121
|
+
"type": "array",
|
|
122
|
+
"items": {"type": "string"},
|
|
123
|
+
},
|
|
124
|
+
"subnets": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {"type": "string"},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
"DataQualityJobDefinition": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"data_quality_job_input": {
|
|
135
|
+
"endpoint_input": {
|
|
136
|
+
"s3_input_mode": {"type": "string"},
|
|
137
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
138
|
+
},
|
|
139
|
+
"batch_transform_input": {
|
|
140
|
+
"data_captured_destination_s3_uri": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"s3_input_mode": {"type": "string"},
|
|
144
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
"data_quality_job_output_config": {
|
|
148
|
+
"kms_key_id": {"type": "string"}
|
|
149
|
+
},
|
|
150
|
+
"job_resources": {
|
|
151
|
+
"cluster_config": {
|
|
152
|
+
"volume_kms_key_id": {"type": "string"}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"role_arn": {"type": "string"},
|
|
156
|
+
"data_quality_baseline_config": {
|
|
157
|
+
"constraints_resource": {"s3_uri": {"type": "string"}},
|
|
158
|
+
"statistics_resource": {"s3_uri": {"type": "string"}},
|
|
159
|
+
},
|
|
160
|
+
"network_config": {
|
|
161
|
+
"vpc_config": {
|
|
162
|
+
"security_group_ids": {
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": {"type": "string"},
|
|
165
|
+
},
|
|
166
|
+
"subnets": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {"type": "string"},
|
|
169
|
+
},
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
"DeviceFleet": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"output_config": {
|
|
178
|
+
"s3_output_location": {"type": "string"},
|
|
179
|
+
"kms_key_id": {"type": "string"},
|
|
180
|
+
},
|
|
181
|
+
"role_arn": {"type": "string"},
|
|
182
|
+
"iot_role_alias": {"type": "string"},
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
"Domain": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"security_group_id_for_domain_boundary": {"type": "string"},
|
|
189
|
+
"default_user_settings": {
|
|
190
|
+
"execution_role": {"type": "string"},
|
|
191
|
+
"security_groups": {
|
|
192
|
+
"type": "array",
|
|
193
|
+
"items": {"type": "string"},
|
|
194
|
+
},
|
|
195
|
+
"sharing_settings": {
|
|
196
|
+
"s3_output_path": {"type": "string"},
|
|
197
|
+
"s3_kms_key_id": {"type": "string"},
|
|
198
|
+
},
|
|
199
|
+
"canvas_app_settings": {
|
|
200
|
+
"time_series_forecasting_settings": {
|
|
201
|
+
"amazon_forecast_role_arn": {"type": "string"}
|
|
202
|
+
},
|
|
203
|
+
"model_register_settings": {
|
|
204
|
+
"cross_account_model_register_role_arn": {
|
|
205
|
+
"type": "string"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"workspace_settings": {
|
|
209
|
+
"s3_artifact_path": {"type": "string"},
|
|
210
|
+
"s3_kms_key_id": {"type": "string"},
|
|
211
|
+
},
|
|
212
|
+
"generative_ai_settings": {
|
|
213
|
+
"amazon_bedrock_role_arn": {"type": "string"}
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
"domain_settings": {
|
|
218
|
+
"security_group_ids": {
|
|
219
|
+
"type": "array",
|
|
220
|
+
"items": {"type": "string"},
|
|
221
|
+
},
|
|
222
|
+
"r_studio_server_pro_domain_settings": {
|
|
223
|
+
"domain_execution_role_arn": {"type": "string"}
|
|
224
|
+
},
|
|
225
|
+
"execution_role_identity_config": {"type": "string"},
|
|
226
|
+
},
|
|
227
|
+
"home_efs_file_system_kms_key_id": {"type": "string"},
|
|
228
|
+
"subnet_ids": {
|
|
229
|
+
"type": "array",
|
|
230
|
+
"items": {"type": "string"},
|
|
231
|
+
},
|
|
232
|
+
"kms_key_id": {"type": "string"},
|
|
233
|
+
"app_security_group_management": {"type": "string"},
|
|
234
|
+
"default_space_settings": {
|
|
235
|
+
"execution_role": {"type": "string"},
|
|
236
|
+
"security_groups": {
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {"type": "string"},
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
"EdgePackagingJob": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"role_arn": {"type": "string"},
|
|
247
|
+
"output_config": {
|
|
248
|
+
"s3_output_location": {"type": "string"},
|
|
249
|
+
"kms_key_id": {"type": "string"},
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
"Endpoint": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"properties": {
|
|
256
|
+
"data_capture_config": {
|
|
257
|
+
"destination_s3_uri": {"type": "string"},
|
|
258
|
+
"kms_key_id": {"type": "string"},
|
|
259
|
+
},
|
|
260
|
+
"async_inference_config": {
|
|
261
|
+
"output_config": {
|
|
262
|
+
"kms_key_id": {"type": "string"},
|
|
263
|
+
"s3_output_path": {"type": "string"},
|
|
264
|
+
"s3_failure_path": {"type": "string"},
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
"EndpointConfig": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"data_capture_config": {
|
|
273
|
+
"destination_s3_uri": {"type": "string"},
|
|
274
|
+
"kms_key_id": {"type": "string"},
|
|
275
|
+
},
|
|
276
|
+
"kms_key_id": {"type": "string"},
|
|
277
|
+
"async_inference_config": {
|
|
278
|
+
"output_config": {
|
|
279
|
+
"kms_key_id": {"type": "string"},
|
|
280
|
+
"s3_output_path": {"type": "string"},
|
|
281
|
+
"s3_failure_path": {"type": "string"},
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"execution_role_arn": {"type": "string"},
|
|
285
|
+
"vpc_config": {
|
|
286
|
+
"security_group_ids": {
|
|
287
|
+
"type": "array",
|
|
288
|
+
"items": {"type": "string"},
|
|
289
|
+
},
|
|
290
|
+
"subnets": {
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": {"type": "string"},
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
"FeatureGroup": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"online_store_config": {
|
|
301
|
+
"security_config": {"kms_key_id": {"type": "string"}}
|
|
302
|
+
},
|
|
303
|
+
"offline_store_config": {
|
|
304
|
+
"s3_storage_config": {
|
|
305
|
+
"s3_uri": {"type": "string"},
|
|
306
|
+
"kms_key_id": {"type": "string"},
|
|
307
|
+
"resolved_output_s3_uri": {"type": "string"},
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"role_arn": {"type": "string"},
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
"FlowDefinition": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"properties": {
|
|
316
|
+
"output_config": {
|
|
317
|
+
"s3_output_path": {"type": "string"},
|
|
318
|
+
"kms_key_id": {"type": "string"},
|
|
319
|
+
},
|
|
320
|
+
"role_arn": {"type": "string"},
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
"Hub": {
|
|
324
|
+
"type": "object",
|
|
325
|
+
"properties": {
|
|
326
|
+
"s3_storage_config": {"s3_output_path": {"type": "string"}}
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
"HyperParameterTuningJob": {
|
|
330
|
+
"type": "object",
|
|
331
|
+
"properties": {
|
|
332
|
+
"training_job_definition": {
|
|
333
|
+
"role_arn": {"type": "string"},
|
|
334
|
+
"output_data_config": {
|
|
335
|
+
"s3_output_path": {"type": "string"},
|
|
336
|
+
"kms_key_id": {"type": "string"},
|
|
337
|
+
},
|
|
338
|
+
"vpc_config": {
|
|
339
|
+
"security_group_ids": {
|
|
340
|
+
"type": "array",
|
|
341
|
+
"items": {"type": "string"},
|
|
342
|
+
},
|
|
343
|
+
"subnets": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": {"type": "string"},
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
"resource_config": {
|
|
349
|
+
"volume_kms_key_id": {"type": "string"}
|
|
350
|
+
},
|
|
351
|
+
"hyper_parameter_tuning_resource_config": {
|
|
352
|
+
"volume_kms_key_id": {"type": "string"}
|
|
353
|
+
},
|
|
354
|
+
"checkpoint_config": {"s3_uri": {"type": "string"}},
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
},
|
|
358
|
+
"Image": {
|
|
359
|
+
"type": "object",
|
|
360
|
+
"properties": {"role_arn": {"type": "string"}},
|
|
361
|
+
},
|
|
362
|
+
"InferenceExperiment": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"role_arn": {"type": "string"},
|
|
366
|
+
"data_storage_config": {"kms_key": {"type": "string"}},
|
|
367
|
+
"kms_key": {"type": "string"},
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
|
+
"InferenceRecommendationsJob": {
|
|
371
|
+
"type": "object",
|
|
372
|
+
"properties": {
|
|
373
|
+
"role_arn": {"type": "string"},
|
|
374
|
+
"input_config": {
|
|
375
|
+
"volume_kms_key_id": {"type": "string"},
|
|
376
|
+
"vpc_config": {
|
|
377
|
+
"security_group_ids": {
|
|
378
|
+
"type": "array",
|
|
379
|
+
"items": {"type": "string"},
|
|
380
|
+
},
|
|
381
|
+
"subnets": {
|
|
382
|
+
"type": "array",
|
|
383
|
+
"items": {"type": "string"},
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
"LabelingJob": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {
|
|
392
|
+
"input_config": {
|
|
393
|
+
"data_source": {
|
|
394
|
+
"s3_data_source": {
|
|
395
|
+
"manifest_s3_uri": {"type": "string"}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"output_config": {
|
|
400
|
+
"s3_output_path": {"type": "string"},
|
|
401
|
+
"kms_key_id": {"type": "string"},
|
|
402
|
+
},
|
|
403
|
+
"role_arn": {"type": "string"},
|
|
404
|
+
"human_task_config": {
|
|
405
|
+
"ui_config": {"ui_template_s3_uri": {"type": "string"}}
|
|
406
|
+
},
|
|
407
|
+
"label_category_config_s3_uri": {"type": "string"},
|
|
408
|
+
"labeling_job_algorithms_config": {
|
|
409
|
+
"labeling_job_resource_config": {
|
|
410
|
+
"volume_kms_key_id": {"type": "string"},
|
|
411
|
+
"vpc_config": {
|
|
412
|
+
"security_group_ids": {
|
|
413
|
+
"type": "array",
|
|
414
|
+
"items": {"type": "string"},
|
|
415
|
+
},
|
|
416
|
+
"subnets": {
|
|
417
|
+
"type": "array",
|
|
418
|
+
"items": {"type": "string"},
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"labeling_job_output": {
|
|
424
|
+
"output_dataset_s3_uri": {"type": "string"}
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
"MlflowTrackingServer": {
|
|
429
|
+
"type": "object",
|
|
430
|
+
"properties": {"role_arn": {"type": "string"}},
|
|
431
|
+
},
|
|
432
|
+
"Model": {
|
|
433
|
+
"type": "object",
|
|
434
|
+
"properties": {
|
|
435
|
+
"primary_container": {
|
|
436
|
+
"model_data_source": {
|
|
437
|
+
"s3_data_source": {
|
|
438
|
+
"s3_uri": {"type": "string"},
|
|
439
|
+
"s3_data_type": {"type": "string"},
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"execution_role_arn": {"type": "string"},
|
|
444
|
+
"vpc_config": {
|
|
445
|
+
"security_group_ids": {
|
|
446
|
+
"type": "array",
|
|
447
|
+
"items": {"type": "string"},
|
|
448
|
+
},
|
|
449
|
+
"subnets": {
|
|
450
|
+
"type": "array",
|
|
451
|
+
"items": {"type": "string"},
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
"ModelBiasJobDefinition": {
|
|
457
|
+
"type": "object",
|
|
458
|
+
"properties": {
|
|
459
|
+
"model_bias_job_input": {
|
|
460
|
+
"ground_truth_s3_input": {"s3_uri": {"type": "string"}},
|
|
461
|
+
"endpoint_input": {
|
|
462
|
+
"s3_input_mode": {"type": "string"},
|
|
463
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
464
|
+
},
|
|
465
|
+
"batch_transform_input": {
|
|
466
|
+
"data_captured_destination_s3_uri": {
|
|
467
|
+
"type": "string"
|
|
468
|
+
},
|
|
469
|
+
"s3_input_mode": {"type": "string"},
|
|
470
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
471
|
+
},
|
|
472
|
+
},
|
|
473
|
+
"model_bias_job_output_config": {
|
|
474
|
+
"kms_key_id": {"type": "string"}
|
|
475
|
+
},
|
|
476
|
+
"job_resources": {
|
|
477
|
+
"cluster_config": {
|
|
478
|
+
"volume_kms_key_id": {"type": "string"}
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"role_arn": {"type": "string"},
|
|
482
|
+
"model_bias_baseline_config": {
|
|
483
|
+
"constraints_resource": {"s3_uri": {"type": "string"}}
|
|
484
|
+
},
|
|
485
|
+
"network_config": {
|
|
486
|
+
"vpc_config": {
|
|
487
|
+
"security_group_ids": {
|
|
488
|
+
"type": "array",
|
|
489
|
+
"items": {"type": "string"},
|
|
490
|
+
},
|
|
491
|
+
"subnets": {
|
|
492
|
+
"type": "array",
|
|
493
|
+
"items": {"type": "string"},
|
|
494
|
+
},
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
"ModelCard": {
|
|
500
|
+
"type": "object",
|
|
501
|
+
"properties": {
|
|
502
|
+
"security_config": {"kms_key_id": {"type": "string"}}
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
"ModelCardExportJob": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"output_config": {"s3_output_path": {"type": "string"}},
|
|
509
|
+
"export_artifacts": {
|
|
510
|
+
"s3_export_artifacts": {"type": "string"}
|
|
511
|
+
},
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
"ModelExplainabilityJobDefinition": {
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"model_explainability_job_input": {
|
|
518
|
+
"endpoint_input": {
|
|
519
|
+
"s3_input_mode": {"type": "string"},
|
|
520
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
521
|
+
},
|
|
522
|
+
"batch_transform_input": {
|
|
523
|
+
"data_captured_destination_s3_uri": {
|
|
524
|
+
"type": "string"
|
|
525
|
+
},
|
|
526
|
+
"s3_input_mode": {"type": "string"},
|
|
527
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
"model_explainability_job_output_config": {
|
|
531
|
+
"kms_key_id": {"type": "string"}
|
|
532
|
+
},
|
|
533
|
+
"job_resources": {
|
|
534
|
+
"cluster_config": {
|
|
535
|
+
"volume_kms_key_id": {"type": "string"}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"role_arn": {"type": "string"},
|
|
539
|
+
"model_explainability_baseline_config": {
|
|
540
|
+
"constraints_resource": {"s3_uri": {"type": "string"}}
|
|
541
|
+
},
|
|
542
|
+
"network_config": {
|
|
543
|
+
"vpc_config": {
|
|
544
|
+
"security_group_ids": {
|
|
545
|
+
"type": "array",
|
|
546
|
+
"items": {"type": "string"},
|
|
547
|
+
},
|
|
548
|
+
"subnets": {
|
|
549
|
+
"type": "array",
|
|
550
|
+
"items": {"type": "string"},
|
|
551
|
+
},
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
"ModelPackage": {
|
|
557
|
+
"type": "object",
|
|
558
|
+
"properties": {
|
|
559
|
+
"validation_specification": {
|
|
560
|
+
"validation_role": {"type": "string"}
|
|
561
|
+
},
|
|
562
|
+
"model_metrics": {
|
|
563
|
+
"model_quality": {
|
|
564
|
+
"statistics": {"s3_uri": {"type": "string"}},
|
|
565
|
+
"constraints": {"s3_uri": {"type": "string"}},
|
|
566
|
+
},
|
|
567
|
+
"model_data_quality": {
|
|
568
|
+
"statistics": {"s3_uri": {"type": "string"}},
|
|
569
|
+
"constraints": {"s3_uri": {"type": "string"}},
|
|
570
|
+
},
|
|
571
|
+
"bias": {
|
|
572
|
+
"report": {"s3_uri": {"type": "string"}},
|
|
573
|
+
"pre_training_report": {
|
|
574
|
+
"s3_uri": {"type": "string"}
|
|
575
|
+
},
|
|
576
|
+
"post_training_report": {
|
|
577
|
+
"s3_uri": {"type": "string"}
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
"explainability": {
|
|
581
|
+
"report": {"s3_uri": {"type": "string"}}
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
"drift_check_baselines": {
|
|
585
|
+
"bias": {
|
|
586
|
+
"config_file": {"s3_uri": {"type": "string"}},
|
|
587
|
+
"pre_training_constraints": {
|
|
588
|
+
"s3_uri": {"type": "string"}
|
|
589
|
+
},
|
|
590
|
+
"post_training_constraints": {
|
|
591
|
+
"s3_uri": {"type": "string"}
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
"explainability": {
|
|
595
|
+
"constraints": {"s3_uri": {"type": "string"}},
|
|
596
|
+
"config_file": {"s3_uri": {"type": "string"}},
|
|
597
|
+
},
|
|
598
|
+
"model_quality": {
|
|
599
|
+
"statistics": {"s3_uri": {"type": "string"}},
|
|
600
|
+
"constraints": {"s3_uri": {"type": "string"}},
|
|
601
|
+
},
|
|
602
|
+
"model_data_quality": {
|
|
603
|
+
"statistics": {"s3_uri": {"type": "string"}},
|
|
604
|
+
"constraints": {"s3_uri": {"type": "string"}},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
"security_config": {"kms_key_id": {"type": "string"}},
|
|
608
|
+
},
|
|
609
|
+
},
|
|
610
|
+
"ModelQualityJobDefinition": {
|
|
611
|
+
"type": "object",
|
|
612
|
+
"properties": {
|
|
613
|
+
"model_quality_job_input": {
|
|
614
|
+
"ground_truth_s3_input": {"s3_uri": {"type": "string"}},
|
|
615
|
+
"endpoint_input": {
|
|
616
|
+
"s3_input_mode": {"type": "string"},
|
|
617
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
618
|
+
},
|
|
619
|
+
"batch_transform_input": {
|
|
620
|
+
"data_captured_destination_s3_uri": {
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
"s3_input_mode": {"type": "string"},
|
|
624
|
+
"s3_data_distribution_type": {"type": "string"},
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
"model_quality_job_output_config": {
|
|
628
|
+
"kms_key_id": {"type": "string"}
|
|
629
|
+
},
|
|
630
|
+
"job_resources": {
|
|
631
|
+
"cluster_config": {
|
|
632
|
+
"volume_kms_key_id": {"type": "string"}
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"role_arn": {"type": "string"},
|
|
636
|
+
"model_quality_baseline_config": {
|
|
637
|
+
"constraints_resource": {"s3_uri": {"type": "string"}}
|
|
638
|
+
},
|
|
639
|
+
"network_config": {
|
|
640
|
+
"vpc_config": {
|
|
641
|
+
"security_group_ids": {
|
|
642
|
+
"type": "array",
|
|
643
|
+
"items": {"type": "string"},
|
|
644
|
+
},
|
|
645
|
+
"subnets": {
|
|
646
|
+
"type": "array",
|
|
647
|
+
"items": {"type": "string"},
|
|
648
|
+
},
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
},
|
|
652
|
+
},
|
|
653
|
+
"MonitoringSchedule": {
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"monitoring_schedule_config": {
|
|
657
|
+
"monitoring_job_definition": {
|
|
658
|
+
"monitoring_output_config": {
|
|
659
|
+
"kms_key_id": {"type": "string"}
|
|
660
|
+
},
|
|
661
|
+
"monitoring_resources": {
|
|
662
|
+
"cluster_config": {
|
|
663
|
+
"volume_kms_key_id": {"type": "string"}
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"role_arn": {"type": "string"},
|
|
667
|
+
"baseline_config": {
|
|
668
|
+
"constraints_resource": {
|
|
669
|
+
"s3_uri": {"type": "string"}
|
|
670
|
+
},
|
|
671
|
+
"statistics_resource": {
|
|
672
|
+
"s3_uri": {"type": "string"}
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
"network_config": {
|
|
676
|
+
"vpc_config": {
|
|
677
|
+
"security_group_ids": {
|
|
678
|
+
"type": "array",
|
|
679
|
+
"items": {"type": "string"},
|
|
680
|
+
},
|
|
681
|
+
"subnets": {
|
|
682
|
+
"type": "array",
|
|
683
|
+
"items": {"type": "string"},
|
|
684
|
+
},
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
},
|
|
691
|
+
"NotebookInstance": {
|
|
692
|
+
"type": "object",
|
|
693
|
+
"properties": {
|
|
694
|
+
"subnet_id": {"type": "string"},
|
|
695
|
+
"security_groups": {
|
|
696
|
+
"type": "array",
|
|
697
|
+
"items": {"type": "string"},
|
|
698
|
+
},
|
|
699
|
+
"role_arn": {"type": "string"},
|
|
700
|
+
"kms_key_id": {"type": "string"},
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
"OptimizationJob": {
|
|
704
|
+
"type": "object",
|
|
705
|
+
"properties": {
|
|
706
|
+
"model_source": {"s3": {"s3_uri": {"type": "string"}}},
|
|
707
|
+
"output_config": {
|
|
708
|
+
"s3_output_location": {"type": "string"},
|
|
709
|
+
"kms_key_id": {"type": "string"},
|
|
710
|
+
},
|
|
711
|
+
"role_arn": {"type": "string"},
|
|
712
|
+
"vpc_config": {
|
|
713
|
+
"security_group_ids": {
|
|
714
|
+
"type": "array",
|
|
715
|
+
"items": {"type": "string"},
|
|
716
|
+
},
|
|
717
|
+
"subnets": {
|
|
718
|
+
"type": "array",
|
|
719
|
+
"items": {"type": "string"},
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
},
|
|
723
|
+
},
|
|
724
|
+
"Pipeline": {
|
|
725
|
+
"type": "object",
|
|
726
|
+
"properties": {"role_arn": {"type": "string"}},
|
|
727
|
+
},
|
|
728
|
+
"ProcessingJob": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"properties": {
|
|
731
|
+
"processing_resources": {
|
|
732
|
+
"cluster_config": {
|
|
733
|
+
"volume_kms_key_id": {"type": "string"}
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"processing_output_config": {
|
|
737
|
+
"kms_key_id": {"type": "string"}
|
|
738
|
+
},
|
|
739
|
+
"network_config": {
|
|
740
|
+
"vpc_config": {
|
|
741
|
+
"security_group_ids": {
|
|
742
|
+
"type": "array",
|
|
743
|
+
"items": {"type": "string"},
|
|
744
|
+
},
|
|
745
|
+
"subnets": {
|
|
746
|
+
"type": "array",
|
|
747
|
+
"items": {"type": "string"},
|
|
748
|
+
},
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"role_arn": {"type": "string"},
|
|
752
|
+
},
|
|
753
|
+
},
|
|
754
|
+
"TrainingJob": {
|
|
755
|
+
"type": "object",
|
|
756
|
+
"properties": {
|
|
757
|
+
"model_artifacts": {
|
|
758
|
+
"s3_model_artifacts": {"type": "string"}
|
|
759
|
+
},
|
|
760
|
+
"resource_config": {
|
|
761
|
+
"volume_kms_key_id": {"type": "string"}
|
|
762
|
+
},
|
|
763
|
+
"role_arn": {"type": "string"},
|
|
764
|
+
"output_data_config": {
|
|
765
|
+
"s3_output_path": {"type": "string"},
|
|
766
|
+
"kms_key_id": {"type": "string"},
|
|
767
|
+
},
|
|
768
|
+
"vpc_config": {
|
|
769
|
+
"security_group_ids": {
|
|
770
|
+
"type": "array",
|
|
771
|
+
"items": {"type": "string"},
|
|
772
|
+
},
|
|
773
|
+
"subnets": {
|
|
774
|
+
"type": "array",
|
|
775
|
+
"items": {"type": "string"},
|
|
776
|
+
},
|
|
777
|
+
},
|
|
778
|
+
"checkpoint_config": {"s3_uri": {"type": "string"}},
|
|
779
|
+
"debug_hook_config": {"s3_output_path": {"type": "string"}},
|
|
780
|
+
"tensor_board_output_config": {
|
|
781
|
+
"s3_output_path": {"type": "string"}
|
|
782
|
+
},
|
|
783
|
+
"profiler_config": {"s3_output_path": {"type": "string"}},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
"TransformJob": {
|
|
787
|
+
"type": "object",
|
|
788
|
+
"properties": {
|
|
789
|
+
"transform_input": {
|
|
790
|
+
"data_source": {
|
|
791
|
+
"s3_data_source": {
|
|
792
|
+
"s3_data_type": {"type": "string"},
|
|
793
|
+
"s3_uri": {"type": "string"},
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"transform_resources": {
|
|
798
|
+
"volume_kms_key_id": {"type": "string"}
|
|
799
|
+
},
|
|
800
|
+
"transform_output": {
|
|
801
|
+
"s3_output_path": {"type": "string"},
|
|
802
|
+
"kms_key_id": {"type": "string"},
|
|
803
|
+
},
|
|
804
|
+
"data_capture_config": {
|
|
805
|
+
"destination_s3_uri": {"type": "string"},
|
|
806
|
+
"kms_key_id": {"type": "string"},
|
|
807
|
+
},
|
|
808
|
+
},
|
|
809
|
+
},
|
|
810
|
+
"UserProfile": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"properties": {
|
|
813
|
+
"user_settings": {
|
|
814
|
+
"execution_role": {"type": "string"},
|
|
815
|
+
"security_groups": {
|
|
816
|
+
"type": "array",
|
|
817
|
+
"items": {"type": "string"},
|
|
818
|
+
},
|
|
819
|
+
"sharing_settings": {
|
|
820
|
+
"s3_output_path": {"type": "string"},
|
|
821
|
+
"s3_kms_key_id": {"type": "string"},
|
|
822
|
+
},
|
|
823
|
+
"canvas_app_settings": {
|
|
824
|
+
"time_series_forecasting_settings": {
|
|
825
|
+
"amazon_forecast_role_arn": {"type": "string"}
|
|
826
|
+
},
|
|
827
|
+
"model_register_settings": {
|
|
828
|
+
"cross_account_model_register_role_arn": {
|
|
829
|
+
"type": "string"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
"workspace_settings": {
|
|
833
|
+
"s3_artifact_path": {"type": "string"},
|
|
834
|
+
"s3_kms_key_id": {"type": "string"},
|
|
835
|
+
},
|
|
836
|
+
"generative_ai_settings": {
|
|
837
|
+
"amazon_bedrock_role_arn": {"type": "string"}
|
|
838
|
+
},
|
|
839
|
+
},
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
},
|
|
843
|
+
"Workforce": {
|
|
844
|
+
"type": "object",
|
|
845
|
+
"properties": {
|
|
846
|
+
"workforce": {
|
|
847
|
+
"workforce_vpc_config": {
|
|
848
|
+
"security_group_ids": {
|
|
849
|
+
"type": "array",
|
|
850
|
+
"items": {"type": "string"},
|
|
851
|
+
},
|
|
852
|
+
"subnets": {
|
|
853
|
+
"type": "array",
|
|
854
|
+
"items": {"type": "string"},
|
|
855
|
+
},
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"required": ["Resources"],
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"required": ["PythonSDK"],
|
|
867
|
+
},
|
|
868
|
+
},
|
|
869
|
+
"required": ["SageMaker"],
|
|
870
|
+
}
|