@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.
Files changed (38) hide show
  1. package/dist-types/commands/CreateAnomalyMonitorCommand.d.ts +110 -0
  2. package/dist-types/commands/CreateAnomalySubscriptionCommand.d.ts +117 -0
  3. package/dist-types/commands/CreateCostCategoryDefinitionCommand.d.ts +131 -0
  4. package/dist-types/commands/DeleteAnomalyMonitorCommand.d.ts +3 -0
  5. package/dist-types/commands/DeleteAnomalySubscriptionCommand.d.ts +3 -0
  6. package/dist-types/commands/DeleteCostCategoryDefinitionCommand.d.ts +3 -0
  7. package/dist-types/commands/DescribeCostCategoryDefinitionCommand.d.ts +4 -0
  8. package/dist-types/commands/GetAnomaliesCommand.d.ts +15 -0
  9. package/dist-types/commands/GetAnomalyMonitorsCommand.d.ts +7 -0
  10. package/dist-types/commands/GetAnomalySubscriptionsCommand.d.ts +8 -0
  11. package/dist-types/commands/GetCostAndUsageCommand.d.ts +109 -0
  12. package/dist-types/commands/GetCostAndUsageWithResourcesCommand.d.ts +109 -0
  13. package/dist-types/commands/GetCostCategoriesCommand.d.ts +108 -0
  14. package/dist-types/commands/GetCostForecastCommand.d.ts +101 -0
  15. package/dist-types/commands/GetDimensionValuesCommand.d.ts +109 -0
  16. package/dist-types/commands/GetReservationCoverageCommand.d.ts +114 -0
  17. package/dist-types/commands/GetReservationPurchaseRecommendationCommand.d.ts +107 -0
  18. package/dist-types/commands/GetReservationUtilizationCommand.d.ts +111 -0
  19. package/dist-types/commands/GetRightsizingRecommendationCommand.d.ts +101 -0
  20. package/dist-types/commands/GetSavingsPlansCoverageCommand.d.ts +114 -0
  21. package/dist-types/commands/GetSavingsPlansPurchaseRecommendationCommand.d.ts +101 -0
  22. package/dist-types/commands/GetSavingsPlansUtilizationCommand.d.ts +103 -0
  23. package/dist-types/commands/GetSavingsPlansUtilizationDetailsCommand.d.ts +107 -0
  24. package/dist-types/commands/GetTagsCommand.d.ts +108 -0
  25. package/dist-types/commands/GetUsageForecastCommand.d.ts +101 -0
  26. package/dist-types/commands/ListCostAllocationTagsCommand.d.ts +9 -0
  27. package/dist-types/commands/ListCostCategoryDefinitionsCommand.d.ts +5 -0
  28. package/dist-types/commands/ListSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +8 -0
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  30. package/dist-types/commands/ProvideAnomalyFeedbackCommand.d.ts +4 -0
  31. package/dist-types/commands/StartSavingsPlansPurchaseRecommendationGenerationCommand.d.ts +1 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  33. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  34. package/dist-types/commands/UpdateAnomalyMonitorCommand.d.ts +4 -0
  35. package/dist-types/commands/UpdateAnomalySubscriptionCommand.d.ts +108 -0
  36. package/dist-types/commands/UpdateCostAllocationTagsStatusCommand.d.ts +8 -0
  37. package/dist-types/commands/UpdateCostCategoryDefinitionCommand.d.ts +125 -0
  38. package/package.json +8 -8
@@ -27,6 +27,116 @@ export interface CreateAnomalyMonitorCommandOutput extends CreateAnomalyMonitorR
27
27
  * import { CostExplorerClient, CreateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
28
28
  * // const { CostExplorerClient, CreateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
29
29
  * const client = new CostExplorerClient(config);
30
+ * const input = {
31
+ * AnomalyMonitor: {
32
+ * MonitorArn: "STRING_VALUE",
33
+ * MonitorName: "STRING_VALUE", // required
34
+ * CreationDate: "STRING_VALUE",
35
+ * LastUpdatedDate: "STRING_VALUE",
36
+ * LastEvaluatedDate: "STRING_VALUE",
37
+ * MonitorType: "DIMENSIONAL" || "CUSTOM", // required
38
+ * MonitorDimension: "SERVICE",
39
+ * MonitorSpecification: {
40
+ * Or: [
41
+ * {
42
+ * Or: [
43
+ * {
44
+ * Or: "<Expression>",
45
+ * And: [
46
+ * "<Expressions>",
47
+ * ],
48
+ * Not: {
49
+ * Or: "<Expression>",
50
+ * And: [
51
+ * "<Expressions>",
52
+ * ],
53
+ * Not: {
54
+ * Or: "<Expression>",
55
+ * And: "<Expression>",
56
+ * Not: "<Expression>",
57
+ * Dimensions: {
58
+ * 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",
59
+ * Values: [
60
+ * "STRING_VALUE",
61
+ * ],
62
+ * MatchOptions: [
63
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
64
+ * ],
65
+ * },
66
+ * Tags: {
67
+ * Key: "STRING_VALUE",
68
+ * Values: [
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * MatchOptions: [
72
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
73
+ * ],
74
+ * },
75
+ * CostCategories: {
76
+ * Key: "STRING_VALUE",
77
+ * Values: [
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * MatchOptions: [
81
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
82
+ * ],
83
+ * },
84
+ * },
85
+ * Dimensions: {
86
+ * 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",
87
+ * Values: [
88
+ * "STRING_VALUE",
89
+ * ],
90
+ * MatchOptions: [
91
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
92
+ * ],
93
+ * },
94
+ * Tags: {
95
+ * Key: "STRING_VALUE",
96
+ * Values: [
97
+ * "STRING_VALUE",
98
+ * ],
99
+ * MatchOptions: [
100
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
101
+ * ],
102
+ * },
103
+ * CostCategories: {
104
+ * Key: "STRING_VALUE",
105
+ * Values: [
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * MatchOptions: [
109
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
110
+ * ],
111
+ * },
112
+ * },
113
+ * Dimensions: "<Expression>",
114
+ * Tags: "<Expression>",
115
+ * CostCategories: "<Expression>",
116
+ * },
117
+ * ],
118
+ * And: "<Expression>",
119
+ * Not: "<Expression>",
120
+ * Dimensions: "<Expression>",
121
+ * Tags: "<Expression>",
122
+ * CostCategories: "<Expression>",
123
+ * },
124
+ * ],
125
+ * And: "<Expression>",
126
+ * Not: "<Expression>",
127
+ * Dimensions: "<Expression>",
128
+ * Tags: "<Expression>",
129
+ * CostCategories: "<Expression>",
130
+ * },
131
+ * DimensionalValueCount: Number("int"),
132
+ * },
133
+ * ResourceTags: [
134
+ * {
135
+ * Key: "STRING_VALUE", // required
136
+ * Value: "STRING_VALUE", // required
137
+ * },
138
+ * ],
139
+ * };
30
140
  * const command = new CreateAnomalyMonitorCommand(input);
31
141
  * const response = await client.send(command);
32
142
  * ```
@@ -28,6 +28,123 @@ export interface CreateAnomalySubscriptionCommandOutput extends CreateAnomalySub
28
28
  * import { CostExplorerClient, CreateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
29
29
  * // const { CostExplorerClient, CreateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
30
30
  * const client = new CostExplorerClient(config);
31
+ * const input = {
32
+ * AnomalySubscription: {
33
+ * SubscriptionArn: "STRING_VALUE",
34
+ * AccountId: "STRING_VALUE",
35
+ * MonitorArnList: [ // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * Subscribers: [ // required
39
+ * {
40
+ * Address: "STRING_VALUE",
41
+ * Type: "EMAIL" || "SNS",
42
+ * Status: "CONFIRMED" || "DECLINED",
43
+ * },
44
+ * ],
45
+ * Threshold: Number("double"),
46
+ * Frequency: "DAILY" || "IMMEDIATE" || "WEEKLY", // required
47
+ * SubscriptionName: "STRING_VALUE", // required
48
+ * ThresholdExpression: {
49
+ * Or: [
50
+ * {
51
+ * Or: [
52
+ * {
53
+ * Or: "<Expression>",
54
+ * And: [
55
+ * "<Expressions>",
56
+ * ],
57
+ * Not: {
58
+ * Or: "<Expression>",
59
+ * And: [
60
+ * "<Expressions>",
61
+ * ],
62
+ * Not: {
63
+ * Or: "<Expression>",
64
+ * And: "<Expression>",
65
+ * Not: "<Expression>",
66
+ * Dimensions: {
67
+ * 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",
68
+ * Values: [
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * MatchOptions: [
72
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
73
+ * ],
74
+ * },
75
+ * Tags: {
76
+ * Key: "STRING_VALUE",
77
+ * Values: [
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * MatchOptions: [
81
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
82
+ * ],
83
+ * },
84
+ * CostCategories: {
85
+ * Key: "STRING_VALUE",
86
+ * Values: [
87
+ * "STRING_VALUE",
88
+ * ],
89
+ * MatchOptions: [
90
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
91
+ * ],
92
+ * },
93
+ * },
94
+ * Dimensions: {
95
+ * 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",
96
+ * Values: [
97
+ * "STRING_VALUE",
98
+ * ],
99
+ * MatchOptions: [
100
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
101
+ * ],
102
+ * },
103
+ * Tags: {
104
+ * Key: "STRING_VALUE",
105
+ * Values: [
106
+ * "STRING_VALUE",
107
+ * ],
108
+ * MatchOptions: [
109
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
110
+ * ],
111
+ * },
112
+ * CostCategories: {
113
+ * Key: "STRING_VALUE",
114
+ * Values: [
115
+ * "STRING_VALUE",
116
+ * ],
117
+ * MatchOptions: [
118
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
119
+ * ],
120
+ * },
121
+ * },
122
+ * Dimensions: "<Expression>",
123
+ * Tags: "<Expression>",
124
+ * CostCategories: "<Expression>",
125
+ * },
126
+ * ],
127
+ * And: "<Expression>",
128
+ * Not: "<Expression>",
129
+ * Dimensions: "<Expression>",
130
+ * Tags: "<Expression>",
131
+ * CostCategories: "<Expression>",
132
+ * },
133
+ * ],
134
+ * And: "<Expression>",
135
+ * Not: "<Expression>",
136
+ * Dimensions: "<Expression>",
137
+ * Tags: "<Expression>",
138
+ * CostCategories: "<Expression>",
139
+ * },
140
+ * },
141
+ * ResourceTags: [
142
+ * {
143
+ * Key: "STRING_VALUE", // required
144
+ * Value: "STRING_VALUE", // required
145
+ * },
146
+ * ],
147
+ * };
31
148
  * const command = new CreateAnomalySubscriptionCommand(input);
32
149
  * const response = await client.send(command);
33
150
  * ```
@@ -26,6 +26,137 @@ export interface CreateCostCategoryDefinitionCommandOutput extends CreateCostCat
26
26
  * import { CostExplorerClient, CreateCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
27
27
  * // const { CostExplorerClient, CreateCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
28
28
  * const client = new CostExplorerClient(config);
29
+ * const input = {
30
+ * Name: "STRING_VALUE", // required
31
+ * EffectiveStart: "STRING_VALUE",
32
+ * RuleVersion: "CostCategoryExpression.v1", // required
33
+ * Rules: [ // required
34
+ * {
35
+ * Value: "STRING_VALUE",
36
+ * Rule: {
37
+ * Or: [
38
+ * {
39
+ * Or: [
40
+ * {
41
+ * Or: "<Expression>",
42
+ * And: [
43
+ * "<Expressions>",
44
+ * ],
45
+ * Not: {
46
+ * Or: "<Expression>",
47
+ * And: [
48
+ * "<Expressions>",
49
+ * ],
50
+ * Not: {
51
+ * Or: "<Expression>",
52
+ * And: "<Expression>",
53
+ * Not: "<Expression>",
54
+ * Dimensions: {
55
+ * 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",
56
+ * Values: [
57
+ * "STRING_VALUE",
58
+ * ],
59
+ * MatchOptions: [
60
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
61
+ * ],
62
+ * },
63
+ * Tags: {
64
+ * Key: "STRING_VALUE",
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
+ * CostCategories: {
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
+ * },
82
+ * Dimensions: {
83
+ * 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",
84
+ * Values: [
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * MatchOptions: [
88
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
89
+ * ],
90
+ * },
91
+ * Tags: {
92
+ * Key: "STRING_VALUE",
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
+ * CostCategories: {
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
+ * },
110
+ * Dimensions: "<Expression>",
111
+ * Tags: "<Expression>",
112
+ * CostCategories: "<Expression>",
113
+ * },
114
+ * ],
115
+ * And: "<Expression>",
116
+ * Not: "<Expression>",
117
+ * Dimensions: "<Expression>",
118
+ * Tags: "<Expression>",
119
+ * CostCategories: "<Expression>",
120
+ * },
121
+ * ],
122
+ * And: "<Expression>",
123
+ * Not: "<Expression>",
124
+ * Dimensions: "<Expression>",
125
+ * Tags: "<Expression>",
126
+ * CostCategories: "<Expression>",
127
+ * },
128
+ * InheritedValue: {
129
+ * DimensionName: "LINKED_ACCOUNT_NAME" || "TAG",
130
+ * DimensionKey: "STRING_VALUE",
131
+ * },
132
+ * Type: "REGULAR" || "INHERITED_VALUE",
133
+ * },
134
+ * ],
135
+ * DefaultValue: "STRING_VALUE",
136
+ * SplitChargeRules: [
137
+ * {
138
+ * Source: "STRING_VALUE", // required
139
+ * Targets: [ // required
140
+ * "STRING_VALUE",
141
+ * ],
142
+ * Method: "FIXED" || "PROPORTIONAL" || "EVEN", // required
143
+ * Parameters: [
144
+ * {
145
+ * Type: "ALLOCATION_PERCENTAGES", // required
146
+ * Values: [ // required
147
+ * "STRING_VALUE",
148
+ * ],
149
+ * },
150
+ * ],
151
+ * },
152
+ * ],
153
+ * ResourceTags: [
154
+ * {
155
+ * Key: "STRING_VALUE", // required
156
+ * Value: "STRING_VALUE", // required
157
+ * },
158
+ * ],
159
+ * };
29
160
  * const command = new CreateCostCategoryDefinitionCommand(input);
30
161
  * const response = await client.send(command);
31
162
  * ```
@@ -26,6 +26,9 @@ export interface DeleteAnomalyMonitorCommandOutput extends DeleteAnomalyMonitorR
26
26
  * import { CostExplorerClient, DeleteAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
27
27
  * // const { CostExplorerClient, DeleteAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
28
28
  * const client = new CostExplorerClient(config);
29
+ * const input = {
30
+ * MonitorArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteAnomalyMonitorCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DeleteAnomalySubscriptionCommandOutput extends DeleteAnomalySub
26
26
  * import { CostExplorerClient, DeleteAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
27
27
  * // const { CostExplorerClient, DeleteAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
28
28
  * const client = new CostExplorerClient(config);
29
+ * const input = {
30
+ * SubscriptionArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteAnomalySubscriptionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,9 @@ export interface DeleteCostCategoryDefinitionCommandOutput extends DeleteCostCat
27
27
  * import { CostExplorerClient, DeleteCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
28
28
  * // const { CostExplorerClient, DeleteCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
29
29
  * const client = new CostExplorerClient(config);
30
+ * const input = {
31
+ * CostCategoryArn: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteCostCategoryDefinitionCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -31,6 +31,10 @@ export interface DescribeCostCategoryDefinitionCommandOutput extends DescribeCos
31
31
  * import { CostExplorerClient, DescribeCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
32
32
  * // const { CostExplorerClient, DescribeCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
33
33
  * const client = new CostExplorerClient(config);
34
+ * const input = {
35
+ * CostCategoryArn: "STRING_VALUE", // required
36
+ * EffectiveOn: "STRING_VALUE",
37
+ * };
34
38
  * const command = new DescribeCostCategoryDefinitionCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -28,6 +28,21 @@ export interface GetAnomaliesCommandOutput extends GetAnomaliesResponse, __Metad
28
28
  * import { CostExplorerClient, GetAnomaliesCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
29
29
  * // const { CostExplorerClient, GetAnomaliesCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
30
30
  * const client = new CostExplorerClient(config);
31
+ * const input = {
32
+ * MonitorArn: "STRING_VALUE",
33
+ * DateInterval: {
34
+ * StartDate: "STRING_VALUE", // required
35
+ * EndDate: "STRING_VALUE",
36
+ * },
37
+ * Feedback: "YES" || "NO" || "PLANNED_ACTIVITY",
38
+ * TotalImpact: {
39
+ * NumericOperator: "EQUAL" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "GREATER_THAN" || "LESS_THAN" || "BETWEEN", // required
40
+ * StartValue: Number("double"), // required
41
+ * EndValue: Number("double"),
42
+ * },
43
+ * NextPageToken: "STRING_VALUE",
44
+ * MaxResults: Number("int"),
45
+ * };
31
46
  * const command = new GetAnomaliesCommand(input);
32
47
  * const response = await client.send(command);
33
48
  * ```
@@ -27,6 +27,13 @@ export interface GetAnomalyMonitorsCommandOutput extends GetAnomalyMonitorsRespo
27
27
  * import { CostExplorerClient, GetAnomalyMonitorsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
28
28
  * // const { CostExplorerClient, GetAnomalyMonitorsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
29
29
  * const client = new CostExplorerClient(config);
30
+ * const input = {
31
+ * MonitorArnList: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * NextPageToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * };
30
37
  * const command = new GetAnomalyMonitorsCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -27,6 +27,14 @@ export interface GetAnomalySubscriptionsCommandOutput extends GetAnomalySubscrip
27
27
  * import { CostExplorerClient, GetAnomalySubscriptionsCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
28
28
  * // const { CostExplorerClient, GetAnomalySubscriptionsCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
29
29
  * const client = new CostExplorerClient(config);
30
+ * const input = {
31
+ * SubscriptionArnList: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * MonitorArn: "STRING_VALUE",
35
+ * NextPageToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
30
38
  * const command = new GetAnomalySubscriptionsCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -32,6 +32,115 @@ export interface GetCostAndUsageCommandOutput extends GetCostAndUsageResponse, _
32
32
  * import { CostExplorerClient, GetCostAndUsageCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
33
33
  * // const { CostExplorerClient, GetCostAndUsageCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
34
34
  * const client = new CostExplorerClient(config);
35
+ * const input = {
36
+ * TimePeriod: {
37
+ * Start: "STRING_VALUE", // required
38
+ * End: "STRING_VALUE", // required
39
+ * },
40
+ * Granularity: "DAILY" || "MONTHLY" || "HOURLY", // required
41
+ * Filter: {
42
+ * Or: [
43
+ * {
44
+ * Or: [
45
+ * {
46
+ * Or: "<Expression>",
47
+ * And: [
48
+ * "<Expressions>",
49
+ * ],
50
+ * Not: {
51
+ * Or: "<Expression>",
52
+ * And: [
53
+ * "<Expressions>",
54
+ * ],
55
+ * Not: {
56
+ * Or: "<Expression>",
57
+ * And: "<Expression>",
58
+ * Not: "<Expression>",
59
+ * Dimensions: {
60
+ * 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",
61
+ * Values: [
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * MatchOptions: [
65
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
66
+ * ],
67
+ * },
68
+ * Tags: {
69
+ * Key: "STRING_VALUE",
70
+ * Values: [
71
+ * "STRING_VALUE",
72
+ * ],
73
+ * MatchOptions: [
74
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
75
+ * ],
76
+ * },
77
+ * CostCategories: {
78
+ * Key: "STRING_VALUE",
79
+ * Values: [
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * MatchOptions: [
83
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
84
+ * ],
85
+ * },
86
+ * },
87
+ * Dimensions: {
88
+ * 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",
89
+ * Values: [
90
+ * "STRING_VALUE",
91
+ * ],
92
+ * MatchOptions: [
93
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
94
+ * ],
95
+ * },
96
+ * Tags: {
97
+ * Key: "STRING_VALUE",
98
+ * Values: [
99
+ * "STRING_VALUE",
100
+ * ],
101
+ * MatchOptions: [
102
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
103
+ * ],
104
+ * },
105
+ * CostCategories: {
106
+ * Key: "STRING_VALUE",
107
+ * Values: [
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * MatchOptions: [
111
+ * "EQUALS" || "ABSENT" || "STARTS_WITH" || "ENDS_WITH" || "CONTAINS" || "CASE_SENSITIVE" || "CASE_INSENSITIVE" || "GREATER_THAN_OR_EQUAL",
112
+ * ],
113
+ * },
114
+ * },
115
+ * Dimensions: "<Expression>",
116
+ * Tags: "<Expression>",
117
+ * CostCategories: "<Expression>",
118
+ * },
119
+ * ],
120
+ * And: "<Expression>",
121
+ * Not: "<Expression>",
122
+ * Dimensions: "<Expression>",
123
+ * Tags: "<Expression>",
124
+ * CostCategories: "<Expression>",
125
+ * },
126
+ * ],
127
+ * And: "<Expression>",
128
+ * Not: "<Expression>",
129
+ * Dimensions: "<Expression>",
130
+ * Tags: "<Expression>",
131
+ * CostCategories: "<Expression>",
132
+ * },
133
+ * Metrics: [ // required
134
+ * "STRING_VALUE",
135
+ * ],
136
+ * GroupBy: [
137
+ * {
138
+ * Type: "DIMENSION" || "TAG" || "COST_CATEGORY",
139
+ * Key: "STRING_VALUE",
140
+ * },
141
+ * ],
142
+ * NextPageToken: "STRING_VALUE",
143
+ * };
35
144
  * const command = new GetCostAndUsageCommand(input);
36
145
  * const response = await client.send(command);
37
146
  * ```