Skip to content

Commit 0af111e

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: EC2 Capacity Manager adds new dimensions for grouping and filtering capacity metrics, including tag-based dimensions and Account Name.
1 parent e3dfd71 commit 0af111e

File tree

3 files changed

+197
-3
lines changed

3 files changed

+197
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "EC2 Capacity Manager adds new dimensions for grouping and filtering capacity metrics, including tag-based dimensions and Account Name."
6+
}

services/ec2/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,12 @@
875875
"output_token": "NextToken",
876876
"result_key": "MetricDimensionResults"
877877
},
878+
"GetCapacityManagerMonitoredTagKeys": {
879+
"input_token": "NextToken",
880+
"limit_key": "MaxResults",
881+
"output_token": "NextToken",
882+
"result_key": "CapacityManagerTagKeys"
883+
},
878884
"GetGroupsForCapacityReservation": {
879885
"input_token": "NextToken",
880886
"limit_key": "MaxResults",

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 185 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,6 +5291,16 @@
52915291
"output":{"shape":"GetCapacityManagerMetricDimensionsResult"},
52925292
"documentation":"<p> Retrieves the available dimension values for capacity metrics within a specified time range. This is useful for discovering what accounts, regions, instance families, and other dimensions have data available for filtering and grouping. </p>"
52935293
},
5294+
"GetCapacityManagerMonitoredTagKeys":{
5295+
"name":"GetCapacityManagerMonitoredTagKeys",
5296+
"http":{
5297+
"method":"POST",
5298+
"requestUri":"/"
5299+
},
5300+
"input":{"shape":"GetCapacityManagerMonitoredTagKeysRequest"},
5301+
"output":{"shape":"GetCapacityManagerMonitoredTagKeysResult"},
5302+
"documentation":"<p> Retrieves the tag keys that are currently being monitored by EC2 Capacity Manager. Monitored tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values. </p>"
5303+
},
52945304
"GetCapacityReservationUsage":{
52955305
"name":"GetCapacityReservationUsage",
52965306
"http":{
@@ -7471,6 +7481,16 @@
74717481
"output":{"shape":"UnmonitorInstancesResult"},
74727482
"documentation":"<p>Disables detailed monitoring for a running instance. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html\">Monitoring your instances and volumes</a> in the <i>Amazon EC2 User Guide</i>.</p>"
74737483
},
7484+
"UpdateCapacityManagerMonitoredTagKeys":{
7485+
"name":"UpdateCapacityManagerMonitoredTagKeys",
7486+
"http":{
7487+
"method":"POST",
7488+
"requestUri":"/"
7489+
},
7490+
"input":{"shape":"UpdateCapacityManagerMonitoredTagKeysRequest"},
7491+
"output":{"shape":"UpdateCapacityManagerMonitoredTagKeysResult"},
7492+
"documentation":"<p> Activates or deactivates tag keys for monitoring by EC2 Capacity Manager. Activated tag keys are included as dimensions in capacity metric data, enabling you to group and filter metrics by tag values. </p>"
7493+
},
74747494
"UpdateCapacityManagerOrganizationsAccess":{
74757495
"name":"UpdateCapacityManagerOrganizationsAccess",
74767496
"http":{
@@ -12558,6 +12578,11 @@
1255812578
"documentation":"<p> The Amazon Web Services account ID that owns the capacity resource. </p>",
1255912579
"locationName":"accountId"
1256012580
},
12581+
"AccountName":{
12582+
"shape":"String",
12583+
"documentation":"<p> The name of the Amazon Web Services account that owns the capacity resource. This dimension is only available when Organizations access is enabled for Capacity Manager. </p>",
12584+
"locationName":"accountName"
12585+
},
1256112586
"InstanceFamily":{
1256212587
"shape":"String",
1256312588
"documentation":"<p> The EC2 instance family of the capacity resource. </p>",
@@ -12627,17 +12652,92 @@
1262712652
"shape":"String",
1262812653
"documentation":"<p> The Amazon Web Services account ID that is financially responsible for unused capacity reservation costs. </p>",
1262912654
"locationName":"reservationUnusedFinancialOwner"
12655+
},
12656+
"Tags":{
12657+
"shape":"CapacityManagerTagDimensionSet",
12658+
"documentation":"<p> The tags associated with the capacity resource, represented as key-value pairs. Only tags that have been activated for monitoring via <code>UpdateCapacityManagerMonitoredTagKeys</code> are included. </p>",
12659+
"locationName":"tagSet"
1263012660
}
1263112661
},
1263212662
"documentation":"<p> Represents dimension values for capacity metrics, including resource identifiers, geographic information, and reservation details used for grouping and filtering capacity data. </p>"
1263312663
},
12664+
"CapacityManagerMonitoredTagKey":{
12665+
"type":"structure",
12666+
"members":{
12667+
"TagKey":{
12668+
"shape":"String",
12669+
"documentation":"<p> The tag key being monitored. </p>",
12670+
"locationName":"tagKey"
12671+
},
12672+
"Status":{
12673+
"shape":"CapacityManagerMonitoredTagKeyStatus",
12674+
"documentation":"<p> The current status of the monitored tag key. Valid values are <code>activating</code>, <code>activated</code>, <code>deactivating</code>, and <code>suspended</code>. </p>",
12675+
"locationName":"status"
12676+
},
12677+
"StatusMessage":{
12678+
"shape":"String",
12679+
"documentation":"<p> A message providing additional details about the current status of the monitored tag key. </p>",
12680+
"locationName":"statusMessage"
12681+
},
12682+
"CapacityManagerProvided":{
12683+
"shape":"Boolean",
12684+
"documentation":"<p> Indicates whether this tag key is provided by Capacity Manager by default, rather than being user-activated. </p>",
12685+
"locationName":"capacityManagerProvided"
12686+
},
12687+
"EarliestDatapointTimestamp":{
12688+
"shape":"MillisecondDateTime",
12689+
"documentation":"<p> The earliest timestamp from which tag data is available for queries, in UTC ISO 8601 format. </p>",
12690+
"locationName":"earliestDatapointTimestamp"
12691+
}
12692+
},
12693+
"documentation":"<p> Describes a tag key that is being monitored by Capacity Manager, including its activation status and the earliest available data point. </p>"
12694+
},
12695+
"CapacityManagerMonitoredTagKeyList":{
12696+
"type":"list",
12697+
"member":{
12698+
"shape":"CapacityManagerMonitoredTagKey",
12699+
"locationName":"item"
12700+
}
12701+
},
12702+
"CapacityManagerMonitoredTagKeyStatus":{
12703+
"type":"string",
12704+
"enum":[
12705+
"activating",
12706+
"activated",
12707+
"deactivating",
12708+
"suspended"
12709+
]
12710+
},
1263412711
"CapacityManagerStatus":{
1263512712
"type":"string",
1263612713
"enum":[
1263712714
"enabled",
1263812715
"disabled"
1263912716
]
1264012717
},
12718+
"CapacityManagerTagDimension":{
12719+
"type":"structure",
12720+
"members":{
12721+
"Key":{
12722+
"shape":"String",
12723+
"documentation":"<p> The tag key. </p>",
12724+
"locationName":"key"
12725+
},
12726+
"Value":{
12727+
"shape":"String",
12728+
"documentation":"<p> The tag value. </p>",
12729+
"locationName":"value"
12730+
}
12731+
},
12732+
"documentation":"<p> A key-value pair representing a tag associated with a capacity resource in Capacity Manager. </p>"
12733+
},
12734+
"CapacityManagerTagDimensionSet":{
12735+
"type":"list",
12736+
"member":{
12737+
"shape":"CapacityManagerTagDimension",
12738+
"locationName":"item"
12739+
}
12740+
},
1264112741
"CapacityReservation":{
1264212742
"type":"structure",
1264312743
"members":{
@@ -14318,10 +14418,15 @@
1431814418
"type":"string",
1431914419
"pattern":"[a-z]{2}-[a-z]+-[1-9]+"
1432014420
},
14421+
"ConditionValue":{
14422+
"type":"string",
14423+
"max":300,
14424+
"min":0
14425+
},
1432114426
"ConditionValueList":{
1432214427
"type":"list",
1432314428
"member":{
14324-
"shape":"String",
14429+
"shape":"ConditionValue",
1432514430
"locationName":"item"
1432614431
},
1432714432
"max":10,
@@ -36569,6 +36674,7 @@
3656936674
"resource-region",
3657036675
"availability-zone-id",
3657136676
"account-id",
36677+
"account-name",
3657236678
"instance-family",
3657336679
"instance-type",
3657436680
"instance-platform",
@@ -36583,7 +36689,9 @@
3658336689
"reservation-state",
3658436690
"reservation-instance-match-criteria",
3658536691
"reservation-unused-financial-owner"
36586-
]
36692+
],
36693+
"max":300,
36694+
"min":0
3658736695
},
3658836696
"FilterList":{
3658936697
"type":"list",
@@ -38020,6 +38128,43 @@
3802038128
}
3802138129
}
3802238130
},
38131+
"GetCapacityManagerMonitoredTagKeysRequest":{
38132+
"type":"structure",
38133+
"members":{
38134+
"MaxResults":{
38135+
"shape":"GetCapacityManagerMonitoredTagKeysRequestMaxResults",
38136+
"documentation":"<p> The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value. If not specified, up to 1000 results are returned. </p>"
38137+
},
38138+
"NextToken":{
38139+
"shape":"String",
38140+
"documentation":"<p> The token for the next page of results. Use the value returned from a previous call to retrieve additional results. </p>"
38141+
},
38142+
"DryRun":{
38143+
"shape":"Boolean",
38144+
"documentation":"<p> Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>. </p>"
38145+
}
38146+
}
38147+
},
38148+
"GetCapacityManagerMonitoredTagKeysRequestMaxResults":{
38149+
"type":"integer",
38150+
"max":1000,
38151+
"min":1
38152+
},
38153+
"GetCapacityManagerMonitoredTagKeysResult":{
38154+
"type":"structure",
38155+
"members":{
38156+
"CapacityManagerTagKeys":{
38157+
"shape":"CapacityManagerMonitoredTagKeyList",
38158+
"documentation":"<p> The list of tag keys being monitored by Capacity Manager, including their current status and metadata. </p>",
38159+
"locationName":"capacityManagerTagKeySet"
38160+
},
38161+
"NextToken":{
38162+
"shape":"String",
38163+
"documentation":"<p> The token to use to retrieve the next page of results. This value is null when there are no more results to return. </p>",
38164+
"locationName":"nextToken"
38165+
}
38166+
}
38167+
},
3802338168
"GetCapacityReservationUsageRequest":{
3802438169
"type":"structure",
3802538170
"required":["CapacityReservationId"],
@@ -40578,6 +40723,7 @@
4057840723
"resource-region",
4057940724
"availability-zone-id",
4058040725
"account-id",
40726+
"account-name",
4058140727
"instance-family",
4058240728
"instance-type",
4058340729
"instance-platform",
@@ -40592,7 +40738,9 @@
4059240738
"reservation-state",
4059340739
"reservation-instance-match-criteria",
4059440740
"reservation-unused-financial-owner"
40595-
]
40741+
],
40742+
"max":300,
40743+
"min":0
4059640744
},
4059740745
"GroupBySet":{
4059840746
"type":"list",
@@ -72793,6 +72941,40 @@
7279372941
"locationName":"item"
7279472942
}
7279572943
},
72944+
"UpdateCapacityManagerMonitoredTagKeysRequest":{
72945+
"type":"structure",
72946+
"members":{
72947+
"ActivateTagKeys":{
72948+
"shape":"ValueStringList",
72949+
"documentation":"<p> The tag keys to activate for monitoring. Once activated, these tag keys will be included as dimensions in capacity metric data. </p>",
72950+
"locationName":"ActivateTagKey"
72951+
},
72952+
"DeactivateTagKeys":{
72953+
"shape":"ValueStringList",
72954+
"documentation":"<p> The tag keys to deactivate. Deactivated tag keys will no longer be included as dimensions in capacity metric data. </p>",
72955+
"locationName":"DeactivateTagKey"
72956+
},
72957+
"DryRun":{
72958+
"shape":"Boolean",
72959+
"documentation":"<p> Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>. </p>"
72960+
},
72961+
"ClientToken":{
72962+
"shape":"String",
72963+
"documentation":"<p> Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. </p>",
72964+
"idempotencyToken":true
72965+
}
72966+
}
72967+
},
72968+
"UpdateCapacityManagerMonitoredTagKeysResult":{
72969+
"type":"structure",
72970+
"members":{
72971+
"CapacityManagerTagKeys":{
72972+
"shape":"CapacityManagerMonitoredTagKeyList",
72973+
"documentation":"<p> The list of tag keys affected by the update, including their current status and metadata. </p>",
72974+
"locationName":"capacityManagerTagKeySet"
72975+
}
72976+
}
72977+
},
7279672978
"UpdateCapacityManagerOrganizationsAccessRequest":{
7279772979
"type":"structure",
7279872980
"required":["OrganizationsAccess"],

0 commit comments

Comments
 (0)