@aws-sdk/client-cost-explorer 3.105.0 → 3.110.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/CostExplorer.js +30 -0
- package/dist-cjs/commands/ListCostAllocationTagsCommand.js +36 -0
- package/dist-cjs/commands/UpdateCostAllocationTagsStatusCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +54 -2
- package/dist-cjs/pagination/ListCostAllocationTagsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +192 -2
- package/dist-es/CostExplorer.js +30 -0
- package/dist-es/commands/ListCostAllocationTagsCommand.js +39 -0
- package/dist-es/commands/UpdateCostAllocationTagsStatusCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/ListCostAllocationTagsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +210 -0
- package/dist-types/CostExplorer.d.ts +63 -29
- package/dist-types/CostExplorerClient.d.ts +4 -2
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +6 -2
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +3 -1
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +6 -3
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +16 -10
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +2 -6
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +1 -1
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +36 -0
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +7 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -3
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +403 -227
- package/dist-types/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/CostExplorer.d.ts +10 -0
- package/dist-types/ts3.4/CostExplorerClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCostAllocationTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCostAllocationTagsStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +87 -0
- package/dist-types/ts3.4/pagination/ListCostAllocationTagsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +29 -29
|
@@ -48,12 +48,12 @@ export declare namespace Impact {
|
|
|
48
48
|
const filterSensitiveLog: (obj: Impact) => any;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* <p>The combination of Amazon Web
|
|
51
|
+
* <p>The combination of Amazon Web Service, linked account, Region, and usage type
|
|
52
52
|
* where a cost anomaly is observed. </p>
|
|
53
53
|
*/
|
|
54
54
|
export interface RootCause {
|
|
55
55
|
/**
|
|
56
|
-
* <p>The Amazon Web
|
|
56
|
+
* <p>The Amazon Web Service name that's associated with the cost anomaly. </p>
|
|
57
57
|
*/
|
|
58
58
|
Service?: string;
|
|
59
59
|
/**
|
|
@@ -93,7 +93,7 @@ export interface Anomaly {
|
|
|
93
93
|
*/
|
|
94
94
|
AnomalyEndDate?: string;
|
|
95
95
|
/**
|
|
96
|
-
* <p>The dimension for the anomaly (for example, an Amazon Web
|
|
96
|
+
* <p>The dimension for the anomaly (for example, an Amazon Web Service in a service
|
|
97
97
|
* monitor). </p>
|
|
98
98
|
*/
|
|
99
99
|
DimensionValue?: string;
|
|
@@ -369,9 +369,7 @@ export declare namespace AnomalySubscription {
|
|
|
369
369
|
const filterSensitiveLog: (obj: AnomalySubscription) => any;
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
372
|
-
* <p>
|
|
373
|
-
* The tag structure that contains a tag key and value.
|
|
374
|
-
* </p>
|
|
372
|
+
* <p>The tag structure that contains a tag key and value. </p>
|
|
375
373
|
* <note>
|
|
376
374
|
* <p>Tagging is supported only for the following Cost Explorer resource types: <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
|
|
377
375
|
* <code>AnomalyMonitor</code>
|
|
@@ -384,15 +382,11 @@ export declare namespace AnomalySubscription {
|
|
|
384
382
|
*/
|
|
385
383
|
export interface ResourceTag {
|
|
386
384
|
/**
|
|
387
|
-
* <p>
|
|
388
|
-
* The key that is associated with the tag.
|
|
389
|
-
* </p>
|
|
385
|
+
* <p>The key that's associated with the tag. </p>
|
|
390
386
|
*/
|
|
391
387
|
Key: string | undefined;
|
|
392
388
|
/**
|
|
393
|
-
* <p>
|
|
394
|
-
* The value that is associated with the tag.
|
|
395
|
-
* </p>
|
|
389
|
+
* <p>The value that's associated with the tag. </p>
|
|
396
390
|
*/
|
|
397
391
|
Value: string | undefined;
|
|
398
392
|
}
|
|
@@ -432,10 +426,10 @@ export interface CreateAnomalySubscriptionRequest {
|
|
|
432
426
|
*/
|
|
433
427
|
AnomalySubscription: AnomalySubscription | undefined;
|
|
434
428
|
/**
|
|
435
|
-
* <p>
|
|
436
|
-
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html">
|
|
429
|
+
* <p>An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html">
|
|
437
430
|
* <code>AnomalySubscription</code>
|
|
438
|
-
* </a>. You can use resource tags to control access to
|
|
431
|
+
* </a>. You can use resource tags to control access to
|
|
432
|
+
* your <code>subscription</code> using IAM policies.</p>
|
|
439
433
|
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
440
434
|
* <ul>
|
|
441
435
|
* <li>
|
|
@@ -448,7 +442,7 @@ export interface CreateAnomalySubscriptionRequest {
|
|
|
448
442
|
* <p>The maximum length of a value is 256 characters</p>
|
|
449
443
|
* </li>
|
|
450
444
|
* <li>
|
|
451
|
-
* <p>
|
|
445
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
452
446
|
* </p>
|
|
453
447
|
* </li>
|
|
454
448
|
* <li>
|
|
@@ -500,21 +494,21 @@ export declare enum CostCategoryInheritedValueDimensionName {
|
|
|
500
494
|
TAG = "TAG"
|
|
501
495
|
}
|
|
502
496
|
/**
|
|
503
|
-
* <p>When
|
|
497
|
+
* <p>When you create or update a cost category, you can define the
|
|
504
498
|
* <code>CostCategoryRule</code> rule type as <code>INHERITED_VALUE</code>. This rule
|
|
505
|
-
* type adds the flexibility
|
|
506
|
-
* value from the dimension value defined by
|
|
507
|
-
* <code>CostCategoryInheritedValueDimension</code>. For example,
|
|
508
|
-
* dynamically group costs that are based on the value of a specific tag key,
|
|
509
|
-
* an inherited value rule type, then choose the tag dimension and specify the
|
|
510
|
-
* use.</p>
|
|
499
|
+
* type adds the flexibility to define a rule that dynamically inherits the cost category
|
|
500
|
+
* value from the dimension value that's defined by
|
|
501
|
+
* <code>CostCategoryInheritedValueDimension</code>. For example, suppose that you want
|
|
502
|
+
* to dynamically group costs that are based on the value of a specific tag key. First,
|
|
503
|
+
* choose an inherited value rule type, and then choose the tag dimension and specify the
|
|
504
|
+
* tag key to use.</p>
|
|
511
505
|
*/
|
|
512
506
|
export interface CostCategoryInheritedValueDimension {
|
|
513
507
|
/**
|
|
514
508
|
* <p>The name of the dimension that's used to group costs.</p>
|
|
515
509
|
* <p>If you specify <code>LINKED_ACCOUNT_NAME</code>, the cost category value is based on
|
|
516
|
-
* account name. If you specify <code>TAG</code>, the cost category value
|
|
517
|
-
*
|
|
510
|
+
* account name. If you specify <code>TAG</code>, the cost category value is based on the
|
|
511
|
+
* value of the specified tag key.</p>
|
|
518
512
|
*/
|
|
519
513
|
DimensionName?: CostCategoryInheritedValueDimensionName | string;
|
|
520
514
|
/**
|
|
@@ -602,15 +596,11 @@ export declare namespace CostCategorySplitChargeRule {
|
|
|
602
596
|
}
|
|
603
597
|
export interface CreateCostCategoryDefinitionResponse {
|
|
604
598
|
/**
|
|
605
|
-
* <p>
|
|
606
|
-
* The unique identifier for your newly created Cost Category.
|
|
607
|
-
* </p>
|
|
599
|
+
* <p>The unique identifier for your newly created Cost Category. </p>
|
|
608
600
|
*/
|
|
609
601
|
CostCategoryArn?: string;
|
|
610
602
|
/**
|
|
611
|
-
* <p>
|
|
612
|
-
* The Cost Category's effective start date.
|
|
613
|
-
* </p>
|
|
603
|
+
* <p>The Cost Category's effective start date. </p>
|
|
614
604
|
*/
|
|
615
605
|
EffectiveStart?: string;
|
|
616
606
|
}
|
|
@@ -688,9 +678,7 @@ export declare class UnknownSubscriptionException extends __BaseException {
|
|
|
688
678
|
}
|
|
689
679
|
export interface DeleteCostCategoryDefinitionRequest {
|
|
690
680
|
/**
|
|
691
|
-
* <p>
|
|
692
|
-
* The unique identifier for your Cost Category.
|
|
693
|
-
* </p>
|
|
681
|
+
* <p>The unique identifier for your Cost Category. </p>
|
|
694
682
|
*/
|
|
695
683
|
CostCategoryArn: string | undefined;
|
|
696
684
|
}
|
|
@@ -702,15 +690,12 @@ export declare namespace DeleteCostCategoryDefinitionRequest {
|
|
|
702
690
|
}
|
|
703
691
|
export interface DeleteCostCategoryDefinitionResponse {
|
|
704
692
|
/**
|
|
705
|
-
* <p>
|
|
706
|
-
* The unique identifier for your Cost Category.
|
|
707
|
-
* </p>
|
|
693
|
+
* <p>The unique identifier for your Cost Category. </p>
|
|
708
694
|
*/
|
|
709
695
|
CostCategoryArn?: string;
|
|
710
696
|
/**
|
|
711
|
-
* <p>
|
|
712
|
-
*
|
|
713
|
-
* </p>
|
|
697
|
+
* <p>The effective end date of the Cost Category as a result of deleting it. No costs after
|
|
698
|
+
* this date is categorized by the deleted Cost Category. </p>
|
|
714
699
|
*/
|
|
715
700
|
EffectiveEnd?: string;
|
|
716
701
|
}
|
|
@@ -737,15 +722,11 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
737
722
|
}
|
|
738
723
|
export interface DescribeCostCategoryDefinitionRequest {
|
|
739
724
|
/**
|
|
740
|
-
* <p>
|
|
741
|
-
* The unique identifier for your Cost Category.
|
|
742
|
-
* </p>
|
|
725
|
+
* <p>The unique identifier for your Cost Category. </p>
|
|
743
726
|
*/
|
|
744
727
|
CostCategoryArn: string | undefined;
|
|
745
728
|
/**
|
|
746
|
-
* <p>
|
|
747
|
-
* The date when the Cost Category was effective.
|
|
748
|
-
* </p>
|
|
729
|
+
* <p>The date when the Cost Category was effective. </p>
|
|
749
730
|
*/
|
|
750
731
|
EffectiveOn?: string;
|
|
751
732
|
}
|
|
@@ -1153,7 +1134,7 @@ export interface GetCostAndUsageWithResourcesResponse {
|
|
|
1153
1134
|
*/
|
|
1154
1135
|
GroupDefinitions?: GroupDefinition[];
|
|
1155
1136
|
/**
|
|
1156
|
-
* <p>The time period that
|
|
1137
|
+
* <p>The time period that's covered by the results in the response.</p>
|
|
1157
1138
|
*/
|
|
1158
1139
|
ResultsByTime?: ResultByTime[];
|
|
1159
1140
|
/**
|
|
@@ -1172,7 +1153,7 @@ export declare enum SortOrder {
|
|
|
1172
1153
|
DESCENDING = "DESCENDING"
|
|
1173
1154
|
}
|
|
1174
1155
|
/**
|
|
1175
|
-
* <p>The details
|
|
1156
|
+
* <p>The details for how to sort the data.</p>
|
|
1176
1157
|
*/
|
|
1177
1158
|
export interface SortDefinition {
|
|
1178
1159
|
/**
|
|
@@ -1192,7 +1173,8 @@ export declare namespace SortDefinition {
|
|
|
1192
1173
|
}
|
|
1193
1174
|
export interface GetCostCategoriesResponse {
|
|
1194
1175
|
/**
|
|
1195
|
-
* <p>If the number of objects that are still available for retrieval exceeds the
|
|
1176
|
+
* <p>If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of
|
|
1177
|
+
* objects, provide the marker from the prior call in your next request.</p>
|
|
1196
1178
|
*/
|
|
1197
1179
|
NextPageToken?: string;
|
|
1198
1180
|
/**
|
|
@@ -1201,12 +1183,12 @@ export interface GetCostCategoriesResponse {
|
|
|
1201
1183
|
CostCategoryNames?: string[];
|
|
1202
1184
|
/**
|
|
1203
1185
|
* <p>The Cost Category values.</p>
|
|
1204
|
-
* <p>
|
|
1205
|
-
*
|
|
1186
|
+
* <p>If the <code>CostCategoryName</code> key isn't specified in the request, the
|
|
1187
|
+
* <code>CostCategoryValues</code> fields aren't returned. </p>
|
|
1206
1188
|
*/
|
|
1207
1189
|
CostCategoryValues?: string[];
|
|
1208
1190
|
/**
|
|
1209
|
-
* <p>The number of objects returned.</p>
|
|
1191
|
+
* <p>The number of objects that are returned.</p>
|
|
1210
1192
|
*/
|
|
1211
1193
|
ReturnSize: number | undefined;
|
|
1212
1194
|
/**
|
|
@@ -1341,7 +1323,8 @@ export interface GetDimensionValuesResponse {
|
|
|
1341
1323
|
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
|
|
1342
1324
|
* </li>
|
|
1343
1325
|
* <li>
|
|
1344
|
-
* <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid
|
|
1326
|
+
* <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid
|
|
1327
|
+
* values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p>
|
|
1345
1328
|
* </li>
|
|
1346
1329
|
* <li>
|
|
1347
1330
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
|
|
@@ -1879,7 +1862,7 @@ export declare namespace InstanceDetails {
|
|
|
1879
1862
|
*/
|
|
1880
1863
|
export interface ReservationPurchaseRecommendationDetail {
|
|
1881
1864
|
/**
|
|
1882
|
-
* <p>The account that this RI recommendation is for.</p>
|
|
1865
|
+
* <p>The account that this Reserved Instance (RI) recommendation is for.</p>
|
|
1883
1866
|
*/
|
|
1884
1867
|
AccountId?: string;
|
|
1885
1868
|
/**
|
|
@@ -1948,12 +1931,12 @@ export interface ReservationPurchaseRecommendationDetail {
|
|
|
1948
1931
|
*/
|
|
1949
1932
|
CurrencyCode?: string;
|
|
1950
1933
|
/**
|
|
1951
|
-
* <p>How much Amazon Web Services estimates that this specific recommendation
|
|
1934
|
+
* <p>How much Amazon Web Services estimates that this specific recommendation might save you
|
|
1952
1935
|
* in a month.</p>
|
|
1953
1936
|
*/
|
|
1954
1937
|
EstimatedMonthlySavingsAmount?: string;
|
|
1955
1938
|
/**
|
|
1956
|
-
* <p>How much Amazon Web Services estimates that this specific recommendation
|
|
1939
|
+
* <p>How much Amazon Web Services estimates that this specific recommendation might save you
|
|
1957
1940
|
* in a month, as a percentage of your overall costs.</p>
|
|
1958
1941
|
*/
|
|
1959
1942
|
EstimatedMonthlySavingsPercentage?: string;
|
|
@@ -1963,8 +1946,8 @@ export interface ReservationPurchaseRecommendationDetail {
|
|
|
1963
1946
|
*/
|
|
1964
1947
|
EstimatedMonthlyOnDemandCost?: string;
|
|
1965
1948
|
/**
|
|
1966
|
-
* <p>How much Amazon Web Services estimates that you
|
|
1967
|
-
*
|
|
1949
|
+
* <p>How much Amazon Web Services estimates that you might spend for all usage during the
|
|
1950
|
+
* specified historical period if you had a reservation.</p>
|
|
1968
1951
|
*/
|
|
1969
1952
|
EstimatedReservationCostForLookbackPeriod?: string;
|
|
1970
1953
|
/**
|
|
@@ -2215,11 +2198,11 @@ export declare namespace UtilizationByTime {
|
|
|
2215
2198
|
}
|
|
2216
2199
|
export interface GetReservationUtilizationResponse {
|
|
2217
2200
|
/**
|
|
2218
|
-
* <p>The amount of time that you used your RIs.</p>
|
|
2201
|
+
* <p>The amount of time that you used your Reserved Instances (RIs).</p>
|
|
2219
2202
|
*/
|
|
2220
2203
|
UtilizationsByTime: UtilizationByTime[] | undefined;
|
|
2221
2204
|
/**
|
|
2222
|
-
* <p>The total amount of time that you used your RIs.</p>
|
|
2205
|
+
* <p>The total amount of time that you used your Reserved Instances (RIs).</p>
|
|
2223
2206
|
*/
|
|
2224
2207
|
Total?: ReservationAggregates;
|
|
2225
2208
|
/**
|
|
@@ -2242,7 +2225,8 @@ export declare enum RecommendationTarget {
|
|
|
2242
2225
|
* recommendations across two attributes. You can choose to view recommendations for
|
|
2243
2226
|
* instances within the same instance families or across different instance families. You
|
|
2244
2227
|
* can also choose to view your estimated savings that are associated with recommendations
|
|
2245
|
-
* with consideration of existing Savings Plans or RI benefits, or
|
|
2228
|
+
* with consideration of existing Savings Plans or Reserved Instance (RI) benefits, or
|
|
2229
|
+
* neither. </p>
|
|
2246
2230
|
*/
|
|
2247
2231
|
export interface RightsizingRecommendationConfiguration {
|
|
2248
2232
|
/**
|
|
@@ -2330,7 +2314,7 @@ export interface EC2ResourceDetails {
|
|
|
2330
2314
|
*/
|
|
2331
2315
|
Storage?: string;
|
|
2332
2316
|
/**
|
|
2333
|
-
* <p>
|
|
2317
|
+
* <p>The number of VCPU cores in the Amazon Web Services instance type.</p>
|
|
2334
2318
|
*/
|
|
2335
2319
|
Vcpu?: string;
|
|
2336
2320
|
}
|
|
@@ -2341,11 +2325,11 @@ export declare namespace EC2ResourceDetails {
|
|
|
2341
2325
|
const filterSensitiveLog: (obj: EC2ResourceDetails) => any;
|
|
2342
2326
|
}
|
|
2343
2327
|
/**
|
|
2344
|
-
* <p>Details
|
|
2328
|
+
* <p>Details for the resource.</p>
|
|
2345
2329
|
*/
|
|
2346
2330
|
export interface ResourceDetails {
|
|
2347
2331
|
/**
|
|
2348
|
-
* <p>Details
|
|
2332
|
+
* <p>Details for the Amazon EC2 resource.</p>
|
|
2349
2333
|
*/
|
|
2350
2334
|
EC2ResourceDetails?: EC2ResourceDetails;
|
|
2351
2335
|
}
|
|
@@ -2356,24 +2340,24 @@ export declare namespace ResourceDetails {
|
|
|
2356
2340
|
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
2357
2341
|
}
|
|
2358
2342
|
/**
|
|
2359
|
-
* <p>
|
|
2343
|
+
* <p>The field that contains a list of disk (local storage) metrics that are associated
|
|
2360
2344
|
* with the current instance. </p>
|
|
2361
2345
|
*/
|
|
2362
2346
|
export interface DiskResourceUtilization {
|
|
2363
2347
|
/**
|
|
2364
|
-
* <p>
|
|
2348
|
+
* <p>The maximum number of read operations per second. </p>
|
|
2365
2349
|
*/
|
|
2366
2350
|
DiskReadOpsPerSecond?: string;
|
|
2367
2351
|
/**
|
|
2368
|
-
* <p>
|
|
2352
|
+
* <p>The maximum number of write operations per second. </p>
|
|
2369
2353
|
*/
|
|
2370
2354
|
DiskWriteOpsPerSecond?: string;
|
|
2371
2355
|
/**
|
|
2372
|
-
* <p>
|
|
2356
|
+
* <p>The maximum read throughput operations per second. </p>
|
|
2373
2357
|
*/
|
|
2374
2358
|
DiskReadBytesPerSecond?: string;
|
|
2375
2359
|
/**
|
|
2376
|
-
* <p>
|
|
2360
|
+
* <p>The maximum write throughput operations per second. </p>
|
|
2377
2361
|
*/
|
|
2378
2362
|
DiskWriteBytesPerSecond?: string;
|
|
2379
2363
|
}
|
|
@@ -2412,24 +2396,24 @@ export declare namespace EBSResourceUtilization {
|
|
|
2412
2396
|
const filterSensitiveLog: (obj: EBSResourceUtilization) => any;
|
|
2413
2397
|
}
|
|
2414
2398
|
/**
|
|
2415
|
-
* <p>
|
|
2416
|
-
*
|
|
2399
|
+
* <p>The network field that contains a list of network metrics that are associated with the
|
|
2400
|
+
* current instance. </p>
|
|
2417
2401
|
*/
|
|
2418
2402
|
export interface NetworkResourceUtilization {
|
|
2419
2403
|
/**
|
|
2420
|
-
* <p>
|
|
2404
|
+
* <p>The network inbound throughput utilization measured in Bytes per second (Bps). </p>
|
|
2421
2405
|
*/
|
|
2422
2406
|
NetworkInBytesPerSecond?: string;
|
|
2423
2407
|
/**
|
|
2424
|
-
* <p>
|
|
2408
|
+
* <p>The network outbound throughput utilization measured in Bytes per second (Bps). </p>
|
|
2425
2409
|
*/
|
|
2426
2410
|
NetworkOutBytesPerSecond?: string;
|
|
2427
2411
|
/**
|
|
2428
|
-
* <p>
|
|
2412
|
+
* <p>The network inbound packets that are measured in packets per second. </p>
|
|
2429
2413
|
*/
|
|
2430
2414
|
NetworkPacketsInPerSecond?: string;
|
|
2431
2415
|
/**
|
|
2432
|
-
* <p>
|
|
2416
|
+
* <p>The network outbound packets that are measured in packets per second. </p>
|
|
2433
2417
|
*/
|
|
2434
2418
|
NetworkPacketsOutPerSecond?: string;
|
|
2435
2419
|
}
|
|
@@ -2440,19 +2424,19 @@ export declare namespace NetworkResourceUtilization {
|
|
|
2440
2424
|
const filterSensitiveLog: (obj: NetworkResourceUtilization) => any;
|
|
2441
2425
|
}
|
|
2442
2426
|
/**
|
|
2443
|
-
* <p>Utilization metrics
|
|
2427
|
+
* <p>Utilization metrics for the instance. </p>
|
|
2444
2428
|
*/
|
|
2445
2429
|
export interface EC2ResourceUtilization {
|
|
2446
2430
|
/**
|
|
2447
|
-
* <p>
|
|
2431
|
+
* <p>The maximum observed or expected CPU utilization of the instance.</p>
|
|
2448
2432
|
*/
|
|
2449
2433
|
MaxCpuUtilizationPercentage?: string;
|
|
2450
2434
|
/**
|
|
2451
|
-
* <p>
|
|
2435
|
+
* <p>The maximum observed or expected memory utilization of the instance.</p>
|
|
2452
2436
|
*/
|
|
2453
2437
|
MaxMemoryUtilizationPercentage?: string;
|
|
2454
2438
|
/**
|
|
2455
|
-
* <p>
|
|
2439
|
+
* <p>The maximum observed or expected storage utilization of the instance. This doesn't
|
|
2456
2440
|
* include EBS storage.</p>
|
|
2457
2441
|
*/
|
|
2458
2442
|
MaxStorageUtilizationPercentage?: string;
|
|
@@ -2462,13 +2446,13 @@ export interface EC2ResourceUtilization {
|
|
|
2462
2446
|
*/
|
|
2463
2447
|
EBSResourceUtilization?: EBSResourceUtilization;
|
|
2464
2448
|
/**
|
|
2465
|
-
* <p>
|
|
2449
|
+
* <p>The field that contains a list of disk (local storage) metrics that are associated
|
|
2466
2450
|
* with the current instance. </p>
|
|
2467
2451
|
*/
|
|
2468
2452
|
DiskResourceUtilization?: DiskResourceUtilization;
|
|
2469
2453
|
/**
|
|
2470
|
-
* <p>
|
|
2471
|
-
*
|
|
2454
|
+
* <p>The network field that contains a list of network metrics that are associated with the
|
|
2455
|
+
* current instance. </p>
|
|
2472
2456
|
*/
|
|
2473
2457
|
NetworkResourceUtilization?: NetworkResourceUtilization;
|
|
2474
2458
|
}
|
|
@@ -2519,7 +2503,7 @@ export interface CurrentInstance {
|
|
|
2519
2503
|
*/
|
|
2520
2504
|
ResourceUtilization?: ResourceUtilization;
|
|
2521
2505
|
/**
|
|
2522
|
-
* <p>
|
|
2506
|
+
* <p>The number of hours during the lookback period that's covered by reservations.</p>
|
|
2523
2507
|
*/
|
|
2524
2508
|
ReservationCoveredHoursInLookbackPeriod?: string;
|
|
2525
2509
|
/**
|
|
@@ -2527,7 +2511,7 @@ export interface CurrentInstance {
|
|
|
2527
2511
|
*/
|
|
2528
2512
|
SavingsPlansCoveredHoursInLookbackPeriod?: string;
|
|
2529
2513
|
/**
|
|
2530
|
-
* <p>
|
|
2514
|
+
* <p>The number of hours during the lookback period that's billed at On-Demand
|
|
2531
2515
|
* rates.</p>
|
|
2532
2516
|
*/
|
|
2533
2517
|
OnDemandHoursInLookbackPeriod?: string;
|
|
@@ -2540,7 +2524,7 @@ export interface CurrentInstance {
|
|
|
2540
2524
|
*/
|
|
2541
2525
|
MonthlyCost?: string;
|
|
2542
2526
|
/**
|
|
2543
|
-
* <p>
|
|
2527
|
+
* <p>The currency code that Amazon Web Services used to calculate the costs for this
|
|
2544
2528
|
* instance.</p>
|
|
2545
2529
|
*/
|
|
2546
2530
|
CurrencyCode?: string;
|
|
@@ -2607,7 +2591,7 @@ export interface TargetInstance {
|
|
|
2607
2591
|
*/
|
|
2608
2592
|
ExpectedResourceUtilization?: ResourceUtilization;
|
|
2609
2593
|
/**
|
|
2610
|
-
* <p>
|
|
2594
|
+
* <p>Explains the actions that you might need to take to successfully migrate your
|
|
2611
2595
|
* workloads from the current instance type to the recommended instance type. </p>
|
|
2612
2596
|
*/
|
|
2613
2597
|
PlatformDifferences?: (PlatformDifference | string)[];
|
|
@@ -2619,7 +2603,7 @@ export declare namespace TargetInstance {
|
|
|
2619
2603
|
const filterSensitiveLog: (obj: TargetInstance) => any;
|
|
2620
2604
|
}
|
|
2621
2605
|
/**
|
|
2622
|
-
* <p>
|
|
2606
|
+
* <p>Details for the modification recommendation.</p>
|
|
2623
2607
|
*/
|
|
2624
2608
|
export interface ModifyRecommendationDetail {
|
|
2625
2609
|
/**
|
|
@@ -2667,7 +2651,8 @@ export interface RightsizingRecommendation {
|
|
|
2667
2651
|
*/
|
|
2668
2652
|
AccountId?: string;
|
|
2669
2653
|
/**
|
|
2670
|
-
* <p>Context
|
|
2654
|
+
* <p>Context
|
|
2655
|
+
* regarding the current instance.</p>
|
|
2671
2656
|
*/
|
|
2672
2657
|
CurrentInstance?: CurrentInstance;
|
|
2673
2658
|
/**
|
|
@@ -2683,8 +2668,8 @@ export interface RightsizingRecommendation {
|
|
|
2683
2668
|
*/
|
|
2684
2669
|
TerminateRecommendationDetail?: TerminateRecommendationDetail;
|
|
2685
2670
|
/**
|
|
2686
|
-
* <p>
|
|
2687
|
-
* over
|
|
2671
|
+
* <p>The list of possible reasons why the recommendation is generated, such as under- or
|
|
2672
|
+
* over-utilization of specific metrics (for example, CPU, Memory, Network). </p>
|
|
2688
2673
|
*/
|
|
2689
2674
|
FindingReasonCodes?: (FindingReasonCode | string)[];
|
|
2690
2675
|
}
|
|
@@ -2740,11 +2725,11 @@ export interface GetRightsizingRecommendationResponse {
|
|
|
2740
2725
|
*/
|
|
2741
2726
|
NextPageToken?: string;
|
|
2742
2727
|
/**
|
|
2743
|
-
* <p>
|
|
2744
|
-
* recommendations for instances within the same instance families or across
|
|
2745
|
-
* families. You can also choose to view your estimated savings
|
|
2746
|
-
* with consideration of existing Savings Plans or RI benefits,
|
|
2747
|
-
* neither. </p>
|
|
2728
|
+
* <p>You can use Configuration to customize recommendations across two attributes. You can
|
|
2729
|
+
* choose to view recommendations for instances within the same instance families or across
|
|
2730
|
+
* different instance families. You can also choose to view your estimated savings that are
|
|
2731
|
+
* associated with recommendations with consideration of existing Savings Plans or RI benefits,
|
|
2732
|
+
* or neither. </p>
|
|
2748
2733
|
*/
|
|
2749
2734
|
Configuration?: RightsizingRecommendationConfiguration;
|
|
2750
2735
|
}
|
|
@@ -2760,7 +2745,7 @@ export declare namespace GetRightsizingRecommendationResponse {
|
|
|
2760
2745
|
*/
|
|
2761
2746
|
export interface SavingsPlansCoverageData {
|
|
2762
2747
|
/**
|
|
2763
|
-
* <p>The amount of your Amazon Web Services usage that
|
|
2748
|
+
* <p>The amount of your Amazon Web Services usage that's covered by a Savings Plans.</p>
|
|
2764
2749
|
*/
|
|
2765
2750
|
SpendCoveredBySavingsPlans?: string;
|
|
2766
2751
|
/**
|
|
@@ -2785,7 +2770,7 @@ export declare namespace SavingsPlansCoverageData {
|
|
|
2785
2770
|
const filterSensitiveLog: (obj: SavingsPlansCoverageData) => any;
|
|
2786
2771
|
}
|
|
2787
2772
|
/**
|
|
2788
|
-
* <p>The amount of Savings Plans eligible usage that
|
|
2773
|
+
* <p>The amount of Savings Plans eligible usage that's covered by Savings Plans. All
|
|
2789
2774
|
* calculations consider the On-Demand equivalent of your Savings Plans usage.</p>
|
|
2790
2775
|
*/
|
|
2791
2776
|
export interface SavingsPlansCoverage {
|
|
@@ -2838,7 +2823,7 @@ export interface SavingsPlansPurchaseRecommendationMetadata {
|
|
|
2838
2823
|
*/
|
|
2839
2824
|
RecommendationId?: string;
|
|
2840
2825
|
/**
|
|
2841
|
-
* <p>The timestamp
|
|
2826
|
+
* <p>The timestamp that shows when the recommendations were generated.</p>
|
|
2842
2827
|
*/
|
|
2843
2828
|
GenerationTimestamp?: string;
|
|
2844
2829
|
/**
|
|
@@ -2914,8 +2899,8 @@ export interface SavingsPlansPurchaseRecommendationDetail {
|
|
|
2914
2899
|
*/
|
|
2915
2900
|
EstimatedOnDemandCost?: string;
|
|
2916
2901
|
/**
|
|
2917
|
-
* <p> The estimated On-Demand costs you
|
|
2918
|
-
*
|
|
2902
|
+
* <p> The estimated On-Demand costs you expect with no additional commitment, based on your
|
|
2903
|
+
* usage of the selected time period and the Savings Plans you own. </p>
|
|
2919
2904
|
*/
|
|
2920
2905
|
EstimatedOnDemandCostWithCurrentCommitment?: string;
|
|
2921
2906
|
/**
|
|
@@ -3019,8 +3004,8 @@ export interface SavingsPlansPurchaseRecommendationSummary {
|
|
|
3019
3004
|
*/
|
|
3020
3005
|
EstimatedMonthlySavingsAmount?: string;
|
|
3021
3006
|
/**
|
|
3022
|
-
* <p>
|
|
3023
|
-
*
|
|
3007
|
+
* <p>The estimated On-Demand costs you expect with no additional commitment. It's based on
|
|
3008
|
+
* your usage of the selected time period and the Savings Plans you own. </p>
|
|
3024
3009
|
*/
|
|
3025
3010
|
EstimatedOnDemandCostWithCurrentCommitment?: string;
|
|
3026
3011
|
}
|
|
@@ -3052,16 +3037,16 @@ export interface SavingsPlansPurchaseRecommendation {
|
|
|
3052
3037
|
*/
|
|
3053
3038
|
TermInYears?: TermInYears | string;
|
|
3054
3039
|
/**
|
|
3055
|
-
* <p>The payment option used to generate the recommendation.</p>
|
|
3040
|
+
* <p>The payment option that's used to generate the recommendation.</p>
|
|
3056
3041
|
*/
|
|
3057
3042
|
PaymentOption?: PaymentOption | string;
|
|
3058
3043
|
/**
|
|
3059
|
-
* <p>The lookback period in days
|
|
3044
|
+
* <p>The lookback period in days that's used to generate the recommendation.</p>
|
|
3060
3045
|
*/
|
|
3061
3046
|
LookbackPeriodInDays?: LookbackPeriodInDays | string;
|
|
3062
3047
|
/**
|
|
3063
|
-
* <p>Details for the Savings Plans we recommend that you purchase to cover existing
|
|
3064
|
-
* Plans eligible workloads.</p>
|
|
3048
|
+
* <p>Details for the Savings Plans that we recommend that you purchase to cover existing
|
|
3049
|
+
* Savings Plans eligible workloads.</p>
|
|
3065
3050
|
*/
|
|
3066
3051
|
SavingsPlansPurchaseRecommendationDetails?: SavingsPlansPurchaseRecommendationDetail[];
|
|
3067
3052
|
/**
|
|
@@ -3077,7 +3062,7 @@ export declare namespace SavingsPlansPurchaseRecommendation {
|
|
|
3077
3062
|
}
|
|
3078
3063
|
export interface GetSavingsPlansPurchaseRecommendationResponse {
|
|
3079
3064
|
/**
|
|
3080
|
-
* <p>Information
|
|
3065
|
+
* <p>Information that regards this specific recommendation set.</p>
|
|
3081
3066
|
*/
|
|
3082
3067
|
Metadata?: SavingsPlansPurchaseRecommendationMetadata;
|
|
3083
3068
|
/**
|
|
@@ -3176,7 +3161,7 @@ export declare namespace SavingsPlansUtilization {
|
|
|
3176
3161
|
const filterSensitiveLog: (obj: SavingsPlansUtilization) => any;
|
|
3177
3162
|
}
|
|
3178
3163
|
/**
|
|
3179
|
-
* <p>The amount of Savings Plans utilization
|
|
3164
|
+
* <p>The amount of Savings Plans utilization (in hours).</p>
|
|
3180
3165
|
*/
|
|
3181
3166
|
export interface SavingsPlansUtilizationByTime {
|
|
3182
3167
|
/**
|
|
@@ -3189,9 +3174,9 @@ export interface SavingsPlansUtilizationByTime {
|
|
|
3189
3174
|
*/
|
|
3190
3175
|
Utilization: SavingsPlansUtilization | undefined;
|
|
3191
3176
|
/**
|
|
3192
|
-
* <p>The amount saved by using existing Savings Plans. Savings returns both net
|
|
3193
|
-
* from Savings Plans
|
|
3194
|
-
* Plans when considering the utilization rate.</p>
|
|
3177
|
+
* <p>The amount that's saved by using existing Savings Plans. Savings returns both net
|
|
3178
|
+
* savings from Savings Plans and also the <code>onDemandCostEquivalent</code> of the
|
|
3179
|
+
* Savings Plans when considering the utilization rate.</p>
|
|
3195
3180
|
*/
|
|
3196
3181
|
Savings?: SavingsPlansSavings;
|
|
3197
3182
|
/**
|
|
@@ -3216,9 +3201,9 @@ export interface SavingsPlansUtilizationAggregates {
|
|
|
3216
3201
|
*/
|
|
3217
3202
|
Utilization: SavingsPlansUtilization | undefined;
|
|
3218
3203
|
/**
|
|
3219
|
-
* <p>The amount saved by using existing Savings Plans. Savings returns both net
|
|
3220
|
-
* from Savings Plans
|
|
3221
|
-
* Plans when considering the utilization rate.</p>
|
|
3204
|
+
* <p>The amount that's saved by using existing Savings Plans. Savings returns both net
|
|
3205
|
+
* savings from Savings Plans and also the <code>onDemandCostEquivalent</code> of the
|
|
3206
|
+
* Savings Plans when considering the utilization rate.</p>
|
|
3222
3207
|
*/
|
|
3223
3208
|
Savings?: SavingsPlansSavings;
|
|
3224
3209
|
/**
|
|
@@ -3235,11 +3220,13 @@ export declare namespace SavingsPlansUtilizationAggregates {
|
|
|
3235
3220
|
}
|
|
3236
3221
|
export interface GetSavingsPlansUtilizationResponse {
|
|
3237
3222
|
/**
|
|
3238
|
-
* <p>The amount of cost/commitment you used your Savings Plans.
|
|
3223
|
+
* <p>The amount of cost/commitment that you used your Savings Plans. You can use it to specify
|
|
3224
|
+
* date ranges.</p>
|
|
3239
3225
|
*/
|
|
3240
3226
|
SavingsPlansUtilizationsByTime?: SavingsPlansUtilizationByTime[];
|
|
3241
3227
|
/**
|
|
3242
|
-
* <p>The total amount of cost/commitment that you used your Savings Plans, regardless of date
|
|
3228
|
+
* <p>The total amount of cost/commitment that you used your Savings Plans, regardless of date
|
|
3229
|
+
* ranges.</p>
|
|
3243
3230
|
*/
|
|
3244
3231
|
Total: SavingsPlansUtilizationAggregates | undefined;
|
|
3245
3232
|
}
|
|
@@ -3256,9 +3243,9 @@ export declare enum SavingsPlansDataType {
|
|
|
3256
3243
|
UTILIZATION = "UTILIZATION"
|
|
3257
3244
|
}
|
|
3258
3245
|
/**
|
|
3259
|
-
* <p>A single daily or monthly Savings Plans utilization rate
|
|
3260
|
-
*
|
|
3261
|
-
*
|
|
3246
|
+
* <p>A single daily or monthly Savings Plans utilization rate and details for your account.
|
|
3247
|
+
* A management account in an organization have access to member accounts. You can use
|
|
3248
|
+
* <code>GetDimensionValues</code> to determine the possible dimension values. </p>
|
|
3262
3249
|
*/
|
|
3263
3250
|
export interface SavingsPlansUtilizationDetail {
|
|
3264
3251
|
/**
|
|
@@ -3276,8 +3263,8 @@ export interface SavingsPlansUtilizationDetail {
|
|
|
3276
3263
|
Utilization?: SavingsPlansUtilization;
|
|
3277
3264
|
/**
|
|
3278
3265
|
* <p>The amount saved by using existing Savings Plans. Savings returns both net savings
|
|
3279
|
-
* from savings plans
|
|
3280
|
-
*
|
|
3266
|
+
* from savings plans and also the <code>onDemandCostEquivalent</code> of the Savings Plans
|
|
3267
|
+
* when considering the utilization rate.</p>
|
|
3281
3268
|
*/
|
|
3282
3269
|
Savings?: SavingsPlansSavings;
|
|
3283
3270
|
/**
|
|
@@ -3369,21 +3356,104 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
|
|
|
3369
3356
|
*/
|
|
3370
3357
|
constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
|
|
3371
3358
|
}
|
|
3359
|
+
export declare enum CostAllocationTagStatus {
|
|
3360
|
+
ACTIVE = "Active",
|
|
3361
|
+
INACTIVE = "Inactive"
|
|
3362
|
+
}
|
|
3363
|
+
export declare enum CostAllocationTagType {
|
|
3364
|
+
AWS_GENERATED = "AWSGenerated",
|
|
3365
|
+
USER_DEFINED = "UserDefined"
|
|
3366
|
+
}
|
|
3367
|
+
export interface ListCostAllocationTagsRequest {
|
|
3368
|
+
/**
|
|
3369
|
+
* <p>The status of cost allocation tag keys that are returned for this request. </p>
|
|
3370
|
+
*/
|
|
3371
|
+
Status?: CostAllocationTagStatus | string;
|
|
3372
|
+
/**
|
|
3373
|
+
* <p>The list of cost allocation tag keys that are returned for this request. </p>
|
|
3374
|
+
*/
|
|
3375
|
+
TagKeys?: string[];
|
|
3376
|
+
/**
|
|
3377
|
+
* <p>The type of <code>CostAllocationTag</code> object that are returned for this request. The
|
|
3378
|
+
* <code>AWSGenerated</code> type tags are tags that Amazon Web Services defines and applies to
|
|
3379
|
+
* support Amazon Web Services resources for cost allocation purposes. The
|
|
3380
|
+
* <code>UserDefined</code> type tags are tags that you define, create, and apply to resources. </p>
|
|
3381
|
+
*/
|
|
3382
|
+
Type?: CostAllocationTagType | string;
|
|
3383
|
+
/**
|
|
3384
|
+
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token when
|
|
3385
|
+
* the response from a previous call has more results than the maximum page size. </p>
|
|
3386
|
+
*/
|
|
3387
|
+
NextToken?: string;
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>The maximum number of objects that are returned for this request. By default, the request
|
|
3390
|
+
* returns 100 results. </p>
|
|
3391
|
+
*/
|
|
3392
|
+
MaxResults?: number;
|
|
3393
|
+
}
|
|
3394
|
+
export declare namespace ListCostAllocationTagsRequest {
|
|
3395
|
+
/**
|
|
3396
|
+
* @internal
|
|
3397
|
+
*/
|
|
3398
|
+
const filterSensitiveLog: (obj: ListCostAllocationTagsRequest) => any;
|
|
3399
|
+
}
|
|
3400
|
+
/**
|
|
3401
|
+
* <p>The cost allocation tag structure. This includes detailed metadata for the
|
|
3402
|
+
* <code>CostAllocationTag</code> object. </p>
|
|
3403
|
+
*/
|
|
3404
|
+
export interface CostAllocationTag {
|
|
3405
|
+
/**
|
|
3406
|
+
* <p>The key for the cost allocation tag. </p>
|
|
3407
|
+
*/
|
|
3408
|
+
TagKey: string | undefined;
|
|
3409
|
+
/**
|
|
3410
|
+
* <p>The type of cost allocation tag. You can use <code>AWSGenerated</code> or
|
|
3411
|
+
* <code>UserDefined</code> type tags. <code>AWSGenerated</code> type tags are tags
|
|
3412
|
+
* that Amazon Web Services defines and applies to support Amazon Web Services resources for
|
|
3413
|
+
* cost allocation purposes. <code>UserDefined</code> type tags are tags that you define,
|
|
3414
|
+
* create, and apply to resources. </p>
|
|
3415
|
+
*/
|
|
3416
|
+
Type: CostAllocationTagType | string | undefined;
|
|
3417
|
+
/**
|
|
3418
|
+
* <p>The status of a cost allocation tag. </p>
|
|
3419
|
+
*/
|
|
3420
|
+
Status: CostAllocationTagStatus | string | undefined;
|
|
3421
|
+
}
|
|
3422
|
+
export declare namespace CostAllocationTag {
|
|
3423
|
+
/**
|
|
3424
|
+
* @internal
|
|
3425
|
+
*/
|
|
3426
|
+
const filterSensitiveLog: (obj: CostAllocationTag) => any;
|
|
3427
|
+
}
|
|
3428
|
+
export interface ListCostAllocationTagsResponse {
|
|
3429
|
+
/**
|
|
3430
|
+
* <p>A list of cost allocation tags that includes the detailed metadata for each one. </p>
|
|
3431
|
+
*/
|
|
3432
|
+
CostAllocationTags?: CostAllocationTag[];
|
|
3433
|
+
/**
|
|
3434
|
+
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token when
|
|
3435
|
+
* the response from a previous call has more results than the maximum page size. </p>
|
|
3436
|
+
*/
|
|
3437
|
+
NextToken?: string;
|
|
3438
|
+
}
|
|
3439
|
+
export declare namespace ListCostAllocationTagsResponse {
|
|
3440
|
+
/**
|
|
3441
|
+
* @internal
|
|
3442
|
+
*/
|
|
3443
|
+
const filterSensitiveLog: (obj: ListCostAllocationTagsResponse) => any;
|
|
3444
|
+
}
|
|
3372
3445
|
export interface ListCostCategoryDefinitionsRequest {
|
|
3373
3446
|
/**
|
|
3374
|
-
* <p>
|
|
3375
|
-
* The date when the Cost Category was effective.
|
|
3376
|
-
* </p>
|
|
3447
|
+
* <p>The date when the Cost Category was effective. </p>
|
|
3377
3448
|
*/
|
|
3378
3449
|
EffectiveOn?: string;
|
|
3379
3450
|
/**
|
|
3380
|
-
* <p>
|
|
3381
|
-
*
|
|
3382
|
-
* </p>
|
|
3451
|
+
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token
|
|
3452
|
+
* when the response from a previous call has more results than the maximum page size. </p>
|
|
3383
3453
|
*/
|
|
3384
3454
|
NextToken?: string;
|
|
3385
3455
|
/**
|
|
3386
|
-
* <p>
|
|
3456
|
+
* <p>The number of entries a paginated response contains. </p>
|
|
3387
3457
|
*/
|
|
3388
3458
|
MaxResults?: number;
|
|
3389
3459
|
}
|
|
@@ -3443,15 +3513,13 @@ export declare namespace CostCategoryReference {
|
|
|
3443
3513
|
}
|
|
3444
3514
|
export interface ListCostCategoryDefinitionsResponse {
|
|
3445
3515
|
/**
|
|
3446
|
-
* <p>
|
|
3447
|
-
*
|
|
3448
|
-
* </p>
|
|
3516
|
+
* <p>A reference to a Cost Category that contains enough information to identify the Cost
|
|
3517
|
+
* Category. </p>
|
|
3449
3518
|
*/
|
|
3450
3519
|
CostCategoryReferences?: CostCategoryReference[];
|
|
3451
3520
|
/**
|
|
3452
|
-
* <p>
|
|
3453
|
-
*
|
|
3454
|
-
* </p>
|
|
3521
|
+
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token when
|
|
3522
|
+
* the response from a previous call has more results than the maximum page size. </p>
|
|
3455
3523
|
*/
|
|
3456
3524
|
NextToken?: string;
|
|
3457
3525
|
}
|
|
@@ -3475,7 +3543,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
3475
3543
|
}
|
|
3476
3544
|
export interface ListTagsForResourceResponse {
|
|
3477
3545
|
/**
|
|
3478
|
-
* <p>A list of tag key value pairs that are associated with the
|
|
3546
|
+
* <p>A list of tag key value pairs that are associated with the resource.
|
|
3479
3547
|
* </p>
|
|
3480
3548
|
*/
|
|
3481
3549
|
ResourceTags?: ResourceTag[];
|
|
@@ -3535,7 +3603,7 @@ export interface TagResourceRequest {
|
|
|
3535
3603
|
* <p>The maximum length of a value is 256 characters</p>
|
|
3536
3604
|
* </li>
|
|
3537
3605
|
* <li>
|
|
3538
|
-
* <p>
|
|
3606
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
3539
3607
|
* </p>
|
|
3540
3608
|
* </li>
|
|
3541
3609
|
* <li>
|
|
@@ -3580,15 +3648,14 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
3580
3648
|
}
|
|
3581
3649
|
export interface UntagResourceRequest {
|
|
3582
3650
|
/**
|
|
3583
|
-
* <p>
|
|
3584
|
-
*
|
|
3585
|
-
* </p>
|
|
3651
|
+
* <p>The Amazon Resource Name (ARN) of the resource. For a list of supported resources, see
|
|
3652
|
+
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_ResourceTag.html">ResourceTag</a>. </p>
|
|
3586
3653
|
*/
|
|
3587
3654
|
ResourceArn: string | undefined;
|
|
3588
3655
|
/**
|
|
3589
|
-
* <p>
|
|
3590
|
-
*
|
|
3591
|
-
*
|
|
3656
|
+
* <p>A list of tag keys associated with tags that need to be removed from the resource. If you
|
|
3657
|
+
* specify a tag key that doesn't exist, it's ignored. Although the maximum number of array
|
|
3658
|
+
* members is 200, user-tag maximum is 50. The remaining are reserved for Amazon Web Services use. </p>
|
|
3592
3659
|
*/
|
|
3593
3660
|
ResourceTagKeys: string[] | undefined;
|
|
3594
3661
|
}
|
|
@@ -3678,17 +3745,83 @@ export declare namespace UpdateAnomalySubscriptionResponse {
|
|
|
3678
3745
|
*/
|
|
3679
3746
|
const filterSensitiveLog: (obj: UpdateAnomalySubscriptionResponse) => any;
|
|
3680
3747
|
}
|
|
3748
|
+
/**
|
|
3749
|
+
* <p>The cost allocation tag status. The status of a key can either be active or inactive. </p>
|
|
3750
|
+
*/
|
|
3751
|
+
export interface CostAllocationTagStatusEntry {
|
|
3752
|
+
/**
|
|
3753
|
+
* <p>The key for the cost allocation tag. </p>
|
|
3754
|
+
*/
|
|
3755
|
+
TagKey: string | undefined;
|
|
3756
|
+
/**
|
|
3757
|
+
* <p>The status of a cost allocation tag. </p>
|
|
3758
|
+
*/
|
|
3759
|
+
Status: CostAllocationTagStatus | string | undefined;
|
|
3760
|
+
}
|
|
3761
|
+
export declare namespace CostAllocationTagStatusEntry {
|
|
3762
|
+
/**
|
|
3763
|
+
* @internal
|
|
3764
|
+
*/
|
|
3765
|
+
const filterSensitiveLog: (obj: CostAllocationTagStatusEntry) => any;
|
|
3766
|
+
}
|
|
3767
|
+
export interface UpdateCostAllocationTagsStatusRequest {
|
|
3768
|
+
/**
|
|
3769
|
+
* <p>The list of <code>CostAllocationTagStatusEntry</code> objects that are used to update cost
|
|
3770
|
+
* allocation tags status for this request. </p>
|
|
3771
|
+
*/
|
|
3772
|
+
CostAllocationTagsStatus: CostAllocationTagStatusEntry[] | undefined;
|
|
3773
|
+
}
|
|
3774
|
+
export declare namespace UpdateCostAllocationTagsStatusRequest {
|
|
3775
|
+
/**
|
|
3776
|
+
* @internal
|
|
3777
|
+
*/
|
|
3778
|
+
const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusRequest) => any;
|
|
3779
|
+
}
|
|
3780
|
+
/**
|
|
3781
|
+
* <p>Gives a detailed description of the result of an action. It's on each cost allocation
|
|
3782
|
+
* tag entry in the request. </p>
|
|
3783
|
+
*/
|
|
3784
|
+
export interface UpdateCostAllocationTagsStatusError {
|
|
3785
|
+
/**
|
|
3786
|
+
* <p>The key for the cost allocation tag. </p>
|
|
3787
|
+
*/
|
|
3788
|
+
TagKey?: string;
|
|
3789
|
+
/**
|
|
3790
|
+
* <p>An error code representing why the action failed on this entry. </p>
|
|
3791
|
+
*/
|
|
3792
|
+
Code?: string;
|
|
3793
|
+
/**
|
|
3794
|
+
* <p>A message explaining why the action failed on this entry. </p>
|
|
3795
|
+
*/
|
|
3796
|
+
Message?: string;
|
|
3797
|
+
}
|
|
3798
|
+
export declare namespace UpdateCostAllocationTagsStatusError {
|
|
3799
|
+
/**
|
|
3800
|
+
* @internal
|
|
3801
|
+
*/
|
|
3802
|
+
const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusError) => any;
|
|
3803
|
+
}
|
|
3804
|
+
export interface UpdateCostAllocationTagsStatusResponse {
|
|
3805
|
+
/**
|
|
3806
|
+
* <p>A list of <code>UpdateCostAllocationTagsStatusError</code> objects with error details
|
|
3807
|
+
* about each cost allocation tag that can't be updated. If there's no failure, an empty array
|
|
3808
|
+
* returns. </p>
|
|
3809
|
+
*/
|
|
3810
|
+
Errors?: UpdateCostAllocationTagsStatusError[];
|
|
3811
|
+
}
|
|
3812
|
+
export declare namespace UpdateCostAllocationTagsStatusResponse {
|
|
3813
|
+
/**
|
|
3814
|
+
* @internal
|
|
3815
|
+
*/
|
|
3816
|
+
const filterSensitiveLog: (obj: UpdateCostAllocationTagsStatusResponse) => any;
|
|
3817
|
+
}
|
|
3681
3818
|
export interface UpdateCostCategoryDefinitionResponse {
|
|
3682
3819
|
/**
|
|
3683
|
-
* <p>
|
|
3684
|
-
* The unique identifier for your Cost Category.
|
|
3685
|
-
* </p>
|
|
3820
|
+
* <p>The unique identifier for your Cost Category. </p>
|
|
3686
3821
|
*/
|
|
3687
3822
|
CostCategoryArn?: string;
|
|
3688
3823
|
/**
|
|
3689
|
-
* <p>
|
|
3690
|
-
* The Cost Category's effective start date.
|
|
3691
|
-
* </p>
|
|
3824
|
+
* <p>The Cost Category's effective start date. </p>
|
|
3692
3825
|
*/
|
|
3693
3826
|
EffectiveStart?: string;
|
|
3694
3827
|
}
|
|
@@ -3924,12 +4057,12 @@ export interface CostCategoryRule {
|
|
|
3924
4057
|
/**
|
|
3925
4058
|
* <p>You can define the <code>CostCategoryRule</code> rule type as either
|
|
3926
4059
|
* <code>REGULAR</code> or <code>INHERITED_VALUE</code>. The
|
|
3927
|
-
* <code>INHERITED_VALUE</code> rule type adds the flexibility
|
|
3928
|
-
* dynamically inherits the cost category value from the dimension value
|
|
3929
|
-
*
|
|
3930
|
-
*
|
|
3931
|
-
* inherited value rule type, then choose the tag dimension and
|
|
3932
|
-
* use.</p>
|
|
4060
|
+
* <code>INHERITED_VALUE</code> rule type adds the flexibility to define a rule that
|
|
4061
|
+
* dynamically inherits the cost category value. This value is from the dimension value
|
|
4062
|
+
* that's defined by <code>CostCategoryInheritedValueDimension</code>. For example, suppose
|
|
4063
|
+
* that you want to costs to be dynamically grouped based on the value of a specific tag
|
|
4064
|
+
* key. First, choose an inherited value rule type, and then choose the tag dimension and
|
|
4065
|
+
* specify the tag key to use.</p>
|
|
3933
4066
|
*/
|
|
3934
4067
|
Type?: CostCategoryRuleType | string;
|
|
3935
4068
|
}
|
|
@@ -4035,10 +4168,10 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
4035
4168
|
* <note>
|
|
4036
4169
|
* <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage
|
|
4037
4170
|
* numbers without taking the units into account. For example, if you aggregate
|
|
4038
|
-
*
|
|
4039
|
-
* Amazon EC2 compute hours and data transfer are measured in different units (for example,
|
|
4040
|
-
*
|
|
4041
|
-
*
|
|
4171
|
+
* <code>usageQuantity</code> across all of Amazon EC2, the results aren't meaningful because
|
|
4172
|
+
* Amazon EC2 compute hours and data transfer are measured in different units (for example,
|
|
4173
|
+
* hour or GB). To get more meaningful <code>UsageQuantity</code> metrics, filter by
|
|
4174
|
+
* <code>UsageType</code> or <code>UsageTypeGroups</code>. </p>
|
|
4042
4175
|
* </note>
|
|
4043
4176
|
* <p>
|
|
4044
4177
|
* <code>Metrics</code> is required for <code>GetCostAndUsageWithResources</code> requests.</p>
|
|
@@ -4062,7 +4195,10 @@ export declare namespace GetCostAndUsageWithResourcesRequest {
|
|
|
4062
4195
|
export interface GetCostCategoriesRequest {
|
|
4063
4196
|
/**
|
|
4064
4197
|
* <p>The value that you want to search the filter values for.</p>
|
|
4065
|
-
* <p>If you
|
|
4198
|
+
* <p>If you don't specify a <code>CostCategoryName</code>, <code>SearchString</code> is used to
|
|
4199
|
+
* filter Cost Category names that match the <code>SearchString</code> pattern. If you specify a
|
|
4200
|
+
* <code>CostCategoryName</code>, <code>SearchString</code> is used to filter Cost Category
|
|
4201
|
+
* values that match the <code>SearchString</code> pattern.</p>
|
|
4066
4202
|
*/
|
|
4067
4203
|
SearchString?: string;
|
|
4068
4204
|
/**
|
|
@@ -4132,8 +4268,8 @@ export interface GetCostCategoriesRequest {
|
|
|
4132
4268
|
*/
|
|
4133
4269
|
Filter?: Expression;
|
|
4134
4270
|
/**
|
|
4135
|
-
* <p>The value
|
|
4136
|
-
* <p>The key represents cost and usage metrics. The following values are supported:</p>
|
|
4271
|
+
* <p>The value that you sort the data by.</p>
|
|
4272
|
+
* <p>The key represents the cost and usage metrics. The following values are supported:</p>
|
|
4137
4273
|
* <ul>
|
|
4138
4274
|
* <li>
|
|
4139
4275
|
* <p>
|
|
@@ -4171,18 +4307,24 @@ export interface GetCostCategoriesRequest {
|
|
|
4171
4307
|
* </p>
|
|
4172
4308
|
* </li>
|
|
4173
4309
|
* </ul>
|
|
4174
|
-
* <p>
|
|
4175
|
-
*
|
|
4310
|
+
* <p>The supported key values for the <code>SortOrder</code> value are <code>ASCENDING</code>
|
|
4311
|
+
* and <code>DESCENDING</code>.</p>
|
|
4312
|
+
* <p>When you use the <code>SortBy</code> value, the <code>NextPageToken</code> and
|
|
4313
|
+
* <code>SearchString</code> key values aren't supported.</p>
|
|
4176
4314
|
*/
|
|
4177
4315
|
SortBy?: SortDefinition[];
|
|
4178
4316
|
/**
|
|
4179
|
-
* <p>This field is only used when <code>SortBy</code> is provided in the
|
|
4180
|
-
*
|
|
4181
|
-
* <p>
|
|
4317
|
+
* <p>This field is only used when the <code>SortBy</code> value is provided in the
|
|
4318
|
+
* request.</p>
|
|
4319
|
+
* <p>The maximum number of objects that are returned for this request. If
|
|
4320
|
+
* <code>MaxResults</code> isn't specified with the <code>SortBy</code> value, the request
|
|
4321
|
+
* returns 1000 results as the default value for this parameter.</p>
|
|
4322
|
+
* <p>For <code>GetCostCategories</code>, MaxResults has an upper quota of 1000.</p>
|
|
4182
4323
|
*/
|
|
4183
4324
|
MaxResults?: number;
|
|
4184
4325
|
/**
|
|
4185
|
-
* <p>If the number of objects that are still available for retrieval exceeds the
|
|
4326
|
+
* <p>If the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of
|
|
4327
|
+
* objects, provide the NextPageToken from the previous call in your next request.</p>
|
|
4186
4328
|
*/
|
|
4187
4329
|
NextPageToken?: string;
|
|
4188
4330
|
}
|
|
@@ -4394,9 +4536,11 @@ export interface GetDimensionValuesRequest {
|
|
|
4394
4536
|
* </li>
|
|
4395
4537
|
* <li>
|
|
4396
4538
|
* <p>BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:</p>
|
|
4397
|
-
* <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services
|
|
4398
|
-
* <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that
|
|
4399
|
-
*
|
|
4539
|
+
* <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.</p>
|
|
4540
|
+
* <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an
|
|
4541
|
+
* acting reseller for Amazon Web Services in India.</p>
|
|
4542
|
+
* <p>- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are
|
|
4543
|
+
* built on Amazon Web Services by third-party software providers.</p>
|
|
4400
4544
|
* </li>
|
|
4401
4545
|
* <li>
|
|
4402
4546
|
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
|
|
@@ -4411,10 +4555,15 @@ export interface GetDimensionValuesRequest {
|
|
|
4411
4555
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
|
|
4412
4556
|
* </li>
|
|
4413
4557
|
* <li>
|
|
4414
|
-
* <p>INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases.
|
|
4558
|
+
* <p>INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases.
|
|
4559
|
+
* Examples are <code>Compute Optimized</code> (for example, <code>C4</code>,
|
|
4560
|
+
* <code>C5</code>, <code>C6g</code>, and <code>C7g</code>), <code>Memory Optimization</code>
|
|
4561
|
+
* (for example, <code>R4</code>, <code>R5n</code>, <code>R5b</code>, and
|
|
4562
|
+
* <code>R6g</code>).</p>
|
|
4415
4563
|
* </li>
|
|
4416
4564
|
* <li>
|
|
4417
|
-
* <p>INVOICING_ENTITY - The name of the entity
|
|
4565
|
+
* <p>INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services
|
|
4566
|
+
* invoice.</p>
|
|
4418
4567
|
* </li>
|
|
4419
4568
|
* <li>
|
|
4420
4569
|
* <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p>
|
|
@@ -4433,8 +4582,8 @@ export interface GetDimensionValuesRequest {
|
|
|
4433
4582
|
* <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
|
|
4434
4583
|
* </li>
|
|
4435
4584
|
* <li>
|
|
4436
|
-
* <p>PURCHASE_TYPE - The reservation type of the purchase
|
|
4437
|
-
*
|
|
4585
|
+
* <p>PURCHASE_TYPE - The reservation type of the purchase that this usage is related to.
|
|
4586
|
+
* Examples include On-Demand Instances and Standard Reserved Instances.</p>
|
|
4438
4587
|
* </li>
|
|
4439
4588
|
* <li>
|
|
4440
4589
|
* <p>RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.</p>
|
|
@@ -4463,7 +4612,9 @@ export interface GetDimensionValuesRequest {
|
|
|
4463
4612
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
4464
4613
|
* </li>
|
|
4465
4614
|
* <li>
|
|
4466
|
-
* <p>RECORD_TYPE - The different types of charges such as
|
|
4615
|
+
* <p>RECORD_TYPE - The different types of charges such as
|
|
4616
|
+
* Reserved
|
|
4617
|
+
* Instance (RI) fees, usage costs, tax refunds, and credits.</p>
|
|
4467
4618
|
* </li>
|
|
4468
4619
|
* <li>
|
|
4469
4620
|
* <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.</p>
|
|
@@ -4510,7 +4661,8 @@ export interface GetDimensionValuesRequest {
|
|
|
4510
4661
|
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p>
|
|
4511
4662
|
* </li>
|
|
4512
4663
|
* <li>
|
|
4513
|
-
* <p>PAYMENT_OPTION -
|
|
4664
|
+
* <p>PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All
|
|
4665
|
+
* Upfront)</p>
|
|
4514
4666
|
* </li>
|
|
4515
4667
|
* <li>
|
|
4516
4668
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
@@ -4587,7 +4739,7 @@ export interface GetDimensionValuesRequest {
|
|
|
4587
4739
|
*/
|
|
4588
4740
|
Filter?: Expression;
|
|
4589
4741
|
/**
|
|
4590
|
-
* <p>The value
|
|
4742
|
+
* <p>The value that you want to sort the data by.</p>
|
|
4591
4743
|
* <p>The key represents cost and usage metrics. The following values are supported:</p>
|
|
4592
4744
|
* <ul>
|
|
4593
4745
|
* <li>
|
|
@@ -4626,12 +4778,17 @@ export interface GetDimensionValuesRequest {
|
|
|
4626
4778
|
* </p>
|
|
4627
4779
|
* </li>
|
|
4628
4780
|
* </ul>
|
|
4629
|
-
* <p>
|
|
4630
|
-
*
|
|
4781
|
+
* <p>The supported values for the <code>SortOrder</code> key are <code>ASCENDING</code> or
|
|
4782
|
+
* <code>DESCENDING</code>.</p>
|
|
4783
|
+
* <p>When you specify a <code>SortBy</code> paramater, the context must be
|
|
4784
|
+
* <code>COST_AND_USAGE</code>. Further, when using <code>SortBy</code>,
|
|
4785
|
+
* <code>NextPageToken</code> and <code>SearchString</code> aren't supported.</p>
|
|
4631
4786
|
*/
|
|
4632
4787
|
SortBy?: SortDefinition[];
|
|
4633
4788
|
/**
|
|
4634
|
-
* <p>This field is only used when SortBy is provided in the request. The maximum number of
|
|
4789
|
+
* <p>This field is only used when SortBy is provided in the request. The maximum number of
|
|
4790
|
+
* objects that are returned for this request. If MaxResults isn't specified with SortBy, the
|
|
4791
|
+
* request returns 1000 results as the default value for this parameter.</p>
|
|
4635
4792
|
* <p>For <code>GetDimensionValues</code>, MaxResults has an upper limit of 1000.</p>
|
|
4636
4793
|
*/
|
|
4637
4794
|
MaxResults?: number;
|
|
@@ -4820,7 +4977,9 @@ export interface GetReservationCoverageRequest {
|
|
|
4820
4977
|
*/
|
|
4821
4978
|
SortBy?: SortDefinition;
|
|
4822
4979
|
/**
|
|
4823
|
-
* <p>The maximum number of objects that you returned for this request. If more objects are
|
|
4980
|
+
* <p>The maximum number of objects that you returned for this request. If more objects are
|
|
4981
|
+
* available, in the response, Amazon Web Services provides a NextPageToken value that you can use
|
|
4982
|
+
* in a subsequent call to get the next batch of objects.</p>
|
|
4824
4983
|
*/
|
|
4825
4984
|
MaxResults?: number;
|
|
4826
4985
|
}
|
|
@@ -4832,7 +4991,7 @@ export declare namespace GetReservationCoverageRequest {
|
|
|
4832
4991
|
}
|
|
4833
4992
|
export interface GetReservationPurchaseRecommendationRequest {
|
|
4834
4993
|
/**
|
|
4835
|
-
* <p>The account ID that
|
|
4994
|
+
* <p>The account ID that's associated with the recommendation. </p>
|
|
4836
4995
|
*/
|
|
4837
4996
|
AccountId?: string;
|
|
4838
4997
|
/**
|
|
@@ -4934,8 +5093,11 @@ export declare namespace GetReservationPurchaseRecommendationRequest {
|
|
|
4934
5093
|
}
|
|
4935
5094
|
export interface GetReservationUtilizationRequest {
|
|
4936
5095
|
/**
|
|
4937
|
-
* <p>Sets the start and end dates for retrieving RI utilization. The start
|
|
4938
|
-
*
|
|
5096
|
+
* <p>Sets the start and end dates for retrieving Reserved Instance (RI) utilization. The start
|
|
5097
|
+
* date is inclusive, but the end date is exclusive. For example, if <code>start</code> is
|
|
5098
|
+
* <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and
|
|
5099
|
+
* usage data is retrieved from <code>2017-01-01</code> up to and including
|
|
5100
|
+
* <code>2017-04-30</code> but not including <code>2017-05-01</code>. </p>
|
|
4939
5101
|
*/
|
|
4940
5102
|
TimePeriod: DateInterval | undefined;
|
|
4941
5103
|
/**
|
|
@@ -4994,7 +5156,7 @@ export interface GetReservationUtilizationRequest {
|
|
|
4994
5156
|
*/
|
|
4995
5157
|
Filter?: Expression;
|
|
4996
5158
|
/**
|
|
4997
|
-
* <p>The value
|
|
5159
|
+
* <p>The value that you want to sort the data by.</p>
|
|
4998
5160
|
*
|
|
4999
5161
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5000
5162
|
* <ul>
|
|
@@ -5085,7 +5247,8 @@ export interface GetReservationUtilizationRequest {
|
|
|
5085
5247
|
* </li>
|
|
5086
5248
|
* </ul>
|
|
5087
5249
|
*
|
|
5088
|
-
* <p>
|
|
5250
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5251
|
+
* <code>DESCENDING</code>.</p>
|
|
5089
5252
|
*/
|
|
5090
5253
|
SortBy?: SortDefinition;
|
|
5091
5254
|
/**
|
|
@@ -5093,7 +5256,9 @@ export interface GetReservationUtilizationRequest {
|
|
|
5093
5256
|
*/
|
|
5094
5257
|
NextPageToken?: string;
|
|
5095
5258
|
/**
|
|
5096
|
-
* <p>The maximum number of objects that you returned for this request. If more objects are
|
|
5259
|
+
* <p>The maximum number of objects that you returned for this request. If more objects are
|
|
5260
|
+
* available, in the response, Amazon Web Services provides a NextPageToken value that you can use
|
|
5261
|
+
* in a subsequent call to get the next batch of objects.</p>
|
|
5097
5262
|
*/
|
|
5098
5263
|
MaxResults?: number;
|
|
5099
5264
|
}
|
|
@@ -5163,11 +5328,11 @@ export interface GetRightsizingRecommendationRequest {
|
|
|
5163
5328
|
*/
|
|
5164
5329
|
Filter?: Expression;
|
|
5165
5330
|
/**
|
|
5166
|
-
* <p>
|
|
5167
|
-
* recommendations for instances within the same instance families or across
|
|
5168
|
-
* families. You can also choose to view your estimated savings
|
|
5169
|
-
* with consideration of existing Savings Plans or RI benefits,
|
|
5170
|
-
* neither. </p>
|
|
5331
|
+
* <p>You can use Configuration to customize recommendations across two attributes. You can
|
|
5332
|
+
* choose to view recommendations for instances within the same instance families or across
|
|
5333
|
+
* different instance families. You can also choose to view your estimated savings that are
|
|
5334
|
+
* associated with recommendations with consideration of existing Savings Plans or RI benefits,
|
|
5335
|
+
* or neither. </p>
|
|
5171
5336
|
*/
|
|
5172
5337
|
Configuration?: RightsizingRecommendationConfiguration;
|
|
5173
5338
|
/**
|
|
@@ -5240,7 +5405,8 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5240
5405
|
*/
|
|
5241
5406
|
Metrics?: string[];
|
|
5242
5407
|
/**
|
|
5243
|
-
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has
|
|
5408
|
+
* <p>The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has
|
|
5409
|
+
* more results than the maximum page size.</p>
|
|
5244
5410
|
*/
|
|
5245
5411
|
NextToken?: string;
|
|
5246
5412
|
/**
|
|
@@ -5248,7 +5414,7 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5248
5414
|
*/
|
|
5249
5415
|
MaxResults?: number;
|
|
5250
5416
|
/**
|
|
5251
|
-
* <p>The value
|
|
5417
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5252
5418
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5253
5419
|
* <ul>
|
|
5254
5420
|
* <li>
|
|
@@ -5288,7 +5454,8 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5288
5454
|
* </li>
|
|
5289
5455
|
* </ul>
|
|
5290
5456
|
*
|
|
5291
|
-
* <p>
|
|
5457
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5458
|
+
* <code>DESCENDING</code>.</p>
|
|
5292
5459
|
*/
|
|
5293
5460
|
SortBy?: SortDefinition;
|
|
5294
5461
|
}
|
|
@@ -5300,17 +5467,15 @@ export declare namespace GetSavingsPlansCoverageRequest {
|
|
|
5300
5467
|
}
|
|
5301
5468
|
export interface GetSavingsPlansPurchaseRecommendationRequest {
|
|
5302
5469
|
/**
|
|
5303
|
-
* <p>The Savings Plans recommendation type requested.</p>
|
|
5470
|
+
* <p>The Savings Plans recommendation type that's requested.</p>
|
|
5304
5471
|
*/
|
|
5305
5472
|
SavingsPlansType: SupportedSavingsPlansType | string | undefined;
|
|
5306
5473
|
/**
|
|
5307
|
-
* <p>The savings plan recommendation term used to
|
|
5308
|
-
* generate these
|
|
5309
|
-
* recommendations.</p>
|
|
5474
|
+
* <p>The savings plan recommendation term that's used to generate these recommendations.</p>
|
|
5310
5475
|
*/
|
|
5311
5476
|
TermInYears: TermInYears | string | undefined;
|
|
5312
5477
|
/**
|
|
5313
|
-
* <p>The payment option used to generate these recommendations.</p>
|
|
5478
|
+
* <p>The payment option that's used to generate these recommendations.</p>
|
|
5314
5479
|
*/
|
|
5315
5480
|
PaymentOption: PaymentOption | string | undefined;
|
|
5316
5481
|
/**
|
|
@@ -5326,19 +5491,19 @@ export interface GetSavingsPlansPurchaseRecommendationRequest {
|
|
|
5326
5491
|
*/
|
|
5327
5492
|
PageSize?: number;
|
|
5328
5493
|
/**
|
|
5329
|
-
* <p>The lookback period used to generate the recommendation.</p>
|
|
5494
|
+
* <p>The lookback period that's used to generate the recommendation.</p>
|
|
5330
5495
|
*/
|
|
5331
5496
|
LookbackPeriodInDays: LookbackPeriodInDays | string | undefined;
|
|
5332
5497
|
/**
|
|
5333
5498
|
* <p>You can filter your recommendations by Account ID with the <code>LINKED_ACCOUNT</code>
|
|
5334
5499
|
* dimension. To filter your recommendations by Account ID, specify <code>Key</code> as
|
|
5335
|
-
* <code>LINKED_ACCOUNT</code> and <code>Value</code> as the comma-separated Acount ID(s)
|
|
5336
|
-
*
|
|
5337
|
-
* <p>For GetSavingsPlansPurchaseRecommendation, the <code>Filter</code>
|
|
5500
|
+
* <code>LINKED_ACCOUNT</code> and <code>Value</code> as the comma-separated Acount ID(s) that
|
|
5501
|
+
* you want to see Savings Plans purchase recommendations for.</p>
|
|
5502
|
+
* <p>For GetSavingsPlansPurchaseRecommendation, the <code>Filter</code> doesn't include
|
|
5338
5503
|
* <code>CostCategories</code> or <code>Tags</code>. It only includes <code>Dimensions</code>.
|
|
5339
5504
|
* With <code>Dimensions</code>, <code>Key</code> must be <code>LINKED_ACCOUNT</code> and
|
|
5340
|
-
* <code>Value</code> can be a single Account ID or multiple comma-separated Account IDs
|
|
5341
|
-
*
|
|
5505
|
+
* <code>Value</code> can be a single Account ID or multiple comma-separated Account IDs that
|
|
5506
|
+
* you want to see Savings Plans Purchase Recommendations for. <code>AND</code> and
|
|
5342
5507
|
* <code>OR</code> operators are not supported.</p>
|
|
5343
5508
|
*/
|
|
5344
5509
|
Filter?: Expression;
|
|
@@ -5402,7 +5567,7 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
5402
5567
|
*/
|
|
5403
5568
|
MaxResults?: number;
|
|
5404
5569
|
/**
|
|
5405
|
-
* <p>The value
|
|
5570
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5406
5571
|
*
|
|
5407
5572
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5408
5573
|
* <ul>
|
|
@@ -5443,7 +5608,8 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
5443
5608
|
* </li>
|
|
5444
5609
|
* </ul>
|
|
5445
5610
|
*
|
|
5446
|
-
* <p>
|
|
5611
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5612
|
+
* <code>DESCENDING</code>.</p>
|
|
5447
5613
|
*/
|
|
5448
5614
|
SortBy?: SortDefinition;
|
|
5449
5615
|
}
|
|
@@ -5504,7 +5670,7 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
5504
5670
|
*/
|
|
5505
5671
|
Filter?: Expression;
|
|
5506
5672
|
/**
|
|
5507
|
-
* <p>The value
|
|
5673
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5508
5674
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5509
5675
|
* <ul>
|
|
5510
5676
|
* <li>
|
|
@@ -5534,7 +5700,8 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
5534
5700
|
* </li>
|
|
5535
5701
|
* </ul>
|
|
5536
5702
|
*
|
|
5537
|
-
* <p>
|
|
5703
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5704
|
+
* <code>DESCENDING</code>.</p>
|
|
5538
5705
|
*/
|
|
5539
5706
|
SortBy?: SortDefinition;
|
|
5540
5707
|
}
|
|
@@ -5617,7 +5784,7 @@ export interface GetTagsRequest {
|
|
|
5617
5784
|
*/
|
|
5618
5785
|
Filter?: Expression;
|
|
5619
5786
|
/**
|
|
5620
|
-
* <p>The value
|
|
5787
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5621
5788
|
* <p>The key represents cost and usage metrics. The following values are supported:</p>
|
|
5622
5789
|
* <ul>
|
|
5623
5790
|
* <li>
|
|
@@ -5656,13 +5823,17 @@ export interface GetTagsRequest {
|
|
|
5656
5823
|
* </p>
|
|
5657
5824
|
* </li>
|
|
5658
5825
|
* </ul>
|
|
5659
|
-
* <p>
|
|
5660
|
-
*
|
|
5826
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5827
|
+
* <code>DESCENDING</code>.</p>
|
|
5828
|
+
* <p>When you use <code>SortBy</code>, <code>NextPageToken</code> and <code>SearchString</code>
|
|
5829
|
+
* aren't supported.</p>
|
|
5661
5830
|
*/
|
|
5662
5831
|
SortBy?: SortDefinition[];
|
|
5663
5832
|
/**
|
|
5664
|
-
* <p>This field is only used when SortBy is provided in the request. The maximum number of
|
|
5665
|
-
*
|
|
5833
|
+
* <p>This field is only used when SortBy is provided in the request. The maximum number of
|
|
5834
|
+
* objects that are returned for this request. If MaxResults isn't specified with SortBy, the
|
|
5835
|
+
* request returns 1000 results as the default value for this parameter.</p>
|
|
5836
|
+
* <p>For <code>GetTags</code>, MaxResults has an upper quota of 1000.</p>
|
|
5666
5837
|
*/
|
|
5667
5838
|
MaxResults?: number;
|
|
5668
5839
|
/**
|
|
@@ -5678,8 +5849,13 @@ export declare namespace GetTagsRequest {
|
|
|
5678
5849
|
}
|
|
5679
5850
|
export interface GetUsageForecastRequest {
|
|
5680
5851
|
/**
|
|
5681
|
-
* <p>The start and end dates of the period that you want to retrieve usage forecast for. The
|
|
5682
|
-
*
|
|
5852
|
+
* <p>The start and end dates of the period that you want to retrieve usage forecast for. The
|
|
5853
|
+
* start date is included in the period, but the end date isn't included in the period. For
|
|
5854
|
+
* example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is
|
|
5855
|
+
* <code>2017-05-01</code>, then the cost and usage data is retrieved from
|
|
5856
|
+
* <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including
|
|
5857
|
+
* <code>2017-05-01</code>. The start date must be equal to or later than the current date to
|
|
5858
|
+
* avoid a validation error.</p>
|
|
5683
5859
|
*/
|
|
5684
5860
|
TimePeriod: DateInterval | undefined;
|
|
5685
5861
|
/**
|
|
@@ -5823,7 +5999,7 @@ export interface GetUsageForecastRequest {
|
|
|
5823
5999
|
*/
|
|
5824
6000
|
Filter?: Expression;
|
|
5825
6001
|
/**
|
|
5826
|
-
* <p>Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean
|
|
6002
|
+
* <p>Amazon Web Services Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean
|
|
5827
6003
|
* by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value
|
|
5828
6004
|
* falling in the prediction interval. Higher confidence levels result in wider prediction intervals.</p>
|
|
5829
6005
|
*/
|
|
@@ -5841,10 +6017,10 @@ export interface CreateAnomalyMonitorRequest {
|
|
|
5841
6017
|
*/
|
|
5842
6018
|
AnomalyMonitor: AnomalyMonitor | undefined;
|
|
5843
6019
|
/**
|
|
5844
|
-
* <p>
|
|
5845
|
-
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
|
|
6020
|
+
* <p>An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html">
|
|
5846
6021
|
* <code>AnomalyMonitor</code>
|
|
5847
|
-
* </a>. You can use resource tags to control access to your
|
|
6022
|
+
* </a>. You can use resource tags to control access to your
|
|
6023
|
+
* <code>monitor</code> using IAM policies.</p>
|
|
5848
6024
|
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
5849
6025
|
* <ul>
|
|
5850
6026
|
* <li>
|
|
@@ -5857,7 +6033,7 @@ export interface CreateAnomalyMonitorRequest {
|
|
|
5857
6033
|
* <p>The maximum length of a value is 256 characters</p>
|
|
5858
6034
|
* </li>
|
|
5859
6035
|
* <li>
|
|
5860
|
-
* <p>
|
|
6036
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
5861
6037
|
* </p>
|
|
5862
6038
|
* </li>
|
|
5863
6039
|
* <li>
|
|
@@ -5893,7 +6069,7 @@ export interface CostCategory {
|
|
|
5893
6069
|
*/
|
|
5894
6070
|
EffectiveStart: string | undefined;
|
|
5895
6071
|
/**
|
|
5896
|
-
* <p>
|
|
6072
|
+
* <p>The effective end data of your Cost Category.</p>
|
|
5897
6073
|
*/
|
|
5898
6074
|
EffectiveEnd?: string;
|
|
5899
6075
|
/**
|
|
@@ -5958,10 +6134,10 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
5958
6134
|
*/
|
|
5959
6135
|
SplitChargeRules?: CostCategorySplitChargeRule[];
|
|
5960
6136
|
/**
|
|
5961
|
-
* <p>
|
|
5962
|
-
* An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html">
|
|
6137
|
+
* <p>An optional list of tags to associate with the specified <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html">
|
|
5963
6138
|
* <code>CostCategory</code>
|
|
5964
|
-
* </a>. You can use resource tags to control access to your
|
|
6139
|
+
* </a>. You can use resource tags to control access to your
|
|
6140
|
+
* <code>cost category</code> using IAM policies.</p>
|
|
5965
6141
|
* <p>Each tag consists of a key and a value, and each key must be unique for the resource. The following restrictions apply to resource tags:</p>
|
|
5966
6142
|
* <ul>
|
|
5967
6143
|
* <li>
|
|
@@ -5974,7 +6150,7 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
5974
6150
|
* <p>The maximum length of a value is 256 characters</p>
|
|
5975
6151
|
* </li>
|
|
5976
6152
|
* <li>
|
|
5977
|
-
* <p>
|
|
6153
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
5978
6154
|
* </p>
|
|
5979
6155
|
* </li>
|
|
5980
6156
|
* <li>
|