Skip to content

Commit 9ede72a

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Adds complete AMI ancestry tracing from immediate parent through each preceding generation back to the root AMI
1 parent 1efcd04 commit 9ede72a

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-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": "Adds complete AMI ancestry tracing from immediate parent through each preceding generation back to the root AMI"
6+
}

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5121,6 +5121,16 @@
51215121
"output":{"shape":"GetHostReservationPurchasePreviewResult"},
51225122
"documentation":"<p>Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.</p> <p>This is a preview of the <a>PurchaseHostReservation</a> action and does not result in the offering being purchased.</p>"
51235123
},
5124+
"GetImageAncestry":{
5125+
"name":"GetImageAncestry",
5126+
"http":{
5127+
"method":"POST",
5128+
"requestUri":"/"
5129+
},
5130+
"input":{"shape":"GetImageAncestryRequest"},
5131+
"output":{"shape":"GetImageAncestryResult"},
5132+
"documentation":"<p>Retrieves the ancestry chain of the specified AMI, tracing its lineage back to the root AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-ancestry.html\">AMI ancestry</a> in <i>Amazon EC2 User Guide</i>.</p>"
5133+
},
51245134
"GetImageBlockPublicAccessState":{
51255135
"name":"GetImageBlockPublicAccessState",
51265136
"http":{
@@ -36578,6 +36588,30 @@
3657836588
}
3657936589
}
3658036590
},
36591+
"GetImageAncestryRequest":{
36592+
"type":"structure",
36593+
"required":["ImageId"],
36594+
"members":{
36595+
"ImageId":{
36596+
"shape":"ImageId",
36597+
"documentation":"<p>The ID of the AMI whose ancestry you want to trace.</p>"
36598+
},
36599+
"DryRun":{
36600+
"shape":"Boolean",
36601+
"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>"
36602+
}
36603+
}
36604+
},
36605+
"GetImageAncestryResult":{
36606+
"type":"structure",
36607+
"members":{
36608+
"ImageAncestryEntries":{
36609+
"shape":"ImageAncestryEntryList",
36610+
"documentation":"<p>A list of entries in the AMI ancestry chain, from the specified AMI to the root AMI.</p>",
36611+
"locationName":"imageAncestryEntrySet"
36612+
}
36613+
}
36614+
},
3658136615
"GetImageBlockPublicAccessStateRequest":{
3658236616
"type":"structure",
3658336617
"members":{
@@ -39303,6 +39337,44 @@
3930339337
},
3930439338
"documentation":"<p>Describes an image.</p>"
3930539339
},
39340+
"ImageAncestryEntry":{
39341+
"type":"structure",
39342+
"members":{
39343+
"CreationDate":{
39344+
"shape":"MillisecondDateTime",
39345+
"documentation":"<p>The date and time when this AMI was created.</p>",
39346+
"locationName":"creationDate"
39347+
},
39348+
"ImageId":{
39349+
"shape":"ImageId",
39350+
"documentation":"<p>The ID of this AMI.</p>",
39351+
"locationName":"imageId"
39352+
},
39353+
"ImageOwnerAlias":{
39354+
"shape":"String",
39355+
"documentation":"<p>The owner alias (<code>amazon</code> | <code>aws-backup-vault</code> | <code>aws-marketplace</code> ) of this AMI, if one is assigned. Otherwise, the value is <code>null</code>.</p>",
39356+
"locationName":"imageOwnerAlias"
39357+
},
39358+
"SourceImageId":{
39359+
"shape":"ImageId",
39360+
"documentation":"<p>The ID of the parent AMI.</p>",
39361+
"locationName":"sourceImageId"
39362+
},
39363+
"SourceImageRegion":{
39364+
"shape":"String",
39365+
"documentation":"<p>The Amazon Web Services Region of the parent AMI.</p>",
39366+
"locationName":"sourceImageRegion"
39367+
}
39368+
},
39369+
"documentation":"<p>Information about a single AMI in the ancestry chain and its source (parent) AMI.</p>"
39370+
},
39371+
"ImageAncestryEntryList":{
39372+
"type":"list",
39373+
"member":{
39374+
"shape":"ImageAncestryEntry",
39375+
"locationName":"item"
39376+
}
39377+
},
3930639378
"ImageAttribute":{
3930739379
"type":"structure",
3930839380
"members":{

0 commit comments

Comments
 (0)