aws-sdk-sagemaker 1.415.0 → 1.416.0

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.
@@ -55,7 +55,7 @@ module Aws::SageMaker
55
55
  autoload :EndpointProvider, 'aws-sdk-sagemaker/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-sagemaker/endpoints'
57
57
 
58
- GEM_VERSION = '1.415.0'
58
+ GEM_VERSION = '1.416.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1254,6 +1254,10 @@ module Aws
1254
1254
  enable_enhanced_metrics: bool?,
1255
1255
  enable_detailed_observability: bool?,
1256
1256
  metric_publish_frequency_in_seconds: ::Integer?
1257
+ },
1258
+ ?cross_region_traffic_config: {
1259
+ max_invocations_per_second_per_instance: ::Integer,
1260
+ max_cross_region_percent_per_endpoint: ::Integer
1257
1261
  }
1258
1262
  ) -> _CreateEndpointConfigResponseSuccess
1259
1263
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEndpointConfigResponseSuccess
@@ -1722,6 +1726,26 @@ module Aws
1722
1726
  ) -> _CreateInferenceRecommendationsJobResponseSuccess
1723
1727
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInferenceRecommendationsJobResponseSuccess
1724
1728
 
1729
+ interface _CreateInferenceRouterResponseSuccess
1730
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInferenceRouterOutput]
1731
+ def inference_router_arn: () -> ::String
1732
+ end
1733
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_inference_router-instance_method
1734
+ def create_inference_router: (
1735
+ inference_router_name: ::String,
1736
+ routing_targets: Array[
1737
+ Params::routing_target
1738
+ ],
1739
+ ?client_token: ::String,
1740
+ ?tags: Array[
1741
+ {
1742
+ key: ::String,
1743
+ value: ::String
1744
+ }
1745
+ ]
1746
+ ) -> _CreateInferenceRouterResponseSuccess
1747
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInferenceRouterResponseSuccess
1748
+
1725
1749
  interface _CreateJobResponseSuccess
1726
1750
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateJobResponse]
1727
1751
  def job_arn: () -> ::String
@@ -1730,7 +1754,7 @@ module Aws
1730
1754
  def create_job: (
1731
1755
  job_name: ::String,
1732
1756
  role_arn: ::String,
1733
- job_category: ("AgentRFT" | "AgentRFTEvaluation"),
1757
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation"),
1734
1758
  job_config_schema_version: ::String,
1735
1759
  job_config_document: ::String,
1736
1760
  ?tags: Array[
@@ -3291,6 +3315,15 @@ module Aws
3291
3315
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3292
3316
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3293
3317
 
3318
+ interface _DeleteEndpointPolicyResponseSuccess
3319
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEndpointPolicyResponse]
3320
+ end
3321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_endpoint_policy-instance_method
3322
+ def delete_endpoint_policy: (
3323
+ endpoint_name: ::String
3324
+ ) -> _DeleteEndpointPolicyResponseSuccess
3325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEndpointPolicyResponseSuccess
3326
+
3294
3327
  interface _DeleteExperimentResponseSuccess
3295
3328
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteExperimentResponse]
3296
3329
  def experiment_arn: () -> ::String
@@ -3390,13 +3423,19 @@ module Aws
3390
3423
  ) -> _DeleteInferenceExperimentResponseSuccess
3391
3424
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInferenceExperimentResponseSuccess
3392
3425
 
3426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_inference_router-instance_method
3427
+ def delete_inference_router: (
3428
+ inference_router_name: ::String
3429
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
3431
+
3393
3432
  interface _DeleteJobResponseSuccess
3394
3433
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteJobResponse]
3395
3434
  end
3396
3435
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_job-instance_method
3397
3436
  def delete_job: (
3398
3437
  job_name: ::String,
3399
- job_category: ("AgentRFT" | "AgentRFTEvaluation")
3438
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation")
3400
3439
  ) -> _DeleteJobResponseSuccess
3401
3440
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteJobResponseSuccess
3402
3441
 
@@ -4191,6 +4230,7 @@ module Aws
4191
4230
  def explainer_config: () -> Types::ExplainerConfig
4192
4231
  def shadow_production_variants: () -> ::Array[Types::ProductionVariantSummary]
4193
4232
  def metrics_config: () -> Types::MetricsConfig
4233
+ def cross_region_traffic_config: () -> Types::CrossRegionTrafficConfig
4194
4234
  end
4195
4235
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_endpoint-instance_method
4196
4236
  def describe_endpoint: (
@@ -4213,6 +4253,7 @@ module Aws
4213
4253
  def vpc_config: () -> Types::VpcConfig
4214
4254
  def enable_network_isolation: () -> bool
4215
4255
  def metrics_config: () -> Types::MetricsConfig
4256
+ def cross_region_traffic_config: () -> Types::CrossRegionTrafficConfig
4216
4257
  end
4217
4258
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_endpoint_config-instance_method
4218
4259
  def describe_endpoint_config: (
@@ -4514,19 +4555,35 @@ module Aws
4514
4555
  ) -> _DescribeInferenceRecommendationsJobResponseSuccess
4515
4556
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInferenceRecommendationsJobResponseSuccess
4516
4557
 
4558
+ interface _DescribeInferenceRouterResponseSuccess
4559
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInferenceRouterOutput]
4560
+ def inference_router_name: () -> ::String
4561
+ def inference_router_arn: () -> ::String
4562
+ def routing_targets: () -> ::Array[Types::RoutingTarget]
4563
+ def status: () -> ("InService" | "Creating" | "Updating" | "Failed" | "Deleting")
4564
+ def status_reason: () -> ::String
4565
+ def creation_time: () -> ::Time
4566
+ def last_modified_time: () -> ::Time
4567
+ end
4568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_inference_router-instance_method
4569
+ def describe_inference_router: (
4570
+ inference_router_name: ::String
4571
+ ) -> _DescribeInferenceRouterResponseSuccess
4572
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInferenceRouterResponseSuccess
4573
+
4517
4574
  interface _DescribeJobResponseSuccess
4518
4575
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeJobResponse]
4519
4576
  def job_name: () -> ::String
4520
4577
  def job_arn: () -> ::String
4521
4578
  def role_arn: () -> ::String
4522
- def job_category: () -> ("AgentRFT" | "AgentRFTEvaluation")
4579
+ def job_category: () -> ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation")
4523
4580
  def job_config_schema_version: () -> ::String
4524
4581
  def job_config_document: () -> ::String
4525
4582
  def creation_time: () -> ::Time
4526
4583
  def last_modified_time: () -> ::Time
4527
4584
  def end_time: () -> ::Time
4528
4585
  def job_status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting" | "DeleteFailed")
4529
- def secondary_status: () -> ("Starting" | "Downloading" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Interrupted" | "Failed" | "Completed" | "Restarting" | "Pending" | "Evaluating" | "Deleting" | "DeleteFailed")
4586
+ def secondary_status: () -> ("Starting" | "Downloading" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Interrupted" | "Failed" | "Completed" | "Restarting" | "Pending" | "Generating" | "PartialGeneration" | "Evaluating" | "Validating" | "Preparing" | "Executing" | "Publishing" | "Finalizing" | "Transforming" | "Deleting" | "DeleteFailed")
4530
4587
  def secondary_status_transitions: () -> ::Array[Types::JobSecondaryStatusTransition]
4531
4588
  def failure_reason: () -> ::String
4532
4589
  def tags: () -> ::Array[Types::Tag]
@@ -4534,19 +4591,19 @@ module Aws
4534
4591
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_job-instance_method
4535
4592
  def describe_job: (
4536
4593
  job_name: ::String,
4537
- job_category: ("AgentRFT" | "AgentRFTEvaluation")
4594
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation")
4538
4595
  ) -> _DescribeJobResponseSuccess
4539
4596
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobResponseSuccess
4540
4597
 
4541
4598
  interface _DescribeJobSchemaVersionResponseSuccess
4542
4599
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeJobSchemaVersionResponse]
4543
- def job_category: () -> ("AgentRFT" | "AgentRFTEvaluation")
4600
+ def job_category: () -> ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation")
4544
4601
  def job_config_schema_version: () -> ::String
4545
4602
  def job_config_schema: () -> ::String
4546
4603
  end
4547
4604
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_job_schema_version-instance_method
4548
4605
  def describe_job_schema_version: (
4549
- job_category: ("AgentRFT" | "AgentRFTEvaluation"),
4606
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation"),
4550
4607
  ?job_config_schema_version: ::String
4551
4608
  ) -> _DescribeJobSchemaVersionResponseSuccess
4552
4609
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobSchemaVersionResponseSuccess
@@ -5431,6 +5488,18 @@ module Aws
5431
5488
  ) -> _GetDeviceFleetReportResponseSuccess
5432
5489
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeviceFleetReportResponseSuccess
5433
5490
 
5491
+ interface _GetEndpointPolicyResponseSuccess
5492
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEndpointPolicyResponse]
5493
+ def endpoint_name: () -> ::String
5494
+ def endpoint_arn: () -> ::String
5495
+ def resource_policy: () -> ::String
5496
+ end
5497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#get_endpoint_policy-instance_method
5498
+ def get_endpoint_policy: (
5499
+ endpoint_name: ::String
5500
+ ) -> _GetEndpointPolicyResponseSuccess
5501
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEndpointPolicyResponseSuccess
5502
+
5434
5503
  interface _GetLineageGroupPolicyResponseSuccess
5435
5504
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLineageGroupPolicyResponse]
5436
5505
  def lineage_group_arn: () -> ::String
@@ -6346,6 +6415,18 @@ module Aws
6346
6415
  ) -> _ListInferenceRecommendationsJobsResponseSuccess
6347
6416
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceRecommendationsJobsResponseSuccess
6348
6417
 
6418
+ interface _ListInferenceRoutersResponseSuccess
6419
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInferenceRoutersOutput]
6420
+ def inference_routers: () -> ::Array[Types::InferenceRouterSummary]
6421
+ def next_token: () -> ::String
6422
+ end
6423
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_inference_routers-instance_method
6424
+ def list_inference_routers: (
6425
+ ?max_results: ::Integer,
6426
+ ?next_token: ::String
6427
+ ) -> _ListInferenceRoutersResponseSuccess
6428
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceRoutersResponseSuccess
6429
+
6349
6430
  interface _ListJobSchemaVersionsResponseSuccess
6350
6431
  include ::Seahorse::Client::_ResponseSuccess[Types::ListJobSchemaVersionsResponse]
6351
6432
  def next_token: () -> ::String
@@ -6353,7 +6434,7 @@ module Aws
6353
6434
  end
6354
6435
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_job_schema_versions-instance_method
6355
6436
  def list_job_schema_versions: (
6356
- job_category: ("AgentRFT" | "AgentRFTEvaluation"),
6437
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation"),
6357
6438
  ?next_token: ::String,
6358
6439
  ?max_results: ::Integer
6359
6440
  ) -> _ListJobSchemaVersionsResponseSuccess
@@ -6366,7 +6447,7 @@ module Aws
6366
6447
  end
6367
6448
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_jobs-instance_method
6368
6449
  def list_jobs: (
6369
- job_category: ("AgentRFT" | "AgentRFTEvaluation"),
6450
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation"),
6370
6451
  ?next_token: ::String,
6371
6452
  ?max_results: ::Integer,
6372
6453
  ?creation_time_after: ::Time,
@@ -7214,6 +7295,17 @@ module Aws
7214
7295
  ) -> _ListWorkteamsResponseSuccess
7215
7296
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkteamsResponseSuccess
7216
7297
 
7298
+ interface _PutEndpointPolicyResponseSuccess
7299
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEndpointPolicyResponse]
7300
+ def endpoint_arn: () -> ::String
7301
+ end
7302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#put_endpoint_policy-instance_method
7303
+ def put_endpoint_policy: (
7304
+ endpoint_name: ::String,
7305
+ resource_policy: ::String
7306
+ ) -> _PutEndpointPolicyResponseSuccess
7307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEndpointPolicyResponseSuccess
7308
+
7217
7309
  interface _PutModelPackageGroupPolicyResponseSuccess
7218
7310
  include ::Seahorse::Client::_ResponseSuccess[Types::PutModelPackageGroupPolicyOutput]
7219
7311
  def model_package_group_arn: () -> ::String
@@ -7555,7 +7647,7 @@ module Aws
7555
7647
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#stop_job-instance_method
7556
7648
  def stop_job: (
7557
7649
  job_name: ::String,
7558
- job_category: ("AgentRFT" | "AgentRFTEvaluation")
7650
+ job_category: ("AgentRFT" | "SyntheticDataGeneration" | "DataQualityEvaluation" | "AgentRFTEvaluation" | "DataTransformation")
7559
7651
  ) -> _StopJobResponseSuccess
7560
7652
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopJobResponseSuccess
7561
7653
 
@@ -8114,6 +8206,19 @@ module Aws
8114
8206
  ) -> _UpdateInferenceExperimentResponseSuccess
8115
8207
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInferenceExperimentResponseSuccess
8116
8208
 
8209
+ interface _UpdateInferenceRouterResponseSuccess
8210
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInferenceRouterOutput]
8211
+ def inference_router_arn: () -> ::String
8212
+ end
8213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_inference_router-instance_method
8214
+ def update_inference_router: (
8215
+ inference_router_name: ::String,
8216
+ routing_targets: Array[
8217
+ Params::routing_target
8218
+ ]
8219
+ ) -> _UpdateInferenceRouterResponseSuccess
8220
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInferenceRouterResponseSuccess
8221
+
8117
8222
  interface _UpdateMlflowAppResponseSuccess
8118
8223
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMlflowAppResponse]
8119
8224
  def arn: () -> ::String
data/sig/errors.rbs CHANGED
@@ -14,6 +14,9 @@ module Aws
14
14
  class ConflictException < ServiceError
15
15
  def message: () -> ::String
16
16
  end
17
+ class ResourceAlreadyExists < ServiceError
18
+ def message: () -> ::String
19
+ end
17
20
  class ResourceInUse < ServiceError
18
21
  def message: () -> ::String
19
22
  end
data/sig/params.rbs CHANGED
@@ -823,7 +823,7 @@ module Aws
823
823
  enable_ssm_access: bool?,
824
824
  managed_instance_scaling: Params::production_variant_managed_instance_scaling?,
825
825
  routing_config: {
826
- routing_strategy: ("LEAST_OUTSTANDING_REQUESTS" | "RANDOM" | "PREFIX_AWARE"),
826
+ routing_strategy: ("LEAST_OUTSTANDING_REQUESTS" | "RANDOM" | "PREFIX_AWARE" | "KV_AWARE"),
827
827
  prefix_aware_routing_config: {
828
828
  prefix_length: ::Integer?,
829
829
  concurrency_threshold: ::Integer?
@@ -1015,6 +1015,35 @@ module Aws
1015
1015
  }?
1016
1016
  }
1017
1017
 
1018
+ type routing_target_async_inference_output_config = {
1019
+ s3_output_path: ::String,
1020
+ s3_failure_path: ::String,
1021
+ kms_key_id: ::String?,
1022
+ notification_config: {
1023
+ success_topic: ::String?,
1024
+ error_topic: ::String?
1025
+ }?
1026
+ }
1027
+
1028
+ type routing_target_async_inference_config = {
1029
+ output_config: Params::routing_target_async_inference_output_config,
1030
+ client_config: {
1031
+ max_time_in_backlog_seconds: ::Integer?
1032
+ }?
1033
+ }
1034
+
1035
+ type routing_target = {
1036
+ name: ::String,
1037
+ destinations: Array[
1038
+ {
1039
+ resource_arn: ::String,
1040
+ routing_status: ("Routable" | "Unroutable" | "Unknown")?
1041
+ }
1042
+ ],
1043
+ async_inference_config: Params::routing_target_async_inference_config?,
1044
+ routing_preference: ("LocalRegionFirst" | "InstancePoolOrder")?
1045
+ }
1046
+
1018
1047
  type container_definition = {
1019
1048
  container_hostname: ::String?,
1020
1049
  image: ::String?,