aws-sdk-ec2 1.610.0 → 1.611.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: 2097d6aa50909ad9c0a8639e64abafea181df5aac18979c9409c5dcfb7d01d1e
4
- data.tar.gz: df7cc3a9018d120048ab213aab3add8b51089fc34c9f982e2e54d426dd933c20
3
+ metadata.gz: fc6c29c8bbbe97de20749b35ffc51720aecb6b6766d361d65e88db1a1a6116d2
4
+ data.tar.gz: f6681d6ad1c59c88cd9a759fe37bb42129d71b73525e260ebee70c8b214e9750
5
5
  SHA512:
6
- metadata.gz: a5ebbf782e4311054b3c20edfd14296818a40caeeef1446e7da3c495a1cee4066a80ccc642303418e2fd82bcc1499a9daa21728aca289e54af3ef23a8aa9cbb2
7
- data.tar.gz: 308b3fd20d75feccd605227fc877fe1cc6d9372a38e3d25eee12328f024e49ed8a14345b527e53850cfa34709ee9bf0d763ef1f0dd05f65ce0a1821baaa0b096
6
+ metadata.gz: ad313a3f6185857c8edac438bf7b760e919c843f48bb46c8da10fc20562b24f5b5342fb66b7c21669bfd762dacc72d646400a2444b999a85ac5d320157e82290
7
+ data.tar.gz: 1070d8e376728e64d93e8c7b8c0be173c28dbc2013d363f5974d20cc7abf50eba08708fd3943b676366dfb777f50a3b4d22e757a699274e49bb4b6b2180081f0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.611.0 (2026-04-07)
5
+ ------------------
6
+
7
+ * Feature - EC2 Capacity Manager adds new dimensions for grouping and filtering capacity metrics, including tag-based dimensions and Account Name.
8
+
4
9
  1.610.0 (2026-03-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.610.0
1
+ 1.611.0
@@ -51421,13 +51421,13 @@ module Aws::EC2
51421
51421
  # start_time: Time.now, # required
51422
51422
  # end_time: Time.now, # required
51423
51423
  # period: 1, # required
51424
- # group_by: ["resource-region"], # accepts resource-region, availability-zone-id, account-id, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51424
+ # group_by: ["resource-region"], # accepts resource-region, availability-zone-id, account-id, account-name, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51425
51425
  # filter_by: [
51426
51426
  # {
51427
51427
  # dimension_condition: {
51428
- # dimension: "resource-region", # accepts resource-region, availability-zone-id, account-id, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51428
+ # dimension: "resource-region", # accepts resource-region, availability-zone-id, account-id, account-name, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51429
51429
  # comparison: "equals", # accepts equals, in
51430
- # values: ["String"],
51430
+ # values: ["ConditionValue"],
51431
51431
  # },
51432
51432
  # },
51433
51433
  # ],
@@ -51442,6 +51442,7 @@ module Aws::EC2
51442
51442
  # resp.metric_data_results[0].dimension.resource_region #=> String
51443
51443
  # resp.metric_data_results[0].dimension.availability_zone_id #=> String
51444
51444
  # resp.metric_data_results[0].dimension.account_id #=> String
51445
+ # resp.metric_data_results[0].dimension.account_name #=> String
51445
51446
  # resp.metric_data_results[0].dimension.instance_family #=> String
51446
51447
  # resp.metric_data_results[0].dimension.instance_type #=> String
51447
51448
  # resp.metric_data_results[0].dimension.instance_platform #=> String
@@ -51456,6 +51457,9 @@ module Aws::EC2
51456
51457
  # resp.metric_data_results[0].dimension.reservation_state #=> String, one of "active", "expired", "cancelled", "scheduled", "pending", "failed", "delayed", "unsupported", "payment-pending", "payment-failed", "retired"
51457
51458
  # resp.metric_data_results[0].dimension.reservation_instance_match_criteria #=> String
51458
51459
  # resp.metric_data_results[0].dimension.reservation_unused_financial_owner #=> String
51460
+ # resp.metric_data_results[0].dimension.tags #=> Array
51461
+ # resp.metric_data_results[0].dimension.tags[0].key #=> String
51462
+ # resp.metric_data_results[0].dimension.tags[0].value #=> String
51459
51463
  # resp.metric_data_results[0].timestamp #=> Time
51460
51464
  # resp.metric_data_results[0].metric_values #=> Array
51461
51465
  # resp.metric_data_results[0].metric_values[0].metric #=> String, one of "reservation-total-capacity-hrs-vcpu", "reservation-total-capacity-hrs-inst", "reservation-max-size-vcpu", "reservation-max-size-inst", "reservation-min-size-vcpu", "reservation-min-size-inst", "reservation-unused-total-capacity-hrs-vcpu", "reservation-unused-total-capacity-hrs-inst", "reservation-unused-total-estimated-cost", "reservation-max-unused-size-vcpu", "reservation-max-unused-size-inst", "reservation-min-unused-size-vcpu", "reservation-min-unused-size-inst", "reservation-max-utilization", "reservation-min-utilization", "reservation-avg-utilization-vcpu", "reservation-avg-utilization-inst", "reservation-total-count", "reservation-total-estimated-cost", "reservation-avg-future-size-vcpu", "reservation-avg-future-size-inst", "reservation-min-future-size-vcpu", "reservation-min-future-size-inst", "reservation-max-future-size-vcpu", "reservation-max-future-size-inst", "reservation-avg-committed-size-vcpu", "reservation-avg-committed-size-inst", "reservation-max-committed-size-vcpu", "reservation-max-committed-size-inst", "reservation-min-committed-size-vcpu", "reservation-min-committed-size-inst", "reserved-total-usage-hrs-vcpu", "reserved-total-usage-hrs-inst", "reserved-total-estimated-cost", "unreserved-total-usage-hrs-vcpu", "unreserved-total-usage-hrs-inst", "unreserved-total-estimated-cost", "spot-total-usage-hrs-vcpu", "spot-total-usage-hrs-inst", "spot-total-estimated-cost", "spot-avg-run-time-before-interruption-inst", "spot-max-run-time-before-interruption-inst", "spot-min-run-time-before-interruption-inst", "spot-total-interruptions-inst", "spot-total-interruptions-vcpu", "spot-total-count-inst", "spot-total-count-vcpu", "spot-interruption-rate-inst", "spot-interruption-rate-vcpu"
@@ -51523,13 +51527,13 @@ module Aws::EC2
51523
51527
  # @example Request syntax with placeholder values
51524
51528
  #
51525
51529
  # resp = client.get_capacity_manager_metric_dimensions({
51526
- # group_by: ["resource-region"], # required, accepts resource-region, availability-zone-id, account-id, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51530
+ # group_by: ["resource-region"], # required, accepts resource-region, availability-zone-id, account-id, account-name, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51527
51531
  # filter_by: [
51528
51532
  # {
51529
51533
  # dimension_condition: {
51530
- # dimension: "resource-region", # accepts resource-region, availability-zone-id, account-id, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51534
+ # dimension: "resource-region", # accepts resource-region, availability-zone-id, account-id, account-name, instance-family, instance-type, instance-platform, reservation-arn, reservation-id, reservation-type, reservation-create-timestamp, reservation-start-timestamp, reservation-end-timestamp, reservation-end-date-type, tenancy, reservation-state, reservation-instance-match-criteria, reservation-unused-financial-owner
51531
51535
  # comparison: "equals", # accepts equals, in
51532
- # values: ["String"],
51536
+ # values: ["ConditionValue"],
51533
51537
  # },
51534
51538
  # },
51535
51539
  # ],
@@ -51547,6 +51551,7 @@ module Aws::EC2
51547
51551
  # resp.metric_dimension_results[0].resource_region #=> String
51548
51552
  # resp.metric_dimension_results[0].availability_zone_id #=> String
51549
51553
  # resp.metric_dimension_results[0].account_id #=> String
51554
+ # resp.metric_dimension_results[0].account_name #=> String
51550
51555
  # resp.metric_dimension_results[0].instance_family #=> String
51551
51556
  # resp.metric_dimension_results[0].instance_type #=> String
51552
51557
  # resp.metric_dimension_results[0].instance_platform #=> String
@@ -51561,6 +51566,9 @@ module Aws::EC2
51561
51566
  # resp.metric_dimension_results[0].reservation_state #=> String, one of "active", "expired", "cancelled", "scheduled", "pending", "failed", "delayed", "unsupported", "payment-pending", "payment-failed", "retired"
51562
51567
  # resp.metric_dimension_results[0].reservation_instance_match_criteria #=> String
51563
51568
  # resp.metric_dimension_results[0].reservation_unused_financial_owner #=> String
51569
+ # resp.metric_dimension_results[0].tags #=> Array
51570
+ # resp.metric_dimension_results[0].tags[0].key #=> String
51571
+ # resp.metric_dimension_results[0].tags[0].value #=> String
51564
51572
  # resp.next_token #=> String
51565
51573
  #
51566
51574
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMetricDimensions AWS API Documentation
@@ -51572,6 +51580,60 @@ module Aws::EC2
51572
51580
  req.send_request(options)
51573
51581
  end
51574
51582
 
51583
+ # Retrieves the tag keys that are currently being monitored by EC2
51584
+ # Capacity Manager. Monitored tag keys are included as dimensions in
51585
+ # capacity metric data, enabling you to group and filter metrics by tag
51586
+ # values.
51587
+ #
51588
+ # @option params [Integer] :max_results
51589
+ # The maximum number of results to return in a single call. To retrieve
51590
+ # the remaining results, make another call with the returned `NextToken`
51591
+ # value. If not specified, up to 1000 results are returned.
51592
+ #
51593
+ # @option params [String] :next_token
51594
+ # The token for the next page of results. Use the value returned from a
51595
+ # previous call to retrieve additional results.
51596
+ #
51597
+ # @option params [Boolean] :dry_run
51598
+ # Checks whether you have the required permissions for the action,
51599
+ # without actually making the request, and provides an error response.
51600
+ # If you have the required permissions, the error response is
51601
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
51602
+ #
51603
+ # @return [Types::GetCapacityManagerMonitoredTagKeysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
51604
+ #
51605
+ # * {Types::GetCapacityManagerMonitoredTagKeysResult#capacity_manager_tag_keys #capacity_manager_tag_keys} => Array<Types::CapacityManagerMonitoredTagKey>
51606
+ # * {Types::GetCapacityManagerMonitoredTagKeysResult#next_token #next_token} => String
51607
+ #
51608
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
51609
+ #
51610
+ # @example Request syntax with placeholder values
51611
+ #
51612
+ # resp = client.get_capacity_manager_monitored_tag_keys({
51613
+ # max_results: 1,
51614
+ # next_token: "String",
51615
+ # dry_run: false,
51616
+ # })
51617
+ #
51618
+ # @example Response structure
51619
+ #
51620
+ # resp.capacity_manager_tag_keys #=> Array
51621
+ # resp.capacity_manager_tag_keys[0].tag_key #=> String
51622
+ # resp.capacity_manager_tag_keys[0].status #=> String, one of "activating", "activated", "deactivating", "suspended"
51623
+ # resp.capacity_manager_tag_keys[0].status_message #=> String
51624
+ # resp.capacity_manager_tag_keys[0].capacity_manager_provided #=> Boolean
51625
+ # resp.capacity_manager_tag_keys[0].earliest_datapoint_timestamp #=> Time
51626
+ # resp.next_token #=> String
51627
+ #
51628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMonitoredTagKeys AWS API Documentation
51629
+ #
51630
+ # @overload get_capacity_manager_monitored_tag_keys(params = {})
51631
+ # @param [Hash] params ({})
51632
+ def get_capacity_manager_monitored_tag_keys(params = {}, options = {})
51633
+ req = build_request(:get_capacity_manager_monitored_tag_keys, params)
51634
+ req.send_request(options)
51635
+ end
51636
+
51575
51637
  # Gets usage information about a Capacity Reservation. If the Capacity
51576
51638
  # Reservation is shared, it shows usage information for the Capacity
51577
51639
  # Reservation owner and each Amazon Web Services account that is
@@ -72676,6 +72738,62 @@ module Aws::EC2
72676
72738
  req.send_request(options)
72677
72739
  end
72678
72740
 
72741
+ # Activates or deactivates tag keys for monitoring by EC2 Capacity
72742
+ # Manager. Activated tag keys are included as dimensions in capacity
72743
+ # metric data, enabling you to group and filter metrics by tag values.
72744
+ #
72745
+ # @option params [Array<String>] :activate_tag_keys
72746
+ # The tag keys to activate for monitoring. Once activated, these tag
72747
+ # keys will be included as dimensions in capacity metric data.
72748
+ #
72749
+ # @option params [Array<String>] :deactivate_tag_keys
72750
+ # The tag keys to deactivate. Deactivated tag keys will no longer be
72751
+ # included as dimensions in capacity metric data.
72752
+ #
72753
+ # @option params [Boolean] :dry_run
72754
+ # Checks whether you have the required permissions for the action,
72755
+ # without actually making the request, and provides an error response.
72756
+ # If you have the required permissions, the error response is
72757
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
72758
+ #
72759
+ # @option params [String] :client_token
72760
+ # Unique, case-sensitive identifier that you provide to ensure the
72761
+ # idempotency of the request.
72762
+ #
72763
+ # **A suitable default value is auto-generated.** You should normally
72764
+ # not need to pass this option.**
72765
+ #
72766
+ # @return [Types::UpdateCapacityManagerMonitoredTagKeysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
72767
+ #
72768
+ # * {Types::UpdateCapacityManagerMonitoredTagKeysResult#capacity_manager_tag_keys #capacity_manager_tag_keys} => Array&lt;Types::CapacityManagerMonitoredTagKey&gt;
72769
+ #
72770
+ # @example Request syntax with placeholder values
72771
+ #
72772
+ # resp = client.update_capacity_manager_monitored_tag_keys({
72773
+ # activate_tag_keys: ["String"],
72774
+ # deactivate_tag_keys: ["String"],
72775
+ # dry_run: false,
72776
+ # client_token: "String",
72777
+ # })
72778
+ #
72779
+ # @example Response structure
72780
+ #
72781
+ # resp.capacity_manager_tag_keys #=> Array
72782
+ # resp.capacity_manager_tag_keys[0].tag_key #=> String
72783
+ # resp.capacity_manager_tag_keys[0].status #=> String, one of "activating", "activated", "deactivating", "suspended"
72784
+ # resp.capacity_manager_tag_keys[0].status_message #=> String
72785
+ # resp.capacity_manager_tag_keys[0].capacity_manager_provided #=> Boolean
72786
+ # resp.capacity_manager_tag_keys[0].earliest_datapoint_timestamp #=> Time
72787
+ #
72788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerMonitoredTagKeys AWS API Documentation
72789
+ #
72790
+ # @overload update_capacity_manager_monitored_tag_keys(params = {})
72791
+ # @param [Hash] params ({})
72792
+ def update_capacity_manager_monitored_tag_keys(params = {}, options = {})
72793
+ req = build_request(:update_capacity_manager_monitored_tag_keys, params)
72794
+ req.send_request(options)
72795
+ end
72796
+
72679
72797
  # Updates the Organizations access setting for EC2 Capacity Manager.
72680
72798
  # This controls whether Capacity Manager can aggregate data from all
72681
72799
  # accounts in your Amazon Web Services Organization or only from the
@@ -73094,7 +73212,7 @@ module Aws::EC2
73094
73212
  tracer: tracer
73095
73213
  )
73096
73214
  context[:gem_name] = 'aws-sdk-ec2'
73097
- context[:gem_version] = '1.610.0'
73215
+ context[:gem_version] = '1.611.0'
73098
73216
  Seahorse::Client::Request.new(handlers, context)
73099
73217
  end
73100
73218
 
@@ -342,7 +342,12 @@ module Aws::EC2
342
342
  CapacityManagerDataExportResponseSet = Shapes::ListShape.new(name: 'CapacityManagerDataExportResponseSet')
343
343
  CapacityManagerDataExportStatus = Shapes::StringShape.new(name: 'CapacityManagerDataExportStatus')
344
344
  CapacityManagerDimension = Shapes::StructureShape.new(name: 'CapacityManagerDimension')
345
+ CapacityManagerMonitoredTagKey = Shapes::StructureShape.new(name: 'CapacityManagerMonitoredTagKey')
346
+ CapacityManagerMonitoredTagKeyList = Shapes::ListShape.new(name: 'CapacityManagerMonitoredTagKeyList')
347
+ CapacityManagerMonitoredTagKeyStatus = Shapes::StringShape.new(name: 'CapacityManagerMonitoredTagKeyStatus')
345
348
  CapacityManagerStatus = Shapes::StringShape.new(name: 'CapacityManagerStatus')
349
+ CapacityManagerTagDimension = Shapes::StructureShape.new(name: 'CapacityManagerTagDimension')
350
+ CapacityManagerTagDimensionSet = Shapes::ListShape.new(name: 'CapacityManagerTagDimensionSet')
346
351
  CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
347
352
  CapacityReservationBillingRequest = Shapes::StructureShape.new(name: 'CapacityReservationBillingRequest')
348
353
  CapacityReservationBillingRequestSet = Shapes::ListShape.new(name: 'CapacityReservationBillingRequestSet')
@@ -446,6 +451,7 @@ module Aws::EC2
446
451
  Comparison = Shapes::StringShape.new(name: 'Comparison')
447
452
  ComponentAccount = Shapes::StringShape.new(name: 'ComponentAccount')
448
453
  ComponentRegion = Shapes::StringShape.new(name: 'ComponentRegion')
454
+ ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
449
455
  ConditionValueList = Shapes::ListShape.new(name: 'ConditionValueList')
450
456
  ConfirmProductInstanceRequest = Shapes::StructureShape.new(name: 'ConfirmProductInstanceRequest')
451
457
  ConfirmProductInstanceResult = Shapes::StructureShape.new(name: 'ConfirmProductInstanceResult')
@@ -1788,6 +1794,9 @@ module Aws::EC2
1788
1794
  GetCapacityManagerMetricDataResult = Shapes::StructureShape.new(name: 'GetCapacityManagerMetricDataResult')
1789
1795
  GetCapacityManagerMetricDimensionsRequest = Shapes::StructureShape.new(name: 'GetCapacityManagerMetricDimensionsRequest')
1790
1796
  GetCapacityManagerMetricDimensionsResult = Shapes::StructureShape.new(name: 'GetCapacityManagerMetricDimensionsResult')
1797
+ GetCapacityManagerMonitoredTagKeysRequest = Shapes::StructureShape.new(name: 'GetCapacityManagerMonitoredTagKeysRequest')
1798
+ GetCapacityManagerMonitoredTagKeysRequestMaxResults = Shapes::IntegerShape.new(name: 'GetCapacityManagerMonitoredTagKeysRequestMaxResults')
1799
+ GetCapacityManagerMonitoredTagKeysResult = Shapes::StructureShape.new(name: 'GetCapacityManagerMonitoredTagKeysResult')
1791
1800
  GetCapacityReservationUsageRequest = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageRequest')
1792
1801
  GetCapacityReservationUsageRequestMaxResults = Shapes::IntegerShape.new(name: 'GetCapacityReservationUsageRequestMaxResults')
1793
1802
  GetCapacityReservationUsageResult = Shapes::StructureShape.new(name: 'GetCapacityReservationUsageResult')
@@ -3758,6 +3767,8 @@ module Aws::EC2
3758
3767
  UnsuccessfulItemError = Shapes::StructureShape.new(name: 'UnsuccessfulItemError')
3759
3768
  UnsuccessfulItemList = Shapes::ListShape.new(name: 'UnsuccessfulItemList')
3760
3769
  UnsuccessfulItemSet = Shapes::ListShape.new(name: 'UnsuccessfulItemSet')
3770
+ UpdateCapacityManagerMonitoredTagKeysRequest = Shapes::StructureShape.new(name: 'UpdateCapacityManagerMonitoredTagKeysRequest')
3771
+ UpdateCapacityManagerMonitoredTagKeysResult = Shapes::StructureShape.new(name: 'UpdateCapacityManagerMonitoredTagKeysResult')
3761
3772
  UpdateCapacityManagerOrganizationsAccessRequest = Shapes::StructureShape.new(name: 'UpdateCapacityManagerOrganizationsAccessRequest')
3762
3773
  UpdateCapacityManagerOrganizationsAccessResult = Shapes::StructureShape.new(name: 'UpdateCapacityManagerOrganizationsAccessResult')
3763
3774
  UpdateInterruptibleCapacityReservationAllocationRequest = Shapes::StructureShape.new(name: 'UpdateInterruptibleCapacityReservationAllocationRequest')
@@ -5106,6 +5117,7 @@ module Aws::EC2
5106
5117
  CapacityManagerDimension.add_member(:resource_region, Shapes::ShapeRef.new(shape: String, location_name: "resourceRegion"))
5107
5118
  CapacityManagerDimension.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
5108
5119
  CapacityManagerDimension.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
5120
+ CapacityManagerDimension.add_member(:account_name, Shapes::ShapeRef.new(shape: String, location_name: "accountName"))
5109
5121
  CapacityManagerDimension.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "instanceFamily"))
5110
5122
  CapacityManagerDimension.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
5111
5123
  CapacityManagerDimension.add_member(:instance_platform, Shapes::ShapeRef.new(shape: String, location_name: "instancePlatform"))
@@ -5120,8 +5132,24 @@ module Aws::EC2
5120
5132
  CapacityManagerDimension.add_member(:reservation_state, Shapes::ShapeRef.new(shape: ReservationState, location_name: "reservationState"))
5121
5133
  CapacityManagerDimension.add_member(:reservation_instance_match_criteria, Shapes::ShapeRef.new(shape: String, location_name: "reservationInstanceMatchCriteria"))
5122
5134
  CapacityManagerDimension.add_member(:reservation_unused_financial_owner, Shapes::ShapeRef.new(shape: String, location_name: "reservationUnusedFinancialOwner"))
5135
+ CapacityManagerDimension.add_member(:tags, Shapes::ShapeRef.new(shape: CapacityManagerTagDimensionSet, location_name: "tagSet"))
5123
5136
  CapacityManagerDimension.struct_class = Types::CapacityManagerDimension
5124
5137
 
5138
+ CapacityManagerMonitoredTagKey.add_member(:tag_key, Shapes::ShapeRef.new(shape: String, location_name: "tagKey"))
5139
+ CapacityManagerMonitoredTagKey.add_member(:status, Shapes::ShapeRef.new(shape: CapacityManagerMonitoredTagKeyStatus, location_name: "status"))
5140
+ CapacityManagerMonitoredTagKey.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
5141
+ CapacityManagerMonitoredTagKey.add_member(:capacity_manager_provided, Shapes::ShapeRef.new(shape: Boolean, location_name: "capacityManagerProvided"))
5142
+ CapacityManagerMonitoredTagKey.add_member(:earliest_datapoint_timestamp, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "earliestDatapointTimestamp"))
5143
+ CapacityManagerMonitoredTagKey.struct_class = Types::CapacityManagerMonitoredTagKey
5144
+
5145
+ CapacityManagerMonitoredTagKeyList.member = Shapes::ShapeRef.new(shape: CapacityManagerMonitoredTagKey, location_name: "item")
5146
+
5147
+ CapacityManagerTagDimension.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
5148
+ CapacityManagerTagDimension.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
5149
+ CapacityManagerTagDimension.struct_class = Types::CapacityManagerTagDimension
5150
+
5151
+ CapacityManagerTagDimensionSet.member = Shapes::ShapeRef.new(shape: CapacityManagerTagDimension, location_name: "item")
5152
+
5125
5153
  CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
5126
5154
  CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
5127
5155
  CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
@@ -5473,7 +5501,7 @@ module Aws::EC2
5473
5501
 
5474
5502
  CoipPoolSet.member = Shapes::ShapeRef.new(shape: CoipPool, location_name: "item")
5475
5503
 
5476
- ConditionValueList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
5504
+ ConditionValueList.member = Shapes::ShapeRef.new(shape: ConditionValue, location_name: "item")
5477
5505
 
5478
5506
  ConfirmProductInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
5479
5507
  ConfirmProductInstanceRequest.add_member(:product_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ProductCode"))
@@ -11274,6 +11302,15 @@ module Aws::EC2
11274
11302
  GetCapacityManagerMetricDimensionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
11275
11303
  GetCapacityManagerMetricDimensionsResult.struct_class = Types::GetCapacityManagerMetricDimensionsResult
11276
11304
 
11305
+ GetCapacityManagerMonitoredTagKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCapacityManagerMonitoredTagKeysRequestMaxResults, location_name: "MaxResults"))
11306
+ GetCapacityManagerMonitoredTagKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
11307
+ GetCapacityManagerMonitoredTagKeysRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
11308
+ GetCapacityManagerMonitoredTagKeysRequest.struct_class = Types::GetCapacityManagerMonitoredTagKeysRequest
11309
+
11310
+ GetCapacityManagerMonitoredTagKeysResult.add_member(:capacity_manager_tag_keys, Shapes::ShapeRef.new(shape: CapacityManagerMonitoredTagKeyList, location_name: "capacityManagerTagKeySet"))
11311
+ GetCapacityManagerMonitoredTagKeysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
11312
+ GetCapacityManagerMonitoredTagKeysResult.struct_class = Types::GetCapacityManagerMonitoredTagKeysResult
11313
+
11277
11314
  GetCapacityReservationUsageRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
11278
11315
  GetCapacityReservationUsageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
11279
11316
  GetCapacityReservationUsageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetCapacityReservationUsageRequestMaxResults, location_name: "MaxResults"))
@@ -18728,6 +18765,15 @@ module Aws::EC2
18728
18765
 
18729
18766
  UnsuccessfulItemSet.member = Shapes::ShapeRef.new(shape: UnsuccessfulItem, location_name: "item")
18730
18767
 
18768
+ UpdateCapacityManagerMonitoredTagKeysRequest.add_member(:activate_tag_keys, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "ActivateTagKey"))
18769
+ UpdateCapacityManagerMonitoredTagKeysRequest.add_member(:deactivate_tag_keys, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "DeactivateTagKey"))
18770
+ UpdateCapacityManagerMonitoredTagKeysRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
18771
+ UpdateCapacityManagerMonitoredTagKeysRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
18772
+ UpdateCapacityManagerMonitoredTagKeysRequest.struct_class = Types::UpdateCapacityManagerMonitoredTagKeysRequest
18773
+
18774
+ UpdateCapacityManagerMonitoredTagKeysResult.add_member(:capacity_manager_tag_keys, Shapes::ShapeRef.new(shape: CapacityManagerMonitoredTagKeyList, location_name: "capacityManagerTagKeySet"))
18775
+ UpdateCapacityManagerMonitoredTagKeysResult.struct_class = Types::UpdateCapacityManagerMonitoredTagKeysResult
18776
+
18731
18777
  UpdateCapacityManagerOrganizationsAccessRequest.add_member(:organizations_access, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "OrganizationsAccess"))
18732
18778
  UpdateCapacityManagerOrganizationsAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
18733
18779
  UpdateCapacityManagerOrganizationsAccessRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
@@ -24655,6 +24701,20 @@ module Aws::EC2
24655
24701
  )
24656
24702
  end)
24657
24703
 
24704
+ api.add_operation(:get_capacity_manager_monitored_tag_keys, Seahorse::Model::Operation.new.tap do |o|
24705
+ o.name = "GetCapacityManagerMonitoredTagKeys"
24706
+ o.http_method = "POST"
24707
+ o.http_request_uri = "/"
24708
+ o.input = Shapes::ShapeRef.new(shape: GetCapacityManagerMonitoredTagKeysRequest)
24709
+ o.output = Shapes::ShapeRef.new(shape: GetCapacityManagerMonitoredTagKeysResult)
24710
+ o[:pager] = Aws::Pager.new(
24711
+ limit_key: "max_results",
24712
+ tokens: {
24713
+ "next_token" => "next_token"
24714
+ }
24715
+ )
24716
+ end)
24717
+
24658
24718
  api.add_operation(:get_capacity_reservation_usage, Seahorse::Model::Operation.new.tap do |o|
24659
24719
  o.name = "GetCapacityReservationUsage"
24660
24720
  o.http_method = "POST"
@@ -26584,6 +26644,14 @@ module Aws::EC2
26584
26644
  o.output = Shapes::ShapeRef.new(shape: UnmonitorInstancesResult)
26585
26645
  end)
26586
26646
 
26647
+ api.add_operation(:update_capacity_manager_monitored_tag_keys, Seahorse::Model::Operation.new.tap do |o|
26648
+ o.name = "UpdateCapacityManagerMonitoredTagKeys"
26649
+ o.http_method = "POST"
26650
+ o.http_request_uri = "/"
26651
+ o.input = Shapes::ShapeRef.new(shape: UpdateCapacityManagerMonitoredTagKeysRequest)
26652
+ o.output = Shapes::ShapeRef.new(shape: UpdateCapacityManagerMonitoredTagKeysResult)
26653
+ end)
26654
+
26587
26655
  api.add_operation(:update_capacity_manager_organizations_access, Seahorse::Model::Operation.new.tap do |o|
26588
26656
  o.name = "UpdateCapacityManagerOrganizationsAccess"
26589
26657
  o.http_method = "POST"
@@ -5531,6 +5531,12 @@ module Aws::EC2
5531
5531
  # The Amazon Web Services account ID that owns the capacity resource.
5532
5532
  # @return [String]
5533
5533
  #
5534
+ # @!attribute [rw] account_name
5535
+ # The name of the Amazon Web Services account that owns the capacity
5536
+ # resource. This dimension is only available when Organizations access
5537
+ # is enabled for Capacity Manager.
5538
+ # @return [String]
5539
+ #
5534
5540
  # @!attribute [rw] instance_family
5535
5541
  # The EC2 instance family of the capacity resource.
5536
5542
  # @return [String]
@@ -5602,12 +5608,19 @@ module Aws::EC2
5602
5608
  # for unused capacity reservation costs.
5603
5609
  # @return [String]
5604
5610
  #
5611
+ # @!attribute [rw] tags
5612
+ # The tags associated with the capacity resource, represented as
5613
+ # key-value pairs. Only tags that have been activated for monitoring
5614
+ # via `UpdateCapacityManagerMonitoredTagKeys` are included.
5615
+ # @return [Array<Types::CapacityManagerTagDimension>]
5616
+ #
5605
5617
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerDimension AWS API Documentation
5606
5618
  #
5607
5619
  class CapacityManagerDimension < Struct.new(
5608
5620
  :resource_region,
5609
5621
  :availability_zone_id,
5610
5622
  :account_id,
5623
+ :account_name,
5611
5624
  :instance_family,
5612
5625
  :instance_type,
5613
5626
  :instance_platform,
@@ -5621,7 +5634,67 @@ module Aws::EC2
5621
5634
  :tenancy,
5622
5635
  :reservation_state,
5623
5636
  :reservation_instance_match_criteria,
5624
- :reservation_unused_financial_owner)
5637
+ :reservation_unused_financial_owner,
5638
+ :tags)
5639
+ SENSITIVE = []
5640
+ include Aws::Structure
5641
+ end
5642
+
5643
+ # Describes a tag key that is being monitored by Capacity Manager,
5644
+ # including its activation status and the earliest available data point.
5645
+ #
5646
+ # @!attribute [rw] tag_key
5647
+ # The tag key being monitored.
5648
+ # @return [String]
5649
+ #
5650
+ # @!attribute [rw] status
5651
+ # The current status of the monitored tag key. Valid values are
5652
+ # `activating`, `activated`, `deactivating`, and `suspended`.
5653
+ # @return [String]
5654
+ #
5655
+ # @!attribute [rw] status_message
5656
+ # A message providing additional details about the current status of
5657
+ # the monitored tag key.
5658
+ # @return [String]
5659
+ #
5660
+ # @!attribute [rw] capacity_manager_provided
5661
+ # Indicates whether this tag key is provided by Capacity Manager by
5662
+ # default, rather than being user-activated.
5663
+ # @return [Boolean]
5664
+ #
5665
+ # @!attribute [rw] earliest_datapoint_timestamp
5666
+ # The earliest timestamp from which tag data is available for queries,
5667
+ # in UTC ISO 8601 format.
5668
+ # @return [Time]
5669
+ #
5670
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerMonitoredTagKey AWS API Documentation
5671
+ #
5672
+ class CapacityManagerMonitoredTagKey < Struct.new(
5673
+ :tag_key,
5674
+ :status,
5675
+ :status_message,
5676
+ :capacity_manager_provided,
5677
+ :earliest_datapoint_timestamp)
5678
+ SENSITIVE = []
5679
+ include Aws::Structure
5680
+ end
5681
+
5682
+ # A key-value pair representing a tag associated with a capacity
5683
+ # resource in Capacity Manager.
5684
+ #
5685
+ # @!attribute [rw] key
5686
+ # The tag key.
5687
+ # @return [String]
5688
+ #
5689
+ # @!attribute [rw] value
5690
+ # The tag value.
5691
+ # @return [String]
5692
+ #
5693
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityManagerTagDimension AWS API Documentation
5694
+ #
5695
+ class CapacityManagerTagDimension < Struct.new(
5696
+ :key,
5697
+ :value)
5625
5698
  SENSITIVE = []
5626
5699
  include Aws::Structure
5627
5700
  end
@@ -43476,6 +43549,54 @@ module Aws::EC2
43476
43549
  include Aws::Structure
43477
43550
  end
43478
43551
 
43552
+ # @!attribute [rw] max_results
43553
+ # The maximum number of results to return in a single call. To
43554
+ # retrieve the remaining results, make another call with the returned
43555
+ # `NextToken` value. If not specified, up to 1000 results are
43556
+ # returned.
43557
+ # @return [Integer]
43558
+ #
43559
+ # @!attribute [rw] next_token
43560
+ # The token for the next page of results. Use the value returned from
43561
+ # a previous call to retrieve additional results.
43562
+ # @return [String]
43563
+ #
43564
+ # @!attribute [rw] dry_run
43565
+ # Checks whether you have the required permissions for the action,
43566
+ # without actually making the request, and provides an error response.
43567
+ # If you have the required permissions, the error response is
43568
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
43569
+ # @return [Boolean]
43570
+ #
43571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMonitoredTagKeysRequest AWS API Documentation
43572
+ #
43573
+ class GetCapacityManagerMonitoredTagKeysRequest < Struct.new(
43574
+ :max_results,
43575
+ :next_token,
43576
+ :dry_run)
43577
+ SENSITIVE = []
43578
+ include Aws::Structure
43579
+ end
43580
+
43581
+ # @!attribute [rw] capacity_manager_tag_keys
43582
+ # The list of tag keys being monitored by Capacity Manager, including
43583
+ # their current status and metadata.
43584
+ # @return [Array<Types::CapacityManagerMonitoredTagKey>]
43585
+ #
43586
+ # @!attribute [rw] next_token
43587
+ # The token to use to retrieve the next page of results. This value is
43588
+ # null when there are no more results to return.
43589
+ # @return [String]
43590
+ #
43591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityManagerMonitoredTagKeysResult AWS API Documentation
43592
+ #
43593
+ class GetCapacityManagerMonitoredTagKeysResult < Struct.new(
43594
+ :capacity_manager_tag_keys,
43595
+ :next_token)
43596
+ SENSITIVE = []
43597
+ include Aws::Structure
43598
+ end
43599
+
43479
43600
  # @!attribute [rw] capacity_reservation_id
43480
43601
  # The ID of the Capacity Reservation.
43481
43602
  # @return [String]
@@ -83458,6 +83579,55 @@ module Aws::EC2
83458
83579
  include Aws::Structure
83459
83580
  end
83460
83581
 
83582
+ # @!attribute [rw] activate_tag_keys
83583
+ # The tag keys to activate for monitoring. Once activated, these tag
83584
+ # keys will be included as dimensions in capacity metric data.
83585
+ # @return [Array<String>]
83586
+ #
83587
+ # @!attribute [rw] deactivate_tag_keys
83588
+ # The tag keys to deactivate. Deactivated tag keys will no longer be
83589
+ # included as dimensions in capacity metric data.
83590
+ # @return [Array<String>]
83591
+ #
83592
+ # @!attribute [rw] dry_run
83593
+ # Checks whether you have the required permissions for the action,
83594
+ # without actually making the request, and provides an error response.
83595
+ # If you have the required permissions, the error response is
83596
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
83597
+ # @return [Boolean]
83598
+ #
83599
+ # @!attribute [rw] client_token
83600
+ # Unique, case-sensitive identifier that you provide to ensure the
83601
+ # idempotency of the request.
83602
+ #
83603
+ # **A suitable default value is auto-generated.** You should normally
83604
+ # not need to pass this option.
83605
+ # @return [String]
83606
+ #
83607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerMonitoredTagKeysRequest AWS API Documentation
83608
+ #
83609
+ class UpdateCapacityManagerMonitoredTagKeysRequest < Struct.new(
83610
+ :activate_tag_keys,
83611
+ :deactivate_tag_keys,
83612
+ :dry_run,
83613
+ :client_token)
83614
+ SENSITIVE = []
83615
+ include Aws::Structure
83616
+ end
83617
+
83618
+ # @!attribute [rw] capacity_manager_tag_keys
83619
+ # The list of tag keys affected by the update, including their current
83620
+ # status and metadata.
83621
+ # @return [Array<Types::CapacityManagerMonitoredTagKey>]
83622
+ #
83623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateCapacityManagerMonitoredTagKeysResult AWS API Documentation
83624
+ #
83625
+ class UpdateCapacityManagerMonitoredTagKeysResult < Struct.new(
83626
+ :capacity_manager_tag_keys)
83627
+ SENSITIVE = []
83628
+ include Aws::Structure
83629
+ end
83630
+
83461
83631
  # @!attribute [rw] organizations_access
83462
83632
  # Specifies whether to enable or disable cross-account access for
83463
83633
  # Amazon Web Services Organizations. When enabled, Capacity Manager
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.610.0'
81
+ GEM_VERSION = '1.611.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -10553,11 +10553,11 @@ module Aws
10553
10553
  start_time: ::Time,
10554
10554
  end_time: ::Time,
10555
10555
  period: ::Integer,
10556
- ?group_by: Array[("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")],
10556
+ ?group_by: Array[("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")],
10557
10557
  ?filter_by: Array[
10558
10558
  {
10559
10559
  dimension_condition: {
10560
- dimension: ("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")?,
10560
+ dimension: ("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")?,
10561
10561
  comparison: ("equals" | "in")?,
10562
10562
  values: Array[::String]?
10563
10563
  }?
@@ -10576,11 +10576,11 @@ module Aws
10576
10576
  end
10577
10577
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_capacity_manager_metric_dimensions-instance_method
10578
10578
  def get_capacity_manager_metric_dimensions: (
10579
- group_by: Array[("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")],
10579
+ group_by: Array[("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")],
10580
10580
  ?filter_by: Array[
10581
10581
  {
10582
10582
  dimension_condition: {
10583
- dimension: ("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")?,
10583
+ dimension: ("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")?,
10584
10584
  comparison: ("equals" | "in")?,
10585
10585
  values: Array[::String]?
10586
10586
  }?
@@ -10595,6 +10595,19 @@ module Aws
10595
10595
  ) -> _GetCapacityManagerMetricDimensionsResponseSuccess
10596
10596
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityManagerMetricDimensionsResponseSuccess
10597
10597
 
10598
+ interface _GetCapacityManagerMonitoredTagKeysResponseSuccess
10599
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityManagerMonitoredTagKeysResult]
10600
+ def capacity_manager_tag_keys: () -> ::Array[Types::CapacityManagerMonitoredTagKey]
10601
+ def next_token: () -> ::String
10602
+ end
10603
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#get_capacity_manager_monitored_tag_keys-instance_method
10604
+ def get_capacity_manager_monitored_tag_keys: (
10605
+ ?max_results: ::Integer,
10606
+ ?next_token: ::String,
10607
+ ?dry_run: bool
10608
+ ) -> _GetCapacityManagerMonitoredTagKeysResponseSuccess
10609
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityManagerMonitoredTagKeysResponseSuccess
10610
+
10598
10611
  interface _GetCapacityReservationUsageResponseSuccess
10599
10612
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityReservationUsageResult]
10600
10613
  def next_token: () -> ::String
@@ -15646,6 +15659,19 @@ module Aws
15646
15659
  ) -> _UnmonitorInstancesResponseSuccess
15647
15660
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnmonitorInstancesResponseSuccess
15648
15661
 
15662
+ interface _UpdateCapacityManagerMonitoredTagKeysResponseSuccess
15663
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapacityManagerMonitoredTagKeysResult]
15664
+ def capacity_manager_tag_keys: () -> ::Array[Types::CapacityManagerMonitoredTagKey]
15665
+ end
15666
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#update_capacity_manager_monitored_tag_keys-instance_method
15667
+ def update_capacity_manager_monitored_tag_keys: (
15668
+ ?activate_tag_keys: Array[::String],
15669
+ ?deactivate_tag_keys: Array[::String],
15670
+ ?dry_run: bool,
15671
+ ?client_token: ::String
15672
+ ) -> _UpdateCapacityManagerMonitoredTagKeysResponseSuccess
15673
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityManagerMonitoredTagKeysResponseSuccess
15674
+
15649
15675
  interface _UpdateCapacityManagerOrganizationsAccessResponseSuccess
15650
15676
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapacityManagerOrganizationsAccessResult]
15651
15677
  def capacity_manager_status: () -> ("enabled" | "disabled")
data/sig/types.rbs CHANGED
@@ -1348,6 +1348,7 @@ module Aws::EC2
1348
1348
  attr_accessor resource_region: ::String
1349
1349
  attr_accessor availability_zone_id: ::String
1350
1350
  attr_accessor account_id: ::String
1351
+ attr_accessor account_name: ::String
1351
1352
  attr_accessor instance_family: ::String
1352
1353
  attr_accessor instance_type: ::String
1353
1354
  attr_accessor instance_platform: ::String
@@ -1362,6 +1363,22 @@ module Aws::EC2
1362
1363
  attr_accessor reservation_state: ("active" | "expired" | "cancelled" | "scheduled" | "pending" | "failed" | "delayed" | "unsupported" | "payment-pending" | "payment-failed" | "retired")
1363
1364
  attr_accessor reservation_instance_match_criteria: ::String
1364
1365
  attr_accessor reservation_unused_financial_owner: ::String
1366
+ attr_accessor tags: ::Array[Types::CapacityManagerTagDimension]
1367
+ SENSITIVE: []
1368
+ end
1369
+
1370
+ class CapacityManagerMonitoredTagKey
1371
+ attr_accessor tag_key: ::String
1372
+ attr_accessor status: ("activating" | "activated" | "deactivating" | "suspended")
1373
+ attr_accessor status_message: ::String
1374
+ attr_accessor capacity_manager_provided: bool
1375
+ attr_accessor earliest_datapoint_timestamp: ::Time
1376
+ SENSITIVE: []
1377
+ end
1378
+
1379
+ class CapacityManagerTagDimension
1380
+ attr_accessor key: ::String
1381
+ attr_accessor value: ::String
1365
1382
  SENSITIVE: []
1366
1383
  end
1367
1384
 
@@ -7815,7 +7832,7 @@ module Aws::EC2
7815
7832
  end
7816
7833
 
7817
7834
  class DimensionCondition
7818
- attr_accessor dimension: ("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")
7835
+ attr_accessor dimension: ("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")
7819
7836
  attr_accessor comparison: ("equals" | "in")
7820
7837
  attr_accessor values: ::Array[::String]
7821
7838
  SENSITIVE: []
@@ -9475,7 +9492,7 @@ module Aws::EC2
9475
9492
  attr_accessor start_time: ::Time
9476
9493
  attr_accessor end_time: ::Time
9477
9494
  attr_accessor period: ::Integer
9478
- attr_accessor group_by: ::Array[("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")]
9495
+ attr_accessor group_by: ::Array[("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")]
9479
9496
  attr_accessor filter_by: ::Array[Types::CapacityManagerCondition]
9480
9497
  attr_accessor max_results: ::Integer
9481
9498
  attr_accessor next_token: ::String
@@ -9490,7 +9507,7 @@ module Aws::EC2
9490
9507
  end
9491
9508
 
9492
9509
  class GetCapacityManagerMetricDimensionsRequest
9493
- attr_accessor group_by: ::Array[("resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")]
9510
+ attr_accessor group_by: ::Array[("resource-region" | "availability-zone-id" | "account-id" | "account-name" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner")]
9494
9511
  attr_accessor filter_by: ::Array[Types::CapacityManagerCondition]
9495
9512
  attr_accessor start_time: ::Time
9496
9513
  attr_accessor end_time: ::Time
@@ -9507,6 +9524,19 @@ module Aws::EC2
9507
9524
  SENSITIVE: []
9508
9525
  end
9509
9526
 
9527
+ class GetCapacityManagerMonitoredTagKeysRequest
9528
+ attr_accessor max_results: ::Integer
9529
+ attr_accessor next_token: ::String
9530
+ attr_accessor dry_run: bool
9531
+ SENSITIVE: []
9532
+ end
9533
+
9534
+ class GetCapacityManagerMonitoredTagKeysResult
9535
+ attr_accessor capacity_manager_tag_keys: ::Array[Types::CapacityManagerMonitoredTagKey]
9536
+ attr_accessor next_token: ::String
9537
+ SENSITIVE: []
9538
+ end
9539
+
9510
9540
  class GetCapacityReservationUsageRequest
9511
9541
  attr_accessor capacity_reservation_id: ::String
9512
9542
  attr_accessor next_token: ::String
@@ -17961,6 +17991,19 @@ module Aws::EC2
17961
17991
  SENSITIVE: []
17962
17992
  end
17963
17993
 
17994
+ class UpdateCapacityManagerMonitoredTagKeysRequest
17995
+ attr_accessor activate_tag_keys: ::Array[::String]
17996
+ attr_accessor deactivate_tag_keys: ::Array[::String]
17997
+ attr_accessor dry_run: bool
17998
+ attr_accessor client_token: ::String
17999
+ SENSITIVE: []
18000
+ end
18001
+
18002
+ class UpdateCapacityManagerMonitoredTagKeysResult
18003
+ attr_accessor capacity_manager_tag_keys: ::Array[Types::CapacityManagerMonitoredTagKey]
18004
+ SENSITIVE: []
18005
+ end
18006
+
17964
18007
  class UpdateCapacityManagerOrganizationsAccessRequest
17965
18008
  attr_accessor organizations_access: bool
17966
18009
  attr_accessor dry_run: bool
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.610.0
4
+ version: 1.611.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services