mypy-boto3-sagemaker 1.34.135__tar.gz → 1.34.145__tar.gz
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 mypy-boto3-sagemaker might be problematic. Click here for more details.
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/PKG-INFO +8 -4
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/README.md +6 -2
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__init__.py +4 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__init__.pyi +4 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__main__.py +4 -4
- mypy_boto3_sagemaker-1.34.135/mypy_boto3_sagemaker/client.pyi → mypy_boto3_sagemaker-1.34.145/mypy_boto3_sagemaker/client.py +92 -0
- mypy_boto3_sagemaker-1.34.135/mypy_boto3_sagemaker/client.py → mypy_boto3_sagemaker-1.34.145/mypy_boto3_sagemaker/client.pyi +89 -3
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/literals.py +75 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/literals.pyi +75 -0
- mypy_boto3_sagemaker-1.34.135/mypy_boto3_sagemaker/paginator.pyi → mypy_boto3_sagemaker-1.34.145/mypy_boto3_sagemaker/paginator.py +106 -0
- mypy_boto3_sagemaker-1.34.135/mypy_boto3_sagemaker/paginator.py → mypy_boto3_sagemaker-1.34.145/mypy_boto3_sagemaker/paginator.pyi +30 -73
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/type_defs.py +258 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/type_defs.pyi +258 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/version.py +1 -1
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/PKG-INFO +8 -4
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/setup.py +2 -2
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/LICENSE +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/py.typed +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/waiter.py +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/waiter.pyi +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/not-zip-safe +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/requires.txt +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker.egg-info/top_level.txt +0 -0
- {mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-sagemaker
|
|
3
|
-
Version: 1.34.
|
|
4
|
-
Summary: Type annotations for boto3.SageMaker 1.34.
|
|
3
|
+
Version: 1.34.145
|
|
4
|
+
Summary: Type annotations for boto3.SageMaker 1.34.145 service generated with mypy-boto3-builder 7.25.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3.SageMaker 1.34.
|
|
46
|
+
[boto3.SageMaker 1.34.145](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker)
|
|
47
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.25.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -338,6 +338,7 @@ from mypy_boto3_sagemaker.paginator import (
|
|
|
338
338
|
ListMonitoringSchedulesPaginator,
|
|
339
339
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
340
340
|
ListNotebookInstancesPaginator,
|
|
341
|
+
ListOptimizationJobsPaginator,
|
|
341
342
|
ListPipelineExecutionStepsPaginator,
|
|
342
343
|
ListPipelineExecutionsPaginator,
|
|
343
344
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -485,6 +486,9 @@ list_notebook_instance_lifecycle_configs_paginator: (
|
|
|
485
486
|
list_notebook_instances_paginator: ListNotebookInstancesPaginator = client.get_paginator(
|
|
486
487
|
"list_notebook_instances"
|
|
487
488
|
)
|
|
489
|
+
list_optimization_jobs_paginator: ListOptimizationJobsPaginator = client.get_paginator(
|
|
490
|
+
"list_optimization_jobs"
|
|
491
|
+
)
|
|
488
492
|
list_pipeline_execution_steps_paginator: ListPipelineExecutionStepsPaginator = client.get_paginator(
|
|
489
493
|
"list_pipeline_execution_steps"
|
|
490
494
|
)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.SageMaker 1.34.
|
|
13
|
+
[boto3.SageMaker 1.34.145](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 7.
|
|
22
|
+
[mypy-boto3-builder 7.25.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -305,6 +305,7 @@ from mypy_boto3_sagemaker.paginator import (
|
|
|
305
305
|
ListMonitoringSchedulesPaginator,
|
|
306
306
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
307
307
|
ListNotebookInstancesPaginator,
|
|
308
|
+
ListOptimizationJobsPaginator,
|
|
308
309
|
ListPipelineExecutionStepsPaginator,
|
|
309
310
|
ListPipelineExecutionsPaginator,
|
|
310
311
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -452,6 +453,9 @@ list_notebook_instance_lifecycle_configs_paginator: (
|
|
|
452
453
|
list_notebook_instances_paginator: ListNotebookInstancesPaginator = client.get_paginator(
|
|
453
454
|
"list_notebook_instances"
|
|
454
455
|
)
|
|
456
|
+
list_optimization_jobs_paginator: ListOptimizationJobsPaginator = client.get_paginator(
|
|
457
|
+
"list_optimization_jobs"
|
|
458
|
+
)
|
|
455
459
|
list_pipeline_execution_steps_paginator: ListPipelineExecutionStepsPaginator = client.get_paginator(
|
|
456
460
|
"list_pipeline_execution_steps"
|
|
457
461
|
)
|
{mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__init__.py
RENAMED
|
@@ -67,6 +67,7 @@ Usage::
|
|
|
67
67
|
ListMonitoringSchedulesPaginator,
|
|
68
68
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
69
69
|
ListNotebookInstancesPaginator,
|
|
70
|
+
ListOptimizationJobsPaginator,
|
|
70
71
|
ListPipelineExecutionStepsPaginator,
|
|
71
72
|
ListPipelineExecutionsPaginator,
|
|
72
73
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -166,6 +167,7 @@ Usage::
|
|
|
166
167
|
list_monitoring_schedules_paginator: ListMonitoringSchedulesPaginator = client.get_paginator("list_monitoring_schedules")
|
|
167
168
|
list_notebook_instance_lifecycle_configs_paginator: ListNotebookInstanceLifecycleConfigsPaginator = client.get_paginator("list_notebook_instance_lifecycle_configs")
|
|
168
169
|
list_notebook_instances_paginator: ListNotebookInstancesPaginator = client.get_paginator("list_notebook_instances")
|
|
170
|
+
list_optimization_jobs_paginator: ListOptimizationJobsPaginator = client.get_paginator("list_optimization_jobs")
|
|
169
171
|
list_pipeline_execution_steps_paginator: ListPipelineExecutionStepsPaginator = client.get_paginator("list_pipeline_execution_steps")
|
|
170
172
|
list_pipeline_executions_paginator: ListPipelineExecutionsPaginator = client.get_paginator("list_pipeline_executions")
|
|
171
173
|
list_pipeline_parameters_for_execution_paginator: ListPipelineParametersForExecutionPaginator = client.get_paginator("list_pipeline_parameters_for_execution")
|
|
@@ -244,6 +246,7 @@ from .paginator import (
|
|
|
244
246
|
ListMonitoringSchedulesPaginator,
|
|
245
247
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
246
248
|
ListNotebookInstancesPaginator,
|
|
249
|
+
ListOptimizationJobsPaginator,
|
|
247
250
|
ListPipelineExecutionsPaginator,
|
|
248
251
|
ListPipelineExecutionStepsPaginator,
|
|
249
252
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -345,6 +348,7 @@ __all__ = (
|
|
|
345
348
|
"ListMonitoringSchedulesPaginator",
|
|
346
349
|
"ListNotebookInstanceLifecycleConfigsPaginator",
|
|
347
350
|
"ListNotebookInstancesPaginator",
|
|
351
|
+
"ListOptimizationJobsPaginator",
|
|
348
352
|
"ListPipelineExecutionStepsPaginator",
|
|
349
353
|
"ListPipelineExecutionsPaginator",
|
|
350
354
|
"ListPipelineParametersForExecutionPaginator",
|
{mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__init__.pyi
RENAMED
|
@@ -67,6 +67,7 @@ Usage::
|
|
|
67
67
|
ListMonitoringSchedulesPaginator,
|
|
68
68
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
69
69
|
ListNotebookInstancesPaginator,
|
|
70
|
+
ListOptimizationJobsPaginator,
|
|
70
71
|
ListPipelineExecutionStepsPaginator,
|
|
71
72
|
ListPipelineExecutionsPaginator,
|
|
72
73
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -166,6 +167,7 @@ Usage::
|
|
|
166
167
|
list_monitoring_schedules_paginator: ListMonitoringSchedulesPaginator = client.get_paginator("list_monitoring_schedules")
|
|
167
168
|
list_notebook_instance_lifecycle_configs_paginator: ListNotebookInstanceLifecycleConfigsPaginator = client.get_paginator("list_notebook_instance_lifecycle_configs")
|
|
168
169
|
list_notebook_instances_paginator: ListNotebookInstancesPaginator = client.get_paginator("list_notebook_instances")
|
|
170
|
+
list_optimization_jobs_paginator: ListOptimizationJobsPaginator = client.get_paginator("list_optimization_jobs")
|
|
169
171
|
list_pipeline_execution_steps_paginator: ListPipelineExecutionStepsPaginator = client.get_paginator("list_pipeline_execution_steps")
|
|
170
172
|
list_pipeline_executions_paginator: ListPipelineExecutionsPaginator = client.get_paginator("list_pipeline_executions")
|
|
171
173
|
list_pipeline_parameters_for_execution_paginator: ListPipelineParametersForExecutionPaginator = client.get_paginator("list_pipeline_parameters_for_execution")
|
|
@@ -244,6 +246,7 @@ from .paginator import (
|
|
|
244
246
|
ListMonitoringSchedulesPaginator,
|
|
245
247
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
246
248
|
ListNotebookInstancesPaginator,
|
|
249
|
+
ListOptimizationJobsPaginator,
|
|
247
250
|
ListPipelineExecutionsPaginator,
|
|
248
251
|
ListPipelineExecutionStepsPaginator,
|
|
249
252
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -345,6 +348,7 @@ __all__ = (
|
|
|
345
348
|
"ListMonitoringSchedulesPaginator",
|
|
346
349
|
"ListNotebookInstanceLifecycleConfigsPaginator",
|
|
347
350
|
"ListNotebookInstancesPaginator",
|
|
351
|
+
"ListOptimizationJobsPaginator",
|
|
348
352
|
"ListPipelineExecutionStepsPaginator",
|
|
349
353
|
"ListPipelineExecutionsPaginator",
|
|
350
354
|
"ListPipelineParametersForExecutionPaginator",
|
{mypy_boto3_sagemaker-1.34.135 → mypy_boto3_sagemaker-1.34.145}/mypy_boto3_sagemaker/__main__.py
RENAMED
|
@@ -10,9 +10,9 @@ def print_info() -> None:
|
|
|
10
10
|
Print package info to stdout.
|
|
11
11
|
"""
|
|
12
12
|
print(
|
|
13
|
-
"Type annotations for boto3.SageMaker 1.34.
|
|
14
|
-
"Version: 1.34.
|
|
15
|
-
"Builder version: 7.
|
|
13
|
+
"Type annotations for boto3.SageMaker 1.34.145\n"
|
|
14
|
+
"Version: 1.34.145\n"
|
|
15
|
+
"Builder version: 7.25.0\n"
|
|
16
16
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker//\n"
|
|
17
17
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker\n"
|
|
18
18
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -24,7 +24,7 @@ def print_version() -> None:
|
|
|
24
24
|
"""
|
|
25
25
|
Print package version to stdout.
|
|
26
26
|
"""
|
|
27
|
-
print("1.34.
|
|
27
|
+
print("1.34.145")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
|
@@ -70,6 +70,7 @@ from .literals import (
|
|
|
70
70
|
ListEdgeDeploymentPlansSortByType,
|
|
71
71
|
ListEdgePackagingJobsSortByType,
|
|
72
72
|
ListInferenceRecommendationsJobsSortByType,
|
|
73
|
+
ListOptimizationJobsSortByType,
|
|
73
74
|
ListWorkforcesSortByOptionsType,
|
|
74
75
|
ListWorkteamsSortByOptionsType,
|
|
75
76
|
ModelApprovalStatusType,
|
|
@@ -97,6 +98,8 @@ from .literals import (
|
|
|
97
98
|
NotebookInstanceSortOrderType,
|
|
98
99
|
NotebookInstanceStatusType,
|
|
99
100
|
OfflineStoreStatusValueType,
|
|
101
|
+
OptimizationJobDeploymentInstanceTypeType,
|
|
102
|
+
OptimizationJobStatusType,
|
|
100
103
|
OrderKeyType,
|
|
101
104
|
ProblemTypeType,
|
|
102
105
|
ProcessingJobStatusType,
|
|
@@ -190,6 +193,7 @@ from .paginator import (
|
|
|
190
193
|
ListMonitoringSchedulesPaginator,
|
|
191
194
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
192
195
|
ListNotebookInstancesPaginator,
|
|
196
|
+
ListOptimizationJobsPaginator,
|
|
193
197
|
ListPipelineExecutionsPaginator,
|
|
194
198
|
ListPipelineExecutionStepsPaginator,
|
|
195
199
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -281,6 +285,7 @@ from .type_defs import (
|
|
|
281
285
|
CreateMonitoringScheduleResponseTypeDef,
|
|
282
286
|
CreateNotebookInstanceLifecycleConfigOutputTypeDef,
|
|
283
287
|
CreateNotebookInstanceOutputTypeDef,
|
|
288
|
+
CreateOptimizationJobResponseTypeDef,
|
|
284
289
|
CreatePipelineResponseTypeDef,
|
|
285
290
|
CreatePresignedDomainUrlResponseTypeDef,
|
|
286
291
|
CreatePresignedMlflowTrackingServerUrlResponseTypeDef,
|
|
@@ -365,6 +370,7 @@ from .type_defs import (
|
|
|
365
370
|
DescribeMonitoringScheduleResponseTypeDef,
|
|
366
371
|
DescribeNotebookInstanceLifecycleConfigOutputTypeDef,
|
|
367
372
|
DescribeNotebookInstanceOutputTypeDef,
|
|
373
|
+
DescribeOptimizationJobResponseTypeDef,
|
|
368
374
|
DescribePipelineDefinitionForExecutionResponseTypeDef,
|
|
369
375
|
DescribePipelineExecutionResponseTypeDef,
|
|
370
376
|
DescribePipelineResponseTypeDef,
|
|
@@ -482,6 +488,7 @@ from .type_defs import (
|
|
|
482
488
|
ListMonitoringSchedulesResponseTypeDef,
|
|
483
489
|
ListNotebookInstanceLifecycleConfigsOutputTypeDef,
|
|
484
490
|
ListNotebookInstancesOutputTypeDef,
|
|
491
|
+
ListOptimizationJobsResponseTypeDef,
|
|
485
492
|
ListPipelineExecutionsResponseTypeDef,
|
|
486
493
|
ListPipelineExecutionStepsResponseTypeDef,
|
|
487
494
|
ListPipelineParametersForExecutionResponseTypeDef,
|
|
@@ -536,6 +543,10 @@ from .type_defs import (
|
|
|
536
543
|
OidcConfigTypeDef,
|
|
537
544
|
OnlineStoreConfigTypeDef,
|
|
538
545
|
OnlineStoreConfigUpdateTypeDef,
|
|
546
|
+
OptimizationConfigUnionTypeDef,
|
|
547
|
+
OptimizationJobModelSourceTypeDef,
|
|
548
|
+
OptimizationJobOutputConfigTypeDef,
|
|
549
|
+
OptimizationVpcConfigUnionTypeDef,
|
|
539
550
|
OutputConfigTypeDef,
|
|
540
551
|
OutputDataConfigTypeDef,
|
|
541
552
|
OutputParameterTypeDef,
|
|
@@ -665,6 +676,7 @@ else:
|
|
|
665
676
|
|
|
666
677
|
__all__ = ("SageMakerClient",)
|
|
667
678
|
|
|
679
|
+
|
|
668
680
|
class BotocoreClientError(Exception):
|
|
669
681
|
MSG_TEMPLATE: str
|
|
670
682
|
|
|
@@ -672,6 +684,7 @@ class BotocoreClientError(Exception):
|
|
|
672
684
|
self.response: Dict[str, Any]
|
|
673
685
|
self.operation_name: str
|
|
674
686
|
|
|
687
|
+
|
|
675
688
|
class Exceptions:
|
|
676
689
|
ClientError: Type[BotocoreClientError]
|
|
677
690
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -679,6 +692,7 @@ class Exceptions:
|
|
|
679
692
|
ResourceLimitExceeded: Type[BotocoreClientError]
|
|
680
693
|
ResourceNotFound: Type[BotocoreClientError]
|
|
681
694
|
|
|
695
|
+
|
|
682
696
|
class SageMakerClient(BaseClient):
|
|
683
697
|
"""
|
|
684
698
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client)
|
|
@@ -1579,6 +1593,27 @@ class SageMakerClient(BaseClient):
|
|
|
1579
1593
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_notebook_instance_lifecycle_config)
|
|
1580
1594
|
"""
|
|
1581
1595
|
|
|
1596
|
+
def create_optimization_job(
|
|
1597
|
+
self,
|
|
1598
|
+
*,
|
|
1599
|
+
OptimizationJobName: str,
|
|
1600
|
+
RoleArn: str,
|
|
1601
|
+
ModelSource: OptimizationJobModelSourceTypeDef,
|
|
1602
|
+
DeploymentInstanceType: OptimizationJobDeploymentInstanceTypeType,
|
|
1603
|
+
OptimizationConfigs: Sequence[OptimizationConfigUnionTypeDef],
|
|
1604
|
+
OutputConfig: OptimizationJobOutputConfigTypeDef,
|
|
1605
|
+
StoppingCondition: StoppingConditionTypeDef,
|
|
1606
|
+
OptimizationEnvironment: Mapping[str, str] = ...,
|
|
1607
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
1608
|
+
VpcConfig: OptimizationVpcConfigUnionTypeDef = ...,
|
|
1609
|
+
) -> CreateOptimizationJobResponseTypeDef:
|
|
1610
|
+
"""
|
|
1611
|
+
Creates a job that optimizes a model for inference performance.
|
|
1612
|
+
|
|
1613
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.create_optimization_job)
|
|
1614
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_optimization_job)
|
|
1615
|
+
"""
|
|
1616
|
+
|
|
1582
1617
|
def create_pipeline(
|
|
1583
1618
|
self,
|
|
1584
1619
|
*,
|
|
@@ -2251,6 +2286,14 @@ class SageMakerClient(BaseClient):
|
|
|
2251
2286
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_notebook_instance_lifecycle_config)
|
|
2252
2287
|
"""
|
|
2253
2288
|
|
|
2289
|
+
def delete_optimization_job(self, *, OptimizationJobName: str) -> EmptyResponseMetadataTypeDef:
|
|
2290
|
+
"""
|
|
2291
|
+
Deletes an optimization job.
|
|
2292
|
+
|
|
2293
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.delete_optimization_job)
|
|
2294
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_optimization_job)
|
|
2295
|
+
"""
|
|
2296
|
+
|
|
2254
2297
|
def delete_pipeline(
|
|
2255
2298
|
self, *, PipelineName: str, ClientRequestToken: str
|
|
2256
2299
|
) -> DeletePipelineResponseTypeDef:
|
|
@@ -2810,6 +2853,16 @@ class SageMakerClient(BaseClient):
|
|
|
2810
2853
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_notebook_instance_lifecycle_config)
|
|
2811
2854
|
"""
|
|
2812
2855
|
|
|
2856
|
+
def describe_optimization_job(
|
|
2857
|
+
self, *, OptimizationJobName: str
|
|
2858
|
+
) -> DescribeOptimizationJobResponseTypeDef:
|
|
2859
|
+
"""
|
|
2860
|
+
Provides the properties of the specified optimization job.
|
|
2861
|
+
|
|
2862
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.describe_optimization_job)
|
|
2863
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_optimization_job)
|
|
2864
|
+
"""
|
|
2865
|
+
|
|
2813
2866
|
def describe_pipeline(self, *, PipelineName: str) -> DescribePipelineResponseTypeDef:
|
|
2814
2867
|
"""
|
|
2815
2868
|
Describes the details of a pipeline.
|
|
@@ -4167,6 +4220,28 @@ class SageMakerClient(BaseClient):
|
|
|
4167
4220
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_notebook_instances)
|
|
4168
4221
|
"""
|
|
4169
4222
|
|
|
4223
|
+
def list_optimization_jobs(
|
|
4224
|
+
self,
|
|
4225
|
+
*,
|
|
4226
|
+
NextToken: str = ...,
|
|
4227
|
+
MaxResults: int = ...,
|
|
4228
|
+
CreationTimeAfter: TimestampTypeDef = ...,
|
|
4229
|
+
CreationTimeBefore: TimestampTypeDef = ...,
|
|
4230
|
+
LastModifiedTimeAfter: TimestampTypeDef = ...,
|
|
4231
|
+
LastModifiedTimeBefore: TimestampTypeDef = ...,
|
|
4232
|
+
OptimizationContains: str = ...,
|
|
4233
|
+
NameContains: str = ...,
|
|
4234
|
+
StatusEquals: OptimizationJobStatusType = ...,
|
|
4235
|
+
SortBy: ListOptimizationJobsSortByType = ...,
|
|
4236
|
+
SortOrder: SortOrderType = ...,
|
|
4237
|
+
) -> ListOptimizationJobsResponseTypeDef:
|
|
4238
|
+
"""
|
|
4239
|
+
Lists the optimization jobs in your account and their properties.
|
|
4240
|
+
|
|
4241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.list_optimization_jobs)
|
|
4242
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_optimization_jobs)
|
|
4243
|
+
"""
|
|
4244
|
+
|
|
4170
4245
|
def list_pipeline_execution_steps(
|
|
4171
4246
|
self,
|
|
4172
4247
|
*,
|
|
@@ -4809,6 +4884,14 @@ class SageMakerClient(BaseClient):
|
|
|
4809
4884
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_notebook_instance)
|
|
4810
4885
|
"""
|
|
4811
4886
|
|
|
4887
|
+
def stop_optimization_job(self, *, OptimizationJobName: str) -> EmptyResponseMetadataTypeDef:
|
|
4888
|
+
"""
|
|
4889
|
+
Ends a running inference optimization job.
|
|
4890
|
+
|
|
4891
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.stop_optimization_job)
|
|
4892
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_optimization_job)
|
|
4893
|
+
"""
|
|
4894
|
+
|
|
4812
4895
|
def stop_pipeline_execution(
|
|
4813
4896
|
self, *, PipelineExecutionArn: str, ClientRequestToken: str
|
|
4814
4897
|
) -> StopPipelineExecutionResponseTypeDef:
|
|
@@ -5876,6 +5959,15 @@ class SageMakerClient(BaseClient):
|
|
|
5876
5959
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
|
|
5877
5960
|
"""
|
|
5878
5961
|
|
|
5962
|
+
@overload
|
|
5963
|
+
def get_paginator(
|
|
5964
|
+
self, operation_name: Literal["list_optimization_jobs"]
|
|
5965
|
+
) -> ListOptimizationJobsPaginator:
|
|
5966
|
+
"""
|
|
5967
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.get_paginator)
|
|
5968
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
|
|
5969
|
+
"""
|
|
5970
|
+
|
|
5879
5971
|
@overload
|
|
5880
5972
|
def get_paginator(
|
|
5881
5973
|
self, operation_name: Literal["list_pipeline_execution_steps"]
|
|
@@ -70,6 +70,7 @@ from .literals import (
|
|
|
70
70
|
ListEdgeDeploymentPlansSortByType,
|
|
71
71
|
ListEdgePackagingJobsSortByType,
|
|
72
72
|
ListInferenceRecommendationsJobsSortByType,
|
|
73
|
+
ListOptimizationJobsSortByType,
|
|
73
74
|
ListWorkforcesSortByOptionsType,
|
|
74
75
|
ListWorkteamsSortByOptionsType,
|
|
75
76
|
ModelApprovalStatusType,
|
|
@@ -97,6 +98,8 @@ from .literals import (
|
|
|
97
98
|
NotebookInstanceSortOrderType,
|
|
98
99
|
NotebookInstanceStatusType,
|
|
99
100
|
OfflineStoreStatusValueType,
|
|
101
|
+
OptimizationJobDeploymentInstanceTypeType,
|
|
102
|
+
OptimizationJobStatusType,
|
|
100
103
|
OrderKeyType,
|
|
101
104
|
ProblemTypeType,
|
|
102
105
|
ProcessingJobStatusType,
|
|
@@ -190,6 +193,7 @@ from .paginator import (
|
|
|
190
193
|
ListMonitoringSchedulesPaginator,
|
|
191
194
|
ListNotebookInstanceLifecycleConfigsPaginator,
|
|
192
195
|
ListNotebookInstancesPaginator,
|
|
196
|
+
ListOptimizationJobsPaginator,
|
|
193
197
|
ListPipelineExecutionsPaginator,
|
|
194
198
|
ListPipelineExecutionStepsPaginator,
|
|
195
199
|
ListPipelineParametersForExecutionPaginator,
|
|
@@ -281,6 +285,7 @@ from .type_defs import (
|
|
|
281
285
|
CreateMonitoringScheduleResponseTypeDef,
|
|
282
286
|
CreateNotebookInstanceLifecycleConfigOutputTypeDef,
|
|
283
287
|
CreateNotebookInstanceOutputTypeDef,
|
|
288
|
+
CreateOptimizationJobResponseTypeDef,
|
|
284
289
|
CreatePipelineResponseTypeDef,
|
|
285
290
|
CreatePresignedDomainUrlResponseTypeDef,
|
|
286
291
|
CreatePresignedMlflowTrackingServerUrlResponseTypeDef,
|
|
@@ -365,6 +370,7 @@ from .type_defs import (
|
|
|
365
370
|
DescribeMonitoringScheduleResponseTypeDef,
|
|
366
371
|
DescribeNotebookInstanceLifecycleConfigOutputTypeDef,
|
|
367
372
|
DescribeNotebookInstanceOutputTypeDef,
|
|
373
|
+
DescribeOptimizationJobResponseTypeDef,
|
|
368
374
|
DescribePipelineDefinitionForExecutionResponseTypeDef,
|
|
369
375
|
DescribePipelineExecutionResponseTypeDef,
|
|
370
376
|
DescribePipelineResponseTypeDef,
|
|
@@ -482,6 +488,7 @@ from .type_defs import (
|
|
|
482
488
|
ListMonitoringSchedulesResponseTypeDef,
|
|
483
489
|
ListNotebookInstanceLifecycleConfigsOutputTypeDef,
|
|
484
490
|
ListNotebookInstancesOutputTypeDef,
|
|
491
|
+
ListOptimizationJobsResponseTypeDef,
|
|
485
492
|
ListPipelineExecutionsResponseTypeDef,
|
|
486
493
|
ListPipelineExecutionStepsResponseTypeDef,
|
|
487
494
|
ListPipelineParametersForExecutionResponseTypeDef,
|
|
@@ -536,6 +543,10 @@ from .type_defs import (
|
|
|
536
543
|
OidcConfigTypeDef,
|
|
537
544
|
OnlineStoreConfigTypeDef,
|
|
538
545
|
OnlineStoreConfigUpdateTypeDef,
|
|
546
|
+
OptimizationConfigUnionTypeDef,
|
|
547
|
+
OptimizationJobModelSourceTypeDef,
|
|
548
|
+
OptimizationJobOutputConfigTypeDef,
|
|
549
|
+
OptimizationVpcConfigUnionTypeDef,
|
|
539
550
|
OutputConfigTypeDef,
|
|
540
551
|
OutputDataConfigTypeDef,
|
|
541
552
|
OutputParameterTypeDef,
|
|
@@ -665,7 +676,6 @@ else:
|
|
|
665
676
|
|
|
666
677
|
__all__ = ("SageMakerClient",)
|
|
667
678
|
|
|
668
|
-
|
|
669
679
|
class BotocoreClientError(Exception):
|
|
670
680
|
MSG_TEMPLATE: str
|
|
671
681
|
|
|
@@ -673,7 +683,6 @@ class BotocoreClientError(Exception):
|
|
|
673
683
|
self.response: Dict[str, Any]
|
|
674
684
|
self.operation_name: str
|
|
675
685
|
|
|
676
|
-
|
|
677
686
|
class Exceptions:
|
|
678
687
|
ClientError: Type[BotocoreClientError]
|
|
679
688
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -681,7 +690,6 @@ class Exceptions:
|
|
|
681
690
|
ResourceLimitExceeded: Type[BotocoreClientError]
|
|
682
691
|
ResourceNotFound: Type[BotocoreClientError]
|
|
683
692
|
|
|
684
|
-
|
|
685
693
|
class SageMakerClient(BaseClient):
|
|
686
694
|
"""
|
|
687
695
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client)
|
|
@@ -1582,6 +1590,27 @@ class SageMakerClient(BaseClient):
|
|
|
1582
1590
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_notebook_instance_lifecycle_config)
|
|
1583
1591
|
"""
|
|
1584
1592
|
|
|
1593
|
+
def create_optimization_job(
|
|
1594
|
+
self,
|
|
1595
|
+
*,
|
|
1596
|
+
OptimizationJobName: str,
|
|
1597
|
+
RoleArn: str,
|
|
1598
|
+
ModelSource: OptimizationJobModelSourceTypeDef,
|
|
1599
|
+
DeploymentInstanceType: OptimizationJobDeploymentInstanceTypeType,
|
|
1600
|
+
OptimizationConfigs: Sequence[OptimizationConfigUnionTypeDef],
|
|
1601
|
+
OutputConfig: OptimizationJobOutputConfigTypeDef,
|
|
1602
|
+
StoppingCondition: StoppingConditionTypeDef,
|
|
1603
|
+
OptimizationEnvironment: Mapping[str, str] = ...,
|
|
1604
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
1605
|
+
VpcConfig: OptimizationVpcConfigUnionTypeDef = ...,
|
|
1606
|
+
) -> CreateOptimizationJobResponseTypeDef:
|
|
1607
|
+
"""
|
|
1608
|
+
Creates a job that optimizes a model for inference performance.
|
|
1609
|
+
|
|
1610
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.create_optimization_job)
|
|
1611
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_optimization_job)
|
|
1612
|
+
"""
|
|
1613
|
+
|
|
1585
1614
|
def create_pipeline(
|
|
1586
1615
|
self,
|
|
1587
1616
|
*,
|
|
@@ -2254,6 +2283,14 @@ class SageMakerClient(BaseClient):
|
|
|
2254
2283
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_notebook_instance_lifecycle_config)
|
|
2255
2284
|
"""
|
|
2256
2285
|
|
|
2286
|
+
def delete_optimization_job(self, *, OptimizationJobName: str) -> EmptyResponseMetadataTypeDef:
|
|
2287
|
+
"""
|
|
2288
|
+
Deletes an optimization job.
|
|
2289
|
+
|
|
2290
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.delete_optimization_job)
|
|
2291
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_optimization_job)
|
|
2292
|
+
"""
|
|
2293
|
+
|
|
2257
2294
|
def delete_pipeline(
|
|
2258
2295
|
self, *, PipelineName: str, ClientRequestToken: str
|
|
2259
2296
|
) -> DeletePipelineResponseTypeDef:
|
|
@@ -2813,6 +2850,16 @@ class SageMakerClient(BaseClient):
|
|
|
2813
2850
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_notebook_instance_lifecycle_config)
|
|
2814
2851
|
"""
|
|
2815
2852
|
|
|
2853
|
+
def describe_optimization_job(
|
|
2854
|
+
self, *, OptimizationJobName: str
|
|
2855
|
+
) -> DescribeOptimizationJobResponseTypeDef:
|
|
2856
|
+
"""
|
|
2857
|
+
Provides the properties of the specified optimization job.
|
|
2858
|
+
|
|
2859
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.describe_optimization_job)
|
|
2860
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_optimization_job)
|
|
2861
|
+
"""
|
|
2862
|
+
|
|
2816
2863
|
def describe_pipeline(self, *, PipelineName: str) -> DescribePipelineResponseTypeDef:
|
|
2817
2864
|
"""
|
|
2818
2865
|
Describes the details of a pipeline.
|
|
@@ -4170,6 +4217,28 @@ class SageMakerClient(BaseClient):
|
|
|
4170
4217
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_notebook_instances)
|
|
4171
4218
|
"""
|
|
4172
4219
|
|
|
4220
|
+
def list_optimization_jobs(
|
|
4221
|
+
self,
|
|
4222
|
+
*,
|
|
4223
|
+
NextToken: str = ...,
|
|
4224
|
+
MaxResults: int = ...,
|
|
4225
|
+
CreationTimeAfter: TimestampTypeDef = ...,
|
|
4226
|
+
CreationTimeBefore: TimestampTypeDef = ...,
|
|
4227
|
+
LastModifiedTimeAfter: TimestampTypeDef = ...,
|
|
4228
|
+
LastModifiedTimeBefore: TimestampTypeDef = ...,
|
|
4229
|
+
OptimizationContains: str = ...,
|
|
4230
|
+
NameContains: str = ...,
|
|
4231
|
+
StatusEquals: OptimizationJobStatusType = ...,
|
|
4232
|
+
SortBy: ListOptimizationJobsSortByType = ...,
|
|
4233
|
+
SortOrder: SortOrderType = ...,
|
|
4234
|
+
) -> ListOptimizationJobsResponseTypeDef:
|
|
4235
|
+
"""
|
|
4236
|
+
Lists the optimization jobs in your account and their properties.
|
|
4237
|
+
|
|
4238
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.list_optimization_jobs)
|
|
4239
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_optimization_jobs)
|
|
4240
|
+
"""
|
|
4241
|
+
|
|
4173
4242
|
def list_pipeline_execution_steps(
|
|
4174
4243
|
self,
|
|
4175
4244
|
*,
|
|
@@ -4812,6 +4881,14 @@ class SageMakerClient(BaseClient):
|
|
|
4812
4881
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_notebook_instance)
|
|
4813
4882
|
"""
|
|
4814
4883
|
|
|
4884
|
+
def stop_optimization_job(self, *, OptimizationJobName: str) -> EmptyResponseMetadataTypeDef:
|
|
4885
|
+
"""
|
|
4886
|
+
Ends a running inference optimization job.
|
|
4887
|
+
|
|
4888
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.stop_optimization_job)
|
|
4889
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_optimization_job)
|
|
4890
|
+
"""
|
|
4891
|
+
|
|
4815
4892
|
def stop_pipeline_execution(
|
|
4816
4893
|
self, *, PipelineExecutionArn: str, ClientRequestToken: str
|
|
4817
4894
|
) -> StopPipelineExecutionResponseTypeDef:
|
|
@@ -5879,6 +5956,15 @@ class SageMakerClient(BaseClient):
|
|
|
5879
5956
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
|
|
5880
5957
|
"""
|
|
5881
5958
|
|
|
5959
|
+
@overload
|
|
5960
|
+
def get_paginator(
|
|
5961
|
+
self, operation_name: Literal["list_optimization_jobs"]
|
|
5962
|
+
) -> ListOptimizationJobsPaginator:
|
|
5963
|
+
"""
|
|
5964
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.get_paginator)
|
|
5965
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
|
|
5966
|
+
"""
|
|
5967
|
+
|
|
5882
5968
|
@overload
|
|
5883
5969
|
def get_paginator(
|
|
5884
5970
|
self, operation_name: Literal["list_pipeline_execution_steps"]
|