mypy-boto3-sagemaker 1.34.135__py3-none-any.whl → 1.34.145__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 mypy-boto3-sagemaker might be problematic. Click here for more details.

@@ -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",
@@ -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",
@@ -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.135\n"
14
- "Version: 1.34.135\n"
15
- "Builder version: 7.24.0\n"
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.135")
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,
@@ -1582,6 +1593,27 @@ class SageMakerClient(BaseClient):
1582
1593
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_notebook_instance_lifecycle_config)
1583
1594
  """
1584
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
+
1585
1617
  def create_pipeline(
1586
1618
  self,
1587
1619
  *,
@@ -2254,6 +2286,14 @@ class SageMakerClient(BaseClient):
2254
2286
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_notebook_instance_lifecycle_config)
2255
2287
  """
2256
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
+
2257
2297
  def delete_pipeline(
2258
2298
  self, *, PipelineName: str, ClientRequestToken: str
2259
2299
  ) -> DeletePipelineResponseTypeDef:
@@ -2813,6 +2853,16 @@ class SageMakerClient(BaseClient):
2813
2853
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_notebook_instance_lifecycle_config)
2814
2854
  """
2815
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
+
2816
2866
  def describe_pipeline(self, *, PipelineName: str) -> DescribePipelineResponseTypeDef:
2817
2867
  """
2818
2868
  Describes the details of a pipeline.
@@ -4170,6 +4220,28 @@ class SageMakerClient(BaseClient):
4170
4220
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_notebook_instances)
4171
4221
  """
4172
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
+
4173
4245
  def list_pipeline_execution_steps(
4174
4246
  self,
4175
4247
  *,
@@ -4812,6 +4884,14 @@ class SageMakerClient(BaseClient):
4812
4884
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_notebook_instance)
4813
4885
  """
4814
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
+
4815
4895
  def stop_pipeline_execution(
4816
4896
  self, *, PipelineExecutionArn: str, ClientRequestToken: str
4817
4897
  ) -> StopPipelineExecutionResponseTypeDef:
@@ -5879,6 +5959,15 @@ class SageMakerClient(BaseClient):
5879
5959
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
5880
5960
  """
5881
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
+
5882
5971
  @overload
5883
5972
  def get_paginator(
5884
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,
@@ -1579,6 +1590,27 @@ class SageMakerClient(BaseClient):
1579
1590
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#create_notebook_instance_lifecycle_config)
1580
1591
  """
1581
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
+
1582
1614
  def create_pipeline(
1583
1615
  self,
1584
1616
  *,
@@ -2251,6 +2283,14 @@ class SageMakerClient(BaseClient):
2251
2283
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#delete_notebook_instance_lifecycle_config)
2252
2284
  """
2253
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
+
2254
2294
  def delete_pipeline(
2255
2295
  self, *, PipelineName: str, ClientRequestToken: str
2256
2296
  ) -> DeletePipelineResponseTypeDef:
@@ -2810,6 +2850,16 @@ class SageMakerClient(BaseClient):
2810
2850
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#describe_notebook_instance_lifecycle_config)
2811
2851
  """
2812
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
+
2813
2863
  def describe_pipeline(self, *, PipelineName: str) -> DescribePipelineResponseTypeDef:
2814
2864
  """
2815
2865
  Describes the details of a pipeline.
@@ -4167,6 +4217,28 @@ class SageMakerClient(BaseClient):
4167
4217
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#list_notebook_instances)
4168
4218
  """
4169
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
+
4170
4242
  def list_pipeline_execution_steps(
4171
4243
  self,
4172
4244
  *,
@@ -4809,6 +4881,14 @@ class SageMakerClient(BaseClient):
4809
4881
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#stop_notebook_instance)
4810
4882
  """
4811
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
+
4812
4892
  def stop_pipeline_execution(
4813
4893
  self, *, PipelineExecutionArn: str, ClientRequestToken: str
4814
4894
  ) -> StopPipelineExecutionResponseTypeDef:
@@ -5876,6 +5956,15 @@ class SageMakerClient(BaseClient):
5876
5956
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sagemaker/client/#get_paginator)
5877
5957
  """
5878
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
+
5879
5968
  @overload
5880
5969
  def get_paginator(
5881
5970
  self, operation_name: Literal["list_pipeline_execution_steps"]
@@ -209,6 +209,8 @@ __all__ = (
209
209
  "ListMonitoringSchedulesPaginatorName",
210
210
  "ListNotebookInstanceLifecycleConfigsPaginatorName",
211
211
  "ListNotebookInstancesPaginatorName",
212
+ "ListOptimizationJobsPaginatorName",
213
+ "ListOptimizationJobsSortByType",
212
214
  "ListPipelineExecutionStepsPaginatorName",
213
215
  "ListPipelineExecutionsPaginatorName",
214
216
  "ListPipelineParametersForExecutionPaginatorName",
@@ -274,6 +276,8 @@ __all__ = (
274
276
  "ObjectiveStatusType",
275
277
  "OfflineStoreStatusValueType",
276
278
  "OperatorType",
279
+ "OptimizationJobDeploymentInstanceTypeType",
280
+ "OptimizationJobStatusType",
277
281
  "OrderKeyType",
278
282
  "OutputCompressionTypeType",
279
283
  "ParameterTypeType",
@@ -1154,6 +1158,8 @@ ListNotebookInstanceLifecycleConfigsPaginatorName = Literal[
1154
1158
  "list_notebook_instance_lifecycle_configs"
1155
1159
  ]
1156
1160
  ListNotebookInstancesPaginatorName = Literal["list_notebook_instances"]
1161
+ ListOptimizationJobsPaginatorName = Literal["list_optimization_jobs"]
1162
+ ListOptimizationJobsSortByType = Literal["CreationTime", "Name", "Status"]
1157
1163
  ListPipelineExecutionStepsPaginatorName = Literal["list_pipeline_execution_steps"]
1158
1164
  ListPipelineExecutionsPaginatorName = Literal["list_pipeline_executions"]
1159
1165
  ListPipelineParametersForExecutionPaginatorName = Literal["list_pipeline_parameters_for_execution"]
@@ -1266,6 +1272,37 @@ OperatorType = Literal[
1266
1272
  "NotEquals",
1267
1273
  "NotExists",
1268
1274
  ]
1275
+ OptimizationJobDeploymentInstanceTypeType = Literal[
1276
+ "ml.g5.12xlarge",
1277
+ "ml.g5.16xlarge",
1278
+ "ml.g5.24xlarge",
1279
+ "ml.g5.2xlarge",
1280
+ "ml.g5.48xlarge",
1281
+ "ml.g5.4xlarge",
1282
+ "ml.g5.8xlarge",
1283
+ "ml.g5.xlarge",
1284
+ "ml.g6.12xlarge",
1285
+ "ml.g6.16xlarge",
1286
+ "ml.g6.24xlarge",
1287
+ "ml.g6.2xlarge",
1288
+ "ml.g6.48xlarge",
1289
+ "ml.g6.4xlarge",
1290
+ "ml.g6.8xlarge",
1291
+ "ml.g6.xlarge",
1292
+ "ml.inf2.24xlarge",
1293
+ "ml.inf2.48xlarge",
1294
+ "ml.inf2.8xlarge",
1295
+ "ml.inf2.xlarge",
1296
+ "ml.p4d.24xlarge",
1297
+ "ml.p4de.24xlarge",
1298
+ "ml.p5.48xlarge",
1299
+ "ml.trn1.2xlarge",
1300
+ "ml.trn1.32xlarge",
1301
+ "ml.trn1n.32xlarge",
1302
+ ]
1303
+ OptimizationJobStatusType = Literal[
1304
+ "COMPLETED", "FAILED", "INPROGRESS", "STARTING", "STOPPED", "STOPPING"
1305
+ ]
1269
1306
  OrderKeyType = Literal["Ascending", "Descending"]
1270
1307
  OutputCompressionTypeType = Literal["GZIP", "NONE"]
1271
1308
  ParameterTypeType = Literal["Categorical", "Continuous", "FreeText", "Integer"]
@@ -1288,6 +1325,14 @@ ProcessingInstanceTypeType = Literal[
1288
1325
  "ml.g4dn.4xlarge",
1289
1326
  "ml.g4dn.8xlarge",
1290
1327
  "ml.g4dn.xlarge",
1328
+ "ml.g5.12xlarge",
1329
+ "ml.g5.16xlarge",
1330
+ "ml.g5.24xlarge",
1331
+ "ml.g5.2xlarge",
1332
+ "ml.g5.48xlarge",
1333
+ "ml.g5.4xlarge",
1334
+ "ml.g5.8xlarge",
1335
+ "ml.g5.xlarge",
1291
1336
  "ml.m4.10xlarge",
1292
1337
  "ml.m4.16xlarge",
1293
1338
  "ml.m4.2xlarge",
@@ -1313,6 +1358,14 @@ ProcessingInstanceTypeType = Literal[
1313
1358
  "ml.r5.8xlarge",
1314
1359
  "ml.r5.large",
1315
1360
  "ml.r5.xlarge",
1361
+ "ml.r5d.12xlarge",
1362
+ "ml.r5d.16xlarge",
1363
+ "ml.r5d.24xlarge",
1364
+ "ml.r5d.2xlarge",
1365
+ "ml.r5d.4xlarge",
1366
+ "ml.r5d.8xlarge",
1367
+ "ml.r5d.large",
1368
+ "ml.r5d.xlarge",
1316
1369
  "ml.t3.2xlarge",
1317
1370
  "ml.t3.large",
1318
1371
  "ml.t3.medium",
@@ -1778,6 +1831,26 @@ TrainingInstanceTypeType = Literal[
1778
1831
  "ml.p4d.24xlarge",
1779
1832
  "ml.p4de.24xlarge",
1780
1833
  "ml.p5.48xlarge",
1834
+ "ml.r5.12xlarge",
1835
+ "ml.r5.16xlarge",
1836
+ "ml.r5.24xlarge",
1837
+ "ml.r5.2xlarge",
1838
+ "ml.r5.4xlarge",
1839
+ "ml.r5.8xlarge",
1840
+ "ml.r5.large",
1841
+ "ml.r5.xlarge",
1842
+ "ml.r5d.12xlarge",
1843
+ "ml.r5d.16xlarge",
1844
+ "ml.r5d.24xlarge",
1845
+ "ml.r5d.2xlarge",
1846
+ "ml.r5d.4xlarge",
1847
+ "ml.r5d.8xlarge",
1848
+ "ml.r5d.large",
1849
+ "ml.r5d.xlarge",
1850
+ "ml.t3.2xlarge",
1851
+ "ml.t3.large",
1852
+ "ml.t3.medium",
1853
+ "ml.t3.xlarge",
1781
1854
  "ml.trn1.2xlarge",
1782
1855
  "ml.trn1.32xlarge",
1783
1856
  "ml.trn1n.32xlarge",
@@ -2185,6 +2258,7 @@ ServiceName = Literal[
2185
2258
  "pricing",
2186
2259
  "privatenetworks",
2187
2260
  "proton",
2261
+ "qapps",
2188
2262
  "qbusiness",
2189
2263
  "qconnect",
2190
2264
  "qldb",
@@ -2354,6 +2428,7 @@ PaginatorName = Literal[
2354
2428
  "list_monitoring_schedules",
2355
2429
  "list_notebook_instance_lifecycle_configs",
2356
2430
  "list_notebook_instances",
2431
+ "list_optimization_jobs",
2357
2432
  "list_pipeline_execution_steps",
2358
2433
  "list_pipeline_executions",
2359
2434
  "list_pipeline_parameters_for_execution",