Debian Codegraph @

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

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2022-07-26",
5 "endpointPrefix":"cost-optimization-hub",
6 "jsonVersion":"1.0",
7 "protocol":"json",
8 "serviceFullName":"Cost Optimization Hub",
9 "serviceId":"Cost Optimization Hub",
10 "signatureVersion":"v4",
11 "signingName":"cost-optimization-hub",
12 "targetPrefix":"CostOptimizationHubService",
13 "uid":"cost-optimization-hub-2022-07-26"
14 },
15 "operations":{
16 "GetPreferences":{
17 "name":"GetPreferences",
18 "http":{
19 "method":"POST",
20 "requestUri":"/"
21 },
22 "input":{"shape":"GetPreferencesRequest"},
23 "output":{"shape":"GetPreferencesResponse"},
24 "errors":[
25 {"shape":"ValidationException"},
26 {"shape":"InternalServerException"},
27 {"shape":"AccessDeniedException"},
28 {"shape":"ThrottlingException"}
29 ]
30 },
31 "GetRecommendation":{
32 "name":"GetRecommendation",
33 "http":{
34 "method":"POST",
35 "requestUri":"/"
36 },
37 "input":{"shape":"GetRecommendationRequest"},
38 "output":{"shape":"GetRecommendationResponse"},
39 "errors":[
40 {"shape":"ValidationException"},
41 {"shape":"InternalServerException"},
42 {"shape":"AccessDeniedException"},
43 {"shape":"ResourceNotFoundException"},
44 {"shape":"ThrottlingException"}
45 ]
46 },
47 "ListEnrollmentStatuses":{
48 "name":"ListEnrollmentStatuses",
49 "http":{
50 "method":"POST",
51 "requestUri":"/"
52 },
53 "input":{"shape":"ListEnrollmentStatusesRequest"},
54 "output":{"shape":"ListEnrollmentStatusesResponse"},
55 "errors":[
56 {"shape":"ValidationException"},
57 {"shape":"InternalServerException"},
58 {"shape":"AccessDeniedException"},
59 {"shape":"ThrottlingException"}
60 ]
61 },
62 "ListRecommendationSummaries":{
63 "name":"ListRecommendationSummaries",
64 "http":{
65 "method":"POST",
66 "requestUri":"/"
67 },
68 "input":{"shape":"ListRecommendationSummariesRequest"},
69 "output":{"shape":"ListRecommendationSummariesResponse"},
70 "errors":[
71 {"shape":"ValidationException"},
72 {"shape":"InternalServerException"},
73 {"shape":"AccessDeniedException"},
74 {"shape":"ThrottlingException"}
75 ]
76 },
77 "ListRecommendations":{
78 "name":"ListRecommendations",
79 "http":{
80 "method":"POST",
81 "requestUri":"/"
82 },
83 "input":{"shape":"ListRecommendationsRequest"},
84 "output":{"shape":"ListRecommendationsResponse"},
85 "errors":[
86 {"shape":"ValidationException"},
87 {"shape":"InternalServerException"},
88 {"shape":"AccessDeniedException"},
89 {"shape":"ThrottlingException"}
90 ]
91 },
92 "UpdateEnrollmentStatus":{
93 "name":"UpdateEnrollmentStatus",
94 "http":{
95 "method":"POST",
96 "requestUri":"/"
97 },
98 "input":{"shape":"UpdateEnrollmentStatusRequest"},
99 "output":{"shape":"UpdateEnrollmentStatusResponse"},
100 "errors":[
101 {"shape":"ValidationException"},
102 {"shape":"InternalServerException"},
103 {"shape":"AccessDeniedException"},
104 {"shape":"ThrottlingException"}
105 ]
106 },
107 "UpdatePreferences":{
108 "name":"UpdatePreferences",
109 "http":{
110 "method":"POST",
111 "requestUri":"/"
112 },
113 "input":{"shape":"UpdatePreferencesRequest"},
114 "output":{"shape":"UpdatePreferencesResponse"},
115 "errors":[
116 {"shape":"ValidationException"},
117 {"shape":"InternalServerException"},
118 {"shape":"AccessDeniedException"},
119 {"shape":"ThrottlingException"}
120 ]
121 }
122 },
123 "shapes":{
124 "AccessDeniedException":{
125 "type":"structure",
126 "required":["message"],
127 "members":{
128 "message":{"shape":"String"}
129 },
130 "exception":true
131 },
132 "AccountEnrollmentStatus":{
133 "type":"structure",
134 "members":{
135 "accountId":{"shape":"AccountId"},
136 "createdTimestamp":{"shape":"Timestamp"},
137 "lastUpdatedTimestamp":{"shape":"Timestamp"},
138 "status":{"shape":"EnrollmentStatus"}
139 }
140 },
141 "AccountEnrollmentStatuses":{
142 "type":"list",
143 "member":{"shape":"AccountEnrollmentStatus"}
144 },
145 "AccountId":{
146 "type":"string",
147 "pattern":"^[0-9]{12}$"
148 },
149 "AccountIdList":{
150 "type":"list",
151 "member":{"shape":"AccountId"},
152 "max":100,
153 "min":1
154 },
155 "ActionType":{
156 "type":"string",
157 "enum":[
158 "Rightsize",
159 "Stop",
160 "Upgrade",
161 "PurchaseSavingsPlans",
162 "PurchaseReservedInstances",
163 "MigrateToGraviton"
164 ]
165 },
166 "ActionTypeList":{
167 "type":"list",
168 "member":{"shape":"ActionType"},
169 "max":100,
170 "min":1
171 },
172 "BlockStoragePerformanceConfiguration":{
173 "type":"structure",
174 "members":{
175 "iops":{"shape":"Double"},
176 "throughput":{"shape":"Double"}
177 }
178 },
179 "Boolean":{
180 "type":"boolean",
181 "box":true
182 },
183 "ComputeConfiguration":{
184 "type":"structure",
185 "members":{
186 "architecture":{"shape":"String"},
187 "memorySizeInMB":{"shape":"Integer"},
188 "platform":{"shape":"String"},
189 "vCpu":{"shape":"Double"}
190 }
191 },
192 "ComputeSavingsPlans":{
193 "type":"structure",
194 "members":{
195 "configuration":{"shape":"ComputeSavingsPlansConfiguration"},
196 "costCalculation":{"shape":"SavingsPlansCostCalculation"}
197 }
198 },
199 "ComputeSavingsPlansConfiguration":{
200 "type":"structure",
201 "members":{
202 "accountScope":{"shape":"String"},
203 "hourlyCommitment":{"shape":"String"},
204 "paymentOption":{"shape":"String"},
205 "term":{"shape":"String"}
206 }
207 },
208 "Datetime":{"type":"timestamp"},
209 "Double":{
210 "type":"double",
211 "box":true
212 },
213 "EbsVolume":{
214 "type":"structure",
215 "members":{
216 "configuration":{"shape":"EbsVolumeConfiguration"},
217 "costCalculation":{"shape":"ResourceCostCalculation"}
218 }
219 },
220 "EbsVolumeConfiguration":{
221 "type":"structure",
222 "members":{
223 "attachmentState":{"shape":"String"},
224 "performance":{"shape":"BlockStoragePerformanceConfiguration"},
225 "storage":{"shape":"StorageConfiguration"}
226 }
227 },
228 "Ec2AutoScalingGroup":{
229 "type":"structure",
230 "members":{
231 "configuration":{"shape":"Ec2AutoScalingGroupConfiguration"},
232 "costCalculation":{"shape":"ResourceCostCalculation"}
233 }
234 },
235 "Ec2AutoScalingGroupConfiguration":{
236 "type":"structure",
237 "members":{
238 "instance":{"shape":"InstanceConfiguration"}
239 }
240 },
241 "Ec2Instance":{
242 "type":"structure",
243 "members":{
244 "configuration":{"shape":"Ec2InstanceConfiguration"},
245 "costCalculation":{"shape":"ResourceCostCalculation"}
246 }
247 },
248 "Ec2InstanceConfiguration":{
249 "type":"structure",
250 "members":{
251 "instance":{"shape":"InstanceConfiguration"}
252 }
253 },
254 "Ec2InstanceSavingsPlans":{
255 "type":"structure",
256 "members":{
257 "configuration":{"shape":"Ec2InstanceSavingsPlansConfiguration"},
258 "costCalculation":{"shape":"SavingsPlansCostCalculation"}
259 }
260 },
261 "Ec2InstanceSavingsPlansConfiguration":{
262 "type":"structure",
263 "members":{
264 "accountScope":{"shape":"String"},
265 "hourlyCommitment":{"shape":"String"},
266 "instanceFamily":{"shape":"String"},
267 "paymentOption":{"shape":"String"},
268 "savingsPlansRegion":{"shape":"String"},
269 "term":{"shape":"String"}
270 }
271 },
272 "Ec2ReservedInstances":{
273 "type":"structure",
274 "members":{
275 "configuration":{"shape":"Ec2ReservedInstancesConfiguration"},
276 "costCalculation":{"shape":"ReservedInstancesCostCalculation"}
277 }
278 },
279 "Ec2ReservedInstancesConfiguration":{
280 "type":"structure",
281 "members":{
282 "accountScope":{"shape":"String"},
283 "currentGeneration":{"shape":"String"},
284 "instanceFamily":{"shape":"String"},
285 "instanceType":{"shape":"String"},
286 "monthlyRecurringCost":{"shape":"String"},
287 "normalizedUnitsToPurchase":{"shape":"String"},
288 "numberOfInstancesToPurchase":{"shape":"String"},
289 "offeringClass":{"shape":"String"},
290 "paymentOption":{"shape":"String"},
291 "platform":{"shape":"String"},
292 "reservedInstancesRegion":{"shape":"String"},
293 "service":{"shape":"String"},
294 "sizeFlexEligible":{"shape":"Boolean"},
295 "tenancy":{"shape":"String"},
296 "term":{"shape":"String"},
297 "upfrontCost":{"shape":"String"}
298 }
299 },
300 "EcsService":{
301 "type":"structure",
302 "members":{
303 "configuration":{"shape":"EcsServiceConfiguration"},
304 "costCalculation":{"shape":"ResourceCostCalculation"}
305 }
306 },
307 "EcsServiceConfiguration":{
308 "type":"structure",
309 "members":{
310 "compute":{"shape":"ComputeConfiguration"}
311 }
312 },
313 "ElastiCacheReservedInstances":{
314 "type":"structure",
315 "members":{
316 "configuration":{"shape":"ElastiCacheReservedInstancesConfiguration"},
317 "costCalculation":{"shape":"ReservedInstancesCostCalculation"}
318 }
319 },
320 "ElastiCacheReservedInstancesConfiguration":{
321 "type":"structure",
322 "members":{
323 "accountScope":{"shape":"String"},
324 "currentGeneration":{"shape":"String"},
325 "instanceFamily":{"shape":"String"},
326 "instanceType":{"shape":"String"},
327 "monthlyRecurringCost":{"shape":"String"},
328 "normalizedUnitsToPurchase":{"shape":"String"},
329 "numberOfInstancesToPurchase":{"shape":"String"},
330 "paymentOption":{"shape":"String"},
331 "reservedInstancesRegion":{"shape":"String"},
332 "service":{"shape":"String"},
333 "sizeFlexEligible":{"shape":"Boolean"},
334 "term":{"shape":"String"},
335 "upfrontCost":{"shape":"String"}
336 }
337 },
338 "EnrollmentStatus":{
339 "type":"string",
340 "enum":[
341 "Active",
342 "Inactive"
343 ]
344 },
345 "EstimatedDiscounts":{
346 "type":"structure",
347 "members":{
348 "otherDiscount":{"shape":"Double"},
349 "reservedInstancesDiscount":{"shape":"Double"},
350 "savingsPlansDiscount":{"shape":"Double"}
351 }
352 },
353 "Filter":{
354 "type":"structure",
355 "members":{
356 "accountIds":{"shape":"AccountIdList"},
357 "actionTypes":{"shape":"ActionTypeList"},
358 "implementationEfforts":{"shape":"ImplementationEffortList"},
359 "recommendationIds":{"shape":"RecommendationIdList"},
360 "regions":{"shape":"RegionList"},
361 "resourceArns":{"shape":"ResourceArnList"},
362 "resourceIds":{"shape":"ResourceIdList"},
363 "resourceTypes":{"shape":"ResourceTypeList"},
364 "restartNeeded":{"shape":"Boolean"},
365 "rollbackPossible":{"shape":"Boolean"},
366 "tags":{"shape":"TagList"}
367 }
368 },
369 "GetPreferencesRequest":{
370 "type":"structure",
371 "members":{
372 }
373 },
374 "GetPreferencesResponse":{
375 "type":"structure",
376 "members":{
377 "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
378 "savingsEstimationMode":{"shape":"SavingsEstimationMode"}
379 }
380 },
381 "GetRecommendationRequest":{
382 "type":"structure",
383 "required":["recommendationId"],
384 "members":{
385 "recommendationId":{"shape":"String"}
386 }
387 },
388 "GetRecommendationResponse":{
389 "type":"structure",
390 "members":{
391 "accountId":{"shape":"String"},
392 "actionType":{"shape":"ActionType"},
393 "costCalculationLookbackPeriodInDays":{"shape":"Integer"},
394 "currencyCode":{"shape":"String"},
395 "currentResourceDetails":{"shape":"ResourceDetails"},
396 "currentResourceType":{"shape":"ResourceType"},
397 "estimatedMonthlyCost":{"shape":"Double"},
398 "estimatedMonthlySavings":{"shape":"Double"},
399 "estimatedSavingsOverCostCalculationLookbackPeriod":{"shape":"Double"},
400 "estimatedSavingsPercentage":{"shape":"Double"},
401 "implementationEffort":{"shape":"ImplementationEffort"},
402 "lastRefreshTimestamp":{"shape":"Datetime"},
403 "recommendationId":{"shape":"String"},
404 "recommendationLookbackPeriodInDays":{"shape":"Integer"},
405 "recommendedResourceDetails":{"shape":"ResourceDetails"},
406 "recommendedResourceType":{"shape":"ResourceType"},
407 "region":{"shape":"String"},
408 "resourceArn":{"shape":"String"},
409 "resourceId":{"shape":"String"},
410 "restartNeeded":{"shape":"Boolean"},
411 "rollbackPossible":{"shape":"Boolean"},
412 "source":{"shape":"Source"},
413 "tags":{"shape":"TagList"}
414 }
415 },
416 "ImplementationEffort":{
417 "type":"string",
418 "enum":[
419 "VeryLow",
420 "Low",
421 "Medium",
422 "High",
423 "VeryHigh"
424 ]
425 },
426 "ImplementationEffortList":{
427 "type":"list",
428 "member":{"shape":"ImplementationEffort"},
429 "max":100,
430 "min":1
431 },
432 "InstanceConfiguration":{
433 "type":"structure",
434 "members":{
435 "type":{"shape":"String"}
436 }
437 },
438 "Integer":{
439 "type":"integer",
440 "box":true
441 },
442 "InternalServerException":{
443 "type":"structure",
444 "required":["message"],
445 "members":{
446 "message":{"shape":"String"}
447 },
448 "exception":true,
449 "fault":true
450 },
451 "LambdaFunction":{
452 "type":"structure",
453 "members":{
454 "configuration":{"shape":"LambdaFunctionConfiguration"},
455 "costCalculation":{"shape":"ResourceCostCalculation"}
456 }
457 },
458 "LambdaFunctionConfiguration":{
459 "type":"structure",
460 "members":{
461 "compute":{"shape":"ComputeConfiguration"}
462 }
463 },
464 "ListEnrollmentStatusesRequest":{
465 "type":"structure",
466 "members":{
467 "accountId":{"shape":"AccountId"},
468 "includeOrganizationInfo":{"shape":"PrimitiveBoolean"},
469 "maxResults":{"shape":"MaxResults"},
470 "nextToken":{"shape":"String"}
471 }
472 },
473 "ListEnrollmentStatusesResponse":{
474 "type":"structure",
475 "members":{
476 "items":{"shape":"AccountEnrollmentStatuses"},
477 "nextToken":{"shape":"String"}
478 }
479 },
480 "ListRecommendationSummariesRequest":{
481 "type":"structure",
482 "required":["groupBy"],
483 "members":{
484 "filter":{"shape":"Filter"},
485 "groupBy":{"shape":"String"},
486 "maxResults":{"shape":"ListRecommendationSummariesRequestMaxResultsInteger"},
487 "nextToken":{"shape":"String"}
488 }
489 },
490 "ListRecommendationSummariesRequestMaxResultsInteger":{
491 "type":"integer",
492 "box":true,
493 "max":1000,
494 "min":0
495 },
496 "ListRecommendationSummariesResponse":{
497 "type":"structure",
498 "members":{
499 "currencyCode":{"shape":"String"},
500 "estimatedTotalDedupedSavings":{"shape":"Double"},
501 "groupBy":{"shape":"String"},
502 "items":{"shape":"RecommendationSummariesList"},
503 "nextToken":{"shape":"String"}
504 }
505 },
506 "ListRecommendationsRequest":{
507 "type":"structure",
508 "members":{
509 "filter":{"shape":"Filter"},
510 "includeAllRecommendations":{"shape":"PrimitiveBoolean"},
511 "maxResults":{"shape":"ListRecommendationsRequestMaxResultsInteger"},
512 "nextToken":{"shape":"String"},
513 "orderBy":{"shape":"OrderBy"}
514 }
515 },
516 "ListRecommendationsRequestMaxResultsInteger":{
517 "type":"integer",
518 "box":true,
519 "max":1000,
520 "min":0
521 },
522 "ListRecommendationsResponse":{
523 "type":"structure",
524 "members":{
525 "items":{"shape":"RecommendationList"},
526 "nextToken":{"shape":"String"}
527 }
528 },
529 "MaxResults":{
530 "type":"integer",
531 "box":true,
532 "max":100,
533 "min":0
534 },
535 "MemberAccountDiscountVisibility":{
536 "type":"string",
537 "enum":[
538 "All",
539 "None"
540 ]
541 },
542 "OpenSearchReservedInstances":{
543 "type":"structure",
544 "members":{
545 "configuration":{"shape":"OpenSearchReservedInstancesConfiguration"},
546 "costCalculation":{"shape":"ReservedInstancesCostCalculation"}
547 }
548 },
549 "OpenSearchReservedInstancesConfiguration":{
550 "type":"structure",
551 "members":{
552 "accountScope":{"shape":"String"},
553 "currentGeneration":{"shape":"String"},
554 "instanceType":{"shape":"String"},
555 "monthlyRecurringCost":{"shape":"String"},
556 "normalizedUnitsToPurchase":{"shape":"String"},
557 "numberOfInstancesToPurchase":{"shape":"String"},
558 "paymentOption":{"shape":"String"},
559 "reservedInstancesRegion":{"shape":"String"},
560 "service":{"shape":"String"},
561 "sizeFlexEligible":{"shape":"Boolean"},
562 "term":{"shape":"String"},
563 "upfrontCost":{"shape":"String"}
564 }
565 },
566 "Order":{
567 "type":"string",
568 "enum":[
569 "Asc",
570 "Desc"
571 ]
572 },
573 "OrderBy":{
574 "type":"structure",
575 "members":{
576 "dimension":{"shape":"String"},
577 "order":{"shape":"Order"}
578 }
579 },
580 "PrimitiveBoolean":{"type":"boolean"},
581 "RdsReservedInstances":{
582 "type":"structure",
583 "members":{
584 "configuration":{"shape":"RdsReservedInstancesConfiguration"},
585 "costCalculation":{"shape":"ReservedInstancesCostCalculation"}
586 }
587 },
588 "RdsReservedInstancesConfiguration":{
589 "type":"structure",
590 "members":{
591 "accountScope":{"shape":"String"},
592 "currentGeneration":{"shape":"String"},
593 "databaseEdition":{"shape":"String"},
594 "databaseEngine":{"shape":"String"},
595 "deploymentOption":{"shape":"String"},
596 "instanceFamily":{"shape":"String"},
597 "instanceType":{"shape":"String"},
598 "licenseModel":{"shape":"String"},
599 "monthlyRecurringCost":{"shape":"String"},
600 "normalizedUnitsToPurchase":{"shape":"String"},
601 "numberOfInstancesToPurchase":{"shape":"String"},
602 "paymentOption":{"shape":"String"},
603 "reservedInstancesRegion":{"shape":"String"},
604 "service":{"shape":"String"},
605 "sizeFlexEligible":{"shape":"Boolean"},
606 "term":{"shape":"String"},
607 "upfrontCost":{"shape":"String"}
608 }
609 },
610 "Recommendation":{
611 "type":"structure",
612 "members":{
613 "accountId":{"shape":"String"},
614 "actionType":{"shape":"String"},
615 "currencyCode":{"shape":"String"},
616 "currentResourceSummary":{"shape":"String"},
617 "currentResourceType":{"shape":"String"},
618 "estimatedMonthlyCost":{"shape":"Double"},
619 "estimatedMonthlySavings":{"shape":"Double"},
620 "estimatedSavingsPercentage":{"shape":"Double"},
621 "implementationEffort":{"shape":"String"},
622 "lastRefreshTimestamp":{"shape":"Datetime"},
623 "recommendationId":{"shape":"String"},
624 "recommendationLookbackPeriodInDays":{"shape":"Integer"},
625 "recommendedResourceSummary":{"shape":"String"},
626 "recommendedResourceType":{"shape":"String"},
627 "region":{"shape":"String"},
628 "resourceArn":{"shape":"String"},
629 "resourceId":{"shape":"String"},
630 "restartNeeded":{"shape":"Boolean"},
631 "rollbackPossible":{"shape":"Boolean"},
632 "source":{"shape":"Source"},
633 "tags":{"shape":"TagList"}
634 }
635 },
636 "RecommendationIdList":{
637 "type":"list",
638 "member":{"shape":"String"},
639 "max":100,
640 "min":1
641 },
642 "RecommendationList":{
643 "type":"list",
644 "member":{"shape":"Recommendation"}
645 },
646 "RecommendationSummariesList":{
647 "type":"list",
648 "member":{"shape":"RecommendationSummary"}
649 },
650 "RecommendationSummary":{
651 "type":"structure",
652 "members":{
653 "estimatedMonthlySavings":{"shape":"Double"},
654 "group":{"shape":"String"},
655 "recommendationCount":{"shape":"Integer"}
656 }
657 },
658 "RedshiftReservedInstances":{
659 "type":"structure",
660 "members":{
661 "configuration":{"shape":"RedshiftReservedInstancesConfiguration"},
662 "costCalculation":{"shape":"ReservedInstancesCostCalculation"}
663 }
664 },
665 "RedshiftReservedInstancesConfiguration":{
666 "type":"structure",
667 "members":{
668 "accountScope":{"shape":"String"},
669 "currentGeneration":{"shape":"String"},
670 "instanceFamily":{"shape":"String"},
671 "instanceType":{"shape":"String"},
672 "monthlyRecurringCost":{"shape":"String"},
673 "normalizedUnitsToPurchase":{"shape":"String"},
674 "numberOfInstancesToPurchase":{"shape":"String"},
675 "paymentOption":{"shape":"String"},
676 "reservedInstancesRegion":{"shape":"String"},
677 "service":{"shape":"String"},
678 "sizeFlexEligible":{"shape":"Boolean"},
679 "term":{"shape":"String"},
680 "upfrontCost":{"shape":"String"}
681 }
682 },
683 "RegionList":{
684 "type":"list",
685 "member":{"shape":"String"},
686 "max":100,
687 "min":1
688 },
689 "ReservedInstancesCostCalculation":{
690 "type":"structure",
691 "members":{
692 "pricing":{"shape":"ReservedInstancesPricing"}
693 }
694 },
695 "ReservedInstancesPricing":{
696 "type":"structure",
697 "members":{
698 "estimatedMonthlyAmortizedReservationCost":{"shape":"Double"},
699 "estimatedOnDemandCost":{"shape":"Double"},
700 "monthlyReservationEligibleCost":{"shape":"Double"},
701 "savingsPercentage":{"shape":"Double"}
702 }
703 },
704 "ResourceArnList":{
705 "type":"list",
706 "member":{"shape":"String"},
707 "max":100,
708 "min":1
709 },
710 "ResourceCostCalculation":{
711 "type":"structure",
712 "members":{
713 "pricing":{"shape":"ResourcePricing"},
714 "usages":{"shape":"UsageList"}
715 }
716 },
717 "ResourceDetails":{
718 "type":"structure",
719 "members":{
720 "computeSavingsPlans":{"shape":"ComputeSavingsPlans"},
721 "ebsVolume":{"shape":"EbsVolume"},
722 "ec2AutoScalingGroup":{"shape":"Ec2AutoScalingGroup"},
723 "ec2Instance":{"shape":"Ec2Instance"},
724 "ec2InstanceSavingsPlans":{"shape":"Ec2InstanceSavingsPlans"},
725 "ec2ReservedInstances":{"shape":"Ec2ReservedInstances"},
726 "ecsService":{"shape":"EcsService"},
727 "elastiCacheReservedInstances":{"shape":"ElastiCacheReservedInstances"},
728 "lambdaFunction":{"shape":"LambdaFunction"},
729 "openSearchReservedInstances":{"shape":"OpenSearchReservedInstances"},
730 "rdsReservedInstances":{"shape":"RdsReservedInstances"},
731 "redshiftReservedInstances":{"shape":"RedshiftReservedInstances"},
732 "sageMakerSavingsPlans":{"shape":"SageMakerSavingsPlans"}
733 },
734 "union":true
735 },
736 "ResourceIdList":{
737 "type":"list",
738 "member":{"shape":"String"},
739 "max":100,
740 "min":1
741 },
742 "ResourceNotFoundException":{
743 "type":"structure",
744 "required":[
745 "message",
746 "resourceId"
747 ],
748 "members":{
749 "message":{"shape":"String"},
750 "resourceId":{"shape":"String"}
751 },
752 "exception":true
753 },
754 "ResourcePricing":{
755 "type":"structure",
756 "members":{
757 "estimatedCostAfterDiscounts":{"shape":"Double"},
758 "estimatedCostBeforeDiscounts":{"shape":"Double"},
759 "estimatedDiscounts":{"shape":"EstimatedDiscounts"},
760 "estimatedNetUnusedAmortizedCommitments":{"shape":"Double"}
761 }
762 },
763 "ResourceType":{
764 "type":"string",
765 "enum":[
766 "Ec2Instance",
767 "LambdaFunction",
768 "EbsVolume",
769 "EcsService",
770 "Ec2AutoScalingGroup",
771 "Ec2InstanceSavingsPlans",
772 "ComputeSavingsPlans",
773 "SageMakerSavingsPlans",
774 "Ec2ReservedInstances",
775 "RdsReservedInstances",
776 "OpenSearchReservedInstances",
777 "RedshiftReservedInstances",
778 "ElastiCacheReservedInstances"
779 ]
780 },
781 "ResourceTypeList":{
782 "type":"list",
783 "member":{"shape":"ResourceType"},
784 "max":100,
785 "min":1
786 },
787 "SageMakerSavingsPlans":{
788 "type":"structure",
789 "members":{
790 "configuration":{"shape":"SageMakerSavingsPlansConfiguration"},
791 "costCalculation":{"shape":"SavingsPlansCostCalculation"}
792 }
793 },
794 "SageMakerSavingsPlansConfiguration":{
795 "type":"structure",
796 "members":{
797 "accountScope":{"shape":"String"},
798 "hourlyCommitment":{"shape":"String"},
799 "paymentOption":{"shape":"String"},
800 "term":{"shape":"String"}
801 }
802 },
803 "SavingsEstimationMode":{
804 "type":"string",
805 "enum":[
806 "BeforeDiscounts",
807 "AfterDiscounts"
808 ]
809 },
810 "SavingsPlansCostCalculation":{
811 "type":"structure",
812 "members":{
813 "pricing":{"shape":"SavingsPlansPricing"}
814 }
815 },
816 "SavingsPlansPricing":{
817 "type":"structure",
818 "members":{
819 "estimatedMonthlyCommitment":{"shape":"Double"},
820 "estimatedOnDemandCost":{"shape":"Double"},
821 "monthlySavingsPlansEligibleCost":{"shape":"Double"},
822 "savingsPercentage":{"shape":"Double"}
823 }
824 },
825 "Source":{
826 "type":"string",
827 "enum":[
828 "ComputeOptimizer",
829 "CostExplorer"
830 ]
831 },
832 "StorageConfiguration":{
833 "type":"structure",
834 "members":{
835 "sizeInGb":{"shape":"Double"},
836 "type":{"shape":"String"}
837 }
838 },
839 "String":{"type":"string"},
840 "Tag":{
841 "type":"structure",
842 "members":{
843 "key":{"shape":"String"},
844 "value":{"shape":"String"}
845 }
846 },
847 "TagList":{
848 "type":"list",
849 "member":{"shape":"Tag"},
850 "max":100,
851 "min":1
852 },
853 "ThrottlingException":{
854 "type":"structure",
855 "members":{
856 "message":{"shape":"String"}
857 },
858 "exception":true
859 },
860 "Timestamp":{"type":"timestamp"},
861 "UpdateEnrollmentStatusRequest":{
862 "type":"structure",
863 "required":["status"],
864 "members":{
865 "includeMemberAccounts":{"shape":"Boolean"},
866 "status":{"shape":"EnrollmentStatus"}
867 }
868 },
869 "UpdateEnrollmentStatusResponse":{
870 "type":"structure",
871 "members":{
872 "status":{"shape":"String"}
873 }
874 },
875 "UpdatePreferencesRequest":{
876 "type":"structure",
877 "members":{
878 "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
879 "savingsEstimationMode":{"shape":"SavingsEstimationMode"}
880 }
881 },
882 "UpdatePreferencesResponse":{
883 "type":"structure",
884 "members":{
885 "memberAccountDiscountVisibility":{"shape":"MemberAccountDiscountVisibility"},
886 "savingsEstimationMode":{"shape":"SavingsEstimationMode"}
887 }
888 },
889 "Usage":{
890 "type":"structure",
891 "members":{
892 "operation":{"shape":"String"},
893 "productCode":{"shape":"String"},
894 "unit":{"shape":"String"},
895 "usageAmount":{"shape":"Double"},
896 "usageType":{"shape":"String"}
897 }
898 },
899 "UsageList":{
900 "type":"list",
901 "member":{"shape":"Usage"}
902 },
903 "ValidationException":{
904 "type":"structure",
905 "required":["message"],
906 "members":{
907 "fields":{"shape":"ValidationExceptionDetails"},
908 "message":{"shape":"String"},
909 "reason":{"shape":"ValidationExceptionReason"}
910 },
911 "exception":true
912 },
913 "ValidationExceptionDetail":{
914 "type":"structure",
915 "required":[
916 "fieldName",
917 "message"
918 ],
919 "members":{
920 "fieldName":{"shape":"String"},
921 "message":{"shape":"String"}
922 }
923 },
924 "ValidationExceptionDetails":{
925 "type":"list",
926 "member":{"shape":"ValidationExceptionDetail"}
927 },
928 "ValidationExceptionReason":{
929 "type":"string",
930 "enum":[
931 "FieldValidationFailed",
932 "Other"
933 ]
934 }
935 }
936 }