sagemaker-core 1.0.3__py3-none-any.whl → 1.0.5__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/main/code_injection/shape_dag.py +180 -2
- sagemaker_core/main/resources.py +457 -158
- sagemaker_core/main/shapes.py +405 -170
- sagemaker_core/main/utils.py +22 -37
- sagemaker_core/tools/constants.py +4 -0
- sagemaker_core/tools/data_extractor.py +20 -3
- sagemaker_core/tools/resources_codegen.py +2 -197
- sagemaker_core/tools/resources_extractor.py +1 -1
- sagemaker_core/tools/templates.py +1 -72
- {sagemaker_core-1.0.3.dist-info → sagemaker_core-1.0.5.dist-info}/METADATA +1 -1
- {sagemaker_core-1.0.3.dist-info → sagemaker_core-1.0.5.dist-info}/RECORD +14 -14
- {sagemaker_core-1.0.3.dist-info → sagemaker_core-1.0.5.dist-info}/WHEEL +1 -1
- {sagemaker_core-1.0.3.dist-info → sagemaker_core-1.0.5.dist-info}/LICENSE +0 -0
- {sagemaker_core-1.0.3.dist-info → sagemaker_core-1.0.5.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
SHAPE_DAG = {
|
|
2
|
+
"AccessForbidden": {
|
|
3
|
+
"members": [{"name": "Message", "shape": "Message", "type": "string"}],
|
|
4
|
+
"type": "structure",
|
|
5
|
+
},
|
|
2
6
|
"ActionSource": {
|
|
3
7
|
"members": [
|
|
4
8
|
{"name": "SourceUri", "shape": "SourceUri", "type": "string"},
|
|
@@ -793,6 +797,89 @@ SHAPE_DAG = {
|
|
|
793
797
|
],
|
|
794
798
|
"type": "structure",
|
|
795
799
|
},
|
|
800
|
+
"BatchGetRecordError": {
|
|
801
|
+
"members": [
|
|
802
|
+
{"name": "FeatureGroupName", "shape": "ValueAsString", "type": "string"},
|
|
803
|
+
{"name": "RecordIdentifierValueAsString", "shape": "ValueAsString", "type": "string"},
|
|
804
|
+
{"name": "ErrorCode", "shape": "ValueAsString", "type": "string"},
|
|
805
|
+
{"name": "ErrorMessage", "shape": "Message", "type": "string"},
|
|
806
|
+
],
|
|
807
|
+
"type": "structure",
|
|
808
|
+
},
|
|
809
|
+
"BatchGetRecordErrors": {
|
|
810
|
+
"member_shape": "BatchGetRecordError",
|
|
811
|
+
"member_type": "structure",
|
|
812
|
+
"type": "list",
|
|
813
|
+
},
|
|
814
|
+
"BatchGetRecordIdentifier": {
|
|
815
|
+
"members": [
|
|
816
|
+
{"name": "FeatureGroupName", "shape": "FeatureGroupNameOrArn", "type": "string"},
|
|
817
|
+
{
|
|
818
|
+
"name": "RecordIdentifiersValueAsString",
|
|
819
|
+
"shape": "RecordIdentifiers",
|
|
820
|
+
"type": "list",
|
|
821
|
+
},
|
|
822
|
+
{"name": "FeatureNames", "shape": "FeatureNames", "type": "list"},
|
|
823
|
+
],
|
|
824
|
+
"type": "structure",
|
|
825
|
+
},
|
|
826
|
+
"BatchGetRecordIdentifiers": {
|
|
827
|
+
"member_shape": "BatchGetRecordIdentifier",
|
|
828
|
+
"member_type": "structure",
|
|
829
|
+
"type": "list",
|
|
830
|
+
},
|
|
831
|
+
"BatchGetRecordRequest": {
|
|
832
|
+
"members": [
|
|
833
|
+
{"name": "Identifiers", "shape": "BatchGetRecordIdentifiers", "type": "list"},
|
|
834
|
+
{"name": "ExpirationTimeResponse", "shape": "ExpirationTimeResponse", "type": "string"},
|
|
835
|
+
],
|
|
836
|
+
"type": "structure",
|
|
837
|
+
},
|
|
838
|
+
"BatchGetRecordResponse": {
|
|
839
|
+
"members": [
|
|
840
|
+
{"name": "Records", "shape": "BatchGetRecordResultDetails", "type": "list"},
|
|
841
|
+
{"name": "Errors", "shape": "BatchGetRecordErrors", "type": "list"},
|
|
842
|
+
{"name": "UnprocessedIdentifiers", "shape": "UnprocessedIdentifiers", "type": "list"},
|
|
843
|
+
],
|
|
844
|
+
"type": "structure",
|
|
845
|
+
},
|
|
846
|
+
"BatchGetRecordResultDetail": {
|
|
847
|
+
"members": [
|
|
848
|
+
{"name": "FeatureGroupName", "shape": "ValueAsString", "type": "string"},
|
|
849
|
+
{"name": "RecordIdentifierValueAsString", "shape": "ValueAsString", "type": "string"},
|
|
850
|
+
{"name": "Record", "shape": "Record", "type": "list"},
|
|
851
|
+
{"name": "ExpiresAt", "shape": "ExpiresAt", "type": "string"},
|
|
852
|
+
],
|
|
853
|
+
"type": "structure",
|
|
854
|
+
},
|
|
855
|
+
"BatchGetRecordResultDetails": {
|
|
856
|
+
"member_shape": "BatchGetRecordResultDetail",
|
|
857
|
+
"member_type": "structure",
|
|
858
|
+
"type": "list",
|
|
859
|
+
},
|
|
860
|
+
"BatchPutMetricsError": {
|
|
861
|
+
"members": [
|
|
862
|
+
{"name": "Code", "shape": "PutMetricsErrorCode", "type": "string"},
|
|
863
|
+
{"name": "MetricIndex", "shape": "Integer", "type": "integer"},
|
|
864
|
+
],
|
|
865
|
+
"type": "structure",
|
|
866
|
+
},
|
|
867
|
+
"BatchPutMetricsErrorList": {
|
|
868
|
+
"member_shape": "BatchPutMetricsError",
|
|
869
|
+
"member_type": "structure",
|
|
870
|
+
"type": "list",
|
|
871
|
+
},
|
|
872
|
+
"BatchPutMetricsRequest": {
|
|
873
|
+
"members": [
|
|
874
|
+
{"name": "TrialComponentName", "shape": "ExperimentEntityName", "type": "string"},
|
|
875
|
+
{"name": "MetricData", "shape": "RawMetricDataList", "type": "list"},
|
|
876
|
+
],
|
|
877
|
+
"type": "structure",
|
|
878
|
+
},
|
|
879
|
+
"BatchPutMetricsResponse": {
|
|
880
|
+
"members": [{"name": "Errors", "shape": "BatchPutMetricsErrorList", "type": "list"}],
|
|
881
|
+
"type": "structure",
|
|
882
|
+
},
|
|
796
883
|
"BatchTransformInput": {
|
|
797
884
|
"members": [
|
|
798
885
|
{"name": "DataCapturedDestinationS3Uri", "shape": "DestinationS3Uri", "type": "string"},
|
|
@@ -1131,13 +1218,14 @@ SHAPE_DAG = {
|
|
|
1131
1218
|
{"name": "InstanceGroupName", "shape": "ClusterInstanceGroupName", "type": "string"},
|
|
1132
1219
|
{"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
|
|
1133
1220
|
{"name": "LifeCycleConfig", "shape": "ClusterLifeCycleConfig", "type": "structure"},
|
|
1134
|
-
{"name": "ExecutionRole", "shape": "
|
|
1221
|
+
{"name": "ExecutionRole", "shape": "RoleArn", "type": "string"},
|
|
1135
1222
|
{"name": "ThreadsPerCore", "shape": "ClusterThreadsPerCore", "type": "integer"},
|
|
1136
1223
|
{
|
|
1137
1224
|
"name": "InstanceStorageConfigs",
|
|
1138
1225
|
"shape": "ClusterInstanceStorageConfigs",
|
|
1139
1226
|
"type": "list",
|
|
1140
1227
|
},
|
|
1228
|
+
{"name": "OnStartDeepHealthChecks", "shape": "OnStartDeepHealthChecks", "type": "list"},
|
|
1141
1229
|
],
|
|
1142
1230
|
"type": "structure",
|
|
1143
1231
|
},
|
|
@@ -1152,13 +1240,14 @@ SHAPE_DAG = {
|
|
|
1152
1240
|
{"name": "InstanceGroupName", "shape": "ClusterInstanceGroupName", "type": "string"},
|
|
1153
1241
|
{"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
|
|
1154
1242
|
{"name": "LifeCycleConfig", "shape": "ClusterLifeCycleConfig", "type": "structure"},
|
|
1155
|
-
{"name": "ExecutionRole", "shape": "
|
|
1243
|
+
{"name": "ExecutionRole", "shape": "RoleArn", "type": "string"},
|
|
1156
1244
|
{"name": "ThreadsPerCore", "shape": "ClusterThreadsPerCore", "type": "integer"},
|
|
1157
1245
|
{
|
|
1158
1246
|
"name": "InstanceStorageConfigs",
|
|
1159
1247
|
"shape": "ClusterInstanceStorageConfigs",
|
|
1160
1248
|
"type": "list",
|
|
1161
1249
|
},
|
|
1250
|
+
{"name": "OnStartDeepHealthChecks", "shape": "OnStartDeepHealthChecks", "type": "list"},
|
|
1162
1251
|
],
|
|
1163
1252
|
"type": "structure",
|
|
1164
1253
|
},
|
|
@@ -1242,6 +1331,14 @@ SHAPE_DAG = {
|
|
|
1242
1331
|
],
|
|
1243
1332
|
"type": "structure",
|
|
1244
1333
|
},
|
|
1334
|
+
"ClusterOrchestrator": {
|
|
1335
|
+
"members": [{"name": "Eks", "shape": "ClusterOrchestratorEksConfig", "type": "structure"}],
|
|
1336
|
+
"type": "structure",
|
|
1337
|
+
},
|
|
1338
|
+
"ClusterOrchestratorEksConfig": {
|
|
1339
|
+
"members": [{"name": "ClusterArn", "shape": "EksClusterArn", "type": "string"}],
|
|
1340
|
+
"type": "structure",
|
|
1341
|
+
},
|
|
1245
1342
|
"ClusterSummaries": {
|
|
1246
1343
|
"member_shape": "ClusterSummary",
|
|
1247
1344
|
"member_type": "structure",
|
|
@@ -1659,6 +1756,8 @@ SHAPE_DAG = {
|
|
|
1659
1756
|
},
|
|
1660
1757
|
{"name": "VpcConfig", "shape": "VpcConfig", "type": "structure"},
|
|
1661
1758
|
{"name": "Tags", "shape": "TagList", "type": "list"},
|
|
1759
|
+
{"name": "Orchestrator", "shape": "ClusterOrchestrator", "type": "structure"},
|
|
1760
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
1662
1761
|
],
|
|
1663
1762
|
"type": "structure",
|
|
1664
1763
|
},
|
|
@@ -3414,6 +3513,16 @@ SHAPE_DAG = {
|
|
|
3414
3513
|
"members": [{"name": "ProjectName", "shape": "ProjectEntityName", "type": "string"}],
|
|
3415
3514
|
"type": "structure",
|
|
3416
3515
|
},
|
|
3516
|
+
"DeleteRecordRequest": {
|
|
3517
|
+
"members": [
|
|
3518
|
+
{"name": "FeatureGroupName", "shape": "FeatureGroupNameOrArn", "type": "string"},
|
|
3519
|
+
{"name": "RecordIdentifierValueAsString", "shape": "ValueAsString", "type": "string"},
|
|
3520
|
+
{"name": "EventTime", "shape": "ValueAsString", "type": "string"},
|
|
3521
|
+
{"name": "TargetStores", "shape": "TargetStores", "type": "list"},
|
|
3522
|
+
{"name": "DeletionMode", "shape": "DeletionMode", "type": "string"},
|
|
3523
|
+
],
|
|
3524
|
+
"type": "structure",
|
|
3525
|
+
},
|
|
3417
3526
|
"DeleteSpaceRequest": {
|
|
3418
3527
|
"members": [
|
|
3419
3528
|
{"name": "DomainId", "shape": "DomainId", "type": "string"},
|
|
@@ -3818,6 +3927,8 @@ SHAPE_DAG = {
|
|
|
3818
3927
|
{"name": "FailureMessage", "shape": "String", "type": "string"},
|
|
3819
3928
|
{"name": "InstanceGroups", "shape": "ClusterInstanceGroupDetailsList", "type": "list"},
|
|
3820
3929
|
{"name": "VpcConfig", "shape": "VpcConfig", "type": "structure"},
|
|
3930
|
+
{"name": "Orchestrator", "shape": "ClusterOrchestrator", "type": "structure"},
|
|
3931
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
3821
3932
|
],
|
|
3822
3933
|
"type": "structure",
|
|
3823
3934
|
},
|
|
@@ -6170,6 +6281,7 @@ SHAPE_DAG = {
|
|
|
6170
6281
|
],
|
|
6171
6282
|
"type": "structure",
|
|
6172
6283
|
},
|
|
6284
|
+
"FeatureNames": {"member_shape": "FeatureName", "member_type": "string", "type": "list"},
|
|
6173
6285
|
"FeatureParameter": {
|
|
6174
6286
|
"members": [
|
|
6175
6287
|
{"name": "Key", "shape": "FeatureParameterKey", "type": "string"},
|
|
@@ -6192,6 +6304,14 @@ SHAPE_DAG = {
|
|
|
6192
6304
|
"member_type": "structure",
|
|
6193
6305
|
"type": "list",
|
|
6194
6306
|
},
|
|
6307
|
+
"FeatureValue": {
|
|
6308
|
+
"members": [
|
|
6309
|
+
{"name": "FeatureName", "shape": "FeatureName", "type": "string"},
|
|
6310
|
+
{"name": "ValueAsString", "shape": "ValueAsString", "type": "string"},
|
|
6311
|
+
{"name": "ValueAsStringList", "shape": "ValueAsStringList", "type": "list"},
|
|
6312
|
+
],
|
|
6313
|
+
"type": "structure",
|
|
6314
|
+
},
|
|
6195
6315
|
"FileSource": {
|
|
6196
6316
|
"members": [
|
|
6197
6317
|
{"name": "ContentType", "shape": "ContentType", "type": "string"},
|
|
@@ -6336,6 +6456,22 @@ SHAPE_DAG = {
|
|
|
6336
6456
|
"members": [{"name": "ResourcePolicy", "shape": "PolicyString", "type": "string"}],
|
|
6337
6457
|
"type": "structure",
|
|
6338
6458
|
},
|
|
6459
|
+
"GetRecordRequest": {
|
|
6460
|
+
"members": [
|
|
6461
|
+
{"name": "FeatureGroupName", "shape": "FeatureGroupNameOrArn", "type": "string"},
|
|
6462
|
+
{"name": "RecordIdentifierValueAsString", "shape": "ValueAsString", "type": "string"},
|
|
6463
|
+
{"name": "FeatureNames", "shape": "FeatureNames", "type": "list"},
|
|
6464
|
+
{"name": "ExpirationTimeResponse", "shape": "ExpirationTimeResponse", "type": "string"},
|
|
6465
|
+
],
|
|
6466
|
+
"type": "structure",
|
|
6467
|
+
},
|
|
6468
|
+
"GetRecordResponse": {
|
|
6469
|
+
"members": [
|
|
6470
|
+
{"name": "Record", "shape": "Record", "type": "list"},
|
|
6471
|
+
{"name": "ExpiresAt", "shape": "ExpiresAt", "type": "string"},
|
|
6472
|
+
],
|
|
6473
|
+
"type": "structure",
|
|
6474
|
+
},
|
|
6339
6475
|
"GetSagemakerServicecatalogPortfolioStatusInput": {"members": [], "type": "structure"},
|
|
6340
6476
|
"GetSagemakerServicecatalogPortfolioStatusOutput": {
|
|
6341
6477
|
"members": [{"name": "Status", "shape": "SagemakerServicecatalogStatus", "type": "string"}],
|
|
@@ -7463,6 +7599,7 @@ SHAPE_DAG = {
|
|
|
7463
7599
|
"shape": "InferenceComponentHeader",
|
|
7464
7600
|
"type": "string",
|
|
7465
7601
|
},
|
|
7602
|
+
{"name": "SessionId", "shape": "SessionIdOrNewSessionConstantHeader", "type": "string"},
|
|
7466
7603
|
],
|
|
7467
7604
|
"type": "structure",
|
|
7468
7605
|
},
|
|
@@ -7472,6 +7609,8 @@ SHAPE_DAG = {
|
|
|
7472
7609
|
{"name": "ContentType", "shape": "Header", "type": "string"},
|
|
7473
7610
|
{"name": "InvokedProductionVariant", "shape": "Header", "type": "string"},
|
|
7474
7611
|
{"name": "CustomAttributes", "shape": "CustomAttributesHeader", "type": "string"},
|
|
7612
|
+
{"name": "NewSessionId", "shape": "NewSessionResponseHeader", "type": "string"},
|
|
7613
|
+
{"name": "ClosedSessionId", "shape": "SessionIdHeader", "type": "string"},
|
|
7475
7614
|
],
|
|
7476
7615
|
"type": "structure",
|
|
7477
7616
|
},
|
|
@@ -7494,6 +7633,7 @@ SHAPE_DAG = {
|
|
|
7494
7633
|
"shape": "InferenceComponentHeader",
|
|
7495
7634
|
"type": "string",
|
|
7496
7635
|
},
|
|
7636
|
+
{"name": "SessionId", "shape": "SessionIdHeader", "type": "string"},
|
|
7497
7637
|
],
|
|
7498
7638
|
"type": "structure",
|
|
7499
7639
|
},
|
|
@@ -10775,6 +10915,11 @@ SHAPE_DAG = {
|
|
|
10775
10915
|
"members": [{"name": "Groups", "shape": "Groups", "type": "list"}],
|
|
10776
10916
|
"type": "structure",
|
|
10777
10917
|
},
|
|
10918
|
+
"OnStartDeepHealthChecks": {
|
|
10919
|
+
"member_shape": "DeepHealthCheckType",
|
|
10920
|
+
"member_type": "string",
|
|
10921
|
+
"type": "list",
|
|
10922
|
+
},
|
|
10778
10923
|
"OnlineStoreConfig": {
|
|
10779
10924
|
"members": [
|
|
10780
10925
|
{"name": "SecurityConfig", "shape": "OnlineStoreSecurityConfig", "type": "structure"},
|
|
@@ -11737,6 +11882,15 @@ SHAPE_DAG = {
|
|
|
11737
11882
|
],
|
|
11738
11883
|
"type": "structure",
|
|
11739
11884
|
},
|
|
11885
|
+
"PutRecordRequest": {
|
|
11886
|
+
"members": [
|
|
11887
|
+
{"name": "FeatureGroupName", "shape": "FeatureGroupNameOrArn", "type": "string"},
|
|
11888
|
+
{"name": "Record", "shape": "Record", "type": "list"},
|
|
11889
|
+
{"name": "TargetStores", "shape": "TargetStores", "type": "list"},
|
|
11890
|
+
{"name": "TtlDuration", "shape": "TtlDuration", "type": "structure"},
|
|
11891
|
+
],
|
|
11892
|
+
"type": "structure",
|
|
11893
|
+
},
|
|
11740
11894
|
"QualityCheckStepMetadata": {
|
|
11741
11895
|
"members": [
|
|
11742
11896
|
{"name": "CheckType", "shape": "String256", "type": "string"},
|
|
@@ -11838,6 +11992,20 @@ SHAPE_DAG = {
|
|
|
11838
11992
|
],
|
|
11839
11993
|
"type": "structure",
|
|
11840
11994
|
},
|
|
11995
|
+
"RawMetricData": {
|
|
11996
|
+
"members": [
|
|
11997
|
+
{"name": "MetricName", "shape": "MetricName", "type": "string"},
|
|
11998
|
+
{"name": "Timestamp", "shape": "Timestamp", "type": "timestamp"},
|
|
11999
|
+
{"name": "Step", "shape": "Step", "type": "integer"},
|
|
12000
|
+
{"name": "Value", "shape": "Double", "type": "double"},
|
|
12001
|
+
],
|
|
12002
|
+
"type": "structure",
|
|
12003
|
+
},
|
|
12004
|
+
"RawMetricDataList": {
|
|
12005
|
+
"member_shape": "RawMetricData",
|
|
12006
|
+
"member_type": "structure",
|
|
12007
|
+
"type": "list",
|
|
12008
|
+
},
|
|
11841
12009
|
"RealTimeInferenceConfig": {
|
|
11842
12010
|
"members": [
|
|
11843
12011
|
{"name": "InstanceType", "shape": "InstanceType", "type": "string"},
|
|
@@ -12034,6 +12202,8 @@ SHAPE_DAG = {
|
|
|
12034
12202
|
],
|
|
12035
12203
|
"type": "structure",
|
|
12036
12204
|
},
|
|
12205
|
+
"Record": {"member_shape": "FeatureValue", "member_type": "structure", "type": "list"},
|
|
12206
|
+
"RecordIdentifiers": {"member_shape": "ValueAsString", "member_type": "string", "type": "list"},
|
|
12037
12207
|
"RedshiftDatasetDefinition": {
|
|
12038
12208
|
"members": [
|
|
12039
12209
|
{"name": "ClusterId", "shape": "RedshiftClusterId", "type": "string"},
|
|
@@ -13001,6 +13171,7 @@ SHAPE_DAG = {
|
|
|
13001
13171
|
],
|
|
13002
13172
|
"type": "structure",
|
|
13003
13173
|
},
|
|
13174
|
+
"TargetStores": {"member_shape": "TargetStore", "member_type": "string", "type": "list"},
|
|
13004
13175
|
"TargetTrackingScalingPolicyConfiguration": {
|
|
13005
13176
|
"members": [
|
|
13006
13177
|
{"name": "MetricSpecification", "shape": "MetricSpecification", "type": "structure"},
|
|
@@ -13698,6 +13869,11 @@ SHAPE_DAG = {
|
|
|
13698
13869
|
],
|
|
13699
13870
|
"type": "structure",
|
|
13700
13871
|
},
|
|
13872
|
+
"UnprocessedIdentifiers": {
|
|
13873
|
+
"member_shape": "BatchGetRecordIdentifier",
|
|
13874
|
+
"member_type": "structure",
|
|
13875
|
+
"type": "list",
|
|
13876
|
+
},
|
|
13701
13877
|
"UpdateActionRequest": {
|
|
13702
13878
|
"members": [
|
|
13703
13879
|
{"name": "ActionName", "shape": "ExperimentEntityName", "type": "string"},
|
|
@@ -13766,6 +13942,7 @@ SHAPE_DAG = {
|
|
|
13766
13942
|
"shape": "ClusterInstanceGroupSpecifications",
|
|
13767
13943
|
"type": "list",
|
|
13768
13944
|
},
|
|
13945
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
13769
13946
|
],
|
|
13770
13947
|
"type": "structure",
|
|
13771
13948
|
},
|
|
@@ -14469,6 +14646,7 @@ SHAPE_DAG = {
|
|
|
14469
14646
|
"members": [{"name": "Message", "shape": "Message", "type": "string"}],
|
|
14470
14647
|
"type": "structure",
|
|
14471
14648
|
},
|
|
14649
|
+
"ValueAsStringList": {"member_shape": "ValueAsString", "member_type": "string", "type": "list"},
|
|
14472
14650
|
"VariantProperty": {
|
|
14473
14651
|
"members": [
|
|
14474
14652
|
{"name": "VariantPropertyType", "shape": "VariantPropertyType", "type": "string"}
|