sagemaker-core 1.0.29__py3-none-any.whl → 1.0.31__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/_version.py +2 -10
- sagemaker_core/main/code_injection/shape_dag.py +89 -2
- sagemaker_core/main/resources.py +694 -660
- sagemaker_core/main/shapes.py +103 -5
- sagemaker_core/main/utils.py +4 -1
- sagemaker_core/tools/constants.py +2 -0
- sagemaker_core/tools/resources_codegen.py +17 -8
- sagemaker_core/tools/shapes_codegen.py +10 -3
- sagemaker_core/tools/shapes_extractor.py +63 -23
- sagemaker_core/tools/templates.py +5 -3
- {sagemaker_core-1.0.29.dist-info → sagemaker_core-1.0.31.dist-info}/METADATA +1 -1
- {sagemaker_core-1.0.29.dist-info → sagemaker_core-1.0.31.dist-info}/RECORD +15 -15
- {sagemaker_core-1.0.29.dist-info → sagemaker_core-1.0.31.dist-info}/WHEEL +1 -1
- {sagemaker_core-1.0.29.dist-info → sagemaker_core-1.0.31.dist-info}/licenses/LICENSE +0 -0
- {sagemaker_core-1.0.29.dist-info → sagemaker_core-1.0.31.dist-info}/top_level.txt +0 -0
sagemaker_core/main/resources.py
CHANGED
|
@@ -14,7 +14,7 @@ import botocore
|
|
|
14
14
|
import datetime
|
|
15
15
|
import time
|
|
16
16
|
import functools
|
|
17
|
-
from pydantic import validate_call
|
|
17
|
+
from pydantic import validate_call, ConfigDict, BaseModel
|
|
18
18
|
from typing import Dict, List, Literal, Optional, Union, Any
|
|
19
19
|
from boto3.session import Session
|
|
20
20
|
from rich.console import Group
|
|
@@ -42,8 +42,8 @@ from sagemaker_core.main.intelligent_defaults_helper import (
|
|
|
42
42
|
get_config_value,
|
|
43
43
|
)
|
|
44
44
|
from sagemaker_core.main.logs import MultiLogStreamHandler
|
|
45
|
-
from sagemaker_core.main.shapes import *
|
|
46
45
|
from sagemaker_core.main.exceptions import *
|
|
46
|
+
import sagemaker_core.main.shapes as shapes
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
logger = get_textual_rich_logger(__name__)
|
|
@@ -75,7 +75,9 @@ class Base(BaseModel):
|
|
|
75
75
|
configurable_attribute, resource_defaults, global_defaults
|
|
76
76
|
):
|
|
77
77
|
resource_name = snake_to_pascal(configurable_attribute)
|
|
78
|
-
class_object = globals()
|
|
78
|
+
class_object = getattr(shapes, resource_name, None) or globals().get(
|
|
79
|
+
resource_name
|
|
80
|
+
)
|
|
79
81
|
kwargs[configurable_attribute] = class_object(**config_value)
|
|
80
82
|
except BaseException as e:
|
|
81
83
|
logger.debug("Could not load Default Configs. Continuing.", exc_info=True)
|
|
@@ -121,7 +123,9 @@ class Base(BaseModel):
|
|
|
121
123
|
@staticmethod
|
|
122
124
|
def _get_chained_attribute(item_value: Any):
|
|
123
125
|
resource_name = type(item_value).__name__
|
|
124
|
-
class_object = globals()
|
|
126
|
+
class_object = globals().get(resource_name) or getattr(shapes, resource_name, None)
|
|
127
|
+
if class_object is None:
|
|
128
|
+
return item_value
|
|
125
129
|
return class_object(
|
|
126
130
|
**Base.populate_chained_attributes(
|
|
127
131
|
resource_name=resource_name, operation_input_args=vars(item_value)
|
|
@@ -161,16 +165,16 @@ class Action(Base):
|
|
|
161
165
|
|
|
162
166
|
action_name: str
|
|
163
167
|
action_arn: Optional[str] = Unassigned()
|
|
164
|
-
source: Optional[ActionSource] = Unassigned()
|
|
168
|
+
source: Optional[shapes.ActionSource] = Unassigned()
|
|
165
169
|
action_type: Optional[str] = Unassigned()
|
|
166
170
|
description: Optional[str] = Unassigned()
|
|
167
171
|
status: Optional[str] = Unassigned()
|
|
168
172
|
properties: Optional[Dict[str, str]] = Unassigned()
|
|
169
173
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
170
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
174
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
171
175
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
172
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
173
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned()
|
|
176
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
177
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned()
|
|
174
178
|
lineage_group_arn: Optional[str] = Unassigned()
|
|
175
179
|
|
|
176
180
|
def get_name(self) -> str:
|
|
@@ -194,13 +198,13 @@ class Action(Base):
|
|
|
194
198
|
def create(
|
|
195
199
|
cls,
|
|
196
200
|
action_name: str,
|
|
197
|
-
source: ActionSource,
|
|
201
|
+
source: shapes.ActionSource,
|
|
198
202
|
action_type: str,
|
|
199
203
|
description: Optional[str] = Unassigned(),
|
|
200
204
|
status: Optional[str] = Unassigned(),
|
|
201
205
|
properties: Optional[Dict[str, str]] = Unassigned(),
|
|
202
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned(),
|
|
203
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
206
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned(),
|
|
207
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
204
208
|
session: Optional[Session] = None,
|
|
205
209
|
region: Optional[str] = None,
|
|
206
210
|
) -> Optional["Action"]:
|
|
@@ -537,11 +541,11 @@ class Algorithm(Base):
|
|
|
537
541
|
algorithm_arn: Optional[str] = Unassigned()
|
|
538
542
|
algorithm_description: Optional[str] = Unassigned()
|
|
539
543
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
540
|
-
training_specification: Optional[TrainingSpecification] = Unassigned()
|
|
541
|
-
inference_specification: Optional[InferenceSpecification] = Unassigned()
|
|
542
|
-
validation_specification: Optional[AlgorithmValidationSpecification] = Unassigned()
|
|
544
|
+
training_specification: Optional[shapes.TrainingSpecification] = Unassigned()
|
|
545
|
+
inference_specification: Optional[shapes.InferenceSpecification] = Unassigned()
|
|
546
|
+
validation_specification: Optional[shapes.AlgorithmValidationSpecification] = Unassigned()
|
|
543
547
|
algorithm_status: Optional[str] = Unassigned()
|
|
544
|
-
algorithm_status_details: Optional[AlgorithmStatusDetails] = Unassigned()
|
|
548
|
+
algorithm_status_details: Optional[shapes.AlgorithmStatusDetails] = Unassigned()
|
|
545
549
|
product_id: Optional[str] = Unassigned()
|
|
546
550
|
certify_for_marketplace: Optional[bool] = Unassigned()
|
|
547
551
|
|
|
@@ -588,12 +592,12 @@ class Algorithm(Base):
|
|
|
588
592
|
def create(
|
|
589
593
|
cls,
|
|
590
594
|
algorithm_name: str,
|
|
591
|
-
training_specification: TrainingSpecification,
|
|
595
|
+
training_specification: shapes.TrainingSpecification,
|
|
592
596
|
algorithm_description: Optional[str] = Unassigned(),
|
|
593
|
-
inference_specification: Optional[InferenceSpecification] = Unassigned(),
|
|
594
|
-
validation_specification: Optional[AlgorithmValidationSpecification] = Unassigned(),
|
|
597
|
+
inference_specification: Optional[shapes.InferenceSpecification] = Unassigned(),
|
|
598
|
+
validation_specification: Optional[shapes.AlgorithmValidationSpecification] = Unassigned(),
|
|
595
599
|
certify_for_marketplace: Optional[bool] = Unassigned(),
|
|
596
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
600
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
597
601
|
session: Optional[Session] = None,
|
|
598
602
|
region: Optional[str] = None,
|
|
599
603
|
) -> Optional["Algorithm"]:
|
|
@@ -996,7 +1000,7 @@ class App(Base):
|
|
|
996
1000
|
last_user_activity_timestamp: Optional[datetime.datetime] = Unassigned()
|
|
997
1001
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
998
1002
|
failure_reason: Optional[str] = Unassigned()
|
|
999
|
-
resource_spec: Optional[ResourceSpec] = Unassigned()
|
|
1003
|
+
resource_spec: Optional[shapes.ResourceSpec] = Unassigned()
|
|
1000
1004
|
built_in_lifecycle_config_arn: Optional[str] = Unassigned()
|
|
1001
1005
|
|
|
1002
1006
|
def get_name(self) -> str:
|
|
@@ -1024,8 +1028,8 @@ class App(Base):
|
|
|
1024
1028
|
app_name: str,
|
|
1025
1029
|
user_profile_name: Optional[Union[str, object]] = Unassigned(),
|
|
1026
1030
|
space_name: Optional[Union[str, object]] = Unassigned(),
|
|
1027
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
1028
|
-
resource_spec: Optional[ResourceSpec] = Unassigned(),
|
|
1031
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
1032
|
+
resource_spec: Optional[shapes.ResourceSpec] = Unassigned(),
|
|
1029
1033
|
recovery_mode: Optional[bool] = Unassigned(),
|
|
1030
1034
|
session: Optional[Session] = None,
|
|
1031
1035
|
region: Optional[str] = None,
|
|
@@ -1451,9 +1455,9 @@ class AppImageConfig(Base):
|
|
|
1451
1455
|
app_image_config_arn: Optional[str] = Unassigned()
|
|
1452
1456
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
1453
1457
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
1454
|
-
kernel_gateway_image_config: Optional[KernelGatewayImageConfig] = Unassigned()
|
|
1455
|
-
jupyter_lab_app_image_config: Optional[JupyterLabAppImageConfig] = Unassigned()
|
|
1456
|
-
code_editor_app_image_config: Optional[CodeEditorAppImageConfig] = Unassigned()
|
|
1458
|
+
kernel_gateway_image_config: Optional[shapes.KernelGatewayImageConfig] = Unassigned()
|
|
1459
|
+
jupyter_lab_app_image_config: Optional[shapes.JupyterLabAppImageConfig] = Unassigned()
|
|
1460
|
+
code_editor_app_image_config: Optional[shapes.CodeEditorAppImageConfig] = Unassigned()
|
|
1457
1461
|
|
|
1458
1462
|
def get_name(self) -> str:
|
|
1459
1463
|
attributes = vars(self)
|
|
@@ -1476,10 +1480,10 @@ class AppImageConfig(Base):
|
|
|
1476
1480
|
def create(
|
|
1477
1481
|
cls,
|
|
1478
1482
|
app_image_config_name: str,
|
|
1479
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
1480
|
-
kernel_gateway_image_config: Optional[KernelGatewayImageConfig] = Unassigned(),
|
|
1481
|
-
jupyter_lab_app_image_config: Optional[JupyterLabAppImageConfig] = Unassigned(),
|
|
1482
|
-
code_editor_app_image_config: Optional[CodeEditorAppImageConfig] = Unassigned(),
|
|
1483
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
1484
|
+
kernel_gateway_image_config: Optional[shapes.KernelGatewayImageConfig] = Unassigned(),
|
|
1485
|
+
jupyter_lab_app_image_config: Optional[shapes.JupyterLabAppImageConfig] = Unassigned(),
|
|
1486
|
+
code_editor_app_image_config: Optional[shapes.CodeEditorAppImageConfig] = Unassigned(),
|
|
1483
1487
|
session: Optional[Session] = None,
|
|
1484
1488
|
region: Optional[str] = None,
|
|
1485
1489
|
) -> Optional["AppImageConfig"]:
|
|
@@ -1633,9 +1637,9 @@ class AppImageConfig(Base):
|
|
|
1633
1637
|
@Base.add_validate_call
|
|
1634
1638
|
def update(
|
|
1635
1639
|
self,
|
|
1636
|
-
kernel_gateway_image_config: Optional[KernelGatewayImageConfig] = Unassigned(),
|
|
1637
|
-
jupyter_lab_app_image_config: Optional[JupyterLabAppImageConfig] = Unassigned(),
|
|
1638
|
-
code_editor_app_image_config: Optional[CodeEditorAppImageConfig] = Unassigned(),
|
|
1640
|
+
kernel_gateway_image_config: Optional[shapes.KernelGatewayImageConfig] = Unassigned(),
|
|
1641
|
+
jupyter_lab_app_image_config: Optional[shapes.JupyterLabAppImageConfig] = Unassigned(),
|
|
1642
|
+
code_editor_app_image_config: Optional[shapes.CodeEditorAppImageConfig] = Unassigned(),
|
|
1639
1643
|
) -> Optional["AppImageConfig"]:
|
|
1640
1644
|
"""
|
|
1641
1645
|
Update a AppImageConfig resource
|
|
@@ -1804,14 +1808,14 @@ class Artifact(Base):
|
|
|
1804
1808
|
|
|
1805
1809
|
artifact_arn: str
|
|
1806
1810
|
artifact_name: Optional[str] = Unassigned()
|
|
1807
|
-
source: Optional[ArtifactSource] = Unassigned()
|
|
1811
|
+
source: Optional[shapes.ArtifactSource] = Unassigned()
|
|
1808
1812
|
artifact_type: Optional[str] = Unassigned()
|
|
1809
1813
|
properties: Optional[Dict[str, str]] = Unassigned()
|
|
1810
1814
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
1811
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
1815
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
1812
1816
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
1813
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
1814
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned()
|
|
1817
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
1818
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned()
|
|
1815
1819
|
lineage_group_arn: Optional[str] = Unassigned()
|
|
1816
1820
|
|
|
1817
1821
|
def get_name(self) -> str:
|
|
@@ -1834,12 +1838,12 @@ class Artifact(Base):
|
|
|
1834
1838
|
@Base.add_validate_call
|
|
1835
1839
|
def create(
|
|
1836
1840
|
cls,
|
|
1837
|
-
source: ArtifactSource,
|
|
1841
|
+
source: shapes.ArtifactSource,
|
|
1838
1842
|
artifact_type: str,
|
|
1839
1843
|
artifact_name: Optional[str] = Unassigned(),
|
|
1840
1844
|
properties: Optional[Dict[str, str]] = Unassigned(),
|
|
1841
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned(),
|
|
1842
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
1845
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned(),
|
|
1846
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
1843
1847
|
session: Optional[Session] = None,
|
|
1844
1848
|
region: Optional[str] = None,
|
|
1845
1849
|
) -> Optional["Artifact"]:
|
|
@@ -2173,7 +2177,7 @@ class Association(Base):
|
|
|
2173
2177
|
source_name: Optional[str] = Unassigned()
|
|
2174
2178
|
destination_name: Optional[str] = Unassigned()
|
|
2175
2179
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
2176
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
2180
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
2177
2181
|
|
|
2178
2182
|
def get_name(self) -> str:
|
|
2179
2183
|
attributes = vars(self)
|
|
@@ -2387,25 +2391,25 @@ class AutoMLJob(Base):
|
|
|
2387
2391
|
|
|
2388
2392
|
auto_ml_job_name: str
|
|
2389
2393
|
auto_ml_job_arn: Optional[str] = Unassigned()
|
|
2390
|
-
input_data_config: Optional[List[AutoMLChannel]] = Unassigned()
|
|
2391
|
-
output_data_config: Optional[AutoMLOutputDataConfig] = Unassigned()
|
|
2394
|
+
input_data_config: Optional[List[shapes.AutoMLChannel]] = Unassigned()
|
|
2395
|
+
output_data_config: Optional[shapes.AutoMLOutputDataConfig] = Unassigned()
|
|
2392
2396
|
role_arn: Optional[str] = Unassigned()
|
|
2393
|
-
auto_ml_job_objective: Optional[AutoMLJobObjective] = Unassigned()
|
|
2397
|
+
auto_ml_job_objective: Optional[shapes.AutoMLJobObjective] = Unassigned()
|
|
2394
2398
|
problem_type: Optional[str] = Unassigned()
|
|
2395
|
-
auto_ml_job_config: Optional[AutoMLJobConfig] = Unassigned()
|
|
2399
|
+
auto_ml_job_config: Optional[shapes.AutoMLJobConfig] = Unassigned()
|
|
2396
2400
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
2397
2401
|
end_time: Optional[datetime.datetime] = Unassigned()
|
|
2398
2402
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
2399
2403
|
failure_reason: Optional[str] = Unassigned()
|
|
2400
|
-
partial_failure_reasons: Optional[List[AutoMLPartialFailureReason]] = Unassigned()
|
|
2401
|
-
best_candidate: Optional[AutoMLCandidate] = Unassigned()
|
|
2404
|
+
partial_failure_reasons: Optional[List[shapes.AutoMLPartialFailureReason]] = Unassigned()
|
|
2405
|
+
best_candidate: Optional[shapes.AutoMLCandidate] = Unassigned()
|
|
2402
2406
|
auto_ml_job_status: Optional[str] = Unassigned()
|
|
2403
2407
|
auto_ml_job_secondary_status: Optional[str] = Unassigned()
|
|
2404
2408
|
generate_candidate_definitions_only: Optional[bool] = Unassigned()
|
|
2405
|
-
auto_ml_job_artifacts: Optional[AutoMLJobArtifacts] = Unassigned()
|
|
2406
|
-
resolved_attributes: Optional[ResolvedAttributes] = Unassigned()
|
|
2407
|
-
model_deploy_config: Optional[ModelDeployConfig] = Unassigned()
|
|
2408
|
-
model_deploy_result: Optional[ModelDeployResult] = Unassigned()
|
|
2409
|
+
auto_ml_job_artifacts: Optional[shapes.AutoMLJobArtifacts] = Unassigned()
|
|
2410
|
+
resolved_attributes: Optional[shapes.ResolvedAttributes] = Unassigned()
|
|
2411
|
+
model_deploy_config: Optional[shapes.ModelDeployConfig] = Unassigned()
|
|
2412
|
+
model_deploy_result: Optional[shapes.ModelDeployResult] = Unassigned()
|
|
2409
2413
|
|
|
2410
2414
|
def get_name(self) -> str:
|
|
2411
2415
|
attributes = vars(self)
|
|
@@ -2460,15 +2464,15 @@ class AutoMLJob(Base):
|
|
|
2460
2464
|
def create(
|
|
2461
2465
|
cls,
|
|
2462
2466
|
auto_ml_job_name: str,
|
|
2463
|
-
input_data_config: List[AutoMLChannel],
|
|
2464
|
-
output_data_config: AutoMLOutputDataConfig,
|
|
2467
|
+
input_data_config: List[shapes.AutoMLChannel],
|
|
2468
|
+
output_data_config: shapes.AutoMLOutputDataConfig,
|
|
2465
2469
|
role_arn: str,
|
|
2466
2470
|
problem_type: Optional[str] = Unassigned(),
|
|
2467
|
-
auto_ml_job_objective: Optional[AutoMLJobObjective] = Unassigned(),
|
|
2468
|
-
auto_ml_job_config: Optional[AutoMLJobConfig] = Unassigned(),
|
|
2471
|
+
auto_ml_job_objective: Optional[shapes.AutoMLJobObjective] = Unassigned(),
|
|
2472
|
+
auto_ml_job_config: Optional[shapes.AutoMLJobConfig] = Unassigned(),
|
|
2469
2473
|
generate_candidate_definitions_only: Optional[bool] = Unassigned(),
|
|
2470
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
2471
|
-
model_deploy_config: Optional[ModelDeployConfig] = Unassigned(),
|
|
2474
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
2475
|
+
model_deploy_config: Optional[shapes.ModelDeployConfig] = Unassigned(),
|
|
2472
2476
|
session: Optional[Session] = None,
|
|
2473
2477
|
region: Optional[str] = None,
|
|
2474
2478
|
) -> Optional["AutoMLJob"]:
|
|
@@ -2804,7 +2808,7 @@ class AutoMLJob(Base):
|
|
|
2804
2808
|
sort_by: Optional[str] = Unassigned(),
|
|
2805
2809
|
session: Optional[Session] = None,
|
|
2806
2810
|
region: Optional[str] = None,
|
|
2807
|
-
) -> ResourceIterator[AutoMLCandidate]:
|
|
2811
|
+
) -> ResourceIterator[shapes.AutoMLCandidate]:
|
|
2808
2812
|
"""
|
|
2809
2813
|
List the candidates created for the job.
|
|
2810
2814
|
|
|
@@ -2854,7 +2858,7 @@ class AutoMLJob(Base):
|
|
|
2854
2858
|
list_method="list_candidates_for_auto_ml_job",
|
|
2855
2859
|
summaries_key="Candidates",
|
|
2856
2860
|
summary_name="AutoMLCandidate",
|
|
2857
|
-
resource_cls=AutoMLCandidate,
|
|
2861
|
+
resource_cls=shapes.AutoMLCandidate,
|
|
2858
2862
|
list_method_kwargs=operation_input_args,
|
|
2859
2863
|
)
|
|
2860
2864
|
|
|
@@ -2892,27 +2896,27 @@ class AutoMLJobV2(Base):
|
|
|
2892
2896
|
|
|
2893
2897
|
auto_ml_job_name: str
|
|
2894
2898
|
auto_ml_job_arn: Optional[str] = Unassigned()
|
|
2895
|
-
auto_ml_job_input_data_config: Optional[List[AutoMLJobChannel]] = Unassigned()
|
|
2896
|
-
output_data_config: Optional[AutoMLOutputDataConfig] = Unassigned()
|
|
2899
|
+
auto_ml_job_input_data_config: Optional[List[shapes.AutoMLJobChannel]] = Unassigned()
|
|
2900
|
+
output_data_config: Optional[shapes.AutoMLOutputDataConfig] = Unassigned()
|
|
2897
2901
|
role_arn: Optional[str] = Unassigned()
|
|
2898
|
-
auto_ml_job_objective: Optional[AutoMLJobObjective] = Unassigned()
|
|
2899
|
-
auto_ml_problem_type_config: Optional[AutoMLProblemTypeConfig] = Unassigned()
|
|
2902
|
+
auto_ml_job_objective: Optional[shapes.AutoMLJobObjective] = Unassigned()
|
|
2903
|
+
auto_ml_problem_type_config: Optional[shapes.AutoMLProblemTypeConfig] = Unassigned()
|
|
2900
2904
|
auto_ml_problem_type_config_name: Optional[str] = Unassigned()
|
|
2901
2905
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
2902
2906
|
end_time: Optional[datetime.datetime] = Unassigned()
|
|
2903
2907
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
2904
2908
|
failure_reason: Optional[str] = Unassigned()
|
|
2905
|
-
partial_failure_reasons: Optional[List[AutoMLPartialFailureReason]] = Unassigned()
|
|
2906
|
-
best_candidate: Optional[AutoMLCandidate] = Unassigned()
|
|
2909
|
+
partial_failure_reasons: Optional[List[shapes.AutoMLPartialFailureReason]] = Unassigned()
|
|
2910
|
+
best_candidate: Optional[shapes.AutoMLCandidate] = Unassigned()
|
|
2907
2911
|
auto_ml_job_status: Optional[str] = Unassigned()
|
|
2908
2912
|
auto_ml_job_secondary_status: Optional[str] = Unassigned()
|
|
2909
|
-
auto_ml_job_artifacts: Optional[AutoMLJobArtifacts] = Unassigned()
|
|
2910
|
-
resolved_attributes: Optional[AutoMLResolvedAttributes] = Unassigned()
|
|
2911
|
-
model_deploy_config: Optional[ModelDeployConfig] = Unassigned()
|
|
2912
|
-
model_deploy_result: Optional[ModelDeployResult] = Unassigned()
|
|
2913
|
-
data_split_config: Optional[AutoMLDataSplitConfig] = Unassigned()
|
|
2914
|
-
security_config: Optional[AutoMLSecurityConfig] = Unassigned()
|
|
2915
|
-
auto_ml_compute_config: Optional[AutoMLComputeConfig] = Unassigned()
|
|
2913
|
+
auto_ml_job_artifacts: Optional[shapes.AutoMLJobArtifacts] = Unassigned()
|
|
2914
|
+
resolved_attributes: Optional[shapes.AutoMLResolvedAttributes] = Unassigned()
|
|
2915
|
+
model_deploy_config: Optional[shapes.ModelDeployConfig] = Unassigned()
|
|
2916
|
+
model_deploy_result: Optional[shapes.ModelDeployResult] = Unassigned()
|
|
2917
|
+
data_split_config: Optional[shapes.AutoMLDataSplitConfig] = Unassigned()
|
|
2918
|
+
security_config: Optional[shapes.AutoMLSecurityConfig] = Unassigned()
|
|
2919
|
+
auto_ml_compute_config: Optional[shapes.AutoMLComputeConfig] = Unassigned()
|
|
2916
2920
|
|
|
2917
2921
|
def get_name(self) -> str:
|
|
2918
2922
|
attributes = vars(self)
|
|
@@ -2971,16 +2975,16 @@ class AutoMLJobV2(Base):
|
|
|
2971
2975
|
def create(
|
|
2972
2976
|
cls,
|
|
2973
2977
|
auto_ml_job_name: str,
|
|
2974
|
-
auto_ml_job_input_data_config: List[AutoMLJobChannel],
|
|
2975
|
-
output_data_config: AutoMLOutputDataConfig,
|
|
2976
|
-
auto_ml_problem_type_config: AutoMLProblemTypeConfig,
|
|
2978
|
+
auto_ml_job_input_data_config: List[shapes.AutoMLJobChannel],
|
|
2979
|
+
output_data_config: shapes.AutoMLOutputDataConfig,
|
|
2980
|
+
auto_ml_problem_type_config: shapes.AutoMLProblemTypeConfig,
|
|
2977
2981
|
role_arn: str,
|
|
2978
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
2979
|
-
security_config: Optional[AutoMLSecurityConfig] = Unassigned(),
|
|
2980
|
-
auto_ml_job_objective: Optional[AutoMLJobObjective] = Unassigned(),
|
|
2981
|
-
model_deploy_config: Optional[ModelDeployConfig] = Unassigned(),
|
|
2982
|
-
data_split_config: Optional[AutoMLDataSplitConfig] = Unassigned(),
|
|
2983
|
-
auto_ml_compute_config: Optional[AutoMLComputeConfig] = Unassigned(),
|
|
2982
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
2983
|
+
security_config: Optional[shapes.AutoMLSecurityConfig] = Unassigned(),
|
|
2984
|
+
auto_ml_job_objective: Optional[shapes.AutoMLJobObjective] = Unassigned(),
|
|
2985
|
+
model_deploy_config: Optional[shapes.ModelDeployConfig] = Unassigned(),
|
|
2986
|
+
data_split_config: Optional[shapes.AutoMLDataSplitConfig] = Unassigned(),
|
|
2987
|
+
auto_ml_compute_config: Optional[shapes.AutoMLComputeConfig] = Unassigned(),
|
|
2984
2988
|
session: Optional[Session] = None,
|
|
2985
2989
|
region: Optional[str] = None,
|
|
2986
2990
|
) -> Optional["AutoMLJobV2"]:
|
|
@@ -3226,9 +3230,9 @@ class Cluster(Base):
|
|
|
3226
3230
|
cluster_status: Optional[str] = Unassigned()
|
|
3227
3231
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
3228
3232
|
failure_message: Optional[str] = Unassigned()
|
|
3229
|
-
instance_groups: Optional[List[ClusterInstanceGroupDetails]] = Unassigned()
|
|
3230
|
-
vpc_config: Optional[VpcConfig] = Unassigned()
|
|
3231
|
-
orchestrator: Optional[ClusterOrchestrator] = Unassigned()
|
|
3233
|
+
instance_groups: Optional[List[shapes.ClusterInstanceGroupDetails]] = Unassigned()
|
|
3234
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned()
|
|
3235
|
+
orchestrator: Optional[shapes.ClusterOrchestrator] = Unassigned()
|
|
3232
3236
|
node_recovery: Optional[str] = Unassigned()
|
|
3233
3237
|
|
|
3234
3238
|
def get_name(self) -> str:
|
|
@@ -3271,10 +3275,10 @@ class Cluster(Base):
|
|
|
3271
3275
|
def create(
|
|
3272
3276
|
cls,
|
|
3273
3277
|
cluster_name: str,
|
|
3274
|
-
instance_groups: List[ClusterInstanceGroupSpecification],
|
|
3275
|
-
vpc_config: Optional[VpcConfig] = Unassigned(),
|
|
3276
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
3277
|
-
orchestrator: Optional[ClusterOrchestrator] = Unassigned(),
|
|
3278
|
+
instance_groups: List[shapes.ClusterInstanceGroupSpecification],
|
|
3279
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned(),
|
|
3280
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
3281
|
+
orchestrator: Optional[shapes.ClusterOrchestrator] = Unassigned(),
|
|
3278
3282
|
node_recovery: Optional[str] = Unassigned(),
|
|
3279
3283
|
session: Optional[Session] = None,
|
|
3280
3284
|
region: Optional[str] = None,
|
|
@@ -3433,7 +3437,7 @@ class Cluster(Base):
|
|
|
3433
3437
|
@Base.add_validate_call
|
|
3434
3438
|
def update(
|
|
3435
3439
|
self,
|
|
3436
|
-
instance_groups: List[ClusterInstanceGroupSpecification],
|
|
3440
|
+
instance_groups: List[shapes.ClusterInstanceGroupSpecification],
|
|
3437
3441
|
node_recovery: Optional[str] = Unassigned(),
|
|
3438
3442
|
instance_groups_to_delete: Optional[List[str]] = Unassigned(),
|
|
3439
3443
|
) -> Optional["Cluster"]:
|
|
@@ -3716,7 +3720,7 @@ class Cluster(Base):
|
|
|
3716
3720
|
node_id: str,
|
|
3717
3721
|
session: Optional[Session] = None,
|
|
3718
3722
|
region: Optional[str] = None,
|
|
3719
|
-
) -> Optional[ClusterNodeDetails]:
|
|
3723
|
+
) -> Optional[shapes.ClusterNodeDetails]:
|
|
3720
3724
|
"""
|
|
3721
3725
|
Retrieves information of a node (also called a instance interchangeably) of a SageMaker HyperPod cluster.
|
|
3722
3726
|
|
|
@@ -3726,7 +3730,7 @@ class Cluster(Base):
|
|
|
3726
3730
|
region: Region name.
|
|
3727
3731
|
|
|
3728
3732
|
Returns:
|
|
3729
|
-
ClusterNodeDetails
|
|
3733
|
+
shapes.ClusterNodeDetails
|
|
3730
3734
|
|
|
3731
3735
|
Raises:
|
|
3732
3736
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -3758,7 +3762,7 @@ class Cluster(Base):
|
|
|
3758
3762
|
logger.debug(f"Response: {response}")
|
|
3759
3763
|
|
|
3760
3764
|
transformed_response = transform(response, "DescribeClusterNodeResponse")
|
|
3761
|
-
return ClusterNodeDetails(**transformed_response)
|
|
3765
|
+
return shapes.ClusterNodeDetails(**transformed_response)
|
|
3762
3766
|
|
|
3763
3767
|
@Base.add_validate_call
|
|
3764
3768
|
def get_all_nodes(
|
|
@@ -3770,7 +3774,7 @@ class Cluster(Base):
|
|
|
3770
3774
|
sort_order: Optional[str] = Unassigned(),
|
|
3771
3775
|
session: Optional[Session] = None,
|
|
3772
3776
|
region: Optional[str] = None,
|
|
3773
|
-
) -> ResourceIterator[ClusterNodeDetails]:
|
|
3777
|
+
) -> ResourceIterator[shapes.ClusterNodeDetails]:
|
|
3774
3778
|
"""
|
|
3775
3779
|
Retrieves the list of instances (also called nodes interchangeably) in a SageMaker HyperPod cluster.
|
|
3776
3780
|
|
|
@@ -3822,13 +3826,14 @@ class Cluster(Base):
|
|
|
3822
3826
|
list_method="list_cluster_nodes",
|
|
3823
3827
|
summaries_key="ClusterNodeSummaries",
|
|
3824
3828
|
summary_name="ClusterNodeSummary",
|
|
3825
|
-
resource_cls=ClusterNodeDetails,
|
|
3829
|
+
resource_cls=shapes.ClusterNodeDetails,
|
|
3826
3830
|
list_method_kwargs=operation_input_args,
|
|
3827
3831
|
)
|
|
3828
3832
|
|
|
3829
3833
|
@Base.add_validate_call
|
|
3830
3834
|
def update_software(
|
|
3831
3835
|
self,
|
|
3836
|
+
deployment_config: Optional[shapes.DeploymentConfiguration] = Unassigned(),
|
|
3832
3837
|
session: Optional[Session] = None,
|
|
3833
3838
|
region: Optional[str] = None,
|
|
3834
3839
|
) -> None:
|
|
@@ -3836,6 +3841,7 @@ class Cluster(Base):
|
|
|
3836
3841
|
Updates the platform software of a SageMaker HyperPod cluster for security patching.
|
|
3837
3842
|
|
|
3838
3843
|
Parameters:
|
|
3844
|
+
deployment_config: The configuration to use when updating the AMI versions.
|
|
3839
3845
|
session: Boto3 session.
|
|
3840
3846
|
region: Region name.
|
|
3841
3847
|
|
|
@@ -3855,6 +3861,8 @@ class Cluster(Base):
|
|
|
3855
3861
|
|
|
3856
3862
|
operation_input_args = {
|
|
3857
3863
|
"ClusterName": self.cluster_name,
|
|
3864
|
+
"InstanceGroups": self.instance_groups,
|
|
3865
|
+
"DeploymentConfig": deployment_config,
|
|
3858
3866
|
}
|
|
3859
3867
|
# serialize the input request
|
|
3860
3868
|
operation_input_args = serialize(operation_input_args)
|
|
@@ -3874,7 +3882,7 @@ class Cluster(Base):
|
|
|
3874
3882
|
node_ids: List[str],
|
|
3875
3883
|
session: Optional[Session] = None,
|
|
3876
3884
|
region: Optional[str] = None,
|
|
3877
|
-
) -> Optional[BatchDeleteClusterNodesResponse]:
|
|
3885
|
+
) -> Optional[shapes.BatchDeleteClusterNodesResponse]:
|
|
3878
3886
|
"""
|
|
3879
3887
|
Deletes specific nodes within a SageMaker HyperPod cluster.
|
|
3880
3888
|
|
|
@@ -3884,7 +3892,7 @@ class Cluster(Base):
|
|
|
3884
3892
|
region: Region name.
|
|
3885
3893
|
|
|
3886
3894
|
Returns:
|
|
3887
|
-
BatchDeleteClusterNodesResponse
|
|
3895
|
+
shapes.BatchDeleteClusterNodesResponse
|
|
3888
3896
|
|
|
3889
3897
|
Raises:
|
|
3890
3898
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -3916,7 +3924,7 @@ class Cluster(Base):
|
|
|
3916
3924
|
logger.debug(f"Response: {response}")
|
|
3917
3925
|
|
|
3918
3926
|
transformed_response = transform(response, "BatchDeleteClusterNodesResponse")
|
|
3919
|
-
return BatchDeleteClusterNodesResponse(**transformed_response)
|
|
3927
|
+
return shapes.BatchDeleteClusterNodesResponse(**transformed_response)
|
|
3920
3928
|
|
|
3921
3929
|
|
|
3922
3930
|
class ClusterSchedulerConfig(Base):
|
|
@@ -3947,12 +3955,12 @@ class ClusterSchedulerConfig(Base):
|
|
|
3947
3955
|
status: Optional[str] = Unassigned()
|
|
3948
3956
|
failure_reason: Optional[str] = Unassigned()
|
|
3949
3957
|
cluster_arn: Optional[str] = Unassigned()
|
|
3950
|
-
scheduler_config: Optional[SchedulerConfig] = Unassigned()
|
|
3958
|
+
scheduler_config: Optional[shapes.SchedulerConfig] = Unassigned()
|
|
3951
3959
|
description: Optional[str] = Unassigned()
|
|
3952
3960
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
3953
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
3961
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
3954
3962
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
3955
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
3963
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
3956
3964
|
|
|
3957
3965
|
def get_name(self) -> str:
|
|
3958
3966
|
attributes = vars(self)
|
|
@@ -3976,9 +3984,9 @@ class ClusterSchedulerConfig(Base):
|
|
|
3976
3984
|
cls,
|
|
3977
3985
|
name: str,
|
|
3978
3986
|
cluster_arn: str,
|
|
3979
|
-
scheduler_config: SchedulerConfig,
|
|
3987
|
+
scheduler_config: shapes.SchedulerConfig,
|
|
3980
3988
|
description: Optional[str] = Unassigned(),
|
|
3981
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
3989
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
3982
3990
|
session: Optional[Session] = None,
|
|
3983
3991
|
region: Optional[str] = None,
|
|
3984
3992
|
) -> Optional["ClusterSchedulerConfig"]:
|
|
@@ -4142,7 +4150,7 @@ class ClusterSchedulerConfig(Base):
|
|
|
4142
4150
|
def update(
|
|
4143
4151
|
self,
|
|
4144
4152
|
target_version: int,
|
|
4145
|
-
scheduler_config: Optional[SchedulerConfig] = Unassigned(),
|
|
4153
|
+
scheduler_config: Optional[shapes.SchedulerConfig] = Unassigned(),
|
|
4146
4154
|
description: Optional[str] = Unassigned(),
|
|
4147
4155
|
) -> Optional["ClusterSchedulerConfig"]:
|
|
4148
4156
|
"""
|
|
@@ -4455,7 +4463,7 @@ class CodeRepository(Base):
|
|
|
4455
4463
|
code_repository_arn: Optional[str] = Unassigned()
|
|
4456
4464
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
4457
4465
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
4458
|
-
git_config: Optional[GitConfig] = Unassigned()
|
|
4466
|
+
git_config: Optional[shapes.GitConfig] = Unassigned()
|
|
4459
4467
|
|
|
4460
4468
|
def get_name(self) -> str:
|
|
4461
4469
|
attributes = vars(self)
|
|
@@ -4478,8 +4486,8 @@ class CodeRepository(Base):
|
|
|
4478
4486
|
def create(
|
|
4479
4487
|
cls,
|
|
4480
4488
|
code_repository_name: str,
|
|
4481
|
-
git_config: GitConfig,
|
|
4482
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
4489
|
+
git_config: shapes.GitConfig,
|
|
4490
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
4483
4491
|
session: Optional[Session] = None,
|
|
4484
4492
|
region: Optional[str] = None,
|
|
4485
4493
|
) -> Optional["CodeRepository"]:
|
|
@@ -4626,7 +4634,7 @@ class CodeRepository(Base):
|
|
|
4626
4634
|
@Base.add_validate_call
|
|
4627
4635
|
def update(
|
|
4628
4636
|
self,
|
|
4629
|
-
git_config: Optional[GitConfigForUpdate] = Unassigned(),
|
|
4637
|
+
git_config: Optional[shapes.GitConfigForUpdate] = Unassigned(),
|
|
4630
4638
|
) -> Optional["CodeRepository"]:
|
|
4631
4639
|
"""
|
|
4632
4640
|
Update a CodeRepository resource
|
|
@@ -4801,19 +4809,19 @@ class CompilationJob(Base):
|
|
|
4801
4809
|
compilation_job_status: Optional[str] = Unassigned()
|
|
4802
4810
|
compilation_start_time: Optional[datetime.datetime] = Unassigned()
|
|
4803
4811
|
compilation_end_time: Optional[datetime.datetime] = Unassigned()
|
|
4804
|
-
stopping_condition: Optional[StoppingCondition] = Unassigned()
|
|
4812
|
+
stopping_condition: Optional[shapes.StoppingCondition] = Unassigned()
|
|
4805
4813
|
inference_image: Optional[str] = Unassigned()
|
|
4806
4814
|
model_package_version_arn: Optional[str] = Unassigned()
|
|
4807
4815
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
4808
4816
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
4809
4817
|
failure_reason: Optional[str] = Unassigned()
|
|
4810
|
-
model_artifacts: Optional[ModelArtifacts] = Unassigned()
|
|
4811
|
-
model_digests: Optional[ModelDigests] = Unassigned()
|
|
4818
|
+
model_artifacts: Optional[shapes.ModelArtifacts] = Unassigned()
|
|
4819
|
+
model_digests: Optional[shapes.ModelDigests] = Unassigned()
|
|
4812
4820
|
role_arn: Optional[str] = Unassigned()
|
|
4813
|
-
input_config: Optional[InputConfig] = Unassigned()
|
|
4814
|
-
output_config: Optional[OutputConfig] = Unassigned()
|
|
4815
|
-
vpc_config: Optional[NeoVpcConfig] = Unassigned()
|
|
4816
|
-
derived_information: Optional[DerivedInformation] = Unassigned()
|
|
4821
|
+
input_config: Optional[shapes.InputConfig] = Unassigned()
|
|
4822
|
+
output_config: Optional[shapes.OutputConfig] = Unassigned()
|
|
4823
|
+
vpc_config: Optional[shapes.NeoVpcConfig] = Unassigned()
|
|
4824
|
+
derived_information: Optional[shapes.DerivedInformation] = Unassigned()
|
|
4817
4825
|
|
|
4818
4826
|
def get_name(self) -> str:
|
|
4819
4827
|
attributes = vars(self)
|
|
@@ -4863,12 +4871,12 @@ class CompilationJob(Base):
|
|
|
4863
4871
|
cls,
|
|
4864
4872
|
compilation_job_name: str,
|
|
4865
4873
|
role_arn: str,
|
|
4866
|
-
output_config: OutputConfig,
|
|
4867
|
-
stopping_condition: StoppingCondition,
|
|
4874
|
+
output_config: shapes.OutputConfig,
|
|
4875
|
+
stopping_condition: shapes.StoppingCondition,
|
|
4868
4876
|
model_package_version_arn: Optional[str] = Unassigned(),
|
|
4869
|
-
input_config: Optional[InputConfig] = Unassigned(),
|
|
4870
|
-
vpc_config: Optional[NeoVpcConfig] = Unassigned(),
|
|
4871
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
4877
|
+
input_config: Optional[shapes.InputConfig] = Unassigned(),
|
|
4878
|
+
vpc_config: Optional[shapes.NeoVpcConfig] = Unassigned(),
|
|
4879
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
4872
4880
|
session: Optional[Session] = None,
|
|
4873
4881
|
region: Optional[str] = None,
|
|
4874
4882
|
) -> Optional["CompilationJob"]:
|
|
@@ -5256,13 +5264,13 @@ class ComputeQuota(Base):
|
|
|
5256
5264
|
status: Optional[str] = Unassigned()
|
|
5257
5265
|
failure_reason: Optional[str] = Unassigned()
|
|
5258
5266
|
cluster_arn: Optional[str] = Unassigned()
|
|
5259
|
-
compute_quota_config: Optional[ComputeQuotaConfig] = Unassigned()
|
|
5260
|
-
compute_quota_target: Optional[ComputeQuotaTarget] = Unassigned()
|
|
5267
|
+
compute_quota_config: Optional[shapes.ComputeQuotaConfig] = Unassigned()
|
|
5268
|
+
compute_quota_target: Optional[shapes.ComputeQuotaTarget] = Unassigned()
|
|
5261
5269
|
activation_state: Optional[str] = Unassigned()
|
|
5262
5270
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
5263
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
5271
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
5264
5272
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
5265
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
5273
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
5266
5274
|
|
|
5267
5275
|
def get_name(self) -> str:
|
|
5268
5276
|
attributes = vars(self)
|
|
@@ -5286,11 +5294,11 @@ class ComputeQuota(Base):
|
|
|
5286
5294
|
cls,
|
|
5287
5295
|
name: str,
|
|
5288
5296
|
cluster_arn: str,
|
|
5289
|
-
compute_quota_config: ComputeQuotaConfig,
|
|
5290
|
-
compute_quota_target: ComputeQuotaTarget,
|
|
5297
|
+
compute_quota_config: shapes.ComputeQuotaConfig,
|
|
5298
|
+
compute_quota_target: shapes.ComputeQuotaTarget,
|
|
5291
5299
|
description: Optional[str] = Unassigned(),
|
|
5292
5300
|
activation_state: Optional[str] = Unassigned(),
|
|
5293
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
5301
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
5294
5302
|
session: Optional[Session] = None,
|
|
5295
5303
|
region: Optional[str] = None,
|
|
5296
5304
|
) -> Optional["ComputeQuota"]:
|
|
@@ -5454,8 +5462,8 @@ class ComputeQuota(Base):
|
|
|
5454
5462
|
def update(
|
|
5455
5463
|
self,
|
|
5456
5464
|
target_version: int,
|
|
5457
|
-
compute_quota_config: Optional[ComputeQuotaConfig] = Unassigned(),
|
|
5458
|
-
compute_quota_target: Optional[ComputeQuotaTarget] = Unassigned(),
|
|
5465
|
+
compute_quota_config: Optional[shapes.ComputeQuotaConfig] = Unassigned(),
|
|
5466
|
+
compute_quota_target: Optional[shapes.ComputeQuotaTarget] = Unassigned(),
|
|
5459
5467
|
activation_state: Optional[str] = Unassigned(),
|
|
5460
5468
|
description: Optional[str] = Unassigned(),
|
|
5461
5469
|
) -> Optional["ComputeQuota"]:
|
|
@@ -5771,14 +5779,14 @@ class Context(Base):
|
|
|
5771
5779
|
|
|
5772
5780
|
context_name: str
|
|
5773
5781
|
context_arn: Optional[str] = Unassigned()
|
|
5774
|
-
source: Optional[ContextSource] = Unassigned()
|
|
5782
|
+
source: Optional[shapes.ContextSource] = Unassigned()
|
|
5775
5783
|
context_type: Optional[str] = Unassigned()
|
|
5776
5784
|
description: Optional[str] = Unassigned()
|
|
5777
5785
|
properties: Optional[Dict[str, str]] = Unassigned()
|
|
5778
5786
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
5779
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
5787
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
5780
5788
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
5781
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
5789
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
5782
5790
|
lineage_group_arn: Optional[str] = Unassigned()
|
|
5783
5791
|
|
|
5784
5792
|
def get_name(self) -> str:
|
|
@@ -5802,11 +5810,11 @@ class Context(Base):
|
|
|
5802
5810
|
def create(
|
|
5803
5811
|
cls,
|
|
5804
5812
|
context_name: str,
|
|
5805
|
-
source: ContextSource,
|
|
5813
|
+
source: shapes.ContextSource,
|
|
5806
5814
|
context_type: str,
|
|
5807
5815
|
description: Optional[str] = Unassigned(),
|
|
5808
5816
|
properties: Optional[Dict[str, str]] = Unassigned(),
|
|
5809
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
5817
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
5810
5818
|
session: Optional[Session] = None,
|
|
5811
5819
|
region: Optional[str] = None,
|
|
5812
5820
|
) -> Optional["Context"]:
|
|
@@ -6136,14 +6144,14 @@ class DataQualityJobDefinition(Base):
|
|
|
6136
6144
|
job_definition_name: str
|
|
6137
6145
|
job_definition_arn: Optional[str] = Unassigned()
|
|
6138
6146
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
6139
|
-
data_quality_baseline_config: Optional[DataQualityBaselineConfig] = Unassigned()
|
|
6140
|
-
data_quality_app_specification: Optional[DataQualityAppSpecification] = Unassigned()
|
|
6141
|
-
data_quality_job_input: Optional[DataQualityJobInput] = Unassigned()
|
|
6142
|
-
data_quality_job_output_config: Optional[MonitoringOutputConfig] = Unassigned()
|
|
6143
|
-
job_resources: Optional[MonitoringResources] = Unassigned()
|
|
6144
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned()
|
|
6147
|
+
data_quality_baseline_config: Optional[shapes.DataQualityBaselineConfig] = Unassigned()
|
|
6148
|
+
data_quality_app_specification: Optional[shapes.DataQualityAppSpecification] = Unassigned()
|
|
6149
|
+
data_quality_job_input: Optional[shapes.DataQualityJobInput] = Unassigned()
|
|
6150
|
+
data_quality_job_output_config: Optional[shapes.MonitoringOutputConfig] = Unassigned()
|
|
6151
|
+
job_resources: Optional[shapes.MonitoringResources] = Unassigned()
|
|
6152
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned()
|
|
6145
6153
|
role_arn: Optional[str] = Unassigned()
|
|
6146
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned()
|
|
6154
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned()
|
|
6147
6155
|
|
|
6148
6156
|
def get_name(self) -> str:
|
|
6149
6157
|
attributes = vars(self)
|
|
@@ -6205,15 +6213,15 @@ class DataQualityJobDefinition(Base):
|
|
|
6205
6213
|
def create(
|
|
6206
6214
|
cls,
|
|
6207
6215
|
job_definition_name: str,
|
|
6208
|
-
data_quality_app_specification: DataQualityAppSpecification,
|
|
6209
|
-
data_quality_job_input: DataQualityJobInput,
|
|
6210
|
-
data_quality_job_output_config: MonitoringOutputConfig,
|
|
6211
|
-
job_resources: MonitoringResources,
|
|
6216
|
+
data_quality_app_specification: shapes.DataQualityAppSpecification,
|
|
6217
|
+
data_quality_job_input: shapes.DataQualityJobInput,
|
|
6218
|
+
data_quality_job_output_config: shapes.MonitoringOutputConfig,
|
|
6219
|
+
job_resources: shapes.MonitoringResources,
|
|
6212
6220
|
role_arn: str,
|
|
6213
|
-
data_quality_baseline_config: Optional[DataQualityBaselineConfig] = Unassigned(),
|
|
6214
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned(),
|
|
6215
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned(),
|
|
6216
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
6221
|
+
data_quality_baseline_config: Optional[shapes.DataQualityBaselineConfig] = Unassigned(),
|
|
6222
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned(),
|
|
6223
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned(),
|
|
6224
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
6217
6225
|
session: Optional[Session] = None,
|
|
6218
6226
|
region: Optional[str] = None,
|
|
6219
6227
|
) -> Optional["DataQualityJobDefinition"]:
|
|
@@ -6508,7 +6516,7 @@ class Device(Base):
|
|
|
6508
6516
|
iot_thing_name: Optional[str] = Unassigned()
|
|
6509
6517
|
registration_time: Optional[datetime.datetime] = Unassigned()
|
|
6510
6518
|
latest_heartbeat: Optional[datetime.datetime] = Unassigned()
|
|
6511
|
-
models: Optional[List[EdgeModel]] = Unassigned()
|
|
6519
|
+
models: Optional[List[shapes.EdgeModel]] = Unassigned()
|
|
6512
6520
|
max_models: Optional[int] = Unassigned()
|
|
6513
6521
|
next_token: Optional[str] = Unassigned()
|
|
6514
6522
|
agent_version: Optional[str] = Unassigned()
|
|
@@ -6704,7 +6712,7 @@ class DeviceFleet(Base):
|
|
|
6704
6712
|
|
|
6705
6713
|
device_fleet_name: str
|
|
6706
6714
|
device_fleet_arn: Optional[str] = Unassigned()
|
|
6707
|
-
output_config: Optional[EdgeOutputConfig] = Unassigned()
|
|
6715
|
+
output_config: Optional[shapes.EdgeOutputConfig] = Unassigned()
|
|
6708
6716
|
description: Optional[str] = Unassigned()
|
|
6709
6717
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
6710
6718
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
@@ -6753,10 +6761,10 @@ class DeviceFleet(Base):
|
|
|
6753
6761
|
def create(
|
|
6754
6762
|
cls,
|
|
6755
6763
|
device_fleet_name: str,
|
|
6756
|
-
output_config: EdgeOutputConfig,
|
|
6764
|
+
output_config: shapes.EdgeOutputConfig,
|
|
6757
6765
|
role_arn: Optional[str] = Unassigned(),
|
|
6758
6766
|
description: Optional[str] = Unassigned(),
|
|
6759
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
6767
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
6760
6768
|
enable_iot_role_alias: Optional[bool] = Unassigned(),
|
|
6761
6769
|
session: Optional[Session] = None,
|
|
6762
6770
|
region: Optional[str] = None,
|
|
@@ -6915,7 +6923,7 @@ class DeviceFleet(Base):
|
|
|
6915
6923
|
@Base.add_validate_call
|
|
6916
6924
|
def update(
|
|
6917
6925
|
self,
|
|
6918
|
-
output_config: EdgeOutputConfig,
|
|
6926
|
+
output_config: shapes.EdgeOutputConfig,
|
|
6919
6927
|
role_arn: Optional[str] = Unassigned(),
|
|
6920
6928
|
description: Optional[str] = Unassigned(),
|
|
6921
6929
|
enable_iot_role_alias: Optional[bool] = Unassigned(),
|
|
@@ -7117,7 +7125,7 @@ class DeviceFleet(Base):
|
|
|
7117
7125
|
self,
|
|
7118
7126
|
session: Optional[Session] = None,
|
|
7119
7127
|
region: Optional[str] = None,
|
|
7120
|
-
) -> Optional[GetDeviceFleetReportResponse]:
|
|
7128
|
+
) -> Optional[shapes.GetDeviceFleetReportResponse]:
|
|
7121
7129
|
"""
|
|
7122
7130
|
Describes a fleet.
|
|
7123
7131
|
|
|
@@ -7126,7 +7134,7 @@ class DeviceFleet(Base):
|
|
|
7126
7134
|
region: Region name.
|
|
7127
7135
|
|
|
7128
7136
|
Returns:
|
|
7129
|
-
GetDeviceFleetReportResponse
|
|
7137
|
+
shapes.GetDeviceFleetReportResponse
|
|
7130
7138
|
|
|
7131
7139
|
Raises:
|
|
7132
7140
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -7156,13 +7164,13 @@ class DeviceFleet(Base):
|
|
|
7156
7164
|
logger.debug(f"Response: {response}")
|
|
7157
7165
|
|
|
7158
7166
|
transformed_response = transform(response, "GetDeviceFleetReportResponse")
|
|
7159
|
-
return GetDeviceFleetReportResponse(**transformed_response)
|
|
7167
|
+
return shapes.GetDeviceFleetReportResponse(**transformed_response)
|
|
7160
7168
|
|
|
7161
7169
|
@Base.add_validate_call
|
|
7162
7170
|
def register_devices(
|
|
7163
7171
|
self,
|
|
7164
|
-
devices: List[Device],
|
|
7165
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
7172
|
+
devices: List[shapes.Device],
|
|
7173
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
7166
7174
|
session: Optional[Session] = None,
|
|
7167
7175
|
region: Optional[str] = None,
|
|
7168
7176
|
) -> None:
|
|
@@ -7208,7 +7216,7 @@ class DeviceFleet(Base):
|
|
|
7208
7216
|
@Base.add_validate_call
|
|
7209
7217
|
def update_devices(
|
|
7210
7218
|
self,
|
|
7211
|
-
devices: List[Device],
|
|
7219
|
+
devices: List[shapes.Device],
|
|
7212
7220
|
session: Optional[Session] = None,
|
|
7213
7221
|
region: Optional[str] = None,
|
|
7214
7222
|
) -> None:
|
|
@@ -7292,8 +7300,8 @@ class Domain(Base):
|
|
|
7292
7300
|
failure_reason: Optional[str] = Unassigned()
|
|
7293
7301
|
security_group_id_for_domain_boundary: Optional[str] = Unassigned()
|
|
7294
7302
|
auth_mode: Optional[str] = Unassigned()
|
|
7295
|
-
default_user_settings: Optional[UserSettings] = Unassigned()
|
|
7296
|
-
domain_settings: Optional[DomainSettings] = Unassigned()
|
|
7303
|
+
default_user_settings: Optional[shapes.UserSettings] = Unassigned()
|
|
7304
|
+
domain_settings: Optional[shapes.DomainSettings] = Unassigned()
|
|
7297
7305
|
app_network_access_type: Optional[str] = Unassigned()
|
|
7298
7306
|
home_efs_file_system_kms_key_id: Optional[str] = Unassigned()
|
|
7299
7307
|
subnet_ids: Optional[List[str]] = Unassigned()
|
|
@@ -7302,7 +7310,7 @@ class Domain(Base):
|
|
|
7302
7310
|
kms_key_id: Optional[str] = Unassigned()
|
|
7303
7311
|
app_security_group_management: Optional[str] = Unassigned()
|
|
7304
7312
|
tag_propagation: Optional[str] = Unassigned()
|
|
7305
|
-
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned()
|
|
7313
|
+
default_space_settings: Optional[shapes.DefaultSpaceSettings] = Unassigned()
|
|
7306
7314
|
|
|
7307
7315
|
def get_name(self) -> str:
|
|
7308
7316
|
attributes = vars(self)
|
|
@@ -7391,17 +7399,17 @@ class Domain(Base):
|
|
|
7391
7399
|
cls,
|
|
7392
7400
|
domain_name: str,
|
|
7393
7401
|
auth_mode: str,
|
|
7394
|
-
default_user_settings: UserSettings,
|
|
7402
|
+
default_user_settings: shapes.UserSettings,
|
|
7395
7403
|
subnet_ids: List[str],
|
|
7396
7404
|
vpc_id: str,
|
|
7397
|
-
domain_settings: Optional[DomainSettings] = Unassigned(),
|
|
7398
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
7405
|
+
domain_settings: Optional[shapes.DomainSettings] = Unassigned(),
|
|
7406
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
7399
7407
|
app_network_access_type: Optional[str] = Unassigned(),
|
|
7400
7408
|
home_efs_file_system_kms_key_id: Optional[str] = Unassigned(),
|
|
7401
7409
|
kms_key_id: Optional[str] = Unassigned(),
|
|
7402
7410
|
app_security_group_management: Optional[str] = Unassigned(),
|
|
7403
7411
|
tag_propagation: Optional[str] = Unassigned(),
|
|
7404
|
-
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned(),
|
|
7412
|
+
default_space_settings: Optional[shapes.DefaultSpaceSettings] = Unassigned(),
|
|
7405
7413
|
session: Optional[Session] = None,
|
|
7406
7414
|
region: Optional[str] = None,
|
|
7407
7415
|
) -> Optional["Domain"]:
|
|
@@ -7573,10 +7581,10 @@ class Domain(Base):
|
|
|
7573
7581
|
@Base.add_validate_call
|
|
7574
7582
|
def update(
|
|
7575
7583
|
self,
|
|
7576
|
-
default_user_settings: Optional[UserSettings] = Unassigned(),
|
|
7577
|
-
domain_settings_for_update: Optional[DomainSettingsForUpdate] = Unassigned(),
|
|
7584
|
+
default_user_settings: Optional[shapes.UserSettings] = Unassigned(),
|
|
7585
|
+
domain_settings_for_update: Optional[shapes.DomainSettingsForUpdate] = Unassigned(),
|
|
7578
7586
|
app_security_group_management: Optional[str] = Unassigned(),
|
|
7579
|
-
default_space_settings: Optional[DefaultSpaceSettings] = Unassigned(),
|
|
7587
|
+
default_space_settings: Optional[shapes.DefaultSpaceSettings] = Unassigned(),
|
|
7580
7588
|
subnet_ids: Optional[List[str]] = Unassigned(),
|
|
7581
7589
|
app_network_access_type: Optional[str] = Unassigned(),
|
|
7582
7590
|
tag_propagation: Optional[str] = Unassigned(),
|
|
@@ -7633,7 +7641,7 @@ class Domain(Base):
|
|
|
7633
7641
|
@Base.add_validate_call
|
|
7634
7642
|
def delete(
|
|
7635
7643
|
self,
|
|
7636
|
-
retention_policy: Optional[RetentionPolicy] = Unassigned(),
|
|
7644
|
+
retention_policy: Optional[shapes.RetentionPolicy] = Unassigned(),
|
|
7637
7645
|
) -> None:
|
|
7638
7646
|
"""
|
|
7639
7647
|
Delete a Domain resource
|
|
@@ -7851,12 +7859,12 @@ class EdgeDeploymentPlan(Base):
|
|
|
7851
7859
|
|
|
7852
7860
|
edge_deployment_plan_name: str
|
|
7853
7861
|
edge_deployment_plan_arn: Optional[str] = Unassigned()
|
|
7854
|
-
model_configs: Optional[List[EdgeDeploymentModelConfig]] = Unassigned()
|
|
7862
|
+
model_configs: Optional[List[shapes.EdgeDeploymentModelConfig]] = Unassigned()
|
|
7855
7863
|
device_fleet_name: Optional[str] = Unassigned()
|
|
7856
7864
|
edge_deployment_success: Optional[int] = Unassigned()
|
|
7857
7865
|
edge_deployment_pending: Optional[int] = Unassigned()
|
|
7858
7866
|
edge_deployment_failed: Optional[int] = Unassigned()
|
|
7859
|
-
stages: Optional[List[DeploymentStageStatusSummary]] = Unassigned()
|
|
7867
|
+
stages: Optional[List[shapes.DeploymentStageStatusSummary]] = Unassigned()
|
|
7860
7868
|
next_token: Optional[str] = Unassigned()
|
|
7861
7869
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
7862
7870
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
@@ -7882,10 +7890,10 @@ class EdgeDeploymentPlan(Base):
|
|
|
7882
7890
|
def create(
|
|
7883
7891
|
cls,
|
|
7884
7892
|
edge_deployment_plan_name: str,
|
|
7885
|
-
model_configs: List[EdgeDeploymentModelConfig],
|
|
7893
|
+
model_configs: List[shapes.EdgeDeploymentModelConfig],
|
|
7886
7894
|
device_fleet_name: Union[str, object],
|
|
7887
|
-
stages: Optional[List[DeploymentStage]] = Unassigned(),
|
|
7888
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
7895
|
+
stages: Optional[List[shapes.DeploymentStage]] = Unassigned(),
|
|
7896
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
7889
7897
|
session: Optional[Session] = None,
|
|
7890
7898
|
region: Optional[str] = None,
|
|
7891
7899
|
) -> Optional["EdgeDeploymentPlan"]:
|
|
@@ -8334,7 +8342,7 @@ class EdgeDeploymentPlan(Base):
|
|
|
8334
8342
|
exclude_devices_deployed_in_other_stage: Optional[bool] = Unassigned(),
|
|
8335
8343
|
session: Optional[Session] = None,
|
|
8336
8344
|
region: Optional[str] = None,
|
|
8337
|
-
) -> ResourceIterator[DeviceDeploymentSummary]:
|
|
8345
|
+
) -> ResourceIterator[shapes.DeviceDeploymentSummary]:
|
|
8338
8346
|
"""
|
|
8339
8347
|
Lists devices allocated to the stage, containing detailed device information and deployment status.
|
|
8340
8348
|
|
|
@@ -8378,7 +8386,7 @@ class EdgeDeploymentPlan(Base):
|
|
|
8378
8386
|
list_method="list_stage_devices",
|
|
8379
8387
|
summaries_key="DeviceDeploymentSummaries",
|
|
8380
8388
|
summary_name="DeviceDeploymentSummary",
|
|
8381
|
-
resource_cls=DeviceDeploymentSummary,
|
|
8389
|
+
resource_cls=shapes.DeviceDeploymentSummary,
|
|
8382
8390
|
list_method_kwargs=operation_input_args,
|
|
8383
8391
|
)
|
|
8384
8392
|
|
|
@@ -8412,7 +8420,7 @@ class EdgePackagingJob(Base):
|
|
|
8412
8420
|
model_name: Optional[str] = Unassigned()
|
|
8413
8421
|
model_version: Optional[str] = Unassigned()
|
|
8414
8422
|
role_arn: Optional[str] = Unassigned()
|
|
8415
|
-
output_config: Optional[EdgeOutputConfig] = Unassigned()
|
|
8423
|
+
output_config: Optional[shapes.EdgeOutputConfig] = Unassigned()
|
|
8416
8424
|
resource_key: Optional[str] = Unassigned()
|
|
8417
8425
|
edge_packaging_job_status: Optional[str] = Unassigned()
|
|
8418
8426
|
edge_packaging_job_status_message: Optional[str] = Unassigned()
|
|
@@ -8420,7 +8428,7 @@ class EdgePackagingJob(Base):
|
|
|
8420
8428
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
8421
8429
|
model_artifact: Optional[str] = Unassigned()
|
|
8422
8430
|
model_signature: Optional[str] = Unassigned()
|
|
8423
|
-
preset_deployment_output: Optional[EdgePresetDeploymentOutput] = Unassigned()
|
|
8431
|
+
preset_deployment_output: Optional[shapes.EdgePresetDeploymentOutput] = Unassigned()
|
|
8424
8432
|
|
|
8425
8433
|
def get_name(self) -> str:
|
|
8426
8434
|
attributes = vars(self)
|
|
@@ -8467,9 +8475,9 @@ class EdgePackagingJob(Base):
|
|
|
8467
8475
|
model_name: Union[str, object],
|
|
8468
8476
|
model_version: str,
|
|
8469
8477
|
role_arn: str,
|
|
8470
|
-
output_config: EdgeOutputConfig,
|
|
8478
|
+
output_config: shapes.EdgeOutputConfig,
|
|
8471
8479
|
resource_key: Optional[str] = Unassigned(),
|
|
8472
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
8480
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
8473
8481
|
session: Optional[Session] = None,
|
|
8474
8482
|
region: Optional[str] = None,
|
|
8475
8483
|
) -> Optional["EdgePackagingJob"]:
|
|
@@ -8823,17 +8831,17 @@ class Endpoint(Base):
|
|
|
8823
8831
|
endpoint_name: str
|
|
8824
8832
|
endpoint_arn: Optional[str] = Unassigned()
|
|
8825
8833
|
endpoint_config_name: Optional[str] = Unassigned()
|
|
8826
|
-
production_variants: Optional[List[ProductionVariantSummary]] = Unassigned()
|
|
8827
|
-
data_capture_config: Optional[DataCaptureConfigSummary] = Unassigned()
|
|
8834
|
+
production_variants: Optional[List[shapes.ProductionVariantSummary]] = Unassigned()
|
|
8835
|
+
data_capture_config: Optional[shapes.DataCaptureConfigSummary] = Unassigned()
|
|
8828
8836
|
endpoint_status: Optional[str] = Unassigned()
|
|
8829
8837
|
failure_reason: Optional[str] = Unassigned()
|
|
8830
8838
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
8831
8839
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
8832
|
-
last_deployment_config: Optional[DeploymentConfig] = Unassigned()
|
|
8833
|
-
async_inference_config: Optional[AsyncInferenceConfig] = Unassigned()
|
|
8834
|
-
pending_deployment_summary: Optional[PendingDeploymentSummary] = Unassigned()
|
|
8835
|
-
explainer_config: Optional[ExplainerConfig] = Unassigned()
|
|
8836
|
-
shadow_production_variants: Optional[List[ProductionVariantSummary]] = Unassigned()
|
|
8840
|
+
last_deployment_config: Optional[shapes.DeploymentConfig] = Unassigned()
|
|
8841
|
+
async_inference_config: Optional[shapes.AsyncInferenceConfig] = Unassigned()
|
|
8842
|
+
pending_deployment_summary: Optional[shapes.PendingDeploymentSummary] = Unassigned()
|
|
8843
|
+
explainer_config: Optional[shapes.ExplainerConfig] = Unassigned()
|
|
8844
|
+
shadow_production_variants: Optional[List[shapes.ProductionVariantSummary]] = Unassigned()
|
|
8837
8845
|
|
|
8838
8846
|
def get_name(self) -> str:
|
|
8839
8847
|
attributes = vars(self)
|
|
@@ -8883,8 +8891,8 @@ class Endpoint(Base):
|
|
|
8883
8891
|
cls,
|
|
8884
8892
|
endpoint_name: str,
|
|
8885
8893
|
endpoint_config_name: Union[str, object],
|
|
8886
|
-
deployment_config: Optional[DeploymentConfig] = Unassigned(),
|
|
8887
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
8894
|
+
deployment_config: Optional[shapes.DeploymentConfig] = Unassigned(),
|
|
8895
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
8888
8896
|
session: Optional[Session] = None,
|
|
8889
8897
|
region: Optional[str] = None,
|
|
8890
8898
|
) -> Optional["Endpoint"]:
|
|
@@ -9036,8 +9044,8 @@ class Endpoint(Base):
|
|
|
9036
9044
|
def update(
|
|
9037
9045
|
self,
|
|
9038
9046
|
retain_all_variant_properties: Optional[bool] = Unassigned(),
|
|
9039
|
-
exclude_retained_variant_properties: Optional[List[VariantProperty]] = Unassigned(),
|
|
9040
|
-
deployment_config: Optional[DeploymentConfig] = Unassigned(),
|
|
9047
|
+
exclude_retained_variant_properties: Optional[List[shapes.VariantProperty]] = Unassigned(),
|
|
9048
|
+
deployment_config: Optional[shapes.DeploymentConfig] = Unassigned(),
|
|
9041
9049
|
retain_deployment_config: Optional[bool] = Unassigned(),
|
|
9042
9050
|
) -> Optional["Endpoint"]:
|
|
9043
9051
|
"""
|
|
@@ -9325,7 +9333,7 @@ class Endpoint(Base):
|
|
|
9325
9333
|
@Base.add_validate_call
|
|
9326
9334
|
def update_weights_and_capacities(
|
|
9327
9335
|
self,
|
|
9328
|
-
desired_weights_and_capacities: List[DesiredWeightAndCapacity],
|
|
9336
|
+
desired_weights_and_capacities: List[shapes.DesiredWeightAndCapacity],
|
|
9329
9337
|
session: Optional[Session] = None,
|
|
9330
9338
|
region: Optional[str] = None,
|
|
9331
9339
|
) -> None:
|
|
@@ -9382,7 +9390,7 @@ class Endpoint(Base):
|
|
|
9382
9390
|
session_id: Optional[str] = Unassigned(),
|
|
9383
9391
|
session: Optional[Session] = None,
|
|
9384
9392
|
region: Optional[str] = None,
|
|
9385
|
-
) -> Optional[InvokeEndpointOutput]:
|
|
9393
|
+
) -> Optional[shapes.InvokeEndpointOutput]:
|
|
9386
9394
|
"""
|
|
9387
9395
|
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint.
|
|
9388
9396
|
|
|
@@ -9402,7 +9410,7 @@ class Endpoint(Base):
|
|
|
9402
9410
|
region: Region name.
|
|
9403
9411
|
|
|
9404
9412
|
Returns:
|
|
9405
|
-
InvokeEndpointOutput
|
|
9413
|
+
shapes.InvokeEndpointOutput
|
|
9406
9414
|
|
|
9407
9415
|
Raises:
|
|
9408
9416
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -9449,7 +9457,7 @@ class Endpoint(Base):
|
|
|
9449
9457
|
logger.debug(f"Response: {response}")
|
|
9450
9458
|
|
|
9451
9459
|
transformed_response = transform(response, "InvokeEndpointOutput")
|
|
9452
|
-
return InvokeEndpointOutput(**transformed_response)
|
|
9460
|
+
return shapes.InvokeEndpointOutput(**transformed_response)
|
|
9453
9461
|
|
|
9454
9462
|
@Base.add_validate_call
|
|
9455
9463
|
def invoke_async(
|
|
@@ -9463,7 +9471,7 @@ class Endpoint(Base):
|
|
|
9463
9471
|
invocation_timeout_seconds: Optional[int] = Unassigned(),
|
|
9464
9472
|
session: Optional[Session] = None,
|
|
9465
9473
|
region: Optional[str] = None,
|
|
9466
|
-
) -> Optional[InvokeEndpointAsyncOutput]:
|
|
9474
|
+
) -> Optional[shapes.InvokeEndpointAsyncOutput]:
|
|
9467
9475
|
"""
|
|
9468
9476
|
After you deploy a model into production using Amazon SageMaker hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner.
|
|
9469
9477
|
|
|
@@ -9479,7 +9487,7 @@ class Endpoint(Base):
|
|
|
9479
9487
|
region: Region name.
|
|
9480
9488
|
|
|
9481
9489
|
Returns:
|
|
9482
|
-
InvokeEndpointAsyncOutput
|
|
9490
|
+
shapes.InvokeEndpointAsyncOutput
|
|
9483
9491
|
|
|
9484
9492
|
Raises:
|
|
9485
9493
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -9519,7 +9527,7 @@ class Endpoint(Base):
|
|
|
9519
9527
|
logger.debug(f"Response: {response}")
|
|
9520
9528
|
|
|
9521
9529
|
transformed_response = transform(response, "InvokeEndpointAsyncOutput")
|
|
9522
|
-
return InvokeEndpointAsyncOutput(**transformed_response)
|
|
9530
|
+
return shapes.InvokeEndpointAsyncOutput(**transformed_response)
|
|
9523
9531
|
|
|
9524
9532
|
@Base.add_validate_call
|
|
9525
9533
|
def invoke_with_response_stream(
|
|
@@ -9535,7 +9543,7 @@ class Endpoint(Base):
|
|
|
9535
9543
|
session_id: Optional[str] = Unassigned(),
|
|
9536
9544
|
session: Optional[Session] = None,
|
|
9537
9545
|
region: Optional[str] = None,
|
|
9538
|
-
) -> Optional[InvokeEndpointWithResponseStreamOutput]:
|
|
9546
|
+
) -> Optional[shapes.InvokeEndpointWithResponseStreamOutput]:
|
|
9539
9547
|
"""
|
|
9540
9548
|
Invokes a model at the specified endpoint to return the inference response as a stream.
|
|
9541
9549
|
|
|
@@ -9553,7 +9561,7 @@ class Endpoint(Base):
|
|
|
9553
9561
|
region: Region name.
|
|
9554
9562
|
|
|
9555
9563
|
Returns:
|
|
9556
|
-
InvokeEndpointWithResponseStreamOutput
|
|
9564
|
+
shapes.InvokeEndpointWithResponseStreamOutput
|
|
9557
9565
|
|
|
9558
9566
|
Raises:
|
|
9559
9567
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -9598,7 +9606,7 @@ class Endpoint(Base):
|
|
|
9598
9606
|
logger.debug(f"Response: {response}")
|
|
9599
9607
|
|
|
9600
9608
|
transformed_response = transform(response, "InvokeEndpointWithResponseStreamOutput")
|
|
9601
|
-
return InvokeEndpointWithResponseStreamOutput(**transformed_response)
|
|
9609
|
+
return shapes.InvokeEndpointWithResponseStreamOutput(**transformed_response)
|
|
9602
9610
|
|
|
9603
9611
|
|
|
9604
9612
|
class EndpointConfig(Base):
|
|
@@ -9623,15 +9631,15 @@ class EndpointConfig(Base):
|
|
|
9623
9631
|
|
|
9624
9632
|
endpoint_config_name: str
|
|
9625
9633
|
endpoint_config_arn: Optional[str] = Unassigned()
|
|
9626
|
-
production_variants: Optional[List[ProductionVariant]] = Unassigned()
|
|
9627
|
-
data_capture_config: Optional[DataCaptureConfig] = Unassigned()
|
|
9634
|
+
production_variants: Optional[List[shapes.ProductionVariant]] = Unassigned()
|
|
9635
|
+
data_capture_config: Optional[shapes.DataCaptureConfig] = Unassigned()
|
|
9628
9636
|
kms_key_id: Optional[str] = Unassigned()
|
|
9629
9637
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
9630
|
-
async_inference_config: Optional[AsyncInferenceConfig] = Unassigned()
|
|
9631
|
-
explainer_config: Optional[ExplainerConfig] = Unassigned()
|
|
9632
|
-
shadow_production_variants: Optional[List[ProductionVariant]] = Unassigned()
|
|
9638
|
+
async_inference_config: Optional[shapes.AsyncInferenceConfig] = Unassigned()
|
|
9639
|
+
explainer_config: Optional[shapes.ExplainerConfig] = Unassigned()
|
|
9640
|
+
shadow_production_variants: Optional[List[shapes.ProductionVariant]] = Unassigned()
|
|
9633
9641
|
execution_role_arn: Optional[str] = Unassigned()
|
|
9634
|
-
vpc_config: Optional[VpcConfig] = Unassigned()
|
|
9642
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned()
|
|
9635
9643
|
enable_network_isolation: Optional[bool] = Unassigned()
|
|
9636
9644
|
|
|
9637
9645
|
def get_name(self) -> str:
|
|
@@ -9687,15 +9695,15 @@ class EndpointConfig(Base):
|
|
|
9687
9695
|
def create(
|
|
9688
9696
|
cls,
|
|
9689
9697
|
endpoint_config_name: str,
|
|
9690
|
-
production_variants: List[ProductionVariant],
|
|
9691
|
-
data_capture_config: Optional[DataCaptureConfig] = Unassigned(),
|
|
9692
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
9698
|
+
production_variants: List[shapes.ProductionVariant],
|
|
9699
|
+
data_capture_config: Optional[shapes.DataCaptureConfig] = Unassigned(),
|
|
9700
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
9693
9701
|
kms_key_id: Optional[str] = Unassigned(),
|
|
9694
|
-
async_inference_config: Optional[AsyncInferenceConfig] = Unassigned(),
|
|
9695
|
-
explainer_config: Optional[ExplainerConfig] = Unassigned(),
|
|
9696
|
-
shadow_production_variants: Optional[List[ProductionVariant]] = Unassigned(),
|
|
9702
|
+
async_inference_config: Optional[shapes.AsyncInferenceConfig] = Unassigned(),
|
|
9703
|
+
explainer_config: Optional[shapes.ExplainerConfig] = Unassigned(),
|
|
9704
|
+
shadow_production_variants: Optional[List[shapes.ProductionVariant]] = Unassigned(),
|
|
9697
9705
|
execution_role_arn: Optional[str] = Unassigned(),
|
|
9698
|
-
vpc_config: Optional[VpcConfig] = Unassigned(),
|
|
9706
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned(),
|
|
9699
9707
|
enable_network_isolation: Optional[bool] = Unassigned(),
|
|
9700
9708
|
session: Optional[Session] = None,
|
|
9701
9709
|
region: Optional[str] = None,
|
|
@@ -9976,12 +9984,12 @@ class Experiment(Base):
|
|
|
9976
9984
|
experiment_name: str
|
|
9977
9985
|
experiment_arn: Optional[str] = Unassigned()
|
|
9978
9986
|
display_name: Optional[str] = Unassigned()
|
|
9979
|
-
source: Optional[ExperimentSource] = Unassigned()
|
|
9987
|
+
source: Optional[shapes.ExperimentSource] = Unassigned()
|
|
9980
9988
|
description: Optional[str] = Unassigned()
|
|
9981
9989
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
9982
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
9990
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
9983
9991
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
9984
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
9992
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
9985
9993
|
|
|
9986
9994
|
def get_name(self) -> str:
|
|
9987
9995
|
attributes = vars(self)
|
|
@@ -10006,7 +10014,7 @@ class Experiment(Base):
|
|
|
10006
10014
|
experiment_name: str,
|
|
10007
10015
|
display_name: Optional[str] = Unassigned(),
|
|
10008
10016
|
description: Optional[str] = Unassigned(),
|
|
10009
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
10017
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
10010
10018
|
session: Optional[Session] = None,
|
|
10011
10019
|
region: Optional[str] = None,
|
|
10012
10020
|
) -> Optional["Experiment"]:
|
|
@@ -10328,16 +10336,16 @@ class FeatureGroup(Base):
|
|
|
10328
10336
|
feature_group_arn: Optional[str] = Unassigned()
|
|
10329
10337
|
record_identifier_feature_name: Optional[str] = Unassigned()
|
|
10330
10338
|
event_time_feature_name: Optional[str] = Unassigned()
|
|
10331
|
-
feature_definitions: Optional[List[FeatureDefinition]] = Unassigned()
|
|
10339
|
+
feature_definitions: Optional[List[shapes.FeatureDefinition]] = Unassigned()
|
|
10332
10340
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
10333
10341
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
10334
|
-
online_store_config: Optional[OnlineStoreConfig] = Unassigned()
|
|
10335
|
-
offline_store_config: Optional[OfflineStoreConfig] = Unassigned()
|
|
10336
|
-
throughput_config: Optional[ThroughputConfigDescription] = Unassigned()
|
|
10342
|
+
online_store_config: Optional[shapes.OnlineStoreConfig] = Unassigned()
|
|
10343
|
+
offline_store_config: Optional[shapes.OfflineStoreConfig] = Unassigned()
|
|
10344
|
+
throughput_config: Optional[shapes.ThroughputConfigDescription] = Unassigned()
|
|
10337
10345
|
role_arn: Optional[str] = Unassigned()
|
|
10338
10346
|
feature_group_status: Optional[str] = Unassigned()
|
|
10339
|
-
offline_store_status: Optional[OfflineStoreStatus] = Unassigned()
|
|
10340
|
-
last_update_status: Optional[LastUpdateStatus] = Unassigned()
|
|
10347
|
+
offline_store_status: Optional[shapes.OfflineStoreStatus] = Unassigned()
|
|
10348
|
+
last_update_status: Optional[shapes.LastUpdateStatus] = Unassigned()
|
|
10341
10349
|
failure_reason: Optional[str] = Unassigned()
|
|
10342
10350
|
description: Optional[str] = Unassigned()
|
|
10343
10351
|
next_token: Optional[str] = Unassigned()
|
|
@@ -10390,13 +10398,13 @@ class FeatureGroup(Base):
|
|
|
10390
10398
|
feature_group_name: str,
|
|
10391
10399
|
record_identifier_feature_name: str,
|
|
10392
10400
|
event_time_feature_name: str,
|
|
10393
|
-
feature_definitions: List[FeatureDefinition],
|
|
10394
|
-
online_store_config: Optional[OnlineStoreConfig] = Unassigned(),
|
|
10395
|
-
offline_store_config: Optional[OfflineStoreConfig] = Unassigned(),
|
|
10396
|
-
throughput_config: Optional[ThroughputConfig] = Unassigned(),
|
|
10401
|
+
feature_definitions: List[shapes.FeatureDefinition],
|
|
10402
|
+
online_store_config: Optional[shapes.OnlineStoreConfig] = Unassigned(),
|
|
10403
|
+
offline_store_config: Optional[shapes.OfflineStoreConfig] = Unassigned(),
|
|
10404
|
+
throughput_config: Optional[shapes.ThroughputConfig] = Unassigned(),
|
|
10397
10405
|
role_arn: Optional[str] = Unassigned(),
|
|
10398
10406
|
description: Optional[str] = Unassigned(),
|
|
10399
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
10407
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
10400
10408
|
session: Optional[Session] = None,
|
|
10401
10409
|
region: Optional[str] = None,
|
|
10402
10410
|
) -> Optional["FeatureGroup"]:
|
|
@@ -10566,9 +10574,9 @@ class FeatureGroup(Base):
|
|
|
10566
10574
|
@Base.add_validate_call
|
|
10567
10575
|
def update(
|
|
10568
10576
|
self,
|
|
10569
|
-
feature_additions: Optional[List[FeatureDefinition]] = Unassigned(),
|
|
10570
|
-
online_store_config: Optional[OnlineStoreConfigUpdate] = Unassigned(),
|
|
10571
|
-
throughput_config: Optional[ThroughputConfigUpdate] = Unassigned(),
|
|
10577
|
+
feature_additions: Optional[List[shapes.FeatureDefinition]] = Unassigned(),
|
|
10578
|
+
online_store_config: Optional[shapes.OnlineStoreConfigUpdate] = Unassigned(),
|
|
10579
|
+
throughput_config: Optional[shapes.ThroughputConfigUpdate] = Unassigned(),
|
|
10572
10580
|
) -> Optional["FeatureGroup"]:
|
|
10573
10581
|
"""
|
|
10574
10582
|
Update a FeatureGroup resource
|
|
@@ -10848,7 +10856,7 @@ class FeatureGroup(Base):
|
|
|
10848
10856
|
expiration_time_response: Optional[str] = Unassigned(),
|
|
10849
10857
|
session: Optional[Session] = None,
|
|
10850
10858
|
region: Optional[str] = None,
|
|
10851
|
-
) -> Optional[GetRecordResponse]:
|
|
10859
|
+
) -> Optional[shapes.GetRecordResponse]:
|
|
10852
10860
|
"""
|
|
10853
10861
|
Use for OnlineStore serving from a FeatureStore.
|
|
10854
10862
|
|
|
@@ -10860,7 +10868,7 @@ class FeatureGroup(Base):
|
|
|
10860
10868
|
region: Region name.
|
|
10861
10869
|
|
|
10862
10870
|
Returns:
|
|
10863
|
-
GetRecordResponse
|
|
10871
|
+
shapes.GetRecordResponse
|
|
10864
10872
|
|
|
10865
10873
|
Raises:
|
|
10866
10874
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -10898,14 +10906,14 @@ class FeatureGroup(Base):
|
|
|
10898
10906
|
logger.debug(f"Response: {response}")
|
|
10899
10907
|
|
|
10900
10908
|
transformed_response = transform(response, "GetRecordResponse")
|
|
10901
|
-
return GetRecordResponse(**transformed_response)
|
|
10909
|
+
return shapes.GetRecordResponse(**transformed_response)
|
|
10902
10910
|
|
|
10903
10911
|
@Base.add_validate_call
|
|
10904
10912
|
def put_record(
|
|
10905
10913
|
self,
|
|
10906
|
-
record: List[FeatureValue],
|
|
10914
|
+
record: List[shapes.FeatureValue],
|
|
10907
10915
|
target_stores: Optional[List[str]] = Unassigned(),
|
|
10908
|
-
ttl_duration: Optional[TtlDuration] = Unassigned(),
|
|
10916
|
+
ttl_duration: Optional[shapes.TtlDuration] = Unassigned(),
|
|
10909
10917
|
session: Optional[Session] = None,
|
|
10910
10918
|
region: Optional[str] = None,
|
|
10911
10919
|
) -> None:
|
|
@@ -11012,11 +11020,11 @@ class FeatureGroup(Base):
|
|
|
11012
11020
|
@Base.add_validate_call
|
|
11013
11021
|
def batch_get_record(
|
|
11014
11022
|
self,
|
|
11015
|
-
identifiers: List[BatchGetRecordIdentifier],
|
|
11023
|
+
identifiers: List[shapes.BatchGetRecordIdentifier],
|
|
11016
11024
|
expiration_time_response: Optional[str] = Unassigned(),
|
|
11017
11025
|
session: Optional[Session] = None,
|
|
11018
11026
|
region: Optional[str] = None,
|
|
11019
|
-
) -> Optional[BatchGetRecordResponse]:
|
|
11027
|
+
) -> Optional[shapes.BatchGetRecordResponse]:
|
|
11020
11028
|
"""
|
|
11021
11029
|
Retrieves a batch of Records from a FeatureGroup.
|
|
11022
11030
|
|
|
@@ -11027,7 +11035,7 @@ class FeatureGroup(Base):
|
|
|
11027
11035
|
region: Region name.
|
|
11028
11036
|
|
|
11029
11037
|
Returns:
|
|
11030
|
-
BatchGetRecordResponse
|
|
11038
|
+
shapes.BatchGetRecordResponse
|
|
11031
11039
|
|
|
11032
11040
|
Raises:
|
|
11033
11041
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -11062,7 +11070,7 @@ class FeatureGroup(Base):
|
|
|
11062
11070
|
logger.debug(f"Response: {response}")
|
|
11063
11071
|
|
|
11064
11072
|
transformed_response = transform(response, "BatchGetRecordResponse")
|
|
11065
|
-
return BatchGetRecordResponse(**transformed_response)
|
|
11073
|
+
return shapes.BatchGetRecordResponse(**transformed_response)
|
|
11066
11074
|
|
|
11067
11075
|
|
|
11068
11076
|
class FeatureMetadata(Base):
|
|
@@ -11088,7 +11096,7 @@ class FeatureMetadata(Base):
|
|
|
11088
11096
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
11089
11097
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
11090
11098
|
description: Optional[str] = Unassigned()
|
|
11091
|
-
parameters: Optional[List[FeatureParameter]] = Unassigned()
|
|
11099
|
+
parameters: Optional[List[shapes.FeatureParameter]] = Unassigned()
|
|
11092
11100
|
|
|
11093
11101
|
def get_name(self) -> str:
|
|
11094
11102
|
attributes = vars(self)
|
|
@@ -11202,7 +11210,7 @@ class FeatureMetadata(Base):
|
|
|
11202
11210
|
def update(
|
|
11203
11211
|
self,
|
|
11204
11212
|
description: Optional[str] = Unassigned(),
|
|
11205
|
-
parameter_additions: Optional[List[FeatureParameter]] = Unassigned(),
|
|
11213
|
+
parameter_additions: Optional[List[shapes.FeatureParameter]] = Unassigned(),
|
|
11206
11214
|
parameter_removals: Optional[List[str]] = Unassigned(),
|
|
11207
11215
|
) -> Optional["FeatureMetadata"]:
|
|
11208
11216
|
"""
|
|
@@ -11273,10 +11281,10 @@ class FlowDefinition(Base):
|
|
|
11273
11281
|
flow_definition_arn: Optional[str] = Unassigned()
|
|
11274
11282
|
flow_definition_status: Optional[str] = Unassigned()
|
|
11275
11283
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
11276
|
-
human_loop_request_source: Optional[HumanLoopRequestSource] = Unassigned()
|
|
11277
|
-
human_loop_activation_config: Optional[HumanLoopActivationConfig] = Unassigned()
|
|
11278
|
-
human_loop_config: Optional[HumanLoopConfig] = Unassigned()
|
|
11279
|
-
output_config: Optional[FlowDefinitionOutputConfig] = Unassigned()
|
|
11284
|
+
human_loop_request_source: Optional[shapes.HumanLoopRequestSource] = Unassigned()
|
|
11285
|
+
human_loop_activation_config: Optional[shapes.HumanLoopActivationConfig] = Unassigned()
|
|
11286
|
+
human_loop_config: Optional[shapes.HumanLoopConfig] = Unassigned()
|
|
11287
|
+
output_config: Optional[shapes.FlowDefinitionOutputConfig] = Unassigned()
|
|
11280
11288
|
role_arn: Optional[str] = Unassigned()
|
|
11281
11289
|
failure_reason: Optional[str] = Unassigned()
|
|
11282
11290
|
|
|
@@ -11321,12 +11329,12 @@ class FlowDefinition(Base):
|
|
|
11321
11329
|
def create(
|
|
11322
11330
|
cls,
|
|
11323
11331
|
flow_definition_name: str,
|
|
11324
|
-
output_config: FlowDefinitionOutputConfig,
|
|
11332
|
+
output_config: shapes.FlowDefinitionOutputConfig,
|
|
11325
11333
|
role_arn: str,
|
|
11326
|
-
human_loop_request_source: Optional[HumanLoopRequestSource] = Unassigned(),
|
|
11327
|
-
human_loop_activation_config: Optional[HumanLoopActivationConfig] = Unassigned(),
|
|
11328
|
-
human_loop_config: Optional[HumanLoopConfig] = Unassigned(),
|
|
11329
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
11334
|
+
human_loop_request_source: Optional[shapes.HumanLoopRequestSource] = Unassigned(),
|
|
11335
|
+
human_loop_activation_config: Optional[shapes.HumanLoopActivationConfig] = Unassigned(),
|
|
11336
|
+
human_loop_config: Optional[shapes.HumanLoopConfig] = Unassigned(),
|
|
11337
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
11330
11338
|
session: Optional[Session] = None,
|
|
11331
11339
|
region: Optional[str] = None,
|
|
11332
11340
|
) -> Optional["FlowDefinition"]:
|
|
@@ -11721,7 +11729,7 @@ class Hub(Base):
|
|
|
11721
11729
|
hub_display_name: Optional[str] = Unassigned()
|
|
11722
11730
|
hub_description: Optional[str] = Unassigned()
|
|
11723
11731
|
hub_search_keywords: Optional[List[str]] = Unassigned()
|
|
11724
|
-
s3_storage_config: Optional[HubS3StorageConfig] = Unassigned()
|
|
11732
|
+
s3_storage_config: Optional[shapes.HubS3StorageConfig] = Unassigned()
|
|
11725
11733
|
hub_status: Optional[str] = Unassigned()
|
|
11726
11734
|
failure_reason: Optional[str] = Unassigned()
|
|
11727
11735
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
@@ -11767,8 +11775,8 @@ class Hub(Base):
|
|
|
11767
11775
|
hub_description: str,
|
|
11768
11776
|
hub_display_name: Optional[str] = Unassigned(),
|
|
11769
11777
|
hub_search_keywords: Optional[List[str]] = Unassigned(),
|
|
11770
|
-
s3_storage_config: Optional[HubS3StorageConfig] = Unassigned(),
|
|
11771
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
11778
|
+
s3_storage_config: Optional[shapes.HubS3StorageConfig] = Unassigned(),
|
|
11779
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
11772
11780
|
session: Optional[Session] = None,
|
|
11773
11781
|
region: Optional[str] = None,
|
|
11774
11782
|
) -> Optional["Hub"]:
|
|
@@ -12244,7 +12252,7 @@ class HubContent(Base):
|
|
|
12244
12252
|
reference_min_version: Optional[str] = Unassigned()
|
|
12245
12253
|
support_status: Optional[str] = Unassigned()
|
|
12246
12254
|
hub_content_search_keywords: Optional[List[str]] = Unassigned()
|
|
12247
|
-
hub_content_dependencies: Optional[List[HubContentDependency]] = Unassigned()
|
|
12255
|
+
hub_content_dependencies: Optional[List[shapes.HubContentDependency]] = Unassigned()
|
|
12248
12256
|
hub_content_status: Optional[str] = Unassigned()
|
|
12249
12257
|
failure_reason: Optional[str] = Unassigned()
|
|
12250
12258
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
@@ -12527,7 +12535,7 @@ class HubContent(Base):
|
|
|
12527
12535
|
hub_content_markdown: Optional[str] = Unassigned(),
|
|
12528
12536
|
support_status: Optional[str] = Unassigned(),
|
|
12529
12537
|
hub_content_search_keywords: Optional[List[str]] = Unassigned(),
|
|
12530
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
12538
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
12531
12539
|
session: Optional[Session] = None,
|
|
12532
12540
|
region: Optional[str] = None,
|
|
12533
12541
|
) -> Optional["HubContent"]:
|
|
@@ -12698,7 +12706,7 @@ class HubContentReference(Base):
|
|
|
12698
12706
|
hub_content_arn: str
|
|
12699
12707
|
hub_content_name: Optional[Union[str, object]] = Unassigned()
|
|
12700
12708
|
min_version: Optional[str] = Unassigned()
|
|
12701
|
-
tags: Optional[List[Tag]] = Unassigned()
|
|
12709
|
+
tags: Optional[List[shapes.Tag]] = Unassigned()
|
|
12702
12710
|
|
|
12703
12711
|
def get_name(self) -> str:
|
|
12704
12712
|
attributes = vars(self)
|
|
@@ -12724,7 +12732,7 @@ class HubContentReference(Base):
|
|
|
12724
12732
|
sage_maker_public_hub_content_arn: str,
|
|
12725
12733
|
hub_content_name: Optional[Union[str, object]] = Unassigned(),
|
|
12726
12734
|
min_version: Optional[str] = Unassigned(),
|
|
12727
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
12735
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
12728
12736
|
) -> Optional["HubContentReference"]:
|
|
12729
12737
|
"""
|
|
12730
12738
|
Create a HubContentReference resource
|
|
@@ -12885,7 +12893,7 @@ class HumanTaskUi(Base):
|
|
|
12885
12893
|
human_task_ui_arn: Optional[str] = Unassigned()
|
|
12886
12894
|
human_task_ui_status: Optional[str] = Unassigned()
|
|
12887
12895
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
12888
|
-
ui_template: Optional[UiTemplateInfo] = Unassigned()
|
|
12896
|
+
ui_template: Optional[shapes.UiTemplateInfo] = Unassigned()
|
|
12889
12897
|
|
|
12890
12898
|
def get_name(self) -> str:
|
|
12891
12899
|
attributes = vars(self)
|
|
@@ -12908,8 +12916,8 @@ class HumanTaskUi(Base):
|
|
|
12908
12916
|
def create(
|
|
12909
12917
|
cls,
|
|
12910
12918
|
human_task_ui_name: str,
|
|
12911
|
-
ui_template: UiTemplate,
|
|
12912
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
12919
|
+
ui_template: shapes.UiTemplate,
|
|
12920
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
12913
12921
|
session: Optional[Session] = None,
|
|
12914
12922
|
region: Optional[str] = None,
|
|
12915
12923
|
) -> Optional["HumanTaskUi"]:
|
|
@@ -13293,22 +13301,26 @@ class HyperParameterTuningJob(Base):
|
|
|
13293
13301
|
|
|
13294
13302
|
hyper_parameter_tuning_job_name: str
|
|
13295
13303
|
hyper_parameter_tuning_job_arn: Optional[str] = Unassigned()
|
|
13296
|
-
hyper_parameter_tuning_job_config: Optional[HyperParameterTuningJobConfig] = Unassigned()
|
|
13297
|
-
training_job_definition: Optional[HyperParameterTrainingJobDefinition] = Unassigned()
|
|
13298
|
-
training_job_definitions: Optional[List[HyperParameterTrainingJobDefinition]] =
|
|
13304
|
+
hyper_parameter_tuning_job_config: Optional[shapes.HyperParameterTuningJobConfig] = Unassigned()
|
|
13305
|
+
training_job_definition: Optional[shapes.HyperParameterTrainingJobDefinition] = Unassigned()
|
|
13306
|
+
training_job_definitions: Optional[List[shapes.HyperParameterTrainingJobDefinition]] = (
|
|
13307
|
+
Unassigned()
|
|
13308
|
+
)
|
|
13299
13309
|
hyper_parameter_tuning_job_status: Optional[str] = Unassigned()
|
|
13300
13310
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
13301
13311
|
hyper_parameter_tuning_end_time: Optional[datetime.datetime] = Unassigned()
|
|
13302
13312
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
13303
|
-
training_job_status_counters: Optional[TrainingJobStatusCounters] = Unassigned()
|
|
13304
|
-
objective_status_counters: Optional[ObjectiveStatusCounters] = Unassigned()
|
|
13305
|
-
best_training_job: Optional[HyperParameterTrainingJobSummary] = Unassigned()
|
|
13306
|
-
overall_best_training_job: Optional[HyperParameterTrainingJobSummary] = Unassigned()
|
|
13307
|
-
warm_start_config: Optional[HyperParameterTuningJobWarmStartConfig] = Unassigned()
|
|
13308
|
-
autotune: Optional[Autotune] = Unassigned()
|
|
13313
|
+
training_job_status_counters: Optional[shapes.TrainingJobStatusCounters] = Unassigned()
|
|
13314
|
+
objective_status_counters: Optional[shapes.ObjectiveStatusCounters] = Unassigned()
|
|
13315
|
+
best_training_job: Optional[shapes.HyperParameterTrainingJobSummary] = Unassigned()
|
|
13316
|
+
overall_best_training_job: Optional[shapes.HyperParameterTrainingJobSummary] = Unassigned()
|
|
13317
|
+
warm_start_config: Optional[shapes.HyperParameterTuningJobWarmStartConfig] = Unassigned()
|
|
13318
|
+
autotune: Optional[shapes.Autotune] = Unassigned()
|
|
13309
13319
|
failure_reason: Optional[str] = Unassigned()
|
|
13310
|
-
tuning_job_completion_details: Optional[HyperParameterTuningJobCompletionDetails] =
|
|
13311
|
-
|
|
13320
|
+
tuning_job_completion_details: Optional[shapes.HyperParameterTuningJobCompletionDetails] = (
|
|
13321
|
+
Unassigned()
|
|
13322
|
+
)
|
|
13323
|
+
consumed_resources: Optional[shapes.HyperParameterTuningJobConsumedResources] = Unassigned()
|
|
13312
13324
|
|
|
13313
13325
|
def get_name(self) -> str:
|
|
13314
13326
|
attributes = vars(self)
|
|
@@ -13362,14 +13374,16 @@ class HyperParameterTuningJob(Base):
|
|
|
13362
13374
|
def create(
|
|
13363
13375
|
cls,
|
|
13364
13376
|
hyper_parameter_tuning_job_name: str,
|
|
13365
|
-
hyper_parameter_tuning_job_config: HyperParameterTuningJobConfig,
|
|
13366
|
-
training_job_definition: Optional[
|
|
13377
|
+
hyper_parameter_tuning_job_config: shapes.HyperParameterTuningJobConfig,
|
|
13378
|
+
training_job_definition: Optional[
|
|
13379
|
+
shapes.HyperParameterTrainingJobDefinition
|
|
13380
|
+
] = Unassigned(),
|
|
13367
13381
|
training_job_definitions: Optional[
|
|
13368
|
-
List[HyperParameterTrainingJobDefinition]
|
|
13382
|
+
List[shapes.HyperParameterTrainingJobDefinition]
|
|
13369
13383
|
] = Unassigned(),
|
|
13370
|
-
warm_start_config: Optional[HyperParameterTuningJobWarmStartConfig] = Unassigned(),
|
|
13371
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
13372
|
-
autotune: Optional[Autotune] = Unassigned(),
|
|
13384
|
+
warm_start_config: Optional[shapes.HyperParameterTuningJobWarmStartConfig] = Unassigned(),
|
|
13385
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
13386
|
+
autotune: Optional[shapes.Autotune] = Unassigned(),
|
|
13373
13387
|
session: Optional[Session] = None,
|
|
13374
13388
|
region: Optional[str] = None,
|
|
13375
13389
|
) -> Optional["HyperParameterTuningJob"]:
|
|
@@ -13799,7 +13813,7 @@ class HyperParameterTuningJob(Base):
|
|
|
13799
13813
|
sort_order: Optional[str] = Unassigned(),
|
|
13800
13814
|
session: Optional[Session] = None,
|
|
13801
13815
|
region: Optional[str] = None,
|
|
13802
|
-
) -> ResourceIterator[HyperParameterTrainingJobSummary]:
|
|
13816
|
+
) -> ResourceIterator[shapes.HyperParameterTrainingJobSummary]:
|
|
13803
13817
|
"""
|
|
13804
13818
|
Gets a list of TrainingJobSummary objects that describe the training jobs that a hyperparameter tuning job launched.
|
|
13805
13819
|
|
|
@@ -13847,7 +13861,7 @@ class HyperParameterTuningJob(Base):
|
|
|
13847
13861
|
list_method="list_training_jobs_for_hyper_parameter_tuning_job",
|
|
13848
13862
|
summaries_key="TrainingJobSummaries",
|
|
13849
13863
|
summary_name="HyperParameterTrainingJobSummary",
|
|
13850
|
-
resource_cls=HyperParameterTrainingJobSummary,
|
|
13864
|
+
resource_cls=shapes.HyperParameterTrainingJobSummary,
|
|
13851
13865
|
list_method_kwargs=operation_input_args,
|
|
13852
13866
|
)
|
|
13853
13867
|
|
|
@@ -13917,7 +13931,7 @@ class Image(Base):
|
|
|
13917
13931
|
role_arn: str,
|
|
13918
13932
|
description: Optional[str] = Unassigned(),
|
|
13919
13933
|
display_name: Optional[str] = Unassigned(),
|
|
13920
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
13934
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
13921
13935
|
session: Optional[Session] = None,
|
|
13922
13936
|
region: Optional[str] = None,
|
|
13923
13937
|
) -> Optional["Image"]:
|
|
@@ -14928,12 +14942,12 @@ class InferenceComponent(Base):
|
|
|
14928
14942
|
endpoint_arn: Optional[str] = Unassigned()
|
|
14929
14943
|
variant_name: Optional[str] = Unassigned()
|
|
14930
14944
|
failure_reason: Optional[str] = Unassigned()
|
|
14931
|
-
specification: Optional[InferenceComponentSpecificationSummary] = Unassigned()
|
|
14932
|
-
runtime_config: Optional[InferenceComponentRuntimeConfigSummary] = Unassigned()
|
|
14945
|
+
specification: Optional[shapes.InferenceComponentSpecificationSummary] = Unassigned()
|
|
14946
|
+
runtime_config: Optional[shapes.InferenceComponentRuntimeConfigSummary] = Unassigned()
|
|
14933
14947
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
14934
14948
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
14935
14949
|
inference_component_status: Optional[str] = Unassigned()
|
|
14936
|
-
last_deployment_config: Optional[InferenceComponentDeploymentConfig] = Unassigned()
|
|
14950
|
+
last_deployment_config: Optional[shapes.InferenceComponentDeploymentConfig] = Unassigned()
|
|
14937
14951
|
|
|
14938
14952
|
def get_name(self) -> str:
|
|
14939
14953
|
attributes = vars(self)
|
|
@@ -14957,10 +14971,10 @@ class InferenceComponent(Base):
|
|
|
14957
14971
|
cls,
|
|
14958
14972
|
inference_component_name: str,
|
|
14959
14973
|
endpoint_name: Union[str, object],
|
|
14960
|
-
specification: InferenceComponentSpecification,
|
|
14974
|
+
specification: shapes.InferenceComponentSpecification,
|
|
14961
14975
|
variant_name: Optional[str] = Unassigned(),
|
|
14962
|
-
runtime_config: Optional[InferenceComponentRuntimeConfig] = Unassigned(),
|
|
14963
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
14976
|
+
runtime_config: Optional[shapes.InferenceComponentRuntimeConfig] = Unassigned(),
|
|
14977
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
14964
14978
|
session: Optional[Session] = None,
|
|
14965
14979
|
region: Optional[str] = None,
|
|
14966
14980
|
) -> Optional["InferenceComponent"]:
|
|
@@ -15116,9 +15130,9 @@ class InferenceComponent(Base):
|
|
|
15116
15130
|
@Base.add_validate_call
|
|
15117
15131
|
def update(
|
|
15118
15132
|
self,
|
|
15119
|
-
specification: Optional[InferenceComponentSpecification] = Unassigned(),
|
|
15120
|
-
runtime_config: Optional[InferenceComponentRuntimeConfig] = Unassigned(),
|
|
15121
|
-
deployment_config: Optional[InferenceComponentDeploymentConfig] = Unassigned(),
|
|
15133
|
+
specification: Optional[shapes.InferenceComponentSpecification] = Unassigned(),
|
|
15134
|
+
runtime_config: Optional[shapes.InferenceComponentRuntimeConfig] = Unassigned(),
|
|
15135
|
+
deployment_config: Optional[shapes.InferenceComponentDeploymentConfig] = Unassigned(),
|
|
15122
15136
|
) -> Optional["InferenceComponent"]:
|
|
15123
15137
|
"""
|
|
15124
15138
|
Update a InferenceComponent resource
|
|
@@ -15404,7 +15418,7 @@ class InferenceComponent(Base):
|
|
|
15404
15418
|
@Base.add_validate_call
|
|
15405
15419
|
def update_runtime_configs(
|
|
15406
15420
|
self,
|
|
15407
|
-
desired_runtime_config: InferenceComponentRuntimeConfig,
|
|
15421
|
+
desired_runtime_config: shapes.InferenceComponentRuntimeConfig,
|
|
15408
15422
|
session: Optional[Session] = None,
|
|
15409
15423
|
region: Optional[str] = None,
|
|
15410
15424
|
) -> None:
|
|
@@ -15473,7 +15487,7 @@ class InferenceExperiment(Base):
|
|
|
15473
15487
|
name: str
|
|
15474
15488
|
arn: Optional[str] = Unassigned()
|
|
15475
15489
|
type: Optional[str] = Unassigned()
|
|
15476
|
-
schedule: Optional[InferenceExperimentSchedule] = Unassigned()
|
|
15490
|
+
schedule: Optional[shapes.InferenceExperimentSchedule] = Unassigned()
|
|
15477
15491
|
status: Optional[str] = Unassigned()
|
|
15478
15492
|
status_reason: Optional[str] = Unassigned()
|
|
15479
15493
|
description: Optional[str] = Unassigned()
|
|
@@ -15481,10 +15495,10 @@ class InferenceExperiment(Base):
|
|
|
15481
15495
|
completion_time: Optional[datetime.datetime] = Unassigned()
|
|
15482
15496
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
15483
15497
|
role_arn: Optional[str] = Unassigned()
|
|
15484
|
-
endpoint_metadata: Optional[EndpointMetadata] = Unassigned()
|
|
15485
|
-
model_variants: Optional[List[ModelVariantConfigSummary]] = Unassigned()
|
|
15486
|
-
data_storage_config: Optional[InferenceExperimentDataStorageConfig] = Unassigned()
|
|
15487
|
-
shadow_mode_config: Optional[ShadowModeConfig] = Unassigned()
|
|
15498
|
+
endpoint_metadata: Optional[shapes.EndpointMetadata] = Unassigned()
|
|
15499
|
+
model_variants: Optional[List[shapes.ModelVariantConfigSummary]] = Unassigned()
|
|
15500
|
+
data_storage_config: Optional[shapes.InferenceExperimentDataStorageConfig] = Unassigned()
|
|
15501
|
+
shadow_mode_config: Optional[shapes.ShadowModeConfig] = Unassigned()
|
|
15488
15502
|
kms_key: Optional[str] = Unassigned()
|
|
15489
15503
|
|
|
15490
15504
|
def get_name(self) -> str:
|
|
@@ -15529,13 +15543,13 @@ class InferenceExperiment(Base):
|
|
|
15529
15543
|
type: str,
|
|
15530
15544
|
role_arn: str,
|
|
15531
15545
|
endpoint_name: Union[str, object],
|
|
15532
|
-
model_variants: List[ModelVariantConfig],
|
|
15533
|
-
shadow_mode_config: ShadowModeConfig,
|
|
15534
|
-
schedule: Optional[InferenceExperimentSchedule] = Unassigned(),
|
|
15546
|
+
model_variants: List[shapes.ModelVariantConfig],
|
|
15547
|
+
shadow_mode_config: shapes.ShadowModeConfig,
|
|
15548
|
+
schedule: Optional[shapes.InferenceExperimentSchedule] = Unassigned(),
|
|
15535
15549
|
description: Optional[str] = Unassigned(),
|
|
15536
|
-
data_storage_config: Optional[InferenceExperimentDataStorageConfig] = Unassigned(),
|
|
15550
|
+
data_storage_config: Optional[shapes.InferenceExperimentDataStorageConfig] = Unassigned(),
|
|
15537
15551
|
kms_key: Optional[str] = Unassigned(),
|
|
15538
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
15552
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
15539
15553
|
session: Optional[Session] = None,
|
|
15540
15554
|
region: Optional[str] = None,
|
|
15541
15555
|
) -> Optional["InferenceExperiment"]:
|
|
@@ -15703,11 +15717,11 @@ class InferenceExperiment(Base):
|
|
|
15703
15717
|
@Base.add_validate_call
|
|
15704
15718
|
def update(
|
|
15705
15719
|
self,
|
|
15706
|
-
schedule: Optional[InferenceExperimentSchedule] = Unassigned(),
|
|
15720
|
+
schedule: Optional[shapes.InferenceExperimentSchedule] = Unassigned(),
|
|
15707
15721
|
description: Optional[str] = Unassigned(),
|
|
15708
|
-
model_variants: Optional[List[ModelVariantConfig]] = Unassigned(),
|
|
15709
|
-
data_storage_config: Optional[InferenceExperimentDataStorageConfig] = Unassigned(),
|
|
15710
|
-
shadow_mode_config: Optional[ShadowModeConfig] = Unassigned(),
|
|
15722
|
+
model_variants: Optional[List[shapes.ModelVariantConfig]] = Unassigned(),
|
|
15723
|
+
data_storage_config: Optional[shapes.InferenceExperimentDataStorageConfig] = Unassigned(),
|
|
15724
|
+
shadow_mode_config: Optional[shapes.ShadowModeConfig] = Unassigned(),
|
|
15711
15725
|
) -> Optional["InferenceExperiment"]:
|
|
15712
15726
|
"""
|
|
15713
15727
|
Update a InferenceExperiment resource
|
|
@@ -15997,10 +16011,10 @@ class InferenceRecommendationsJob(Base):
|
|
|
15997
16011
|
completion_time: Optional[datetime.datetime] = Unassigned()
|
|
15998
16012
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
15999
16013
|
failure_reason: Optional[str] = Unassigned()
|
|
16000
|
-
input_config: Optional[RecommendationJobInputConfig] = Unassigned()
|
|
16001
|
-
stopping_conditions: Optional[RecommendationJobStoppingConditions] = Unassigned()
|
|
16002
|
-
inference_recommendations: Optional[List[InferenceRecommendation]] = Unassigned()
|
|
16003
|
-
endpoint_performances: Optional[List[EndpointPerformance]] = Unassigned()
|
|
16014
|
+
input_config: Optional[shapes.RecommendationJobInputConfig] = Unassigned()
|
|
16015
|
+
stopping_conditions: Optional[shapes.RecommendationJobStoppingConditions] = Unassigned()
|
|
16016
|
+
inference_recommendations: Optional[List[shapes.InferenceRecommendation]] = Unassigned()
|
|
16017
|
+
endpoint_performances: Optional[List[shapes.EndpointPerformance]] = Unassigned()
|
|
16004
16018
|
|
|
16005
16019
|
def get_name(self) -> str:
|
|
16006
16020
|
attributes = vars(self)
|
|
@@ -16048,11 +16062,11 @@ class InferenceRecommendationsJob(Base):
|
|
|
16048
16062
|
job_name: str,
|
|
16049
16063
|
job_type: str,
|
|
16050
16064
|
role_arn: str,
|
|
16051
|
-
input_config: RecommendationJobInputConfig,
|
|
16065
|
+
input_config: shapes.RecommendationJobInputConfig,
|
|
16052
16066
|
job_description: Optional[str] = Unassigned(),
|
|
16053
|
-
stopping_conditions: Optional[RecommendationJobStoppingConditions] = Unassigned(),
|
|
16054
|
-
output_config: Optional[RecommendationJobOutputConfig] = Unassigned(),
|
|
16055
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
16067
|
+
stopping_conditions: Optional[shapes.RecommendationJobStoppingConditions] = Unassigned(),
|
|
16068
|
+
output_config: Optional[shapes.RecommendationJobOutputConfig] = Unassigned(),
|
|
16069
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
16056
16070
|
session: Optional[Session] = None,
|
|
16057
16071
|
region: Optional[str] = None,
|
|
16058
16072
|
) -> Optional["InferenceRecommendationsJob"]:
|
|
@@ -16456,7 +16470,7 @@ class InferenceRecommendationsJob(Base):
|
|
|
16456
16470
|
step_type: Optional[str] = Unassigned(),
|
|
16457
16471
|
session: Optional[Session] = None,
|
|
16458
16472
|
region: Optional[str] = None,
|
|
16459
|
-
) -> ResourceIterator[InferenceRecommendationsJobStep]:
|
|
16473
|
+
) -> ResourceIterator[shapes.InferenceRecommendationsJobStep]:
|
|
16460
16474
|
"""
|
|
16461
16475
|
Returns a list of the subtasks for an Inference Recommender job.
|
|
16462
16476
|
|
|
@@ -16501,7 +16515,7 @@ class InferenceRecommendationsJob(Base):
|
|
|
16501
16515
|
list_method="list_inference_recommendations_job_steps",
|
|
16502
16516
|
summaries_key="Steps",
|
|
16503
16517
|
summary_name="InferenceRecommendationsJobStep",
|
|
16504
|
-
resource_cls=InferenceRecommendationsJobStep,
|
|
16518
|
+
resource_cls=shapes.InferenceRecommendationsJobStep,
|
|
16505
16519
|
list_method_kwargs=operation_input_args,
|
|
16506
16520
|
)
|
|
16507
16521
|
|
|
@@ -16534,22 +16548,22 @@ class LabelingJob(Base):
|
|
|
16534
16548
|
|
|
16535
16549
|
labeling_job_name: str
|
|
16536
16550
|
labeling_job_status: Optional[str] = Unassigned()
|
|
16537
|
-
label_counters: Optional[LabelCounters] = Unassigned()
|
|
16551
|
+
label_counters: Optional[shapes.LabelCounters] = Unassigned()
|
|
16538
16552
|
failure_reason: Optional[str] = Unassigned()
|
|
16539
16553
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
16540
16554
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
16541
16555
|
job_reference_code: Optional[str] = Unassigned()
|
|
16542
16556
|
labeling_job_arn: Optional[str] = Unassigned()
|
|
16543
16557
|
label_attribute_name: Optional[str] = Unassigned()
|
|
16544
|
-
input_config: Optional[LabelingJobInputConfig] = Unassigned()
|
|
16545
|
-
output_config: Optional[LabelingJobOutputConfig] = Unassigned()
|
|
16558
|
+
input_config: Optional[shapes.LabelingJobInputConfig] = Unassigned()
|
|
16559
|
+
output_config: Optional[shapes.LabelingJobOutputConfig] = Unassigned()
|
|
16546
16560
|
role_arn: Optional[str] = Unassigned()
|
|
16547
16561
|
label_category_config_s3_uri: Optional[str] = Unassigned()
|
|
16548
|
-
stopping_conditions: Optional[LabelingJobStoppingConditions] = Unassigned()
|
|
16549
|
-
labeling_job_algorithms_config: Optional[LabelingJobAlgorithmsConfig] = Unassigned()
|
|
16550
|
-
human_task_config: Optional[HumanTaskConfig] = Unassigned()
|
|
16551
|
-
tags: Optional[List[Tag]] = Unassigned()
|
|
16552
|
-
labeling_job_output: Optional[LabelingJobOutput] = Unassigned()
|
|
16562
|
+
stopping_conditions: Optional[shapes.LabelingJobStoppingConditions] = Unassigned()
|
|
16563
|
+
labeling_job_algorithms_config: Optional[shapes.LabelingJobAlgorithmsConfig] = Unassigned()
|
|
16564
|
+
human_task_config: Optional[shapes.HumanTaskConfig] = Unassigned()
|
|
16565
|
+
tags: Optional[List[shapes.Tag]] = Unassigned()
|
|
16566
|
+
labeling_job_output: Optional[shapes.LabelingJobOutput] = Unassigned()
|
|
16553
16567
|
|
|
16554
16568
|
def get_name(self) -> str:
|
|
16555
16569
|
attributes = vars(self)
|
|
@@ -16608,14 +16622,14 @@ class LabelingJob(Base):
|
|
|
16608
16622
|
cls,
|
|
16609
16623
|
labeling_job_name: str,
|
|
16610
16624
|
label_attribute_name: str,
|
|
16611
|
-
input_config: LabelingJobInputConfig,
|
|
16612
|
-
output_config: LabelingJobOutputConfig,
|
|
16625
|
+
input_config: shapes.LabelingJobInputConfig,
|
|
16626
|
+
output_config: shapes.LabelingJobOutputConfig,
|
|
16613
16627
|
role_arn: str,
|
|
16614
|
-
human_task_config: HumanTaskConfig,
|
|
16628
|
+
human_task_config: shapes.HumanTaskConfig,
|
|
16615
16629
|
label_category_config_s3_uri: Optional[str] = Unassigned(),
|
|
16616
|
-
stopping_conditions: Optional[LabelingJobStoppingConditions] = Unassigned(),
|
|
16617
|
-
labeling_job_algorithms_config: Optional[LabelingJobAlgorithmsConfig] = Unassigned(),
|
|
16618
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
16630
|
+
stopping_conditions: Optional[shapes.LabelingJobStoppingConditions] = Unassigned(),
|
|
16631
|
+
labeling_job_algorithms_config: Optional[shapes.LabelingJobAlgorithmsConfig] = Unassigned(),
|
|
16632
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
16619
16633
|
session: Optional[Session] = None,
|
|
16620
16634
|
region: Optional[str] = None,
|
|
16621
16635
|
) -> Optional["LabelingJob"]:
|
|
@@ -16964,9 +16978,9 @@ class LineageGroup(Base):
|
|
|
16964
16978
|
display_name: Optional[str] = Unassigned()
|
|
16965
16979
|
description: Optional[str] = Unassigned()
|
|
16966
16980
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
16967
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
16981
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
16968
16982
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
16969
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
16983
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
16970
16984
|
|
|
16971
16985
|
def get_name(self) -> str:
|
|
16972
16986
|
attributes = vars(self)
|
|
@@ -17140,7 +17154,7 @@ class LineageGroup(Base):
|
|
|
17140
17154
|
self,
|
|
17141
17155
|
session: Optional[Session] = None,
|
|
17142
17156
|
region: Optional[str] = None,
|
|
17143
|
-
) -> Optional[GetLineageGroupPolicyResponse]:
|
|
17157
|
+
) -> Optional[shapes.GetLineageGroupPolicyResponse]:
|
|
17144
17158
|
"""
|
|
17145
17159
|
The resource policy for the lineage group.
|
|
17146
17160
|
|
|
@@ -17149,7 +17163,7 @@ class LineageGroup(Base):
|
|
|
17149
17163
|
region: Region name.
|
|
17150
17164
|
|
|
17151
17165
|
Returns:
|
|
17152
|
-
GetLineageGroupPolicyResponse
|
|
17166
|
+
shapes.GetLineageGroupPolicyResponse
|
|
17153
17167
|
|
|
17154
17168
|
Raises:
|
|
17155
17169
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -17180,7 +17194,7 @@ class LineageGroup(Base):
|
|
|
17180
17194
|
logger.debug(f"Response: {response}")
|
|
17181
17195
|
|
|
17182
17196
|
transformed_response = transform(response, "GetLineageGroupPolicyResponse")
|
|
17183
|
-
return GetLineageGroupPolicyResponse(**transformed_response)
|
|
17197
|
+
return shapes.GetLineageGroupPolicyResponse(**transformed_response)
|
|
17184
17198
|
|
|
17185
17199
|
|
|
17186
17200
|
class MlflowTrackingServer(Base):
|
|
@@ -17218,9 +17232,9 @@ class MlflowTrackingServer(Base):
|
|
|
17218
17232
|
weekly_maintenance_window_start: Optional[str] = Unassigned()
|
|
17219
17233
|
automatic_model_registration: Optional[bool] = Unassigned()
|
|
17220
17234
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
17221
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
17235
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
17222
17236
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
17223
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
17237
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
17224
17238
|
|
|
17225
17239
|
def get_name(self) -> str:
|
|
17226
17240
|
attributes = vars(self)
|
|
@@ -17263,7 +17277,7 @@ class MlflowTrackingServer(Base):
|
|
|
17263
17277
|
mlflow_version: Optional[str] = Unassigned(),
|
|
17264
17278
|
automatic_model_registration: Optional[bool] = Unassigned(),
|
|
17265
17279
|
weekly_maintenance_window_start: Optional[str] = Unassigned(),
|
|
17266
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
17280
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
17267
17281
|
session: Optional[Session] = None,
|
|
17268
17282
|
region: Optional[str] = None,
|
|
17269
17283
|
) -> Optional["MlflowTrackingServer"]:
|
|
@@ -17769,15 +17783,15 @@ class Model(Base):
|
|
|
17769
17783
|
"""
|
|
17770
17784
|
|
|
17771
17785
|
model_name: str
|
|
17772
|
-
primary_container: Optional[ContainerDefinition] = Unassigned()
|
|
17773
|
-
containers: Optional[List[ContainerDefinition]] = Unassigned()
|
|
17774
|
-
inference_execution_config: Optional[InferenceExecutionConfig] = Unassigned()
|
|
17786
|
+
primary_container: Optional[shapes.ContainerDefinition] = Unassigned()
|
|
17787
|
+
containers: Optional[List[shapes.ContainerDefinition]] = Unassigned()
|
|
17788
|
+
inference_execution_config: Optional[shapes.InferenceExecutionConfig] = Unassigned()
|
|
17775
17789
|
execution_role_arn: Optional[str] = Unassigned()
|
|
17776
|
-
vpc_config: Optional[VpcConfig] = Unassigned()
|
|
17790
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned()
|
|
17777
17791
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
17778
17792
|
model_arn: Optional[str] = Unassigned()
|
|
17779
17793
|
enable_network_isolation: Optional[bool] = Unassigned()
|
|
17780
|
-
deployment_recommendation: Optional[DeploymentRecommendation] = Unassigned()
|
|
17794
|
+
deployment_recommendation: Optional[shapes.DeploymentRecommendation] = Unassigned()
|
|
17781
17795
|
|
|
17782
17796
|
def get_name(self) -> str:
|
|
17783
17797
|
attributes = vars(self)
|
|
@@ -17829,12 +17843,12 @@ class Model(Base):
|
|
|
17829
17843
|
def create(
|
|
17830
17844
|
cls,
|
|
17831
17845
|
model_name: str,
|
|
17832
|
-
primary_container: Optional[ContainerDefinition] = Unassigned(),
|
|
17833
|
-
containers: Optional[List[ContainerDefinition]] = Unassigned(),
|
|
17834
|
-
inference_execution_config: Optional[InferenceExecutionConfig] = Unassigned(),
|
|
17846
|
+
primary_container: Optional[shapes.ContainerDefinition] = Unassigned(),
|
|
17847
|
+
containers: Optional[List[shapes.ContainerDefinition]] = Unassigned(),
|
|
17848
|
+
inference_execution_config: Optional[shapes.InferenceExecutionConfig] = Unassigned(),
|
|
17835
17849
|
execution_role_arn: Optional[str] = Unassigned(),
|
|
17836
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
17837
|
-
vpc_config: Optional[VpcConfig] = Unassigned(),
|
|
17850
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
17851
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned(),
|
|
17838
17852
|
enable_network_isolation: Optional[bool] = Unassigned(),
|
|
17839
17853
|
session: Optional[Session] = None,
|
|
17840
17854
|
region: Optional[str] = None,
|
|
@@ -18091,10 +18105,10 @@ class Model(Base):
|
|
|
18091
18105
|
@Base.add_validate_call
|
|
18092
18106
|
def get_all_metadata(
|
|
18093
18107
|
self,
|
|
18094
|
-
search_expression: Optional[ModelMetadataSearchExpression] = Unassigned(),
|
|
18108
|
+
search_expression: Optional[shapes.ModelMetadataSearchExpression] = Unassigned(),
|
|
18095
18109
|
session: Optional[Session] = None,
|
|
18096
18110
|
region: Optional[str] = None,
|
|
18097
|
-
) -> ResourceIterator[ModelMetadataSummary]:
|
|
18111
|
+
) -> ResourceIterator[shapes.ModelMetadataSummary]:
|
|
18098
18112
|
"""
|
|
18099
18113
|
Lists the domain, framework, task, and model name of standard machine learning models found in common model zoos.
|
|
18100
18114
|
|
|
@@ -18136,7 +18150,7 @@ class Model(Base):
|
|
|
18136
18150
|
list_method="list_model_metadata",
|
|
18137
18151
|
summaries_key="ModelMetadataSummaries",
|
|
18138
18152
|
summary_name="ModelMetadataSummary",
|
|
18139
|
-
resource_cls=ModelMetadataSummary,
|
|
18153
|
+
resource_cls=shapes.ModelMetadataSummary,
|
|
18140
18154
|
list_method_kwargs=operation_input_args,
|
|
18141
18155
|
)
|
|
18142
18156
|
|
|
@@ -18163,14 +18177,14 @@ class ModelBiasJobDefinition(Base):
|
|
|
18163
18177
|
job_definition_name: str
|
|
18164
18178
|
job_definition_arn: Optional[str] = Unassigned()
|
|
18165
18179
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
18166
|
-
model_bias_baseline_config: Optional[ModelBiasBaselineConfig] = Unassigned()
|
|
18167
|
-
model_bias_app_specification: Optional[ModelBiasAppSpecification] = Unassigned()
|
|
18168
|
-
model_bias_job_input: Optional[ModelBiasJobInput] = Unassigned()
|
|
18169
|
-
model_bias_job_output_config: Optional[MonitoringOutputConfig] = Unassigned()
|
|
18170
|
-
job_resources: Optional[MonitoringResources] = Unassigned()
|
|
18171
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned()
|
|
18180
|
+
model_bias_baseline_config: Optional[shapes.ModelBiasBaselineConfig] = Unassigned()
|
|
18181
|
+
model_bias_app_specification: Optional[shapes.ModelBiasAppSpecification] = Unassigned()
|
|
18182
|
+
model_bias_job_input: Optional[shapes.ModelBiasJobInput] = Unassigned()
|
|
18183
|
+
model_bias_job_output_config: Optional[shapes.MonitoringOutputConfig] = Unassigned()
|
|
18184
|
+
job_resources: Optional[shapes.MonitoringResources] = Unassigned()
|
|
18185
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned()
|
|
18172
18186
|
role_arn: Optional[str] = Unassigned()
|
|
18173
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned()
|
|
18187
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned()
|
|
18174
18188
|
|
|
18175
18189
|
def get_name(self) -> str:
|
|
18176
18190
|
attributes = vars(self)
|
|
@@ -18232,15 +18246,15 @@ class ModelBiasJobDefinition(Base):
|
|
|
18232
18246
|
def create(
|
|
18233
18247
|
cls,
|
|
18234
18248
|
job_definition_name: str,
|
|
18235
|
-
model_bias_app_specification: ModelBiasAppSpecification,
|
|
18236
|
-
model_bias_job_input: ModelBiasJobInput,
|
|
18237
|
-
model_bias_job_output_config: MonitoringOutputConfig,
|
|
18238
|
-
job_resources: MonitoringResources,
|
|
18249
|
+
model_bias_app_specification: shapes.ModelBiasAppSpecification,
|
|
18250
|
+
model_bias_job_input: shapes.ModelBiasJobInput,
|
|
18251
|
+
model_bias_job_output_config: shapes.MonitoringOutputConfig,
|
|
18252
|
+
job_resources: shapes.MonitoringResources,
|
|
18239
18253
|
role_arn: str,
|
|
18240
|
-
model_bias_baseline_config: Optional[ModelBiasBaselineConfig] = Unassigned(),
|
|
18241
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned(),
|
|
18242
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned(),
|
|
18243
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
18254
|
+
model_bias_baseline_config: Optional[shapes.ModelBiasBaselineConfig] = Unassigned(),
|
|
18255
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned(),
|
|
18256
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned(),
|
|
18257
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
18244
18258
|
session: Optional[Session] = None,
|
|
18245
18259
|
region: Optional[str] = None,
|
|
18246
18260
|
) -> Optional["ModelBiasJobDefinition"]:
|
|
@@ -18533,11 +18547,11 @@ class ModelCard(Base):
|
|
|
18533
18547
|
model_card_version: Optional[int] = Unassigned()
|
|
18534
18548
|
content: Optional[str] = Unassigned()
|
|
18535
18549
|
model_card_status: Optional[str] = Unassigned()
|
|
18536
|
-
security_config: Optional[ModelCardSecurityConfig] = Unassigned()
|
|
18550
|
+
security_config: Optional[shapes.ModelCardSecurityConfig] = Unassigned()
|
|
18537
18551
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
18538
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
18552
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
18539
18553
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
18540
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
18554
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
18541
18555
|
model_card_processing_status: Optional[str] = Unassigned()
|
|
18542
18556
|
|
|
18543
18557
|
def get_name(self) -> str:
|
|
@@ -18577,8 +18591,8 @@ class ModelCard(Base):
|
|
|
18577
18591
|
model_card_name: str,
|
|
18578
18592
|
content: str,
|
|
18579
18593
|
model_card_status: str,
|
|
18580
|
-
security_config: Optional[ModelCardSecurityConfig] = Unassigned(),
|
|
18581
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
18594
|
+
security_config: Optional[shapes.ModelCardSecurityConfig] = Unassigned(),
|
|
18595
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
18582
18596
|
session: Optional[Session] = None,
|
|
18583
18597
|
region: Optional[str] = None,
|
|
18584
18598
|
) -> Optional["ModelCard"]:
|
|
@@ -18945,7 +18959,7 @@ class ModelCard(Base):
|
|
|
18945
18959
|
sort_order: Optional[str] = Unassigned(),
|
|
18946
18960
|
session: Optional[Session] = None,
|
|
18947
18961
|
region: Optional[str] = None,
|
|
18948
|
-
) -> ResourceIterator[ModelCardVersionSummary]:
|
|
18962
|
+
) -> ResourceIterator[shapes.ModelCardVersionSummary]:
|
|
18949
18963
|
"""
|
|
18950
18964
|
List existing versions of an Amazon SageMaker Model Card.
|
|
18951
18965
|
|
|
@@ -18996,7 +19010,7 @@ class ModelCard(Base):
|
|
|
18996
19010
|
list_method="list_model_card_versions",
|
|
18997
19011
|
summaries_key="ModelCardVersionSummaryList",
|
|
18998
19012
|
summary_name="ModelCardVersionSummary",
|
|
18999
|
-
resource_cls=ModelCardVersionSummary,
|
|
19013
|
+
resource_cls=shapes.ModelCardVersionSummary,
|
|
19000
19014
|
list_method_kwargs=operation_input_args,
|
|
19001
19015
|
)
|
|
19002
19016
|
|
|
@@ -19024,11 +19038,11 @@ class ModelCardExportJob(Base):
|
|
|
19024
19038
|
status: Optional[str] = Unassigned()
|
|
19025
19039
|
model_card_name: Optional[str] = Unassigned()
|
|
19026
19040
|
model_card_version: Optional[int] = Unassigned()
|
|
19027
|
-
output_config: Optional[ModelCardExportOutputConfig] = Unassigned()
|
|
19041
|
+
output_config: Optional[shapes.ModelCardExportOutputConfig] = Unassigned()
|
|
19028
19042
|
created_at: Optional[datetime.datetime] = Unassigned()
|
|
19029
19043
|
last_modified_at: Optional[datetime.datetime] = Unassigned()
|
|
19030
19044
|
failure_reason: Optional[str] = Unassigned()
|
|
19031
|
-
export_artifacts: Optional[ModelCardExportArtifacts] = Unassigned()
|
|
19045
|
+
export_artifacts: Optional[shapes.ModelCardExportArtifacts] = Unassigned()
|
|
19032
19046
|
|
|
19033
19047
|
def get_name(self) -> str:
|
|
19034
19048
|
attributes = vars(self)
|
|
@@ -19069,7 +19083,7 @@ class ModelCardExportJob(Base):
|
|
|
19069
19083
|
cls,
|
|
19070
19084
|
model_card_name: Union[str, object],
|
|
19071
19085
|
model_card_export_job_name: str,
|
|
19072
|
-
output_config: ModelCardExportOutputConfig,
|
|
19086
|
+
output_config: shapes.ModelCardExportOutputConfig,
|
|
19073
19087
|
model_card_version: Optional[int] = Unassigned(),
|
|
19074
19088
|
session: Optional[Session] = None,
|
|
19075
19089
|
region: Optional[str] = None,
|
|
@@ -19384,16 +19398,18 @@ class ModelExplainabilityJobDefinition(Base):
|
|
|
19384
19398
|
job_definition_name: str
|
|
19385
19399
|
job_definition_arn: Optional[str] = Unassigned()
|
|
19386
19400
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
19387
|
-
model_explainability_baseline_config: Optional[ModelExplainabilityBaselineConfig] =
|
|
19388
|
-
model_explainability_app_specification: Optional[ModelExplainabilityAppSpecification] = (
|
|
19401
|
+
model_explainability_baseline_config: Optional[shapes.ModelExplainabilityBaselineConfig] = (
|
|
19389
19402
|
Unassigned()
|
|
19390
19403
|
)
|
|
19391
|
-
|
|
19392
|
-
|
|
19393
|
-
|
|
19394
|
-
|
|
19404
|
+
model_explainability_app_specification: Optional[shapes.ModelExplainabilityAppSpecification] = (
|
|
19405
|
+
Unassigned()
|
|
19406
|
+
)
|
|
19407
|
+
model_explainability_job_input: Optional[shapes.ModelExplainabilityJobInput] = Unassigned()
|
|
19408
|
+
model_explainability_job_output_config: Optional[shapes.MonitoringOutputConfig] = Unassigned()
|
|
19409
|
+
job_resources: Optional[shapes.MonitoringResources] = Unassigned()
|
|
19410
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned()
|
|
19395
19411
|
role_arn: Optional[str] = Unassigned()
|
|
19396
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned()
|
|
19412
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned()
|
|
19397
19413
|
|
|
19398
19414
|
def get_name(self) -> str:
|
|
19399
19415
|
attributes = vars(self)
|
|
@@ -19454,17 +19470,17 @@ class ModelExplainabilityJobDefinition(Base):
|
|
|
19454
19470
|
def create(
|
|
19455
19471
|
cls,
|
|
19456
19472
|
job_definition_name: str,
|
|
19457
|
-
model_explainability_app_specification: ModelExplainabilityAppSpecification,
|
|
19458
|
-
model_explainability_job_input: ModelExplainabilityJobInput,
|
|
19459
|
-
model_explainability_job_output_config: MonitoringOutputConfig,
|
|
19460
|
-
job_resources: MonitoringResources,
|
|
19473
|
+
model_explainability_app_specification: shapes.ModelExplainabilityAppSpecification,
|
|
19474
|
+
model_explainability_job_input: shapes.ModelExplainabilityJobInput,
|
|
19475
|
+
model_explainability_job_output_config: shapes.MonitoringOutputConfig,
|
|
19476
|
+
job_resources: shapes.MonitoringResources,
|
|
19461
19477
|
role_arn: str,
|
|
19462
19478
|
model_explainability_baseline_config: Optional[
|
|
19463
|
-
ModelExplainabilityBaselineConfig
|
|
19479
|
+
shapes.ModelExplainabilityBaselineConfig
|
|
19464
19480
|
] = Unassigned(),
|
|
19465
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned(),
|
|
19466
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned(),
|
|
19467
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
19481
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned(),
|
|
19482
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned(),
|
|
19483
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
19468
19484
|
session: Optional[Session] = None,
|
|
19469
19485
|
region: Optional[str] = None,
|
|
19470
19486
|
) -> Optional["ModelExplainabilityJobDefinition"]:
|
|
@@ -19780,32 +19796,32 @@ class ModelPackage(Base):
|
|
|
19780
19796
|
model_package_arn: Optional[str] = Unassigned()
|
|
19781
19797
|
model_package_description: Optional[str] = Unassigned()
|
|
19782
19798
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
19783
|
-
inference_specification: Optional[InferenceSpecification] = Unassigned()
|
|
19784
|
-
source_algorithm_specification: Optional[SourceAlgorithmSpecification] = Unassigned()
|
|
19785
|
-
validation_specification: Optional[ModelPackageValidationSpecification] = Unassigned()
|
|
19799
|
+
inference_specification: Optional[shapes.InferenceSpecification] = Unassigned()
|
|
19800
|
+
source_algorithm_specification: Optional[shapes.SourceAlgorithmSpecification] = Unassigned()
|
|
19801
|
+
validation_specification: Optional[shapes.ModelPackageValidationSpecification] = Unassigned()
|
|
19786
19802
|
model_package_status: Optional[str] = Unassigned()
|
|
19787
|
-
model_package_status_details: Optional[ModelPackageStatusDetails] = Unassigned()
|
|
19803
|
+
model_package_status_details: Optional[shapes.ModelPackageStatusDetails] = Unassigned()
|
|
19788
19804
|
certify_for_marketplace: Optional[bool] = Unassigned()
|
|
19789
19805
|
model_approval_status: Optional[str] = Unassigned()
|
|
19790
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
19791
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned()
|
|
19792
|
-
model_metrics: Optional[ModelMetrics] = Unassigned()
|
|
19806
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
19807
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned()
|
|
19808
|
+
model_metrics: Optional[shapes.ModelMetrics] = Unassigned()
|
|
19793
19809
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
19794
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
19810
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
19795
19811
|
approval_description: Optional[str] = Unassigned()
|
|
19796
19812
|
domain: Optional[str] = Unassigned()
|
|
19797
19813
|
task: Optional[str] = Unassigned()
|
|
19798
19814
|
sample_payload_url: Optional[str] = Unassigned()
|
|
19799
19815
|
customer_metadata_properties: Optional[Dict[str, str]] = Unassigned()
|
|
19800
|
-
drift_check_baselines: Optional[DriftCheckBaselines] = Unassigned()
|
|
19816
|
+
drift_check_baselines: Optional[shapes.DriftCheckBaselines] = Unassigned()
|
|
19801
19817
|
additional_inference_specifications: Optional[
|
|
19802
|
-
List[AdditionalInferenceSpecificationDefinition]
|
|
19818
|
+
List[shapes.AdditionalInferenceSpecificationDefinition]
|
|
19803
19819
|
] = Unassigned()
|
|
19804
19820
|
skip_model_validation: Optional[str] = Unassigned()
|
|
19805
19821
|
source_uri: Optional[str] = Unassigned()
|
|
19806
|
-
security_config: Optional[ModelPackageSecurityConfig] = Unassigned()
|
|
19807
|
-
model_card: Optional[ModelPackageModelCard] = Unassigned()
|
|
19808
|
-
model_life_cycle: Optional[ModelLifeCycle] = Unassigned()
|
|
19822
|
+
security_config: Optional[shapes.ModelPackageSecurityConfig] = Unassigned()
|
|
19823
|
+
model_card: Optional[shapes.ModelPackageModelCard] = Unassigned()
|
|
19824
|
+
model_life_cycle: Optional[shapes.ModelLifeCycle] = Unassigned()
|
|
19809
19825
|
|
|
19810
19826
|
def get_name(self) -> str:
|
|
19811
19827
|
attributes = vars(self)
|
|
@@ -19882,28 +19898,32 @@ class ModelPackage(Base):
|
|
|
19882
19898
|
model_package_name: Optional[str] = Unassigned(),
|
|
19883
19899
|
model_package_group_name: Optional[Union[str, object]] = Unassigned(),
|
|
19884
19900
|
model_package_description: Optional[str] = Unassigned(),
|
|
19885
|
-
inference_specification: Optional[InferenceSpecification] = Unassigned(),
|
|
19886
|
-
validation_specification: Optional[
|
|
19887
|
-
|
|
19901
|
+
inference_specification: Optional[shapes.InferenceSpecification] = Unassigned(),
|
|
19902
|
+
validation_specification: Optional[
|
|
19903
|
+
shapes.ModelPackageValidationSpecification
|
|
19904
|
+
] = Unassigned(),
|
|
19905
|
+
source_algorithm_specification: Optional[
|
|
19906
|
+
shapes.SourceAlgorithmSpecification
|
|
19907
|
+
] = Unassigned(),
|
|
19888
19908
|
certify_for_marketplace: Optional[bool] = Unassigned(),
|
|
19889
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
19909
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
19890
19910
|
model_approval_status: Optional[str] = Unassigned(),
|
|
19891
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned(),
|
|
19892
|
-
model_metrics: Optional[ModelMetrics] = Unassigned(),
|
|
19911
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned(),
|
|
19912
|
+
model_metrics: Optional[shapes.ModelMetrics] = Unassigned(),
|
|
19893
19913
|
client_token: Optional[str] = Unassigned(),
|
|
19894
19914
|
domain: Optional[str] = Unassigned(),
|
|
19895
19915
|
task: Optional[str] = Unassigned(),
|
|
19896
19916
|
sample_payload_url: Optional[str] = Unassigned(),
|
|
19897
19917
|
customer_metadata_properties: Optional[Dict[str, str]] = Unassigned(),
|
|
19898
|
-
drift_check_baselines: Optional[DriftCheckBaselines] = Unassigned(),
|
|
19918
|
+
drift_check_baselines: Optional[shapes.DriftCheckBaselines] = Unassigned(),
|
|
19899
19919
|
additional_inference_specifications: Optional[
|
|
19900
|
-
List[AdditionalInferenceSpecificationDefinition]
|
|
19920
|
+
List[shapes.AdditionalInferenceSpecificationDefinition]
|
|
19901
19921
|
] = Unassigned(),
|
|
19902
19922
|
skip_model_validation: Optional[str] = Unassigned(),
|
|
19903
19923
|
source_uri: Optional[str] = Unassigned(),
|
|
19904
|
-
security_config: Optional[ModelPackageSecurityConfig] = Unassigned(),
|
|
19905
|
-
model_card: Optional[ModelPackageModelCard] = Unassigned(),
|
|
19906
|
-
model_life_cycle: Optional[ModelLifeCycle] = Unassigned(),
|
|
19924
|
+
security_config: Optional[shapes.ModelPackageSecurityConfig] = Unassigned(),
|
|
19925
|
+
model_card: Optional[shapes.ModelPackageModelCard] = Unassigned(),
|
|
19926
|
+
model_life_cycle: Optional[shapes.ModelLifeCycle] = Unassigned(),
|
|
19907
19927
|
session: Optional[Session] = None,
|
|
19908
19928
|
region: Optional[str] = None,
|
|
19909
19929
|
) -> Optional["ModelPackage"]:
|
|
@@ -20100,12 +20120,12 @@ class ModelPackage(Base):
|
|
|
20100
20120
|
customer_metadata_properties: Optional[Dict[str, str]] = Unassigned(),
|
|
20101
20121
|
customer_metadata_properties_to_remove: Optional[List[str]] = Unassigned(),
|
|
20102
20122
|
additional_inference_specifications_to_add: Optional[
|
|
20103
|
-
List[AdditionalInferenceSpecificationDefinition]
|
|
20123
|
+
List[shapes.AdditionalInferenceSpecificationDefinition]
|
|
20104
20124
|
] = Unassigned(),
|
|
20105
|
-
inference_specification: Optional[InferenceSpecification] = Unassigned(),
|
|
20125
|
+
inference_specification: Optional[shapes.InferenceSpecification] = Unassigned(),
|
|
20106
20126
|
source_uri: Optional[str] = Unassigned(),
|
|
20107
|
-
model_card: Optional[ModelPackageModelCard] = Unassigned(),
|
|
20108
|
-
model_life_cycle: Optional[ModelLifeCycle] = Unassigned(),
|
|
20127
|
+
model_card: Optional[shapes.ModelPackageModelCard] = Unassigned(),
|
|
20128
|
+
model_life_cycle: Optional[shapes.ModelLifeCycle] = Unassigned(),
|
|
20109
20129
|
client_token: Optional[str] = Unassigned(),
|
|
20110
20130
|
) -> Optional["ModelPackage"]:
|
|
20111
20131
|
"""
|
|
@@ -20393,7 +20413,7 @@ class ModelPackage(Base):
|
|
|
20393
20413
|
model_package_arn_list: List[str],
|
|
20394
20414
|
session: Optional[Session] = None,
|
|
20395
20415
|
region: Optional[str] = None,
|
|
20396
|
-
) -> Optional[BatchDescribeModelPackageOutput]:
|
|
20416
|
+
) -> Optional[shapes.BatchDescribeModelPackageOutput]:
|
|
20397
20417
|
"""
|
|
20398
20418
|
This action batch describes a list of versioned model packages.
|
|
20399
20419
|
|
|
@@ -20403,7 +20423,7 @@ class ModelPackage(Base):
|
|
|
20403
20423
|
region: Region name.
|
|
20404
20424
|
|
|
20405
20425
|
Returns:
|
|
20406
|
-
BatchDescribeModelPackageOutput
|
|
20426
|
+
shapes.BatchDescribeModelPackageOutput
|
|
20407
20427
|
|
|
20408
20428
|
Raises:
|
|
20409
20429
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -20433,7 +20453,7 @@ class ModelPackage(Base):
|
|
|
20433
20453
|
logger.debug(f"Response: {response}")
|
|
20434
20454
|
|
|
20435
20455
|
transformed_response = transform(response, "BatchDescribeModelPackageOutput")
|
|
20436
|
-
return BatchDescribeModelPackageOutput(**transformed_response)
|
|
20456
|
+
return shapes.BatchDescribeModelPackageOutput(**transformed_response)
|
|
20437
20457
|
|
|
20438
20458
|
|
|
20439
20459
|
class ModelPackageGroup(Base):
|
|
@@ -20454,7 +20474,7 @@ class ModelPackageGroup(Base):
|
|
|
20454
20474
|
model_package_group_arn: Optional[str] = Unassigned()
|
|
20455
20475
|
model_package_group_description: Optional[str] = Unassigned()
|
|
20456
20476
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
20457
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
20477
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
20458
20478
|
model_package_group_status: Optional[str] = Unassigned()
|
|
20459
20479
|
|
|
20460
20480
|
def get_name(self) -> str:
|
|
@@ -20479,7 +20499,7 @@ class ModelPackageGroup(Base):
|
|
|
20479
20499
|
cls,
|
|
20480
20500
|
model_package_group_name: str,
|
|
20481
20501
|
model_package_group_description: Optional[str] = Unassigned(),
|
|
20482
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
20502
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
20483
20503
|
session: Optional[Session] = None,
|
|
20484
20504
|
region: Optional[str] = None,
|
|
20485
20505
|
) -> Optional["ModelPackageGroup"]:
|
|
@@ -21003,14 +21023,14 @@ class ModelQualityJobDefinition(Base):
|
|
|
21003
21023
|
job_definition_name: str
|
|
21004
21024
|
job_definition_arn: Optional[str] = Unassigned()
|
|
21005
21025
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
21006
|
-
model_quality_baseline_config: Optional[ModelQualityBaselineConfig] = Unassigned()
|
|
21007
|
-
model_quality_app_specification: Optional[ModelQualityAppSpecification] = Unassigned()
|
|
21008
|
-
model_quality_job_input: Optional[ModelQualityJobInput] = Unassigned()
|
|
21009
|
-
model_quality_job_output_config: Optional[MonitoringOutputConfig] = Unassigned()
|
|
21010
|
-
job_resources: Optional[MonitoringResources] = Unassigned()
|
|
21011
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned()
|
|
21026
|
+
model_quality_baseline_config: Optional[shapes.ModelQualityBaselineConfig] = Unassigned()
|
|
21027
|
+
model_quality_app_specification: Optional[shapes.ModelQualityAppSpecification] = Unassigned()
|
|
21028
|
+
model_quality_job_input: Optional[shapes.ModelQualityJobInput] = Unassigned()
|
|
21029
|
+
model_quality_job_output_config: Optional[shapes.MonitoringOutputConfig] = Unassigned()
|
|
21030
|
+
job_resources: Optional[shapes.MonitoringResources] = Unassigned()
|
|
21031
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned()
|
|
21012
21032
|
role_arn: Optional[str] = Unassigned()
|
|
21013
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned()
|
|
21033
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned()
|
|
21014
21034
|
|
|
21015
21035
|
def get_name(self) -> str:
|
|
21016
21036
|
attributes = vars(self)
|
|
@@ -21072,15 +21092,15 @@ class ModelQualityJobDefinition(Base):
|
|
|
21072
21092
|
def create(
|
|
21073
21093
|
cls,
|
|
21074
21094
|
job_definition_name: str,
|
|
21075
|
-
model_quality_app_specification: ModelQualityAppSpecification,
|
|
21076
|
-
model_quality_job_input: ModelQualityJobInput,
|
|
21077
|
-
model_quality_job_output_config: MonitoringOutputConfig,
|
|
21078
|
-
job_resources: MonitoringResources,
|
|
21095
|
+
model_quality_app_specification: shapes.ModelQualityAppSpecification,
|
|
21096
|
+
model_quality_job_input: shapes.ModelQualityJobInput,
|
|
21097
|
+
model_quality_job_output_config: shapes.MonitoringOutputConfig,
|
|
21098
|
+
job_resources: shapes.MonitoringResources,
|
|
21079
21099
|
role_arn: str,
|
|
21080
|
-
model_quality_baseline_config: Optional[ModelQualityBaselineConfig] = Unassigned(),
|
|
21081
|
-
network_config: Optional[MonitoringNetworkConfig] = Unassigned(),
|
|
21082
|
-
stopping_condition: Optional[MonitoringStoppingCondition] = Unassigned(),
|
|
21083
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
21100
|
+
model_quality_baseline_config: Optional[shapes.ModelQualityBaselineConfig] = Unassigned(),
|
|
21101
|
+
network_config: Optional[shapes.MonitoringNetworkConfig] = Unassigned(),
|
|
21102
|
+
stopping_condition: Optional[shapes.MonitoringStoppingCondition] = Unassigned(),
|
|
21103
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
21084
21104
|
session: Optional[Session] = None,
|
|
21085
21105
|
region: Optional[str] = None,
|
|
21086
21106
|
) -> Optional["ModelQualityJobDefinition"]:
|
|
@@ -21370,7 +21390,7 @@ class MonitoringAlert(Base):
|
|
|
21370
21390
|
alert_status: str
|
|
21371
21391
|
datapoints_to_alert: int
|
|
21372
21392
|
evaluation_period: int
|
|
21373
|
-
actions: MonitoringAlertActions
|
|
21393
|
+
actions: shapes.MonitoringAlertActions
|
|
21374
21394
|
|
|
21375
21395
|
def get_name(self) -> str:
|
|
21376
21396
|
attributes = vars(self)
|
|
@@ -21507,7 +21527,7 @@ class MonitoringAlert(Base):
|
|
|
21507
21527
|
status_equals: Optional[str] = Unassigned(),
|
|
21508
21528
|
session: Optional[Session] = None,
|
|
21509
21529
|
region: Optional[str] = None,
|
|
21510
|
-
) -> Optional[MonitoringAlertHistorySummary]:
|
|
21530
|
+
) -> Optional[shapes.MonitoringAlertHistorySummary]:
|
|
21511
21531
|
"""
|
|
21512
21532
|
Gets a list of past alerts in a model monitoring schedule.
|
|
21513
21533
|
|
|
@@ -21524,7 +21544,7 @@ class MonitoringAlert(Base):
|
|
|
21524
21544
|
region: Region name.
|
|
21525
21545
|
|
|
21526
21546
|
Returns:
|
|
21527
|
-
MonitoringAlertHistorySummary
|
|
21547
|
+
shapes.MonitoringAlertHistorySummary
|
|
21528
21548
|
|
|
21529
21549
|
Raises:
|
|
21530
21550
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -21563,7 +21583,7 @@ class MonitoringAlert(Base):
|
|
|
21563
21583
|
logger.debug(f"Response: {response}")
|
|
21564
21584
|
|
|
21565
21585
|
transformed_response = transform(response, "ListMonitoringAlertHistoryResponse")
|
|
21566
|
-
return MonitoringAlertHistorySummary(**transformed_response)
|
|
21586
|
+
return shapes.MonitoringAlertHistorySummary(**transformed_response)
|
|
21567
21587
|
|
|
21568
21588
|
|
|
21569
21589
|
class MonitoringExecution(Base):
|
|
@@ -21727,9 +21747,9 @@ class MonitoringSchedule(Base):
|
|
|
21727
21747
|
failure_reason: Optional[str] = Unassigned()
|
|
21728
21748
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
21729
21749
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
21730
|
-
monitoring_schedule_config: Optional[MonitoringScheduleConfig] = Unassigned()
|
|
21750
|
+
monitoring_schedule_config: Optional[shapes.MonitoringScheduleConfig] = Unassigned()
|
|
21731
21751
|
endpoint_name: Optional[str] = Unassigned()
|
|
21732
|
-
last_monitoring_execution_summary: Optional[MonitoringExecutionSummary] = Unassigned()
|
|
21752
|
+
last_monitoring_execution_summary: Optional[shapes.MonitoringExecutionSummary] = Unassigned()
|
|
21733
21753
|
|
|
21734
21754
|
def get_name(self) -> str:
|
|
21735
21755
|
attributes = vars(self)
|
|
@@ -21789,8 +21809,8 @@ class MonitoringSchedule(Base):
|
|
|
21789
21809
|
def create(
|
|
21790
21810
|
cls,
|
|
21791
21811
|
monitoring_schedule_name: str,
|
|
21792
|
-
monitoring_schedule_config: MonitoringScheduleConfig,
|
|
21793
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
21812
|
+
monitoring_schedule_config: shapes.MonitoringScheduleConfig,
|
|
21813
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
21794
21814
|
session: Optional[Session] = None,
|
|
21795
21815
|
region: Optional[str] = None,
|
|
21796
21816
|
) -> Optional["MonitoringSchedule"]:
|
|
@@ -21944,7 +21964,7 @@ class MonitoringSchedule(Base):
|
|
|
21944
21964
|
@Base.add_validate_call
|
|
21945
21965
|
def update(
|
|
21946
21966
|
self,
|
|
21947
|
-
monitoring_schedule_config: MonitoringScheduleConfig,
|
|
21967
|
+
monitoring_schedule_config: shapes.MonitoringScheduleConfig,
|
|
21948
21968
|
) -> Optional["MonitoringSchedule"]:
|
|
21949
21969
|
"""
|
|
21950
21970
|
Update a MonitoringSchedule resource
|
|
@@ -22247,9 +22267,9 @@ class NotebookInstance(Base):
|
|
|
22247
22267
|
additional_code_repositories: Optional[List[str]] = Unassigned()
|
|
22248
22268
|
root_access: Optional[str] = Unassigned()
|
|
22249
22269
|
platform_identifier: Optional[str] = Unassigned()
|
|
22250
|
-
instance_metadata_service_configuration: Optional[
|
|
22251
|
-
|
|
22252
|
-
)
|
|
22270
|
+
instance_metadata_service_configuration: Optional[
|
|
22271
|
+
shapes.InstanceMetadataServiceConfiguration
|
|
22272
|
+
] = Unassigned()
|
|
22253
22273
|
|
|
22254
22274
|
def get_name(self) -> str:
|
|
22255
22275
|
attributes = vars(self)
|
|
@@ -22296,7 +22316,7 @@ class NotebookInstance(Base):
|
|
|
22296
22316
|
subnet_id: Optional[str] = Unassigned(),
|
|
22297
22317
|
security_group_ids: Optional[List[str]] = Unassigned(),
|
|
22298
22318
|
kms_key_id: Optional[str] = Unassigned(),
|
|
22299
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
22319
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
22300
22320
|
lifecycle_config_name: Optional[str] = Unassigned(),
|
|
22301
22321
|
direct_internet_access: Optional[str] = Unassigned(),
|
|
22302
22322
|
volume_size_in_gb: Optional[int] = Unassigned(),
|
|
@@ -22306,7 +22326,7 @@ class NotebookInstance(Base):
|
|
|
22306
22326
|
root_access: Optional[str] = Unassigned(),
|
|
22307
22327
|
platform_identifier: Optional[str] = Unassigned(),
|
|
22308
22328
|
instance_metadata_service_configuration: Optional[
|
|
22309
|
-
InstanceMetadataServiceConfiguration
|
|
22329
|
+
shapes.InstanceMetadataServiceConfiguration
|
|
22310
22330
|
] = Unassigned(),
|
|
22311
22331
|
session: Optional[Session] = None,
|
|
22312
22332
|
region: Optional[str] = None,
|
|
@@ -22497,7 +22517,7 @@ class NotebookInstance(Base):
|
|
|
22497
22517
|
disassociate_additional_code_repositories: Optional[bool] = Unassigned(),
|
|
22498
22518
|
root_access: Optional[str] = Unassigned(),
|
|
22499
22519
|
instance_metadata_service_configuration: Optional[
|
|
22500
|
-
InstanceMetadataServiceConfiguration
|
|
22520
|
+
shapes.InstanceMetadataServiceConfiguration
|
|
22501
22521
|
] = Unassigned(),
|
|
22502
22522
|
) -> Optional["NotebookInstance"]:
|
|
22503
22523
|
"""
|
|
@@ -22845,8 +22865,8 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
22845
22865
|
|
|
22846
22866
|
notebook_instance_lifecycle_config_name: str
|
|
22847
22867
|
notebook_instance_lifecycle_config_arn: Optional[str] = Unassigned()
|
|
22848
|
-
on_create: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned()
|
|
22849
|
-
on_start: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned()
|
|
22868
|
+
on_create: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned()
|
|
22869
|
+
on_start: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned()
|
|
22850
22870
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
22851
22871
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
22852
22872
|
|
|
@@ -22871,9 +22891,9 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
22871
22891
|
def create(
|
|
22872
22892
|
cls,
|
|
22873
22893
|
notebook_instance_lifecycle_config_name: str,
|
|
22874
|
-
on_create: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22875
|
-
on_start: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22876
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
22894
|
+
on_create: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22895
|
+
on_start: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22896
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
22877
22897
|
session: Optional[Session] = None,
|
|
22878
22898
|
region: Optional[str] = None,
|
|
22879
22899
|
) -> Optional["NotebookInstanceLifecycleConfig"]:
|
|
@@ -23028,8 +23048,8 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
23028
23048
|
@Base.add_validate_call
|
|
23029
23049
|
def update(
|
|
23030
23050
|
self,
|
|
23031
|
-
on_create: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
23032
|
-
on_start: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
23051
|
+
on_create: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
23052
|
+
on_start: Optional[List[shapes.NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
23033
23053
|
) -> Optional["NotebookInstanceLifecycleConfig"]:
|
|
23034
23054
|
"""
|
|
23035
23055
|
Update a NotebookInstanceLifecycleConfig resource
|
|
@@ -23208,15 +23228,15 @@ class OptimizationJob(Base):
|
|
|
23208
23228
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
23209
23229
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
23210
23230
|
failure_reason: Optional[str] = Unassigned()
|
|
23211
|
-
model_source: Optional[OptimizationJobModelSource] = Unassigned()
|
|
23231
|
+
model_source: Optional[shapes.OptimizationJobModelSource] = Unassigned()
|
|
23212
23232
|
optimization_environment: Optional[Dict[str, str]] = Unassigned()
|
|
23213
23233
|
deployment_instance_type: Optional[str] = Unassigned()
|
|
23214
|
-
optimization_configs: Optional[List[OptimizationConfig]] = Unassigned()
|
|
23215
|
-
output_config: Optional[OptimizationJobOutputConfig] = Unassigned()
|
|
23216
|
-
optimization_output: Optional[OptimizationOutput] = Unassigned()
|
|
23234
|
+
optimization_configs: Optional[List[shapes.OptimizationConfig]] = Unassigned()
|
|
23235
|
+
output_config: Optional[shapes.OptimizationJobOutputConfig] = Unassigned()
|
|
23236
|
+
optimization_output: Optional[shapes.OptimizationOutput] = Unassigned()
|
|
23217
23237
|
role_arn: Optional[str] = Unassigned()
|
|
23218
|
-
stopping_condition: Optional[StoppingCondition] = Unassigned()
|
|
23219
|
-
vpc_config: Optional[OptimizationVpcConfig] = Unassigned()
|
|
23238
|
+
stopping_condition: Optional[shapes.StoppingCondition] = Unassigned()
|
|
23239
|
+
vpc_config: Optional[shapes.OptimizationVpcConfig] = Unassigned()
|
|
23220
23240
|
|
|
23221
23241
|
def get_name(self) -> str:
|
|
23222
23242
|
attributes = vars(self)
|
|
@@ -23265,14 +23285,14 @@ class OptimizationJob(Base):
|
|
|
23265
23285
|
cls,
|
|
23266
23286
|
optimization_job_name: str,
|
|
23267
23287
|
role_arn: str,
|
|
23268
|
-
model_source: OptimizationJobModelSource,
|
|
23288
|
+
model_source: shapes.OptimizationJobModelSource,
|
|
23269
23289
|
deployment_instance_type: str,
|
|
23270
|
-
optimization_configs: List[OptimizationConfig],
|
|
23271
|
-
output_config: OptimizationJobOutputConfig,
|
|
23272
|
-
stopping_condition: StoppingCondition,
|
|
23290
|
+
optimization_configs: List[shapes.OptimizationConfig],
|
|
23291
|
+
output_config: shapes.OptimizationJobOutputConfig,
|
|
23292
|
+
stopping_condition: shapes.StoppingCondition,
|
|
23273
23293
|
optimization_environment: Optional[Dict[str, str]] = Unassigned(),
|
|
23274
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
23275
|
-
vpc_config: Optional[OptimizationVpcConfig] = Unassigned(),
|
|
23294
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
23295
|
+
vpc_config: Optional[shapes.OptimizationVpcConfig] = Unassigned(),
|
|
23276
23296
|
session: Optional[Session] = None,
|
|
23277
23297
|
region: Optional[str] = None,
|
|
23278
23298
|
) -> Optional["OptimizationJob"]:
|
|
@@ -23671,13 +23691,13 @@ class PartnerApp(Base):
|
|
|
23671
23691
|
execution_role_arn: Optional[str] = Unassigned()
|
|
23672
23692
|
kms_key_id: Optional[str] = Unassigned()
|
|
23673
23693
|
base_url: Optional[str] = Unassigned()
|
|
23674
|
-
maintenance_config: Optional[PartnerAppMaintenanceConfig] = Unassigned()
|
|
23694
|
+
maintenance_config: Optional[shapes.PartnerAppMaintenanceConfig] = Unassigned()
|
|
23675
23695
|
tier: Optional[str] = Unassigned()
|
|
23676
23696
|
version: Optional[str] = Unassigned()
|
|
23677
|
-
application_config: Optional[PartnerAppConfig] = Unassigned()
|
|
23697
|
+
application_config: Optional[shapes.PartnerAppConfig] = Unassigned()
|
|
23678
23698
|
auth_type: Optional[str] = Unassigned()
|
|
23679
23699
|
enable_iam_session_based_identity: Optional[bool] = Unassigned()
|
|
23680
|
-
error: Optional[ErrorInfo] = Unassigned()
|
|
23700
|
+
error: Optional[shapes.ErrorInfo] = Unassigned()
|
|
23681
23701
|
|
|
23682
23702
|
def get_name(self) -> str:
|
|
23683
23703
|
attributes = vars(self)
|
|
@@ -23722,11 +23742,11 @@ class PartnerApp(Base):
|
|
|
23722
23742
|
tier: str,
|
|
23723
23743
|
auth_type: str,
|
|
23724
23744
|
kms_key_id: Optional[str] = Unassigned(),
|
|
23725
|
-
maintenance_config: Optional[PartnerAppMaintenanceConfig] = Unassigned(),
|
|
23726
|
-
application_config: Optional[PartnerAppConfig] = Unassigned(),
|
|
23745
|
+
maintenance_config: Optional[shapes.PartnerAppMaintenanceConfig] = Unassigned(),
|
|
23746
|
+
application_config: Optional[shapes.PartnerAppConfig] = Unassigned(),
|
|
23727
23747
|
enable_iam_session_based_identity: Optional[bool] = Unassigned(),
|
|
23728
23748
|
client_token: Optional[str] = Unassigned(),
|
|
23729
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
23749
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
23730
23750
|
session: Optional[Session] = None,
|
|
23731
23751
|
region: Optional[str] = None,
|
|
23732
23752
|
) -> Optional["PartnerApp"]:
|
|
@@ -23894,12 +23914,12 @@ class PartnerApp(Base):
|
|
|
23894
23914
|
@Base.add_validate_call
|
|
23895
23915
|
def update(
|
|
23896
23916
|
self,
|
|
23897
|
-
maintenance_config: Optional[PartnerAppMaintenanceConfig] = Unassigned(),
|
|
23917
|
+
maintenance_config: Optional[shapes.PartnerAppMaintenanceConfig] = Unassigned(),
|
|
23898
23918
|
tier: Optional[str] = Unassigned(),
|
|
23899
|
-
application_config: Optional[PartnerAppConfig] = Unassigned(),
|
|
23919
|
+
application_config: Optional[shapes.PartnerAppConfig] = Unassigned(),
|
|
23900
23920
|
enable_iam_session_based_identity: Optional[bool] = Unassigned(),
|
|
23901
23921
|
client_token: Optional[str] = Unassigned(),
|
|
23902
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
23922
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
23903
23923
|
) -> Optional["PartnerApp"]:
|
|
23904
23924
|
"""
|
|
23905
23925
|
Update a PartnerApp resource
|
|
@@ -24261,9 +24281,9 @@ class Pipeline(Base):
|
|
|
24261
24281
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
24262
24282
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
24263
24283
|
last_run_time: Optional[datetime.datetime] = Unassigned()
|
|
24264
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
24265
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
24266
|
-
parallelism_configuration: Optional[ParallelismConfiguration] = Unassigned()
|
|
24284
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
24285
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
24286
|
+
parallelism_configuration: Optional[shapes.ParallelismConfiguration] = Unassigned()
|
|
24267
24287
|
|
|
24268
24288
|
def get_name(self) -> str:
|
|
24269
24289
|
attributes = vars(self)
|
|
@@ -24304,10 +24324,12 @@ class Pipeline(Base):
|
|
|
24304
24324
|
role_arn: str,
|
|
24305
24325
|
pipeline_display_name: Optional[str] = Unassigned(),
|
|
24306
24326
|
pipeline_definition: Optional[str] = Unassigned(),
|
|
24307
|
-
pipeline_definition_s3_location: Optional[
|
|
24327
|
+
pipeline_definition_s3_location: Optional[
|
|
24328
|
+
shapes.PipelineDefinitionS3Location
|
|
24329
|
+
] = Unassigned(),
|
|
24308
24330
|
pipeline_description: Optional[str] = Unassigned(),
|
|
24309
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
24310
|
-
parallelism_configuration: Optional[ParallelismConfiguration] = Unassigned(),
|
|
24331
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
24332
|
+
parallelism_configuration: Optional[shapes.ParallelismConfiguration] = Unassigned(),
|
|
24311
24333
|
session: Optional[Session] = None,
|
|
24312
24334
|
region: Optional[str] = None,
|
|
24313
24335
|
) -> Optional["Pipeline"]:
|
|
@@ -24474,10 +24496,12 @@ class Pipeline(Base):
|
|
|
24474
24496
|
self,
|
|
24475
24497
|
pipeline_display_name: Optional[str] = Unassigned(),
|
|
24476
24498
|
pipeline_definition: Optional[str] = Unassigned(),
|
|
24477
|
-
pipeline_definition_s3_location: Optional[
|
|
24499
|
+
pipeline_definition_s3_location: Optional[
|
|
24500
|
+
shapes.PipelineDefinitionS3Location
|
|
24501
|
+
] = Unassigned(),
|
|
24478
24502
|
pipeline_description: Optional[str] = Unassigned(),
|
|
24479
24503
|
role_arn: Optional[str] = Unassigned(),
|
|
24480
|
-
parallelism_configuration: Optional[ParallelismConfiguration] = Unassigned(),
|
|
24504
|
+
parallelism_configuration: Optional[shapes.ParallelismConfiguration] = Unassigned(),
|
|
24481
24505
|
) -> Optional["Pipeline"]:
|
|
24482
24506
|
"""
|
|
24483
24507
|
Update a Pipeline resource
|
|
@@ -24767,14 +24791,14 @@ class PipelineExecution(Base):
|
|
|
24767
24791
|
pipeline_execution_display_name: Optional[str] = Unassigned()
|
|
24768
24792
|
pipeline_execution_status: Optional[str] = Unassigned()
|
|
24769
24793
|
pipeline_execution_description: Optional[str] = Unassigned()
|
|
24770
|
-
pipeline_experiment_config: Optional[PipelineExperimentConfig] = Unassigned()
|
|
24794
|
+
pipeline_experiment_config: Optional[shapes.PipelineExperimentConfig] = Unassigned()
|
|
24771
24795
|
failure_reason: Optional[str] = Unassigned()
|
|
24772
24796
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
24773
24797
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
24774
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
24775
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
24776
|
-
parallelism_configuration: Optional[ParallelismConfiguration] = Unassigned()
|
|
24777
|
-
selective_execution_config: Optional[SelectiveExecutionConfig] = Unassigned()
|
|
24798
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
24799
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
24800
|
+
parallelism_configuration: Optional[shapes.ParallelismConfiguration] = Unassigned()
|
|
24801
|
+
selective_execution_config: Optional[shapes.SelectiveExecutionConfig] = Unassigned()
|
|
24778
24802
|
|
|
24779
24803
|
def get_name(self) -> str:
|
|
24780
24804
|
attributes = vars(self)
|
|
@@ -24885,7 +24909,7 @@ class PipelineExecution(Base):
|
|
|
24885
24909
|
self,
|
|
24886
24910
|
pipeline_execution_description: Optional[str] = Unassigned(),
|
|
24887
24911
|
pipeline_execution_display_name: Optional[str] = Unassigned(),
|
|
24888
|
-
parallelism_configuration: Optional[ParallelismConfiguration] = Unassigned(),
|
|
24912
|
+
parallelism_configuration: Optional[shapes.ParallelismConfiguration] = Unassigned(),
|
|
24889
24913
|
) -> Optional["PipelineExecution"]:
|
|
24890
24914
|
"""
|
|
24891
24915
|
Update a PipelineExecution resource
|
|
@@ -25093,7 +25117,7 @@ class PipelineExecution(Base):
|
|
|
25093
25117
|
self,
|
|
25094
25118
|
session: Optional[Session] = None,
|
|
25095
25119
|
region: Optional[str] = None,
|
|
25096
|
-
) -> Optional[DescribePipelineDefinitionForExecutionResponse]:
|
|
25120
|
+
) -> Optional[shapes.DescribePipelineDefinitionForExecutionResponse]:
|
|
25097
25121
|
"""
|
|
25098
25122
|
Describes the details of an execution's pipeline definition.
|
|
25099
25123
|
|
|
@@ -25102,7 +25126,7 @@ class PipelineExecution(Base):
|
|
|
25102
25126
|
region: Region name.
|
|
25103
25127
|
|
|
25104
25128
|
Returns:
|
|
25105
|
-
DescribePipelineDefinitionForExecutionResponse
|
|
25129
|
+
shapes.DescribePipelineDefinitionForExecutionResponse
|
|
25106
25130
|
|
|
25107
25131
|
Raises:
|
|
25108
25132
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -25133,7 +25157,7 @@ class PipelineExecution(Base):
|
|
|
25133
25157
|
logger.debug(f"Response: {response}")
|
|
25134
25158
|
|
|
25135
25159
|
transformed_response = transform(response, "DescribePipelineDefinitionForExecutionResponse")
|
|
25136
|
-
return DescribePipelineDefinitionForExecutionResponse(**transformed_response)
|
|
25160
|
+
return shapes.DescribePipelineDefinitionForExecutionResponse(**transformed_response)
|
|
25137
25161
|
|
|
25138
25162
|
@Base.add_validate_call
|
|
25139
25163
|
def get_all_steps(
|
|
@@ -25141,7 +25165,7 @@ class PipelineExecution(Base):
|
|
|
25141
25165
|
sort_order: Optional[str] = Unassigned(),
|
|
25142
25166
|
session: Optional[Session] = None,
|
|
25143
25167
|
region: Optional[str] = None,
|
|
25144
|
-
) -> ResourceIterator[PipelineExecutionStep]:
|
|
25168
|
+
) -> ResourceIterator[shapes.PipelineExecutionStep]:
|
|
25145
25169
|
"""
|
|
25146
25170
|
Gets a list of PipeLineExecutionStep objects.
|
|
25147
25171
|
|
|
@@ -25185,7 +25209,7 @@ class PipelineExecution(Base):
|
|
|
25185
25209
|
list_method="list_pipeline_execution_steps",
|
|
25186
25210
|
summaries_key="PipelineExecutionSteps",
|
|
25187
25211
|
summary_name="PipelineExecutionStep",
|
|
25188
|
-
resource_cls=PipelineExecutionStep,
|
|
25212
|
+
resource_cls=shapes.PipelineExecutionStep,
|
|
25189
25213
|
list_method_kwargs=operation_input_args,
|
|
25190
25214
|
)
|
|
25191
25215
|
|
|
@@ -25194,7 +25218,7 @@ class PipelineExecution(Base):
|
|
|
25194
25218
|
self,
|
|
25195
25219
|
session: Optional[Session] = None,
|
|
25196
25220
|
region: Optional[str] = None,
|
|
25197
|
-
) -> ResourceIterator[Parameter]:
|
|
25221
|
+
) -> ResourceIterator[shapes.Parameter]:
|
|
25198
25222
|
"""
|
|
25199
25223
|
Gets a list of parameters for a pipeline execution.
|
|
25200
25224
|
|
|
@@ -25236,7 +25260,7 @@ class PipelineExecution(Base):
|
|
|
25236
25260
|
list_method="list_pipeline_parameters_for_execution",
|
|
25237
25261
|
summaries_key="PipelineParameters",
|
|
25238
25262
|
summary_name="Parameter",
|
|
25239
|
-
resource_cls=Parameter,
|
|
25263
|
+
resource_cls=shapes.Parameter,
|
|
25240
25264
|
list_method_kwargs=operation_input_args,
|
|
25241
25265
|
)
|
|
25242
25266
|
|
|
@@ -25340,7 +25364,7 @@ class PipelineExecution(Base):
|
|
|
25340
25364
|
def send_execution_step_success(
|
|
25341
25365
|
self,
|
|
25342
25366
|
callback_token: str,
|
|
25343
|
-
output_parameters: Optional[List[OutputParameter]] = Unassigned(),
|
|
25367
|
+
output_parameters: Optional[List[shapes.OutputParameter]] = Unassigned(),
|
|
25344
25368
|
client_request_token: Optional[str] = Unassigned(),
|
|
25345
25369
|
session: Optional[Session] = None,
|
|
25346
25370
|
region: Optional[str] = None,
|
|
@@ -25700,15 +25724,15 @@ class ProcessingJob(Base):
|
|
|
25700
25724
|
"""
|
|
25701
25725
|
|
|
25702
25726
|
processing_job_name: str
|
|
25703
|
-
processing_inputs: Optional[List[ProcessingInput]] = Unassigned()
|
|
25704
|
-
processing_output_config: Optional[ProcessingOutputConfig] = Unassigned()
|
|
25705
|
-
processing_resources: Optional[ProcessingResources] = Unassigned()
|
|
25706
|
-
stopping_condition: Optional[ProcessingStoppingCondition] = Unassigned()
|
|
25707
|
-
app_specification: Optional[AppSpecification] = Unassigned()
|
|
25727
|
+
processing_inputs: Optional[List[shapes.ProcessingInput]] = Unassigned()
|
|
25728
|
+
processing_output_config: Optional[shapes.ProcessingOutputConfig] = Unassigned()
|
|
25729
|
+
processing_resources: Optional[shapes.ProcessingResources] = Unassigned()
|
|
25730
|
+
stopping_condition: Optional[shapes.ProcessingStoppingCondition] = Unassigned()
|
|
25731
|
+
app_specification: Optional[shapes.AppSpecification] = Unassigned()
|
|
25708
25732
|
environment: Optional[Dict[str, str]] = Unassigned()
|
|
25709
|
-
network_config: Optional[NetworkConfig] = Unassigned()
|
|
25733
|
+
network_config: Optional[shapes.NetworkConfig] = Unassigned()
|
|
25710
25734
|
role_arn: Optional[str] = Unassigned()
|
|
25711
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned()
|
|
25735
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned()
|
|
25712
25736
|
processing_job_arn: Optional[str] = Unassigned()
|
|
25713
25737
|
processing_job_status: Optional[str] = Unassigned()
|
|
25714
25738
|
exit_message: Optional[str] = Unassigned()
|
|
@@ -25768,16 +25792,16 @@ class ProcessingJob(Base):
|
|
|
25768
25792
|
def create(
|
|
25769
25793
|
cls,
|
|
25770
25794
|
processing_job_name: str,
|
|
25771
|
-
processing_resources: ProcessingResources,
|
|
25772
|
-
app_specification: AppSpecification,
|
|
25795
|
+
processing_resources: shapes.ProcessingResources,
|
|
25796
|
+
app_specification: shapes.AppSpecification,
|
|
25773
25797
|
role_arn: str,
|
|
25774
|
-
processing_inputs: Optional[List[ProcessingInput]] = Unassigned(),
|
|
25775
|
-
processing_output_config: Optional[ProcessingOutputConfig] = Unassigned(),
|
|
25776
|
-
stopping_condition: Optional[ProcessingStoppingCondition] = Unassigned(),
|
|
25798
|
+
processing_inputs: Optional[List[shapes.ProcessingInput]] = Unassigned(),
|
|
25799
|
+
processing_output_config: Optional[shapes.ProcessingOutputConfig] = Unassigned(),
|
|
25800
|
+
stopping_condition: Optional[shapes.ProcessingStoppingCondition] = Unassigned(),
|
|
25777
25801
|
environment: Optional[Dict[str, str]] = Unassigned(),
|
|
25778
|
-
network_config: Optional[NetworkConfig] = Unassigned(),
|
|
25779
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
25780
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned(),
|
|
25802
|
+
network_config: Optional[shapes.NetworkConfig] = Unassigned(),
|
|
25803
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
25804
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned(),
|
|
25781
25805
|
session: Optional[Session] = None,
|
|
25782
25806
|
region: Optional[str] = None,
|
|
25783
25807
|
) -> Optional["ProcessingJob"]:
|
|
@@ -25792,9 +25816,9 @@ class ProcessingJob(Base):
|
|
|
25792
25816
|
processing_inputs: An array of inputs configuring the data to download into the processing container.
|
|
25793
25817
|
processing_output_config: Output configuration for the processing job.
|
|
25794
25818
|
stopping_condition: The time limit for how long the processing job is allowed to run.
|
|
25795
|
-
environment: The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported.
|
|
25819
|
+
environment: The environment variables to set in the Docker container. Up to 100 key and values entries in the map are supported. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any environment fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request environment variable or plain text fields.
|
|
25796
25820
|
network_config: Networking options for a processing job, such as whether to allow inbound and outbound network calls to and from processing containers, and the VPC subnets and security groups to use for VPC-enabled processing jobs.
|
|
25797
|
-
tags: (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
|
|
25821
|
+
tags: (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any tags. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request tag variable or plain text fields.
|
|
25798
25822
|
experiment_config:
|
|
25799
25823
|
session: Boto3 session.
|
|
25800
25824
|
region: Region name.
|
|
@@ -26131,10 +26155,10 @@ class Project(Base):
|
|
|
26131
26155
|
project_arn: The Amazon Resource Name (ARN) of the project.
|
|
26132
26156
|
project_name: The name of the project.
|
|
26133
26157
|
project_id: The ID of the project.
|
|
26134
|
-
service_catalog_provisioning_details: Information used to provision a service catalog product. For information, see What is Amazon Web Services Service Catalog.
|
|
26135
26158
|
project_status: The status of the project.
|
|
26136
26159
|
creation_time: The time when the project was created.
|
|
26137
26160
|
project_description: The description of the project.
|
|
26161
|
+
service_catalog_provisioning_details: Information used to provision a service catalog product. For information, see What is Amazon Web Services Service Catalog.
|
|
26138
26162
|
service_catalog_provisioned_product_details: Information about a provisioned service catalog product.
|
|
26139
26163
|
created_by:
|
|
26140
26164
|
last_modified_time: The timestamp when project was last modified.
|
|
@@ -26146,15 +26170,17 @@ class Project(Base):
|
|
|
26146
26170
|
project_arn: Optional[str] = Unassigned()
|
|
26147
26171
|
project_id: Optional[str] = Unassigned()
|
|
26148
26172
|
project_description: Optional[str] = Unassigned()
|
|
26149
|
-
service_catalog_provisioning_details: Optional[ServiceCatalogProvisioningDetails] =
|
|
26173
|
+
service_catalog_provisioning_details: Optional[shapes.ServiceCatalogProvisioningDetails] = (
|
|
26174
|
+
Unassigned()
|
|
26175
|
+
)
|
|
26150
26176
|
service_catalog_provisioned_product_details: Optional[
|
|
26151
|
-
ServiceCatalogProvisionedProductDetails
|
|
26177
|
+
shapes.ServiceCatalogProvisionedProductDetails
|
|
26152
26178
|
] = Unassigned()
|
|
26153
26179
|
project_status: Optional[str] = Unassigned()
|
|
26154
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
26180
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
26155
26181
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
26156
26182
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
26157
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
26183
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
26158
26184
|
|
|
26159
26185
|
def get_name(self) -> str:
|
|
26160
26186
|
attributes = vars(self)
|
|
@@ -26177,9 +26203,11 @@ class Project(Base):
|
|
|
26177
26203
|
def create(
|
|
26178
26204
|
cls,
|
|
26179
26205
|
project_name: str,
|
|
26180
|
-
service_catalog_provisioning_details: ServiceCatalogProvisioningDetails,
|
|
26181
26206
|
project_description: Optional[str] = Unassigned(),
|
|
26182
|
-
|
|
26207
|
+
service_catalog_provisioning_details: Optional[
|
|
26208
|
+
shapes.ServiceCatalogProvisioningDetails
|
|
26209
|
+
] = Unassigned(),
|
|
26210
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
26183
26211
|
session: Optional[Session] = None,
|
|
26184
26212
|
region: Optional[str] = None,
|
|
26185
26213
|
) -> Optional["Project"]:
|
|
@@ -26188,8 +26216,8 @@ class Project(Base):
|
|
|
26188
26216
|
|
|
26189
26217
|
Parameters:
|
|
26190
26218
|
project_name: The name of the project.
|
|
26191
|
-
service_catalog_provisioning_details: The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service Catalog.
|
|
26192
26219
|
project_description: A description for the project.
|
|
26220
|
+
service_catalog_provisioning_details: The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service Catalog.
|
|
26193
26221
|
tags: An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
|
|
26194
26222
|
session: Boto3 session.
|
|
26195
26223
|
region: Region name.
|
|
@@ -26331,9 +26359,9 @@ class Project(Base):
|
|
|
26331
26359
|
self,
|
|
26332
26360
|
project_description: Optional[str] = Unassigned(),
|
|
26333
26361
|
service_catalog_provisioning_update_details: Optional[
|
|
26334
|
-
ServiceCatalogProvisioningUpdateDetails
|
|
26362
|
+
shapes.ServiceCatalogProvisioningUpdateDetails
|
|
26335
26363
|
] = Unassigned(),
|
|
26336
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
26364
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
26337
26365
|
) -> Optional["Project"]:
|
|
26338
26366
|
"""
|
|
26339
26367
|
Update a Project resource
|
|
@@ -26786,9 +26814,9 @@ class Space(Base):
|
|
|
26786
26814
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
26787
26815
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
26788
26816
|
failure_reason: Optional[str] = Unassigned()
|
|
26789
|
-
space_settings: Optional[SpaceSettings] = Unassigned()
|
|
26790
|
-
ownership_settings: Optional[OwnershipSettings] = Unassigned()
|
|
26791
|
-
space_sharing_settings: Optional[SpaceSharingSettings] = Unassigned()
|
|
26817
|
+
space_settings: Optional[shapes.SpaceSettings] = Unassigned()
|
|
26818
|
+
ownership_settings: Optional[shapes.OwnershipSettings] = Unassigned()
|
|
26819
|
+
space_sharing_settings: Optional[shapes.SpaceSharingSettings] = Unassigned()
|
|
26792
26820
|
space_display_name: Optional[str] = Unassigned()
|
|
26793
26821
|
url: Optional[str] = Unassigned()
|
|
26794
26822
|
|
|
@@ -26814,10 +26842,10 @@ class Space(Base):
|
|
|
26814
26842
|
cls,
|
|
26815
26843
|
domain_id: str,
|
|
26816
26844
|
space_name: str,
|
|
26817
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
26818
|
-
space_settings: Optional[SpaceSettings] = Unassigned(),
|
|
26819
|
-
ownership_settings: Optional[OwnershipSettings] = Unassigned(),
|
|
26820
|
-
space_sharing_settings: Optional[SpaceSharingSettings] = Unassigned(),
|
|
26845
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
26846
|
+
space_settings: Optional[shapes.SpaceSettings] = Unassigned(),
|
|
26847
|
+
ownership_settings: Optional[shapes.OwnershipSettings] = Unassigned(),
|
|
26848
|
+
space_sharing_settings: Optional[shapes.SpaceSharingSettings] = Unassigned(),
|
|
26821
26849
|
space_display_name: Optional[str] = Unassigned(),
|
|
26822
26850
|
session: Optional[Session] = None,
|
|
26823
26851
|
region: Optional[str] = None,
|
|
@@ -26981,7 +27009,7 @@ class Space(Base):
|
|
|
26981
27009
|
@Base.add_validate_call
|
|
26982
27010
|
def update(
|
|
26983
27011
|
self,
|
|
26984
|
-
space_settings: Optional[SpaceSettings] = Unassigned(),
|
|
27012
|
+
space_settings: Optional[shapes.SpaceSettings] = Unassigned(),
|
|
26985
27013
|
space_display_name: Optional[str] = Unassigned(),
|
|
26986
27014
|
) -> Optional["Space"]:
|
|
26987
27015
|
"""
|
|
@@ -27302,7 +27330,7 @@ class StudioLifecycleConfig(Base):
|
|
|
27302
27330
|
studio_lifecycle_config_name: str,
|
|
27303
27331
|
studio_lifecycle_config_content: str,
|
|
27304
27332
|
studio_lifecycle_config_app_type: str,
|
|
27305
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
27333
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
27306
27334
|
session: Optional[Session] = None,
|
|
27307
27335
|
region: Optional[str] = None,
|
|
27308
27336
|
) -> Optional["StudioLifecycleConfig"]:
|
|
@@ -27576,7 +27604,7 @@ class SubscribedWorkteam(Base):
|
|
|
27576
27604
|
"""
|
|
27577
27605
|
|
|
27578
27606
|
workteam_arn: str
|
|
27579
|
-
subscribed_workteam: Optional[SubscribedWorkteam] = Unassigned()
|
|
27607
|
+
subscribed_workteam: Optional[shapes.SubscribedWorkteam] = Unassigned()
|
|
27580
27608
|
|
|
27581
27609
|
def get_name(self) -> str:
|
|
27582
27610
|
attributes = vars(self)
|
|
@@ -27823,7 +27851,7 @@ class Tag(Base):
|
|
|
27823
27851
|
def add_tags(
|
|
27824
27852
|
cls,
|
|
27825
27853
|
resource_arn: str,
|
|
27826
|
-
tags: List[Tag],
|
|
27854
|
+
tags: List[shapes.Tag],
|
|
27827
27855
|
session: Optional[Session] = None,
|
|
27828
27856
|
region: Optional[str] = None,
|
|
27829
27857
|
) -> None:
|
|
@@ -27955,7 +27983,7 @@ class TrainingJob(Base):
|
|
|
27955
27983
|
profiler_rule_configurations: Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
|
|
27956
27984
|
profiler_rule_evaluation_statuses: Evaluation status of Amazon SageMaker Debugger rules for profiling on a training job.
|
|
27957
27985
|
profiling_status: Profiling status of a training job.
|
|
27958
|
-
environment: The environment variables to set in the Docker container.
|
|
27986
|
+
environment: The environment variables to set in the Docker container. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any environment fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request environment variable or plain text fields.
|
|
27959
27987
|
retry_strategy: The number of times to retry the job when the job fails due to an InternalServerError.
|
|
27960
27988
|
remote_debug_config: Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.
|
|
27961
27989
|
infra_check_config: Contains information about the infrastructure health check configuration for the training job.
|
|
@@ -27967,44 +27995,46 @@ class TrainingJob(Base):
|
|
|
27967
27995
|
tuning_job_arn: Optional[str] = Unassigned()
|
|
27968
27996
|
labeling_job_arn: Optional[str] = Unassigned()
|
|
27969
27997
|
auto_ml_job_arn: Optional[str] = Unassigned()
|
|
27970
|
-
model_artifacts: Optional[ModelArtifacts] = Unassigned()
|
|
27998
|
+
model_artifacts: Optional[shapes.ModelArtifacts] = Unassigned()
|
|
27971
27999
|
training_job_status: Optional[str] = Unassigned()
|
|
27972
28000
|
secondary_status: Optional[str] = Unassigned()
|
|
27973
28001
|
failure_reason: Optional[str] = Unassigned()
|
|
27974
28002
|
hyper_parameters: Optional[Dict[str, str]] = Unassigned()
|
|
27975
|
-
algorithm_specification: Optional[AlgorithmSpecification] = Unassigned()
|
|
28003
|
+
algorithm_specification: Optional[shapes.AlgorithmSpecification] = Unassigned()
|
|
27976
28004
|
role_arn: Optional[str] = Unassigned()
|
|
27977
|
-
input_data_config: Optional[List[Channel]] = Unassigned()
|
|
27978
|
-
output_data_config: Optional[OutputDataConfig] = Unassigned()
|
|
27979
|
-
resource_config: Optional[ResourceConfig] = Unassigned()
|
|
27980
|
-
warm_pool_status: Optional[WarmPoolStatus] = Unassigned()
|
|
27981
|
-
vpc_config: Optional[VpcConfig] = Unassigned()
|
|
27982
|
-
stopping_condition: Optional[StoppingCondition] = Unassigned()
|
|
28005
|
+
input_data_config: Optional[List[shapes.Channel]] = Unassigned()
|
|
28006
|
+
output_data_config: Optional[shapes.OutputDataConfig] = Unassigned()
|
|
28007
|
+
resource_config: Optional[shapes.ResourceConfig] = Unassigned()
|
|
28008
|
+
warm_pool_status: Optional[shapes.WarmPoolStatus] = Unassigned()
|
|
28009
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned()
|
|
28010
|
+
stopping_condition: Optional[shapes.StoppingCondition] = Unassigned()
|
|
27983
28011
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
27984
28012
|
training_start_time: Optional[datetime.datetime] = Unassigned()
|
|
27985
28013
|
training_end_time: Optional[datetime.datetime] = Unassigned()
|
|
27986
28014
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
27987
|
-
secondary_status_transitions: Optional[List[SecondaryStatusTransition]] = Unassigned()
|
|
27988
|
-
final_metric_data_list: Optional[List[MetricData]] = Unassigned()
|
|
28015
|
+
secondary_status_transitions: Optional[List[shapes.SecondaryStatusTransition]] = Unassigned()
|
|
28016
|
+
final_metric_data_list: Optional[List[shapes.MetricData]] = Unassigned()
|
|
27989
28017
|
enable_network_isolation: Optional[bool] = Unassigned()
|
|
27990
28018
|
enable_inter_container_traffic_encryption: Optional[bool] = Unassigned()
|
|
27991
28019
|
enable_managed_spot_training: Optional[bool] = Unassigned()
|
|
27992
|
-
checkpoint_config: Optional[CheckpointConfig] = Unassigned()
|
|
28020
|
+
checkpoint_config: Optional[shapes.CheckpointConfig] = Unassigned()
|
|
27993
28021
|
training_time_in_seconds: Optional[int] = Unassigned()
|
|
27994
28022
|
billable_time_in_seconds: Optional[int] = Unassigned()
|
|
27995
|
-
debug_hook_config: Optional[DebugHookConfig] = Unassigned()
|
|
27996
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned()
|
|
27997
|
-
debug_rule_configurations: Optional[List[DebugRuleConfiguration]] = Unassigned()
|
|
27998
|
-
tensor_board_output_config: Optional[TensorBoardOutputConfig] = Unassigned()
|
|
27999
|
-
debug_rule_evaluation_statuses: Optional[List[DebugRuleEvaluationStatus]] = Unassigned()
|
|
28000
|
-
profiler_config: Optional[ProfilerConfig] = Unassigned()
|
|
28001
|
-
profiler_rule_configurations: Optional[List[ProfilerRuleConfiguration]] = Unassigned()
|
|
28002
|
-
profiler_rule_evaluation_statuses: Optional[List[ProfilerRuleEvaluationStatus]] =
|
|
28023
|
+
debug_hook_config: Optional[shapes.DebugHookConfig] = Unassigned()
|
|
28024
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned()
|
|
28025
|
+
debug_rule_configurations: Optional[List[shapes.DebugRuleConfiguration]] = Unassigned()
|
|
28026
|
+
tensor_board_output_config: Optional[shapes.TensorBoardOutputConfig] = Unassigned()
|
|
28027
|
+
debug_rule_evaluation_statuses: Optional[List[shapes.DebugRuleEvaluationStatus]] = Unassigned()
|
|
28028
|
+
profiler_config: Optional[shapes.ProfilerConfig] = Unassigned()
|
|
28029
|
+
profiler_rule_configurations: Optional[List[shapes.ProfilerRuleConfiguration]] = Unassigned()
|
|
28030
|
+
profiler_rule_evaluation_statuses: Optional[List[shapes.ProfilerRuleEvaluationStatus]] = (
|
|
28031
|
+
Unassigned()
|
|
28032
|
+
)
|
|
28003
28033
|
profiling_status: Optional[str] = Unassigned()
|
|
28004
28034
|
environment: Optional[Dict[str, str]] = Unassigned()
|
|
28005
|
-
retry_strategy: Optional[RetryStrategy] = Unassigned()
|
|
28006
|
-
remote_debug_config: Optional[RemoteDebugConfig] = Unassigned()
|
|
28007
|
-
infra_check_config: Optional[InfraCheckConfig] = Unassigned()
|
|
28035
|
+
retry_strategy: Optional[shapes.RetryStrategy] = Unassigned()
|
|
28036
|
+
remote_debug_config: Optional[shapes.RemoteDebugConfig] = Unassigned()
|
|
28037
|
+
infra_check_config: Optional[shapes.InfraCheckConfig] = Unassigned()
|
|
28008
28038
|
|
|
28009
28039
|
def get_name(self) -> str:
|
|
28010
28040
|
attributes = vars(self)
|
|
@@ -28057,30 +28087,32 @@ class TrainingJob(Base):
|
|
|
28057
28087
|
def create(
|
|
28058
28088
|
cls,
|
|
28059
28089
|
training_job_name: str,
|
|
28060
|
-
algorithm_specification: AlgorithmSpecification,
|
|
28090
|
+
algorithm_specification: shapes.AlgorithmSpecification,
|
|
28061
28091
|
role_arn: str,
|
|
28062
|
-
output_data_config: OutputDataConfig,
|
|
28063
|
-
resource_config: ResourceConfig,
|
|
28064
|
-
stopping_condition: StoppingCondition,
|
|
28092
|
+
output_data_config: shapes.OutputDataConfig,
|
|
28093
|
+
resource_config: shapes.ResourceConfig,
|
|
28094
|
+
stopping_condition: shapes.StoppingCondition,
|
|
28065
28095
|
hyper_parameters: Optional[Dict[str, str]] = Unassigned(),
|
|
28066
|
-
input_data_config: Optional[List[Channel]] = Unassigned(),
|
|
28067
|
-
vpc_config: Optional[VpcConfig] = Unassigned(),
|
|
28068
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
28096
|
+
input_data_config: Optional[List[shapes.Channel]] = Unassigned(),
|
|
28097
|
+
vpc_config: Optional[shapes.VpcConfig] = Unassigned(),
|
|
28098
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
28069
28099
|
enable_network_isolation: Optional[bool] = Unassigned(),
|
|
28070
28100
|
enable_inter_container_traffic_encryption: Optional[bool] = Unassigned(),
|
|
28071
28101
|
enable_managed_spot_training: Optional[bool] = Unassigned(),
|
|
28072
|
-
checkpoint_config: Optional[CheckpointConfig] = Unassigned(),
|
|
28073
|
-
debug_hook_config: Optional[DebugHookConfig] = Unassigned(),
|
|
28074
|
-
debug_rule_configurations: Optional[List[DebugRuleConfiguration]] = Unassigned(),
|
|
28075
|
-
tensor_board_output_config: Optional[TensorBoardOutputConfig] = Unassigned(),
|
|
28076
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned(),
|
|
28077
|
-
profiler_config: Optional[ProfilerConfig] = Unassigned(),
|
|
28078
|
-
profiler_rule_configurations: Optional[
|
|
28102
|
+
checkpoint_config: Optional[shapes.CheckpointConfig] = Unassigned(),
|
|
28103
|
+
debug_hook_config: Optional[shapes.DebugHookConfig] = Unassigned(),
|
|
28104
|
+
debug_rule_configurations: Optional[List[shapes.DebugRuleConfiguration]] = Unassigned(),
|
|
28105
|
+
tensor_board_output_config: Optional[shapes.TensorBoardOutputConfig] = Unassigned(),
|
|
28106
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned(),
|
|
28107
|
+
profiler_config: Optional[shapes.ProfilerConfig] = Unassigned(),
|
|
28108
|
+
profiler_rule_configurations: Optional[
|
|
28109
|
+
List[shapes.ProfilerRuleConfiguration]
|
|
28110
|
+
] = Unassigned(),
|
|
28079
28111
|
environment: Optional[Dict[str, str]] = Unassigned(),
|
|
28080
|
-
retry_strategy: Optional[RetryStrategy] = Unassigned(),
|
|
28081
|
-
remote_debug_config: Optional[RemoteDebugConfig] = Unassigned(),
|
|
28082
|
-
infra_check_config: Optional[InfraCheckConfig] = Unassigned(),
|
|
28083
|
-
session_chaining_config: Optional[SessionChainingConfig] = Unassigned(),
|
|
28112
|
+
retry_strategy: Optional[shapes.RetryStrategy] = Unassigned(),
|
|
28113
|
+
remote_debug_config: Optional[shapes.RemoteDebugConfig] = Unassigned(),
|
|
28114
|
+
infra_check_config: Optional[shapes.InfraCheckConfig] = Unassigned(),
|
|
28115
|
+
session_chaining_config: Optional[shapes.SessionChainingConfig] = Unassigned(),
|
|
28084
28116
|
session: Optional[Session] = None,
|
|
28085
28117
|
region: Optional[str] = None,
|
|
28086
28118
|
) -> Optional["TrainingJob"]:
|
|
@@ -28094,10 +28126,10 @@ class TrainingJob(Base):
|
|
|
28094
28126
|
output_data_config: Specifies the path to the S3 location where you want to store model artifacts. SageMaker creates subfolders for the artifacts.
|
|
28095
28127
|
resource_config: The resources, including the ML compute instances and ML storage volumes, to use for model training. ML storage volumes store model artifacts and incremental states. Training algorithms might also use ML storage volumes for scratch space. If you want SageMaker to use the ML storage volume to store the training data, choose File as the TrainingInputMode in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.
|
|
28096
28128
|
stopping_condition: Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs. To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts, so the results of training are not lost.
|
|
28097
|
-
hyper_parameters: Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms. You can specify a maximum of 100 hyperparameters. Each hyperparameter is a key-value pair. Each key and value is limited to 256 characters, as specified by the Length Constraint. Do not include any security-sensitive information including account access IDs, secrets or tokens in any hyperparameter
|
|
28129
|
+
hyper_parameters: Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process. For a list of hyperparameters for each training algorithm provided by SageMaker, see Algorithms. You can specify a maximum of 100 hyperparameters. Each hyperparameter is a key-value pair. Each key and value is limited to 256 characters, as specified by the Length Constraint. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any hyperparameter fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by any security-sensitive information included in the request hyperparameter variable or plain text fields.
|
|
28098
28130
|
input_data_config: An array of Channel objects. Each channel is a named input source. InputDataConfig describes the input data and its location. Algorithms can accept input data from one or more channels. For example, an algorithm might have two channels of input data, training_data and validation_data. The configuration for each channel provides the S3, EFS, or FSx location where the input data is stored. It also provides information about the stored data: the MIME type, compression method, and whether the data is wrapped in RecordIO format. Depending on the input mode that the algorithm supports, SageMaker either copies input data files from an S3 bucket to a local directory in the Docker container, or makes it available as input streams. For example, if you specify an EFS location, input data files are available as input streams. They do not need to be downloaded. Your input must be in the same Amazon Web Services region as your training job.
|
|
28099
28131
|
vpc_config: A VpcConfig object that specifies the VPC that you want your training job to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.
|
|
28100
|
-
tags: An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
|
|
28132
|
+
tags: An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any tags. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by any security-sensitive information included in the request tag variable or plain text fields.
|
|
28101
28133
|
enable_network_isolation: Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If you enable network isolation for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.
|
|
28102
28134
|
enable_inter_container_traffic_encryption: To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training. For more information, see Protect Communications Between ML Compute Instances in a Distributed Training Job.
|
|
28103
28135
|
enable_managed_spot_training: To train models using managed spot training, choose True. Managed spot training provides a fully managed and scalable infrastructure for training machine learning models. this option is useful when training jobs can be interrupted and when there is flexibility when the training job is run. The complete and intermediate results of jobs are stored in an Amazon S3 bucket, and can be used as a starting point to train models incrementally. Amazon SageMaker provides metrics and logs in CloudWatch. They can be used to see when managed spot training jobs are running, interrupted, resumed, or completed.
|
|
@@ -28108,7 +28140,7 @@ class TrainingJob(Base):
|
|
|
28108
28140
|
experiment_config:
|
|
28109
28141
|
profiler_config:
|
|
28110
28142
|
profiler_rule_configurations: Configuration information for Amazon SageMaker Debugger rules for profiling system and framework metrics.
|
|
28111
|
-
environment: The environment variables to set in the Docker container.
|
|
28143
|
+
environment: The environment variables to set in the Docker container. Do not include any security-sensitive information including account access IDs, secrets, or tokens in any environment fields. As part of the shared responsibility model, you are responsible for any potential exposure, unauthorized access, or compromise of your sensitive data if caused by security-sensitive information included in the request environment variable or plain text fields.
|
|
28112
28144
|
retry_strategy: The number of times to retry the job when the job fails due to an InternalServerError.
|
|
28113
28145
|
remote_debug_config: Configuration for remote debugging. To learn more about the remote debugging functionality of SageMaker, see Access a training container through Amazon Web Services Systems Manager (SSM) for remote debugging.
|
|
28114
28146
|
infra_check_config: Contains information about the infrastructure health check configuration for the training job.
|
|
@@ -28277,10 +28309,12 @@ class TrainingJob(Base):
|
|
|
28277
28309
|
@Base.add_validate_call
|
|
28278
28310
|
def update(
|
|
28279
28311
|
self,
|
|
28280
|
-
profiler_config: Optional[ProfilerConfigForUpdate] = Unassigned(),
|
|
28281
|
-
profiler_rule_configurations: Optional[
|
|
28282
|
-
|
|
28283
|
-
|
|
28312
|
+
profiler_config: Optional[shapes.ProfilerConfigForUpdate] = Unassigned(),
|
|
28313
|
+
profiler_rule_configurations: Optional[
|
|
28314
|
+
List[shapes.ProfilerRuleConfiguration]
|
|
28315
|
+
] = Unassigned(),
|
|
28316
|
+
resource_config: Optional[shapes.ResourceConfigForUpdate] = Unassigned(),
|
|
28317
|
+
remote_debug_config: Optional[shapes.RemoteDebugConfigForUpdate] = Unassigned(),
|
|
28284
28318
|
) -> Optional["TrainingJob"]:
|
|
28285
28319
|
"""
|
|
28286
28320
|
Update a TrainingJob resource
|
|
@@ -28557,7 +28591,7 @@ class TrainingPlan(Base):
|
|
|
28557
28591
|
available_instance_count: Optional[int] = Unassigned()
|
|
28558
28592
|
in_use_instance_count: Optional[int] = Unassigned()
|
|
28559
28593
|
target_resources: Optional[List[str]] = Unassigned()
|
|
28560
|
-
reserved_capacity_summaries: Optional[List[ReservedCapacitySummary]] = Unassigned()
|
|
28594
|
+
reserved_capacity_summaries: Optional[List[shapes.ReservedCapacitySummary]] = Unassigned()
|
|
28561
28595
|
|
|
28562
28596
|
def get_name(self) -> str:
|
|
28563
28597
|
attributes = vars(self)
|
|
@@ -28581,7 +28615,7 @@ class TrainingPlan(Base):
|
|
|
28581
28615
|
cls,
|
|
28582
28616
|
training_plan_name: str,
|
|
28583
28617
|
training_plan_offering_id: str,
|
|
28584
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
28618
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
28585
28619
|
session: Optional[Session] = None,
|
|
28586
28620
|
region: Optional[str] = None,
|
|
28587
28621
|
) -> Optional["TrainingPlan"]:
|
|
@@ -28796,7 +28830,7 @@ class TrainingPlan(Base):
|
|
|
28796
28830
|
start_time_before: Optional[datetime.datetime] = Unassigned(),
|
|
28797
28831
|
sort_by: Optional[str] = Unassigned(),
|
|
28798
28832
|
sort_order: Optional[str] = Unassigned(),
|
|
28799
|
-
filters: Optional[List[TrainingPlanFilter]] = Unassigned(),
|
|
28833
|
+
filters: Optional[List[shapes.TrainingPlanFilter]] = Unassigned(),
|
|
28800
28834
|
session: Optional[Session] = None,
|
|
28801
28835
|
region: Optional[str] = None,
|
|
28802
28836
|
) -> ResourceIterator["TrainingPlan"]:
|
|
@@ -28890,21 +28924,21 @@ class TransformJob(Base):
|
|
|
28890
28924
|
failure_reason: Optional[str] = Unassigned()
|
|
28891
28925
|
model_name: Optional[str] = Unassigned()
|
|
28892
28926
|
max_concurrent_transforms: Optional[int] = Unassigned()
|
|
28893
|
-
model_client_config: Optional[ModelClientConfig] = Unassigned()
|
|
28927
|
+
model_client_config: Optional[shapes.ModelClientConfig] = Unassigned()
|
|
28894
28928
|
max_payload_in_mb: Optional[int] = Unassigned()
|
|
28895
28929
|
batch_strategy: Optional[str] = Unassigned()
|
|
28896
28930
|
environment: Optional[Dict[str, str]] = Unassigned()
|
|
28897
|
-
transform_input: Optional[TransformInput] = Unassigned()
|
|
28898
|
-
transform_output: Optional[TransformOutput] = Unassigned()
|
|
28899
|
-
data_capture_config: Optional[BatchDataCaptureConfig] = Unassigned()
|
|
28900
|
-
transform_resources: Optional[TransformResources] = Unassigned()
|
|
28931
|
+
transform_input: Optional[shapes.TransformInput] = Unassigned()
|
|
28932
|
+
transform_output: Optional[shapes.TransformOutput] = Unassigned()
|
|
28933
|
+
data_capture_config: Optional[shapes.BatchDataCaptureConfig] = Unassigned()
|
|
28934
|
+
transform_resources: Optional[shapes.TransformResources] = Unassigned()
|
|
28901
28935
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
28902
28936
|
transform_start_time: Optional[datetime.datetime] = Unassigned()
|
|
28903
28937
|
transform_end_time: Optional[datetime.datetime] = Unassigned()
|
|
28904
28938
|
labeling_job_arn: Optional[str] = Unassigned()
|
|
28905
28939
|
auto_ml_job_arn: Optional[str] = Unassigned()
|
|
28906
|
-
data_processing: Optional[DataProcessing] = Unassigned()
|
|
28907
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned()
|
|
28940
|
+
data_processing: Optional[shapes.DataProcessing] = Unassigned()
|
|
28941
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned()
|
|
28908
28942
|
|
|
28909
28943
|
def get_name(self) -> str:
|
|
28910
28944
|
attributes = vars(self)
|
|
@@ -28960,18 +28994,18 @@ class TransformJob(Base):
|
|
|
28960
28994
|
cls,
|
|
28961
28995
|
transform_job_name: str,
|
|
28962
28996
|
model_name: Union[str, object],
|
|
28963
|
-
transform_input: TransformInput,
|
|
28964
|
-
transform_output: TransformOutput,
|
|
28965
|
-
transform_resources: TransformResources,
|
|
28997
|
+
transform_input: shapes.TransformInput,
|
|
28998
|
+
transform_output: shapes.TransformOutput,
|
|
28999
|
+
transform_resources: shapes.TransformResources,
|
|
28966
29000
|
max_concurrent_transforms: Optional[int] = Unassigned(),
|
|
28967
|
-
model_client_config: Optional[ModelClientConfig] = Unassigned(),
|
|
29001
|
+
model_client_config: Optional[shapes.ModelClientConfig] = Unassigned(),
|
|
28968
29002
|
max_payload_in_mb: Optional[int] = Unassigned(),
|
|
28969
29003
|
batch_strategy: Optional[str] = Unassigned(),
|
|
28970
29004
|
environment: Optional[Dict[str, str]] = Unassigned(),
|
|
28971
|
-
data_capture_config: Optional[BatchDataCaptureConfig] = Unassigned(),
|
|
28972
|
-
data_processing: Optional[DataProcessing] = Unassigned(),
|
|
28973
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
28974
|
-
experiment_config: Optional[ExperimentConfig] = Unassigned(),
|
|
29005
|
+
data_capture_config: Optional[shapes.BatchDataCaptureConfig] = Unassigned(),
|
|
29006
|
+
data_processing: Optional[shapes.DataProcessing] = Unassigned(),
|
|
29007
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
29008
|
+
experiment_config: Optional[shapes.ExperimentConfig] = Unassigned(),
|
|
28975
29009
|
session: Optional[Session] = None,
|
|
28976
29010
|
region: Optional[str] = None,
|
|
28977
29011
|
) -> Optional["TransformJob"]:
|
|
@@ -29345,12 +29379,12 @@ class Trial(Base):
|
|
|
29345
29379
|
trial_arn: Optional[str] = Unassigned()
|
|
29346
29380
|
display_name: Optional[str] = Unassigned()
|
|
29347
29381
|
experiment_name: Optional[str] = Unassigned()
|
|
29348
|
-
source: Optional[TrialSource] = Unassigned()
|
|
29382
|
+
source: Optional[shapes.TrialSource] = Unassigned()
|
|
29349
29383
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
29350
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
29384
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
29351
29385
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
29352
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
29353
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned()
|
|
29386
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
29387
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned()
|
|
29354
29388
|
|
|
29355
29389
|
def get_name(self) -> str:
|
|
29356
29390
|
attributes = vars(self)
|
|
@@ -29375,8 +29409,8 @@ class Trial(Base):
|
|
|
29375
29409
|
trial_name: str,
|
|
29376
29410
|
experiment_name: Union[str, object],
|
|
29377
29411
|
display_name: Optional[str] = Unassigned(),
|
|
29378
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned(),
|
|
29379
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
29412
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned(),
|
|
29413
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
29380
29414
|
session: Optional[Session] = None,
|
|
29381
29415
|
region: Optional[str] = None,
|
|
29382
29416
|
) -> Optional["Trial"]:
|
|
@@ -29705,21 +29739,21 @@ class TrialComponent(Base):
|
|
|
29705
29739
|
trial_component_name: str
|
|
29706
29740
|
trial_component_arn: Optional[str] = Unassigned()
|
|
29707
29741
|
display_name: Optional[str] = Unassigned()
|
|
29708
|
-
source: Optional[TrialComponentSource] = Unassigned()
|
|
29709
|
-
status: Optional[TrialComponentStatus] = Unassigned()
|
|
29742
|
+
source: Optional[shapes.TrialComponentSource] = Unassigned()
|
|
29743
|
+
status: Optional[shapes.TrialComponentStatus] = Unassigned()
|
|
29710
29744
|
start_time: Optional[datetime.datetime] = Unassigned()
|
|
29711
29745
|
end_time: Optional[datetime.datetime] = Unassigned()
|
|
29712
29746
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
29713
|
-
created_by: Optional[UserContext] = Unassigned()
|
|
29747
|
+
created_by: Optional[shapes.UserContext] = Unassigned()
|
|
29714
29748
|
last_modified_time: Optional[datetime.datetime] = Unassigned()
|
|
29715
|
-
last_modified_by: Optional[UserContext] = Unassigned()
|
|
29716
|
-
parameters: Optional[Dict[str, TrialComponentParameterValue]] = Unassigned()
|
|
29717
|
-
input_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned()
|
|
29718
|
-
output_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned()
|
|
29719
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned()
|
|
29720
|
-
metrics: Optional[List[TrialComponentMetricSummary]] = Unassigned()
|
|
29749
|
+
last_modified_by: Optional[shapes.UserContext] = Unassigned()
|
|
29750
|
+
parameters: Optional[Dict[str, shapes.TrialComponentParameterValue]] = Unassigned()
|
|
29751
|
+
input_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned()
|
|
29752
|
+
output_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned()
|
|
29753
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned()
|
|
29754
|
+
metrics: Optional[List[shapes.TrialComponentMetricSummary]] = Unassigned()
|
|
29721
29755
|
lineage_group_arn: Optional[str] = Unassigned()
|
|
29722
|
-
sources: Optional[List[TrialComponentSource]] = Unassigned()
|
|
29756
|
+
sources: Optional[List[shapes.TrialComponentSource]] = Unassigned()
|
|
29723
29757
|
|
|
29724
29758
|
def get_name(self) -> str:
|
|
29725
29759
|
attributes = vars(self)
|
|
@@ -29743,14 +29777,14 @@ class TrialComponent(Base):
|
|
|
29743
29777
|
cls,
|
|
29744
29778
|
trial_component_name: str,
|
|
29745
29779
|
display_name: Optional[str] = Unassigned(),
|
|
29746
|
-
status: Optional[TrialComponentStatus] = Unassigned(),
|
|
29780
|
+
status: Optional[shapes.TrialComponentStatus] = Unassigned(),
|
|
29747
29781
|
start_time: Optional[datetime.datetime] = Unassigned(),
|
|
29748
29782
|
end_time: Optional[datetime.datetime] = Unassigned(),
|
|
29749
|
-
parameters: Optional[Dict[str, TrialComponentParameterValue]] = Unassigned(),
|
|
29750
|
-
input_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned(),
|
|
29751
|
-
output_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned(),
|
|
29752
|
-
metadata_properties: Optional[MetadataProperties] = Unassigned(),
|
|
29753
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
29783
|
+
parameters: Optional[Dict[str, shapes.TrialComponentParameterValue]] = Unassigned(),
|
|
29784
|
+
input_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned(),
|
|
29785
|
+
output_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned(),
|
|
29786
|
+
metadata_properties: Optional[shapes.MetadataProperties] = Unassigned(),
|
|
29787
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
29754
29788
|
session: Optional[Session] = None,
|
|
29755
29789
|
region: Optional[str] = None,
|
|
29756
29790
|
) -> Optional["TrialComponent"]:
|
|
@@ -29915,14 +29949,14 @@ class TrialComponent(Base):
|
|
|
29915
29949
|
def update(
|
|
29916
29950
|
self,
|
|
29917
29951
|
display_name: Optional[str] = Unassigned(),
|
|
29918
|
-
status: Optional[TrialComponentStatus] = Unassigned(),
|
|
29952
|
+
status: Optional[shapes.TrialComponentStatus] = Unassigned(),
|
|
29919
29953
|
start_time: Optional[datetime.datetime] = Unassigned(),
|
|
29920
29954
|
end_time: Optional[datetime.datetime] = Unassigned(),
|
|
29921
|
-
parameters: Optional[Dict[str, TrialComponentParameterValue]] = Unassigned(),
|
|
29955
|
+
parameters: Optional[Dict[str, shapes.TrialComponentParameterValue]] = Unassigned(),
|
|
29922
29956
|
parameters_to_remove: Optional[List[str]] = Unassigned(),
|
|
29923
|
-
input_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned(),
|
|
29957
|
+
input_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned(),
|
|
29924
29958
|
input_artifacts_to_remove: Optional[List[str]] = Unassigned(),
|
|
29925
|
-
output_artifacts: Optional[Dict[str, TrialComponentArtifact]] = Unassigned(),
|
|
29959
|
+
output_artifacts: Optional[Dict[str, shapes.TrialComponentArtifact]] = Unassigned(),
|
|
29926
29960
|
output_artifacts_to_remove: Optional[List[str]] = Unassigned(),
|
|
29927
29961
|
) -> Optional["TrialComponent"]:
|
|
29928
29962
|
"""
|
|
@@ -30232,7 +30266,7 @@ class TrialComponent(Base):
|
|
|
30232
30266
|
@Base.add_validate_call
|
|
30233
30267
|
def batch_put_metrics(
|
|
30234
30268
|
self,
|
|
30235
|
-
metric_data: List[RawMetricData],
|
|
30269
|
+
metric_data: List[shapes.RawMetricData],
|
|
30236
30270
|
session: Optional[Session] = None,
|
|
30237
30271
|
region: Optional[str] = None,
|
|
30238
30272
|
) -> None:
|
|
@@ -30276,10 +30310,10 @@ class TrialComponent(Base):
|
|
|
30276
30310
|
@Base.add_validate_call
|
|
30277
30311
|
def batch_get_metrics(
|
|
30278
30312
|
cls,
|
|
30279
|
-
metric_queries: List[MetricQuery],
|
|
30313
|
+
metric_queries: List[shapes.MetricQuery],
|
|
30280
30314
|
session: Optional[Session] = None,
|
|
30281
30315
|
region: Optional[str] = None,
|
|
30282
|
-
) -> Optional[BatchGetMetricsResponse]:
|
|
30316
|
+
) -> Optional[shapes.BatchGetMetricsResponse]:
|
|
30283
30317
|
"""
|
|
30284
30318
|
Used to retrieve training metrics from SageMaker.
|
|
30285
30319
|
|
|
@@ -30289,7 +30323,7 @@ class TrialComponent(Base):
|
|
|
30289
30323
|
region: Region name.
|
|
30290
30324
|
|
|
30291
30325
|
Returns:
|
|
30292
|
-
BatchGetMetricsResponse
|
|
30326
|
+
shapes.BatchGetMetricsResponse
|
|
30293
30327
|
|
|
30294
30328
|
Raises:
|
|
30295
30329
|
botocore.exceptions.ClientError: This exception is raised for AWS service related errors.
|
|
@@ -30319,7 +30353,7 @@ class TrialComponent(Base):
|
|
|
30319
30353
|
logger.debug(f"Response: {response}")
|
|
30320
30354
|
|
|
30321
30355
|
transformed_response = transform(response, "BatchGetMetricsResponse")
|
|
30322
|
-
return BatchGetMetricsResponse(**transformed_response)
|
|
30356
|
+
return shapes.BatchGetMetricsResponse(**transformed_response)
|
|
30323
30357
|
|
|
30324
30358
|
|
|
30325
30359
|
class UserProfile(Base):
|
|
@@ -30351,7 +30385,7 @@ class UserProfile(Base):
|
|
|
30351
30385
|
failure_reason: Optional[str] = Unassigned()
|
|
30352
30386
|
single_sign_on_user_identifier: Optional[str] = Unassigned()
|
|
30353
30387
|
single_sign_on_user_value: Optional[str] = Unassigned()
|
|
30354
|
-
user_settings: Optional[UserSettings] = Unassigned()
|
|
30388
|
+
user_settings: Optional[shapes.UserSettings] = Unassigned()
|
|
30355
30389
|
|
|
30356
30390
|
def get_name(self) -> str:
|
|
30357
30391
|
attributes = vars(self)
|
|
@@ -30420,8 +30454,8 @@ class UserProfile(Base):
|
|
|
30420
30454
|
user_profile_name: str,
|
|
30421
30455
|
single_sign_on_user_identifier: Optional[str] = Unassigned(),
|
|
30422
30456
|
single_sign_on_user_value: Optional[str] = Unassigned(),
|
|
30423
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
30424
|
-
user_settings: Optional[UserSettings] = Unassigned(),
|
|
30457
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
30458
|
+
user_settings: Optional[shapes.UserSettings] = Unassigned(),
|
|
30425
30459
|
session: Optional[Session] = None,
|
|
30426
30460
|
region: Optional[str] = None,
|
|
30427
30461
|
) -> Optional["UserProfile"]:
|
|
@@ -30587,7 +30621,7 @@ class UserProfile(Base):
|
|
|
30587
30621
|
@Base.add_validate_call
|
|
30588
30622
|
def update(
|
|
30589
30623
|
self,
|
|
30590
|
-
user_settings: Optional[UserSettings] = Unassigned(),
|
|
30624
|
+
user_settings: Optional[shapes.UserSettings] = Unassigned(),
|
|
30591
30625
|
) -> Optional["UserProfile"]:
|
|
30592
30626
|
"""
|
|
30593
30627
|
Update a UserProfile resource
|
|
@@ -30876,7 +30910,7 @@ class Workforce(Base):
|
|
|
30876
30910
|
"""
|
|
30877
30911
|
|
|
30878
30912
|
workforce_name: str
|
|
30879
|
-
workforce: Optional[Workforce] = Unassigned()
|
|
30913
|
+
workforce: Optional[shapes.Workforce] = Unassigned()
|
|
30880
30914
|
|
|
30881
30915
|
def get_name(self) -> str:
|
|
30882
30916
|
attributes = vars(self)
|
|
@@ -30920,11 +30954,11 @@ class Workforce(Base):
|
|
|
30920
30954
|
def create(
|
|
30921
30955
|
cls,
|
|
30922
30956
|
workforce_name: str,
|
|
30923
|
-
cognito_config: Optional[CognitoConfig] = Unassigned(),
|
|
30924
|
-
oidc_config: Optional[OidcConfig] = Unassigned(),
|
|
30925
|
-
source_ip_config: Optional[SourceIpConfig] = Unassigned(),
|
|
30926
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
30927
|
-
workforce_vpc_config: Optional[WorkforceVpcConfigRequest] = Unassigned(),
|
|
30957
|
+
cognito_config: Optional[shapes.CognitoConfig] = Unassigned(),
|
|
30958
|
+
oidc_config: Optional[shapes.OidcConfig] = Unassigned(),
|
|
30959
|
+
source_ip_config: Optional[shapes.SourceIpConfig] = Unassigned(),
|
|
30960
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
30961
|
+
workforce_vpc_config: Optional[shapes.WorkforceVpcConfigRequest] = Unassigned(),
|
|
30928
30962
|
session: Optional[Session] = None,
|
|
30929
30963
|
region: Optional[str] = None,
|
|
30930
30964
|
) -> Optional["Workforce"]:
|
|
@@ -31078,9 +31112,9 @@ class Workforce(Base):
|
|
|
31078
31112
|
@Base.add_validate_call
|
|
31079
31113
|
def update(
|
|
31080
31114
|
self,
|
|
31081
|
-
source_ip_config: Optional[SourceIpConfig] = Unassigned(),
|
|
31082
|
-
oidc_config: Optional[OidcConfig] = Unassigned(),
|
|
31083
|
-
workforce_vpc_config: Optional[WorkforceVpcConfigRequest] = Unassigned(),
|
|
31115
|
+
source_ip_config: Optional[shapes.SourceIpConfig] = Unassigned(),
|
|
31116
|
+
oidc_config: Optional[shapes.OidcConfig] = Unassigned(),
|
|
31117
|
+
workforce_vpc_config: Optional[shapes.WorkforceVpcConfigRequest] = Unassigned(),
|
|
31084
31118
|
) -> Optional["Workforce"]:
|
|
31085
31119
|
"""
|
|
31086
31120
|
Update a Workforce resource
|
|
@@ -31347,7 +31381,7 @@ class Workteam(Base):
|
|
|
31347
31381
|
"""
|
|
31348
31382
|
|
|
31349
31383
|
workteam_name: str
|
|
31350
|
-
workteam: Optional[Workteam] = Unassigned()
|
|
31384
|
+
workteam: Optional[shapes.Workteam] = Unassigned()
|
|
31351
31385
|
|
|
31352
31386
|
def get_name(self) -> str:
|
|
31353
31387
|
attributes = vars(self)
|
|
@@ -31370,12 +31404,12 @@ class Workteam(Base):
|
|
|
31370
31404
|
def create(
|
|
31371
31405
|
cls,
|
|
31372
31406
|
workteam_name: str,
|
|
31373
|
-
member_definitions: List[MemberDefinition],
|
|
31407
|
+
member_definitions: List[shapes.MemberDefinition],
|
|
31374
31408
|
description: str,
|
|
31375
31409
|
workforce_name: Optional[Union[str, object]] = Unassigned(),
|
|
31376
|
-
notification_configuration: Optional[NotificationConfiguration] = Unassigned(),
|
|
31377
|
-
worker_access_configuration: Optional[WorkerAccessConfiguration] = Unassigned(),
|
|
31378
|
-
tags: Optional[List[Tag]] = Unassigned(),
|
|
31410
|
+
notification_configuration: Optional[shapes.NotificationConfiguration] = Unassigned(),
|
|
31411
|
+
worker_access_configuration: Optional[shapes.WorkerAccessConfiguration] = Unassigned(),
|
|
31412
|
+
tags: Optional[List[shapes.Tag]] = Unassigned(),
|
|
31379
31413
|
session: Optional[Session] = None,
|
|
31380
31414
|
region: Optional[str] = None,
|
|
31381
31415
|
) -> Optional["Workteam"]:
|
|
@@ -31532,10 +31566,10 @@ class Workteam(Base):
|
|
|
31532
31566
|
@Base.add_validate_call
|
|
31533
31567
|
def update(
|
|
31534
31568
|
self,
|
|
31535
|
-
member_definitions: Optional[List[MemberDefinition]] = Unassigned(),
|
|
31569
|
+
member_definitions: Optional[List[shapes.MemberDefinition]] = Unassigned(),
|
|
31536
31570
|
description: Optional[str] = Unassigned(),
|
|
31537
|
-
notification_configuration: Optional[NotificationConfiguration] = Unassigned(),
|
|
31538
|
-
worker_access_configuration: Optional[WorkerAccessConfiguration] = Unassigned(),
|
|
31571
|
+
notification_configuration: Optional[shapes.NotificationConfiguration] = Unassigned(),
|
|
31572
|
+
worker_access_configuration: Optional[shapes.WorkerAccessConfiguration] = Unassigned(),
|
|
31539
31573
|
) -> Optional["Workteam"]:
|
|
31540
31574
|
"""
|
|
31541
31575
|
Update a Workteam resource
|