Skip to content

Commit a59d563

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: The DeleteKeyPair API has been updated to return the keyPairId when an existing key pair is deleted.
1 parent 7816425 commit a59d563

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-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": "The DeleteKeyPair API has been updated to return the keyPairId when an existing key pair is deleted."
6+
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,6 +1549,7 @@
15491549
"requestUri":"/"
15501550
},
15511551
"input":{"shape":"DeleteKeyPairRequest"},
1552+
"output":{"shape":"DeleteKeyPairResult"},
15521553
"documentation":"<p>Deletes the specified key pair, by removing the public key from Amazon EC2.</p>"
15531554
},
15541555
"DeleteLaunchTemplate":{
@@ -16432,6 +16433,21 @@
1643216433
}
1643316434
}
1643416435
},
16436+
"DeleteKeyPairResult":{
16437+
"type":"structure",
16438+
"members":{
16439+
"Return":{
16440+
"shape":"Boolean",
16441+
"documentation":"<p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>",
16442+
"locationName":"return"
16443+
},
16444+
"KeyPairId":{
16445+
"shape":"String",
16446+
"documentation":"<p>The ID of the key pair.</p>",
16447+
"locationName":"keyPairId"
16448+
}
16449+
}
16450+
},
1643516451
"DeleteLaunchTemplateRequest":{
1643616452
"type":"structure",
1643716453
"members":{

0 commit comments

Comments
 (0)