Skip to content

Commit 06368a2

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: This release adds the new DescribeMacHosts API operation for getting information about EC2 Mac Dedicated Hosts. Users can now see the latest macOS versions that their underlying Apple Mac can support without needing to be updated.
1 parent 2a212cd commit 06368a2

File tree

3 files changed

+95
-0
lines changed

3 files changed

+95
-0
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": "This release adds the new DescribeMacHosts API operation for getting information about EC2 Mac Dedicated Hosts. Users can now see the latest macOS versions that their underlying Apple Mac can support without needing to be updated."
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
@@ -342,6 +342,12 @@
342342
"output_token": "NextToken",
343343
"result_key": "LocalGateways"
344344
},
345+
"DescribeMacHosts": {
346+
"input_token": "NextToken",
347+
"limit_key": "MaxResults",
348+
"output_token": "NextToken",
349+
"result_key": "MacHosts"
350+
},
345351
"DescribeManagedPrefixLists": {
346352
"input_token": "NextToken",
347353
"limit_key": "MaxResults",

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

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,6 +2905,16 @@
29052905
"output":{"shape":"DescribeLockedSnapshotsResult"},
29062906
"documentation":"<p>Describes the lock status for a snapshot.</p>"
29072907
},
2908+
"DescribeMacHosts":{
2909+
"name":"DescribeMacHosts",
2910+
"http":{
2911+
"method":"POST",
2912+
"requestUri":"/"
2913+
},
2914+
"input":{"shape":"DescribeMacHostsRequest"},
2915+
"output":{"shape":"DescribeMacHostsResult"},
2916+
"documentation":"<p>Describes the specified EC2 Mac Dedicated Host or all of your EC2 Mac Dedicated Hosts.</p>"
2917+
},
29082918
"DescribeManagedPrefixLists":{
29092919
"name":"DescribeManagedPrefixLists",
29102920
"http":{
@@ -21974,6 +21984,49 @@
2197421984
}
2197521985
}
2197621986
},
21987+
"DescribeMacHostsRequest":{
21988+
"type":"structure",
21989+
"members":{
21990+
"Filters":{
21991+
"shape":"FilterList",
21992+
"documentation":"<p>The filters.</p> <ul> <li> <p> <code>availability-zone</code> - The Availability Zone of the EC2 Mac Dedicated Host.</p> </li> <li> <p> <code>instance-type</code> - The instance type size that the EC2 Mac Dedicated Host is configured to support.</p> </li> </ul>",
21993+
"locationName":"Filter"
21994+
},
21995+
"HostIds":{
21996+
"shape":"RequestHostIdList",
21997+
"documentation":"<p> The IDs of the EC2 Mac Dedicated Hosts. </p>",
21998+
"locationName":"HostId"
21999+
},
22000+
"MaxResults":{
22001+
"shape":"DescribeMacHostsRequestMaxResults",
22002+
"documentation":"<p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>"
22003+
},
22004+
"NextToken":{
22005+
"shape":"String",
22006+
"documentation":"<p>The token to use to retrieve the next page of results.</p>"
22007+
}
22008+
}
22009+
},
22010+
"DescribeMacHostsRequestMaxResults":{
22011+
"type":"integer",
22012+
"max":500,
22013+
"min":5
22014+
},
22015+
"DescribeMacHostsResult":{
22016+
"type":"structure",
22017+
"members":{
22018+
"MacHosts":{
22019+
"shape":"MacHostList",
22020+
"documentation":"<p> Information about the EC2 Mac Dedicated Hosts. </p>",
22021+
"locationName":"macHostSet"
22022+
},
22023+
"NextToken":{
22024+
"shape":"String",
22025+
"documentation":"<p>The token to use to retrieve the next page of results.</p>",
22026+
"locationName":"nextToken"
22027+
}
22028+
}
22029+
},
2197722030
"DescribeManagedPrefixListsRequest":{
2197822031
"type":"structure",
2197922032
"members":{
@@ -41210,6 +41263,36 @@
4121041263
]
4121141264
},
4121241265
"Long":{"type":"long"},
41266+
"MacHost":{
41267+
"type":"structure",
41268+
"members":{
41269+
"HostId":{
41270+
"shape":"DedicatedHostId",
41271+
"documentation":"<p> The EC2 Mac Dedicated Host ID. </p>",
41272+
"locationName":"hostId"
41273+
},
41274+
"MacOSLatestSupportedVersions":{
41275+
"shape":"MacOSVersionStringList",
41276+
"documentation":"<p> The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded. </p>",
41277+
"locationName":"macOSLatestSupportedVersionSet"
41278+
}
41279+
},
41280+
"documentation":"<p> Information about the EC2 Mac Dedicated Host. </p>"
41281+
},
41282+
"MacHostList":{
41283+
"type":"list",
41284+
"member":{
41285+
"shape":"MacHost",
41286+
"locationName":"item"
41287+
}
41288+
},
41289+
"MacOSVersionStringList":{
41290+
"type":"list",
41291+
"member":{
41292+
"shape":"String",
41293+
"locationName":"item"
41294+
}
41295+
},
4121341296
"MaintenanceDetails":{
4121441297
"type":"structure",
4121541298
"members":{

0 commit comments

Comments
 (0)