aws-sdk-sagemaker 1.418.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d40e5abff8d7591e514202e8aee4d23c0e1cd5159d891a49e3953cebcf19ceb0
4
- data.tar.gz: 7e5eb5c919d75f9975568a4ad799f8079766e3e87387b53b91980ac49d708df1
3
+ metadata.gz: 766c1d4b5fc9efcdaf83aaca6339e14f9d2ad641f1536abd6e9df255e812f9dd
4
+ data.tar.gz: c2b2bf2c424768a4309ec5d818cfd594e25d58983678274d962867034903a1f3
5
5
  SHA512:
6
- metadata.gz: 344171e5336e6af71f49ad75e2c3c373cb931fad06838d1a7ea35ddf7ccc1f4030501b3362a8f4f23dab8e91cbb813b726c33d05cbac68f000fae99face1dd3a
7
- data.tar.gz: 86cead7608b3a60d8d09515b915f32f1506b2297b77d04fa5a6daa4bf256fb71d1b79ea6ad0be5775fe1de34006fc8c3ed4dcf39835edc2b4c55e51d0db0d645
6
+ metadata.gz: cf505531d47a3d5895b205e18afee2a98ae6e499b1a18b1639abe8dc23b1afbc31594df19247478486f0b2ad41f8f22fcf8572311b1733da5816db52153b0fca
7
+ data.tar.gz: 23eeec1f6c748e2d4354a7030763028c1573029409f85379e31d60260102bc54065995e25c2743a9a297d3bedcbe473fa03d64e0dfab3e9bd29fc83234c99ca1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.419.0 (2026-11-21)
5
+ ------------------
6
+
7
+ * Feature - Amazon SageMaker AI adds APIs to view capacity reservations and their usage.
8
+
4
9
  1.418.0 (2026-11-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.418.0
1
+ 1.419.0
@@ -15842,6 +15842,48 @@ module Aws::SageMaker
15842
15842
  req.send_request(options)
15843
15843
  end
15844
15844
 
15845
+ # Returns details about a SageMaker Capacity Reservation, such as its
15846
+ # instance type, instance count, Availability Zone, and start and end
15847
+ # times.
15848
+ #
15849
+ # @option params [required, String] :sm_capacity_reservation_arn
15850
+ # The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.
15851
+ # The ARN has the format
15852
+ # `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
15853
+ #
15854
+ # @return [Types::DescribeCapacityReservationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
15855
+ #
15856
+ # * {Types::DescribeCapacityReservationResponse#capacity_reservation #capacity_reservation} => Types::CapacityReservationDetail
15857
+ #
15858
+ # @example Request syntax with placeholder values
15859
+ #
15860
+ # resp = client.describe_capacity_reservation({
15861
+ # sm_capacity_reservation_arn: "CapacityReservationArn", # required
15862
+ # })
15863
+ #
15864
+ # @example Response structure
15865
+ #
15866
+ # resp.capacity_reservation.sm_capacity_reservation_arn #=> String
15867
+ # resp.capacity_reservation.sm_capacity_reservation_id #=> String
15868
+ # resp.capacity_reservation.owner #=> String
15869
+ # resp.capacity_reservation.status #=> String, one of "Scheduled", "Active", "Expired"
15870
+ # resp.capacity_reservation.instance_type #=> String
15871
+ # resp.capacity_reservation.availability_zone #=> String
15872
+ # resp.capacity_reservation.availability_zone_id #=> String
15873
+ # resp.capacity_reservation.total_instance_count #=> Integer
15874
+ # resp.capacity_reservation.start_time #=> Time
15875
+ # resp.capacity_reservation.end_time #=> Time
15876
+ # resp.capacity_reservation.creation_time #=> Time
15877
+ #
15878
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCapacityReservation AWS API Documentation
15879
+ #
15880
+ # @overload describe_capacity_reservation(params = {})
15881
+ # @param [Hash] params ({})
15882
+ def describe_capacity_reservation(params = {}, options = {})
15883
+ req = build_request(:describe_capacity_reservation, params)
15884
+ req.send_request(options)
15885
+ end
15886
+
15845
15887
  # Retrieves information of a SageMaker HyperPod cluster.
15846
15888
  #
15847
15889
  # @option params [required, String] :cluster_name
@@ -15957,7 +15999,7 @@ module Aws::SageMaker
15957
15999
  # resp.instance_groups[0].kubernetes_config.desired_taints[0].value #=> String
15958
16000
  # resp.instance_groups[0].kubernetes_config.desired_taints[0].effect #=> String, one of "NoSchedule", "PreferNoSchedule", "NoExecute"
15959
16001
  # resp.instance_groups[0].target_state_count #=> Integer
15960
- # resp.instance_groups[0].software_update_status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "RollbackInProgress", "RollbackComplete"
16002
+ # resp.instance_groups[0].software_update_status #=> String, one of "Pending", "InProgress", "Succeeded", "Failed", "RollbackInProgress", "RollbackComplete", "PartiallySucceeded"
15961
16003
  # resp.instance_groups[0].active_software_update_config.rolling_update_policy.maximum_batch_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENTAGE"
15962
16004
  # resp.instance_groups[0].active_software_update_config.rolling_update_policy.maximum_batch_size.value #=> Integer
15963
16005
  # resp.instance_groups[0].active_software_update_config.rolling_update_policy.rollback_maximum_batch_size.type #=> String, one of "INSTANCE_COUNT", "CAPACITY_PERCENTAGE"
@@ -21252,6 +21294,68 @@ module Aws::SageMaker
21252
21294
  req.send_request(options)
21253
21295
  end
21254
21296
 
21297
+ # Returns the resources in your account that are associated with a
21298
+ # SageMaker Capacity Reservation and the status of each association.
21299
+ # Resources include SageMaker AI HyperPod clusters and SageMaker AI
21300
+ # endpoints.
21301
+ #
21302
+ # @option params [required, String] :sm_capacity_reservation_arn
21303
+ # The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.
21304
+ # The ARN has the format
21305
+ # `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
21306
+ #
21307
+ # @option params [Integer] :max_results
21308
+ # The maximum number of results to return in the response. If more
21309
+ # results are available, the response includes a `NextToken` value.
21310
+ #
21311
+ # @option params [String] :next_token
21312
+ # If the previous response was truncated, the response includes a
21313
+ # `NextToken` value. To retrieve the next set of results, use that token
21314
+ # in your next request.
21315
+ #
21316
+ # @return [Types::DescribeResourceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21317
+ #
21318
+ # * {Types::DescribeResourceAssociationsResponse#sm_capacity_reservation_arn #sm_capacity_reservation_arn} => String
21319
+ # * {Types::DescribeResourceAssociationsResponse#sm_capacity_reservation_id #sm_capacity_reservation_id} => String
21320
+ # * {Types::DescribeResourceAssociationsResponse#resource_associations #resource_associations} => Array<Types::CapacityReservationResourceAssociation>
21321
+ # * {Types::DescribeResourceAssociationsResponse#next_token #next_token} => String
21322
+ #
21323
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
21324
+ #
21325
+ # @example Request syntax with placeholder values
21326
+ #
21327
+ # resp = client.describe_resource_associations({
21328
+ # sm_capacity_reservation_arn: "CapacityReservationArn", # required
21329
+ # max_results: 1,
21330
+ # next_token: "NextToken",
21331
+ # })
21332
+ #
21333
+ # @example Response structure
21334
+ #
21335
+ # resp.sm_capacity_reservation_arn #=> String
21336
+ # resp.sm_capacity_reservation_id #=> String
21337
+ # resp.resource_associations #=> Array
21338
+ # resp.resource_associations[0].hyper_pod_clusters.status #=> String, one of "Pending", "Active", "Inactive"
21339
+ # resp.resource_associations[0].hyper_pod_clusters.failure_reason #=> String
21340
+ # resp.resource_associations[0].hyper_pod_clusters.associated_time #=> Time
21341
+ # resp.resource_associations[0].endpoints.ml_reservation_id #=> String
21342
+ # resp.resource_associations[0].endpoints.status #=> String, one of "Pending", "Active", "Inactive"
21343
+ # resp.resource_associations[0].endpoints.match_criteria #=> String, one of "Open", "Targeted"
21344
+ # resp.resource_associations[0].endpoints.endpoint_sharing #=> String, one of "SingleEndpoint", "MultipleEndpoints"
21345
+ # resp.resource_associations[0].endpoints.ml_reservation_arn #=> String
21346
+ # resp.resource_associations[0].endpoints.failure_reason #=> String
21347
+ # resp.resource_associations[0].endpoints.associated_time #=> Time
21348
+ # resp.next_token #=> String
21349
+ #
21350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeResourceAssociations AWS API Documentation
21351
+ #
21352
+ # @overload describe_resource_associations(params = {})
21353
+ # @param [Hash] params ({})
21354
+ def describe_resource_associations(params = {}, options = {})
21355
+ req = build_request(:describe_resource_associations, params)
21356
+ req.send_request(options)
21357
+ end
21358
+
21255
21359
  # Describes the space.
21256
21360
  #
21257
21361
  # @option params [required, String] :domain_id
@@ -22604,6 +22708,68 @@ module Aws::SageMaker
22604
22708
  req.send_request(options)
22605
22709
  end
22606
22710
 
22711
+ # Returns the number of instances in use from a SageMaker Capacity
22712
+ # Reservation, for each account that uses them.
22713
+ #
22714
+ # SageMaker AI refreshes the usage counts periodically. The
22715
+ # `LastRefreshTime` value shows when the counts were last refreshed.
22716
+ #
22717
+ # @option params [required, String] :sm_capacity_reservation_arn
22718
+ # The Amazon Resource Name (ARN) of the SageMaker Capacity Reservation.
22719
+ # The ARN has the format
22720
+ # `arn:aws:sagemaker:region:account-id:sm-capacity-reservation/smcr-id`.
22721
+ #
22722
+ # @option params [Integer] :max_results
22723
+ # The maximum number of results to return in the response. If more
22724
+ # results are available, the response includes a `NextToken` value.
22725
+ #
22726
+ # @option params [String] :next_token
22727
+ # If the previous response was truncated, the response includes a
22728
+ # `NextToken` value. To retrieve the next set of results, use that token
22729
+ # in your next request.
22730
+ #
22731
+ # @return [Types::GetCapacityReservationUsageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
22732
+ #
22733
+ # * {Types::GetCapacityReservationUsageResponse#sm_capacity_reservation_id #sm_capacity_reservation_id} => String
22734
+ # * {Types::GetCapacityReservationUsageResponse#total_instance_count #total_instance_count} => Integer
22735
+ # * {Types::GetCapacityReservationUsageResponse#available_instance_count #available_instance_count} => Integer
22736
+ # * {Types::GetCapacityReservationUsageResponse#last_refresh_time #last_refresh_time} => Time
22737
+ # * {Types::GetCapacityReservationUsageResponse#instance_usage_set #instance_usage_set} => Array<Types::CapacityReservationInstanceUsage>
22738
+ # * {Types::GetCapacityReservationUsageResponse#next_token #next_token} => String
22739
+ #
22740
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
22741
+ #
22742
+ # @example Request syntax with placeholder values
22743
+ #
22744
+ # resp = client.get_capacity_reservation_usage({
22745
+ # sm_capacity_reservation_arn: "CapacityReservationArn", # required
22746
+ # max_results: 1,
22747
+ # next_token: "NextToken",
22748
+ # })
22749
+ #
22750
+ # @example Response structure
22751
+ #
22752
+ # resp.sm_capacity_reservation_id #=> String
22753
+ # resp.total_instance_count #=> Integer
22754
+ # resp.available_instance_count #=> Integer
22755
+ # resp.last_refresh_time #=> Time
22756
+ # resp.instance_usage_set #=> Array
22757
+ # resp.instance_usage_set[0].account_id #=> String
22758
+ # resp.instance_usage_set[0].in_use_instance_count #=> Integer
22759
+ # resp.instance_usage_set[0].resources_usage #=> Array
22760
+ # resp.instance_usage_set[0].resources_usage[0].resource_type #=> String, one of "HyperPodClusters", "Endpoints"
22761
+ # resp.instance_usage_set[0].resources_usage[0].in_use_instance_count #=> Integer
22762
+ # resp.next_token #=> String
22763
+ #
22764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetCapacityReservationUsage AWS API Documentation
22765
+ #
22766
+ # @overload get_capacity_reservation_usage(params = {})
22767
+ # @param [Hash] params ({})
22768
+ def get_capacity_reservation_usage(params = {}, options = {})
22769
+ req = build_request(:get_capacity_reservation_usage, params)
22770
+ req.send_request(options)
22771
+ end
22772
+
22607
22773
  # Describes a fleet.
22608
22774
  #
22609
22775
  # @option params [required, String] :device_fleet_name
@@ -23908,6 +24074,69 @@ module Aws::SageMaker
23908
24074
  req.send_request(options)
23909
24075
  end
23910
24076
 
24077
+ # Lists the SageMaker Capacity Reservations in your account.
24078
+ #
24079
+ # An empty list is a valid response.
24080
+ #
24081
+ # @option params [Integer] :max_results
24082
+ # The maximum number of results to return in the response. If more
24083
+ # results are available, the response includes a `NextToken` value.
24084
+ #
24085
+ # @option params [String] :next_token
24086
+ # If the previous response was truncated, the response includes a
24087
+ # `NextToken` value. To retrieve the next set of results, use that token
24088
+ # in your next request.
24089
+ #
24090
+ # @option params [Array<Types::CapacityReservationFilter>] :filters
24091
+ # A filter that returns only the reservations that match it. You can
24092
+ # specify one filter. If you don't specify a filter, the response
24093
+ # includes all reservations in your account.
24094
+ #
24095
+ # @return [Types::ListCapacityReservationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
24096
+ #
24097
+ # * {Types::ListCapacityReservationsResponse#capacity_reservation_summaries #capacity_reservation_summaries} => Array&lt;Types::CapacityReservationSummary&gt;
24098
+ # * {Types::ListCapacityReservationsResponse#next_token #next_token} => String
24099
+ #
24100
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
24101
+ #
24102
+ # @example Request syntax with placeholder values
24103
+ #
24104
+ # resp = client.list_capacity_reservations({
24105
+ # max_results: 1,
24106
+ # next_token: "NextToken",
24107
+ # filters: [
24108
+ # {
24109
+ # name: "Status", # required, accepts Status
24110
+ # values: ["CapacityReservationFilterValue"], # required
24111
+ # },
24112
+ # ],
24113
+ # })
24114
+ #
24115
+ # @example Response structure
24116
+ #
24117
+ # resp.capacity_reservation_summaries #=> Array
24118
+ # resp.capacity_reservation_summaries[0].sm_capacity_reservation_arn #=> String
24119
+ # resp.capacity_reservation_summaries[0].sm_capacity_reservation_id #=> String
24120
+ # resp.capacity_reservation_summaries[0].owner #=> String
24121
+ # resp.capacity_reservation_summaries[0].status #=> String, one of "Scheduled", "Active", "Expired"
24122
+ # resp.capacity_reservation_summaries[0].instance_type #=> String
24123
+ # resp.capacity_reservation_summaries[0].availability_zone #=> String
24124
+ # resp.capacity_reservation_summaries[0].availability_zone_id #=> String
24125
+ # resp.capacity_reservation_summaries[0].total_instance_count #=> Integer
24126
+ # resp.capacity_reservation_summaries[0].start_time #=> Time
24127
+ # resp.capacity_reservation_summaries[0].end_time #=> Time
24128
+ # resp.capacity_reservation_summaries[0].creation_time #=> Time
24129
+ # resp.next_token #=> String
24130
+ #
24131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCapacityReservations AWS API Documentation
24132
+ #
24133
+ # @overload list_capacity_reservations(params = {})
24134
+ # @param [Hash] params ({})
24135
+ def list_capacity_reservations(params = {}, options = {})
24136
+ req = build_request(:list_capacity_reservations, params)
24137
+ req.send_request(options)
24138
+ end
24139
+
23911
24140
  # Retrieves a list of event summaries for a specified HyperPod cluster.
23912
24141
  # The operation supports filtering, sorting, and pagination of results.
23913
24142
  # This functionality is only supported when the `NodeProvisioningMode`
@@ -36944,7 +37173,7 @@ module Aws::SageMaker
36944
37173
  tracer: tracer
36945
37174
  )
36946
37175
  context[:gem_name] = 'aws-sdk-sagemaker'
36947
- context[:gem_version] = '1.418.0'
37176
+ context[:gem_version] = '1.419.0'
36948
37177
  Seahorse::Client::Request.new(handlers, context)
36949
37178
  end
36950
37179
 
@@ -363,7 +363,32 @@ module Aws::SageMaker
363
363
  CandidateSteps = Shapes::ListShape.new(name: 'CandidateSteps')
364
364
  CanvasAppSettings = Shapes::StructureShape.new(name: 'CanvasAppSettings')
365
365
  CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
366
+ CapacityReservationArn = Shapes::StringShape.new(name: 'CapacityReservationArn')
367
+ CapacityReservationAvailabilityZoneId = Shapes::StringShape.new(name: 'CapacityReservationAvailabilityZoneId')
368
+ CapacityReservationDetail = Shapes::StructureShape.new(name: 'CapacityReservationDetail')
369
+ CapacityReservationEndpointSharing = Shapes::StringShape.new(name: 'CapacityReservationEndpointSharing')
370
+ CapacityReservationEndpointsAssociation = Shapes::StructureShape.new(name: 'CapacityReservationEndpointsAssociation')
371
+ CapacityReservationFilter = Shapes::StructureShape.new(name: 'CapacityReservationFilter')
372
+ CapacityReservationFilterName = Shapes::StringShape.new(name: 'CapacityReservationFilterName')
373
+ CapacityReservationFilterValue = Shapes::StringShape.new(name: 'CapacityReservationFilterValue')
374
+ CapacityReservationFilterValues = Shapes::ListShape.new(name: 'CapacityReservationFilterValues')
375
+ CapacityReservationFilters = Shapes::ListShape.new(name: 'CapacityReservationFilters')
376
+ CapacityReservationHyperPodClustersAssociation = Shapes::StructureShape.new(name: 'CapacityReservationHyperPodClustersAssociation')
377
+ CapacityReservationInstanceType = Shapes::StringShape.new(name: 'CapacityReservationInstanceType')
378
+ CapacityReservationInstanceUsage = Shapes::StructureShape.new(name: 'CapacityReservationInstanceUsage')
379
+ CapacityReservationInstanceUsageSet = Shapes::ListShape.new(name: 'CapacityReservationInstanceUsageSet')
380
+ CapacityReservationMatchCriteria = Shapes::StringShape.new(name: 'CapacityReservationMatchCriteria')
381
+ CapacityReservationMlReservationId = Shapes::StringShape.new(name: 'CapacityReservationMlReservationId')
382
+ CapacityReservationOptInStatus = Shapes::StringShape.new(name: 'CapacityReservationOptInStatus')
366
383
  CapacityReservationPreference = Shapes::StringShape.new(name: 'CapacityReservationPreference')
384
+ CapacityReservationResourceAssociation = Shapes::UnionShape.new(name: 'CapacityReservationResourceAssociation')
385
+ CapacityReservationResourceAssociations = Shapes::ListShape.new(name: 'CapacityReservationResourceAssociations')
386
+ CapacityReservationResourceType = Shapes::StringShape.new(name: 'CapacityReservationResourceType')
387
+ CapacityReservationResourceUsage = Shapes::StructureShape.new(name: 'CapacityReservationResourceUsage')
388
+ CapacityReservationResourceUsageSet = Shapes::ListShape.new(name: 'CapacityReservationResourceUsageSet')
389
+ CapacityReservationStatus = Shapes::StringShape.new(name: 'CapacityReservationStatus')
390
+ CapacityReservationSummaries = Shapes::ListShape.new(name: 'CapacityReservationSummaries')
391
+ CapacityReservationSummary = Shapes::StructureShape.new(name: 'CapacityReservationSummary')
367
392
  CapacityReservationType = Shapes::StringShape.new(name: 'CapacityReservationType')
368
393
  CapacitySize = Shapes::StructureShape.new(name: 'CapacitySize')
369
394
  CapacitySizeConfig = Shapes::StructureShape.new(name: 'CapacitySizeConfig')
@@ -987,6 +1012,8 @@ module Aws::SageMaker
987
1012
  DescribeAutoMLJobResponse = Shapes::StructureShape.new(name: 'DescribeAutoMLJobResponse')
988
1013
  DescribeAutoMLJobV2Request = Shapes::StructureShape.new(name: 'DescribeAutoMLJobV2Request')
989
1014
  DescribeAutoMLJobV2Response = Shapes::StructureShape.new(name: 'DescribeAutoMLJobV2Response')
1015
+ DescribeCapacityReservationRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationRequest')
1016
+ DescribeCapacityReservationResponse = Shapes::StructureShape.new(name: 'DescribeCapacityReservationResponse')
990
1017
  DescribeClusterEventRequest = Shapes::StructureShape.new(name: 'DescribeClusterEventRequest')
991
1018
  DescribeClusterEventResponse = Shapes::StructureShape.new(name: 'DescribeClusterEventResponse')
992
1019
  DescribeClusterExtensionRequest = Shapes::StructureShape.new(name: 'DescribeClusterExtensionRequest')
@@ -1103,6 +1130,8 @@ module Aws::SageMaker
1103
1130
  DescribeProjectOutput = Shapes::StructureShape.new(name: 'DescribeProjectOutput')
1104
1131
  DescribeReservedCapacityRequest = Shapes::StructureShape.new(name: 'DescribeReservedCapacityRequest')
1105
1132
  DescribeReservedCapacityResponse = Shapes::StructureShape.new(name: 'DescribeReservedCapacityResponse')
1133
+ DescribeResourceAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeResourceAssociationsRequest')
1134
+ DescribeResourceAssociationsResponse = Shapes::StructureShape.new(name: 'DescribeResourceAssociationsResponse')
1106
1135
  DescribeSpaceRequest = Shapes::StructureShape.new(name: 'DescribeSpaceRequest')
1107
1136
  DescribeSpaceResponse = Shapes::StructureShape.new(name: 'DescribeSpaceResponse')
1108
1137
  DescribeStudioLifecycleConfigRequest = Shapes::StructureShape.new(name: 'DescribeStudioLifecycleConfigRequest')
@@ -1407,6 +1436,8 @@ module Aws::SageMaker
1407
1436
  FrameworkVersion = Shapes::StringShape.new(name: 'FrameworkVersion')
1408
1437
  GenerateCandidateDefinitionsOnly = Shapes::BooleanShape.new(name: 'GenerateCandidateDefinitionsOnly')
1409
1438
  GenerativeAiSettings = Shapes::StructureShape.new(name: 'GenerativeAiSettings')
1439
+ GetCapacityReservationUsageRequest = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageRequest')
1440
+ GetCapacityReservationUsageResponse = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageResponse')
1410
1441
  GetDeviceFleetReportRequest = Shapes::StructureShape.new(name: 'GetDeviceFleetReportRequest')
1411
1442
  GetDeviceFleetReportResponse = Shapes::StructureShape.new(name: 'GetDeviceFleetReportResponse')
1412
1443
  GetEndpointPolicyRequest = Shapes::StructureShape.new(name: 'GetEndpointPolicyRequest')
@@ -1817,6 +1848,8 @@ module Aws::SageMaker
1817
1848
  ListAutoMLJobsResponse = Shapes::StructureShape.new(name: 'ListAutoMLJobsResponse')
1818
1849
  ListCandidatesForAutoMLJobRequest = Shapes::StructureShape.new(name: 'ListCandidatesForAutoMLJobRequest')
1819
1850
  ListCandidatesForAutoMLJobResponse = Shapes::StructureShape.new(name: 'ListCandidatesForAutoMLJobResponse')
1851
+ ListCapacityReservationsRequest = Shapes::StructureShape.new(name: 'ListCapacityReservationsRequest')
1852
+ ListCapacityReservationsResponse = Shapes::StructureShape.new(name: 'ListCapacityReservationsResponse')
1820
1853
  ListClusterEventsRequest = Shapes::StructureShape.new(name: 'ListClusterEventsRequest')
1821
1854
  ListClusterEventsResponse = Shapes::StructureShape.new(name: 'ListClusterEventsResponse')
1822
1855
  ListClusterExtensionVersionsRequest = Shapes::StructureShape.new(name: 'ListClusterExtensionVersionsRequest')
@@ -2697,6 +2730,7 @@ module Aws::SageMaker
2697
2730
  S3SchemaUri = Shapes::StringShape.new(name: 'S3SchemaUri')
2698
2731
  S3StorageConfig = Shapes::StructureShape.new(name: 'S3StorageConfig')
2699
2732
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
2733
+ SageMakerCapacityReservationId = Shapes::StringShape.new(name: 'SageMakerCapacityReservationId')
2700
2734
  SageMakerImageName = Shapes::StringShape.new(name: 'SageMakerImageName')
2701
2735
  SageMakerImageVersionAlias = Shapes::StringShape.new(name: 'SageMakerImageVersionAlias')
2702
2736
  SageMakerImageVersionAliases = Shapes::ListShape.new(name: 'SageMakerImageVersionAliases')
@@ -4184,6 +4218,79 @@ module Aws::SageMaker
4184
4218
  CapacityReservation.add_member(:type, Shapes::ShapeRef.new(shape: CapacityReservationType, location_name: "Type"))
4185
4219
  CapacityReservation.struct_class = Types::CapacityReservation
4186
4220
 
4221
+ CapacityReservationDetail.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
4222
+ CapacityReservationDetail.add_member(:sm_capacity_reservation_id, Shapes::ShapeRef.new(shape: SageMakerCapacityReservationId, required: true, location_name: "SMCapacityReservationId"))
4223
+ CapacityReservationDetail.add_member(:owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Owner"))
4224
+ CapacityReservationDetail.add_member(:status, Shapes::ShapeRef.new(shape: CapacityReservationStatus, required: true, location_name: "Status"))
4225
+ CapacityReservationDetail.add_member(:instance_type, Shapes::ShapeRef.new(shape: CapacityReservationInstanceType, required: true, location_name: "InstanceType"))
4226
+ CapacityReservationDetail.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
4227
+ CapacityReservationDetail.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: CapacityReservationAvailabilityZoneId, required: true, location_name: "AvailabilityZoneId"))
4228
+ CapacityReservationDetail.add_member(:total_instance_count, Shapes::ShapeRef.new(shape: TotalInstanceCount, required: true, location_name: "TotalInstanceCount"))
4229
+ CapacityReservationDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
4230
+ CapacityReservationDetail.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
4231
+ CapacityReservationDetail.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
4232
+ CapacityReservationDetail.struct_class = Types::CapacityReservationDetail
4233
+
4234
+ CapacityReservationEndpointsAssociation.add_member(:ml_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationMlReservationId, location_name: "MlReservationId"))
4235
+ CapacityReservationEndpointsAssociation.add_member(:status, Shapes::ShapeRef.new(shape: CapacityReservationOptInStatus, required: true, location_name: "Status"))
4236
+ CapacityReservationEndpointsAssociation.add_member(:match_criteria, Shapes::ShapeRef.new(shape: CapacityReservationMatchCriteria, location_name: "MatchCriteria"))
4237
+ CapacityReservationEndpointsAssociation.add_member(:endpoint_sharing, Shapes::ShapeRef.new(shape: CapacityReservationEndpointSharing, location_name: "EndpointSharing"))
4238
+ CapacityReservationEndpointsAssociation.add_member(:ml_reservation_arn, Shapes::ShapeRef.new(shape: MlReservationArn, location_name: "MlReservationArn"))
4239
+ CapacityReservationEndpointsAssociation.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
4240
+ CapacityReservationEndpointsAssociation.add_member(:associated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "AssociatedTime"))
4241
+ CapacityReservationEndpointsAssociation.struct_class = Types::CapacityReservationEndpointsAssociation
4242
+
4243
+ CapacityReservationFilter.add_member(:name, Shapes::ShapeRef.new(shape: CapacityReservationFilterName, required: true, location_name: "Name"))
4244
+ CapacityReservationFilter.add_member(:values, Shapes::ShapeRef.new(shape: CapacityReservationFilterValues, required: true, location_name: "Values"))
4245
+ CapacityReservationFilter.struct_class = Types::CapacityReservationFilter
4246
+
4247
+ CapacityReservationFilterValues.member = Shapes::ShapeRef.new(shape: CapacityReservationFilterValue)
4248
+
4249
+ CapacityReservationFilters.member = Shapes::ShapeRef.new(shape: CapacityReservationFilter)
4250
+
4251
+ CapacityReservationHyperPodClustersAssociation.add_member(:status, Shapes::ShapeRef.new(shape: CapacityReservationOptInStatus, required: true, location_name: "Status"))
4252
+ CapacityReservationHyperPodClustersAssociation.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
4253
+ CapacityReservationHyperPodClustersAssociation.add_member(:associated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "AssociatedTime"))
4254
+ CapacityReservationHyperPodClustersAssociation.struct_class = Types::CapacityReservationHyperPodClustersAssociation
4255
+
4256
+ CapacityReservationInstanceUsage.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
4257
+ CapacityReservationInstanceUsage.add_member(:in_use_instance_count, Shapes::ShapeRef.new(shape: InUseInstanceCount, required: true, location_name: "InUseInstanceCount"))
4258
+ CapacityReservationInstanceUsage.add_member(:resources_usage, Shapes::ShapeRef.new(shape: CapacityReservationResourceUsageSet, required: true, location_name: "ResourcesUsage"))
4259
+ CapacityReservationInstanceUsage.struct_class = Types::CapacityReservationInstanceUsage
4260
+
4261
+ CapacityReservationInstanceUsageSet.member = Shapes::ShapeRef.new(shape: CapacityReservationInstanceUsage)
4262
+
4263
+ CapacityReservationResourceAssociation.add_member(:hyper_pod_clusters, Shapes::ShapeRef.new(shape: CapacityReservationHyperPodClustersAssociation, location_name: "HyperPodClusters"))
4264
+ CapacityReservationResourceAssociation.add_member(:endpoints, Shapes::ShapeRef.new(shape: CapacityReservationEndpointsAssociation, location_name: "Endpoints"))
4265
+ CapacityReservationResourceAssociation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
4266
+ CapacityReservationResourceAssociation.add_member_subclass(:hyper_pod_clusters, Types::CapacityReservationResourceAssociation::HyperPodClusters)
4267
+ CapacityReservationResourceAssociation.add_member_subclass(:endpoints, Types::CapacityReservationResourceAssociation::Endpoints)
4268
+ CapacityReservationResourceAssociation.add_member_subclass(:unknown, Types::CapacityReservationResourceAssociation::Unknown)
4269
+ CapacityReservationResourceAssociation.struct_class = Types::CapacityReservationResourceAssociation
4270
+
4271
+ CapacityReservationResourceAssociations.member = Shapes::ShapeRef.new(shape: CapacityReservationResourceAssociation)
4272
+
4273
+ CapacityReservationResourceUsage.add_member(:resource_type, Shapes::ShapeRef.new(shape: CapacityReservationResourceType, required: true, location_name: "ResourceType"))
4274
+ CapacityReservationResourceUsage.add_member(:in_use_instance_count, Shapes::ShapeRef.new(shape: InUseInstanceCount, required: true, location_name: "InUseInstanceCount"))
4275
+ CapacityReservationResourceUsage.struct_class = Types::CapacityReservationResourceUsage
4276
+
4277
+ CapacityReservationResourceUsageSet.member = Shapes::ShapeRef.new(shape: CapacityReservationResourceUsage)
4278
+
4279
+ CapacityReservationSummaries.member = Shapes::ShapeRef.new(shape: CapacityReservationSummary)
4280
+
4281
+ CapacityReservationSummary.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
4282
+ CapacityReservationSummary.add_member(:sm_capacity_reservation_id, Shapes::ShapeRef.new(shape: SageMakerCapacityReservationId, required: true, location_name: "SMCapacityReservationId"))
4283
+ CapacityReservationSummary.add_member(:owner, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "Owner"))
4284
+ CapacityReservationSummary.add_member(:status, Shapes::ShapeRef.new(shape: CapacityReservationStatus, required: true, location_name: "Status"))
4285
+ CapacityReservationSummary.add_member(:instance_type, Shapes::ShapeRef.new(shape: CapacityReservationInstanceType, required: true, location_name: "InstanceType"))
4286
+ CapacityReservationSummary.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZone"))
4287
+ CapacityReservationSummary.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: CapacityReservationAvailabilityZoneId, required: true, location_name: "AvailabilityZoneId"))
4288
+ CapacityReservationSummary.add_member(:total_instance_count, Shapes::ShapeRef.new(shape: TotalInstanceCount, required: true, location_name: "TotalInstanceCount"))
4289
+ CapacityReservationSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartTime"))
4290
+ CapacityReservationSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
4291
+ CapacityReservationSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
4292
+ CapacityReservationSummary.struct_class = Types::CapacityReservationSummary
4293
+
4187
4294
  CapacitySize.add_member(:type, Shapes::ShapeRef.new(shape: CapacitySizeType, required: true, location_name: "Type"))
4188
4295
  CapacitySize.add_member(:value, Shapes::ShapeRef.new(shape: CapacitySizeValue, required: true, location_name: "Value"))
4189
4296
  CapacitySize.struct_class = Types::CapacitySize
@@ -6594,6 +6701,12 @@ module Aws::SageMaker
6594
6701
  DescribeAutoMLJobV2Response.add_member(:auto_ml_compute_config, Shapes::ShapeRef.new(shape: AutoMLComputeConfig, location_name: "AutoMLComputeConfig"))
6595
6702
  DescribeAutoMLJobV2Response.struct_class = Types::DescribeAutoMLJobV2Response
6596
6703
 
6704
+ DescribeCapacityReservationRequest.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
6705
+ DescribeCapacityReservationRequest.struct_class = Types::DescribeCapacityReservationRequest
6706
+
6707
+ DescribeCapacityReservationResponse.add_member(:capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservationDetail, required: true, location_name: "CapacityReservation"))
6708
+ DescribeCapacityReservationResponse.struct_class = Types::DescribeCapacityReservationResponse
6709
+
6597
6710
  DescribeClusterEventRequest.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "EventId"))
6598
6711
  DescribeClusterEventRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterNameOrArn, required: true, location_name: "ClusterName"))
6599
6712
  DescribeClusterEventRequest.struct_class = Types::DescribeClusterEventRequest
@@ -7636,6 +7749,17 @@ module Aws::SageMaker
7636
7749
  DescribeReservedCapacityResponse.add_member(:ultra_server_summary, Shapes::ShapeRef.new(shape: UltraServerSummary, location_name: "UltraServerSummary"))
7637
7750
  DescribeReservedCapacityResponse.struct_class = Types::DescribeReservedCapacityResponse
7638
7751
 
7752
+ DescribeResourceAssociationsRequest.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
7753
+ DescribeResourceAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
7754
+ DescribeResourceAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
7755
+ DescribeResourceAssociationsRequest.struct_class = Types::DescribeResourceAssociationsRequest
7756
+
7757
+ DescribeResourceAssociationsResponse.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
7758
+ DescribeResourceAssociationsResponse.add_member(:sm_capacity_reservation_id, Shapes::ShapeRef.new(shape: SageMakerCapacityReservationId, required: true, location_name: "SMCapacityReservationId"))
7759
+ DescribeResourceAssociationsResponse.add_member(:resource_associations, Shapes::ShapeRef.new(shape: CapacityReservationResourceAssociations, required: true, location_name: "ResourceAssociations"))
7760
+ DescribeResourceAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
7761
+ DescribeResourceAssociationsResponse.struct_class = Types::DescribeResourceAssociationsResponse
7762
+
7639
7763
  DescribeSpaceRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
7640
7764
  DescribeSpaceRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "SpaceName"))
7641
7765
  DescribeSpaceRequest.struct_class = Types::DescribeSpaceRequest
@@ -8512,6 +8636,19 @@ module Aws::SageMaker
8512
8636
  GenerativeAiSettings.add_member(:amazon_bedrock_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "AmazonBedrockRoleArn"))
8513
8637
  GenerativeAiSettings.struct_class = Types::GenerativeAiSettings
8514
8638
 
8639
+ GetCapacityReservationUsageRequest.add_member(:sm_capacity_reservation_arn, Shapes::ShapeRef.new(shape: CapacityReservationArn, required: true, location_name: "SMCapacityReservationArn"))
8640
+ GetCapacityReservationUsageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
8641
+ GetCapacityReservationUsageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
8642
+ GetCapacityReservationUsageRequest.struct_class = Types::GetCapacityReservationUsageRequest
8643
+
8644
+ GetCapacityReservationUsageResponse.add_member(:sm_capacity_reservation_id, Shapes::ShapeRef.new(shape: SageMakerCapacityReservationId, required: true, location_name: "SMCapacityReservationId"))
8645
+ GetCapacityReservationUsageResponse.add_member(:total_instance_count, Shapes::ShapeRef.new(shape: TotalInstanceCount, required: true, location_name: "TotalInstanceCount"))
8646
+ GetCapacityReservationUsageResponse.add_member(:available_instance_count, Shapes::ShapeRef.new(shape: AvailableInstanceCount, required: true, location_name: "AvailableInstanceCount"))
8647
+ GetCapacityReservationUsageResponse.add_member(:last_refresh_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastRefreshTime"))
8648
+ GetCapacityReservationUsageResponse.add_member(:instance_usage_set, Shapes::ShapeRef.new(shape: CapacityReservationInstanceUsageSet, required: true, location_name: "InstanceUsageSet"))
8649
+ GetCapacityReservationUsageResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
8650
+ GetCapacityReservationUsageResponse.struct_class = Types::GetCapacityReservationUsageResponse
8651
+
8515
8652
  GetDeviceFleetReportRequest.add_member(:device_fleet_name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "DeviceFleetName"))
8516
8653
  GetDeviceFleetReportRequest.struct_class = Types::GetDeviceFleetReportRequest
8517
8654
 
@@ -9635,6 +9772,15 @@ module Aws::SageMaker
9635
9772
  ListCandidatesForAutoMLJobResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
9636
9773
  ListCandidatesForAutoMLJobResponse.struct_class = Types::ListCandidatesForAutoMLJobResponse
9637
9774
 
9775
+ ListCapacityReservationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
9776
+ ListCapacityReservationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
9777
+ ListCapacityReservationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: CapacityReservationFilters, location_name: "Filters"))
9778
+ ListCapacityReservationsRequest.struct_class = Types::ListCapacityReservationsRequest
9779
+
9780
+ ListCapacityReservationsResponse.add_member(:capacity_reservation_summaries, Shapes::ShapeRef.new(shape: CapacityReservationSummaries, required: true, location_name: "CapacityReservationSummaries"))
9781
+ ListCapacityReservationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
9782
+ ListCapacityReservationsResponse.struct_class = Types::ListCapacityReservationsResponse
9783
+
9638
9784
  ListClusterEventsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterNameOrArn, required: true, location_name: "ClusterName"))
9639
9785
  ListClusterEventsRequest.add_member(:instance_group_name, Shapes::ShapeRef.new(shape: ClusterInstanceGroupName, location_name: "InstanceGroupName"))
9640
9786
  ListClusterEventsRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: ClusterNodeId, location_name: "NodeId"))
@@ -15897,6 +16043,15 @@ module Aws::SageMaker
15897
16043
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
15898
16044
  end)
15899
16045
 
16046
+ api.add_operation(:describe_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
16047
+ o.name = "DescribeCapacityReservation"
16048
+ o.http_method = "POST"
16049
+ o.http_request_uri = "/"
16050
+ o.input = Shapes::ShapeRef.new(shape: DescribeCapacityReservationRequest)
16051
+ o.output = Shapes::ShapeRef.new(shape: DescribeCapacityReservationResponse)
16052
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
16053
+ end)
16054
+
15900
16055
  api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
15901
16056
  o.name = "DescribeCluster"
15902
16057
  o.http_method = "POST"
@@ -16409,6 +16564,21 @@ module Aws::SageMaker
16409
16564
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
16410
16565
  end)
16411
16566
 
16567
+ api.add_operation(:describe_resource_associations, Seahorse::Model::Operation.new.tap do |o|
16568
+ o.name = "DescribeResourceAssociations"
16569
+ o.http_method = "POST"
16570
+ o.http_request_uri = "/"
16571
+ o.input = Shapes::ShapeRef.new(shape: DescribeResourceAssociationsRequest)
16572
+ o.output = Shapes::ShapeRef.new(shape: DescribeResourceAssociationsResponse)
16573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
16574
+ o[:pager] = Aws::Pager.new(
16575
+ limit_key: "max_results",
16576
+ tokens: {
16577
+ "next_token" => "next_token"
16578
+ }
16579
+ )
16580
+ end)
16581
+
16412
16582
  api.add_operation(:describe_space, Seahorse::Model::Operation.new.tap do |o|
16413
16583
  o.name = "DescribeSpace"
16414
16584
  o.http_method = "POST"
@@ -16573,6 +16743,21 @@ module Aws::SageMaker
16573
16743
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
16574
16744
  end)
16575
16745
 
16746
+ api.add_operation(:get_capacity_reservation_usage, Seahorse::Model::Operation.new.tap do |o|
16747
+ o.name = "GetCapacityReservationUsage"
16748
+ o.http_method = "POST"
16749
+ o.http_request_uri = "/"
16750
+ o.input = Shapes::ShapeRef.new(shape: GetCapacityReservationUsageRequest)
16751
+ o.output = Shapes::ShapeRef.new(shape: GetCapacityReservationUsageResponse)
16752
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
16753
+ o[:pager] = Aws::Pager.new(
16754
+ limit_key: "max_results",
16755
+ tokens: {
16756
+ "next_token" => "next_token"
16757
+ }
16758
+ )
16759
+ end)
16760
+
16576
16761
  api.add_operation(:get_device_fleet_report, Seahorse::Model::Operation.new.tap do |o|
16577
16762
  o.name = "GetDeviceFleetReport"
16578
16763
  o.http_method = "POST"
@@ -16816,6 +17001,20 @@ module Aws::SageMaker
16816
17001
  )
16817
17002
  end)
16818
17003
 
17004
+ api.add_operation(:list_capacity_reservations, Seahorse::Model::Operation.new.tap do |o|
17005
+ o.name = "ListCapacityReservations"
17006
+ o.http_method = "POST"
17007
+ o.http_request_uri = "/"
17008
+ o.input = Shapes::ShapeRef.new(shape: ListCapacityReservationsRequest)
17009
+ o.output = Shapes::ShapeRef.new(shape: ListCapacityReservationsResponse)
17010
+ o[:pager] = Aws::Pager.new(
17011
+ limit_key: "max_results",
17012
+ tokens: {
17013
+ "next_token" => "next_token"
17014
+ }
17015
+ )
17016
+ end)
17017
+
16819
17018
  api.add_operation(:list_cluster_events, Seahorse::Model::Operation.new.tap do |o|
16820
17019
  o.name = "ListClusterEvents"
16821
17020
  o.http_method = "POST"