@aws-sdk/client-cost-explorer 3.99.0 → 3.106.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/dist-cjs/CostExplorer.js +30 -0
- package/dist-cjs/CostExplorerClient.js +2 -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/CostExplorerClient.js +2 -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 +410 -248
- 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 +94 -21
- 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 +4 -3
- package/CHANGELOG.md +0 -3755
|
@@ -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
|
}
|
|
@@ -1032,9 +1013,7 @@ export interface DimensionValuesWithAttributes {
|
|
|
1032
1013
|
/**
|
|
1033
1014
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
1034
1015
|
*/
|
|
1035
|
-
Attributes?:
|
|
1036
|
-
[key: string]: string;
|
|
1037
|
-
};
|
|
1016
|
+
Attributes?: Record<string, string>;
|
|
1038
1017
|
}
|
|
1039
1018
|
export declare namespace DimensionValuesWithAttributes {
|
|
1040
1019
|
/**
|
|
@@ -1072,9 +1051,7 @@ export interface Group {
|
|
|
1072
1051
|
/**
|
|
1073
1052
|
* <p>The metrics that are included in this group.</p>
|
|
1074
1053
|
*/
|
|
1075
|
-
Metrics?:
|
|
1076
|
-
[key: string]: MetricValue;
|
|
1077
|
-
};
|
|
1054
|
+
Metrics?: Record<string, MetricValue>;
|
|
1078
1055
|
}
|
|
1079
1056
|
export declare namespace Group {
|
|
1080
1057
|
/**
|
|
@@ -1093,9 +1070,7 @@ export interface ResultByTime {
|
|
|
1093
1070
|
/**
|
|
1094
1071
|
* <p>The total amount of cost or usage accrued during the time period.</p>
|
|
1095
1072
|
*/
|
|
1096
|
-
Total?:
|
|
1097
|
-
[key: string]: MetricValue;
|
|
1098
|
-
};
|
|
1073
|
+
Total?: Record<string, MetricValue>;
|
|
1099
1074
|
/**
|
|
1100
1075
|
* <p>The groups that this time period includes.</p>
|
|
1101
1076
|
*/
|
|
@@ -1159,7 +1134,7 @@ export interface GetCostAndUsageWithResourcesResponse {
|
|
|
1159
1134
|
*/
|
|
1160
1135
|
GroupDefinitions?: GroupDefinition[];
|
|
1161
1136
|
/**
|
|
1162
|
-
* <p>The time period that
|
|
1137
|
+
* <p>The time period that's covered by the results in the response.</p>
|
|
1163
1138
|
*/
|
|
1164
1139
|
ResultsByTime?: ResultByTime[];
|
|
1165
1140
|
/**
|
|
@@ -1178,7 +1153,7 @@ export declare enum SortOrder {
|
|
|
1178
1153
|
DESCENDING = "DESCENDING"
|
|
1179
1154
|
}
|
|
1180
1155
|
/**
|
|
1181
|
-
* <p>The details
|
|
1156
|
+
* <p>The details for how to sort the data.</p>
|
|
1182
1157
|
*/
|
|
1183
1158
|
export interface SortDefinition {
|
|
1184
1159
|
/**
|
|
@@ -1198,7 +1173,8 @@ export declare namespace SortDefinition {
|
|
|
1198
1173
|
}
|
|
1199
1174
|
export interface GetCostCategoriesResponse {
|
|
1200
1175
|
/**
|
|
1201
|
-
* <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>
|
|
1202
1178
|
*/
|
|
1203
1179
|
NextPageToken?: string;
|
|
1204
1180
|
/**
|
|
@@ -1207,12 +1183,12 @@ export interface GetCostCategoriesResponse {
|
|
|
1207
1183
|
CostCategoryNames?: string[];
|
|
1208
1184
|
/**
|
|
1209
1185
|
* <p>The Cost Category values.</p>
|
|
1210
|
-
* <p>
|
|
1211
|
-
*
|
|
1186
|
+
* <p>If the <code>CostCategoryName</code> key isn't specified in the request, the
|
|
1187
|
+
* <code>CostCategoryValues</code> fields aren't returned. </p>
|
|
1212
1188
|
*/
|
|
1213
1189
|
CostCategoryValues?: string[];
|
|
1214
1190
|
/**
|
|
1215
|
-
* <p>The number of objects returned.</p>
|
|
1191
|
+
* <p>The number of objects that are returned.</p>
|
|
1216
1192
|
*/
|
|
1217
1193
|
ReturnSize: number | undefined;
|
|
1218
1194
|
/**
|
|
@@ -1347,7 +1323,8 @@ export interface GetDimensionValuesResponse {
|
|
|
1347
1323
|
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
|
|
1348
1324
|
* </li>
|
|
1349
1325
|
* <li>
|
|
1350
|
-
* <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>
|
|
1351
1328
|
* </li>
|
|
1352
1329
|
* <li>
|
|
1353
1330
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
|
|
@@ -1525,9 +1502,7 @@ export interface ReservationCoverageGroup {
|
|
|
1525
1502
|
/**
|
|
1526
1503
|
* <p>The attributes for this group of reservations.</p>
|
|
1527
1504
|
*/
|
|
1528
|
-
Attributes?:
|
|
1529
|
-
[key: string]: string;
|
|
1530
|
-
};
|
|
1505
|
+
Attributes?: Record<string, string>;
|
|
1531
1506
|
/**
|
|
1532
1507
|
* <p>How much instance usage this group of reservations covered.</p>
|
|
1533
1508
|
*/
|
|
@@ -1887,7 +1862,7 @@ export declare namespace InstanceDetails {
|
|
|
1887
1862
|
*/
|
|
1888
1863
|
export interface ReservationPurchaseRecommendationDetail {
|
|
1889
1864
|
/**
|
|
1890
|
-
* <p>The account that this RI recommendation is for.</p>
|
|
1865
|
+
* <p>The account that this Reserved Instance (RI) recommendation is for.</p>
|
|
1891
1866
|
*/
|
|
1892
1867
|
AccountId?: string;
|
|
1893
1868
|
/**
|
|
@@ -1956,12 +1931,12 @@ export interface ReservationPurchaseRecommendationDetail {
|
|
|
1956
1931
|
*/
|
|
1957
1932
|
CurrencyCode?: string;
|
|
1958
1933
|
/**
|
|
1959
|
-
* <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
|
|
1960
1935
|
* in a month.</p>
|
|
1961
1936
|
*/
|
|
1962
1937
|
EstimatedMonthlySavingsAmount?: string;
|
|
1963
1938
|
/**
|
|
1964
|
-
* <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
|
|
1965
1940
|
* in a month, as a percentage of your overall costs.</p>
|
|
1966
1941
|
*/
|
|
1967
1942
|
EstimatedMonthlySavingsPercentage?: string;
|
|
@@ -1971,8 +1946,8 @@ export interface ReservationPurchaseRecommendationDetail {
|
|
|
1971
1946
|
*/
|
|
1972
1947
|
EstimatedMonthlyOnDemandCost?: string;
|
|
1973
1948
|
/**
|
|
1974
|
-
* <p>How much Amazon Web Services estimates that you
|
|
1975
|
-
*
|
|
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>
|
|
1976
1951
|
*/
|
|
1977
1952
|
EstimatedReservationCostForLookbackPeriod?: string;
|
|
1978
1953
|
/**
|
|
@@ -2186,9 +2161,7 @@ export interface ReservationUtilizationGroup {
|
|
|
2186
2161
|
/**
|
|
2187
2162
|
* <p>The attributes for this group of reservations.</p>
|
|
2188
2163
|
*/
|
|
2189
|
-
Attributes?:
|
|
2190
|
-
[key: string]: string;
|
|
2191
|
-
};
|
|
2164
|
+
Attributes?: Record<string, string>;
|
|
2192
2165
|
/**
|
|
2193
2166
|
* <p>How much you used this group of reservations.</p>
|
|
2194
2167
|
*/
|
|
@@ -2225,11 +2198,11 @@ export declare namespace UtilizationByTime {
|
|
|
2225
2198
|
}
|
|
2226
2199
|
export interface GetReservationUtilizationResponse {
|
|
2227
2200
|
/**
|
|
2228
|
-
* <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>
|
|
2229
2202
|
*/
|
|
2230
2203
|
UtilizationsByTime: UtilizationByTime[] | undefined;
|
|
2231
2204
|
/**
|
|
2232
|
-
* <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>
|
|
2233
2206
|
*/
|
|
2234
2207
|
Total?: ReservationAggregates;
|
|
2235
2208
|
/**
|
|
@@ -2252,7 +2225,8 @@ export declare enum RecommendationTarget {
|
|
|
2252
2225
|
* recommendations across two attributes. You can choose to view recommendations for
|
|
2253
2226
|
* instances within the same instance families or across different instance families. You
|
|
2254
2227
|
* can also choose to view your estimated savings that are associated with recommendations
|
|
2255
|
-
* 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>
|
|
2256
2230
|
*/
|
|
2257
2231
|
export interface RightsizingRecommendationConfiguration {
|
|
2258
2232
|
/**
|
|
@@ -2340,7 +2314,7 @@ export interface EC2ResourceDetails {
|
|
|
2340
2314
|
*/
|
|
2341
2315
|
Storage?: string;
|
|
2342
2316
|
/**
|
|
2343
|
-
* <p>
|
|
2317
|
+
* <p>The number of VCPU cores in the Amazon Web Services instance type.</p>
|
|
2344
2318
|
*/
|
|
2345
2319
|
Vcpu?: string;
|
|
2346
2320
|
}
|
|
@@ -2351,11 +2325,11 @@ export declare namespace EC2ResourceDetails {
|
|
|
2351
2325
|
const filterSensitiveLog: (obj: EC2ResourceDetails) => any;
|
|
2352
2326
|
}
|
|
2353
2327
|
/**
|
|
2354
|
-
* <p>Details
|
|
2328
|
+
* <p>Details for the resource.</p>
|
|
2355
2329
|
*/
|
|
2356
2330
|
export interface ResourceDetails {
|
|
2357
2331
|
/**
|
|
2358
|
-
* <p>Details
|
|
2332
|
+
* <p>Details for the Amazon EC2 resource.</p>
|
|
2359
2333
|
*/
|
|
2360
2334
|
EC2ResourceDetails?: EC2ResourceDetails;
|
|
2361
2335
|
}
|
|
@@ -2366,24 +2340,24 @@ export declare namespace ResourceDetails {
|
|
|
2366
2340
|
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
2367
2341
|
}
|
|
2368
2342
|
/**
|
|
2369
|
-
* <p>
|
|
2343
|
+
* <p>The field that contains a list of disk (local storage) metrics that are associated
|
|
2370
2344
|
* with the current instance. </p>
|
|
2371
2345
|
*/
|
|
2372
2346
|
export interface DiskResourceUtilization {
|
|
2373
2347
|
/**
|
|
2374
|
-
* <p>
|
|
2348
|
+
* <p>The maximum number of read operations per second. </p>
|
|
2375
2349
|
*/
|
|
2376
2350
|
DiskReadOpsPerSecond?: string;
|
|
2377
2351
|
/**
|
|
2378
|
-
* <p>
|
|
2352
|
+
* <p>The maximum number of write operations per second. </p>
|
|
2379
2353
|
*/
|
|
2380
2354
|
DiskWriteOpsPerSecond?: string;
|
|
2381
2355
|
/**
|
|
2382
|
-
* <p>
|
|
2356
|
+
* <p>The maximum read throughput operations per second. </p>
|
|
2383
2357
|
*/
|
|
2384
2358
|
DiskReadBytesPerSecond?: string;
|
|
2385
2359
|
/**
|
|
2386
|
-
* <p>
|
|
2360
|
+
* <p>The maximum write throughput operations per second. </p>
|
|
2387
2361
|
*/
|
|
2388
2362
|
DiskWriteBytesPerSecond?: string;
|
|
2389
2363
|
}
|
|
@@ -2422,24 +2396,24 @@ export declare namespace EBSResourceUtilization {
|
|
|
2422
2396
|
const filterSensitiveLog: (obj: EBSResourceUtilization) => any;
|
|
2423
2397
|
}
|
|
2424
2398
|
/**
|
|
2425
|
-
* <p>
|
|
2426
|
-
*
|
|
2399
|
+
* <p>The network field that contains a list of network metrics that are associated with the
|
|
2400
|
+
* current instance. </p>
|
|
2427
2401
|
*/
|
|
2428
2402
|
export interface NetworkResourceUtilization {
|
|
2429
2403
|
/**
|
|
2430
|
-
* <p>
|
|
2404
|
+
* <p>The network inbound throughput utilization measured in Bytes per second (Bps). </p>
|
|
2431
2405
|
*/
|
|
2432
2406
|
NetworkInBytesPerSecond?: string;
|
|
2433
2407
|
/**
|
|
2434
|
-
* <p>
|
|
2408
|
+
* <p>The network outbound throughput utilization measured in Bytes per second (Bps). </p>
|
|
2435
2409
|
*/
|
|
2436
2410
|
NetworkOutBytesPerSecond?: string;
|
|
2437
2411
|
/**
|
|
2438
|
-
* <p>
|
|
2412
|
+
* <p>The network inbound packets that are measured in packets per second. </p>
|
|
2439
2413
|
*/
|
|
2440
2414
|
NetworkPacketsInPerSecond?: string;
|
|
2441
2415
|
/**
|
|
2442
|
-
* <p>
|
|
2416
|
+
* <p>The network outbound packets that are measured in packets per second. </p>
|
|
2443
2417
|
*/
|
|
2444
2418
|
NetworkPacketsOutPerSecond?: string;
|
|
2445
2419
|
}
|
|
@@ -2450,19 +2424,19 @@ export declare namespace NetworkResourceUtilization {
|
|
|
2450
2424
|
const filterSensitiveLog: (obj: NetworkResourceUtilization) => any;
|
|
2451
2425
|
}
|
|
2452
2426
|
/**
|
|
2453
|
-
* <p>Utilization metrics
|
|
2427
|
+
* <p>Utilization metrics for the instance. </p>
|
|
2454
2428
|
*/
|
|
2455
2429
|
export interface EC2ResourceUtilization {
|
|
2456
2430
|
/**
|
|
2457
|
-
* <p>
|
|
2431
|
+
* <p>The maximum observed or expected CPU utilization of the instance.</p>
|
|
2458
2432
|
*/
|
|
2459
2433
|
MaxCpuUtilizationPercentage?: string;
|
|
2460
2434
|
/**
|
|
2461
|
-
* <p>
|
|
2435
|
+
* <p>The maximum observed or expected memory utilization of the instance.</p>
|
|
2462
2436
|
*/
|
|
2463
2437
|
MaxMemoryUtilizationPercentage?: string;
|
|
2464
2438
|
/**
|
|
2465
|
-
* <p>
|
|
2439
|
+
* <p>The maximum observed or expected storage utilization of the instance. This doesn't
|
|
2466
2440
|
* include EBS storage.</p>
|
|
2467
2441
|
*/
|
|
2468
2442
|
MaxStorageUtilizationPercentage?: string;
|
|
@@ -2472,13 +2446,13 @@ export interface EC2ResourceUtilization {
|
|
|
2472
2446
|
*/
|
|
2473
2447
|
EBSResourceUtilization?: EBSResourceUtilization;
|
|
2474
2448
|
/**
|
|
2475
|
-
* <p>
|
|
2449
|
+
* <p>The field that contains a list of disk (local storage) metrics that are associated
|
|
2476
2450
|
* with the current instance. </p>
|
|
2477
2451
|
*/
|
|
2478
2452
|
DiskResourceUtilization?: DiskResourceUtilization;
|
|
2479
2453
|
/**
|
|
2480
|
-
* <p>
|
|
2481
|
-
*
|
|
2454
|
+
* <p>The network field that contains a list of network metrics that are associated with the
|
|
2455
|
+
* current instance. </p>
|
|
2482
2456
|
*/
|
|
2483
2457
|
NetworkResourceUtilization?: NetworkResourceUtilization;
|
|
2484
2458
|
}
|
|
@@ -2529,7 +2503,7 @@ export interface CurrentInstance {
|
|
|
2529
2503
|
*/
|
|
2530
2504
|
ResourceUtilization?: ResourceUtilization;
|
|
2531
2505
|
/**
|
|
2532
|
-
* <p>
|
|
2506
|
+
* <p>The number of hours during the lookback period that's covered by reservations.</p>
|
|
2533
2507
|
*/
|
|
2534
2508
|
ReservationCoveredHoursInLookbackPeriod?: string;
|
|
2535
2509
|
/**
|
|
@@ -2537,7 +2511,7 @@ export interface CurrentInstance {
|
|
|
2537
2511
|
*/
|
|
2538
2512
|
SavingsPlansCoveredHoursInLookbackPeriod?: string;
|
|
2539
2513
|
/**
|
|
2540
|
-
* <p>
|
|
2514
|
+
* <p>The number of hours during the lookback period that's billed at On-Demand
|
|
2541
2515
|
* rates.</p>
|
|
2542
2516
|
*/
|
|
2543
2517
|
OnDemandHoursInLookbackPeriod?: string;
|
|
@@ -2550,7 +2524,7 @@ export interface CurrentInstance {
|
|
|
2550
2524
|
*/
|
|
2551
2525
|
MonthlyCost?: string;
|
|
2552
2526
|
/**
|
|
2553
|
-
* <p>
|
|
2527
|
+
* <p>The currency code that Amazon Web Services used to calculate the costs for this
|
|
2554
2528
|
* instance.</p>
|
|
2555
2529
|
*/
|
|
2556
2530
|
CurrencyCode?: string;
|
|
@@ -2617,7 +2591,7 @@ export interface TargetInstance {
|
|
|
2617
2591
|
*/
|
|
2618
2592
|
ExpectedResourceUtilization?: ResourceUtilization;
|
|
2619
2593
|
/**
|
|
2620
|
-
* <p>
|
|
2594
|
+
* <p>Explains the actions that you might need to take to successfully migrate your
|
|
2621
2595
|
* workloads from the current instance type to the recommended instance type. </p>
|
|
2622
2596
|
*/
|
|
2623
2597
|
PlatformDifferences?: (PlatformDifference | string)[];
|
|
@@ -2629,7 +2603,7 @@ export declare namespace TargetInstance {
|
|
|
2629
2603
|
const filterSensitiveLog: (obj: TargetInstance) => any;
|
|
2630
2604
|
}
|
|
2631
2605
|
/**
|
|
2632
|
-
* <p>
|
|
2606
|
+
* <p>Details for the modification recommendation.</p>
|
|
2633
2607
|
*/
|
|
2634
2608
|
export interface ModifyRecommendationDetail {
|
|
2635
2609
|
/**
|
|
@@ -2677,7 +2651,8 @@ export interface RightsizingRecommendation {
|
|
|
2677
2651
|
*/
|
|
2678
2652
|
AccountId?: string;
|
|
2679
2653
|
/**
|
|
2680
|
-
* <p>Context
|
|
2654
|
+
* <p>Context
|
|
2655
|
+
* regarding the current instance.</p>
|
|
2681
2656
|
*/
|
|
2682
2657
|
CurrentInstance?: CurrentInstance;
|
|
2683
2658
|
/**
|
|
@@ -2693,8 +2668,8 @@ export interface RightsizingRecommendation {
|
|
|
2693
2668
|
*/
|
|
2694
2669
|
TerminateRecommendationDetail?: TerminateRecommendationDetail;
|
|
2695
2670
|
/**
|
|
2696
|
-
* <p>
|
|
2697
|
-
* 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>
|
|
2698
2673
|
*/
|
|
2699
2674
|
FindingReasonCodes?: (FindingReasonCode | string)[];
|
|
2700
2675
|
}
|
|
@@ -2750,11 +2725,11 @@ export interface GetRightsizingRecommendationResponse {
|
|
|
2750
2725
|
*/
|
|
2751
2726
|
NextPageToken?: string;
|
|
2752
2727
|
/**
|
|
2753
|
-
* <p>
|
|
2754
|
-
* recommendations for instances within the same instance families or across
|
|
2755
|
-
* families. You can also choose to view your estimated savings
|
|
2756
|
-
* with consideration of existing Savings Plans or RI benefits,
|
|
2757
|
-
* 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>
|
|
2758
2733
|
*/
|
|
2759
2734
|
Configuration?: RightsizingRecommendationConfiguration;
|
|
2760
2735
|
}
|
|
@@ -2770,7 +2745,7 @@ export declare namespace GetRightsizingRecommendationResponse {
|
|
|
2770
2745
|
*/
|
|
2771
2746
|
export interface SavingsPlansCoverageData {
|
|
2772
2747
|
/**
|
|
2773
|
-
* <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>
|
|
2774
2749
|
*/
|
|
2775
2750
|
SpendCoveredBySavingsPlans?: string;
|
|
2776
2751
|
/**
|
|
@@ -2795,16 +2770,14 @@ export declare namespace SavingsPlansCoverageData {
|
|
|
2795
2770
|
const filterSensitiveLog: (obj: SavingsPlansCoverageData) => any;
|
|
2796
2771
|
}
|
|
2797
2772
|
/**
|
|
2798
|
-
* <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
|
|
2799
2774
|
* calculations consider the On-Demand equivalent of your Savings Plans usage.</p>
|
|
2800
2775
|
*/
|
|
2801
2776
|
export interface SavingsPlansCoverage {
|
|
2802
2777
|
/**
|
|
2803
2778
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
2804
2779
|
*/
|
|
2805
|
-
Attributes?:
|
|
2806
|
-
[key: string]: string;
|
|
2807
|
-
};
|
|
2780
|
+
Attributes?: Record<string, string>;
|
|
2808
2781
|
/**
|
|
2809
2782
|
* <p>The amount of Savings Plans eligible usage that the Savings Plans covered.</p>
|
|
2810
2783
|
*/
|
|
@@ -2850,7 +2823,7 @@ export interface SavingsPlansPurchaseRecommendationMetadata {
|
|
|
2850
2823
|
*/
|
|
2851
2824
|
RecommendationId?: string;
|
|
2852
2825
|
/**
|
|
2853
|
-
* <p>The timestamp
|
|
2826
|
+
* <p>The timestamp that shows when the recommendations were generated.</p>
|
|
2854
2827
|
*/
|
|
2855
2828
|
GenerationTimestamp?: string;
|
|
2856
2829
|
/**
|
|
@@ -2926,8 +2899,8 @@ export interface SavingsPlansPurchaseRecommendationDetail {
|
|
|
2926
2899
|
*/
|
|
2927
2900
|
EstimatedOnDemandCost?: string;
|
|
2928
2901
|
/**
|
|
2929
|
-
* <p> The estimated On-Demand costs you
|
|
2930
|
-
*
|
|
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>
|
|
2931
2904
|
*/
|
|
2932
2905
|
EstimatedOnDemandCostWithCurrentCommitment?: string;
|
|
2933
2906
|
/**
|
|
@@ -3031,8 +3004,8 @@ export interface SavingsPlansPurchaseRecommendationSummary {
|
|
|
3031
3004
|
*/
|
|
3032
3005
|
EstimatedMonthlySavingsAmount?: string;
|
|
3033
3006
|
/**
|
|
3034
|
-
* <p>
|
|
3035
|
-
*
|
|
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>
|
|
3036
3009
|
*/
|
|
3037
3010
|
EstimatedOnDemandCostWithCurrentCommitment?: string;
|
|
3038
3011
|
}
|
|
@@ -3064,16 +3037,16 @@ export interface SavingsPlansPurchaseRecommendation {
|
|
|
3064
3037
|
*/
|
|
3065
3038
|
TermInYears?: TermInYears | string;
|
|
3066
3039
|
/**
|
|
3067
|
-
* <p>The payment option used to generate the recommendation.</p>
|
|
3040
|
+
* <p>The payment option that's used to generate the recommendation.</p>
|
|
3068
3041
|
*/
|
|
3069
3042
|
PaymentOption?: PaymentOption | string;
|
|
3070
3043
|
/**
|
|
3071
|
-
* <p>The lookback period in days
|
|
3044
|
+
* <p>The lookback period in days that's used to generate the recommendation.</p>
|
|
3072
3045
|
*/
|
|
3073
3046
|
LookbackPeriodInDays?: LookbackPeriodInDays | string;
|
|
3074
3047
|
/**
|
|
3075
|
-
* <p>Details for the Savings Plans we recommend that you purchase to cover existing
|
|
3076
|
-
* 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>
|
|
3077
3050
|
*/
|
|
3078
3051
|
SavingsPlansPurchaseRecommendationDetails?: SavingsPlansPurchaseRecommendationDetail[];
|
|
3079
3052
|
/**
|
|
@@ -3089,7 +3062,7 @@ export declare namespace SavingsPlansPurchaseRecommendation {
|
|
|
3089
3062
|
}
|
|
3090
3063
|
export interface GetSavingsPlansPurchaseRecommendationResponse {
|
|
3091
3064
|
/**
|
|
3092
|
-
* <p>Information
|
|
3065
|
+
* <p>Information that regards this specific recommendation set.</p>
|
|
3093
3066
|
*/
|
|
3094
3067
|
Metadata?: SavingsPlansPurchaseRecommendationMetadata;
|
|
3095
3068
|
/**
|
|
@@ -3188,7 +3161,7 @@ export declare namespace SavingsPlansUtilization {
|
|
|
3188
3161
|
const filterSensitiveLog: (obj: SavingsPlansUtilization) => any;
|
|
3189
3162
|
}
|
|
3190
3163
|
/**
|
|
3191
|
-
* <p>The amount of Savings Plans utilization
|
|
3164
|
+
* <p>The amount of Savings Plans utilization (in hours).</p>
|
|
3192
3165
|
*/
|
|
3193
3166
|
export interface SavingsPlansUtilizationByTime {
|
|
3194
3167
|
/**
|
|
@@ -3201,9 +3174,9 @@ export interface SavingsPlansUtilizationByTime {
|
|
|
3201
3174
|
*/
|
|
3202
3175
|
Utilization: SavingsPlansUtilization | undefined;
|
|
3203
3176
|
/**
|
|
3204
|
-
* <p>The amount saved by using existing Savings Plans. Savings returns both net
|
|
3205
|
-
* from Savings Plans
|
|
3206
|
-
* 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>
|
|
3207
3180
|
*/
|
|
3208
3181
|
Savings?: SavingsPlansSavings;
|
|
3209
3182
|
/**
|
|
@@ -3228,9 +3201,9 @@ export interface SavingsPlansUtilizationAggregates {
|
|
|
3228
3201
|
*/
|
|
3229
3202
|
Utilization: SavingsPlansUtilization | undefined;
|
|
3230
3203
|
/**
|
|
3231
|
-
* <p>The amount saved by using existing Savings Plans. Savings returns both net
|
|
3232
|
-
* from Savings Plans
|
|
3233
|
-
* 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>
|
|
3234
3207
|
*/
|
|
3235
3208
|
Savings?: SavingsPlansSavings;
|
|
3236
3209
|
/**
|
|
@@ -3247,11 +3220,13 @@ export declare namespace SavingsPlansUtilizationAggregates {
|
|
|
3247
3220
|
}
|
|
3248
3221
|
export interface GetSavingsPlansUtilizationResponse {
|
|
3249
3222
|
/**
|
|
3250
|
-
* <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>
|
|
3251
3225
|
*/
|
|
3252
3226
|
SavingsPlansUtilizationsByTime?: SavingsPlansUtilizationByTime[];
|
|
3253
3227
|
/**
|
|
3254
|
-
* <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>
|
|
3255
3230
|
*/
|
|
3256
3231
|
Total: SavingsPlansUtilizationAggregates | undefined;
|
|
3257
3232
|
}
|
|
@@ -3268,9 +3243,9 @@ export declare enum SavingsPlansDataType {
|
|
|
3268
3243
|
UTILIZATION = "UTILIZATION"
|
|
3269
3244
|
}
|
|
3270
3245
|
/**
|
|
3271
|
-
* <p>A single daily or monthly Savings Plans utilization rate
|
|
3272
|
-
*
|
|
3273
|
-
*
|
|
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>
|
|
3274
3249
|
*/
|
|
3275
3250
|
export interface SavingsPlansUtilizationDetail {
|
|
3276
3251
|
/**
|
|
@@ -3280,9 +3255,7 @@ export interface SavingsPlansUtilizationDetail {
|
|
|
3280
3255
|
/**
|
|
3281
3256
|
* <p>The attribute that applies to a specific <code>Dimension</code>.</p>
|
|
3282
3257
|
*/
|
|
3283
|
-
Attributes?:
|
|
3284
|
-
[key: string]: string;
|
|
3285
|
-
};
|
|
3258
|
+
Attributes?: Record<string, string>;
|
|
3286
3259
|
/**
|
|
3287
3260
|
* <p>A ratio of your effectiveness of using existing Savings Plans to apply to workloads
|
|
3288
3261
|
* that are Savings Plans eligible.</p>
|
|
@@ -3290,8 +3263,8 @@ export interface SavingsPlansUtilizationDetail {
|
|
|
3290
3263
|
Utilization?: SavingsPlansUtilization;
|
|
3291
3264
|
/**
|
|
3292
3265
|
* <p>The amount saved by using existing Savings Plans. Savings returns both net savings
|
|
3293
|
-
* from savings plans
|
|
3294
|
-
*
|
|
3266
|
+
* from savings plans and also the <code>onDemandCostEquivalent</code> of the Savings Plans
|
|
3267
|
+
* when considering the utilization rate.</p>
|
|
3295
3268
|
*/
|
|
3296
3269
|
Savings?: SavingsPlansSavings;
|
|
3297
3270
|
/**
|
|
@@ -3383,21 +3356,104 @@ export declare class UnresolvableUsageUnitException extends __BaseException {
|
|
|
3383
3356
|
*/
|
|
3384
3357
|
constructor(opts: __ExceptionOptionType<UnresolvableUsageUnitException, __BaseException>);
|
|
3385
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
|
+
}
|
|
3386
3445
|
export interface ListCostCategoryDefinitionsRequest {
|
|
3387
3446
|
/**
|
|
3388
|
-
* <p>
|
|
3389
|
-
* The date when the Cost Category was effective.
|
|
3390
|
-
* </p>
|
|
3447
|
+
* <p>The date when the Cost Category was effective. </p>
|
|
3391
3448
|
*/
|
|
3392
3449
|
EffectiveOn?: string;
|
|
3393
3450
|
/**
|
|
3394
|
-
* <p>
|
|
3395
|
-
*
|
|
3396
|
-
* </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>
|
|
3397
3453
|
*/
|
|
3398
3454
|
NextToken?: string;
|
|
3399
3455
|
/**
|
|
3400
|
-
* <p>
|
|
3456
|
+
* <p>The number of entries a paginated response contains. </p>
|
|
3401
3457
|
*/
|
|
3402
3458
|
MaxResults?: number;
|
|
3403
3459
|
}
|
|
@@ -3457,15 +3513,13 @@ export declare namespace CostCategoryReference {
|
|
|
3457
3513
|
}
|
|
3458
3514
|
export interface ListCostCategoryDefinitionsResponse {
|
|
3459
3515
|
/**
|
|
3460
|
-
* <p>
|
|
3461
|
-
*
|
|
3462
|
-
* </p>
|
|
3516
|
+
* <p>A reference to a Cost Category that contains enough information to identify the Cost
|
|
3517
|
+
* Category. </p>
|
|
3463
3518
|
*/
|
|
3464
3519
|
CostCategoryReferences?: CostCategoryReference[];
|
|
3465
3520
|
/**
|
|
3466
|
-
* <p>
|
|
3467
|
-
*
|
|
3468
|
-
* </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>
|
|
3469
3523
|
*/
|
|
3470
3524
|
NextToken?: string;
|
|
3471
3525
|
}
|
|
@@ -3489,7 +3543,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
3489
3543
|
}
|
|
3490
3544
|
export interface ListTagsForResourceResponse {
|
|
3491
3545
|
/**
|
|
3492
|
-
* <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.
|
|
3493
3547
|
* </p>
|
|
3494
3548
|
*/
|
|
3495
3549
|
ResourceTags?: ResourceTag[];
|
|
@@ -3549,7 +3603,7 @@ export interface TagResourceRequest {
|
|
|
3549
3603
|
* <p>The maximum length of a value is 256 characters</p>
|
|
3550
3604
|
* </li>
|
|
3551
3605
|
* <li>
|
|
3552
|
-
* <p>
|
|
3606
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
3553
3607
|
* </p>
|
|
3554
3608
|
* </li>
|
|
3555
3609
|
* <li>
|
|
@@ -3594,15 +3648,14 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
3594
3648
|
}
|
|
3595
3649
|
export interface UntagResourceRequest {
|
|
3596
3650
|
/**
|
|
3597
|
-
* <p>
|
|
3598
|
-
*
|
|
3599
|
-
* </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>
|
|
3600
3653
|
*/
|
|
3601
3654
|
ResourceArn: string | undefined;
|
|
3602
3655
|
/**
|
|
3603
|
-
* <p>
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
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>
|
|
3606
3659
|
*/
|
|
3607
3660
|
ResourceTagKeys: string[] | undefined;
|
|
3608
3661
|
}
|
|
@@ -3692,17 +3745,83 @@ export declare namespace UpdateAnomalySubscriptionResponse {
|
|
|
3692
3745
|
*/
|
|
3693
3746
|
const filterSensitiveLog: (obj: UpdateAnomalySubscriptionResponse) => any;
|
|
3694
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
|
+
}
|
|
3695
3818
|
export interface UpdateCostCategoryDefinitionResponse {
|
|
3696
3819
|
/**
|
|
3697
|
-
* <p>
|
|
3698
|
-
* The unique identifier for your Cost Category.
|
|
3699
|
-
* </p>
|
|
3820
|
+
* <p>The unique identifier for your Cost Category. </p>
|
|
3700
3821
|
*/
|
|
3701
3822
|
CostCategoryArn?: string;
|
|
3702
3823
|
/**
|
|
3703
|
-
* <p>
|
|
3704
|
-
* The Cost Category's effective start date.
|
|
3705
|
-
* </p>
|
|
3824
|
+
* <p>The Cost Category's effective start date. </p>
|
|
3706
3825
|
*/
|
|
3707
3826
|
EffectiveStart?: string;
|
|
3708
3827
|
}
|
|
@@ -3938,12 +4057,12 @@ export interface CostCategoryRule {
|
|
|
3938
4057
|
/**
|
|
3939
4058
|
* <p>You can define the <code>CostCategoryRule</code> rule type as either
|
|
3940
4059
|
* <code>REGULAR</code> or <code>INHERITED_VALUE</code>. The
|
|
3941
|
-
* <code>INHERITED_VALUE</code> rule type adds the flexibility
|
|
3942
|
-
* dynamically inherits the cost category value from the dimension value
|
|
3943
|
-
*
|
|
3944
|
-
*
|
|
3945
|
-
* inherited value rule type, then choose the tag dimension and
|
|
3946
|
-
* 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>
|
|
3947
4066
|
*/
|
|
3948
4067
|
Type?: CostCategoryRuleType | string;
|
|
3949
4068
|
}
|
|
@@ -4049,10 +4168,10 @@ export interface GetCostAndUsageWithResourcesRequest {
|
|
|
4049
4168
|
* <note>
|
|
4050
4169
|
* <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage
|
|
4051
4170
|
* numbers without taking the units into account. For example, if you aggregate
|
|
4052
|
-
*
|
|
4053
|
-
* Amazon EC2 compute hours and data transfer are measured in different units (for example,
|
|
4054
|
-
*
|
|
4055
|
-
*
|
|
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>
|
|
4056
4175
|
* </note>
|
|
4057
4176
|
* <p>
|
|
4058
4177
|
* <code>Metrics</code> is required for <code>GetCostAndUsageWithResources</code> requests.</p>
|
|
@@ -4076,7 +4195,10 @@ export declare namespace GetCostAndUsageWithResourcesRequest {
|
|
|
4076
4195
|
export interface GetCostCategoriesRequest {
|
|
4077
4196
|
/**
|
|
4078
4197
|
* <p>The value that you want to search the filter values for.</p>
|
|
4079
|
-
* <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>
|
|
4080
4202
|
*/
|
|
4081
4203
|
SearchString?: string;
|
|
4082
4204
|
/**
|
|
@@ -4146,8 +4268,8 @@ export interface GetCostCategoriesRequest {
|
|
|
4146
4268
|
*/
|
|
4147
4269
|
Filter?: Expression;
|
|
4148
4270
|
/**
|
|
4149
|
-
* <p>The value
|
|
4150
|
-
* <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>
|
|
4151
4273
|
* <ul>
|
|
4152
4274
|
* <li>
|
|
4153
4275
|
* <p>
|
|
@@ -4185,18 +4307,24 @@ export interface GetCostCategoriesRequest {
|
|
|
4185
4307
|
* </p>
|
|
4186
4308
|
* </li>
|
|
4187
4309
|
* </ul>
|
|
4188
|
-
* <p>
|
|
4189
|
-
*
|
|
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>
|
|
4190
4314
|
*/
|
|
4191
4315
|
SortBy?: SortDefinition[];
|
|
4192
4316
|
/**
|
|
4193
|
-
* <p>This field is only used when <code>SortBy</code> is provided in the
|
|
4194
|
-
*
|
|
4195
|
-
* <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>
|
|
4196
4323
|
*/
|
|
4197
4324
|
MaxResults?: number;
|
|
4198
4325
|
/**
|
|
4199
|
-
* <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>
|
|
4200
4328
|
*/
|
|
4201
4329
|
NextPageToken?: string;
|
|
4202
4330
|
}
|
|
@@ -4408,9 +4536,11 @@ export interface GetDimensionValuesRequest {
|
|
|
4408
4536
|
* </li>
|
|
4409
4537
|
* <li>
|
|
4410
4538
|
* <p>BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:</p>
|
|
4411
|
-
* <p>- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services
|
|
4412
|
-
* <p>- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that
|
|
4413
|
-
*
|
|
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>
|
|
4414
4544
|
* </li>
|
|
4415
4545
|
* <li>
|
|
4416
4546
|
* <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
|
|
@@ -4425,10 +4555,15 @@ export interface GetDimensionValuesRequest {
|
|
|
4425
4555
|
* <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
|
|
4426
4556
|
* </li>
|
|
4427
4557
|
* <li>
|
|
4428
|
-
* <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>
|
|
4429
4563
|
* </li>
|
|
4430
4564
|
* <li>
|
|
4431
|
-
* <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>
|
|
4432
4567
|
* </li>
|
|
4433
4568
|
* <li>
|
|
4434
4569
|
* <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p>
|
|
@@ -4447,8 +4582,8 @@ export interface GetDimensionValuesRequest {
|
|
|
4447
4582
|
* <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
|
|
4448
4583
|
* </li>
|
|
4449
4584
|
* <li>
|
|
4450
|
-
* <p>PURCHASE_TYPE - The reservation type of the purchase
|
|
4451
|
-
*
|
|
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>
|
|
4452
4587
|
* </li>
|
|
4453
4588
|
* <li>
|
|
4454
4589
|
* <p>RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.</p>
|
|
@@ -4477,7 +4612,9 @@ export interface GetDimensionValuesRequest {
|
|
|
4477
4612
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
4478
4613
|
* </li>
|
|
4479
4614
|
* <li>
|
|
4480
|
-
* <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>
|
|
4481
4618
|
* </li>
|
|
4482
4619
|
* <li>
|
|
4483
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>
|
|
@@ -4524,7 +4661,8 @@ export interface GetDimensionValuesRequest {
|
|
|
4524
4661
|
* <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p>
|
|
4525
4662
|
* </li>
|
|
4526
4663
|
* <li>
|
|
4527
|
-
* <p>PAYMENT_OPTION -
|
|
4664
|
+
* <p>PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All
|
|
4665
|
+
* Upfront)</p>
|
|
4528
4666
|
* </li>
|
|
4529
4667
|
* <li>
|
|
4530
4668
|
* <p>REGION - The Amazon Web Services Region.</p>
|
|
@@ -4601,7 +4739,7 @@ export interface GetDimensionValuesRequest {
|
|
|
4601
4739
|
*/
|
|
4602
4740
|
Filter?: Expression;
|
|
4603
4741
|
/**
|
|
4604
|
-
* <p>The value
|
|
4742
|
+
* <p>The value that you want to sort the data by.</p>
|
|
4605
4743
|
* <p>The key represents cost and usage metrics. The following values are supported:</p>
|
|
4606
4744
|
* <ul>
|
|
4607
4745
|
* <li>
|
|
@@ -4640,12 +4778,17 @@ export interface GetDimensionValuesRequest {
|
|
|
4640
4778
|
* </p>
|
|
4641
4779
|
* </li>
|
|
4642
4780
|
* </ul>
|
|
4643
|
-
* <p>
|
|
4644
|
-
*
|
|
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>
|
|
4645
4786
|
*/
|
|
4646
4787
|
SortBy?: SortDefinition[];
|
|
4647
4788
|
/**
|
|
4648
|
-
* <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>
|
|
4649
4792
|
* <p>For <code>GetDimensionValues</code>, MaxResults has an upper limit of 1000.</p>
|
|
4650
4793
|
*/
|
|
4651
4794
|
MaxResults?: number;
|
|
@@ -4834,7 +4977,9 @@ export interface GetReservationCoverageRequest {
|
|
|
4834
4977
|
*/
|
|
4835
4978
|
SortBy?: SortDefinition;
|
|
4836
4979
|
/**
|
|
4837
|
-
* <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>
|
|
4838
4983
|
*/
|
|
4839
4984
|
MaxResults?: number;
|
|
4840
4985
|
}
|
|
@@ -4846,7 +4991,7 @@ export declare namespace GetReservationCoverageRequest {
|
|
|
4846
4991
|
}
|
|
4847
4992
|
export interface GetReservationPurchaseRecommendationRequest {
|
|
4848
4993
|
/**
|
|
4849
|
-
* <p>The account ID that
|
|
4994
|
+
* <p>The account ID that's associated with the recommendation. </p>
|
|
4850
4995
|
*/
|
|
4851
4996
|
AccountId?: string;
|
|
4852
4997
|
/**
|
|
@@ -4948,8 +5093,11 @@ export declare namespace GetReservationPurchaseRecommendationRequest {
|
|
|
4948
5093
|
}
|
|
4949
5094
|
export interface GetReservationUtilizationRequest {
|
|
4950
5095
|
/**
|
|
4951
|
-
* <p>Sets the start and end dates for retrieving RI utilization. The start
|
|
4952
|
-
*
|
|
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>
|
|
4953
5101
|
*/
|
|
4954
5102
|
TimePeriod: DateInterval | undefined;
|
|
4955
5103
|
/**
|
|
@@ -5008,7 +5156,7 @@ export interface GetReservationUtilizationRequest {
|
|
|
5008
5156
|
*/
|
|
5009
5157
|
Filter?: Expression;
|
|
5010
5158
|
/**
|
|
5011
|
-
* <p>The value
|
|
5159
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5012
5160
|
*
|
|
5013
5161
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5014
5162
|
* <ul>
|
|
@@ -5099,7 +5247,8 @@ export interface GetReservationUtilizationRequest {
|
|
|
5099
5247
|
* </li>
|
|
5100
5248
|
* </ul>
|
|
5101
5249
|
*
|
|
5102
|
-
* <p>
|
|
5250
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5251
|
+
* <code>DESCENDING</code>.</p>
|
|
5103
5252
|
*/
|
|
5104
5253
|
SortBy?: SortDefinition;
|
|
5105
5254
|
/**
|
|
@@ -5107,7 +5256,9 @@ export interface GetReservationUtilizationRequest {
|
|
|
5107
5256
|
*/
|
|
5108
5257
|
NextPageToken?: string;
|
|
5109
5258
|
/**
|
|
5110
|
-
* <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>
|
|
5111
5262
|
*/
|
|
5112
5263
|
MaxResults?: number;
|
|
5113
5264
|
}
|
|
@@ -5177,11 +5328,11 @@ export interface GetRightsizingRecommendationRequest {
|
|
|
5177
5328
|
*/
|
|
5178
5329
|
Filter?: Expression;
|
|
5179
5330
|
/**
|
|
5180
|
-
* <p>
|
|
5181
|
-
* recommendations for instances within the same instance families or across
|
|
5182
|
-
* families. You can also choose to view your estimated savings
|
|
5183
|
-
* with consideration of existing Savings Plans or RI benefits,
|
|
5184
|
-
* 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>
|
|
5185
5336
|
*/
|
|
5186
5337
|
Configuration?: RightsizingRecommendationConfiguration;
|
|
5187
5338
|
/**
|
|
@@ -5254,7 +5405,8 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5254
5405
|
*/
|
|
5255
5406
|
Metrics?: string[];
|
|
5256
5407
|
/**
|
|
5257
|
-
* <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>
|
|
5258
5410
|
*/
|
|
5259
5411
|
NextToken?: string;
|
|
5260
5412
|
/**
|
|
@@ -5262,7 +5414,7 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5262
5414
|
*/
|
|
5263
5415
|
MaxResults?: number;
|
|
5264
5416
|
/**
|
|
5265
|
-
* <p>The value
|
|
5417
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5266
5418
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5267
5419
|
* <ul>
|
|
5268
5420
|
* <li>
|
|
@@ -5302,7 +5454,8 @@ export interface GetSavingsPlansCoverageRequest {
|
|
|
5302
5454
|
* </li>
|
|
5303
5455
|
* </ul>
|
|
5304
5456
|
*
|
|
5305
|
-
* <p>
|
|
5457
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5458
|
+
* <code>DESCENDING</code>.</p>
|
|
5306
5459
|
*/
|
|
5307
5460
|
SortBy?: SortDefinition;
|
|
5308
5461
|
}
|
|
@@ -5314,17 +5467,15 @@ export declare namespace GetSavingsPlansCoverageRequest {
|
|
|
5314
5467
|
}
|
|
5315
5468
|
export interface GetSavingsPlansPurchaseRecommendationRequest {
|
|
5316
5469
|
/**
|
|
5317
|
-
* <p>The Savings Plans recommendation type requested.</p>
|
|
5470
|
+
* <p>The Savings Plans recommendation type that's requested.</p>
|
|
5318
5471
|
*/
|
|
5319
5472
|
SavingsPlansType: SupportedSavingsPlansType | string | undefined;
|
|
5320
5473
|
/**
|
|
5321
|
-
* <p>The savings plan recommendation term used to
|
|
5322
|
-
* generate these
|
|
5323
|
-
* recommendations.</p>
|
|
5474
|
+
* <p>The savings plan recommendation term that's used to generate these recommendations.</p>
|
|
5324
5475
|
*/
|
|
5325
5476
|
TermInYears: TermInYears | string | undefined;
|
|
5326
5477
|
/**
|
|
5327
|
-
* <p>The payment option used to generate these recommendations.</p>
|
|
5478
|
+
* <p>The payment option that's used to generate these recommendations.</p>
|
|
5328
5479
|
*/
|
|
5329
5480
|
PaymentOption: PaymentOption | string | undefined;
|
|
5330
5481
|
/**
|
|
@@ -5340,19 +5491,19 @@ export interface GetSavingsPlansPurchaseRecommendationRequest {
|
|
|
5340
5491
|
*/
|
|
5341
5492
|
PageSize?: number;
|
|
5342
5493
|
/**
|
|
5343
|
-
* <p>The lookback period used to generate the recommendation.</p>
|
|
5494
|
+
* <p>The lookback period that's used to generate the recommendation.</p>
|
|
5344
5495
|
*/
|
|
5345
5496
|
LookbackPeriodInDays: LookbackPeriodInDays | string | undefined;
|
|
5346
5497
|
/**
|
|
5347
5498
|
* <p>You can filter your recommendations by Account ID with the <code>LINKED_ACCOUNT</code>
|
|
5348
5499
|
* dimension. To filter your recommendations by Account ID, specify <code>Key</code> as
|
|
5349
|
-
* <code>LINKED_ACCOUNT</code> and <code>Value</code> as the comma-separated Acount ID(s)
|
|
5350
|
-
*
|
|
5351
|
-
* <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
|
|
5352
5503
|
* <code>CostCategories</code> or <code>Tags</code>. It only includes <code>Dimensions</code>.
|
|
5353
5504
|
* With <code>Dimensions</code>, <code>Key</code> must be <code>LINKED_ACCOUNT</code> and
|
|
5354
|
-
* <code>Value</code> can be a single Account ID or multiple comma-separated Account IDs
|
|
5355
|
-
*
|
|
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
|
|
5356
5507
|
* <code>OR</code> operators are not supported.</p>
|
|
5357
5508
|
*/
|
|
5358
5509
|
Filter?: Expression;
|
|
@@ -5416,7 +5567,7 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
5416
5567
|
*/
|
|
5417
5568
|
MaxResults?: number;
|
|
5418
5569
|
/**
|
|
5419
|
-
* <p>The value
|
|
5570
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5420
5571
|
*
|
|
5421
5572
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5422
5573
|
* <ul>
|
|
@@ -5457,7 +5608,8 @@ export interface GetSavingsPlansUtilizationDetailsRequest {
|
|
|
5457
5608
|
* </li>
|
|
5458
5609
|
* </ul>
|
|
5459
5610
|
*
|
|
5460
|
-
* <p>
|
|
5611
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5612
|
+
* <code>DESCENDING</code>.</p>
|
|
5461
5613
|
*/
|
|
5462
5614
|
SortBy?: SortDefinition;
|
|
5463
5615
|
}
|
|
@@ -5518,7 +5670,7 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
5518
5670
|
*/
|
|
5519
5671
|
Filter?: Expression;
|
|
5520
5672
|
/**
|
|
5521
|
-
* <p>The value
|
|
5673
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5522
5674
|
* <p>The following values are supported for <code>Key</code>:</p>
|
|
5523
5675
|
* <ul>
|
|
5524
5676
|
* <li>
|
|
@@ -5548,7 +5700,8 @@ export interface GetSavingsPlansUtilizationRequest {
|
|
|
5548
5700
|
* </li>
|
|
5549
5701
|
* </ul>
|
|
5550
5702
|
*
|
|
5551
|
-
* <p>
|
|
5703
|
+
* <p>The supported values for <code>SortOrder</code> are <code>ASCENDING</code> and
|
|
5704
|
+
* <code>DESCENDING</code>.</p>
|
|
5552
5705
|
*/
|
|
5553
5706
|
SortBy?: SortDefinition;
|
|
5554
5707
|
}
|
|
@@ -5631,7 +5784,7 @@ export interface GetTagsRequest {
|
|
|
5631
5784
|
*/
|
|
5632
5785
|
Filter?: Expression;
|
|
5633
5786
|
/**
|
|
5634
|
-
* <p>The value
|
|
5787
|
+
* <p>The value that you want to sort the data by.</p>
|
|
5635
5788
|
* <p>The key represents cost and usage metrics. The following values are supported:</p>
|
|
5636
5789
|
* <ul>
|
|
5637
5790
|
* <li>
|
|
@@ -5670,13 +5823,17 @@ export interface GetTagsRequest {
|
|
|
5670
5823
|
* </p>
|
|
5671
5824
|
* </li>
|
|
5672
5825
|
* </ul>
|
|
5673
|
-
* <p>
|
|
5674
|
-
*
|
|
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>
|
|
5675
5830
|
*/
|
|
5676
5831
|
SortBy?: SortDefinition[];
|
|
5677
5832
|
/**
|
|
5678
|
-
* <p>This field is only used when SortBy is provided in the request. The maximum number of
|
|
5679
|
-
*
|
|
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>
|
|
5680
5837
|
*/
|
|
5681
5838
|
MaxResults?: number;
|
|
5682
5839
|
/**
|
|
@@ -5692,8 +5849,13 @@ export declare namespace GetTagsRequest {
|
|
|
5692
5849
|
}
|
|
5693
5850
|
export interface GetUsageForecastRequest {
|
|
5694
5851
|
/**
|
|
5695
|
-
* <p>The start and end dates of the period that you want to retrieve usage forecast for. The
|
|
5696
|
-
*
|
|
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>
|
|
5697
5859
|
*/
|
|
5698
5860
|
TimePeriod: DateInterval | undefined;
|
|
5699
5861
|
/**
|
|
@@ -5837,7 +5999,7 @@ export interface GetUsageForecastRequest {
|
|
|
5837
5999
|
*/
|
|
5838
6000
|
Filter?: Expression;
|
|
5839
6001
|
/**
|
|
5840
|
-
* <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
|
|
5841
6003
|
* by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value
|
|
5842
6004
|
* falling in the prediction interval. Higher confidence levels result in wider prediction intervals.</p>
|
|
5843
6005
|
*/
|
|
@@ -5855,10 +6017,10 @@ export interface CreateAnomalyMonitorRequest {
|
|
|
5855
6017
|
*/
|
|
5856
6018
|
AnomalyMonitor: AnomalyMonitor | undefined;
|
|
5857
6019
|
/**
|
|
5858
|
-
* <p>
|
|
5859
|
-
* 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">
|
|
5860
6021
|
* <code>AnomalyMonitor</code>
|
|
5861
|
-
* </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>
|
|
5862
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>
|
|
5863
6025
|
* <ul>
|
|
5864
6026
|
* <li>
|
|
@@ -5871,7 +6033,7 @@ export interface CreateAnomalyMonitorRequest {
|
|
|
5871
6033
|
* <p>The maximum length of a value is 256 characters</p>
|
|
5872
6034
|
* </li>
|
|
5873
6035
|
* <li>
|
|
5874
|
-
* <p>
|
|
6036
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
5875
6037
|
* </p>
|
|
5876
6038
|
* </li>
|
|
5877
6039
|
* <li>
|
|
@@ -5907,7 +6069,7 @@ export interface CostCategory {
|
|
|
5907
6069
|
*/
|
|
5908
6070
|
EffectiveStart: string | undefined;
|
|
5909
6071
|
/**
|
|
5910
|
-
* <p>
|
|
6072
|
+
* <p>The effective end data of your Cost Category.</p>
|
|
5911
6073
|
*/
|
|
5912
6074
|
EffectiveEnd?: string;
|
|
5913
6075
|
/**
|
|
@@ -5972,10 +6134,10 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
5972
6134
|
*/
|
|
5973
6135
|
SplitChargeRules?: CostCategorySplitChargeRule[];
|
|
5974
6136
|
/**
|
|
5975
|
-
* <p>
|
|
5976
|
-
* 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">
|
|
5977
6138
|
* <code>CostCategory</code>
|
|
5978
|
-
* </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>
|
|
5979
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>
|
|
5980
6142
|
* <ul>
|
|
5981
6143
|
* <li>
|
|
@@ -5988,7 +6150,7 @@ export interface CreateCostCategoryDefinitionRequest {
|
|
|
5988
6150
|
* <p>The maximum length of a value is 256 characters</p>
|
|
5989
6151
|
* </li>
|
|
5990
6152
|
* <li>
|
|
5991
|
-
* <p>
|
|
6153
|
+
* <p>Keys and values can only contain alphanumeric characters, spaces, and any of the following: <code>_.:/=+@-</code>
|
|
5992
6154
|
* </p>
|
|
5993
6155
|
* </li>
|
|
5994
6156
|
* <li>
|