aws-sdk-sagemaker 1.417.0 → 1.419.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.417.0'
58
+ GEM_VERSION = '1.419.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -93,6 +93,23 @@ module Aws
93
93
  ) -> _AddAssociationResponseSuccess
94
94
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddAssociationResponseSuccess
95
95
 
96
+ interface _AddInferenceGatewayResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddInferenceGatewayResponse]
98
+ def arn: () -> ::String
99
+ def id: () -> ::String
100
+ def name: () -> ::String
101
+ def gateway: () -> Types::GlobalInferenceGatewayMember
102
+ def status: () -> ("ADDING" | "ACTIVE" | "REMOVING" | "FAILED")
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#add_inference_gateway-instance_method
105
+ def add_inference_gateway: (
106
+ identifier: ::String,
107
+ cluster_arn: ::String,
108
+ namespace: ::String,
109
+ name: ::String
110
+ ) -> _AddInferenceGatewayResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddInferenceGatewayResponseSuccess
112
+
96
113
  interface _AddTagsResponseSuccess
97
114
  include ::Seahorse::Client::_ResponseSuccess[Types::AddTagsOutput]
98
115
  def tags: () -> ::Array[Types::Tag]
@@ -1379,6 +1396,38 @@ module Aws
1379
1396
  ) -> _CreateFlowDefinitionResponseSuccess
1380
1397
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowDefinitionResponseSuccess
1381
1398
 
1399
+ interface _CreateGlobalInferenceGatewayResponseSuccess
1400
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGlobalInferenceGatewayResponse]
1401
+ def arn: () -> ::String
1402
+ def id: () -> ::String
1403
+ def name: () -> ::String
1404
+ def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
1405
+ def execution_role_arn: () -> ::String
1406
+ def routing: () -> Types::GlobalInferenceGatewayRouting
1407
+ def gateways: () -> ::Array[Types::GlobalInferenceGatewayMember]
1408
+ end
1409
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_global_inference_gateway-instance_method
1410
+ def create_global_inference_gateway: (
1411
+ name: ::String,
1412
+ ?routing: Params::global_inference_gateway_routing,
1413
+ execution_role_arn: ::String,
1414
+ gateways: Array[
1415
+ {
1416
+ name: ::String,
1417
+ namespace: ::String,
1418
+ cluster_arn: ::String
1419
+ }
1420
+ ],
1421
+ ?client_token: ::String,
1422
+ ?tags: Array[
1423
+ {
1424
+ key: ::String,
1425
+ value: ::String
1426
+ }
1427
+ ]
1428
+ ) -> _CreateGlobalInferenceGatewayResponseSuccess
1429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGlobalInferenceGatewayResponseSuccess
1430
+
1382
1431
  interface _CreateHubResponseSuccess
1383
1432
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateHubResponse]
1384
1433
  def hub_arn: () -> ::String
@@ -3349,6 +3398,18 @@ module Aws
3349
3398
  ) -> _DeleteFlowDefinitionResponseSuccess
3350
3399
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlowDefinitionResponseSuccess
3351
3400
 
3401
+ interface _DeleteGlobalInferenceGatewayResponseSuccess
3402
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGlobalInferenceGatewayResponse]
3403
+ def arn: () -> ::String
3404
+ def id: () -> ::String
3405
+ def name: () -> ::String
3406
+ end
3407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_global_inference_gateway-instance_method
3408
+ def delete_global_inference_gateway: (
3409
+ identifier: ::String
3410
+ ) -> _DeleteGlobalInferenceGatewayResponseSuccess
3411
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGlobalInferenceGatewayResponseSuccess
3412
+
3352
3413
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_hub-instance_method
3353
3414
  def delete_hub: (
3354
3415
  hub_name: ::String
@@ -3888,6 +3949,16 @@ module Aws
3888
3949
  ) -> _DescribeAutoMLJobV2ResponseSuccess
3889
3950
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAutoMLJobV2ResponseSuccess
3890
3951
 
3952
+ interface _DescribeCapacityReservationResponseSuccess
3953
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationResponse]
3954
+ def capacity_reservation: () -> Types::CapacityReservationDetail
3955
+ end
3956
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_capacity_reservation-instance_method
3957
+ def describe_capacity_reservation: (
3958
+ sm_capacity_reservation_arn: ::String
3959
+ ) -> _DescribeCapacityReservationResponseSuccess
3960
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationResponseSuccess
3961
+
3891
3962
  interface _DescribeClusterResponseSuccess
3892
3963
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterResponse]
3893
3964
  def cluster_arn: () -> ::String
@@ -4344,6 +4415,25 @@ module Aws
4344
4415
  ) -> _DescribeFlowDefinitionResponseSuccess
4345
4416
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFlowDefinitionResponseSuccess
4346
4417
 
4418
+ interface _DescribeGlobalInferenceGatewayResponseSuccess
4419
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGlobalInferenceGatewayResponse]
4420
+ def arn: () -> ::String
4421
+ def id: () -> ::String
4422
+ def name: () -> ::String
4423
+ def execution_role_arn: () -> ::String
4424
+ def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
4425
+ def endpoint_url: () -> ::String
4426
+ def vpc_endpoint_service_name: () -> ::String
4427
+ def routing: () -> Types::GlobalInferenceGatewayRouting
4428
+ def creation_time: () -> ::Time
4429
+ def failure_reason: () -> ::String
4430
+ end
4431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_global_inference_gateway-instance_method
4432
+ def describe_global_inference_gateway: (
4433
+ identifier: ::String
4434
+ ) -> _DescribeGlobalInferenceGatewayResponseSuccess
4435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGlobalInferenceGatewayResponseSuccess
4436
+
4347
4437
  interface _DescribeHubResponseSuccess
4348
4438
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeHubResponse]
4349
4439
  def hub_name: () -> ::String
@@ -5142,6 +5232,21 @@ module Aws
5142
5232
  ) -> _DescribeReservedCapacityResponseSuccess
5143
5233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReservedCapacityResponseSuccess
5144
5234
 
5235
+ interface _DescribeResourceAssociationsResponseSuccess
5236
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceAssociationsResponse]
5237
+ def sm_capacity_reservation_arn: () -> ::String
5238
+ def sm_capacity_reservation_id: () -> ::String
5239
+ def resource_associations: () -> ::Array[Types::CapacityReservationResourceAssociation]
5240
+ def next_token: () -> ::String
5241
+ end
5242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_resource_associations-instance_method
5243
+ def describe_resource_associations: (
5244
+ sm_capacity_reservation_arn: ::String,
5245
+ ?max_results: ::Integer,
5246
+ ?next_token: ::String
5247
+ ) -> _DescribeResourceAssociationsResponseSuccess
5248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceAssociationsResponseSuccess
5249
+
5145
5250
  interface _DescribeSpaceResponseSuccess
5146
5251
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSpaceResponse]
5147
5252
  def domain_id: () -> ::String
@@ -5471,6 +5576,23 @@ module Aws
5471
5576
  ) -> _ExtendTrainingPlanResponseSuccess
5472
5577
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExtendTrainingPlanResponseSuccess
5473
5578
 
5579
+ interface _GetCapacityReservationUsageResponseSuccess
5580
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityReservationUsageResponse]
5581
+ def sm_capacity_reservation_id: () -> ::String
5582
+ def total_instance_count: () -> ::Integer
5583
+ def available_instance_count: () -> ::Integer
5584
+ def last_refresh_time: () -> ::Time
5585
+ def instance_usage_set: () -> ::Array[Types::CapacityReservationInstanceUsage]
5586
+ def next_token: () -> ::String
5587
+ end
5588
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#get_capacity_reservation_usage-instance_method
5589
+ def get_capacity_reservation_usage: (
5590
+ sm_capacity_reservation_arn: ::String,
5591
+ ?max_results: ::Integer,
5592
+ ?next_token: ::String
5593
+ ) -> _GetCapacityReservationUsageResponseSuccess
5594
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityReservationUsageResponseSuccess
5595
+
5474
5596
  interface _GetDeviceFleetReportResponseSuccess
5475
5597
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceFleetReportResponse]
5476
5598
  def device_fleet_arn: () -> ::String
@@ -5810,6 +5932,24 @@ module Aws
5810
5932
  ) -> _ListCandidatesForAutoMLJobResponseSuccess
5811
5933
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCandidatesForAutoMLJobResponseSuccess
5812
5934
 
5935
+ interface _ListCapacityReservationsResponseSuccess
5936
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityReservationsResponse]
5937
+ def capacity_reservation_summaries: () -> ::Array[Types::CapacityReservationSummary]
5938
+ def next_token: () -> ::String
5939
+ end
5940
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_capacity_reservations-instance_method
5941
+ def list_capacity_reservations: (
5942
+ ?max_results: ::Integer,
5943
+ ?next_token: ::String,
5944
+ ?filters: Array[
5945
+ {
5946
+ name: ("Status"),
5947
+ values: Array[::String]
5948
+ }
5949
+ ]
5950
+ ) -> _ListCapacityReservationsResponseSuccess
5951
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityReservationsResponseSuccess
5952
+
5813
5953
  interface _ListClusterEventsResponseSuccess
5814
5954
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterEventsResponse]
5815
5955
  def next_token: () -> ::String
@@ -6202,6 +6342,24 @@ module Aws
6202
6342
  ) -> _ListFlowDefinitionsResponseSuccess
6203
6343
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowDefinitionsResponseSuccess
6204
6344
 
6345
+ interface _ListGlobalInferenceGatewaysResponseSuccess
6346
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGlobalInferenceGatewaysResponse]
6347
+ def global_inference_gateway_summaries: () -> ::Array[Types::GlobalInferenceGatewaySummary]
6348
+ def next_token: () -> ::String
6349
+ end
6350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_global_inference_gateways-instance_method
6351
+ def list_global_inference_gateways: (
6352
+ ?filters: Array[
6353
+ {
6354
+ name: ("Status"),
6355
+ value: ::String
6356
+ }
6357
+ ],
6358
+ ?next_token: ::String,
6359
+ ?max_results: ::Integer
6360
+ ) -> _ListGlobalInferenceGatewaysResponseSuccess
6361
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGlobalInferenceGatewaysResponseSuccess
6362
+
6205
6363
  interface _ListHubContentVersionsResponseSuccess
6206
6364
  include ::Seahorse::Client::_ResponseSuccess[Types::ListHubContentVersionsResponse]
6207
6365
  def hub_content_summaries: () -> ::Array[Types::HubContentInfo]
@@ -6378,6 +6536,25 @@ module Aws
6378
6536
  ) -> _ListInferenceExperimentsResponseSuccess
6379
6537
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceExperimentsResponseSuccess
6380
6538
 
6539
+ interface _ListInferenceGatewaysResponseSuccess
6540
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInferenceGatewaysResponse]
6541
+ def inference_gateway_summaries: () -> ::Array[Types::GlobalInferenceGatewayMemberSummary]
6542
+ def next_token: () -> ::String
6543
+ end
6544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_inference_gateways-instance_method
6545
+ def list_inference_gateways: (
6546
+ identifier: ::String,
6547
+ ?filters: Array[
6548
+ {
6549
+ name: ("Status" | "ClusterArn"),
6550
+ value: ::String
6551
+ }
6552
+ ],
6553
+ ?next_token: ::String,
6554
+ ?max_results: ::Integer
6555
+ ) -> _ListInferenceGatewaysResponseSuccess
6556
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceGatewaysResponseSuccess
6557
+
6381
6558
  interface _ListInferenceRecommendationsJobStepsResponseSuccess
6382
6559
  include ::Seahorse::Client::_ResponseSuccess[Types::ListInferenceRecommendationsJobStepsResponse]
6383
6560
  def steps: () -> ::Array[Types::InferenceRecommendationsJobStep]
@@ -7295,6 +7472,26 @@ module Aws
7295
7472
  ) -> _ListWorkteamsResponseSuccess
7296
7473
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkteamsResponseSuccess
7297
7474
 
7475
+ interface _MoveClusterNodesResponseSuccess
7476
+ include ::Seahorse::Client::_ResponseSuccess[Types::MoveClusterNodesResponse]
7477
+ def successful: () -> ::Array[::String]
7478
+ def failed: () -> ::Array[Types::MoveClusterNodesError]
7479
+ def successful_node_logical_ids: () -> ::Array[::String]
7480
+ def failed_node_logical_ids: () -> ::Array[Types::MoveClusterNodeLogicalIdsError]
7481
+ end
7482
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#move_cluster_nodes-instance_method
7483
+ def move_cluster_nodes: (
7484
+ source_cluster_arn: ::String,
7485
+ source_instance_group_name: ::String,
7486
+ target_cluster_arn: ::String,
7487
+ target_instance_group_name: ::String,
7488
+ ?instance_count: ::Integer,
7489
+ ?node_ids: Array[::String],
7490
+ ?node_logical_ids: Array[::String],
7491
+ ?client_token: ::String
7492
+ ) -> _MoveClusterNodesResponseSuccess
7493
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MoveClusterNodesResponseSuccess
7494
+
7298
7495
  interface _PutEndpointPolicyResponseSuccess
7299
7496
  include ::Seahorse::Client::_ResponseSuccess[Types::PutEndpointPolicyResponse]
7300
7497
  def endpoint_arn: () -> ::String
@@ -7362,6 +7559,23 @@ module Aws
7362
7559
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
7363
7560
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
7364
7561
 
7562
+ interface _RemoveInferenceGatewayResponseSuccess
7563
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveInferenceGatewayResponse]
7564
+ def arn: () -> ::String
7565
+ def id: () -> ::String
7566
+ def name: () -> ::String
7567
+ def gateway: () -> Types::GlobalInferenceGatewayMember
7568
+ def status: () -> ("ADDING" | "ACTIVE" | "REMOVING" | "FAILED")
7569
+ end
7570
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#remove_inference_gateway-instance_method
7571
+ def remove_inference_gateway: (
7572
+ identifier: ::String,
7573
+ cluster_arn: ::String,
7574
+ namespace: ::String,
7575
+ name: ::String
7576
+ ) -> _RemoveInferenceGatewayResponseSuccess
7577
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveInferenceGatewayResponseSuccess
7578
+
7365
7579
  interface _RenderUiTemplateResponseSuccess
7366
7580
  include ::Seahorse::Client::_ResponseSuccess[Types::RenderUiTemplateResponse]
7367
7581
  def rendered_content: () -> ::String
@@ -8046,6 +8260,21 @@ module Aws
8046
8260
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
8047
8261
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
8048
8262
 
8263
+ interface _UpdateGlobalInferenceGatewayResponseSuccess
8264
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalInferenceGatewayResponse]
8265
+ def arn: () -> ::String
8266
+ def id: () -> ::String
8267
+ def name: () -> ::String
8268
+ def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED")
8269
+ def routing: () -> Types::GlobalInferenceGatewayRouting
8270
+ end
8271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_global_inference_gateway-instance_method
8272
+ def update_global_inference_gateway: (
8273
+ identifier: ::String,
8274
+ routing: Params::global_inference_gateway_routing
8275
+ ) -> _UpdateGlobalInferenceGatewayResponseSuccess
8276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalInferenceGatewayResponseSuccess
8277
+
8049
8278
  interface _UpdateHubResponseSuccess
8050
8279
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubResponse]
8051
8280
  def hub_arn: () -> ::String
data/sig/params.rbs CHANGED
@@ -852,6 +852,15 @@ module Aws
852
852
  }?
853
853
  }
854
854
 
855
+ type global_inference_gateway_routing = {
856
+ weights: {
857
+ kv_headroom: ::Float?,
858
+ queue_depth: ::Float?,
859
+ region_proximity: ::Float?,
860
+ error_rate: ::Float?
861
+ }
862
+ }
863
+
855
864
  type parameter_ranges = {
856
865
  integer_parameter_ranges: Array[
857
866
  {