@aws-sdk/client-cost-explorer 3.299.0 → 3.300.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-types/commands/CreateAnomalyMonitorCommand.d.ts +110 -0
- package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +117 -0
- package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +131 -0
- package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +4 -0
- package/dist-types/commands/GetAnomaliesCommand.d.ts +15 -0
- package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +7 -0
- package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +8 -0
- package/dist-types/commands/GetCostAndUsageCommand.d.ts +109 -0
- package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +109 -0
- package/dist-types/commands/GetCostCategoriesCommand.d.ts +108 -0
- package/dist-types/commands/GetCostForecastCommand.d.ts +101 -0
- package/dist-types/commands/GetDimensionValuesCommand.d.ts +109 -0
- package/dist-types/commands/GetReservationCoverageCommand.d.ts +114 -0
- package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +107 -0
- package/dist-types/commands/GetReservationUtilizationCommand.d.ts +111 -0
- package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +101 -0
- package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +114 -0
- package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +101 -0
- package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +103 -0
- package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +107 -0
- package/dist-types/commands/GetTagsCommand.d.ts +108 -0
- package/dist-types/commands/GetUsageForecastCommand.d.ts +101 -0
- package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +9 -0
- package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +5 -0
- package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +8 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -0
- package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +108 -0
- package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +8 -0
- package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +125 -0
- package/package.json +8 -8
|
@@ -33,6 +33,109 @@ export interface GetSavingsPlansUtilizationCommandOutput extends GetSavingsPlans
|
|
|
33
33
|
* import { CostExplorerClient, GetSavingsPlansUtilizationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
34
34
|
* // const { CostExplorerClient, GetSavingsPlansUtilizationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
35
35
|
* const client = new CostExplorerClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* TimePeriod: {
|
|
38
|
+
* Start: "STRING_VALUE", // required
|
|
39
|
+
* End: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* Granularity: "DAILY" || "MONTHLY" || "HOURLY",
|
|
42
|
+
* Filter: {
|
|
43
|
+
* Or: [
|
|
44
|
+
* {
|
|
45
|
+
* Or: [
|
|
46
|
+
* {
|
|
47
|
+
* Or: "<Expression>",
|
|
48
|
+
* And: [
|
|
49
|
+
* "<Expressions>",
|
|
50
|
+
* ],
|
|
51
|
+
* Not: {
|
|
52
|
+
* Or: "<Expression>",
|
|
53
|
+
* And: [
|
|
54
|
+
* "<Expressions>",
|
|
55
|
+
* ],
|
|
56
|
+
* Not: {
|
|
57
|
+
* Or: "<Expression>",
|
|
58
|
+
* And: "<Expression>",
|
|
59
|
+
* Not: "<Expression>",
|
|
60
|
+
* Dimensions: {
|
|
61
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
62
|
+
* Values: [
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* MatchOptions: [
|
|
66
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* Tags: {
|
|
70
|
+
* Key: "STRING_VALUE",
|
|
71
|
+
* Values: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* MatchOptions: [
|
|
75
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* CostCategories: {
|
|
79
|
+
* Key: "STRING_VALUE",
|
|
80
|
+
* Values: [
|
|
81
|
+
* "STRING_VALUE",
|
|
82
|
+
* ],
|
|
83
|
+
* MatchOptions: [
|
|
84
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
85
|
+
* ],
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* Dimensions: {
|
|
89
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
90
|
+
* Values: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* MatchOptions: [
|
|
94
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* Tags: {
|
|
98
|
+
* Key: "STRING_VALUE",
|
|
99
|
+
* Values: [
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* MatchOptions: [
|
|
103
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
104
|
+
* ],
|
|
105
|
+
* },
|
|
106
|
+
* CostCategories: {
|
|
107
|
+
* Key: "STRING_VALUE",
|
|
108
|
+
* Values: [
|
|
109
|
+
* "STRING_VALUE",
|
|
110
|
+
* ],
|
|
111
|
+
* MatchOptions: [
|
|
112
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
113
|
+
* ],
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* Dimensions: "<Expression>",
|
|
117
|
+
* Tags: "<Expression>",
|
|
118
|
+
* CostCategories: "<Expression>",
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* And: "<Expression>",
|
|
122
|
+
* Not: "<Expression>",
|
|
123
|
+
* Dimensions: "<Expression>",
|
|
124
|
+
* Tags: "<Expression>",
|
|
125
|
+
* CostCategories: "<Expression>",
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* And: "<Expression>",
|
|
129
|
+
* Not: "<Expression>",
|
|
130
|
+
* Dimensions: "<Expression>",
|
|
131
|
+
* Tags: "<Expression>",
|
|
132
|
+
* CostCategories: "<Expression>",
|
|
133
|
+
* },
|
|
134
|
+
* SortBy: {
|
|
135
|
+
* Key: "STRING_VALUE", // required
|
|
136
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
137
|
+
* },
|
|
138
|
+
* };
|
|
36
139
|
* const command = new GetSavingsPlansUtilizationCommand(input);
|
|
37
140
|
* const response = await client.send(command);
|
|
38
141
|
* ```
|
|
@@ -37,6 +37,113 @@ export interface GetSavingsPlansUtilizationDetailsCommandOutput extends GetSavin
|
|
|
37
37
|
* import { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
38
38
|
* // const { CostExplorerClient, GetSavingsPlansUtilizationDetailsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
39
39
|
* const client = new CostExplorerClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* TimePeriod: {
|
|
42
|
+
* Start: "STRING_VALUE", // required
|
|
43
|
+
* End: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* Filter: {
|
|
46
|
+
* Or: [
|
|
47
|
+
* {
|
|
48
|
+
* Or: [
|
|
49
|
+
* {
|
|
50
|
+
* Or: "<Expression>",
|
|
51
|
+
* And: [
|
|
52
|
+
* "<Expressions>",
|
|
53
|
+
* ],
|
|
54
|
+
* Not: {
|
|
55
|
+
* Or: "<Expression>",
|
|
56
|
+
* And: [
|
|
57
|
+
* "<Expressions>",
|
|
58
|
+
* ],
|
|
59
|
+
* Not: {
|
|
60
|
+
* Or: "<Expression>",
|
|
61
|
+
* And: "<Expression>",
|
|
62
|
+
* Not: "<Expression>",
|
|
63
|
+
* Dimensions: {
|
|
64
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
65
|
+
* Values: [
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* MatchOptions: [
|
|
69
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* Tags: {
|
|
73
|
+
* Key: "STRING_VALUE",
|
|
74
|
+
* Values: [
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* MatchOptions: [
|
|
78
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
79
|
+
* ],
|
|
80
|
+
* },
|
|
81
|
+
* CostCategories: {
|
|
82
|
+
* Key: "STRING_VALUE",
|
|
83
|
+
* Values: [
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* MatchOptions: [
|
|
87
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
88
|
+
* ],
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* Dimensions: {
|
|
92
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
93
|
+
* Values: [
|
|
94
|
+
* "STRING_VALUE",
|
|
95
|
+
* ],
|
|
96
|
+
* MatchOptions: [
|
|
97
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
98
|
+
* ],
|
|
99
|
+
* },
|
|
100
|
+
* Tags: {
|
|
101
|
+
* Key: "STRING_VALUE",
|
|
102
|
+
* Values: [
|
|
103
|
+
* "STRING_VALUE",
|
|
104
|
+
* ],
|
|
105
|
+
* MatchOptions: [
|
|
106
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* CostCategories: {
|
|
110
|
+
* Key: "STRING_VALUE",
|
|
111
|
+
* Values: [
|
|
112
|
+
* "STRING_VALUE",
|
|
113
|
+
* ],
|
|
114
|
+
* MatchOptions: [
|
|
115
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
116
|
+
* ],
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* Dimensions: "<Expression>",
|
|
120
|
+
* Tags: "<Expression>",
|
|
121
|
+
* CostCategories: "<Expression>",
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* And: "<Expression>",
|
|
125
|
+
* Not: "<Expression>",
|
|
126
|
+
* Dimensions: "<Expression>",
|
|
127
|
+
* Tags: "<Expression>",
|
|
128
|
+
* CostCategories: "<Expression>",
|
|
129
|
+
* },
|
|
130
|
+
* ],
|
|
131
|
+
* And: "<Expression>",
|
|
132
|
+
* Not: "<Expression>",
|
|
133
|
+
* Dimensions: "<Expression>",
|
|
134
|
+
* Tags: "<Expression>",
|
|
135
|
+
* CostCategories: "<Expression>",
|
|
136
|
+
* },
|
|
137
|
+
* DataType: [
|
|
138
|
+
* "ATTRIBUTES" || "UTILIZATION" || "AMORTIZED_COMMITMENT" || "SAVINGS",
|
|
139
|
+
* ],
|
|
140
|
+
* NextToken: "STRING_VALUE",
|
|
141
|
+
* MaxResults: Number("int"),
|
|
142
|
+
* SortBy: {
|
|
143
|
+
* Key: "STRING_VALUE", // required
|
|
144
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
145
|
+
* },
|
|
146
|
+
* };
|
|
40
147
|
* const command = new GetSavingsPlansUtilizationDetailsCommand(input);
|
|
41
148
|
* const response = await client.send(command);
|
|
42
149
|
* ```
|
|
@@ -27,6 +27,114 @@ export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer
|
|
|
27
27
|
* import { CostExplorerClient, GetTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, GetTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* SearchString: "STRING_VALUE",
|
|
32
|
+
* TimePeriod: {
|
|
33
|
+
* Start: "STRING_VALUE", // required
|
|
34
|
+
* End: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* TagKey: "STRING_VALUE",
|
|
37
|
+
* Filter: {
|
|
38
|
+
* Or: [
|
|
39
|
+
* {
|
|
40
|
+
* Or: [
|
|
41
|
+
* {
|
|
42
|
+
* Or: "<Expression>",
|
|
43
|
+
* And: [
|
|
44
|
+
* "<Expressions>",
|
|
45
|
+
* ],
|
|
46
|
+
* Not: {
|
|
47
|
+
* Or: "<Expression>",
|
|
48
|
+
* And: [
|
|
49
|
+
* "<Expressions>",
|
|
50
|
+
* ],
|
|
51
|
+
* Not: {
|
|
52
|
+
* Or: "<Expression>",
|
|
53
|
+
* And: "<Expression>",
|
|
54
|
+
* Not: "<Expression>",
|
|
55
|
+
* Dimensions: {
|
|
56
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
57
|
+
* Values: [
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* MatchOptions: [
|
|
61
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* Tags: {
|
|
65
|
+
* Key: "STRING_VALUE",
|
|
66
|
+
* Values: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* MatchOptions: [
|
|
70
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* CostCategories: {
|
|
74
|
+
* Key: "STRING_VALUE",
|
|
75
|
+
* Values: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* MatchOptions: [
|
|
79
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* Dimensions: {
|
|
84
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
85
|
+
* Values: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* MatchOptions: [
|
|
89
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* Tags: {
|
|
93
|
+
* Key: "STRING_VALUE",
|
|
94
|
+
* Values: [
|
|
95
|
+
* "STRING_VALUE",
|
|
96
|
+
* ],
|
|
97
|
+
* MatchOptions: [
|
|
98
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* CostCategories: {
|
|
102
|
+
* Key: "STRING_VALUE",
|
|
103
|
+
* Values: [
|
|
104
|
+
* "STRING_VALUE",
|
|
105
|
+
* ],
|
|
106
|
+
* MatchOptions: [
|
|
107
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
108
|
+
* ],
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* Dimensions: "<Expression>",
|
|
112
|
+
* Tags: "<Expression>",
|
|
113
|
+
* CostCategories: "<Expression>",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* And: "<Expression>",
|
|
117
|
+
* Not: "<Expression>",
|
|
118
|
+
* Dimensions: "<Expression>",
|
|
119
|
+
* Tags: "<Expression>",
|
|
120
|
+
* CostCategories: "<Expression>",
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* And: "<Expression>",
|
|
124
|
+
* Not: "<Expression>",
|
|
125
|
+
* Dimensions: "<Expression>",
|
|
126
|
+
* Tags: "<Expression>",
|
|
127
|
+
* CostCategories: "<Expression>",
|
|
128
|
+
* },
|
|
129
|
+
* SortBy: [
|
|
130
|
+
* {
|
|
131
|
+
* Key: "STRING_VALUE", // required
|
|
132
|
+
* SortOrder: "ASCENDING" || "DESCENDING",
|
|
133
|
+
* },
|
|
134
|
+
* ],
|
|
135
|
+
* MaxResults: Number("int"),
|
|
136
|
+
* NextPageToken: "STRING_VALUE",
|
|
137
|
+
* };
|
|
30
138
|
* const command = new GetTagsCommand(input);
|
|
31
139
|
* const response = await client.send(command);
|
|
32
140
|
* ```
|
|
@@ -27,6 +27,107 @@ export interface GetUsageForecastCommandOutput extends GetUsageForecastResponse,
|
|
|
27
27
|
* import { CostExplorerClient, GetUsageForecastCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, GetUsageForecastCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* TimePeriod: {
|
|
32
|
+
* Start: "STRING_VALUE", // required
|
|
33
|
+
* End: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* Metric: "BLENDED_COST" || "UNBLENDED_COST" || "AMORTIZED_COST" || "NET_UNBLENDED_COST" || "NET_AMORTIZED_COST" || "USAGE_QUANTITY" || "NORMALIZED_USAGE_AMOUNT", // required
|
|
36
|
+
* Granularity: "DAILY" || "MONTHLY" || "HOURLY", // required
|
|
37
|
+
* Filter: {
|
|
38
|
+
* Or: [
|
|
39
|
+
* {
|
|
40
|
+
* Or: [
|
|
41
|
+
* {
|
|
42
|
+
* Or: "<Expression>",
|
|
43
|
+
* And: [
|
|
44
|
+
* "<Expressions>",
|
|
45
|
+
* ],
|
|
46
|
+
* Not: {
|
|
47
|
+
* Or: "<Expression>",
|
|
48
|
+
* And: [
|
|
49
|
+
* "<Expressions>",
|
|
50
|
+
* ],
|
|
51
|
+
* Not: {
|
|
52
|
+
* Or: "<Expression>",
|
|
53
|
+
* And: "<Expression>",
|
|
54
|
+
* Not: "<Expression>",
|
|
55
|
+
* Dimensions: {
|
|
56
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
57
|
+
* Values: [
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* MatchOptions: [
|
|
61
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* Tags: {
|
|
65
|
+
* Key: "STRING_VALUE",
|
|
66
|
+
* Values: [
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* MatchOptions: [
|
|
70
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* CostCategories: {
|
|
74
|
+
* Key: "STRING_VALUE",
|
|
75
|
+
* Values: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* MatchOptions: [
|
|
79
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* Dimensions: {
|
|
84
|
+
* Key: "AZ" || "INSTANCE_TYPE" || "LINKED_ACCOUNT" || "LINKED_ACCOUNT_NAME" || "OPERATION" || "PURCHASE_TYPE" || "REGION" || "SERVICE" || "SERVICE_CODE" || "USAGE_TYPE" || "USAGE_TYPE_GROUP" || "RECORD_TYPE" || "OPERATING_SYSTEM" || "TENANCY" || "SCOPE" || "PLATFORM" || "SUBSCRIPTION_ID" || "LEGAL_ENTITY_NAME" || "DEPLOYMENT_OPTION" || "DATABASE_ENGINE" || "CACHE_ENGINE" || "INSTANCE_TYPE_FAMILY" || "BILLING_ENTITY" || "RESERVATION_ID" || "RESOURCE_ID" || "RIGHTSIZING_TYPE" || "SAVINGS_PLANS_TYPE" || "SAVINGS_PLAN_ARN" || "PAYMENT_OPTION" || "AGREEMENT_END_DATE_TIME_AFTER" || "AGREEMENT_END_DATE_TIME_BEFORE" || "INVOICING_ENTITY" || "ANOMALY_TOTAL_IMPACT_ABSOLUTE" || "ANOMALY_TOTAL_IMPACT_PERCENTAGE",
|
|
85
|
+
* Values: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* MatchOptions: [
|
|
89
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* Tags: {
|
|
93
|
+
* Key: "STRING_VALUE",
|
|
94
|
+
* Values: [
|
|
95
|
+
* "STRING_VALUE",
|
|
96
|
+
* ],
|
|
97
|
+
* MatchOptions: [
|
|
98
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* CostCategories: {
|
|
102
|
+
* Key: "STRING_VALUE",
|
|
103
|
+
* Values: [
|
|
104
|
+
* "STRING_VALUE",
|
|
105
|
+
* ],
|
|
106
|
+
* MatchOptions: [
|
|
107
|
+
* "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
|
|
108
|
+
* ],
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* Dimensions: "<Expression>",
|
|
112
|
+
* Tags: "<Expression>",
|
|
113
|
+
* CostCategories: "<Expression>",
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* And: "<Expression>",
|
|
117
|
+
* Not: "<Expression>",
|
|
118
|
+
* Dimensions: "<Expression>",
|
|
119
|
+
* Tags: "<Expression>",
|
|
120
|
+
* CostCategories: "<Expression>",
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* And: "<Expression>",
|
|
124
|
+
* Not: "<Expression>",
|
|
125
|
+
* Dimensions: "<Expression>",
|
|
126
|
+
* Tags: "<Expression>",
|
|
127
|
+
* CostCategories: "<Expression>",
|
|
128
|
+
* },
|
|
129
|
+
* PredictionIntervalLevel: Number("int"),
|
|
130
|
+
* };
|
|
30
131
|
* const command = new GetUsageForecastCommand(input);
|
|
31
132
|
* const response = await client.send(command);
|
|
32
133
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface ListCostAllocationTagsCommandOutput extends ListCostAllocationT
|
|
|
27
27
|
* import { CostExplorerClient, ListCostAllocationTagsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, ListCostAllocationTagsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* Status: "Active" || "Inactive",
|
|
32
|
+
* TagKeys: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* Type: "AWSGenerated" || "UserDefined",
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
30
39
|
* const command = new ListCostAllocationTagsCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface ListCostCategoryDefinitionsCommandOutput extends ListCostCatego
|
|
|
32
32
|
* import { CostExplorerClient, ListCostCategoryDefinitionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
33
33
|
* // const { CostExplorerClient, ListCostCategoryDefinitionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
34
34
|
* const client = new CostExplorerClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* EffectiveOn: "STRING_VALUE",
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* };
|
|
35
40
|
* const command = new ListCostCategoryDefinitionsCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -27,6 +27,14 @@ export interface ListSavingsPlansPurchaseRecommendationGenerationCommandOutput e
|
|
|
27
27
|
* import { CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, ListSavingsPlansPurchaseRecommendationGenerationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* GenerationStatus: "SUCCEEDED" || "PROCESSING" || "FAILED",
|
|
32
|
+
* RecommendationIds: [
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* PageSize: Number("int"),
|
|
36
|
+
* NextPageToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
30
38
|
* const command = new ListSavingsPlansPurchaseRecommendationGenerationCommand(input);
|
|
31
39
|
* const response = await client.send(command);
|
|
32
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { CostExplorerClient, ListTagsForResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ProvideAnomalyFeedbackCommandOutput extends ProvideAnomalyFeedb
|
|
|
26
26
|
* import { CostExplorerClient, ProvideAnomalyFeedbackCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
27
27
|
* // const { CostExplorerClient, ProvideAnomalyFeedbackCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
28
28
|
* const client = new CostExplorerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* AnomalyId: "STRING_VALUE", // required
|
|
31
|
+
* Feedback: "YES" || "NO" || "PLANNED_ACTIVITY", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ProvideAnomalyFeedbackCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -34,6 +34,7 @@ export interface StartSavingsPlansPurchaseRecommendationGenerationCommandOutput
|
|
|
34
34
|
* import { CostExplorerClient, StartSavingsPlansPurchaseRecommendationGenerationCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
35
35
|
* // const { CostExplorerClient, StartSavingsPlansPurchaseRecommendationGenerationCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
36
36
|
* const client = new CostExplorerClient(config);
|
|
37
|
+
* const input = {};
|
|
37
38
|
* const command = new StartSavingsPlansPurchaseRecommendationGenerationCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
39
40
|
* ```
|
|
@@ -32,6 +32,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
32
32
|
* import { CostExplorerClient, TagResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
33
33
|
* // const { CostExplorerClient, TagResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
34
34
|
* const client = new CostExplorerClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
+
* ResourceTags: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
35
44
|
* const command = new TagResourceCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { CostExplorerClient, UntagResourceCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, UntagResourceCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
32
|
+
* ResourceTagKeys: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface UpdateAnomalyMonitorCommandOutput extends UpdateAnomalyMonitorR
|
|
|
27
27
|
* import { CostExplorerClient, UpdateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
28
28
|
* // const { CostExplorerClient, UpdateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
29
29
|
* const client = new CostExplorerClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* MonitorArn: "STRING_VALUE", // required
|
|
32
|
+
* MonitorName: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new UpdateAnomalyMonitorCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|