Skip to content

Commit f717e94

Browse files
Updated API models and rebuilt service gems.
1 parent b359203 commit f717e94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2740
-861
lines changed

apis/cost-optimization-hub/2022-07-26/api-2.json

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,14 +416,14 @@
416416
},
417417
"GetPreferencesRequest":{
418418
"type":"structure",
419-
"members":{
420-
}
419+
"members":{}
421420
},
422421
"GetPreferencesResponse":{
423422
"type":"structure",
424423
"members":{
425424
"savingsEstimationMode":{"shape":"SavingsEstimationMode"},
426-
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}
425+
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
426+
"preferredCommitment":{"shape":"PreferredCommitment"}
427427
}
428428
},
429429
"GetRecommendationRequest":{
@@ -663,6 +663,21 @@
663663
"order":{"shape":"Order"}
664664
}
665665
},
666+
"PaymentOption":{
667+
"type":"string",
668+
"enum":[
669+
"AllUpfront",
670+
"PartialUpfront",
671+
"NoUpfront"
672+
]
673+
},
674+
"PreferredCommitment":{
675+
"type":"structure",
676+
"members":{
677+
"term":{"shape":"Term"},
678+
"paymentOption":{"shape":"PaymentOption"}
679+
}
680+
},
666681
"PrimitiveBoolean":{"type":"boolean"},
667682
"RdsDbInstance":{
668683
"type":"structure",
@@ -989,6 +1004,13 @@
9891004
"max":100,
9901005
"min":1
9911006
},
1007+
"Term":{
1008+
"type":"string",
1009+
"enum":[
1010+
"OneYear",
1011+
"ThreeYears"
1012+
]
1013+
},
9921014
"ThrottlingException":{
9931015
"type":"structure",
9941016
"members":{
@@ -1015,14 +1037,16 @@
10151037
"type":"structure",
10161038
"members":{
10171039
"savingsEstimationMode":{"shape":"SavingsEstimationMode"},
1018-
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}
1040+
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
1041+
"preferredCommitment":{"shape":"PreferredCommitment"}
10191042
}
10201043
},
10211044
"UpdatePreferencesResponse":{
10221045
"type":"structure",
10231046
"members":{
10241047
"savingsEstimationMode":{"shape":"SavingsEstimationMode"},
1025-
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"}
1048+
"memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
1049+
"preferredCommitment":{"shape":"PreferredCommitment"}
10261050
}
10271051
},
10281052
"Usage":{

apis/cost-optimization-hub/2022-07-26/docs-2.json

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"shapes": {
1414
"AccessDeniedException": {
1515
"base": "<p>You are not authorized to use this operation with the given parameters.</p>",
16-
"refs": {
17-
}
16+
"refs": {}
1817
},
1918
"AccountEnrollmentStatus": {
2019
"base": "<p>Describes the enrollment status of an organization's member accounts in Cost Optimization Hub.</p>",
@@ -278,23 +277,19 @@
278277
},
279278
"GetPreferencesRequest": {
280279
"base": null,
281-
"refs": {
282-
}
280+
"refs": {}
283281
},
284282
"GetPreferencesResponse": {
285283
"base": null,
286-
"refs": {
287-
}
284+
"refs": {}
288285
},
289286
"GetRecommendationRequest": {
290287
"base": null,
291-
"refs": {
292-
}
288+
"refs": {}
293289
},
294290
"GetRecommendationResponse": {
295291
"base": null,
296-
"refs": {
297-
}
292+
"refs": {}
298293
},
299294
"ImplementationEffort": {
300295
"base": null,
@@ -328,8 +323,7 @@
328323
},
329324
"InternalServerException": {
330325
"base": "<p>An error on the server occurred during the processing of your request. Try again later.</p>",
331-
"refs": {
332-
}
326+
"refs": {}
333327
},
334328
"LambdaFunction": {
335329
"base": "<p>The Lambda function recommendation details.</p>",
@@ -345,18 +339,15 @@
345339
},
346340
"ListEnrollmentStatusesRequest": {
347341
"base": null,
348-
"refs": {
349-
}
342+
"refs": {}
350343
},
351344
"ListEnrollmentStatusesResponse": {
352345
"base": null,
353-
"refs": {
354-
}
346+
"refs": {}
355347
},
356348
"ListRecommendationSummariesRequest": {
357349
"base": null,
358-
"refs": {
359-
}
350+
"refs": {}
360351
},
361352
"ListRecommendationSummariesRequestMaxResultsInteger": {
362353
"base": null,
@@ -366,13 +357,11 @@
366357
},
367358
"ListRecommendationSummariesResponse": {
368359
"base": null,
369-
"refs": {
370-
}
360+
"refs": {}
371361
},
372362
"ListRecommendationsRequest": {
373363
"base": null,
374-
"refs": {
375-
}
364+
"refs": {}
376365
},
377366
"ListRecommendationsRequestMaxResultsInteger": {
378367
"base": null,
@@ -382,8 +371,7 @@
382371
},
383372
"ListRecommendationsResponse": {
384373
"base": null,
385-
"refs": {
386-
}
374+
"refs": {}
387375
},
388376
"MaxResults": {
389377
"base": null,
@@ -400,13 +388,13 @@
400388
}
401389
},
402390
"MemoryDbReservedInstances": {
403-
"base": "<p>The MemoryDB reserved instances recommendation details.</p> <note> <p>MemoryDB reserved instances are referred to as \"MemoryDB reserved nodes\" in customer-facing documentation.</p> </note>",
391+
"base": "<p>The MemoryDB reserved instances recommendation details.</p> <note> <p>While the API reference uses \"MemoryDB reserved instances\", the user guide and other documentation refer to them as \"MemoryDB reserved nodes\", as the terms are used interchangeably.</p> </note>",
404392
"refs": {
405393
"ResourceDetails$memoryDbReservedInstances": "<p>The MemoryDB reserved instances recommendation details.</p>"
406394
}
407395
},
408396
"MemoryDbReservedInstancesConfiguration": {
409-
"base": "<p>The MemoryDB reserved instances configuration used for recommendations.</p> <note> <p>MemoryDB reserved instances are referred to as \"MemoryDB reserved nodes\" in customer-facing documentation.</p> </note>",
397+
"base": "<p>The MemoryDB reserved instances configuration used for recommendations.</p> <note> <p>While the API reference uses \"MemoryDB reserved instances\", the user guide and other documentation refer to them as \"MemoryDB reserved nodes\", as the terms are used interchangeably.</p> </note>",
410398
"refs": {
411399
"MemoryDbReservedInstances$configuration": "<p>The MemoryDB reserved instances configuration used for recommendations.</p>"
412400
}
@@ -447,6 +435,20 @@
447435
"ListRecommendationsRequest$orderBy": "<p>The ordering of recommendations by a dimension.</p>"
448436
}
449437
},
438+
"PaymentOption": {
439+
"base": null,
440+
"refs": {
441+
"PreferredCommitment$paymentOption": "<p>The preferred upfront payment structure for commitments. If the value is null, it will default to <code>AllUpfront</code> (highest savings) where applicable.</p>"
442+
}
443+
},
444+
"PreferredCommitment": {
445+
"base": "<p>The preferred configuration for Reserved Instances and Savings Plans commitment-based discounts, consisting of a payment option and a commitment duration.</p>",
446+
"refs": {
447+
"GetPreferencesResponse$preferredCommitment": "<p>Retrieves the current preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>",
448+
"UpdatePreferencesRequest$preferredCommitment": "<p>Sets the preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>",
449+
"UpdatePreferencesResponse$preferredCommitment": "<p>Shows the updated preferences for how Reserved Instances and Savings Plans cost-saving opportunities are prioritized in terms of payment option and term length.</p>"
450+
}
451+
},
450452
"PrimitiveBoolean": {
451453
"base": null,
452454
"refs": {
@@ -589,8 +591,7 @@
589591
},
590592
"ResourceNotFoundException": {
591593
"base": "<p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>",
592-
"refs": {
593-
}
594+
"refs": {}
594595
},
595596
"ResourcePricing": {
596597
"base": "<p>Contains pricing information about the specified resource.</p>",
@@ -855,11 +856,16 @@
855856
"Recommendation$tags": "<p>A list of tags assigned to the recommendation.</p>"
856857
}
857858
},
858-
"ThrottlingException": {
859-
"base": "<p>The request was denied due to request throttling.</p>",
859+
"Term": {
860+
"base": null,
860861
"refs": {
862+
"PreferredCommitment$term": "<p>The preferred length of the commitment period. If the value is null, it will default to <code>ThreeYears</code> (highest savings) where applicable.</p>"
861863
}
862864
},
865+
"ThrottlingException": {
866+
"base": "<p>The request was denied due to request throttling.</p>",
867+
"refs": {}
868+
},
863869
"Timestamp": {
864870
"base": null,
865871
"refs": {
@@ -869,23 +875,19 @@
869875
},
870876
"UpdateEnrollmentStatusRequest": {
871877
"base": null,
872-
"refs": {
873-
}
878+
"refs": {}
874879
},
875880
"UpdateEnrollmentStatusResponse": {
876881
"base": null,
877-
"refs": {
878-
}
882+
"refs": {}
879883
},
880884
"UpdatePreferencesRequest": {
881885
"base": null,
882-
"refs": {
883-
}
886+
"refs": {}
884887
},
885888
"UpdatePreferencesResponse": {
886889
"base": null,
887-
"refs": {
888-
}
890+
"refs": {}
889891
},
890892
"Usage": {
891893
"base": "<p>Details about the usage.</p>",
@@ -901,8 +903,7 @@
901903
},
902904
"ValidationException": {
903905
"base": "<p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>",
904-
"refs": {
905-
}
906+
"refs": {}
906907
},
907908
"ValidationExceptionDetail": {
908909
"base": "<p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>",
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

apis/ec2/2016-11-15/api-2.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15786,6 +15786,26 @@
1578615786
}
1578715787
}
1578815788
},
15789+
"DeleteSnapshotResultSet":{
15790+
"type":"list",
15791+
"member":{
15792+
"shape":"DeleteSnapshotReturnCode",
15793+
"locationName":"item"
15794+
}
15795+
},
15796+
"DeleteSnapshotReturnCode":{
15797+
"type":"structure",
15798+
"members":{
15799+
"SnapshotId":{
15800+
"shape":"SnapshotId",
15801+
"locationName":"snapshotId"
15802+
},
15803+
"ReturnCode":{
15804+
"shape":"SnapshotReturnCodes",
15805+
"locationName":"returnCode"
15806+
}
15807+
}
15808+
},
1578915809
"DeleteSpotDatafeedSubscriptionRequest":{
1579015810
"type":"structure",
1579115811
"members":{
@@ -16436,6 +16456,7 @@
1643616456
"required":["ImageId"],
1643716457
"members":{
1643816458
"ImageId":{"shape":"ImageId"},
16459+
"DeleteAssociatedSnapshots":{"shape":"Boolean"},
1643916460
"DryRun":{
1644016461
"shape":"Boolean",
1644116462
"locationName":"dryRun"
@@ -16445,7 +16466,15 @@
1644516466
"DeregisterImageResult":{
1644616467
"type":"structure",
1644716468
"members":{
16448-
}
16469+
"Return":{
16470+
"shape":"Boolean",
16471+
"locationName":"return"
16472+
},
16473+
"DeleteSnapshotResults":{
16474+
"shape":"DeleteSnapshotResultSet",
16475+
"locationName":"deleteSnapshotResultSet"
16476+
}
16477+
}
1644916478
},
1645016479
"DeregisterInstanceEventNotificationAttributesRequest":{
1645116480
"type":"structure",
@@ -46097,6 +46126,16 @@
4609746126
"locationName":"item"
4609846127
}
4609946128
},
46129+
"SnapshotReturnCodes":{
46130+
"type":"string",
46131+
"enum":[
46132+
"success",
46133+
"skipped",
46134+
"missing-permissions",
46135+
"internal-error",
46136+
"client-error"
46137+
]
46138+
},
4610046139
"SnapshotSet":{
4610146140
"type":"list",
4610246141
"member":{

0 commit comments

Comments
 (0)