sagemaker-core 1.0.1__py3-none-any.whl → 1.0.2__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.

@@ -51,7 +51,7 @@ logger = get_textual_rich_logger(__name__)
51
51
 
52
52
 
53
53
  class Base(BaseModel):
54
- model_config = ConfigDict(protected_namespaces=(), validate_assignment=True)
54
+ model_config = ConfigDict(protected_namespaces=(), validate_assignment=True, extra="forbid")
55
55
 
56
56
  @classmethod
57
57
  def get_sagemaker_client(cls, session=None, region_name=None, service_name="sagemaker"):
@@ -305,6 +305,10 @@ class Action(Base):
305
305
  operation_input_args = {
306
306
  "ActionName": action_name,
307
307
  }
308
+ # serialize the input request
309
+ operation_input_args = serialize(operation_input_args)
310
+ logger.debug(f"Serialized input request: {operation_input_args}")
311
+
308
312
  client = Base.get_sagemaker_client(
309
313
  session=session, region_name=region, service_name="sagemaker"
310
314
  )
@@ -343,6 +347,10 @@ class Action(Base):
343
347
  operation_input_args = {
344
348
  "ActionName": self.action_name,
345
349
  }
350
+ # serialize the input request
351
+ operation_input_args = serialize(operation_input_args)
352
+ logger.debug(f"Serialized input request: {operation_input_args}")
353
+
346
354
  client = Base.get_sagemaker_client()
347
355
  response = client.describe_action(**operation_input_args)
348
356
 
@@ -428,6 +436,10 @@ class Action(Base):
428
436
  operation_input_args = {
429
437
  "ActionName": self.action_name,
430
438
  }
439
+ # serialize the input request
440
+ operation_input_args = serialize(operation_input_args)
441
+ logger.debug(f"Serialized input request: {operation_input_args}")
442
+
431
443
  client.delete_action(**operation_input_args)
432
444
 
433
445
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -489,11 +501,9 @@ class Action(Base):
489
501
  "SortOrder": sort_order,
490
502
  }
491
503
 
492
- operation_input_args = {
493
- k: v
494
- for k, v in operation_input_args.items()
495
- if v is not None and not isinstance(v, Unassigned)
496
- }
504
+ # serialize the input request
505
+ operation_input_args = serialize(operation_input_args)
506
+ logger.debug(f"Serialized input request: {operation_input_args}")
497
507
 
498
508
  return ResourceIterator(
499
509
  client=client,
@@ -684,6 +694,10 @@ class Algorithm(Base):
684
694
  operation_input_args = {
685
695
  "AlgorithmName": algorithm_name,
686
696
  }
697
+ # serialize the input request
698
+ operation_input_args = serialize(operation_input_args)
699
+ logger.debug(f"Serialized input request: {operation_input_args}")
700
+
687
701
  client = Base.get_sagemaker_client(
688
702
  session=session, region_name=region, service_name="sagemaker"
689
703
  )
@@ -721,6 +735,10 @@ class Algorithm(Base):
721
735
  operation_input_args = {
722
736
  "AlgorithmName": self.algorithm_name,
723
737
  }
738
+ # serialize the input request
739
+ operation_input_args = serialize(operation_input_args)
740
+ logger.debug(f"Serialized input request: {operation_input_args}")
741
+
724
742
  client = Base.get_sagemaker_client()
725
743
  response = client.describe_algorithm(**operation_input_args)
726
744
 
@@ -753,6 +771,10 @@ class Algorithm(Base):
753
771
  operation_input_args = {
754
772
  "AlgorithmName": self.algorithm_name,
755
773
  }
774
+ # serialize the input request
775
+ operation_input_args = serialize(operation_input_args)
776
+ logger.debug(f"Serialized input request: {operation_input_args}")
777
+
756
778
  client.delete_algorithm(**operation_input_args)
757
779
 
758
780
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -926,11 +948,9 @@ class Algorithm(Base):
926
948
  "SortOrder": sort_order,
927
949
  }
928
950
 
929
- operation_input_args = {
930
- k: v
931
- for k, v in operation_input_args.items()
932
- if v is not None and not isinstance(v, Unassigned)
933
- }
951
+ # serialize the input request
952
+ operation_input_args = serialize(operation_input_args)
953
+ logger.debug(f"Serialized input request: {operation_input_args}")
934
954
 
935
955
  return ResourceIterator(
936
956
  client=client,
@@ -1122,6 +1142,10 @@ class App(Base):
1122
1142
  "AppType": app_type,
1123
1143
  "AppName": app_name,
1124
1144
  }
1145
+ # serialize the input request
1146
+ operation_input_args = serialize(operation_input_args)
1147
+ logger.debug(f"Serialized input request: {operation_input_args}")
1148
+
1125
1149
  client = Base.get_sagemaker_client(
1126
1150
  session=session, region_name=region, service_name="sagemaker"
1127
1151
  )
@@ -1164,6 +1188,10 @@ class App(Base):
1164
1188
  "AppType": self.app_type,
1165
1189
  "AppName": self.app_name,
1166
1190
  }
1191
+ # serialize the input request
1192
+ operation_input_args = serialize(operation_input_args)
1193
+ logger.debug(f"Serialized input request: {operation_input_args}")
1194
+
1167
1195
  client = Base.get_sagemaker_client()
1168
1196
  response = client.describe_app(**operation_input_args)
1169
1197
 
@@ -1201,6 +1229,10 @@ class App(Base):
1201
1229
  "AppType": self.app_type,
1202
1230
  "AppName": self.app_name,
1203
1231
  }
1232
+ # serialize the input request
1233
+ operation_input_args = serialize(operation_input_args)
1234
+ logger.debug(f"Serialized input request: {operation_input_args}")
1235
+
1204
1236
  client.delete_app(**operation_input_args)
1205
1237
 
1206
1238
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -1378,11 +1410,9 @@ class App(Base):
1378
1410
  "SpaceNameEquals": space_name_equals,
1379
1411
  }
1380
1412
 
1381
- operation_input_args = {
1382
- k: v
1383
- for k, v in operation_input_args.items()
1384
- if v is not None and not isinstance(v, Unassigned)
1385
- }
1413
+ # serialize the input request
1414
+ operation_input_args = serialize(operation_input_args)
1415
+ logger.debug(f"Serialized input request: {operation_input_args}")
1386
1416
 
1387
1417
  return ResourceIterator(
1388
1418
  client=client,
@@ -1539,6 +1569,10 @@ class AppImageConfig(Base):
1539
1569
  operation_input_args = {
1540
1570
  "AppImageConfigName": app_image_config_name,
1541
1571
  }
1572
+ # serialize the input request
1573
+ operation_input_args = serialize(operation_input_args)
1574
+ logger.debug(f"Serialized input request: {operation_input_args}")
1575
+
1542
1576
  client = Base.get_sagemaker_client(
1543
1577
  session=session, region_name=region, service_name="sagemaker"
1544
1578
  )
@@ -1577,6 +1611,10 @@ class AppImageConfig(Base):
1577
1611
  operation_input_args = {
1578
1612
  "AppImageConfigName": self.app_image_config_name,
1579
1613
  }
1614
+ # serialize the input request
1615
+ operation_input_args = serialize(operation_input_args)
1616
+ logger.debug(f"Serialized input request: {operation_input_args}")
1617
+
1580
1618
  client = Base.get_sagemaker_client()
1581
1619
  response = client.describe_app_image_config(**operation_input_args)
1582
1620
 
@@ -1656,6 +1694,10 @@ class AppImageConfig(Base):
1656
1694
  operation_input_args = {
1657
1695
  "AppImageConfigName": self.app_image_config_name,
1658
1696
  }
1697
+ # serialize the input request
1698
+ operation_input_args = serialize(operation_input_args)
1699
+ logger.debug(f"Serialized input request: {operation_input_args}")
1700
+
1659
1701
  client.delete_app_image_config(**operation_input_args)
1660
1702
 
1661
1703
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -1719,11 +1761,9 @@ class AppImageConfig(Base):
1719
1761
  "SortOrder": sort_order,
1720
1762
  }
1721
1763
 
1722
- operation_input_args = {
1723
- k: v
1724
- for k, v in operation_input_args.items()
1725
- if v is not None and not isinstance(v, Unassigned)
1726
- }
1764
+ # serialize the input request
1765
+ operation_input_args = serialize(operation_input_args)
1766
+ logger.debug(f"Serialized input request: {operation_input_args}")
1727
1767
 
1728
1768
  return ResourceIterator(
1729
1769
  client=client,
@@ -1891,6 +1931,10 @@ class Artifact(Base):
1891
1931
  operation_input_args = {
1892
1932
  "ArtifactArn": artifact_arn,
1893
1933
  }
1934
+ # serialize the input request
1935
+ operation_input_args = serialize(operation_input_args)
1936
+ logger.debug(f"Serialized input request: {operation_input_args}")
1937
+
1894
1938
  client = Base.get_sagemaker_client(
1895
1939
  session=session, region_name=region, service_name="sagemaker"
1896
1940
  )
@@ -1929,6 +1973,10 @@ class Artifact(Base):
1929
1973
  operation_input_args = {
1930
1974
  "ArtifactArn": self.artifact_arn,
1931
1975
  }
1976
+ # serialize the input request
1977
+ operation_input_args = serialize(operation_input_args)
1978
+ logger.debug(f"Serialized input request: {operation_input_args}")
1979
+
1932
1980
  client = Base.get_sagemaker_client()
1933
1981
  response = client.describe_artifact(**operation_input_args)
1934
1982
 
@@ -2013,6 +2061,10 @@ class Artifact(Base):
2013
2061
  "ArtifactArn": self.artifact_arn,
2014
2062
  "Source": self.source,
2015
2063
  }
2064
+ # serialize the input request
2065
+ operation_input_args = serialize(operation_input_args)
2066
+ logger.debug(f"Serialized input request: {operation_input_args}")
2067
+
2016
2068
  client.delete_artifact(**operation_input_args)
2017
2069
 
2018
2070
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -2074,11 +2126,9 @@ class Artifact(Base):
2074
2126
  "SortOrder": sort_order,
2075
2127
  }
2076
2128
 
2077
- operation_input_args = {
2078
- k: v
2079
- for k, v in operation_input_args.items()
2080
- if v is not None and not isinstance(v, Unassigned)
2081
- }
2129
+ # serialize the input request
2130
+ operation_input_args = serialize(operation_input_args)
2131
+ logger.debug(f"Serialized input request: {operation_input_args}")
2082
2132
 
2083
2133
  return ResourceIterator(
2084
2134
  client=client,
@@ -2159,6 +2209,10 @@ class Association(Base):
2159
2209
  "SourceArn": self.source_arn,
2160
2210
  "DestinationArn": self.destination_arn,
2161
2211
  }
2212
+ # serialize the input request
2213
+ operation_input_args = serialize(operation_input_args)
2214
+ logger.debug(f"Serialized input request: {operation_input_args}")
2215
+
2162
2216
  client.delete_association(**operation_input_args)
2163
2217
 
2164
2218
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -2229,11 +2283,9 @@ class Association(Base):
2229
2283
  "SortOrder": sort_order,
2230
2284
  }
2231
2285
 
2232
- operation_input_args = {
2233
- k: v
2234
- for k, v in operation_input_args.items()
2235
- if v is not None and not isinstance(v, Unassigned)
2236
- }
2286
+ # serialize the input request
2287
+ operation_input_args = serialize(operation_input_args)
2288
+ logger.debug(f"Serialized input request: {operation_input_args}")
2237
2289
 
2238
2290
  return ResourceIterator(
2239
2291
  client=client,
@@ -2283,7 +2335,9 @@ class Association(Base):
2283
2335
  "DestinationArn": destination_arn,
2284
2336
  "AssociationType": association_type,
2285
2337
  }
2286
- logger.debug(f"Input request: {operation_input_args}")
2338
+ # serialize the input request
2339
+ operation_input_args = serialize(operation_input_args)
2340
+ logger.debug(f"Serialized input request: {operation_input_args}")
2287
2341
 
2288
2342
  client = Base.get_sagemaker_client(
2289
2343
  session=session, region_name=region, service_name="sagemaker"
@@ -2515,6 +2569,10 @@ class AutoMLJob(Base):
2515
2569
  operation_input_args = {
2516
2570
  "AutoMLJobName": auto_ml_job_name,
2517
2571
  }
2572
+ # serialize the input request
2573
+ operation_input_args = serialize(operation_input_args)
2574
+ logger.debug(f"Serialized input request: {operation_input_args}")
2575
+
2518
2576
  client = Base.get_sagemaker_client(
2519
2577
  session=session, region_name=region, service_name="sagemaker"
2520
2578
  )
@@ -2553,6 +2611,10 @@ class AutoMLJob(Base):
2553
2611
  operation_input_args = {
2554
2612
  "AutoMLJobName": self.auto_ml_job_name,
2555
2613
  }
2614
+ # serialize the input request
2615
+ operation_input_args = serialize(operation_input_args)
2616
+ logger.debug(f"Serialized input request: {operation_input_args}")
2617
+
2556
2618
  client = Base.get_sagemaker_client()
2557
2619
  response = client.describe_auto_ml_job(**operation_input_args)
2558
2620
 
@@ -2583,6 +2645,10 @@ class AutoMLJob(Base):
2583
2645
  operation_input_args = {
2584
2646
  "AutoMLJobName": self.auto_ml_job_name,
2585
2647
  }
2648
+ # serialize the input request
2649
+ operation_input_args = serialize(operation_input_args)
2650
+ logger.debug(f"Serialized input request: {operation_input_args}")
2651
+
2586
2652
  client.stop_auto_ml_job(**operation_input_args)
2587
2653
 
2588
2654
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -2703,11 +2769,9 @@ class AutoMLJob(Base):
2703
2769
  "SortBy": sort_by,
2704
2770
  }
2705
2771
 
2706
- operation_input_args = {
2707
- k: v
2708
- for k, v in operation_input_args.items()
2709
- if v is not None and not isinstance(v, Unassigned)
2710
- }
2772
+ # serialize the input request
2773
+ operation_input_args = serialize(operation_input_args)
2774
+ logger.debug(f"Serialized input request: {operation_input_args}")
2711
2775
 
2712
2776
  return ResourceIterator(
2713
2777
  client=client,
@@ -2764,12 +2828,9 @@ class AutoMLJob(Base):
2764
2828
  "SortOrder": sort_order,
2765
2829
  "SortBy": sort_by,
2766
2830
  }
2767
- operation_input_args = {
2768
- k: v
2769
- for k, v in operation_input_args.items()
2770
- if v is not None and not isinstance(v, Unassigned)
2771
- }
2772
- logger.debug(f"Input request: {operation_input_args}")
2831
+ # serialize the input request
2832
+ operation_input_args = serialize(operation_input_args)
2833
+ logger.debug(f"Serialized input request: {operation_input_args}")
2773
2834
 
2774
2835
  client = Base.get_sagemaker_client(
2775
2836
  session=session, region_name=region, service_name="sagemaker"
@@ -3017,6 +3078,10 @@ class AutoMLJobV2(Base):
3017
3078
  operation_input_args = {
3018
3079
  "AutoMLJobName": auto_ml_job_name,
3019
3080
  }
3081
+ # serialize the input request
3082
+ operation_input_args = serialize(operation_input_args)
3083
+ logger.debug(f"Serialized input request: {operation_input_args}")
3084
+
3020
3085
  client = Base.get_sagemaker_client(
3021
3086
  session=session, region_name=region, service_name="sagemaker"
3022
3087
  )
@@ -3055,6 +3120,10 @@ class AutoMLJobV2(Base):
3055
3120
  operation_input_args = {
3056
3121
  "AutoMLJobName": self.auto_ml_job_name,
3057
3122
  }
3123
+ # serialize the input request
3124
+ operation_input_args = serialize(operation_input_args)
3125
+ logger.debug(f"Serialized input request: {operation_input_args}")
3126
+
3058
3127
  client = Base.get_sagemaker_client()
3059
3128
  response = client.describe_auto_ml_job_v2(**operation_input_args)
3060
3129
 
@@ -3279,6 +3348,10 @@ class Cluster(Base):
3279
3348
  operation_input_args = {
3280
3349
  "ClusterName": cluster_name,
3281
3350
  }
3351
+ # serialize the input request
3352
+ operation_input_args = serialize(operation_input_args)
3353
+ logger.debug(f"Serialized input request: {operation_input_args}")
3354
+
3282
3355
  client = Base.get_sagemaker_client(
3283
3356
  session=session, region_name=region, service_name="sagemaker"
3284
3357
  )
@@ -3317,6 +3390,10 @@ class Cluster(Base):
3317
3390
  operation_input_args = {
3318
3391
  "ClusterName": self.cluster_name,
3319
3392
  }
3393
+ # serialize the input request
3394
+ operation_input_args = serialize(operation_input_args)
3395
+ logger.debug(f"Serialized input request: {operation_input_args}")
3396
+
3320
3397
  client = Base.get_sagemaker_client()
3321
3398
  response = client.describe_cluster(**operation_input_args)
3322
3399
 
@@ -3396,6 +3473,10 @@ class Cluster(Base):
3396
3473
  operation_input_args = {
3397
3474
  "ClusterName": self.cluster_name,
3398
3475
  }
3476
+ # serialize the input request
3477
+ operation_input_args = serialize(operation_input_args)
3478
+ logger.debug(f"Serialized input request: {operation_input_args}")
3479
+
3399
3480
  client.delete_cluster(**operation_input_args)
3400
3481
 
3401
3482
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -3577,11 +3658,9 @@ class Cluster(Base):
3577
3658
  "SortOrder": sort_order,
3578
3659
  }
3579
3660
 
3580
- operation_input_args = {
3581
- k: v
3582
- for k, v in operation_input_args.items()
3583
- if v is not None and not isinstance(v, Unassigned)
3584
- }
3661
+ # serialize the input request
3662
+ operation_input_args = serialize(operation_input_args)
3663
+ logger.debug(f"Serialized input request: {operation_input_args}")
3585
3664
 
3586
3665
  return ResourceIterator(
3587
3666
  client=client,
@@ -3627,7 +3706,9 @@ class Cluster(Base):
3627
3706
  "ClusterName": self.cluster_name,
3628
3707
  "NodeId": node_id,
3629
3708
  }
3630
- logger.debug(f"Input request: {operation_input_args}")
3709
+ # serialize the input request
3710
+ operation_input_args = serialize(operation_input_args)
3711
+ logger.debug(f"Serialized input request: {operation_input_args}")
3631
3712
 
3632
3713
  client = Base.get_sagemaker_client(
3633
3714
  session=session, region_name=region, service_name="sagemaker"
@@ -3689,12 +3770,9 @@ class Cluster(Base):
3689
3770
  "SortBy": sort_by,
3690
3771
  "SortOrder": sort_order,
3691
3772
  }
3692
- operation_input_args = {
3693
- k: v
3694
- for k, v in operation_input_args.items()
3695
- if v is not None and not isinstance(v, Unassigned)
3696
- }
3697
- logger.debug(f"Input request: {operation_input_args}")
3773
+ # serialize the input request
3774
+ operation_input_args = serialize(operation_input_args)
3775
+ logger.debug(f"Serialized input request: {operation_input_args}")
3698
3776
 
3699
3777
  client = Base.get_sagemaker_client(
3700
3778
  session=session, region_name=region, service_name="sagemaker"
@@ -3739,7 +3817,9 @@ class Cluster(Base):
3739
3817
  operation_input_args = {
3740
3818
  "ClusterName": self.cluster_name,
3741
3819
  }
3742
- logger.debug(f"Input request: {operation_input_args}")
3820
+ # serialize the input request
3821
+ operation_input_args = serialize(operation_input_args)
3822
+ logger.debug(f"Serialized input request: {operation_input_args}")
3743
3823
 
3744
3824
  client = Base.get_sagemaker_client(
3745
3825
  session=session, region_name=region, service_name="sagemaker"
@@ -3883,6 +3963,10 @@ class CodeRepository(Base):
3883
3963
  operation_input_args = {
3884
3964
  "CodeRepositoryName": code_repository_name,
3885
3965
  }
3966
+ # serialize the input request
3967
+ operation_input_args = serialize(operation_input_args)
3968
+ logger.debug(f"Serialized input request: {operation_input_args}")
3969
+
3886
3970
  client = Base.get_sagemaker_client(
3887
3971
  session=session, region_name=region, service_name="sagemaker"
3888
3972
  )
@@ -3920,6 +4004,10 @@ class CodeRepository(Base):
3920
4004
  operation_input_args = {
3921
4005
  "CodeRepositoryName": self.code_repository_name,
3922
4006
  }
4007
+ # serialize the input request
4008
+ operation_input_args = serialize(operation_input_args)
4009
+ logger.debug(f"Serialized input request: {operation_input_args}")
4010
+
3923
4011
  client = Base.get_sagemaker_client()
3924
4012
  response = client.describe_code_repository(**operation_input_args)
3925
4013
 
@@ -3994,6 +4082,10 @@ class CodeRepository(Base):
3994
4082
  operation_input_args = {
3995
4083
  "CodeRepositoryName": self.code_repository_name,
3996
4084
  }
4085
+ # serialize the input request
4086
+ operation_input_args = serialize(operation_input_args)
4087
+ logger.debug(f"Serialized input request: {operation_input_args}")
4088
+
3997
4089
  client.delete_code_repository(**operation_input_args)
3998
4090
 
3999
4091
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -4052,12 +4144,9 @@ class CodeRepository(Base):
4052
4144
  "SortBy": sort_by,
4053
4145
  "SortOrder": sort_order,
4054
4146
  }
4055
- operation_input_args = {
4056
- k: v
4057
- for k, v in operation_input_args.items()
4058
- if v is not None and not isinstance(v, Unassigned)
4059
- }
4060
- logger.debug(f"Input request: {operation_input_args}")
4147
+ # serialize the input request
4148
+ operation_input_args = serialize(operation_input_args)
4149
+ logger.debug(f"Serialized input request: {operation_input_args}")
4061
4150
 
4062
4151
  client = Base.get_sagemaker_client(
4063
4152
  session=session, region_name=region, service_name="sagemaker"
@@ -4276,6 +4365,10 @@ class CompilationJob(Base):
4276
4365
  operation_input_args = {
4277
4366
  "CompilationJobName": compilation_job_name,
4278
4367
  }
4368
+ # serialize the input request
4369
+ operation_input_args = serialize(operation_input_args)
4370
+ logger.debug(f"Serialized input request: {operation_input_args}")
4371
+
4279
4372
  client = Base.get_sagemaker_client(
4280
4373
  session=session, region_name=region, service_name="sagemaker"
4281
4374
  )
@@ -4314,6 +4407,10 @@ class CompilationJob(Base):
4314
4407
  operation_input_args = {
4315
4408
  "CompilationJobName": self.compilation_job_name,
4316
4409
  }
4410
+ # serialize the input request
4411
+ operation_input_args = serialize(operation_input_args)
4412
+ logger.debug(f"Serialized input request: {operation_input_args}")
4413
+
4317
4414
  client = Base.get_sagemaker_client()
4318
4415
  response = client.describe_compilation_job(**operation_input_args)
4319
4416
 
@@ -4346,6 +4443,10 @@ class CompilationJob(Base):
4346
4443
  operation_input_args = {
4347
4444
  "CompilationJobName": self.compilation_job_name,
4348
4445
  }
4446
+ # serialize the input request
4447
+ operation_input_args = serialize(operation_input_args)
4448
+ logger.debug(f"Serialized input request: {operation_input_args}")
4449
+
4349
4450
  client.delete_compilation_job(**operation_input_args)
4350
4451
 
4351
4452
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -4373,6 +4474,10 @@ class CompilationJob(Base):
4373
4474
  operation_input_args = {
4374
4475
  "CompilationJobName": self.compilation_job_name,
4375
4476
  }
4477
+ # serialize the input request
4478
+ operation_input_args = serialize(operation_input_args)
4479
+ logger.debug(f"Serialized input request: {operation_input_args}")
4480
+
4376
4481
  client.stop_compilation_job(**operation_input_args)
4377
4482
 
4378
4483
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -4493,11 +4598,9 @@ class CompilationJob(Base):
4493
4598
  "SortOrder": sort_order,
4494
4599
  }
4495
4600
 
4496
- operation_input_args = {
4497
- k: v
4498
- for k, v in operation_input_args.items()
4499
- if v is not None and not isinstance(v, Unassigned)
4500
- }
4601
+ # serialize the input request
4602
+ operation_input_args = serialize(operation_input_args)
4603
+ logger.debug(f"Serialized input request: {operation_input_args}")
4501
4604
 
4502
4605
  return ResourceIterator(
4503
4606
  client=client,
@@ -4665,6 +4768,10 @@ class Context(Base):
4665
4768
  operation_input_args = {
4666
4769
  "ContextName": context_name,
4667
4770
  }
4771
+ # serialize the input request
4772
+ operation_input_args = serialize(operation_input_args)
4773
+ logger.debug(f"Serialized input request: {operation_input_args}")
4774
+
4668
4775
  client = Base.get_sagemaker_client(
4669
4776
  session=session, region_name=region, service_name="sagemaker"
4670
4777
  )
@@ -4703,6 +4810,10 @@ class Context(Base):
4703
4810
  operation_input_args = {
4704
4811
  "ContextName": self.context_name,
4705
4812
  }
4813
+ # serialize the input request
4814
+ operation_input_args = serialize(operation_input_args)
4815
+ logger.debug(f"Serialized input request: {operation_input_args}")
4816
+
4706
4817
  client = Base.get_sagemaker_client()
4707
4818
  response = client.describe_context(**operation_input_args)
4708
4819
 
@@ -4786,6 +4897,10 @@ class Context(Base):
4786
4897
  operation_input_args = {
4787
4898
  "ContextName": self.context_name,
4788
4899
  }
4900
+ # serialize the input request
4901
+ operation_input_args = serialize(operation_input_args)
4902
+ logger.debug(f"Serialized input request: {operation_input_args}")
4903
+
4789
4904
  client.delete_context(**operation_input_args)
4790
4905
 
4791
4906
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -4847,11 +4962,9 @@ class Context(Base):
4847
4962
  "SortOrder": sort_order,
4848
4963
  }
4849
4964
 
4850
- operation_input_args = {
4851
- k: v
4852
- for k, v in operation_input_args.items()
4853
- if v is not None and not isinstance(v, Unassigned)
4854
- }
4965
+ # serialize the input request
4966
+ operation_input_args = serialize(operation_input_args)
4967
+ logger.debug(f"Serialized input request: {operation_input_args}")
4855
4968
 
4856
4969
  return ResourceIterator(
4857
4970
  client=client,
@@ -5071,6 +5184,10 @@ class DataQualityJobDefinition(Base):
5071
5184
  operation_input_args = {
5072
5185
  "JobDefinitionName": job_definition_name,
5073
5186
  }
5187
+ # serialize the input request
5188
+ operation_input_args = serialize(operation_input_args)
5189
+ logger.debug(f"Serialized input request: {operation_input_args}")
5190
+
5074
5191
  client = Base.get_sagemaker_client(
5075
5192
  session=session, region_name=region, service_name="sagemaker"
5076
5193
  )
@@ -5109,6 +5226,10 @@ class DataQualityJobDefinition(Base):
5109
5226
  operation_input_args = {
5110
5227
  "JobDefinitionName": self.job_definition_name,
5111
5228
  }
5229
+ # serialize the input request
5230
+ operation_input_args = serialize(operation_input_args)
5231
+ logger.debug(f"Serialized input request: {operation_input_args}")
5232
+
5112
5233
  client = Base.get_sagemaker_client()
5113
5234
  response = client.describe_data_quality_job_definition(**operation_input_args)
5114
5235
 
@@ -5141,6 +5262,10 @@ class DataQualityJobDefinition(Base):
5141
5262
  operation_input_args = {
5142
5263
  "JobDefinitionName": self.job_definition_name,
5143
5264
  }
5265
+ # serialize the input request
5266
+ operation_input_args = serialize(operation_input_args)
5267
+ logger.debug(f"Serialized input request: {operation_input_args}")
5268
+
5144
5269
  client.delete_data_quality_job_definition(**operation_input_args)
5145
5270
 
5146
5271
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -5204,11 +5329,9 @@ class DataQualityJobDefinition(Base):
5204
5329
  "monitoring_job_definition_name": "job_definition_name",
5205
5330
  "monitoring_job_definition_arn": "job_definition_arn",
5206
5331
  }
5207
- operation_input_args = {
5208
- k: v
5209
- for k, v in operation_input_args.items()
5210
- if v is not None and not isinstance(v, Unassigned)
5211
- }
5332
+ # serialize the input request
5333
+ operation_input_args = serialize(operation_input_args)
5334
+ logger.debug(f"Serialized input request: {operation_input_args}")
5212
5335
 
5213
5336
  return ResourceIterator(
5214
5337
  client=client,
@@ -5309,6 +5432,10 @@ class Device(Base):
5309
5432
  "DeviceName": device_name,
5310
5433
  "DeviceFleetName": device_fleet_name,
5311
5434
  }
5435
+ # serialize the input request
5436
+ operation_input_args = serialize(operation_input_args)
5437
+ logger.debug(f"Serialized input request: {operation_input_args}")
5438
+
5312
5439
  client = Base.get_sagemaker_client(
5313
5440
  session=session, region_name=region, service_name="sagemaker"
5314
5441
  )
@@ -5349,6 +5476,10 @@ class Device(Base):
5349
5476
  "DeviceName": self.device_name,
5350
5477
  "DeviceFleetName": self.device_fleet_name,
5351
5478
  }
5479
+ # serialize the input request
5480
+ operation_input_args = serialize(operation_input_args)
5481
+ logger.debug(f"Serialized input request: {operation_input_args}")
5482
+
5352
5483
  client = Base.get_sagemaker_client()
5353
5484
  response = client.describe_device(**operation_input_args)
5354
5485
 
@@ -5403,11 +5534,9 @@ class Device(Base):
5403
5534
  "DeviceFleetName": device_fleet_name,
5404
5535
  }
5405
5536
 
5406
- operation_input_args = {
5407
- k: v
5408
- for k, v in operation_input_args.items()
5409
- if v is not None and not isinstance(v, Unassigned)
5410
- }
5537
+ # serialize the input request
5538
+ operation_input_args = serialize(operation_input_args)
5539
+ logger.debug(f"Serialized input request: {operation_input_args}")
5411
5540
 
5412
5541
  return ResourceIterator(
5413
5542
  client=client,
@@ -5591,6 +5720,10 @@ class DeviceFleet(Base):
5591
5720
  operation_input_args = {
5592
5721
  "DeviceFleetName": device_fleet_name,
5593
5722
  }
5723
+ # serialize the input request
5724
+ operation_input_args = serialize(operation_input_args)
5725
+ logger.debug(f"Serialized input request: {operation_input_args}")
5726
+
5594
5727
  client = Base.get_sagemaker_client(
5595
5728
  session=session, region_name=region, service_name="sagemaker"
5596
5729
  )
@@ -5629,6 +5762,10 @@ class DeviceFleet(Base):
5629
5762
  operation_input_args = {
5630
5763
  "DeviceFleetName": self.device_fleet_name,
5631
5764
  }
5765
+ # serialize the input request
5766
+ operation_input_args = serialize(operation_input_args)
5767
+ logger.debug(f"Serialized input request: {operation_input_args}")
5768
+
5632
5769
  client = Base.get_sagemaker_client()
5633
5770
  response = client.describe_device_fleet(**operation_input_args)
5634
5771
 
@@ -5714,6 +5851,10 @@ class DeviceFleet(Base):
5714
5851
  operation_input_args = {
5715
5852
  "DeviceFleetName": self.device_fleet_name,
5716
5853
  }
5854
+ # serialize the input request
5855
+ operation_input_args = serialize(operation_input_args)
5856
+ logger.debug(f"Serialized input request: {operation_input_args}")
5857
+
5717
5858
  client.delete_device_fleet(**operation_input_args)
5718
5859
 
5719
5860
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -5777,11 +5918,9 @@ class DeviceFleet(Base):
5777
5918
  "SortOrder": sort_order,
5778
5919
  }
5779
5920
 
5780
- operation_input_args = {
5781
- k: v
5782
- for k, v in operation_input_args.items()
5783
- if v is not None and not isinstance(v, Unassigned)
5784
- }
5921
+ # serialize the input request
5922
+ operation_input_args = serialize(operation_input_args)
5923
+ logger.debug(f"Serialized input request: {operation_input_args}")
5785
5924
 
5786
5925
  return ResourceIterator(
5787
5926
  client=client,
@@ -5823,7 +5962,9 @@ class DeviceFleet(Base):
5823
5962
  "DeviceFleetName": self.device_fleet_name,
5824
5963
  "DeviceNames": device_names,
5825
5964
  }
5826
- logger.debug(f"Input request: {operation_input_args}")
5965
+ # serialize the input request
5966
+ operation_input_args = serialize(operation_input_args)
5967
+ logger.debug(f"Serialized input request: {operation_input_args}")
5827
5968
 
5828
5969
  client = Base.get_sagemaker_client(
5829
5970
  session=session, region_name=region, service_name="sagemaker"
@@ -5864,7 +6005,9 @@ class DeviceFleet(Base):
5864
6005
  operation_input_args = {
5865
6006
  "DeviceFleetName": self.device_fleet_name,
5866
6007
  }
5867
- logger.debug(f"Input request: {operation_input_args}")
6008
+ # serialize the input request
6009
+ operation_input_args = serialize(operation_input_args)
6010
+ logger.debug(f"Serialized input request: {operation_input_args}")
5868
6011
 
5869
6012
  client = Base.get_sagemaker_client(
5870
6013
  session=session, region_name=region, service_name="sagemaker"
@@ -5912,7 +6055,9 @@ class DeviceFleet(Base):
5912
6055
  "Devices": devices,
5913
6056
  "Tags": tags,
5914
6057
  }
5915
- logger.debug(f"Input request: {operation_input_args}")
6058
+ # serialize the input request
6059
+ operation_input_args = serialize(operation_input_args)
6060
+ logger.debug(f"Serialized input request: {operation_input_args}")
5916
6061
 
5917
6062
  client = Base.get_sagemaker_client(
5918
6063
  session=session, region_name=region, service_name="sagemaker"
@@ -5953,7 +6098,9 @@ class DeviceFleet(Base):
5953
6098
  "DeviceFleetName": self.device_fleet_name,
5954
6099
  "Devices": devices,
5955
6100
  }
5956
- logger.debug(f"Input request: {operation_input_args}")
6101
+ # serialize the input request
6102
+ operation_input_args = serialize(operation_input_args)
6103
+ logger.debug(f"Serialized input request: {operation_input_args}")
5957
6104
 
5958
6105
  client = Base.get_sagemaker_client(
5959
6106
  session=session, region_name=region, service_name="sagemaker"
@@ -6226,6 +6373,10 @@ class Domain(Base):
6226
6373
  operation_input_args = {
6227
6374
  "DomainId": domain_id,
6228
6375
  }
6376
+ # serialize the input request
6377
+ operation_input_args = serialize(operation_input_args)
6378
+ logger.debug(f"Serialized input request: {operation_input_args}")
6379
+
6229
6380
  client = Base.get_sagemaker_client(
6230
6381
  session=session, region_name=region, service_name="sagemaker"
6231
6382
  )
@@ -6264,6 +6415,10 @@ class Domain(Base):
6264
6415
  operation_input_args = {
6265
6416
  "DomainId": self.domain_id,
6266
6417
  }
6418
+ # serialize the input request
6419
+ operation_input_args = serialize(operation_input_args)
6420
+ logger.debug(f"Serialized input request: {operation_input_args}")
6421
+
6267
6422
  client = Base.get_sagemaker_client()
6268
6423
  response = client.describe_domain(**operation_input_args)
6269
6424
 
@@ -6358,6 +6513,10 @@ class Domain(Base):
6358
6513
  "DomainId": self.domain_id,
6359
6514
  "RetentionPolicy": retention_policy,
6360
6515
  }
6516
+ # serialize the input request
6517
+ operation_input_args = serialize(operation_input_args)
6518
+ logger.debug(f"Serialized input request: {operation_input_args}")
6519
+
6361
6520
  client.delete_domain(**operation_input_args)
6362
6521
 
6363
6522
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -6686,6 +6845,10 @@ class EdgeDeploymentPlan(Base):
6686
6845
  "NextToken": next_token,
6687
6846
  "MaxResults": max_results,
6688
6847
  }
6848
+ # serialize the input request
6849
+ operation_input_args = serialize(operation_input_args)
6850
+ logger.debug(f"Serialized input request: {operation_input_args}")
6851
+
6689
6852
  client = Base.get_sagemaker_client(
6690
6853
  session=session, region_name=region, service_name="sagemaker"
6691
6854
  )
@@ -6727,6 +6890,10 @@ class EdgeDeploymentPlan(Base):
6727
6890
  "NextToken": self.next_token,
6728
6891
  "MaxResults": max_results,
6729
6892
  }
6893
+ # serialize the input request
6894
+ operation_input_args = serialize(operation_input_args)
6895
+ logger.debug(f"Serialized input request: {operation_input_args}")
6896
+
6730
6897
  client = Base.get_sagemaker_client()
6731
6898
  response = client.describe_edge_deployment_plan(**operation_input_args)
6732
6899
 
@@ -6759,6 +6926,10 @@ class EdgeDeploymentPlan(Base):
6759
6926
  operation_input_args = {
6760
6927
  "EdgeDeploymentPlanName": self.edge_deployment_plan_name,
6761
6928
  }
6929
+ # serialize the input request
6930
+ operation_input_args = serialize(operation_input_args)
6931
+ logger.debug(f"Serialized input request: {operation_input_args}")
6932
+
6762
6933
  client.delete_edge_deployment_plan(**operation_input_args)
6763
6934
 
6764
6935
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -6825,11 +6996,9 @@ class EdgeDeploymentPlan(Base):
6825
6996
  "SortOrder": sort_order,
6826
6997
  }
6827
6998
 
6828
- operation_input_args = {
6829
- k: v
6830
- for k, v in operation_input_args.items()
6831
- if v is not None and not isinstance(v, Unassigned)
6832
- }
6999
+ # serialize the input request
7000
+ operation_input_args = serialize(operation_input_args)
7001
+ logger.debug(f"Serialized input request: {operation_input_args}")
6833
7002
 
6834
7003
  return ResourceIterator(
6835
7004
  client=client,
@@ -6870,7 +7039,9 @@ class EdgeDeploymentPlan(Base):
6870
7039
  "EdgeDeploymentPlanName": self.edge_deployment_plan_name,
6871
7040
  "Stages": self.stages,
6872
7041
  }
6873
- logger.debug(f"Input request: {operation_input_args}")
7042
+ # serialize the input request
7043
+ operation_input_args = serialize(operation_input_args)
7044
+ logger.debug(f"Serialized input request: {operation_input_args}")
6874
7045
 
6875
7046
  client = Base.get_sagemaker_client(
6876
7047
  session=session, region_name=region, service_name="sagemaker"
@@ -6912,7 +7083,9 @@ class EdgeDeploymentPlan(Base):
6912
7083
  "EdgeDeploymentPlanName": self.edge_deployment_plan_name,
6913
7084
  "StageName": stage_name,
6914
7085
  }
6915
- logger.debug(f"Input request: {operation_input_args}")
7086
+ # serialize the input request
7087
+ operation_input_args = serialize(operation_input_args)
7088
+ logger.debug(f"Serialized input request: {operation_input_args}")
6916
7089
 
6917
7090
  client = Base.get_sagemaker_client(
6918
7091
  session=session, region_name=region, service_name="sagemaker"
@@ -6953,7 +7126,9 @@ class EdgeDeploymentPlan(Base):
6953
7126
  "EdgeDeploymentPlanName": self.edge_deployment_plan_name,
6954
7127
  "StageName": stage_name,
6955
7128
  }
6956
- logger.debug(f"Input request: {operation_input_args}")
7129
+ # serialize the input request
7130
+ operation_input_args = serialize(operation_input_args)
7131
+ logger.debug(f"Serialized input request: {operation_input_args}")
6957
7132
 
6958
7133
  client = Base.get_sagemaker_client(
6959
7134
  session=session, region_name=region, service_name="sagemaker"
@@ -6994,7 +7169,9 @@ class EdgeDeploymentPlan(Base):
6994
7169
  "EdgeDeploymentPlanName": self.edge_deployment_plan_name,
6995
7170
  "StageName": stage_name,
6996
7171
  }
6997
- logger.debug(f"Input request: {operation_input_args}")
7172
+ # serialize the input request
7173
+ operation_input_args = serialize(operation_input_args)
7174
+ logger.debug(f"Serialized input request: {operation_input_args}")
6998
7175
 
6999
7176
  client = Base.get_sagemaker_client(
7000
7177
  session=session, region_name=region, service_name="sagemaker"
@@ -7042,12 +7219,9 @@ class EdgeDeploymentPlan(Base):
7042
7219
  "ExcludeDevicesDeployedInOtherStage": exclude_devices_deployed_in_other_stage,
7043
7220
  "StageName": stage_name,
7044
7221
  }
7045
- operation_input_args = {
7046
- k: v
7047
- for k, v in operation_input_args.items()
7048
- if v is not None and not isinstance(v, Unassigned)
7049
- }
7050
- logger.debug(f"Input request: {operation_input_args}")
7222
+ # serialize the input request
7223
+ operation_input_args = serialize(operation_input_args)
7224
+ logger.debug(f"Serialized input request: {operation_input_args}")
7051
7225
 
7052
7226
  client = Base.get_sagemaker_client(
7053
7227
  session=session, region_name=region, service_name="sagemaker"
@@ -7255,6 +7429,10 @@ class EdgePackagingJob(Base):
7255
7429
  operation_input_args = {
7256
7430
  "EdgePackagingJobName": edge_packaging_job_name,
7257
7431
  }
7432
+ # serialize the input request
7433
+ operation_input_args = serialize(operation_input_args)
7434
+ logger.debug(f"Serialized input request: {operation_input_args}")
7435
+
7258
7436
  client = Base.get_sagemaker_client(
7259
7437
  session=session, region_name=region, service_name="sagemaker"
7260
7438
  )
@@ -7293,6 +7471,10 @@ class EdgePackagingJob(Base):
7293
7471
  operation_input_args = {
7294
7472
  "EdgePackagingJobName": self.edge_packaging_job_name,
7295
7473
  }
7474
+ # serialize the input request
7475
+ operation_input_args = serialize(operation_input_args)
7476
+ logger.debug(f"Serialized input request: {operation_input_args}")
7477
+
7296
7478
  client = Base.get_sagemaker_client()
7297
7479
  response = client.describe_edge_packaging_job(**operation_input_args)
7298
7480
 
@@ -7322,6 +7504,10 @@ class EdgePackagingJob(Base):
7322
7504
  operation_input_args = {
7323
7505
  "EdgePackagingJobName": self.edge_packaging_job_name,
7324
7506
  }
7507
+ # serialize the input request
7508
+ operation_input_args = serialize(operation_input_args)
7509
+ logger.debug(f"Serialized input request: {operation_input_args}")
7510
+
7325
7511
  client.stop_edge_packaging_job(**operation_input_args)
7326
7512
 
7327
7513
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -7447,11 +7633,9 @@ class EdgePackagingJob(Base):
7447
7633
  "SortOrder": sort_order,
7448
7634
  }
7449
7635
 
7450
- operation_input_args = {
7451
- k: v
7452
- for k, v in operation_input_args.items()
7453
- if v is not None and not isinstance(v, Unassigned)
7454
- }
7636
+ # serialize the input request
7637
+ operation_input_args = serialize(operation_input_args)
7638
+ logger.debug(f"Serialized input request: {operation_input_args}")
7455
7639
 
7456
7640
  return ResourceIterator(
7457
7641
  client=client,
@@ -7644,6 +7828,10 @@ class Endpoint(Base):
7644
7828
  operation_input_args = {
7645
7829
  "EndpointName": endpoint_name,
7646
7830
  }
7831
+ # serialize the input request
7832
+ operation_input_args = serialize(operation_input_args)
7833
+ logger.debug(f"Serialized input request: {operation_input_args}")
7834
+
7647
7835
  client = Base.get_sagemaker_client(
7648
7836
  session=session, region_name=region, service_name="sagemaker"
7649
7837
  )
@@ -7681,6 +7869,10 @@ class Endpoint(Base):
7681
7869
  operation_input_args = {
7682
7870
  "EndpointName": self.endpoint_name,
7683
7871
  }
7872
+ # serialize the input request
7873
+ operation_input_args = serialize(operation_input_args)
7874
+ logger.debug(f"Serialized input request: {operation_input_args}")
7875
+
7684
7876
  client = Base.get_sagemaker_client()
7685
7877
  response = client.describe_endpoint(**operation_input_args)
7686
7878
 
@@ -7769,6 +7961,10 @@ class Endpoint(Base):
7769
7961
  operation_input_args = {
7770
7962
  "EndpointName": self.endpoint_name,
7771
7963
  }
7964
+ # serialize the input request
7965
+ operation_input_args = serialize(operation_input_args)
7966
+ logger.debug(f"Serialized input request: {operation_input_args}")
7967
+
7772
7968
  client.delete_endpoint(**operation_input_args)
7773
7969
 
7774
7970
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -8173,11 +8369,9 @@ class Endpoint(Base):
8173
8369
  "StatusEquals": status_equals,
8174
8370
  }
8175
8371
 
8176
- operation_input_args = {
8177
- k: v
8178
- for k, v in operation_input_args.items()
8179
- if v is not None and not isinstance(v, Unassigned)
8180
- }
8372
+ # serialize the input request
8373
+ operation_input_args = serialize(operation_input_args)
8374
+ logger.debug(f"Serialized input request: {operation_input_args}")
8181
8375
 
8182
8376
  return ResourceIterator(
8183
8377
  client=client,
@@ -8220,7 +8414,9 @@ class Endpoint(Base):
8220
8414
  "EndpointName": self.endpoint_name,
8221
8415
  "DesiredWeightsAndCapacities": desired_weights_and_capacities,
8222
8416
  }
8223
- logger.debug(f"Input request: {operation_input_args}")
8417
+ # serialize the input request
8418
+ operation_input_args = serialize(operation_input_args)
8419
+ logger.debug(f"Serialized input request: {operation_input_args}")
8224
8420
 
8225
8421
  client = Base.get_sagemaker_client(
8226
8422
  session=session, region_name=region, service_name="sagemaker"
@@ -8435,6 +8631,10 @@ class EndpointConfig(Base):
8435
8631
  operation_input_args = {
8436
8632
  "EndpointConfigName": endpoint_config_name,
8437
8633
  }
8634
+ # serialize the input request
8635
+ operation_input_args = serialize(operation_input_args)
8636
+ logger.debug(f"Serialized input request: {operation_input_args}")
8637
+
8438
8638
  client = Base.get_sagemaker_client(
8439
8639
  session=session, region_name=region, service_name="sagemaker"
8440
8640
  )
@@ -8472,6 +8672,10 @@ class EndpointConfig(Base):
8472
8672
  operation_input_args = {
8473
8673
  "EndpointConfigName": self.endpoint_config_name,
8474
8674
  }
8675
+ # serialize the input request
8676
+ operation_input_args = serialize(operation_input_args)
8677
+ logger.debug(f"Serialized input request: {operation_input_args}")
8678
+
8475
8679
  client = Base.get_sagemaker_client()
8476
8680
  response = client.describe_endpoint_config(**operation_input_args)
8477
8681
 
@@ -8503,6 +8707,10 @@ class EndpointConfig(Base):
8503
8707
  operation_input_args = {
8504
8708
  "EndpointConfigName": self.endpoint_config_name,
8505
8709
  }
8710
+ # serialize the input request
8711
+ operation_input_args = serialize(operation_input_args)
8712
+ logger.debug(f"Serialized input request: {operation_input_args}")
8713
+
8506
8714
  client.delete_endpoint_config(**operation_input_args)
8507
8715
 
8508
8716
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -8560,11 +8768,9 @@ class EndpointConfig(Base):
8560
8768
  "CreationTimeAfter": creation_time_after,
8561
8769
  }
8562
8770
 
8563
- operation_input_args = {
8564
- k: v
8565
- for k, v in operation_input_args.items()
8566
- if v is not None and not isinstance(v, Unassigned)
8567
- }
8771
+ # serialize the input request
8772
+ operation_input_args = serialize(operation_input_args)
8773
+ logger.debug(f"Serialized input request: {operation_input_args}")
8568
8774
 
8569
8775
  return ResourceIterator(
8570
8776
  client=client,
@@ -8722,6 +8928,10 @@ class Experiment(Base):
8722
8928
  operation_input_args = {
8723
8929
  "ExperimentName": experiment_name,
8724
8930
  }
8931
+ # serialize the input request
8932
+ operation_input_args = serialize(operation_input_args)
8933
+ logger.debug(f"Serialized input request: {operation_input_args}")
8934
+
8725
8935
  client = Base.get_sagemaker_client(
8726
8936
  session=session, region_name=region, service_name="sagemaker"
8727
8937
  )
@@ -8760,6 +8970,10 @@ class Experiment(Base):
8760
8970
  operation_input_args = {
8761
8971
  "ExperimentName": self.experiment_name,
8762
8972
  }
8973
+ # serialize the input request
8974
+ operation_input_args = serialize(operation_input_args)
8975
+ logger.debug(f"Serialized input request: {operation_input_args}")
8976
+
8763
8977
  client = Base.get_sagemaker_client()
8764
8978
  response = client.describe_experiment(**operation_input_args)
8765
8979
 
@@ -8838,6 +9052,10 @@ class Experiment(Base):
8838
9052
  operation_input_args = {
8839
9053
  "ExperimentName": self.experiment_name,
8840
9054
  }
9055
+ # serialize the input request
9056
+ operation_input_args = serialize(operation_input_args)
9057
+ logger.debug(f"Serialized input request: {operation_input_args}")
9058
+
8841
9059
  client.delete_experiment(**operation_input_args)
8842
9060
 
8843
9061
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -8892,11 +9110,9 @@ class Experiment(Base):
8892
9110
  "SortOrder": sort_order,
8893
9111
  }
8894
9112
 
8895
- operation_input_args = {
8896
- k: v
8897
- for k, v in operation_input_args.items()
8898
- if v is not None and not isinstance(v, Unassigned)
8899
- }
9113
+ # serialize the input request
9114
+ operation_input_args = serialize(operation_input_args)
9115
+ logger.debug(f"Serialized input request: {operation_input_args}")
8900
9116
 
8901
9117
  return ResourceIterator(
8902
9118
  client=client,
@@ -9118,6 +9334,10 @@ class FeatureGroup(Base):
9118
9334
  "FeatureGroupName": feature_group_name,
9119
9335
  "NextToken": next_token,
9120
9336
  }
9337
+ # serialize the input request
9338
+ operation_input_args = serialize(operation_input_args)
9339
+ logger.debug(f"Serialized input request: {operation_input_args}")
9340
+
9121
9341
  client = Base.get_sagemaker_client(
9122
9342
  session=session, region_name=region, service_name="sagemaker"
9123
9343
  )
@@ -9157,6 +9377,10 @@ class FeatureGroup(Base):
9157
9377
  "FeatureGroupName": self.feature_group_name,
9158
9378
  "NextToken": self.next_token,
9159
9379
  }
9380
+ # serialize the input request
9381
+ operation_input_args = serialize(operation_input_args)
9382
+ logger.debug(f"Serialized input request: {operation_input_args}")
9383
+
9160
9384
  client = Base.get_sagemaker_client()
9161
9385
  response = client.describe_feature_group(**operation_input_args)
9162
9386
 
@@ -9241,6 +9465,10 @@ class FeatureGroup(Base):
9241
9465
  operation_input_args = {
9242
9466
  "FeatureGroupName": self.feature_group_name,
9243
9467
  }
9468
+ # serialize the input request
9469
+ operation_input_args = serialize(operation_input_args)
9470
+ logger.debug(f"Serialized input request: {operation_input_args}")
9471
+
9244
9472
  client.delete_feature_group(**operation_input_args)
9245
9473
 
9246
9474
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -9424,11 +9652,9 @@ class FeatureGroup(Base):
9424
9652
  "SortBy": sort_by,
9425
9653
  }
9426
9654
 
9427
- operation_input_args = {
9428
- k: v
9429
- for k, v in operation_input_args.items()
9430
- if v is not None and not isinstance(v, Unassigned)
9431
- }
9655
+ # serialize the input request
9656
+ operation_input_args = serialize(operation_input_args)
9657
+ logger.debug(f"Serialized input request: {operation_input_args}")
9432
9658
 
9433
9659
  return ResourceIterator(
9434
9660
  client=client,
@@ -9519,6 +9745,10 @@ class FeatureMetadata(Base):
9519
9745
  "FeatureGroupName": feature_group_name,
9520
9746
  "FeatureName": feature_name,
9521
9747
  }
9748
+ # serialize the input request
9749
+ operation_input_args = serialize(operation_input_args)
9750
+ logger.debug(f"Serialized input request: {operation_input_args}")
9751
+
9522
9752
  client = Base.get_sagemaker_client(
9523
9753
  session=session, region_name=region, service_name="sagemaker"
9524
9754
  )
@@ -9558,6 +9788,10 @@ class FeatureMetadata(Base):
9558
9788
  "FeatureGroupName": self.feature_group_name,
9559
9789
  "FeatureName": self.feature_name,
9560
9790
  }
9791
+ # serialize the input request
9792
+ operation_input_args = serialize(operation_input_args)
9793
+ logger.debug(f"Serialized input request: {operation_input_args}")
9794
+
9561
9795
  client = Base.get_sagemaker_client()
9562
9796
  response = client.describe_feature_metadata(**operation_input_args)
9563
9797
 
@@ -9796,6 +10030,10 @@ class FlowDefinition(Base):
9796
10030
  operation_input_args = {
9797
10031
  "FlowDefinitionName": flow_definition_name,
9798
10032
  }
10033
+ # serialize the input request
10034
+ operation_input_args = serialize(operation_input_args)
10035
+ logger.debug(f"Serialized input request: {operation_input_args}")
10036
+
9799
10037
  client = Base.get_sagemaker_client(
9800
10038
  session=session, region_name=region, service_name="sagemaker"
9801
10039
  )
@@ -9834,6 +10072,10 @@ class FlowDefinition(Base):
9834
10072
  operation_input_args = {
9835
10073
  "FlowDefinitionName": self.flow_definition_name,
9836
10074
  }
10075
+ # serialize the input request
10076
+ operation_input_args = serialize(operation_input_args)
10077
+ logger.debug(f"Serialized input request: {operation_input_args}")
10078
+
9837
10079
  client = Base.get_sagemaker_client()
9838
10080
  response = client.describe_flow_definition(**operation_input_args)
9839
10081
 
@@ -9867,6 +10109,10 @@ class FlowDefinition(Base):
9867
10109
  operation_input_args = {
9868
10110
  "FlowDefinitionName": self.flow_definition_name,
9869
10111
  }
10112
+ # serialize the input request
10113
+ operation_input_args = serialize(operation_input_args)
10114
+ logger.debug(f"Serialized input request: {operation_input_args}")
10115
+
9870
10116
  client.delete_flow_definition(**operation_input_args)
9871
10117
 
9872
10118
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -10038,11 +10284,9 @@ class FlowDefinition(Base):
10038
10284
  "SortOrder": sort_order,
10039
10285
  }
10040
10286
 
10041
- operation_input_args = {
10042
- k: v
10043
- for k, v in operation_input_args.items()
10044
- if v is not None and not isinstance(v, Unassigned)
10045
- }
10287
+ # serialize the input request
10288
+ operation_input_args = serialize(operation_input_args)
10289
+ logger.debug(f"Serialized input request: {operation_input_args}")
10046
10290
 
10047
10291
  return ResourceIterator(
10048
10292
  client=client,
@@ -10225,6 +10469,10 @@ class Hub(Base):
10225
10469
  operation_input_args = {
10226
10470
  "HubName": hub_name,
10227
10471
  }
10472
+ # serialize the input request
10473
+ operation_input_args = serialize(operation_input_args)
10474
+ logger.debug(f"Serialized input request: {operation_input_args}")
10475
+
10228
10476
  client = Base.get_sagemaker_client(
10229
10477
  session=session, region_name=region, service_name="sagemaker"
10230
10478
  )
@@ -10263,6 +10511,10 @@ class Hub(Base):
10263
10511
  operation_input_args = {
10264
10512
  "HubName": self.hub_name,
10265
10513
  }
10514
+ # serialize the input request
10515
+ operation_input_args = serialize(operation_input_args)
10516
+ logger.debug(f"Serialized input request: {operation_input_args}")
10517
+
10266
10518
  client = Base.get_sagemaker_client()
10267
10519
  response = client.describe_hub(**operation_input_args)
10268
10520
 
@@ -10344,6 +10596,10 @@ class Hub(Base):
10344
10596
  operation_input_args = {
10345
10597
  "HubName": self.hub_name,
10346
10598
  }
10599
+ # serialize the input request
10600
+ operation_input_args = serialize(operation_input_args)
10601
+ logger.debug(f"Serialized input request: {operation_input_args}")
10602
+
10347
10603
  client.delete_hub(**operation_input_args)
10348
10604
 
10349
10605
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -10531,11 +10787,9 @@ class Hub(Base):
10531
10787
  "SortOrder": sort_order,
10532
10788
  }
10533
10789
 
10534
- operation_input_args = {
10535
- k: v
10536
- for k, v in operation_input_args.items()
10537
- if v is not None and not isinstance(v, Unassigned)
10538
- }
10790
+ # serialize the input request
10791
+ operation_input_args = serialize(operation_input_args)
10792
+ logger.debug(f"Serialized input request: {operation_input_args}")
10539
10793
 
10540
10794
  return ResourceIterator(
10541
10795
  client=client,
@@ -10654,6 +10908,10 @@ class HubContent(Base):
10654
10908
  "HubContentName": hub_content_name,
10655
10909
  "HubContentVersion": hub_content_version,
10656
10910
  }
10911
+ # serialize the input request
10912
+ operation_input_args = serialize(operation_input_args)
10913
+ logger.debug(f"Serialized input request: {operation_input_args}")
10914
+
10657
10915
  client = Base.get_sagemaker_client(
10658
10916
  session=session, region_name=region, service_name="sagemaker"
10659
10917
  )
@@ -10695,6 +10953,10 @@ class HubContent(Base):
10695
10953
  "HubContentName": self.hub_content_name,
10696
10954
  "HubContentVersion": self.hub_content_version,
10697
10955
  }
10956
+ # serialize the input request
10957
+ operation_input_args = serialize(operation_input_args)
10958
+ logger.debug(f"Serialized input request: {operation_input_args}")
10959
+
10698
10960
  client = Base.get_sagemaker_client()
10699
10961
  response = client.describe_hub_content(**operation_input_args)
10700
10962
 
@@ -10731,6 +10993,10 @@ class HubContent(Base):
10731
10993
  "HubContentName": self.hub_content_name,
10732
10994
  "HubContentVersion": self.hub_content_version,
10733
10995
  }
10996
+ # serialize the input request
10997
+ operation_input_args = serialize(operation_input_args)
10998
+ logger.debug(f"Serialized input request: {operation_input_args}")
10999
+
10734
11000
  client.delete_hub_content(**operation_input_args)
10735
11001
 
10736
11002
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -10929,12 +11195,9 @@ class HubContent(Base):
10929
11195
  "SortBy": sort_by,
10930
11196
  "SortOrder": sort_order,
10931
11197
  }
10932
- operation_input_args = {
10933
- k: v
10934
- for k, v in operation_input_args.items()
10935
- if v is not None and not isinstance(v, Unassigned)
10936
- }
10937
- logger.debug(f"Input request: {operation_input_args}")
11198
+ # serialize the input request
11199
+ operation_input_args = serialize(operation_input_args)
11200
+ logger.debug(f"Serialized input request: {operation_input_args}")
10938
11201
 
10939
11202
  client = Base.get_sagemaker_client(
10940
11203
  session=session, region_name=region, service_name="sagemaker"
@@ -11039,7 +11302,9 @@ class HubContentReference(Base):
11039
11302
  "MinVersion": min_version,
11040
11303
  "Tags": tags,
11041
11304
  }
11042
- logger.debug(f"Input request: {operation_input_args}")
11305
+ # serialize the input request
11306
+ operation_input_args = serialize(operation_input_args)
11307
+ logger.debug(f"Serialized input request: {operation_input_args}")
11043
11308
 
11044
11309
  client = Base.get_sagemaker_client(
11045
11310
  session=session, region_name=region, service_name="sagemaker"
@@ -11080,6 +11345,10 @@ class HubContentReference(Base):
11080
11345
  "HubContentType": hub_content_type,
11081
11346
  "HubContentName": self.hub_content_name,
11082
11347
  }
11348
+ # serialize the input request
11349
+ operation_input_args = serialize(operation_input_args)
11350
+ logger.debug(f"Serialized input request: {operation_input_args}")
11351
+
11083
11352
  client.delete_hub_content_reference(**operation_input_args)
11084
11353
 
11085
11354
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -11221,6 +11490,10 @@ class HumanTaskUi(Base):
11221
11490
  operation_input_args = {
11222
11491
  "HumanTaskUiName": human_task_ui_name,
11223
11492
  }
11493
+ # serialize the input request
11494
+ operation_input_args = serialize(operation_input_args)
11495
+ logger.debug(f"Serialized input request: {operation_input_args}")
11496
+
11224
11497
  client = Base.get_sagemaker_client(
11225
11498
  session=session, region_name=region, service_name="sagemaker"
11226
11499
  )
@@ -11259,6 +11532,10 @@ class HumanTaskUi(Base):
11259
11532
  operation_input_args = {
11260
11533
  "HumanTaskUiName": self.human_task_ui_name,
11261
11534
  }
11535
+ # serialize the input request
11536
+ operation_input_args = serialize(operation_input_args)
11537
+ logger.debug(f"Serialized input request: {operation_input_args}")
11538
+
11262
11539
  client = Base.get_sagemaker_client()
11263
11540
  response = client.describe_human_task_ui(**operation_input_args)
11264
11541
 
@@ -11291,6 +11568,10 @@ class HumanTaskUi(Base):
11291
11568
  operation_input_args = {
11292
11569
  "HumanTaskUiName": self.human_task_ui_name,
11293
11570
  }
11571
+ # serialize the input request
11572
+ operation_input_args = serialize(operation_input_args)
11573
+ logger.debug(f"Serialized input request: {operation_input_args}")
11574
+
11294
11575
  client.delete_human_task_ui(**operation_input_args)
11295
11576
 
11296
11577
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -11455,11 +11736,9 @@ class HumanTaskUi(Base):
11455
11736
  "SortOrder": sort_order,
11456
11737
  }
11457
11738
 
11458
- operation_input_args = {
11459
- k: v
11460
- for k, v in operation_input_args.items()
11461
- if v is not None and not isinstance(v, Unassigned)
11462
- }
11739
+ # serialize the input request
11740
+ operation_input_args = serialize(operation_input_args)
11741
+ logger.debug(f"Serialized input request: {operation_input_args}")
11463
11742
 
11464
11743
  return ResourceIterator(
11465
11744
  client=client,
@@ -11682,6 +11961,10 @@ class HyperParameterTuningJob(Base):
11682
11961
  operation_input_args = {
11683
11962
  "HyperParameterTuningJobName": hyper_parameter_tuning_job_name,
11684
11963
  }
11964
+ # serialize the input request
11965
+ operation_input_args = serialize(operation_input_args)
11966
+ logger.debug(f"Serialized input request: {operation_input_args}")
11967
+
11685
11968
  client = Base.get_sagemaker_client(
11686
11969
  session=session, region_name=region, service_name="sagemaker"
11687
11970
  )
@@ -11720,6 +12003,10 @@ class HyperParameterTuningJob(Base):
11720
12003
  operation_input_args = {
11721
12004
  "HyperParameterTuningJobName": self.hyper_parameter_tuning_job_name,
11722
12005
  }
12006
+ # serialize the input request
12007
+ operation_input_args = serialize(operation_input_args)
12008
+ logger.debug(f"Serialized input request: {operation_input_args}")
12009
+
11723
12010
  client = Base.get_sagemaker_client()
11724
12011
  response = client.describe_hyper_parameter_tuning_job(**operation_input_args)
11725
12012
 
@@ -11751,6 +12038,10 @@ class HyperParameterTuningJob(Base):
11751
12038
  operation_input_args = {
11752
12039
  "HyperParameterTuningJobName": self.hyper_parameter_tuning_job_name,
11753
12040
  }
12041
+ # serialize the input request
12042
+ operation_input_args = serialize(operation_input_args)
12043
+ logger.debug(f"Serialized input request: {operation_input_args}")
12044
+
11754
12045
  client.delete_hyper_parameter_tuning_job(**operation_input_args)
11755
12046
 
11756
12047
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -11778,6 +12069,10 @@ class HyperParameterTuningJob(Base):
11778
12069
  operation_input_args = {
11779
12070
  "HyperParameterTuningJobName": self.hyper_parameter_tuning_job_name,
11780
12071
  }
12072
+ # serialize the input request
12073
+ operation_input_args = serialize(operation_input_args)
12074
+ logger.debug(f"Serialized input request: {operation_input_args}")
12075
+
11781
12076
  client.stop_hyper_parameter_tuning_job(**operation_input_args)
11782
12077
 
11783
12078
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -11963,11 +12258,9 @@ class HyperParameterTuningJob(Base):
11963
12258
  "StatusEquals": status_equals,
11964
12259
  }
11965
12260
 
11966
- operation_input_args = {
11967
- k: v
11968
- for k, v in operation_input_args.items()
11969
- if v is not None and not isinstance(v, Unassigned)
11970
- }
12261
+ # serialize the input request
12262
+ operation_input_args = serialize(operation_input_args)
12263
+ logger.debug(f"Serialized input request: {operation_input_args}")
11971
12264
 
11972
12265
  return ResourceIterator(
11973
12266
  client=client,
@@ -12021,12 +12314,9 @@ class HyperParameterTuningJob(Base):
12021
12314
  "SortBy": sort_by,
12022
12315
  "SortOrder": sort_order,
12023
12316
  }
12024
- operation_input_args = {
12025
- k: v
12026
- for k, v in operation_input_args.items()
12027
- if v is not None and not isinstance(v, Unassigned)
12028
- }
12029
- logger.debug(f"Input request: {operation_input_args}")
12317
+ # serialize the input request
12318
+ operation_input_args = serialize(operation_input_args)
12319
+ logger.debug(f"Serialized input request: {operation_input_args}")
12030
12320
 
12031
12321
  client = Base.get_sagemaker_client(
12032
12322
  session=session, region_name=region, service_name="sagemaker"
@@ -12206,6 +12496,10 @@ class Image(Base):
12206
12496
  operation_input_args = {
12207
12497
  "ImageName": image_name,
12208
12498
  }
12499
+ # serialize the input request
12500
+ operation_input_args = serialize(operation_input_args)
12501
+ logger.debug(f"Serialized input request: {operation_input_args}")
12502
+
12209
12503
  client = Base.get_sagemaker_client(
12210
12504
  session=session, region_name=region, service_name="sagemaker"
12211
12505
  )
@@ -12244,6 +12538,10 @@ class Image(Base):
12244
12538
  operation_input_args = {
12245
12539
  "ImageName": self.image_name,
12246
12540
  }
12541
+ # serialize the input request
12542
+ operation_input_args = serialize(operation_input_args)
12543
+ logger.debug(f"Serialized input request: {operation_input_args}")
12544
+
12247
12545
  client = Base.get_sagemaker_client()
12248
12546
  response = client.describe_image(**operation_input_args)
12249
12547
 
@@ -12331,6 +12629,10 @@ class Image(Base):
12331
12629
  operation_input_args = {
12332
12630
  "ImageName": self.image_name,
12333
12631
  }
12632
+ # serialize the input request
12633
+ operation_input_args = serialize(operation_input_args)
12634
+ logger.debug(f"Serialized input request: {operation_input_args}")
12635
+
12334
12636
  client.delete_image(**operation_input_args)
12335
12637
 
12336
12638
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -12526,11 +12828,9 @@ class Image(Base):
12526
12828
  "SortOrder": sort_order,
12527
12829
  }
12528
12830
 
12529
- operation_input_args = {
12530
- k: v
12531
- for k, v in operation_input_args.items()
12532
- if v is not None and not isinstance(v, Unassigned)
12533
- }
12831
+ # serialize the input request
12832
+ operation_input_args = serialize(operation_input_args)
12833
+ logger.debug(f"Serialized input request: {operation_input_args}")
12534
12834
 
12535
12835
  return ResourceIterator(
12536
12836
  client=client,
@@ -12581,12 +12881,9 @@ class Image(Base):
12581
12881
  "Alias": alias,
12582
12882
  "Version": version,
12583
12883
  }
12584
- operation_input_args = {
12585
- k: v
12586
- for k, v in operation_input_args.items()
12587
- if v is not None and not isinstance(v, Unassigned)
12588
- }
12589
- logger.debug(f"Input request: {operation_input_args}")
12884
+ # serialize the input request
12885
+ operation_input_args = serialize(operation_input_args)
12886
+ logger.debug(f"Serialized input request: {operation_input_args}")
12590
12887
 
12591
12888
  client = Base.get_sagemaker_client(
12592
12889
  session=session, region_name=region, service_name="sagemaker"
@@ -12792,6 +13089,10 @@ class ImageVersion(Base):
12792
13089
  "Version": version,
12793
13090
  "Alias": alias,
12794
13091
  }
13092
+ # serialize the input request
13093
+ operation_input_args = serialize(operation_input_args)
13094
+ logger.debug(f"Serialized input request: {operation_input_args}")
13095
+
12795
13096
  client = Base.get_sagemaker_client(
12796
13097
  session=session, region_name=region, service_name="sagemaker"
12797
13098
  )
@@ -12833,6 +13134,10 @@ class ImageVersion(Base):
12833
13134
  "Version": self.version,
12834
13135
  "Alias": alias,
12835
13136
  }
13137
+ # serialize the input request
13138
+ operation_input_args = serialize(operation_input_args)
13139
+ logger.debug(f"Serialized input request: {operation_input_args}")
13140
+
12836
13141
  client = Base.get_sagemaker_client()
12837
13142
  response = client.describe_image_version(**operation_input_args)
12838
13143
 
@@ -12938,6 +13243,10 @@ class ImageVersion(Base):
12938
13243
  "Version": self.version,
12939
13244
  "Alias": alias,
12940
13245
  }
13246
+ # serialize the input request
13247
+ operation_input_args = serialize(operation_input_args)
13248
+ logger.debug(f"Serialized input request: {operation_input_args}")
13249
+
12941
13250
  client.delete_image_version(**operation_input_args)
12942
13251
 
12943
13252
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -13228,6 +13537,10 @@ class InferenceComponent(Base):
13228
13537
  operation_input_args = {
13229
13538
  "InferenceComponentName": inference_component_name,
13230
13539
  }
13540
+ # serialize the input request
13541
+ operation_input_args = serialize(operation_input_args)
13542
+ logger.debug(f"Serialized input request: {operation_input_args}")
13543
+
13231
13544
  client = Base.get_sagemaker_client(
13232
13545
  session=session, region_name=region, service_name="sagemaker"
13233
13546
  )
@@ -13265,6 +13578,10 @@ class InferenceComponent(Base):
13265
13578
  operation_input_args = {
13266
13579
  "InferenceComponentName": self.inference_component_name,
13267
13580
  }
13581
+ # serialize the input request
13582
+ operation_input_args = serialize(operation_input_args)
13583
+ logger.debug(f"Serialized input request: {operation_input_args}")
13584
+
13268
13585
  client = Base.get_sagemaker_client()
13269
13586
  response = client.describe_inference_component(**operation_input_args)
13270
13587
 
@@ -13341,6 +13658,10 @@ class InferenceComponent(Base):
13341
13658
  operation_input_args = {
13342
13659
  "InferenceComponentName": self.inference_component_name,
13343
13660
  }
13661
+ # serialize the input request
13662
+ operation_input_args = serialize(operation_input_args)
13663
+ logger.debug(f"Serialized input request: {operation_input_args}")
13664
+
13344
13665
  client.delete_inference_component(**operation_input_args)
13345
13666
 
13346
13667
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -13537,11 +13858,9 @@ class InferenceComponent(Base):
13537
13858
  "VariantNameEquals": variant_name_equals,
13538
13859
  }
13539
13860
 
13540
- operation_input_args = {
13541
- k: v
13542
- for k, v in operation_input_args.items()
13543
- if v is not None and not isinstance(v, Unassigned)
13544
- }
13861
+ # serialize the input request
13862
+ operation_input_args = serialize(operation_input_args)
13863
+ logger.debug(f"Serialized input request: {operation_input_args}")
13545
13864
 
13546
13865
  return ResourceIterator(
13547
13866
  client=client,
@@ -13584,7 +13903,9 @@ class InferenceComponent(Base):
13584
13903
  "InferenceComponentName": self.inference_component_name,
13585
13904
  "DesiredRuntimeConfig": desired_runtime_config,
13586
13905
  }
13587
- logger.debug(f"Input request: {operation_input_args}")
13906
+ # serialize the input request
13907
+ operation_input_args = serialize(operation_input_args)
13908
+ logger.debug(f"Serialized input request: {operation_input_args}")
13588
13909
 
13589
13910
  client = Base.get_sagemaker_client(
13590
13911
  session=session, region_name=region, service_name="sagemaker"
@@ -13795,6 +14116,10 @@ class InferenceExperiment(Base):
13795
14116
  operation_input_args = {
13796
14117
  "Name": name,
13797
14118
  }
14119
+ # serialize the input request
14120
+ operation_input_args = serialize(operation_input_args)
14121
+ logger.debug(f"Serialized input request: {operation_input_args}")
14122
+
13798
14123
  client = Base.get_sagemaker_client(
13799
14124
  session=session, region_name=region, service_name="sagemaker"
13800
14125
  )
@@ -13833,6 +14158,10 @@ class InferenceExperiment(Base):
13833
14158
  operation_input_args = {
13834
14159
  "Name": self.name,
13835
14160
  }
14161
+ # serialize the input request
14162
+ operation_input_args = serialize(operation_input_args)
14163
+ logger.debug(f"Serialized input request: {operation_input_args}")
14164
+
13836
14165
  client = Base.get_sagemaker_client()
13837
14166
  response = client.describe_inference_experiment(**operation_input_args)
13838
14167
 
@@ -13919,6 +14248,10 @@ class InferenceExperiment(Base):
13919
14248
  operation_input_args = {
13920
14249
  "Name": self.name,
13921
14250
  }
14251
+ # serialize the input request
14252
+ operation_input_args = serialize(operation_input_args)
14253
+ logger.debug(f"Serialized input request: {operation_input_args}")
14254
+
13922
14255
  client.delete_inference_experiment(**operation_input_args)
13923
14256
 
13924
14257
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -13951,6 +14284,10 @@ class InferenceExperiment(Base):
13951
14284
  "DesiredState": self.desired_state,
13952
14285
  "Reason": self.reason,
13953
14286
  }
14287
+ # serialize the input request
14288
+ operation_input_args = serialize(operation_input_args)
14289
+ logger.debug(f"Serialized input request: {operation_input_args}")
14290
+
13954
14291
  client.stop_inference_experiment(**operation_input_args)
13955
14292
 
13956
14293
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -14083,11 +14420,9 @@ class InferenceExperiment(Base):
14083
14420
  "SortOrder": sort_order,
14084
14421
  }
14085
14422
 
14086
- operation_input_args = {
14087
- k: v
14088
- for k, v in operation_input_args.items()
14089
- if v is not None and not isinstance(v, Unassigned)
14090
- }
14423
+ # serialize the input request
14424
+ operation_input_args = serialize(operation_input_args)
14425
+ logger.debug(f"Serialized input request: {operation_input_args}")
14091
14426
 
14092
14427
  return ResourceIterator(
14093
14428
  client=client,
@@ -14291,6 +14626,10 @@ class InferenceRecommendationsJob(Base):
14291
14626
  operation_input_args = {
14292
14627
  "JobName": job_name,
14293
14628
  }
14629
+ # serialize the input request
14630
+ operation_input_args = serialize(operation_input_args)
14631
+ logger.debug(f"Serialized input request: {operation_input_args}")
14632
+
14294
14633
  client = Base.get_sagemaker_client(
14295
14634
  session=session, region_name=region, service_name="sagemaker"
14296
14635
  )
@@ -14329,6 +14668,10 @@ class InferenceRecommendationsJob(Base):
14329
14668
  operation_input_args = {
14330
14669
  "JobName": self.job_name,
14331
14670
  }
14671
+ # serialize the input request
14672
+ operation_input_args = serialize(operation_input_args)
14673
+ logger.debug(f"Serialized input request: {operation_input_args}")
14674
+
14332
14675
  client = Base.get_sagemaker_client()
14333
14676
  response = client.describe_inference_recommendations_job(**operation_input_args)
14334
14677
 
@@ -14359,6 +14702,10 @@ class InferenceRecommendationsJob(Base):
14359
14702
  operation_input_args = {
14360
14703
  "JobName": self.job_name,
14361
14704
  }
14705
+ # serialize the input request
14706
+ operation_input_args = serialize(operation_input_args)
14707
+ logger.debug(f"Serialized input request: {operation_input_args}")
14708
+
14362
14709
  client.stop_inference_recommendations_job(**operation_input_args)
14363
14710
 
14364
14711
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -14554,11 +14901,9 @@ class InferenceRecommendationsJob(Base):
14554
14901
  "ModelPackageVersionArnEquals": model_package_version_arn_equals,
14555
14902
  }
14556
14903
 
14557
- operation_input_args = {
14558
- k: v
14559
- for k, v in operation_input_args.items()
14560
- if v is not None and not isinstance(v, Unassigned)
14561
- }
14904
+ # serialize the input request
14905
+ operation_input_args = serialize(operation_input_args)
14906
+ logger.debug(f"Serialized input request: {operation_input_args}")
14562
14907
 
14563
14908
  return ResourceIterator(
14564
14909
  client=client,
@@ -14607,12 +14952,9 @@ class InferenceRecommendationsJob(Base):
14607
14952
  "Status": self.status,
14608
14953
  "StepType": step_type,
14609
14954
  }
14610
- operation_input_args = {
14611
- k: v
14612
- for k, v in operation_input_args.items()
14613
- if v is not None and not isinstance(v, Unassigned)
14614
- }
14615
- logger.debug(f"Input request: {operation_input_args}")
14955
+ # serialize the input request
14956
+ operation_input_args = serialize(operation_input_args)
14957
+ logger.debug(f"Serialized input request: {operation_input_args}")
14616
14958
 
14617
14959
  client = Base.get_sagemaker_client(
14618
14960
  session=session, region_name=region, service_name="sagemaker"
@@ -14846,6 +15188,10 @@ class LabelingJob(Base):
14846
15188
  operation_input_args = {
14847
15189
  "LabelingJobName": labeling_job_name,
14848
15190
  }
15191
+ # serialize the input request
15192
+ operation_input_args = serialize(operation_input_args)
15193
+ logger.debug(f"Serialized input request: {operation_input_args}")
15194
+
14849
15195
  client = Base.get_sagemaker_client(
14850
15196
  session=session, region_name=region, service_name="sagemaker"
14851
15197
  )
@@ -14884,6 +15230,10 @@ class LabelingJob(Base):
14884
15230
  operation_input_args = {
14885
15231
  "LabelingJobName": self.labeling_job_name,
14886
15232
  }
15233
+ # serialize the input request
15234
+ operation_input_args = serialize(operation_input_args)
15235
+ logger.debug(f"Serialized input request: {operation_input_args}")
15236
+
14887
15237
  client = Base.get_sagemaker_client()
14888
15238
  response = client.describe_labeling_job(**operation_input_args)
14889
15239
 
@@ -14914,6 +15264,10 @@ class LabelingJob(Base):
14914
15264
  operation_input_args = {
14915
15265
  "LabelingJobName": self.labeling_job_name,
14916
15266
  }
15267
+ # serialize the input request
15268
+ operation_input_args = serialize(operation_input_args)
15269
+ logger.debug(f"Serialized input request: {operation_input_args}")
15270
+
14917
15271
  client.stop_labeling_job(**operation_input_args)
14918
15272
 
14919
15273
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -15034,11 +15388,9 @@ class LabelingJob(Base):
15034
15388
  "StatusEquals": status_equals,
15035
15389
  }
15036
15390
 
15037
- operation_input_args = {
15038
- k: v
15039
- for k, v in operation_input_args.items()
15040
- if v is not None and not isinstance(v, Unassigned)
15041
- }
15391
+ # serialize the input request
15392
+ operation_input_args = serialize(operation_input_args)
15393
+ logger.debug(f"Serialized input request: {operation_input_args}")
15042
15394
 
15043
15395
  return ResourceIterator(
15044
15396
  client=client,
@@ -15126,6 +15478,10 @@ class LineageGroup(Base):
15126
15478
  operation_input_args = {
15127
15479
  "LineageGroupName": lineage_group_name,
15128
15480
  }
15481
+ # serialize the input request
15482
+ operation_input_args = serialize(operation_input_args)
15483
+ logger.debug(f"Serialized input request: {operation_input_args}")
15484
+
15129
15485
  client = Base.get_sagemaker_client(
15130
15486
  session=session, region_name=region, service_name="sagemaker"
15131
15487
  )
@@ -15164,6 +15520,10 @@ class LineageGroup(Base):
15164
15520
  operation_input_args = {
15165
15521
  "LineageGroupName": self.lineage_group_name,
15166
15522
  }
15523
+ # serialize the input request
15524
+ operation_input_args = serialize(operation_input_args)
15525
+ logger.debug(f"Serialized input request: {operation_input_args}")
15526
+
15167
15527
  client = Base.get_sagemaker_client()
15168
15528
  response = client.describe_lineage_group(**operation_input_args)
15169
15529
 
@@ -15221,11 +15581,9 @@ class LineageGroup(Base):
15221
15581
  "SortOrder": sort_order,
15222
15582
  }
15223
15583
 
15224
- operation_input_args = {
15225
- k: v
15226
- for k, v in operation_input_args.items()
15227
- if v is not None and not isinstance(v, Unassigned)
15228
- }
15584
+ # serialize the input request
15585
+ operation_input_args = serialize(operation_input_args)
15586
+ logger.debug(f"Serialized input request: {operation_input_args}")
15229
15587
 
15230
15588
  return ResourceIterator(
15231
15589
  client=client,
@@ -15268,7 +15626,9 @@ class LineageGroup(Base):
15268
15626
  operation_input_args = {
15269
15627
  "LineageGroupName": self.lineage_group_name,
15270
15628
  }
15271
- logger.debug(f"Input request: {operation_input_args}")
15629
+ # serialize the input request
15630
+ operation_input_args = serialize(operation_input_args)
15631
+ logger.debug(f"Serialized input request: {operation_input_args}")
15272
15632
 
15273
15633
  client = Base.get_sagemaker_client(
15274
15634
  session=session, region_name=region, service_name="sagemaker"
@@ -15466,6 +15826,10 @@ class MlflowTrackingServer(Base):
15466
15826
  operation_input_args = {
15467
15827
  "TrackingServerName": tracking_server_name,
15468
15828
  }
15829
+ # serialize the input request
15830
+ operation_input_args = serialize(operation_input_args)
15831
+ logger.debug(f"Serialized input request: {operation_input_args}")
15832
+
15469
15833
  client = Base.get_sagemaker_client(
15470
15834
  session=session, region_name=region, service_name="sagemaker"
15471
15835
  )
@@ -15504,6 +15868,10 @@ class MlflowTrackingServer(Base):
15504
15868
  operation_input_args = {
15505
15869
  "TrackingServerName": self.tracking_server_name,
15506
15870
  }
15871
+ # serialize the input request
15872
+ operation_input_args = serialize(operation_input_args)
15873
+ logger.debug(f"Serialized input request: {operation_input_args}")
15874
+
15507
15875
  client = Base.get_sagemaker_client()
15508
15876
  response = client.describe_mlflow_tracking_server(**operation_input_args)
15509
15877
 
@@ -15588,6 +15956,10 @@ class MlflowTrackingServer(Base):
15588
15956
  operation_input_args = {
15589
15957
  "TrackingServerName": self.tracking_server_name,
15590
15958
  }
15959
+ # serialize the input request
15960
+ operation_input_args = serialize(operation_input_args)
15961
+ logger.debug(f"Serialized input request: {operation_input_args}")
15962
+
15591
15963
  client.delete_mlflow_tracking_server(**operation_input_args)
15592
15964
 
15593
15965
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -15616,6 +15988,10 @@ class MlflowTrackingServer(Base):
15616
15988
  operation_input_args = {
15617
15989
  "TrackingServerName": self.tracking_server_name,
15618
15990
  }
15991
+ # serialize the input request
15992
+ operation_input_args = serialize(operation_input_args)
15993
+ logger.debug(f"Serialized input request: {operation_input_args}")
15994
+
15619
15995
  client.stop_mlflow_tracking_server(**operation_input_args)
15620
15996
 
15621
15997
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -15818,11 +16194,9 @@ class MlflowTrackingServer(Base):
15818
16194
  "SortOrder": sort_order,
15819
16195
  }
15820
16196
 
15821
- operation_input_args = {
15822
- k: v
15823
- for k, v in operation_input_args.items()
15824
- if v is not None and not isinstance(v, Unassigned)
15825
- }
16197
+ # serialize the input request
16198
+ operation_input_args = serialize(operation_input_args)
16199
+ logger.debug(f"Serialized input request: {operation_input_args}")
15826
16200
 
15827
16201
  return ResourceIterator(
15828
16202
  client=client,
@@ -16021,6 +16395,10 @@ class Model(Base):
16021
16395
  operation_input_args = {
16022
16396
  "ModelName": model_name,
16023
16397
  }
16398
+ # serialize the input request
16399
+ operation_input_args = serialize(operation_input_args)
16400
+ logger.debug(f"Serialized input request: {operation_input_args}")
16401
+
16024
16402
  client = Base.get_sagemaker_client(
16025
16403
  session=session, region_name=region, service_name="sagemaker"
16026
16404
  )
@@ -16058,6 +16436,10 @@ class Model(Base):
16058
16436
  operation_input_args = {
16059
16437
  "ModelName": self.model_name,
16060
16438
  }
16439
+ # serialize the input request
16440
+ operation_input_args = serialize(operation_input_args)
16441
+ logger.debug(f"Serialized input request: {operation_input_args}")
16442
+
16061
16443
  client = Base.get_sagemaker_client()
16062
16444
  response = client.describe_model(**operation_input_args)
16063
16445
 
@@ -16089,6 +16471,10 @@ class Model(Base):
16089
16471
  operation_input_args = {
16090
16472
  "ModelName": self.model_name,
16091
16473
  }
16474
+ # serialize the input request
16475
+ operation_input_args = serialize(operation_input_args)
16476
+ logger.debug(f"Serialized input request: {operation_input_args}")
16477
+
16092
16478
  client.delete_model(**operation_input_args)
16093
16479
 
16094
16480
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -16146,11 +16532,9 @@ class Model(Base):
16146
16532
  "CreationTimeAfter": creation_time_after,
16147
16533
  }
16148
16534
 
16149
- operation_input_args = {
16150
- k: v
16151
- for k, v in operation_input_args.items()
16152
- if v is not None and not isinstance(v, Unassigned)
16153
- }
16535
+ # serialize the input request
16536
+ operation_input_args = serialize(operation_input_args)
16537
+ logger.debug(f"Serialized input request: {operation_input_args}")
16154
16538
 
16155
16539
  return ResourceIterator(
16156
16540
  client=client,
@@ -16196,12 +16580,9 @@ class Model(Base):
16196
16580
  operation_input_args = {
16197
16581
  "SearchExpression": search_expression,
16198
16582
  }
16199
- operation_input_args = {
16200
- k: v
16201
- for k, v in operation_input_args.items()
16202
- if v is not None and not isinstance(v, Unassigned)
16203
- }
16204
- logger.debug(f"Input request: {operation_input_args}")
16583
+ # serialize the input request
16584
+ operation_input_args = serialize(operation_input_args)
16585
+ logger.debug(f"Serialized input request: {operation_input_args}")
16205
16586
 
16206
16587
  client = Base.get_sagemaker_client(
16207
16588
  session=session, region_name=region, service_name="sagemaker"
@@ -16425,6 +16806,10 @@ class ModelBiasJobDefinition(Base):
16425
16806
  operation_input_args = {
16426
16807
  "JobDefinitionName": job_definition_name,
16427
16808
  }
16809
+ # serialize the input request
16810
+ operation_input_args = serialize(operation_input_args)
16811
+ logger.debug(f"Serialized input request: {operation_input_args}")
16812
+
16428
16813
  client = Base.get_sagemaker_client(
16429
16814
  session=session, region_name=region, service_name="sagemaker"
16430
16815
  )
@@ -16463,6 +16848,10 @@ class ModelBiasJobDefinition(Base):
16463
16848
  operation_input_args = {
16464
16849
  "JobDefinitionName": self.job_definition_name,
16465
16850
  }
16851
+ # serialize the input request
16852
+ operation_input_args = serialize(operation_input_args)
16853
+ logger.debug(f"Serialized input request: {operation_input_args}")
16854
+
16466
16855
  client = Base.get_sagemaker_client()
16467
16856
  response = client.describe_model_bias_job_definition(**operation_input_args)
16468
16857
 
@@ -16495,6 +16884,10 @@ class ModelBiasJobDefinition(Base):
16495
16884
  operation_input_args = {
16496
16885
  "JobDefinitionName": self.job_definition_name,
16497
16886
  }
16887
+ # serialize the input request
16888
+ operation_input_args = serialize(operation_input_args)
16889
+ logger.debug(f"Serialized input request: {operation_input_args}")
16890
+
16498
16891
  client.delete_model_bias_job_definition(**operation_input_args)
16499
16892
 
16500
16893
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -16558,11 +16951,9 @@ class ModelBiasJobDefinition(Base):
16558
16951
  "monitoring_job_definition_name": "job_definition_name",
16559
16952
  "monitoring_job_definition_arn": "job_definition_arn",
16560
16953
  }
16561
- operation_input_args = {
16562
- k: v
16563
- for k, v in operation_input_args.items()
16564
- if v is not None and not isinstance(v, Unassigned)
16565
- }
16954
+ # serialize the input request
16955
+ operation_input_args = serialize(operation_input_args)
16956
+ logger.debug(f"Serialized input request: {operation_input_args}")
16566
16957
 
16567
16958
  return ResourceIterator(
16568
16959
  client=client,
@@ -16746,6 +17137,10 @@ class ModelCard(Base):
16746
17137
  "ModelCardName": model_card_name,
16747
17138
  "ModelCardVersion": model_card_version,
16748
17139
  }
17140
+ # serialize the input request
17141
+ operation_input_args = serialize(operation_input_args)
17142
+ logger.debug(f"Serialized input request: {operation_input_args}")
17143
+
16749
17144
  client = Base.get_sagemaker_client(
16750
17145
  session=session, region_name=region, service_name="sagemaker"
16751
17146
  )
@@ -16785,6 +17180,10 @@ class ModelCard(Base):
16785
17180
  "ModelCardName": self.model_card_name,
16786
17181
  "ModelCardVersion": self.model_card_version,
16787
17182
  }
17183
+ # serialize the input request
17184
+ operation_input_args = serialize(operation_input_args)
17185
+ logger.debug(f"Serialized input request: {operation_input_args}")
17186
+
16788
17187
  client = Base.get_sagemaker_client()
16789
17188
  response = client.describe_model_card(**operation_input_args)
16790
17189
 
@@ -16866,6 +17265,10 @@ class ModelCard(Base):
16866
17265
  operation_input_args = {
16867
17266
  "ModelCardName": self.model_card_name,
16868
17267
  }
17268
+ # serialize the input request
17269
+ operation_input_args = serialize(operation_input_args)
17270
+ logger.debug(f"Serialized input request: {operation_input_args}")
17271
+
16869
17272
  client.delete_model_card(**operation_input_args)
16870
17273
 
16871
17274
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -16976,11 +17379,9 @@ class ModelCard(Base):
16976
17379
  "SortOrder": sort_order,
16977
17380
  }
16978
17381
 
16979
- operation_input_args = {
16980
- k: v
16981
- for k, v in operation_input_args.items()
16982
- if v is not None and not isinstance(v, Unassigned)
16983
- }
17382
+ # serialize the input request
17383
+ operation_input_args = serialize(operation_input_args)
17384
+ logger.debug(f"Serialized input request: {operation_input_args}")
16984
17385
 
16985
17386
  return ResourceIterator(
16986
17387
  client=client,
@@ -17038,12 +17439,9 @@ class ModelCard(Base):
17038
17439
  "SortBy": sort_by,
17039
17440
  "SortOrder": sort_order,
17040
17441
  }
17041
- operation_input_args = {
17042
- k: v
17043
- for k, v in operation_input_args.items()
17044
- if v is not None and not isinstance(v, Unassigned)
17045
- }
17046
- logger.debug(f"Input request: {operation_input_args}")
17442
+ # serialize the input request
17443
+ operation_input_args = serialize(operation_input_args)
17444
+ logger.debug(f"Serialized input request: {operation_input_args}")
17047
17445
 
17048
17446
  client = Base.get_sagemaker_client(
17049
17447
  session=session, region_name=region, service_name="sagemaker"
@@ -17230,6 +17628,10 @@ class ModelCardExportJob(Base):
17230
17628
  operation_input_args = {
17231
17629
  "ModelCardExportJobArn": model_card_export_job_arn,
17232
17630
  }
17631
+ # serialize the input request
17632
+ operation_input_args = serialize(operation_input_args)
17633
+ logger.debug(f"Serialized input request: {operation_input_args}")
17634
+
17233
17635
  client = Base.get_sagemaker_client(
17234
17636
  session=session, region_name=region, service_name="sagemaker"
17235
17637
  )
@@ -17268,6 +17670,10 @@ class ModelCardExportJob(Base):
17268
17670
  operation_input_args = {
17269
17671
  "ModelCardExportJobArn": self.model_card_export_job_arn,
17270
17672
  }
17673
+ # serialize the input request
17674
+ operation_input_args = serialize(operation_input_args)
17675
+ logger.debug(f"Serialized input request: {operation_input_args}")
17676
+
17271
17677
  client = Base.get_sagemaker_client()
17272
17678
  response = client.describe_model_card_export_job(**operation_input_args)
17273
17679
 
@@ -17393,11 +17799,9 @@ class ModelCardExportJob(Base):
17393
17799
  "SortOrder": sort_order,
17394
17800
  }
17395
17801
 
17396
- operation_input_args = {
17397
- k: v
17398
- for k, v in operation_input_args.items()
17399
- if v is not None and not isinstance(v, Unassigned)
17400
- }
17802
+ # serialize the input request
17803
+ operation_input_args = serialize(operation_input_args)
17804
+ logger.debug(f"Serialized input request: {operation_input_args}")
17401
17805
 
17402
17806
  return ResourceIterator(
17403
17807
  client=client,
@@ -17621,6 +18025,10 @@ class ModelExplainabilityJobDefinition(Base):
17621
18025
  operation_input_args = {
17622
18026
  "JobDefinitionName": job_definition_name,
17623
18027
  }
18028
+ # serialize the input request
18029
+ operation_input_args = serialize(operation_input_args)
18030
+ logger.debug(f"Serialized input request: {operation_input_args}")
18031
+
17624
18032
  client = Base.get_sagemaker_client(
17625
18033
  session=session, region_name=region, service_name="sagemaker"
17626
18034
  )
@@ -17661,6 +18069,10 @@ class ModelExplainabilityJobDefinition(Base):
17661
18069
  operation_input_args = {
17662
18070
  "JobDefinitionName": self.job_definition_name,
17663
18071
  }
18072
+ # serialize the input request
18073
+ operation_input_args = serialize(operation_input_args)
18074
+ logger.debug(f"Serialized input request: {operation_input_args}")
18075
+
17664
18076
  client = Base.get_sagemaker_client()
17665
18077
  response = client.describe_model_explainability_job_definition(**operation_input_args)
17666
18078
 
@@ -17693,6 +18105,10 @@ class ModelExplainabilityJobDefinition(Base):
17693
18105
  operation_input_args = {
17694
18106
  "JobDefinitionName": self.job_definition_name,
17695
18107
  }
18108
+ # serialize the input request
18109
+ operation_input_args = serialize(operation_input_args)
18110
+ logger.debug(f"Serialized input request: {operation_input_args}")
18111
+
17696
18112
  client.delete_model_explainability_job_definition(**operation_input_args)
17697
18113
 
17698
18114
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -17756,11 +18172,9 @@ class ModelExplainabilityJobDefinition(Base):
17756
18172
  "monitoring_job_definition_name": "job_definition_name",
17757
18173
  "monitoring_job_definition_arn": "job_definition_arn",
17758
18174
  }
17759
- operation_input_args = {
17760
- k: v
17761
- for k, v in operation_input_args.items()
17762
- if v is not None and not isinstance(v, Unassigned)
17763
- }
18175
+ # serialize the input request
18176
+ operation_input_args = serialize(operation_input_args)
18177
+ logger.debug(f"Serialized input request: {operation_input_args}")
17764
18178
 
17765
18179
  return ResourceIterator(
17766
18180
  client=client,
@@ -18071,6 +18485,10 @@ class ModelPackage(Base):
18071
18485
  operation_input_args = {
18072
18486
  "ModelPackageName": model_package_name,
18073
18487
  }
18488
+ # serialize the input request
18489
+ operation_input_args = serialize(operation_input_args)
18490
+ logger.debug(f"Serialized input request: {operation_input_args}")
18491
+
18074
18492
  client = Base.get_sagemaker_client(
18075
18493
  session=session, region_name=region, service_name="sagemaker"
18076
18494
  )
@@ -18108,6 +18526,10 @@ class ModelPackage(Base):
18108
18526
  operation_input_args = {
18109
18527
  "ModelPackageName": self.model_package_name,
18110
18528
  }
18529
+ # serialize the input request
18530
+ operation_input_args = serialize(operation_input_args)
18531
+ logger.debug(f"Serialized input request: {operation_input_args}")
18532
+
18111
18533
  client = Base.get_sagemaker_client()
18112
18534
  response = client.describe_model_package(**operation_input_args)
18113
18535
 
@@ -18204,6 +18626,10 @@ class ModelPackage(Base):
18204
18626
  operation_input_args = {
18205
18627
  "ModelPackageName": self.model_package_name,
18206
18628
  }
18629
+ # serialize the input request
18630
+ operation_input_args = serialize(operation_input_args)
18631
+ logger.debug(f"Serialized input request: {operation_input_args}")
18632
+
18207
18633
  client.delete_model_package(**operation_input_args)
18208
18634
 
18209
18635
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -18388,11 +18814,9 @@ class ModelPackage(Base):
18388
18814
  "SortOrder": sort_order,
18389
18815
  }
18390
18816
 
18391
- operation_input_args = {
18392
- k: v
18393
- for k, v in operation_input_args.items()
18394
- if v is not None and not isinstance(v, Unassigned)
18395
- }
18817
+ # serialize the input request
18818
+ operation_input_args = serialize(operation_input_args)
18819
+ logger.debug(f"Serialized input request: {operation_input_args}")
18396
18820
 
18397
18821
  return ResourceIterator(
18398
18822
  client=client,
@@ -18436,7 +18860,9 @@ class ModelPackage(Base):
18436
18860
  operation_input_args = {
18437
18861
  "ModelPackageArnList": model_package_arn_list,
18438
18862
  }
18439
- logger.debug(f"Input request: {operation_input_args}")
18863
+ # serialize the input request
18864
+ operation_input_args = serialize(operation_input_args)
18865
+ logger.debug(f"Serialized input request: {operation_input_args}")
18440
18866
 
18441
18867
  client = Base.get_sagemaker_client(
18442
18868
  session=session, region_name=region, service_name="sagemaker"
@@ -18588,6 +19014,10 @@ class ModelPackageGroup(Base):
18588
19014
  operation_input_args = {
18589
19015
  "ModelPackageGroupName": model_package_group_name,
18590
19016
  }
19017
+ # serialize the input request
19018
+ operation_input_args = serialize(operation_input_args)
19019
+ logger.debug(f"Serialized input request: {operation_input_args}")
19020
+
18591
19021
  client = Base.get_sagemaker_client(
18592
19022
  session=session, region_name=region, service_name="sagemaker"
18593
19023
  )
@@ -18625,6 +19055,10 @@ class ModelPackageGroup(Base):
18625
19055
  operation_input_args = {
18626
19056
  "ModelPackageGroupName": self.model_package_group_name,
18627
19057
  }
19058
+ # serialize the input request
19059
+ operation_input_args = serialize(operation_input_args)
19060
+ logger.debug(f"Serialized input request: {operation_input_args}")
19061
+
18628
19062
  client = Base.get_sagemaker_client()
18629
19063
  response = client.describe_model_package_group(**operation_input_args)
18630
19064
 
@@ -18657,6 +19091,10 @@ class ModelPackageGroup(Base):
18657
19091
  operation_input_args = {
18658
19092
  "ModelPackageGroupName": self.model_package_group_name,
18659
19093
  }
19094
+ # serialize the input request
19095
+ operation_input_args = serialize(operation_input_args)
19096
+ logger.debug(f"Serialized input request: {operation_input_args}")
19097
+
18660
19098
  client.delete_model_package_group(**operation_input_args)
18661
19099
 
18662
19100
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -18839,11 +19277,9 @@ class ModelPackageGroup(Base):
18839
19277
  "CrossAccountFilterOption": cross_account_filter_option,
18840
19278
  }
18841
19279
 
18842
- operation_input_args = {
18843
- k: v
18844
- for k, v in operation_input_args.items()
18845
- if v is not None and not isinstance(v, Unassigned)
18846
- }
19280
+ # serialize the input request
19281
+ operation_input_args = serialize(operation_input_args)
19282
+ logger.debug(f"Serialized input request: {operation_input_args}")
18847
19283
 
18848
19284
  return ResourceIterator(
18849
19285
  client=client,
@@ -18885,7 +19321,9 @@ class ModelPackageGroup(Base):
18885
19321
  operation_input_args = {
18886
19322
  "ModelPackageGroupName": self.model_package_group_name,
18887
19323
  }
18888
- logger.debug(f"Input request: {operation_input_args}")
19324
+ # serialize the input request
19325
+ operation_input_args = serialize(operation_input_args)
19326
+ logger.debug(f"Serialized input request: {operation_input_args}")
18889
19327
 
18890
19328
  client = Base.get_sagemaker_client(
18891
19329
  session=session, region_name=region, service_name="sagemaker"
@@ -18925,7 +19363,9 @@ class ModelPackageGroup(Base):
18925
19363
  operation_input_args = {
18926
19364
  "ModelPackageGroupName": self.model_package_group_name,
18927
19365
  }
18928
- logger.debug(f"Input request: {operation_input_args}")
19366
+ # serialize the input request
19367
+ operation_input_args = serialize(operation_input_args)
19368
+ logger.debug(f"Serialized input request: {operation_input_args}")
18929
19369
 
18930
19370
  client = Base.get_sagemaker_client(
18931
19371
  session=session, region_name=region, service_name="sagemaker"
@@ -18967,7 +19407,9 @@ class ModelPackageGroup(Base):
18967
19407
  "ModelPackageGroupName": self.model_package_group_name,
18968
19408
  "ResourcePolicy": resource_policy,
18969
19409
  }
18970
- logger.debug(f"Input request: {operation_input_args}")
19410
+ # serialize the input request
19411
+ operation_input_args = serialize(operation_input_args)
19412
+ logger.debug(f"Serialized input request: {operation_input_args}")
18971
19413
 
18972
19414
  client = Base.get_sagemaker_client(
18973
19415
  session=session, region_name=region, service_name="sagemaker"
@@ -19186,6 +19628,10 @@ class ModelQualityJobDefinition(Base):
19186
19628
  operation_input_args = {
19187
19629
  "JobDefinitionName": job_definition_name,
19188
19630
  }
19631
+ # serialize the input request
19632
+ operation_input_args = serialize(operation_input_args)
19633
+ logger.debug(f"Serialized input request: {operation_input_args}")
19634
+
19189
19635
  client = Base.get_sagemaker_client(
19190
19636
  session=session, region_name=region, service_name="sagemaker"
19191
19637
  )
@@ -19224,6 +19670,10 @@ class ModelQualityJobDefinition(Base):
19224
19670
  operation_input_args = {
19225
19671
  "JobDefinitionName": self.job_definition_name,
19226
19672
  }
19673
+ # serialize the input request
19674
+ operation_input_args = serialize(operation_input_args)
19675
+ logger.debug(f"Serialized input request: {operation_input_args}")
19676
+
19227
19677
  client = Base.get_sagemaker_client()
19228
19678
  response = client.describe_model_quality_job_definition(**operation_input_args)
19229
19679
 
@@ -19256,6 +19706,10 @@ class ModelQualityJobDefinition(Base):
19256
19706
  operation_input_args = {
19257
19707
  "JobDefinitionName": self.job_definition_name,
19258
19708
  }
19709
+ # serialize the input request
19710
+ operation_input_args = serialize(operation_input_args)
19711
+ logger.debug(f"Serialized input request: {operation_input_args}")
19712
+
19259
19713
  client.delete_model_quality_job_definition(**operation_input_args)
19260
19714
 
19261
19715
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -19319,11 +19773,9 @@ class ModelQualityJobDefinition(Base):
19319
19773
  "monitoring_job_definition_name": "job_definition_name",
19320
19774
  "monitoring_job_definition_arn": "job_definition_arn",
19321
19775
  }
19322
- operation_input_args = {
19323
- k: v
19324
- for k, v in operation_input_args.items()
19325
- if v is not None and not isinstance(v, Unassigned)
19326
- }
19776
+ # serialize the input request
19777
+ operation_input_args = serialize(operation_input_args)
19778
+ logger.debug(f"Serialized input request: {operation_input_args}")
19327
19779
 
19328
19780
  return ResourceIterator(
19329
19781
  client=client,
@@ -19468,11 +19920,9 @@ class MonitoringAlert(Base):
19468
19920
  "MonitoringScheduleName": monitoring_schedule_name,
19469
19921
  }
19470
19922
 
19471
- operation_input_args = {
19472
- k: v
19473
- for k, v in operation_input_args.items()
19474
- if v is not None and not isinstance(v, Unassigned)
19475
- }
19923
+ # serialize the input request
19924
+ operation_input_args = serialize(operation_input_args)
19925
+ logger.debug(f"Serialized input request: {operation_input_args}")
19476
19926
 
19477
19927
  return ResourceIterator(
19478
19928
  client=client,
@@ -19539,7 +19989,9 @@ class MonitoringAlert(Base):
19539
19989
  "CreationTimeAfter": creation_time_after,
19540
19990
  "StatusEquals": status_equals,
19541
19991
  }
19542
- logger.debug(f"Input request: {operation_input_args}")
19992
+ # serialize the input request
19993
+ operation_input_args = serialize(operation_input_args)
19994
+ logger.debug(f"Serialized input request: {operation_input_args}")
19543
19995
 
19544
19996
  client = Base.get_sagemaker_client(
19545
19997
  session=session, region_name=region, service_name="sagemaker"
@@ -19675,11 +20127,9 @@ class MonitoringExecution(Base):
19675
20127
  "MonitoringTypeEquals": monitoring_type_equals,
19676
20128
  }
19677
20129
 
19678
- operation_input_args = {
19679
- k: v
19680
- for k, v in operation_input_args.items()
19681
- if v is not None and not isinstance(v, Unassigned)
19682
- }
20130
+ # serialize the input request
20131
+ operation_input_args = serialize(operation_input_args)
20132
+ logger.debug(f"Serialized input request: {operation_input_args}")
19683
20133
 
19684
20134
  return ResourceIterator(
19685
20135
  client=client,
@@ -19876,6 +20326,10 @@ class MonitoringSchedule(Base):
19876
20326
  operation_input_args = {
19877
20327
  "MonitoringScheduleName": monitoring_schedule_name,
19878
20328
  }
20329
+ # serialize the input request
20330
+ operation_input_args = serialize(operation_input_args)
20331
+ logger.debug(f"Serialized input request: {operation_input_args}")
20332
+
19879
20333
  client = Base.get_sagemaker_client(
19880
20334
  session=session, region_name=region, service_name="sagemaker"
19881
20335
  )
@@ -19914,6 +20368,10 @@ class MonitoringSchedule(Base):
19914
20368
  operation_input_args = {
19915
20369
  "MonitoringScheduleName": self.monitoring_schedule_name,
19916
20370
  }
20371
+ # serialize the input request
20372
+ operation_input_args = serialize(operation_input_args)
20373
+ logger.debug(f"Serialized input request: {operation_input_args}")
20374
+
19917
20375
  client = Base.get_sagemaker_client()
19918
20376
  response = client.describe_monitoring_schedule(**operation_input_args)
19919
20377
 
@@ -19991,6 +20449,10 @@ class MonitoringSchedule(Base):
19991
20449
  operation_input_args = {
19992
20450
  "MonitoringScheduleName": self.monitoring_schedule_name,
19993
20451
  }
20452
+ # serialize the input request
20453
+ operation_input_args = serialize(operation_input_args)
20454
+ logger.debug(f"Serialized input request: {operation_input_args}")
20455
+
19994
20456
  client.delete_monitoring_schedule(**operation_input_args)
19995
20457
 
19996
20458
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -20018,6 +20480,10 @@ class MonitoringSchedule(Base):
20018
20480
  operation_input_args = {
20019
20481
  "MonitoringScheduleName": self.monitoring_schedule_name,
20020
20482
  }
20483
+ # serialize the input request
20484
+ operation_input_args = serialize(operation_input_args)
20485
+ logger.debug(f"Serialized input request: {operation_input_args}")
20486
+
20021
20487
  client.stop_monitoring_schedule(**operation_input_args)
20022
20488
 
20023
20489
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -20154,11 +20620,9 @@ class MonitoringSchedule(Base):
20154
20620
  "MonitoringTypeEquals": monitoring_type_equals,
20155
20621
  }
20156
20622
 
20157
- operation_input_args = {
20158
- k: v
20159
- for k, v in operation_input_args.items()
20160
- if v is not None and not isinstance(v, Unassigned)
20161
- }
20623
+ # serialize the input request
20624
+ operation_input_args = serialize(operation_input_args)
20625
+ logger.debug(f"Serialized input request: {operation_input_args}")
20162
20626
 
20163
20627
  return ResourceIterator(
20164
20628
  client=client,
@@ -20402,6 +20866,10 @@ class NotebookInstance(Base):
20402
20866
  operation_input_args = {
20403
20867
  "NotebookInstanceName": notebook_instance_name,
20404
20868
  }
20869
+ # serialize the input request
20870
+ operation_input_args = serialize(operation_input_args)
20871
+ logger.debug(f"Serialized input request: {operation_input_args}")
20872
+
20405
20873
  client = Base.get_sagemaker_client(
20406
20874
  session=session, region_name=region, service_name="sagemaker"
20407
20875
  )
@@ -20439,6 +20907,10 @@ class NotebookInstance(Base):
20439
20907
  operation_input_args = {
20440
20908
  "NotebookInstanceName": self.notebook_instance_name,
20441
20909
  }
20910
+ # serialize the input request
20911
+ operation_input_args = serialize(operation_input_args)
20912
+ logger.debug(f"Serialized input request: {operation_input_args}")
20913
+
20442
20914
  client = Base.get_sagemaker_client()
20443
20915
  response = client.describe_notebook_instance(**operation_input_args)
20444
20916
 
@@ -20547,6 +21019,10 @@ class NotebookInstance(Base):
20547
21019
  operation_input_args = {
20548
21020
  "NotebookInstanceName": self.notebook_instance_name,
20549
21021
  }
21022
+ # serialize the input request
21023
+ operation_input_args = serialize(operation_input_args)
21024
+ logger.debug(f"Serialized input request: {operation_input_args}")
21025
+
20550
21026
  client.delete_notebook_instance(**operation_input_args)
20551
21027
 
20552
21028
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -20573,6 +21049,10 @@ class NotebookInstance(Base):
20573
21049
  operation_input_args = {
20574
21050
  "NotebookInstanceName": self.notebook_instance_name,
20575
21051
  }
21052
+ # serialize the input request
21053
+ operation_input_args = serialize(operation_input_args)
21054
+ logger.debug(f"Serialized input request: {operation_input_args}")
21055
+
20576
21056
  client.stop_notebook_instance(**operation_input_args)
20577
21057
 
20578
21058
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -20772,11 +21252,9 @@ class NotebookInstance(Base):
20772
21252
  "AdditionalCodeRepositoryEquals": additional_code_repository_equals,
20773
21253
  }
20774
21254
 
20775
- operation_input_args = {
20776
- k: v
20777
- for k, v in operation_input_args.items()
20778
- if v is not None and not isinstance(v, Unassigned)
20779
- }
21255
+ # serialize the input request
21256
+ operation_input_args = serialize(operation_input_args)
21257
+ logger.debug(f"Serialized input request: {operation_input_args}")
20780
21258
 
20781
21259
  return ResourceIterator(
20782
21260
  client=client,
@@ -20929,6 +21407,10 @@ class NotebookInstanceLifecycleConfig(Base):
20929
21407
  operation_input_args = {
20930
21408
  "NotebookInstanceLifecycleConfigName": notebook_instance_lifecycle_config_name,
20931
21409
  }
21410
+ # serialize the input request
21411
+ operation_input_args = serialize(operation_input_args)
21412
+ logger.debug(f"Serialized input request: {operation_input_args}")
21413
+
20932
21414
  client = Base.get_sagemaker_client(
20933
21415
  session=session, region_name=region, service_name="sagemaker"
20934
21416
  )
@@ -20966,6 +21448,10 @@ class NotebookInstanceLifecycleConfig(Base):
20966
21448
  operation_input_args = {
20967
21449
  "NotebookInstanceLifecycleConfigName": self.notebook_instance_lifecycle_config_name,
20968
21450
  }
21451
+ # serialize the input request
21452
+ operation_input_args = serialize(operation_input_args)
21453
+ logger.debug(f"Serialized input request: {operation_input_args}")
21454
+
20969
21455
  client = Base.get_sagemaker_client()
20970
21456
  response = client.describe_notebook_instance_lifecycle_config(**operation_input_args)
20971
21457
 
@@ -21042,6 +21528,10 @@ class NotebookInstanceLifecycleConfig(Base):
21042
21528
  operation_input_args = {
21043
21529
  "NotebookInstanceLifecycleConfigName": self.notebook_instance_lifecycle_config_name,
21044
21530
  }
21531
+ # serialize the input request
21532
+ operation_input_args = serialize(operation_input_args)
21533
+ logger.debug(f"Serialized input request: {operation_input_args}")
21534
+
21045
21535
  client.delete_notebook_instance_lifecycle_config(**operation_input_args)
21046
21536
 
21047
21537
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -21105,11 +21595,9 @@ class NotebookInstanceLifecycleConfig(Base):
21105
21595
  "LastModifiedTimeAfter": last_modified_time_after,
21106
21596
  }
21107
21597
 
21108
- operation_input_args = {
21109
- k: v
21110
- for k, v in operation_input_args.items()
21111
- if v is not None and not isinstance(v, Unassigned)
21112
- }
21598
+ # serialize the input request
21599
+ operation_input_args = serialize(operation_input_args)
21600
+ logger.debug(f"Serialized input request: {operation_input_args}")
21113
21601
 
21114
21602
  return ResourceIterator(
21115
21603
  client=client,
@@ -21327,6 +21815,10 @@ class OptimizationJob(Base):
21327
21815
  operation_input_args = {
21328
21816
  "OptimizationJobName": optimization_job_name,
21329
21817
  }
21818
+ # serialize the input request
21819
+ operation_input_args = serialize(operation_input_args)
21820
+ logger.debug(f"Serialized input request: {operation_input_args}")
21821
+
21330
21822
  client = Base.get_sagemaker_client(
21331
21823
  session=session, region_name=region, service_name="sagemaker"
21332
21824
  )
@@ -21365,6 +21857,10 @@ class OptimizationJob(Base):
21365
21857
  operation_input_args = {
21366
21858
  "OptimizationJobName": self.optimization_job_name,
21367
21859
  }
21860
+ # serialize the input request
21861
+ operation_input_args = serialize(operation_input_args)
21862
+ logger.debug(f"Serialized input request: {operation_input_args}")
21863
+
21368
21864
  client = Base.get_sagemaker_client()
21369
21865
  response = client.describe_optimization_job(**operation_input_args)
21370
21866
 
@@ -21397,6 +21893,10 @@ class OptimizationJob(Base):
21397
21893
  operation_input_args = {
21398
21894
  "OptimizationJobName": self.optimization_job_name,
21399
21895
  }
21896
+ # serialize the input request
21897
+ operation_input_args = serialize(operation_input_args)
21898
+ logger.debug(f"Serialized input request: {operation_input_args}")
21899
+
21400
21900
  client.delete_optimization_job(**operation_input_args)
21401
21901
 
21402
21902
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -21424,6 +21924,10 @@ class OptimizationJob(Base):
21424
21924
  operation_input_args = {
21425
21925
  "OptimizationJobName": self.optimization_job_name,
21426
21926
  }
21927
+ # serialize the input request
21928
+ operation_input_args = serialize(operation_input_args)
21929
+ logger.debug(f"Serialized input request: {operation_input_args}")
21930
+
21427
21931
  client.stop_optimization_job(**operation_input_args)
21428
21932
 
21429
21933
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -21549,11 +22053,9 @@ class OptimizationJob(Base):
21549
22053
  "SortOrder": sort_order,
21550
22054
  }
21551
22055
 
21552
- operation_input_args = {
21553
- k: v
21554
- for k, v in operation_input_args.items()
21555
- if v is not None and not isinstance(v, Unassigned)
21556
- }
22056
+ # serialize the input request
22057
+ operation_input_args = serialize(operation_input_args)
22058
+ logger.debug(f"Serialized input request: {operation_input_args}")
21557
22059
 
21558
22060
  return ResourceIterator(
21559
22061
  client=client,
@@ -21750,6 +22252,10 @@ class Pipeline(Base):
21750
22252
  operation_input_args = {
21751
22253
  "PipelineName": pipeline_name,
21752
22254
  }
22255
+ # serialize the input request
22256
+ operation_input_args = serialize(operation_input_args)
22257
+ logger.debug(f"Serialized input request: {operation_input_args}")
22258
+
21753
22259
  client = Base.get_sagemaker_client(
21754
22260
  session=session, region_name=region, service_name="sagemaker"
21755
22261
  )
@@ -21788,6 +22294,10 @@ class Pipeline(Base):
21788
22294
  operation_input_args = {
21789
22295
  "PipelineName": self.pipeline_name,
21790
22296
  }
22297
+ # serialize the input request
22298
+ operation_input_args = serialize(operation_input_args)
22299
+ logger.debug(f"Serialized input request: {operation_input_args}")
22300
+
21791
22301
  client = Base.get_sagemaker_client()
21792
22302
  response = client.describe_pipeline(**operation_input_args)
21793
22303
 
@@ -21881,6 +22391,10 @@ class Pipeline(Base):
21881
22391
  "PipelineName": self.pipeline_name,
21882
22392
  "ClientRequestToken": client_request_token,
21883
22393
  }
22394
+ # serialize the input request
22395
+ operation_input_args = serialize(operation_input_args)
22396
+ logger.debug(f"Serialized input request: {operation_input_args}")
22397
+
21884
22398
  client.delete_pipeline(**operation_input_args)
21885
22399
 
21886
22400
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -22049,11 +22563,9 @@ class Pipeline(Base):
22049
22563
  "SortOrder": sort_order,
22050
22564
  }
22051
22565
 
22052
- operation_input_args = {
22053
- k: v
22054
- for k, v in operation_input_args.items()
22055
- if v is not None and not isinstance(v, Unassigned)
22056
- }
22566
+ # serialize the input request
22567
+ operation_input_args = serialize(operation_input_args)
22568
+ logger.debug(f"Serialized input request: {operation_input_args}")
22057
22569
 
22058
22570
  return ResourceIterator(
22059
22571
  client=client,
@@ -22151,6 +22663,10 @@ class PipelineExecution(Base):
22151
22663
  operation_input_args = {
22152
22664
  "PipelineExecutionArn": pipeline_execution_arn,
22153
22665
  }
22666
+ # serialize the input request
22667
+ operation_input_args = serialize(operation_input_args)
22668
+ logger.debug(f"Serialized input request: {operation_input_args}")
22669
+
22154
22670
  client = Base.get_sagemaker_client(
22155
22671
  session=session, region_name=region, service_name="sagemaker"
22156
22672
  )
@@ -22189,6 +22705,10 @@ class PipelineExecution(Base):
22189
22705
  operation_input_args = {
22190
22706
  "PipelineExecutionArn": self.pipeline_execution_arn,
22191
22707
  }
22708
+ # serialize the input request
22709
+ operation_input_args = serialize(operation_input_args)
22710
+ logger.debug(f"Serialized input request: {operation_input_args}")
22711
+
22192
22712
  client = Base.get_sagemaker_client()
22193
22713
  response = client.describe_pipeline_execution(**operation_input_args)
22194
22714
 
@@ -22269,6 +22789,10 @@ class PipelineExecution(Base):
22269
22789
  "PipelineExecutionArn": self.pipeline_execution_arn,
22270
22790
  "ClientRequestToken": self.client_request_token,
22271
22791
  }
22792
+ # serialize the input request
22793
+ operation_input_args = serialize(operation_input_args)
22794
+ logger.debug(f"Serialized input request: {operation_input_args}")
22795
+
22272
22796
  client.stop_pipeline_execution(**operation_input_args)
22273
22797
 
22274
22798
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -22386,11 +22910,9 @@ class PipelineExecution(Base):
22386
22910
  "SortOrder": sort_order,
22387
22911
  }
22388
22912
 
22389
- operation_input_args = {
22390
- k: v
22391
- for k, v in operation_input_args.items()
22392
- if v is not None and not isinstance(v, Unassigned)
22393
- }
22913
+ # serialize the input request
22914
+ operation_input_args = serialize(operation_input_args)
22915
+ logger.debug(f"Serialized input request: {operation_input_args}")
22394
22916
 
22395
22917
  return ResourceIterator(
22396
22918
  client=client,
@@ -22433,7 +22955,9 @@ class PipelineExecution(Base):
22433
22955
  operation_input_args = {
22434
22956
  "PipelineExecutionArn": self.pipeline_execution_arn,
22435
22957
  }
22436
- logger.debug(f"Input request: {operation_input_args}")
22958
+ # serialize the input request
22959
+ operation_input_args = serialize(operation_input_args)
22960
+ logger.debug(f"Serialized input request: {operation_input_args}")
22437
22961
 
22438
22962
  client = Base.get_sagemaker_client(
22439
22963
  session=session, region_name=region, service_name="sagemaker"
@@ -22483,12 +23007,9 @@ class PipelineExecution(Base):
22483
23007
  "PipelineExecutionArn": self.pipeline_execution_arn,
22484
23008
  "SortOrder": sort_order,
22485
23009
  }
22486
- operation_input_args = {
22487
- k: v
22488
- for k, v in operation_input_args.items()
22489
- if v is not None and not isinstance(v, Unassigned)
22490
- }
22491
- logger.debug(f"Input request: {operation_input_args}")
23010
+ # serialize the input request
23011
+ operation_input_args = serialize(operation_input_args)
23012
+ logger.debug(f"Serialized input request: {operation_input_args}")
22492
23013
 
22493
23014
  client = Base.get_sagemaker_client(
22494
23015
  session=session, region_name=region, service_name="sagemaker"
@@ -22537,12 +23058,9 @@ class PipelineExecution(Base):
22537
23058
  operation_input_args = {
22538
23059
  "PipelineExecutionArn": self.pipeline_execution_arn,
22539
23060
  }
22540
- operation_input_args = {
22541
- k: v
22542
- for k, v in operation_input_args.items()
22543
- if v is not None and not isinstance(v, Unassigned)
22544
- }
22545
- logger.debug(f"Input request: {operation_input_args}")
23061
+ # serialize the input request
23062
+ operation_input_args = serialize(operation_input_args)
23063
+ logger.debug(f"Serialized input request: {operation_input_args}")
22546
23064
 
22547
23065
  client = Base.get_sagemaker_client(
22548
23066
  session=session, region_name=region, service_name="sagemaker"
@@ -22592,7 +23110,9 @@ class PipelineExecution(Base):
22592
23110
  "ClientRequestToken": client_request_token,
22593
23111
  "ParallelismConfiguration": self.parallelism_configuration,
22594
23112
  }
22595
- logger.debug(f"Input request: {operation_input_args}")
23113
+ # serialize the input request
23114
+ operation_input_args = serialize(operation_input_args)
23115
+ logger.debug(f"Serialized input request: {operation_input_args}")
22596
23116
 
22597
23117
  client = Base.get_sagemaker_client(
22598
23118
  session=session, region_name=region, service_name="sagemaker"
@@ -22639,7 +23159,9 @@ class PipelineExecution(Base):
22639
23159
  "FailureReason": self.failure_reason,
22640
23160
  "ClientRequestToken": client_request_token,
22641
23161
  }
22642
- logger.debug(f"Input request: {operation_input_args}")
23162
+ # serialize the input request
23163
+ operation_input_args = serialize(operation_input_args)
23164
+ logger.debug(f"Serialized input request: {operation_input_args}")
22643
23165
 
22644
23166
  client = Base.get_sagemaker_client(
22645
23167
  session=session, region_name=region, service_name="sagemaker"
@@ -22688,7 +23210,9 @@ class PipelineExecution(Base):
22688
23210
  "OutputParameters": output_parameters,
22689
23211
  "ClientRequestToken": client_request_token,
22690
23212
  }
22691
- logger.debug(f"Input request: {operation_input_args}")
23213
+ # serialize the input request
23214
+ operation_input_args = serialize(operation_input_args)
23215
+ logger.debug(f"Serialized input request: {operation_input_args}")
22692
23216
 
22693
23217
  client = Base.get_sagemaker_client(
22694
23218
  session=session, region_name=region, service_name="sagemaker"
@@ -22789,7 +23313,9 @@ class PresignedDomainUrl(Base):
22789
23313
  "SpaceName": space_name,
22790
23314
  "LandingUri": landing_uri,
22791
23315
  }
22792
- logger.debug(f"Input request: {operation_input_args}")
23316
+ # serialize the input request
23317
+ operation_input_args = serialize(operation_input_args)
23318
+ logger.debug(f"Serialized input request: {operation_input_args}")
22793
23319
 
22794
23320
  client = Base.get_sagemaker_client(
22795
23321
  session=session, region_name=region, service_name="sagemaker"
@@ -22878,7 +23404,9 @@ class PresignedMlflowTrackingServerUrl(Base):
22878
23404
  "ExpiresInSeconds": expires_in_seconds,
22879
23405
  "SessionExpirationDurationInSeconds": session_expiration_duration_in_seconds,
22880
23406
  }
22881
- logger.debug(f"Input request: {operation_input_args}")
23407
+ # serialize the input request
23408
+ operation_input_args = serialize(operation_input_args)
23409
+ logger.debug(f"Serialized input request: {operation_input_args}")
22882
23410
 
22883
23411
  client = Base.get_sagemaker_client(
22884
23412
  session=session, region_name=region, service_name="sagemaker"
@@ -22961,7 +23489,9 @@ class PresignedNotebookInstanceUrl(Base):
22961
23489
  "NotebookInstanceName": notebook_instance_name,
22962
23490
  "SessionExpirationDurationInSeconds": session_expiration_duration_in_seconds,
22963
23491
  }
22964
- logger.debug(f"Input request: {operation_input_args}")
23492
+ # serialize the input request
23493
+ operation_input_args = serialize(operation_input_args)
23494
+ logger.debug(f"Serialized input request: {operation_input_args}")
22965
23495
 
22966
23496
  client = Base.get_sagemaker_client(
22967
23497
  session=session, region_name=region, service_name="sagemaker"
@@ -23194,6 +23724,10 @@ class ProcessingJob(Base):
23194
23724
  operation_input_args = {
23195
23725
  "ProcessingJobName": processing_job_name,
23196
23726
  }
23727
+ # serialize the input request
23728
+ operation_input_args = serialize(operation_input_args)
23729
+ logger.debug(f"Serialized input request: {operation_input_args}")
23730
+
23197
23731
  client = Base.get_sagemaker_client(
23198
23732
  session=session, region_name=region, service_name="sagemaker"
23199
23733
  )
@@ -23232,6 +23766,10 @@ class ProcessingJob(Base):
23232
23766
  operation_input_args = {
23233
23767
  "ProcessingJobName": self.processing_job_name,
23234
23768
  }
23769
+ # serialize the input request
23770
+ operation_input_args = serialize(operation_input_args)
23771
+ logger.debug(f"Serialized input request: {operation_input_args}")
23772
+
23235
23773
  client = Base.get_sagemaker_client()
23236
23774
  response = client.describe_processing_job(**operation_input_args)
23237
23775
 
@@ -23262,6 +23800,10 @@ class ProcessingJob(Base):
23262
23800
  operation_input_args = {
23263
23801
  "ProcessingJobName": self.processing_job_name,
23264
23802
  }
23803
+ # serialize the input request
23804
+ operation_input_args = serialize(operation_input_args)
23805
+ logger.debug(f"Serialized input request: {operation_input_args}")
23806
+
23265
23807
  client.stop_processing_job(**operation_input_args)
23266
23808
 
23267
23809
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -23382,11 +23924,9 @@ class ProcessingJob(Base):
23382
23924
  "SortOrder": sort_order,
23383
23925
  }
23384
23926
 
23385
- operation_input_args = {
23386
- k: v
23387
- for k, v in operation_input_args.items()
23388
- if v is not None and not isinstance(v, Unassigned)
23389
- }
23927
+ # serialize the input request
23928
+ operation_input_args = serialize(operation_input_args)
23929
+ logger.debug(f"Serialized input request: {operation_input_args}")
23390
23930
 
23391
23931
  return ResourceIterator(
23392
23932
  client=client,
@@ -23549,6 +24089,10 @@ class Project(Base):
23549
24089
  operation_input_args = {
23550
24090
  "ProjectName": project_name,
23551
24091
  }
24092
+ # serialize the input request
24093
+ operation_input_args = serialize(operation_input_args)
24094
+ logger.debug(f"Serialized input request: {operation_input_args}")
24095
+
23552
24096
  client = Base.get_sagemaker_client(
23553
24097
  session=session, region_name=region, service_name="sagemaker"
23554
24098
  )
@@ -23586,6 +24130,10 @@ class Project(Base):
23586
24130
  operation_input_args = {
23587
24131
  "ProjectName": self.project_name,
23588
24132
  }
24133
+ # serialize the input request
24134
+ operation_input_args = serialize(operation_input_args)
24135
+ logger.debug(f"Serialized input request: {operation_input_args}")
24136
+
23589
24137
  client = Base.get_sagemaker_client()
23590
24138
  response = client.describe_project(**operation_input_args)
23591
24139
 
@@ -23671,6 +24219,10 @@ class Project(Base):
23671
24219
  operation_input_args = {
23672
24220
  "ProjectName": self.project_name,
23673
24221
  }
24222
+ # serialize the input request
24223
+ operation_input_args = serialize(operation_input_args)
24224
+ logger.debug(f"Serialized input request: {operation_input_args}")
24225
+
23674
24226
  client.delete_project(**operation_input_args)
23675
24227
 
23676
24228
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -23794,11 +24346,9 @@ class Project(Base):
23794
24346
  "SortOrder": sort_order,
23795
24347
  }
23796
24348
 
23797
- operation_input_args = {
23798
- k: v
23799
- for k, v in operation_input_args.items()
23800
- if v is not None and not isinstance(v, Unassigned)
23801
- }
24349
+ # serialize the input request
24350
+ operation_input_args = serialize(operation_input_args)
24351
+ logger.debug(f"Serialized input request: {operation_input_args}")
23802
24352
 
23803
24353
  return ResourceIterator(
23804
24354
  client=client,
@@ -23896,11 +24446,9 @@ class ResourceCatalog(Base):
23896
24446
  "SortBy": sort_by,
23897
24447
  }
23898
24448
 
23899
- operation_input_args = {
23900
- k: v
23901
- for k, v in operation_input_args.items()
23902
- if v is not None and not isinstance(v, Unassigned)
23903
- }
24449
+ # serialize the input request
24450
+ operation_input_args = serialize(operation_input_args)
24451
+ logger.debug(f"Serialized input request: {operation_input_args}")
23904
24452
 
23905
24453
  return ResourceIterator(
23906
24454
  client=client,
@@ -24190,6 +24738,10 @@ class Space(Base):
24190
24738
  "DomainId": domain_id,
24191
24739
  "SpaceName": space_name,
24192
24740
  }
24741
+ # serialize the input request
24742
+ operation_input_args = serialize(operation_input_args)
24743
+ logger.debug(f"Serialized input request: {operation_input_args}")
24744
+
24193
24745
  client = Base.get_sagemaker_client(
24194
24746
  session=session, region_name=region, service_name="sagemaker"
24195
24747
  )
@@ -24229,6 +24781,10 @@ class Space(Base):
24229
24781
  "DomainId": self.domain_id,
24230
24782
  "SpaceName": self.space_name,
24231
24783
  }
24784
+ # serialize the input request
24785
+ operation_input_args = serialize(operation_input_args)
24786
+ logger.debug(f"Serialized input request: {operation_input_args}")
24787
+
24232
24788
  client = Base.get_sagemaker_client()
24233
24789
  response = client.describe_space(**operation_input_args)
24234
24790
 
@@ -24311,6 +24867,10 @@ class Space(Base):
24311
24867
  "DomainId": self.domain_id,
24312
24868
  "SpaceName": self.space_name,
24313
24869
  }
24870
+ # serialize the input request
24871
+ operation_input_args = serialize(operation_input_args)
24872
+ logger.debug(f"Serialized input request: {operation_input_args}")
24873
+
24314
24874
  client.delete_space(**operation_input_args)
24315
24875
 
24316
24876
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -24497,11 +25057,9 @@ class Space(Base):
24497
25057
  "SpaceNameContains": space_name_contains,
24498
25058
  }
24499
25059
 
24500
- operation_input_args = {
24501
- k: v
24502
- for k, v in operation_input_args.items()
24503
- if v is not None and not isinstance(v, Unassigned)
24504
- }
25060
+ # serialize the input request
25061
+ operation_input_args = serialize(operation_input_args)
25062
+ logger.debug(f"Serialized input request: {operation_input_args}")
24505
25063
 
24506
25064
  return ResourceIterator(
24507
25065
  client=client,
@@ -24657,6 +25215,10 @@ class StudioLifecycleConfig(Base):
24657
25215
  operation_input_args = {
24658
25216
  "StudioLifecycleConfigName": studio_lifecycle_config_name,
24659
25217
  }
25218
+ # serialize the input request
25219
+ operation_input_args = serialize(operation_input_args)
25220
+ logger.debug(f"Serialized input request: {operation_input_args}")
25221
+
24660
25222
  client = Base.get_sagemaker_client(
24661
25223
  session=session, region_name=region, service_name="sagemaker"
24662
25224
  )
@@ -24695,6 +25257,10 @@ class StudioLifecycleConfig(Base):
24695
25257
  operation_input_args = {
24696
25258
  "StudioLifecycleConfigName": self.studio_lifecycle_config_name,
24697
25259
  }
25260
+ # serialize the input request
25261
+ operation_input_args = serialize(operation_input_args)
25262
+ logger.debug(f"Serialized input request: {operation_input_args}")
25263
+
24698
25264
  client = Base.get_sagemaker_client()
24699
25265
  response = client.describe_studio_lifecycle_config(**operation_input_args)
24700
25266
 
@@ -24728,6 +25294,10 @@ class StudioLifecycleConfig(Base):
24728
25294
  operation_input_args = {
24729
25295
  "StudioLifecycleConfigName": self.studio_lifecycle_config_name,
24730
25296
  }
25297
+ # serialize the input request
25298
+ operation_input_args = serialize(operation_input_args)
25299
+ logger.debug(f"Serialized input request: {operation_input_args}")
25300
+
24731
25301
  client.delete_studio_lifecycle_config(**operation_input_args)
24732
25302
 
24733
25303
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -24795,11 +25365,9 @@ class StudioLifecycleConfig(Base):
24795
25365
  "SortOrder": sort_order,
24796
25366
  }
24797
25367
 
24798
- operation_input_args = {
24799
- k: v
24800
- for k, v in operation_input_args.items()
24801
- if v is not None and not isinstance(v, Unassigned)
24802
- }
25368
+ # serialize the input request
25369
+ operation_input_args = serialize(operation_input_args)
25370
+ logger.debug(f"Serialized input request: {operation_input_args}")
24803
25371
 
24804
25372
  return ResourceIterator(
24805
25373
  client=client,
@@ -24873,6 +25441,10 @@ class SubscribedWorkteam(Base):
24873
25441
  operation_input_args = {
24874
25442
  "WorkteamArn": workteam_arn,
24875
25443
  }
25444
+ # serialize the input request
25445
+ operation_input_args = serialize(operation_input_args)
25446
+ logger.debug(f"Serialized input request: {operation_input_args}")
25447
+
24876
25448
  client = Base.get_sagemaker_client(
24877
25449
  session=session, region_name=region, service_name="sagemaker"
24878
25450
  )
@@ -24910,6 +25482,10 @@ class SubscribedWorkteam(Base):
24910
25482
  operation_input_args = {
24911
25483
  "WorkteamArn": self.workteam_arn,
24912
25484
  }
25485
+ # serialize the input request
25486
+ operation_input_args = serialize(operation_input_args)
25487
+ logger.debug(f"Serialized input request: {operation_input_args}")
25488
+
24913
25489
  client = Base.get_sagemaker_client()
24914
25490
  response = client.describe_subscribed_workteam(**operation_input_args)
24915
25491
 
@@ -24958,11 +25534,9 @@ class SubscribedWorkteam(Base):
24958
25534
  "NameContains": name_contains,
24959
25535
  }
24960
25536
 
24961
- operation_input_args = {
24962
- k: v
24963
- for k, v in operation_input_args.items()
24964
- if v is not None and not isinstance(v, Unassigned)
24965
- }
25537
+ # serialize the input request
25538
+ operation_input_args = serialize(operation_input_args)
25539
+ logger.debug(f"Serialized input request: {operation_input_args}")
24966
25540
 
24967
25541
  return ResourceIterator(
24968
25542
  client=client,
@@ -25044,11 +25618,9 @@ class Tag(Base):
25044
25618
  "ResourceArn": resource_arn,
25045
25619
  }
25046
25620
 
25047
- operation_input_args = {
25048
- k: v
25049
- for k, v in operation_input_args.items()
25050
- if v is not None and not isinstance(v, Unassigned)
25051
- }
25621
+ # serialize the input request
25622
+ operation_input_args = serialize(operation_input_args)
25623
+ logger.debug(f"Serialized input request: {operation_input_args}")
25052
25624
 
25053
25625
  return ResourceIterator(
25054
25626
  client=client,
@@ -25093,7 +25665,9 @@ class Tag(Base):
25093
25665
  "ResourceArn": resource_arn,
25094
25666
  "Tags": tags,
25095
25667
  }
25096
- logger.debug(f"Input request: {operation_input_args}")
25668
+ # serialize the input request
25669
+ operation_input_args = serialize(operation_input_args)
25670
+ logger.debug(f"Serialized input request: {operation_input_args}")
25097
25671
 
25098
25672
  client = Base.get_sagemaker_client(
25099
25673
  session=session, region_name=region, service_name="sagemaker"
@@ -25137,7 +25711,9 @@ class Tag(Base):
25137
25711
  "ResourceArn": resource_arn,
25138
25712
  "TagKeys": tag_keys,
25139
25713
  }
25140
- logger.debug(f"Input request: {operation_input_args}")
25714
+ # serialize the input request
25715
+ operation_input_args = serialize(operation_input_args)
25716
+ logger.debug(f"Serialized input request: {operation_input_args}")
25141
25717
 
25142
25718
  client = Base.get_sagemaker_client(
25143
25719
  session=session, region_name=region, service_name="sagemaker"
@@ -25457,6 +26033,10 @@ class TrainingJob(Base):
25457
26033
  operation_input_args = {
25458
26034
  "TrainingJobName": training_job_name,
25459
26035
  }
26036
+ # serialize the input request
26037
+ operation_input_args = serialize(operation_input_args)
26038
+ logger.debug(f"Serialized input request: {operation_input_args}")
26039
+
25460
26040
  client = Base.get_sagemaker_client(
25461
26041
  session=session, region_name=region, service_name="sagemaker"
25462
26042
  )
@@ -25495,6 +26075,10 @@ class TrainingJob(Base):
25495
26075
  operation_input_args = {
25496
26076
  "TrainingJobName": self.training_job_name,
25497
26077
  }
26078
+ # serialize the input request
26079
+ operation_input_args = serialize(operation_input_args)
26080
+ logger.debug(f"Serialized input request: {operation_input_args}")
26081
+
25498
26082
  client = Base.get_sagemaker_client()
25499
26083
  response = client.describe_training_job(**operation_input_args)
25500
26084
 
@@ -25576,6 +26160,10 @@ class TrainingJob(Base):
25576
26160
  operation_input_args = {
25577
26161
  "TrainingJobName": self.training_job_name,
25578
26162
  }
26163
+ # serialize the input request
26164
+ operation_input_args = serialize(operation_input_args)
26165
+ logger.debug(f"Serialized input request: {operation_input_args}")
26166
+
25579
26167
  client.stop_training_job(**operation_input_args)
25580
26168
 
25581
26169
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -25699,11 +26287,9 @@ class TrainingJob(Base):
25699
26287
  "WarmPoolStatusEquals": warm_pool_status_equals,
25700
26288
  }
25701
26289
 
25702
- operation_input_args = {
25703
- k: v
25704
- for k, v in operation_input_args.items()
25705
- if v is not None and not isinstance(v, Unassigned)
25706
- }
26290
+ # serialize the input request
26291
+ operation_input_args = serialize(operation_input_args)
26292
+ logger.debug(f"Serialized input request: {operation_input_args}")
25707
26293
 
25708
26294
  return ResourceIterator(
25709
26295
  client=client,
@@ -25848,7 +26434,7 @@ class TransformJob(Base):
25848
26434
  model_client_config: Configures the timeout and maximum number of retries for processing a transform job invocation.
25849
26435
  max_payload_in_mb: The maximum allowed size of the payload, in MB. A payload is the data portion of a record (without metadata). The value in MaxPayloadInMB must be greater than, or equal to, the size of a single record. To estimate the size of a record in MB, divide the size of your dataset by the number of records. To ensure that the records fit within the maximum payload size, we recommend using a slightly larger value. The default value is 6 MB. The value of MaxPayloadInMB cannot be greater than 100 MB. If you specify the MaxConcurrentTransforms parameter, the value of (MaxConcurrentTransforms \* MaxPayloadInMB) also cannot exceed 100 MB. For cases where the payload might be arbitrarily large and is transmitted using HTTP chunked encoding, set the value to 0. This feature works only in supported algorithms. Currently, Amazon SageMaker built-in algorithms do not support HTTP chunked encoding.
25850
26436
  batch_strategy: Specifies the number of records to include in a mini-batch for an HTTP inference request. A record is a single unit of input data that inference can be made on. For example, a single line in a CSV file is a record. To enable the batch strategy, you must set the SplitType property to Line, RecordIO, or TFRecord. To use only one record when making an HTTP invocation request to a container, set BatchStrategy to SingleRecord and SplitType to Line. To fit as many records in a mini-batch as can fit within the MaxPayloadInMB limit, set BatchStrategy to MultiRecord and SplitType to Line.
25851
- environment: The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.
26437
+ environment: The environment variables to set in the Docker container. Don't include any sensitive data in your environment variables. We support up to 16 key and values entries in the map.
25852
26438
  data_capture_config: Configuration to control how SageMaker captures inference data.
25853
26439
  data_processing: The data structure used to specify the data to be used for inference in a batch transform job and to associate the data that is relevant to the prediction results in the output. The input filter provided allows you to exclude input data that is not needed for inference in a batch transform job. The output filter provided allows you to include input data relevant to interpreting the predictions in the output from the job. For more information, see Associate Prediction Results with their Corresponding Input Records.
25854
26440
  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.
@@ -25949,6 +26535,10 @@ class TransformJob(Base):
25949
26535
  operation_input_args = {
25950
26536
  "TransformJobName": transform_job_name,
25951
26537
  }
26538
+ # serialize the input request
26539
+ operation_input_args = serialize(operation_input_args)
26540
+ logger.debug(f"Serialized input request: {operation_input_args}")
26541
+
25952
26542
  client = Base.get_sagemaker_client(
25953
26543
  session=session, region_name=region, service_name="sagemaker"
25954
26544
  )
@@ -25987,6 +26577,10 @@ class TransformJob(Base):
25987
26577
  operation_input_args = {
25988
26578
  "TransformJobName": self.transform_job_name,
25989
26579
  }
26580
+ # serialize the input request
26581
+ operation_input_args = serialize(operation_input_args)
26582
+ logger.debug(f"Serialized input request: {operation_input_args}")
26583
+
25990
26584
  client = Base.get_sagemaker_client()
25991
26585
  response = client.describe_transform_job(**operation_input_args)
25992
26586
 
@@ -26017,6 +26611,10 @@ class TransformJob(Base):
26017
26611
  operation_input_args = {
26018
26612
  "TransformJobName": self.transform_job_name,
26019
26613
  }
26614
+ # serialize the input request
26615
+ operation_input_args = serialize(operation_input_args)
26616
+ logger.debug(f"Serialized input request: {operation_input_args}")
26617
+
26020
26618
  client.stop_transform_job(**operation_input_args)
26021
26619
 
26022
26620
  logger.info(f"Stopping {self.__class__.__name__} - {self.get_name()}")
@@ -26137,11 +26735,9 @@ class TransformJob(Base):
26137
26735
  "SortOrder": sort_order,
26138
26736
  }
26139
26737
 
26140
- operation_input_args = {
26141
- k: v
26142
- for k, v in operation_input_args.items()
26143
- if v is not None and not isinstance(v, Unassigned)
26144
- }
26738
+ # serialize the input request
26739
+ operation_input_args = serialize(operation_input_args)
26740
+ logger.debug(f"Serialized input request: {operation_input_args}")
26145
26741
 
26146
26742
  return ResourceIterator(
26147
26743
  client=client,
@@ -26305,6 +26901,10 @@ class Trial(Base):
26305
26901
  operation_input_args = {
26306
26902
  "TrialName": trial_name,
26307
26903
  }
26904
+ # serialize the input request
26905
+ operation_input_args = serialize(operation_input_args)
26906
+ logger.debug(f"Serialized input request: {operation_input_args}")
26907
+
26308
26908
  client = Base.get_sagemaker_client(
26309
26909
  session=session, region_name=region, service_name="sagemaker"
26310
26910
  )
@@ -26343,6 +26943,10 @@ class Trial(Base):
26343
26943
  operation_input_args = {
26344
26944
  "TrialName": self.trial_name,
26345
26945
  }
26946
+ # serialize the input request
26947
+ operation_input_args = serialize(operation_input_args)
26948
+ logger.debug(f"Serialized input request: {operation_input_args}")
26949
+
26346
26950
  client = Base.get_sagemaker_client()
26347
26951
  response = client.describe_trial(**operation_input_args)
26348
26952
 
@@ -26419,6 +27023,10 @@ class Trial(Base):
26419
27023
  operation_input_args = {
26420
27024
  "TrialName": self.trial_name,
26421
27025
  }
27026
+ # serialize the input request
27027
+ operation_input_args = serialize(operation_input_args)
27028
+ logger.debug(f"Serialized input request: {operation_input_args}")
27029
+
26422
27030
  client.delete_trial(**operation_input_args)
26423
27031
 
26424
27032
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -26480,11 +27088,9 @@ class Trial(Base):
26480
27088
  "SortOrder": sort_order,
26481
27089
  }
26482
27090
 
26483
- operation_input_args = {
26484
- k: v
26485
- for k, v in operation_input_args.items()
26486
- if v is not None and not isinstance(v, Unassigned)
26487
- }
27091
+ # serialize the input request
27092
+ operation_input_args = serialize(operation_input_args)
27093
+ logger.debug(f"Serialized input request: {operation_input_args}")
26488
27094
 
26489
27095
  return ResourceIterator(
26490
27096
  client=client,
@@ -26678,6 +27284,10 @@ class TrialComponent(Base):
26678
27284
  operation_input_args = {
26679
27285
  "TrialComponentName": trial_component_name,
26680
27286
  }
27287
+ # serialize the input request
27288
+ operation_input_args = serialize(operation_input_args)
27289
+ logger.debug(f"Serialized input request: {operation_input_args}")
27290
+
26681
27291
  client = Base.get_sagemaker_client(
26682
27292
  session=session, region_name=region, service_name="sagemaker"
26683
27293
  )
@@ -26716,6 +27326,10 @@ class TrialComponent(Base):
26716
27326
  operation_input_args = {
26717
27327
  "TrialComponentName": self.trial_component_name,
26718
27328
  }
27329
+ # serialize the input request
27330
+ operation_input_args = serialize(operation_input_args)
27331
+ logger.debug(f"Serialized input request: {operation_input_args}")
27332
+
26719
27333
  client = Base.get_sagemaker_client()
26720
27334
  response = client.describe_trial_component(**operation_input_args)
26721
27335
 
@@ -26815,6 +27429,10 @@ class TrialComponent(Base):
26815
27429
  operation_input_args = {
26816
27430
  "TrialComponentName": self.trial_component_name,
26817
27431
  }
27432
+ # serialize the input request
27433
+ operation_input_args = serialize(operation_input_args)
27434
+ logger.debug(f"Serialized input request: {operation_input_args}")
27435
+
26818
27436
  client.delete_trial_component(**operation_input_args)
26819
27437
 
26820
27438
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -26934,11 +27552,9 @@ class TrialComponent(Base):
26934
27552
  "SortOrder": sort_order,
26935
27553
  }
26936
27554
 
26937
- operation_input_args = {
26938
- k: v
26939
- for k, v in operation_input_args.items()
26940
- if v is not None and not isinstance(v, Unassigned)
26941
- }
27555
+ # serialize the input request
27556
+ operation_input_args = serialize(operation_input_args)
27557
+ logger.debug(f"Serialized input request: {operation_input_args}")
26942
27558
 
26943
27559
  return ResourceIterator(
26944
27560
  client=client,
@@ -26982,7 +27598,9 @@ class TrialComponent(Base):
26982
27598
  "TrialComponentName": self.trial_component_name,
26983
27599
  "TrialName": trial_name,
26984
27600
  }
26985
- logger.debug(f"Input request: {operation_input_args}")
27601
+ # serialize the input request
27602
+ operation_input_args = serialize(operation_input_args)
27603
+ logger.debug(f"Serialized input request: {operation_input_args}")
26986
27604
 
26987
27605
  client = Base.get_sagemaker_client(
26988
27606
  session=session, region_name=region, service_name="sagemaker"
@@ -27024,7 +27642,9 @@ class TrialComponent(Base):
27024
27642
  "TrialComponentName": self.trial_component_name,
27025
27643
  "TrialName": trial_name,
27026
27644
  }
27027
- logger.debug(f"Input request: {operation_input_args}")
27645
+ # serialize the input request
27646
+ operation_input_args = serialize(operation_input_args)
27647
+ logger.debug(f"Serialized input request: {operation_input_args}")
27028
27648
 
27029
27649
  client = Base.get_sagemaker_client(
27030
27650
  session=session, region_name=region, service_name="sagemaker"
@@ -27241,6 +27861,10 @@ class UserProfile(Base):
27241
27861
  "DomainId": domain_id,
27242
27862
  "UserProfileName": user_profile_name,
27243
27863
  }
27864
+ # serialize the input request
27865
+ operation_input_args = serialize(operation_input_args)
27866
+ logger.debug(f"Serialized input request: {operation_input_args}")
27867
+
27244
27868
  client = Base.get_sagemaker_client(
27245
27869
  session=session, region_name=region, service_name="sagemaker"
27246
27870
  )
@@ -27281,6 +27905,10 @@ class UserProfile(Base):
27281
27905
  "DomainId": self.domain_id,
27282
27906
  "UserProfileName": self.user_profile_name,
27283
27907
  }
27908
+ # serialize the input request
27909
+ operation_input_args = serialize(operation_input_args)
27910
+ logger.debug(f"Serialized input request: {operation_input_args}")
27911
+
27284
27912
  client = Base.get_sagemaker_client()
27285
27913
  response = client.describe_user_profile(**operation_input_args)
27286
27914
 
@@ -27362,6 +27990,10 @@ class UserProfile(Base):
27362
27990
  "DomainId": self.domain_id,
27363
27991
  "UserProfileName": self.user_profile_name,
27364
27992
  }
27993
+ # serialize the input request
27994
+ operation_input_args = serialize(operation_input_args)
27995
+ logger.debug(f"Serialized input request: {operation_input_args}")
27996
+
27365
27997
  client.delete_user_profile(**operation_input_args)
27366
27998
 
27367
27999
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -27552,11 +28184,9 @@ class UserProfile(Base):
27552
28184
  "UserProfileNameContains": user_profile_name_contains,
27553
28185
  }
27554
28186
 
27555
- operation_input_args = {
27556
- k: v
27557
- for k, v in operation_input_args.items()
27558
- if v is not None and not isinstance(v, Unassigned)
27559
- }
28187
+ # serialize the input request
28188
+ operation_input_args = serialize(operation_input_args)
28189
+ logger.debug(f"Serialized input request: {operation_input_args}")
27560
28190
 
27561
28191
  return ResourceIterator(
27562
28192
  client=client,
@@ -27724,6 +28354,10 @@ class Workforce(Base):
27724
28354
  operation_input_args = {
27725
28355
  "WorkforceName": workforce_name,
27726
28356
  }
28357
+ # serialize the input request
28358
+ operation_input_args = serialize(operation_input_args)
28359
+ logger.debug(f"Serialized input request: {operation_input_args}")
28360
+
27727
28361
  client = Base.get_sagemaker_client(
27728
28362
  session=session, region_name=region, service_name="sagemaker"
27729
28363
  )
@@ -27761,6 +28395,10 @@ class Workforce(Base):
27761
28395
  operation_input_args = {
27762
28396
  "WorkforceName": self.workforce_name,
27763
28397
  }
28398
+ # serialize the input request
28399
+ operation_input_args = serialize(operation_input_args)
28400
+ logger.debug(f"Serialized input request: {operation_input_args}")
28401
+
27764
28402
  client = Base.get_sagemaker_client()
27765
28403
  response = client.describe_workforce(**operation_input_args)
27766
28404
 
@@ -27845,6 +28483,10 @@ class Workforce(Base):
27845
28483
  operation_input_args = {
27846
28484
  "WorkforceName": self.workforce_name,
27847
28485
  }
28486
+ # serialize the input request
28487
+ operation_input_args = serialize(operation_input_args)
28488
+ logger.debug(f"Serialized input request: {operation_input_args}")
28489
+
27848
28490
  client.delete_workforce(**operation_input_args)
27849
28491
 
27850
28492
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -28012,11 +28654,9 @@ class Workforce(Base):
28012
28654
  "NameContains": name_contains,
28013
28655
  }
28014
28656
 
28015
- operation_input_args = {
28016
- k: v
28017
- for k, v in operation_input_args.items()
28018
- if v is not None and not isinstance(v, Unassigned)
28019
- }
28657
+ # serialize the input request
28658
+ operation_input_args = serialize(operation_input_args)
28659
+ logger.debug(f"Serialized input request: {operation_input_args}")
28020
28660
 
28021
28661
  return ResourceIterator(
28022
28662
  client=client,
@@ -28168,6 +28808,10 @@ class Workteam(Base):
28168
28808
  operation_input_args = {
28169
28809
  "WorkteamName": workteam_name,
28170
28810
  }
28811
+ # serialize the input request
28812
+ operation_input_args = serialize(operation_input_args)
28813
+ logger.debug(f"Serialized input request: {operation_input_args}")
28814
+
28171
28815
  client = Base.get_sagemaker_client(
28172
28816
  session=session, region_name=region, service_name="sagemaker"
28173
28817
  )
@@ -28205,6 +28849,10 @@ class Workteam(Base):
28205
28849
  operation_input_args = {
28206
28850
  "WorkteamName": self.workteam_name,
28207
28851
  }
28852
+ # serialize the input request
28853
+ operation_input_args = serialize(operation_input_args)
28854
+ logger.debug(f"Serialized input request: {operation_input_args}")
28855
+
28208
28856
  client = Base.get_sagemaker_client()
28209
28857
  response = client.describe_workteam(**operation_input_args)
28210
28858
 
@@ -28292,6 +28940,10 @@ class Workteam(Base):
28292
28940
  operation_input_args = {
28293
28941
  "WorkteamName": self.workteam_name,
28294
28942
  }
28943
+ # serialize the input request
28944
+ operation_input_args = serialize(operation_input_args)
28945
+ logger.debug(f"Serialized input request: {operation_input_args}")
28946
+
28295
28947
  client.delete_workteam(**operation_input_args)
28296
28948
 
28297
28949
  logger.info(f"Deleting {self.__class__.__name__} - {self.get_name()}")
@@ -28343,11 +28995,9 @@ class Workteam(Base):
28343
28995
  "NameContains": name_contains,
28344
28996
  }
28345
28997
 
28346
- operation_input_args = {
28347
- k: v
28348
- for k, v in operation_input_args.items()
28349
- if v is not None and not isinstance(v, Unassigned)
28350
- }
28998
+ # serialize the input request
28999
+ operation_input_args = serialize(operation_input_args)
29000
+ logger.debug(f"Serialized input request: {operation_input_args}")
28351
29001
 
28352
29002
  return ResourceIterator(
28353
29003
  client=client,
@@ -28409,12 +29059,9 @@ class Workteam(Base):
28409
29059
  "SortBy": sort_by,
28410
29060
  "SortOrder": sort_order,
28411
29061
  }
28412
- operation_input_args = {
28413
- k: v
28414
- for k, v in operation_input_args.items()
28415
- if v is not None and not isinstance(v, Unassigned)
28416
- }
28417
- logger.debug(f"Input request: {operation_input_args}")
29062
+ # serialize the input request
29063
+ operation_input_args = serialize(operation_input_args)
29064
+ logger.debug(f"Serialized input request: {operation_input_args}")
28418
29065
 
28419
29066
  client = Base.get_sagemaker_client(
28420
29067
  session=session, region_name=region, service_name="sagemaker"