/ cloudformation-templates / node_modules / aws-cdk / node_modules / aws-sdk / clients / costexplorer.d.ts
costexplorer.d.ts
1 import {Request} from '../lib/request'; 2 import {Response} from '../lib/response'; 3 import {AWSError} from '../lib/error'; 4 import {Service} from '../lib/service'; 5 import {ServiceConfigurationOptions} from '../lib/service'; 6 import {ConfigBase as Config} from '../lib/config-base'; 7 interface Blob {} 8 declare class CostExplorer extends Service { 9 /** 10 * Constructs a service object. This object has one method for each API operation. 11 */ 12 constructor(options?: CostExplorer.Types.ClientConfiguration) 13 config: Config & CostExplorer.Types.ClientConfiguration; 14 /** 15 * Creates a new cost anomaly detection monitor with the requested type and monitor specification. 16 */ 17 createAnomalyMonitor(params: CostExplorer.Types.CreateAnomalyMonitorRequest, callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalyMonitorResponse) => void): Request<CostExplorer.Types.CreateAnomalyMonitorResponse, AWSError>; 18 /** 19 * Creates a new cost anomaly detection monitor with the requested type and monitor specification. 20 */ 21 createAnomalyMonitor(callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalyMonitorResponse) => void): Request<CostExplorer.Types.CreateAnomalyMonitorResponse, AWSError>; 22 /** 23 * Adds a subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set a dollar threshold and a time frequency for receiving notifications. 24 */ 25 createAnomalySubscription(params: CostExplorer.Types.CreateAnomalySubscriptionRequest, callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.CreateAnomalySubscriptionResponse, AWSError>; 26 /** 27 * Adds a subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set a dollar threshold and a time frequency for receiving notifications. 28 */ 29 createAnomalySubscription(callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.CreateAnomalySubscriptionResponse, AWSError>; 30 /** 31 * Creates a new Cost Category with the requested name and rules. 32 */ 33 createCostCategoryDefinition(params: CostExplorer.Types.CreateCostCategoryDefinitionRequest, callback?: (err: AWSError, data: CostExplorer.Types.CreateCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.CreateCostCategoryDefinitionResponse, AWSError>; 34 /** 35 * Creates a new Cost Category with the requested name and rules. 36 */ 37 createCostCategoryDefinition(callback?: (err: AWSError, data: CostExplorer.Types.CreateCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.CreateCostCategoryDefinitionResponse, AWSError>; 38 /** 39 * Deletes a cost anomaly monitor. 40 */ 41 deleteAnomalyMonitor(params: CostExplorer.Types.DeleteAnomalyMonitorRequest, callback?: (err: AWSError, data: CostExplorer.Types.DeleteAnomalyMonitorResponse) => void): Request<CostExplorer.Types.DeleteAnomalyMonitorResponse, AWSError>; 42 /** 43 * Deletes a cost anomaly monitor. 44 */ 45 deleteAnomalyMonitor(callback?: (err: AWSError, data: CostExplorer.Types.DeleteAnomalyMonitorResponse) => void): Request<CostExplorer.Types.DeleteAnomalyMonitorResponse, AWSError>; 46 /** 47 * Deletes a cost anomaly subscription. 48 */ 49 deleteAnomalySubscription(params: CostExplorer.Types.DeleteAnomalySubscriptionRequest, callback?: (err: AWSError, data: CostExplorer.Types.DeleteAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.DeleteAnomalySubscriptionResponse, AWSError>; 50 /** 51 * Deletes a cost anomaly subscription. 52 */ 53 deleteAnomalySubscription(callback?: (err: AWSError, data: CostExplorer.Types.DeleteAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.DeleteAnomalySubscriptionResponse, AWSError>; 54 /** 55 * Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category. 56 */ 57 deleteCostCategoryDefinition(params: CostExplorer.Types.DeleteCostCategoryDefinitionRequest, callback?: (err: AWSError, data: CostExplorer.Types.DeleteCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.DeleteCostCategoryDefinitionResponse, AWSError>; 58 /** 59 * Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost Category. 60 */ 61 deleteCostCategoryDefinition(callback?: (err: AWSError, data: CostExplorer.Types.DeleteCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.DeleteCostCategoryDefinitionResponse, AWSError>; 62 /** 63 * Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account. You have the option to use EffectiveOn to return a Cost Category that is active on a specific date. If there is no EffectiveOn specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. 64 */ 65 describeCostCategoryDefinition(params: CostExplorer.Types.DescribeCostCategoryDefinitionRequest, callback?: (err: AWSError, data: CostExplorer.Types.DescribeCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.DescribeCostCategoryDefinitionResponse, AWSError>; 66 /** 67 * Returns the name, ARN, rules, definition, and effective dates of a Cost Category that's defined in the account. You have the option to use EffectiveOn to return a Cost Category that is active on a specific date. If there is no EffectiveOn specified, you’ll see a Cost Category that is effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. 68 */ 69 describeCostCategoryDefinition(callback?: (err: AWSError, data: CostExplorer.Types.DescribeCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.DescribeCostCategoryDefinitionResponse, AWSError>; 70 /** 71 * Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object. 72 */ 73 getAnomalies(params: CostExplorer.Types.GetAnomaliesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetAnomaliesResponse) => void): Request<CostExplorer.Types.GetAnomaliesResponse, AWSError>; 74 /** 75 * Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object. 76 */ 77 getAnomalies(callback?: (err: AWSError, data: CostExplorer.Types.GetAnomaliesResponse) => void): Request<CostExplorer.Types.GetAnomaliesResponse, AWSError>; 78 /** 79 * Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs). 80 */ 81 getAnomalyMonitors(params: CostExplorer.Types.GetAnomalyMonitorsRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetAnomalyMonitorsResponse) => void): Request<CostExplorer.Types.GetAnomalyMonitorsResponse, AWSError>; 82 /** 83 * Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs). 84 */ 85 getAnomalyMonitors(callback?: (err: AWSError, data: CostExplorer.Types.GetAnomalyMonitorsResponse) => void): Request<CostExplorer.Types.GetAnomalyMonitorsResponse, AWSError>; 86 /** 87 * Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs). 88 */ 89 getAnomalySubscriptions(params: CostExplorer.Types.GetAnomalySubscriptionsRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetAnomalySubscriptionsResponse) => void): Request<CostExplorer.Types.GetAnomalySubscriptionsResponse, AWSError>; 90 /** 91 * Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly monitor Amazon Resource Names (ARNs). 92 */ 93 getAnomalySubscriptions(callback?: (err: AWSError, data: CostExplorer.Types.GetAnomalySubscriptionsResponse) => void): Request<CostExplorer.Types.GetAnomalySubscriptionsResponse, AWSError>; 94 /** 95 * Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric that you want the request to return. For example, you can specify BlendedCosts or UsageQuantity. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. For information about filter limitations, see Quotas and restrictions in the Billing and Cost Management User Guide. 96 */ 97 getCostAndUsage(params: CostExplorer.Types.GetCostAndUsageRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>; 98 /** 99 * Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric that you want the request to return. For example, you can specify BlendedCosts or UsageQuantity. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. For information about filter limitations, see Quotas and restrictions in the Billing and Cost Management User Guide. 100 */ 101 getCostAndUsage(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageResponse) => void): Request<CostExplorer.Types.GetCostAndUsageResponse, AWSError>; 102 /** 103 * Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide. 104 */ 105 getCostAndUsageWithResources(params: CostExplorer.Types.GetCostAndUsageWithResourcesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>; 106 /** 107 * Retrieves cost and usage metrics with resources for your account. You can specify which cost and usage-related metric, such as BlendedCosts or UsageQuantity, that you want the request to return. You can also filter and group your data by various dimensions, such as SERVICE or AZ, in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all member accounts. This API is currently available for the Amazon Elastic Compute Cloud – Compute service only. This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information on how to access the Settings page, see Controlling Access for Cost Explorer in the Billing and Cost Management User Guide. 108 */ 109 getCostAndUsageWithResources(callback?: (err: AWSError, data: CostExplorer.Types.GetCostAndUsageWithResourcesResponse) => void): Request<CostExplorer.Types.GetCostAndUsageWithResourcesResponse, AWSError>; 110 /** 111 * Retrieves an array of Cost Category names and values incurred cost. If some Cost Category names and values are not associated with any cost, they will not be returned by this API. 112 */ 113 getCostCategories(params: CostExplorer.Types.GetCostCategoriesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostCategoriesResponse) => void): Request<CostExplorer.Types.GetCostCategoriesResponse, AWSError>; 114 /** 115 * Retrieves an array of Cost Category names and values incurred cost. If some Cost Category names and values are not associated with any cost, they will not be returned by this API. 116 */ 117 getCostCategories(callback?: (err: AWSError, data: CostExplorer.Types.GetCostCategoriesResponse) => void): Request<CostExplorer.Types.GetCostCategoriesResponse, AWSError>; 118 /** 119 * Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. 120 */ 121 getCostForecast(params: CostExplorer.Types.GetCostForecastRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetCostForecastResponse) => void): Request<CostExplorer.Types.GetCostForecastResponse, AWSError>; 122 /** 123 * Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period that you select, based on your past costs. 124 */ 125 getCostForecast(callback?: (err: AWSError, data: CostExplorer.Types.GetCostForecastResponse) => void): Request<CostExplorer.Types.GetCostForecastResponse, AWSError>; 126 /** 127 * Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. 128 */ 129 getDimensionValues(params: CostExplorer.Types.GetDimensionValuesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetDimensionValuesResponse) => void): Request<CostExplorer.Types.GetDimensionValuesResponse, AWSError>; 130 /** 131 * Retrieves all available filter values for a specified filter over a period of time. You can search the dimension values for an arbitrary string. 132 */ 133 getDimensionValues(callback?: (err: AWSError, data: CostExplorer.Types.GetDimensionValuesResponse) => void): Request<CostExplorer.Types.GetDimensionValuesResponse, AWSError>; 134 /** 135 * Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data about reservation usage by the following dimensions: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION SERVICE TAG TENANCY To determine valid values for a dimension, use the GetDimensionValues operation. 136 */ 137 getReservationCoverage(params: CostExplorer.Types.GetReservationCoverageRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetReservationCoverageResponse) => void): Request<CostExplorer.Types.GetReservationCoverageResponse, AWSError>; 138 /** 139 * Retrieves the reservation coverage for your account. This enables you to see how much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a reservation. An organization's management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data about reservation usage by the following dimensions: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION SERVICE TAG TENANCY To determine valid values for a dimension, use the GetDimensionValues operation. 140 */ 141 getReservationCoverage(callback?: (err: AWSError, data: CostExplorer.Types.GetReservationCoverageResponse) => void): Request<CostExplorer.Types.GetReservationCoverageResponse, AWSError>; 142 /** 143 * Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing. Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance in an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units so that you can purchase any instance size that you want. For this example, your RI recommendation would be for c4.large because that is the smallest size instance in the c4 instance family. 144 */ 145 getReservationPurchaseRecommendation(params: CostExplorer.Types.GetReservationPurchaseRecommendationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetReservationPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetReservationPurchaseRecommendationResponse, AWSError>; 146 /** 147 * Gets recommendations for which reservations to purchase. These recommendations could help you reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing. Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services has these categories, it simulates every combination of reservations in each category of usage to identify the best number of each type of RI to purchase to maximize your estimated savings. For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web Services recommends the smallest size instance in an instance family. This makes it easier to purchase a size-flexible RI. Amazon Web Services also shows the equal number of normalized units so that you can purchase any instance size that you want. For this example, your RI recommendation would be for c4.large because that is the smallest size instance in the c4 instance family. 148 */ 149 getReservationPurchaseRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetReservationPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetReservationPurchaseRecommendationResponse, AWSError>; 150 /** 151 * Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID. 152 */ 153 getReservationUtilization(params: CostExplorer.Types.GetReservationUtilizationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetReservationUtilizationResponse) => void): Request<CostExplorer.Types.GetReservationUtilizationResponse, AWSError>; 154 /** 155 * Retrieves the reservation utilization for your account. Management account in an organization have access to member accounts. You can filter data by dimensions in a time period. You can use GetDimensionValues to determine the possible dimension values. Currently, you can group only by SUBSCRIPTION_ID. 156 */ 157 getReservationUtilization(callback?: (err: AWSError, data: CostExplorer.Types.GetReservationUtilizationResponse) => void): Request<CostExplorer.Types.GetReservationUtilizationResponse, AWSError>; 158 /** 159 * Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances. Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For details on calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide. 160 */ 161 getRightsizingRecommendation(params: CostExplorer.Types.GetRightsizingRecommendationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetRightsizingRecommendationResponse) => void): Request<CostExplorer.Types.GetRightsizingRecommendationResponse, AWSError>; 162 /** 163 * Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances. Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For details on calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide. 164 */ 165 getRightsizingRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetRightsizingRecommendationResponse) => void): Request<CostExplorer.Types.GetRightsizingRecommendationResponse, AWSError>; 166 /** 167 * Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions: LINKED_ACCOUNT REGION SERVICE INSTANCE_FAMILY To determine valid values for a dimension, use the GetDimensionValues operation. 168 */ 169 getSavingsPlansCoverage(params: CostExplorer.Types.GetSavingsPlansCoverageRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansCoverageResponse) => void): Request<CostExplorer.Types.GetSavingsPlansCoverageResponse, AWSError>; 170 /** 171 * Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for Savings Plans usage with the following dimensions: LINKED_ACCOUNT REGION SERVICE INSTANCE_FAMILY To determine valid values for a dimension, use the GetDimensionValues operation. 172 */ 173 getSavingsPlansCoverage(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansCoverageResponse) => void): Request<CostExplorer.Types.GetSavingsPlansCoverageResponse, AWSError>; 174 /** 175 * Retrieves your request parameters, Savings Plan Recommendations Summary and Details. 176 */ 177 getSavingsPlansPurchaseRecommendation(params: CostExplorer.Types.GetSavingsPlansPurchaseRecommendationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse, AWSError>; 178 /** 179 * Retrieves your request parameters, Savings Plan Recommendations Summary and Details. 180 */ 181 getSavingsPlansPurchaseRecommendation(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansPurchaseRecommendationResponse, AWSError>; 182 /** 183 * Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization. 184 */ 185 getSavingsPlansUtilization(params: CostExplorer.Types.GetSavingsPlansUtilizationRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>; 186 /** 187 * Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You cannot group by any dimension values for GetSavingsPlansUtilization. 188 */ 189 getSavingsPlansUtilization(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationResponse, AWSError>; 190 /** 191 * Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn. 192 */ 193 getSavingsPlansUtilizationDetails(params: CostExplorer.Types.GetSavingsPlansUtilizationDetailsRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse, AWSError>; 194 /** 195 * Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn. 196 */ 197 getSavingsPlansUtilizationDetails(callback?: (err: AWSError, data: CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse) => void): Request<CostExplorer.Types.GetSavingsPlansUtilizationDetailsResponse, AWSError>; 198 /** 199 * Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. 200 */ 201 getTags(params: CostExplorer.Types.GetTagsRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetTagsResponse) => void): Request<CostExplorer.Types.GetTagsResponse, AWSError>; 202 /** 203 * Queries for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string. 204 */ 205 getTags(callback?: (err: AWSError, data: CostExplorer.Types.GetTagsResponse) => void): Request<CostExplorer.Types.GetTagsResponse, AWSError>; 206 /** 207 * Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. 208 */ 209 getUsageForecast(params: CostExplorer.Types.GetUsageForecastRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetUsageForecastResponse) => void): Request<CostExplorer.Types.GetUsageForecastResponse, AWSError>; 210 /** 211 * Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period that you select, based on your past usage. 212 */ 213 getUsageForecast(callback?: (err: AWSError, data: CostExplorer.Types.GetUsageForecastResponse) => void): Request<CostExplorer.Types.GetUsageForecastResponse, AWSError>; 214 /** 215 * Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100. 216 */ 217 listCostCategoryDefinitions(params: CostExplorer.Types.ListCostCategoryDefinitionsRequest, callback?: (err: AWSError, data: CostExplorer.Types.ListCostCategoryDefinitionsResponse) => void): Request<CostExplorer.Types.ListCostCategoryDefinitionsResponse, AWSError>; 218 /** 219 * Returns the name, ARN, NumberOfRules and effective dates of all Cost Categories defined in the account. You have the option to use EffectiveOn to return a list of Cost Categories that were active on a specific date. If there is no EffectiveOn specified, you’ll see Cost Categories that are effective on the current date. If Cost Category is still effective, EffectiveEnd is omitted in the response. ListCostCategoryDefinitions supports pagination. The request can have a MaxResults range up to 100. 220 */ 221 listCostCategoryDefinitions(callback?: (err: AWSError, data: CostExplorer.Types.ListCostCategoryDefinitionsResponse) => void): Request<CostExplorer.Types.ListCostCategoryDefinitionsResponse, AWSError>; 222 /** 223 * Modifies the feedback property of a given cost anomaly. 224 */ 225 provideAnomalyFeedback(params: CostExplorer.Types.ProvideAnomalyFeedbackRequest, callback?: (err: AWSError, data: CostExplorer.Types.ProvideAnomalyFeedbackResponse) => void): Request<CostExplorer.Types.ProvideAnomalyFeedbackResponse, AWSError>; 226 /** 227 * Modifies the feedback property of a given cost anomaly. 228 */ 229 provideAnomalyFeedback(callback?: (err: AWSError, data: CostExplorer.Types.ProvideAnomalyFeedbackResponse) => void): Request<CostExplorer.Types.ProvideAnomalyFeedbackResponse, AWSError>; 230 /** 231 * Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn'tt change anomalies detected in the past. 232 */ 233 updateAnomalyMonitor(params: CostExplorer.Types.UpdateAnomalyMonitorRequest, callback?: (err: AWSError, data: CostExplorer.Types.UpdateAnomalyMonitorResponse) => void): Request<CostExplorer.Types.UpdateAnomalyMonitorResponse, AWSError>; 234 /** 235 * Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn'tt change anomalies detected in the past. 236 */ 237 updateAnomalyMonitor(callback?: (err: AWSError, data: CostExplorer.Types.UpdateAnomalyMonitorResponse) => void): Request<CostExplorer.Types.UpdateAnomalyMonitorResponse, AWSError>; 238 /** 239 * Updates an existing cost anomaly monitor subscription. 240 */ 241 updateAnomalySubscription(params: CostExplorer.Types.UpdateAnomalySubscriptionRequest, callback?: (err: AWSError, data: CostExplorer.Types.UpdateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.UpdateAnomalySubscriptionResponse, AWSError>; 242 /** 243 * Updates an existing cost anomaly monitor subscription. 244 */ 245 updateAnomalySubscription(callback?: (err: AWSError, data: CostExplorer.Types.UpdateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.UpdateAnomalySubscriptionResponse, AWSError>; 246 /** 247 * Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months. 248 */ 249 updateCostCategoryDefinition(params: CostExplorer.Types.UpdateCostCategoryDefinitionRequest, callback?: (err: AWSError, data: CostExplorer.Types.UpdateCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.UpdateCostCategoryDefinitionResponse, AWSError>; 250 /** 251 * Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months. 252 */ 253 updateCostCategoryDefinition(callback?: (err: AWSError, data: CostExplorer.Types.UpdateCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.UpdateCostCategoryDefinitionResponse, AWSError>; 254 } 255 declare namespace CostExplorer { 256 export type AccountScope = "PAYER"|"LINKED"|string; 257 export type AmortizedRecurringFee = string; 258 export type AmortizedUpfrontFee = string; 259 export type Anomalies = Anomaly[]; 260 export interface Anomaly { 261 /** 262 * The unique identifier for the anomaly. 263 */ 264 AnomalyId: GenericString; 265 /** 266 * The first day the anomaly is detected. 267 */ 268 AnomalyStartDate?: YearMonthDay; 269 /** 270 * The last day the anomaly is detected. 271 */ 272 AnomalyEndDate?: YearMonthDay; 273 /** 274 * The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor). 275 */ 276 DimensionValue?: GenericString; 277 /** 278 * The list of identified root causes for the anomaly. 279 */ 280 RootCauses?: RootCauses; 281 /** 282 * The latest and maximum score for the anomaly. 283 */ 284 AnomalyScore: AnomalyScore; 285 /** 286 * The dollar impact for the anomaly. 287 */ 288 Impact: Impact; 289 /** 290 * The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly. 291 */ 292 MonitorArn: GenericString; 293 /** 294 * The feedback value. 295 */ 296 Feedback?: AnomalyFeedbackType; 297 } 298 export interface AnomalyDateInterval { 299 /** 300 * The first date an anomaly was observed. 301 */ 302 StartDate: YearMonthDay; 303 /** 304 * The last date an anomaly was observed. 305 */ 306 EndDate?: YearMonthDay; 307 } 308 export type AnomalyFeedbackType = "YES"|"NO"|"PLANNED_ACTIVITY"|string; 309 export interface AnomalyMonitor { 310 /** 311 * The Amazon Resource Name (ARN) value. 312 */ 313 MonitorArn?: GenericString; 314 /** 315 * The name of the monitor. 316 */ 317 MonitorName: GenericString; 318 /** 319 * The date when the monitor was created. 320 */ 321 CreationDate?: YearMonthDay; 322 /** 323 * The date when the monitor was last updated. 324 */ 325 LastUpdatedDate?: YearMonthDay; 326 /** 327 * The date when the monitor last evaluated for anomalies. 328 */ 329 LastEvaluatedDate?: YearMonthDay; 330 /** 331 * The possible type values. 332 */ 333 MonitorType: MonitorType; 334 /** 335 * The dimensions to evaluate. 336 */ 337 MonitorDimension?: MonitorDimension; 338 MonitorSpecification?: Expression; 339 /** 340 * The value for evaluated dimensions. 341 */ 342 DimensionalValueCount?: NonNegativeInteger; 343 } 344 export type AnomalyMonitors = AnomalyMonitor[]; 345 export interface AnomalyScore { 346 /** 347 * The maximum score that's observed during the AnomalyDateInterval. 348 */ 349 MaxScore: GenericDouble; 350 /** 351 * The last observed score. 352 */ 353 CurrentScore: GenericDouble; 354 } 355 export interface AnomalySubscription { 356 /** 357 * The AnomalySubscription Amazon Resource Name (ARN). 358 */ 359 SubscriptionArn?: GenericString; 360 /** 361 * Your unique account identifier. 362 */ 363 AccountId?: GenericString; 364 /** 365 * A list of cost anomaly monitors. 366 */ 367 MonitorArnList: MonitorArnList; 368 /** 369 * A list of subscribers to notify. 370 */ 371 Subscribers: Subscribers; 372 /** 373 * The dollar value that triggers a notification if the threshold is exceeded. 374 */ 375 Threshold: NullableNonNegativeDouble; 376 /** 377 * The frequency that anomaly reports are sent over email. 378 */ 379 Frequency: AnomalySubscriptionFrequency; 380 /** 381 * The name for the subscription. 382 */ 383 SubscriptionName: GenericString; 384 } 385 export type AnomalySubscriptionFrequency = "DAILY"|"IMMEDIATE"|"WEEKLY"|string; 386 export type AnomalySubscriptions = AnomalySubscription[]; 387 export type Arn = string; 388 export type AttributeType = string; 389 export type AttributeValue = string; 390 export type Attributes = {[key: string]: AttributeValue}; 391 export type Context = "COST_AND_USAGE"|"RESERVATIONS"|"SAVINGS_PLANS"|string; 392 export interface CostCategory { 393 /** 394 * The unique identifier for your Cost Category. 395 */ 396 CostCategoryArn: Arn; 397 /** 398 * The effective state data of your Cost Category. 399 */ 400 EffectiveStart: ZonedDateTime; 401 /** 402 * The effective end data of your Cost Category. 403 */ 404 EffectiveEnd?: ZonedDateTime; 405 Name: CostCategoryName; 406 RuleVersion: CostCategoryRuleVersion; 407 /** 408 * The rules are processed in order. If there are multiple rules that match the line item, then the first rule to match is used to determine that Cost Category value. 409 */ 410 Rules: CostCategoryRulesList; 411 /** 412 * The split charge rules that are used to allocate your charges between your Cost Category values. 413 */ 414 SplitChargeRules?: CostCategorySplitChargeRulesList; 415 /** 416 * The list of processing statuses for Cost Management products for a specific cost category. 417 */ 418 ProcessingStatus?: CostCategoryProcessingStatusList; 419 DefaultValue?: CostCategoryValue; 420 } 421 export interface CostCategoryInheritedValueDimension { 422 /** 423 * The name of the dimension that's used to group costs. If you specify LINKED_ACCOUNT_NAME, the cost category value is based on account name. If you specify TAG, the cost category value will be based on the value of the specified tag key. 424 */ 425 DimensionName?: CostCategoryInheritedValueDimensionName; 426 /** 427 * The key to extract cost category values. 428 */ 429 DimensionKey?: GenericString; 430 } 431 export type CostCategoryInheritedValueDimensionName = "LINKED_ACCOUNT_NAME"|"TAG"|string; 432 export type CostCategoryMaxResults = number; 433 export type CostCategoryName = string; 434 export type CostCategoryNamesList = CostCategoryName[]; 435 export interface CostCategoryProcessingStatus { 436 /** 437 * The Cost Management product name of the applied status. 438 */ 439 Component?: CostCategoryStatusComponent; 440 /** 441 * The process status for a specific cost category. 442 */ 443 Status?: CostCategoryStatus; 444 } 445 export type CostCategoryProcessingStatusList = CostCategoryProcessingStatus[]; 446 export interface CostCategoryReference { 447 /** 448 * The unique identifier for your Cost Category. 449 */ 450 CostCategoryArn?: Arn; 451 Name?: CostCategoryName; 452 /** 453 * The Cost Category's effective start date. 454 */ 455 EffectiveStart?: ZonedDateTime; 456 /** 457 * The Cost Category's effective end date. 458 */ 459 EffectiveEnd?: ZonedDateTime; 460 /** 461 * The number of rules that are associated with a specific Cost Category. 462 */ 463 NumberOfRules?: NonNegativeInteger; 464 /** 465 * The list of processing statuses for Cost Management products for a specific cost category. 466 */ 467 ProcessingStatus?: CostCategoryProcessingStatusList; 468 /** 469 * A list of unique cost category values in a specific cost category. 470 */ 471 Values?: CostCategoryValuesList; 472 DefaultValue?: CostCategoryValue; 473 } 474 export type CostCategoryReferencesList = CostCategoryReference[]; 475 export interface CostCategoryRule { 476 Value?: CostCategoryValue; 477 /** 478 * An Expression object used to categorize costs. This supports dimensions, tags, and nested expressions. Currently the only dimensions supported are LINKED_ACCOUNT, SERVICE_CODE, RECORD_TYPE, and LINKED_ACCOUNT_NAME. Root level OR isn't supported. We recommend that you create a separate rule instead. RECORD_TYPE is a dimension used for Cost Explorer APIs, and is also supported for Cost Category expressions. This dimension uses different terms, depending on whether you're using the console or API/JSON editor. For a detailed comparison, see Term Comparisons in the Billing and Cost Management User Guide. 479 */ 480 Rule?: Expression; 481 /** 482 * The value the line item is categorized as if the line item contains the matched dimension. 483 */ 484 InheritedValue?: CostCategoryInheritedValueDimension; 485 /** 486 * You can define the CostCategoryRule rule type as either REGULAR or INHERITED_VALUE. The INHERITED_VALUE rule type adds the flexibility of defining a rule that dynamically inherits the cost category value from the dimension value defined by CostCategoryInheritedValueDimension. For example, if you want to dynamically group costs based on the value of a specific tag key, first choose an inherited value rule type, then choose the tag dimension and specify the tag key to use. 487 */ 488 Type?: CostCategoryRuleType; 489 } 490 export type CostCategoryRuleType = "REGULAR"|"INHERITED_VALUE"|string; 491 export type CostCategoryRuleVersion = "CostCategoryExpression.v1"|string; 492 export type CostCategoryRulesList = CostCategoryRule[]; 493 export type CostCategorySplitChargeMethod = "FIXED"|"PROPORTIONAL"|"EVEN"|string; 494 export interface CostCategorySplitChargeRule { 495 /** 496 * The Cost Category value that you want to split. That value can't be used as a source or a target in other split charge rules. To indicate uncategorized costs, you can use an empty string as the source. 497 */ 498 Source: GenericString; 499 /** 500 * The Cost Category values that you want to split costs across. These values can't be used as a source in other split charge rules. 501 */ 502 Targets: CostCategorySplitChargeRuleTargetsList; 503 /** 504 * The method that's used to define how to split your source costs across your targets. Proportional - Allocates charges across your targets based on the proportional weighted cost of each target. Fixed - Allocates charges across your targets based on your defined allocation percentage. >Even - Allocates costs evenly across all targets. 505 */ 506 Method: CostCategorySplitChargeMethod; 507 /** 508 * The parameters for a split charge method. This is only required for the FIXED method. 509 */ 510 Parameters?: CostCategorySplitChargeRuleParametersList; 511 } 512 export interface CostCategorySplitChargeRuleParameter { 513 /** 514 * The parameter type. 515 */ 516 Type: CostCategorySplitChargeRuleParameterType; 517 /** 518 * The parameter values. 519 */ 520 Values: CostCategorySplitChargeRuleParameterValuesList; 521 } 522 export type CostCategorySplitChargeRuleParameterType = "ALLOCATION_PERCENTAGES"|string; 523 export type CostCategorySplitChargeRuleParameterValuesList = GenericString[]; 524 export type CostCategorySplitChargeRuleParametersList = CostCategorySplitChargeRuleParameter[]; 525 export type CostCategorySplitChargeRuleTargetsList = GenericString[]; 526 export type CostCategorySplitChargeRulesList = CostCategorySplitChargeRule[]; 527 export type CostCategoryStatus = "PROCESSING"|"APPLIED"|string; 528 export type CostCategoryStatusComponent = "COST_EXPLORER"|string; 529 export type CostCategoryValue = string; 530 export interface CostCategoryValues { 531 Key?: CostCategoryName; 532 /** 533 * The specific value of the Cost Category. 534 */ 535 Values?: Values; 536 /** 537 * The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for MatchOptions is EQUALS and CASE_SENSITIVE. 538 */ 539 MatchOptions?: MatchOptions; 540 } 541 export type CostCategoryValuesList = CostCategoryValue[]; 542 export interface Coverage { 543 /** 544 * The amount of instance usage that the reservation covered, in hours. 545 */ 546 CoverageHours?: CoverageHours; 547 /** 548 * The amount of instance usage that the reservation covered, in normalized units. 549 */ 550 CoverageNormalizedUnits?: CoverageNormalizedUnits; 551 /** 552 * The amount of cost that the reservation covered. 553 */ 554 CoverageCost?: CoverageCost; 555 } 556 export interface CoverageByTime { 557 /** 558 * The period that this coverage was used over. 559 */ 560 TimePeriod?: DateInterval; 561 /** 562 * The groups of instances that the reservation covered. 563 */ 564 Groups?: ReservationCoverageGroups; 565 /** 566 * The total reservation coverage, in hours. 567 */ 568 Total?: Coverage; 569 } 570 export interface CoverageCost { 571 /** 572 * How much an On-Demand Instance costs. 573 */ 574 OnDemandCost?: OnDemandCost; 575 } 576 export interface CoverageHours { 577 /** 578 * The number of instance running hours that On-Demand Instances covered. 579 */ 580 OnDemandHours?: OnDemandHours; 581 /** 582 * The number of instance running hours that reservations covered. 583 */ 584 ReservedHours?: ReservedHours; 585 /** 586 * The total instance usage, in hours. 587 */ 588 TotalRunningHours?: TotalRunningHours; 589 /** 590 * The percentage of instance hours that a reservation covered. 591 */ 592 CoverageHoursPercentage?: CoverageHoursPercentage; 593 } 594 export type CoverageHoursPercentage = string; 595 export interface CoverageNormalizedUnits { 596 /** 597 * The number of normalized units that are covered by On-Demand Instances instead of a reservation. 598 */ 599 OnDemandNormalizedUnits?: OnDemandNormalizedUnits; 600 /** 601 * The number of normalized units that a reservation covers. 602 */ 603 ReservedNormalizedUnits?: ReservedNormalizedUnits; 604 /** 605 * The total number of normalized units that you used. 606 */ 607 TotalRunningNormalizedUnits?: TotalRunningNormalizedUnits; 608 /** 609 * The percentage of your used instance normalized units that a reservation covers. 610 */ 611 CoverageNormalizedUnitsPercentage?: CoverageNormalizedUnitsPercentage; 612 } 613 export type CoverageNormalizedUnitsPercentage = string; 614 export type CoveragesByTime = CoverageByTime[]; 615 export interface CreateAnomalyMonitorRequest { 616 /** 617 * The cost anomaly detection monitor object that you want to create. 618 */ 619 AnomalyMonitor: AnomalyMonitor; 620 } 621 export interface CreateAnomalyMonitorResponse { 622 /** 623 * The unique identifier of your newly created cost anomaly detection monitor. 624 */ 625 MonitorArn: GenericString; 626 } 627 export interface CreateAnomalySubscriptionRequest { 628 /** 629 * The cost anomaly subscription object that you want to create. 630 */ 631 AnomalySubscription: AnomalySubscription; 632 } 633 export interface CreateAnomalySubscriptionResponse { 634 /** 635 * The unique identifier of your newly created cost anomaly subscription. 636 */ 637 SubscriptionArn: GenericString; 638 } 639 export interface CreateCostCategoryDefinitionRequest { 640 Name: CostCategoryName; 641 RuleVersion: CostCategoryRuleVersion; 642 /** 643 * The Cost Category rules used to categorize costs. For more information, see CostCategoryRule. 644 */ 645 Rules: CostCategoryRulesList; 646 DefaultValue?: CostCategoryValue; 647 /** 648 * The split charge rules used to allocate your charges between your Cost Category values. 649 */ 650 SplitChargeRules?: CostCategorySplitChargeRulesList; 651 } 652 export interface CreateCostCategoryDefinitionResponse { 653 /** 654 * The unique identifier for your newly created Cost Category. 655 */ 656 CostCategoryArn?: Arn; 657 /** 658 * The Cost Category's effective start date. 659 */ 660 EffectiveStart?: ZonedDateTime; 661 } 662 export interface CurrentInstance { 663 /** 664 * Resource ID of the current instance. 665 */ 666 ResourceId?: GenericString; 667 /** 668 * The name that you given an instance. This field shows as blank if you haven't given the instance a name. 669 */ 670 InstanceName?: GenericString; 671 /** 672 * Cost allocation resource tags that are applied to the instance. 673 */ 674 Tags?: TagValuesList; 675 /** 676 * Details about the resource and utilization. 677 */ 678 ResourceDetails?: ResourceDetails; 679 /** 680 * Utilization information of the current instance during the lookback period. 681 */ 682 ResourceUtilization?: ResourceUtilization; 683 /** 684 * The number of hours during the lookback period that's covered by reservations. 685 */ 686 ReservationCoveredHoursInLookbackPeriod?: GenericString; 687 /** 688 * The number of hours during the lookback period that's covered by Savings Plans. 689 */ 690 SavingsPlansCoveredHoursInLookbackPeriod?: GenericString; 691 /** 692 * The number of hours during the lookback period that's billed at On-Demand rates. 693 */ 694 OnDemandHoursInLookbackPeriod?: GenericString; 695 /** 696 * The total number of hours that the instance ran during the lookback period. 697 */ 698 TotalRunningHoursInLookbackPeriod?: GenericString; 699 /** 700 * The current On-Demand cost of operating this instance on a monthly basis. 701 */ 702 MonthlyCost?: GenericString; 703 /** 704 * The currency code that Amazon Web Services used to calculate the costs for this instance. 705 */ 706 CurrencyCode?: GenericString; 707 } 708 export interface DateInterval { 709 /** 710 * The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon Web Services retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error. 711 */ 712 Start: YearMonthDay; 713 /** 714 * The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, 2017-05-01. 715 */ 716 End: YearMonthDay; 717 } 718 export interface DeleteAnomalyMonitorRequest { 719 /** 720 * The unique identifier of the cost anomaly monitor that you want to delete. 721 */ 722 MonitorArn: GenericString; 723 } 724 export interface DeleteAnomalyMonitorResponse { 725 } 726 export interface DeleteAnomalySubscriptionRequest { 727 /** 728 * The unique identifier of the cost anomaly subscription that you want to delete. 729 */ 730 SubscriptionArn: GenericString; 731 } 732 export interface DeleteAnomalySubscriptionResponse { 733 } 734 export interface DeleteCostCategoryDefinitionRequest { 735 /** 736 * The unique identifier for your Cost Category. 737 */ 738 CostCategoryArn: Arn; 739 } 740 export interface DeleteCostCategoryDefinitionResponse { 741 /** 742 * The unique identifier for your Cost Category. 743 */ 744 CostCategoryArn?: Arn; 745 /** 746 * The effective end date of the Cost Category as a result of deleting it. No costs after this date will be categorized by the deleted Cost Category. 747 */ 748 EffectiveEnd?: ZonedDateTime; 749 } 750 export interface DescribeCostCategoryDefinitionRequest { 751 /** 752 * The unique identifier for your Cost Category. 753 */ 754 CostCategoryArn: Arn; 755 /** 756 * The date when the Cost Category was effective. 757 */ 758 EffectiveOn?: ZonedDateTime; 759 } 760 export interface DescribeCostCategoryDefinitionResponse { 761 CostCategory?: CostCategory; 762 } 763 export type Dimension = "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"|string; 764 export interface DimensionValues { 765 /** 766 * The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones. 767 */ 768 Key?: Dimension; 769 /** 770 * The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values. 771 */ 772 Values?: Values; 773 /** 774 * The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category. The default values for MatchOptions are EQUALS and CASE_SENSITIVE. 775 */ 776 MatchOptions?: MatchOptions; 777 } 778 export interface DimensionValuesWithAttributes { 779 /** 780 * The value of a dimension with a specific attribute. 781 */ 782 Value?: Value; 783 /** 784 * The attribute that applies to a specific Dimension. 785 */ 786 Attributes?: Attributes; 787 } 788 export type DimensionValuesWithAttributesList = DimensionValuesWithAttributes[]; 789 export interface DiskResourceUtilization { 790 /** 791 * The maximum number of read operations per second. 792 */ 793 DiskReadOpsPerSecond?: GenericString; 794 /** 795 * The maximum number of write operations per second. 796 */ 797 DiskWriteOpsPerSecond?: GenericString; 798 /** 799 * The maximum read throughput operations per second. 800 */ 801 DiskReadBytesPerSecond?: GenericString; 802 /** 803 * The maximum write throughput operations per second. 804 */ 805 DiskWriteBytesPerSecond?: GenericString; 806 } 807 export interface EBSResourceUtilization { 808 /** 809 * The maximum number of read operations per second. 810 */ 811 EbsReadOpsPerSecond?: GenericString; 812 /** 813 * The maximum number of write operations per second. 814 */ 815 EbsWriteOpsPerSecond?: GenericString; 816 /** 817 * The maximum size of read operations per second 818 */ 819 EbsReadBytesPerSecond?: GenericString; 820 /** 821 * The maximum size of write operations per second. 822 */ 823 EbsWriteBytesPerSecond?: GenericString; 824 } 825 export interface EC2InstanceDetails { 826 /** 827 * The instance family of the recommended reservation. 828 */ 829 Family?: GenericString; 830 /** 831 * The type of instance that Amazon Web Services recommends. 832 */ 833 InstanceType?: GenericString; 834 /** 835 * The Amazon Web Services Region of the recommended reservation. 836 */ 837 Region?: GenericString; 838 /** 839 * The Availability Zone of the recommended reservation. 840 */ 841 AvailabilityZone?: GenericString; 842 /** 843 * The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance. 844 */ 845 Platform?: GenericString; 846 /** 847 * Determines whether the recommended reservation is dedicated or shared. 848 */ 849 Tenancy?: GenericString; 850 /** 851 * Determines whether the recommendation is for a current-generation instance. 852 */ 853 CurrentGeneration?: GenericBoolean; 854 /** 855 * Determines whether the recommended reservation is size flexible. 856 */ 857 SizeFlexEligible?: GenericBoolean; 858 } 859 export interface EC2ResourceDetails { 860 /** 861 * The hourly public On-Demand rate for the instance type. 862 */ 863 HourlyOnDemandRate?: GenericString; 864 /** 865 * The type of Amazon Web Services instance. 866 */ 867 InstanceType?: GenericString; 868 /** 869 * The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance. 870 */ 871 Platform?: GenericString; 872 /** 873 * The Amazon Web Services Region of the instance. 874 */ 875 Region?: GenericString; 876 /** 877 * The SKU of the product. 878 */ 879 Sku?: GenericString; 880 /** 881 * The memory capacity of the Amazon Web Services instance. 882 */ 883 Memory?: GenericString; 884 /** 885 * The network performance capacity of the Amazon Web Services instance. 886 */ 887 NetworkPerformance?: GenericString; 888 /** 889 * The disk storage of the Amazon Web Services instance. This doesn't include EBS storage. 890 */ 891 Storage?: GenericString; 892 /** 893 * The number of VCPU cores in the Amazon Web Services instance type. 894 */ 895 Vcpu?: GenericString; 896 } 897 export interface EC2ResourceUtilization { 898 /** 899 * The maximum observed or expected CPU utilization of the instance. 900 */ 901 MaxCpuUtilizationPercentage?: GenericString; 902 /** 903 * The maximum observed or expected memory utilization of the instance. 904 */ 905 MaxMemoryUtilizationPercentage?: GenericString; 906 /** 907 * The maximum observed or expected storage utilization of the instance. This doesn't include EBS storage. 908 */ 909 MaxStorageUtilizationPercentage?: GenericString; 910 /** 911 * The EBS field that contains a list of EBS metrics that are associated with the current instance. 912 */ 913 EBSResourceUtilization?: EBSResourceUtilization; 914 /** 915 * The field that contains a list of disk (local storage) metrics that are associated with the current instance. 916 */ 917 DiskResourceUtilization?: DiskResourceUtilization; 918 /** 919 * The network field that contains a list of network metrics that are associated with the current instance. 920 */ 921 NetworkResourceUtilization?: NetworkResourceUtilization; 922 } 923 export interface EC2Specification { 924 /** 925 * Indicates whether you want a recommendation for standard or convertible reservations. 926 */ 927 OfferingClass?: OfferingClass; 928 } 929 export interface ESInstanceDetails { 930 /** 931 * The class of instance that Amazon Web Services recommends. 932 */ 933 InstanceClass?: GenericString; 934 /** 935 * The size of instance that Amazon Web Services recommends. 936 */ 937 InstanceSize?: GenericString; 938 /** 939 * The Amazon Web Services Region of the recommended reservation. 940 */ 941 Region?: GenericString; 942 /** 943 * Determines whether the recommendation is for a current-generation instance. 944 */ 945 CurrentGeneration?: GenericBoolean; 946 /** 947 * Determines whether the recommended reservation is size flexible. 948 */ 949 SizeFlexEligible?: GenericBoolean; 950 } 951 export interface ElastiCacheInstanceDetails { 952 /** 953 * The instance family of the recommended reservation. 954 */ 955 Family?: GenericString; 956 /** 957 * The type of node that Amazon Web Services recommends. 958 */ 959 NodeType?: GenericString; 960 /** 961 * The Amazon Web Services Region of the recommended reservation. 962 */ 963 Region?: GenericString; 964 /** 965 * The description of the recommended reservation. 966 */ 967 ProductDescription?: GenericString; 968 /** 969 * Determines whether the recommendation is for a current generation instance. 970 */ 971 CurrentGeneration?: GenericBoolean; 972 /** 973 * Determines whether the recommended reservation is size flexible. 974 */ 975 SizeFlexEligible?: GenericBoolean; 976 } 977 export type Entity = string; 978 export type Estimated = boolean; 979 export interface Expression { 980 /** 981 * Return results that match either Dimension object. 982 */ 983 Or?: Expressions; 984 /** 985 * Return results that match both Dimension objects. 986 */ 987 And?: Expressions; 988 /** 989 * Return results that don't match a Dimension object. 990 */ 991 Not?: Expression; 992 /** 993 * The specific Dimension to use for Expression. 994 */ 995 Dimensions?: DimensionValues; 996 /** 997 * The specific Tag to use for Expression. 998 */ 999 Tags?: TagValues; 1000 /** 1001 * The filter that's based on CostCategory values. 1002 */ 1003 CostCategories?: CostCategoryValues; 1004 } 1005 export type Expressions = Expression[]; 1006 export type FindingReasonCode = "CPU_OVER_PROVISIONED"|"CPU_UNDER_PROVISIONED"|"MEMORY_OVER_PROVISIONED"|"MEMORY_UNDER_PROVISIONED"|"EBS_THROUGHPUT_OVER_PROVISIONED"|"EBS_THROUGHPUT_UNDER_PROVISIONED"|"EBS_IOPS_OVER_PROVISIONED"|"EBS_IOPS_UNDER_PROVISIONED"|"NETWORK_BANDWIDTH_OVER_PROVISIONED"|"NETWORK_BANDWIDTH_UNDER_PROVISIONED"|"NETWORK_PPS_OVER_PROVISIONED"|"NETWORK_PPS_UNDER_PROVISIONED"|"DISK_IOPS_OVER_PROVISIONED"|"DISK_IOPS_UNDER_PROVISIONED"|"DISK_THROUGHPUT_OVER_PROVISIONED"|"DISK_THROUGHPUT_UNDER_PROVISIONED"|string; 1007 export type FindingReasonCodes = FindingReasonCode[]; 1008 export interface ForecastResult { 1009 /** 1010 * The period of time that the forecast covers. 1011 */ 1012 TimePeriod?: DateInterval; 1013 /** 1014 * The mean value of the forecast. 1015 */ 1016 MeanValue?: GenericString; 1017 /** 1018 * The lower limit for the prediction interval. 1019 */ 1020 PredictionIntervalLowerBound?: GenericString; 1021 /** 1022 * The upper limit for the prediction interval. 1023 */ 1024 PredictionIntervalUpperBound?: GenericString; 1025 } 1026 export type ForecastResultsByTime = ForecastResult[]; 1027 export type GenericBoolean = boolean; 1028 export type GenericDouble = number; 1029 export type GenericString = string; 1030 export interface GetAnomaliesRequest { 1031 /** 1032 * Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon Resource Name (ARN). 1033 */ 1034 MonitorArn?: GenericString; 1035 /** 1036 * Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object will have an AnomalyEndDate in the specified time range. 1037 */ 1038 DateInterval: AnomalyDateInterval; 1039 /** 1040 * Filters anomaly results by the feedback field on the anomaly object. 1041 */ 1042 Feedback?: AnomalyFeedbackType; 1043 /** 1044 * Filters anomaly results by the total impact field on the anomaly object. For example, you can filter anomalies GREATER_THAN 200.00 to retrieve anomalies, with an estimated dollar impact greater than 200. 1045 */ 1046 TotalImpact?: TotalImpactFilter; 1047 /** 1048 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1049 */ 1050 NextPageToken?: NextPageToken; 1051 /** 1052 * The number of entries a paginated response contains. 1053 */ 1054 MaxResults?: PageSize; 1055 } 1056 export interface GetAnomaliesResponse { 1057 /** 1058 * A list of cost anomalies. 1059 */ 1060 Anomalies: Anomalies; 1061 /** 1062 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1063 */ 1064 NextPageToken?: NextPageToken; 1065 } 1066 export interface GetAnomalyMonitorsRequest { 1067 /** 1068 * A list of cost anomaly monitor ARNs. 1069 */ 1070 MonitorArnList?: Values; 1071 /** 1072 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1073 */ 1074 NextPageToken?: NextPageToken; 1075 /** 1076 * The number of entries that a paginated response contains. 1077 */ 1078 MaxResults?: PageSize; 1079 } 1080 export interface GetAnomalyMonitorsResponse { 1081 /** 1082 * A list of cost anomaly monitors that includes the detailed metadata for each monitor. 1083 */ 1084 AnomalyMonitors: AnomalyMonitors; 1085 /** 1086 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1087 */ 1088 NextPageToken?: NextPageToken; 1089 } 1090 export interface GetAnomalySubscriptionsRequest { 1091 /** 1092 * A list of cost anomaly subscription ARNs. 1093 */ 1094 SubscriptionArnList?: Values; 1095 /** 1096 * Cost anomaly monitor ARNs. 1097 */ 1098 MonitorArn?: GenericString; 1099 /** 1100 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1101 */ 1102 NextPageToken?: NextPageToken; 1103 /** 1104 * The number of entries a paginated response contains. 1105 */ 1106 MaxResults?: PageSize; 1107 } 1108 export interface GetAnomalySubscriptionsResponse { 1109 /** 1110 * A list of cost anomaly subscriptions that includes the detailed metadata for each one. 1111 */ 1112 AnomalySubscriptions: AnomalySubscriptions; 1113 /** 1114 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1115 */ 1116 NextPageToken?: NextPageToken; 1117 } 1118 export interface GetCostAndUsageRequest { 1119 /** 1120 * Sets the start date and end date for retrieving Amazon Web Services costs. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1121 */ 1122 TimePeriod: DateInterval; 1123 /** 1124 * Sets the Amazon Web Services cost granularity to MONTHLY or DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, either MONTHLY or DAILY, or HOURLY. 1125 */ 1126 Granularity: Granularity; 1127 /** 1128 * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. 1129 */ 1130 Filter?: Expression; 1131 /** 1132 * Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the UsageQuantity metric, the service aggregates all usage numbers without taking into account the units. For example, if you aggregate usageQuantity across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours and GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups. Metrics is required for GetCostAndUsage requests. 1133 */ 1134 Metrics: MetricNames; 1135 /** 1136 * You can group Amazon Web Services costs using up to two different groups, either dimensions, tag keys, cost categories, or any two group by types. Valid values for the DIMENSION type are AZ, INSTANCE_TYPE, LEGAL_ENTITY_NAME, LINKED_ACCOUNT, OPERATION, PLATFORM, PURCHASE_TYPE, SERVICE, TENANCY, RECORD_TYPE, and USAGE_TYPE. When you group by the TAG type and include a valid tag key, you get all tag values, including empty strings. 1137 */ 1138 GroupBy?: GroupDefinitions; 1139 /** 1140 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1141 */ 1142 NextPageToken?: NextPageToken; 1143 } 1144 export interface GetCostAndUsageResponse { 1145 /** 1146 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1147 */ 1148 NextPageToken?: NextPageToken; 1149 /** 1150 * The groups that are specified by the Filter or GroupBy parameters in the request. 1151 */ 1152 GroupDefinitions?: GroupDefinitions; 1153 /** 1154 * The time period that's covered by the results in the response. 1155 */ 1156 ResultsByTime?: ResultsByTime; 1157 /** 1158 * The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name. 1159 */ 1160 DimensionValueAttributes?: DimensionValuesWithAttributesList; 1161 } 1162 export interface GetCostAndUsageWithResourcesRequest { 1163 /** 1164 * Sets the start and end dates for retrieving Amazon Web Services costs. The range must be within the last 14 days (the start date cannot be earlier than 14 days ago). The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1165 */ 1166 TimePeriod: DateInterval; 1167 /** 1168 * Sets the Amazon Web Services cost granularity to MONTHLY, DAILY, or HOURLY. If Granularity isn't set, the response object doesn't include the Granularity, MONTHLY, DAILY, or HOURLY. 1169 */ 1170 Granularity: Granularity; 1171 /** 1172 * Filters Amazon Web Services costs by different dimensions. For example, you can specify SERVICE and LINKED_ACCOUNT and get the costs that are associated with that account's usage of that service. You can nest Expression objects to define any combination of dimension filters. For more information, see Expression. The GetCostAndUsageWithResources operation requires that you either group by or filter by a ResourceId. It requires the Expression "SERVICE = Amazon Elastic Compute Cloud - Compute" in the filter. 1173 */ 1174 Filter: Expression; 1175 /** 1176 * Which metrics are returned in the query. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity. If you return the UsageQuantity metric, the service aggregates all usage numbers without taking the units into account. For example, if you aggregate usageQuantity across all of Amazon EC2, the results aren't meaningful because Amazon EC2 compute hours and data transfer are measured in different units (for example, hours vs. GB). To get more meaningful UsageQuantity metrics, filter by UsageType or UsageTypeGroups. Metrics is required for GetCostAndUsageWithResources requests. 1177 */ 1178 Metrics?: MetricNames; 1179 /** 1180 * You can group Amazon Web Services costs using up to two different groups: DIMENSION, TAG, COST_CATEGORY. 1181 */ 1182 GroupBy?: GroupDefinitions; 1183 /** 1184 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1185 */ 1186 NextPageToken?: NextPageToken; 1187 } 1188 export interface GetCostAndUsageWithResourcesResponse { 1189 /** 1190 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1191 */ 1192 NextPageToken?: NextPageToken; 1193 /** 1194 * The groups that are specified by the Filter or GroupBy parameters in the request. 1195 */ 1196 GroupDefinitions?: GroupDefinitions; 1197 /** 1198 * The time period that is covered by the results in the response. 1199 */ 1200 ResultsByTime?: ResultsByTime; 1201 /** 1202 * The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name. 1203 */ 1204 DimensionValueAttributes?: DimensionValuesWithAttributesList; 1205 } 1206 export interface GetCostCategoriesRequest { 1207 /** 1208 * The value that you want to search the filter values for. If you do not specify a CostCategoryName, SearchString will be used to filter Cost Category names that match the SearchString pattern. If you do specifiy a CostCategoryName, SearchString will be used to filter Cost Category values that match the SearchString pattern. 1209 */ 1210 SearchString?: SearchString; 1211 TimePeriod: DateInterval; 1212 CostCategoryName?: CostCategoryName; 1213 Filter?: Expression; 1214 /** 1215 * The value by which you want to sort the data. The key represents cost and usage metrics. The following values are supported: BlendedCost UnblendedCost AmortizedCost NetAmortizedCost NetUnblendedCost UsageQuantity NormalizedUsageAmount Supported values for SortOrder are ASCENDING or DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. 1216 */ 1217 SortBy?: SortDefinitions; 1218 /** 1219 * This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter. For GetCostCategories, MaxResults has an upper limit of 1000. 1220 */ 1221 MaxResults?: MaxResults; 1222 /** 1223 * If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request. 1224 */ 1225 NextPageToken?: NextPageToken; 1226 } 1227 export interface GetCostCategoriesResponse { 1228 /** 1229 * If the number of objects that are still available for retrieval exceeds the limit, Amazon Web Services returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request. 1230 */ 1231 NextPageToken?: NextPageToken; 1232 /** 1233 * The names of the Cost Categories. 1234 */ 1235 CostCategoryNames?: CostCategoryNamesList; 1236 /** 1237 * The Cost Category values. CostCategoryValues are not returned if CostCategoryName is not specified in the request. 1238 */ 1239 CostCategoryValues?: CostCategoryValuesList; 1240 /** 1241 * The number of objects returned. 1242 */ 1243 ReturnSize: PageSize; 1244 /** 1245 * The total number of objects. 1246 */ 1247 TotalSize: PageSize; 1248 } 1249 export interface GetCostForecastRequest { 1250 /** 1251 * The period of time that you want the forecast to cover. The start date must be equal to or no later than the current date to avoid a validation error. 1252 */ 1253 TimePeriod: DateInterval; 1254 /** 1255 * Which metric Cost Explorer uses to create your forecast. For more information about blended and unblended rates, see Why does the "blended" annotation appear on some line items in my bill?. Valid values for a GetCostForecast call are the following: AMORTIZED_COST BLENDED_COST NET_AMORTIZED_COST NET_UNBLENDED_COST UNBLENDED_COST 1256 */ 1257 Metric: Metric; 1258 /** 1259 * How granular you want the forecast to be. You can get 3 months of DAILY forecasts or 12 months of MONTHLY forecasts. The GetCostForecast operation supports only DAILY and MONTHLY granularities. 1260 */ 1261 Granularity: Granularity; 1262 /** 1263 * The filters that you want to use to filter your forecast. The GetCostForecast API supports filtering by the following dimensions: AZ INSTANCE_TYPE LINKED_ACCOUNT LINKED_ACCOUNT_NAME OPERATION PURCHASE_TYPE REGION SERVICE USAGE_TYPE USAGE_TYPE_GROUP RECORD_TYPE OPERATING_SYSTEM TENANCY SCOPE PLATFORM SUBSCRIPTION_ID LEGAL_ENTITY_NAME DEPLOYMENT_OPTION DATABASE_ENGINE INSTANCE_TYPE_FAMILY BILLING_ENTITY RESERVATION_ID SAVINGS_PLAN_ARN 1264 */ 1265 Filter?: Expression; 1266 /** 1267 * Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value falling in the prediction interval. Higher confidence levels result in wider prediction intervals. 1268 */ 1269 PredictionIntervalLevel?: PredictionIntervalLevel; 1270 } 1271 export interface GetCostForecastResponse { 1272 /** 1273 * How much you are forecasted to spend over the forecast period, in USD. 1274 */ 1275 Total?: MetricValue; 1276 /** 1277 * The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For MONTHLY forecasts, this is a list of months. 1278 */ 1279 ForecastResultsByTime?: ForecastResultsByTime; 1280 } 1281 export interface GetDimensionValuesRequest { 1282 /** 1283 * The value that you want to search the filter values for. 1284 */ 1285 SearchString?: SearchString; 1286 /** 1287 * The start date and end date for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1288 */ 1289 TimePeriod: DateInterval; 1290 /** 1291 * The name of the dimension. Each Dimension is available for a different Context. For more information, see Context. 1292 */ 1293 Dimension: Dimension; 1294 /** 1295 * The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. The default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values can be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, the resulting dimension values can be used in the GetCostAndUsage operation. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The Amazon Web Services service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. REGION - The Amazon Web Services Region. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan 1296 */ 1297 Context?: Context; 1298 Filter?: Expression; 1299 /** 1300 * The value by which you want to sort the data. The key represents cost and usage metrics. The following values are supported: BlendedCost UnblendedCost AmortizedCost NetAmortizedCost NetUnblendedCost UsageQuantity NormalizedUsageAmount Supported values for SortOrder are ASCENDING or DESCENDING. When you specify a SortBy paramater, the context must be COST_AND_USAGE. Further, when using SortBy, NextPageToken and SearchString are not supported. 1301 */ 1302 SortBy?: SortDefinitions; 1303 /** 1304 * This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter. For GetDimensionValues, MaxResults has an upper limit of 1000. 1305 */ 1306 MaxResults?: MaxResults; 1307 /** 1308 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1309 */ 1310 NextPageToken?: NextPageToken; 1311 } 1312 export interface GetDimensionValuesResponse { 1313 /** 1314 * The filters that you used to filter your request. Some dimensions are available only for a specific context. If you set the context to COST_AND_USAGE, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. OPERATING_SYSTEM - The operating system. Examples are Windows or Linux. OPERATION - The action performed. Examples include RunInstance and CreateBucket. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand Instances and Standard Reserved Instances. SERVICE - The Amazon Web Services service such as Amazon DynamoDB. USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues operation includes a unit attribute. Examples include GB and Hrs. USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute. RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits. RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service. If you set the context to RESERVATIONS, you can use the following dimensions for searching: AZ - The Availability Zone. An example is us-east-1a. CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux. DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ and MultiAZ. INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge. LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux. REGION - The Amazon Web Services Region. SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone. TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI). TENANCY - The tenancy of a resource. Examples are shared or dedicated. If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching: SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute) PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront) REGION - The Amazon Web Services Region. INSTANCE_TYPE_FAMILY - The family of instances (For example, m5) LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account. SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan 1315 */ 1316 DimensionValues: DimensionValuesWithAttributesList; 1317 /** 1318 * The number of results that Amazon Web Services returned at one time. 1319 */ 1320 ReturnSize: PageSize; 1321 /** 1322 * The total number of search results. 1323 */ 1324 TotalSize: PageSize; 1325 /** 1326 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1327 */ 1328 NextPageToken?: NextPageToken; 1329 } 1330 export interface GetReservationCoverageRequest { 1331 /** 1332 * The start and end dates of the period that you want to retrieve data about reservation coverage for. You can retrieve data for a maximum of 13 months: the last 12 months and the current month. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1333 */ 1334 TimePeriod: DateInterval; 1335 /** 1336 * You can group the data by the following attributes: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION TENANCY 1337 */ 1338 GroupBy?: GroupDefinitions; 1339 /** 1340 * The granularity of the Amazon Web Services cost data for the reservation. Valid values are MONTHLY and DAILY. If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. The GetReservationCoverage operation supports only DAILY and MONTHLY granularities. 1341 */ 1342 Granularity?: Granularity; 1343 /** 1344 * Filters utilization data by dimensions. You can filter by the following dimensions: AZ CACHE_ENGINE DATABASE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION SERVICE TAG TENANCY GetReservationCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. You can nest only one level deep. If there are multiple values for a dimension, they are OR'd together. If you don't provide a SERVICE filter, Cost Explorer defaults to EC2. Cost category is also supported. 1345 */ 1346 Filter?: Expression; 1347 /** 1348 * The measurement that you want your reservation coverage reported in. Valid values are Hour, Unit, and Cost. You can use multiple values in a request. 1349 */ 1350 Metrics?: MetricNames; 1351 /** 1352 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1353 */ 1354 NextPageToken?: NextPageToken; 1355 /** 1356 * The value by which you want to sort the data. The following values are supported for Key: OnDemandCost CoverageHoursPercentage OnDemandHours ReservedHours TotalRunningHours CoverageNormalizedUnitsPercentage OnDemandNormalizedUnits ReservedNormalizedUnits TotalRunningNormalizedUnits Time Supported values for SortOrder are ASCENDING or DESCENDING. 1357 */ 1358 SortBy?: SortDefinition; 1359 /** 1360 * The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects. 1361 */ 1362 MaxResults?: MaxResults; 1363 } 1364 export interface GetReservationCoverageResponse { 1365 /** 1366 * The amount of time that your reservations covered. 1367 */ 1368 CoveragesByTime: CoveragesByTime; 1369 /** 1370 * The total amount of instance usage that a reservation covered. 1371 */ 1372 Total?: Coverage; 1373 /** 1374 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1375 */ 1376 NextPageToken?: NextPageToken; 1377 } 1378 export interface GetReservationPurchaseRecommendationRequest { 1379 /** 1380 * The account ID that is associated with the recommendation. 1381 */ 1382 AccountId?: GenericString; 1383 /** 1384 * The specific service that you want recommendations for. 1385 */ 1386 Service: GenericString; 1387 Filter?: Expression; 1388 /** 1389 * The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only. 1390 */ 1391 AccountScope?: AccountScope; 1392 /** 1393 * The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations. 1394 */ 1395 LookbackPeriodInDays?: LookbackPeriodInDays; 1396 /** 1397 * The reservation term that you want recommendations for. 1398 */ 1399 TermInYears?: TermInYears; 1400 /** 1401 * The reservation purchase option that you want recommendations for. 1402 */ 1403 PaymentOption?: PaymentOption; 1404 /** 1405 * The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances. 1406 */ 1407 ServiceSpecification?: ServiceSpecification; 1408 /** 1409 * The number of recommendations that you want returned in a single response object. 1410 */ 1411 PageSize?: NonNegativeInteger; 1412 /** 1413 * The pagination token that indicates the next set of results that you want to retrieve. 1414 */ 1415 NextPageToken?: NextPageToken; 1416 } 1417 export interface GetReservationPurchaseRecommendationResponse { 1418 /** 1419 * Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation. 1420 */ 1421 Metadata?: ReservationPurchaseRecommendationMetadata; 1422 /** 1423 * Recommendations for reservations to purchase. 1424 */ 1425 Recommendations?: ReservationPurchaseRecommendations; 1426 /** 1427 * The pagination token for the next set of retrievable results. 1428 */ 1429 NextPageToken?: NextPageToken; 1430 } 1431 export interface GetReservationUtilizationRequest { 1432 /** 1433 * Sets the start and end dates for retrieving RI utilization. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1434 */ 1435 TimePeriod: DateInterval; 1436 /** 1437 * Groups only by SUBSCRIPTION_ID. Metadata is included. 1438 */ 1439 GroupBy?: GroupDefinitions; 1440 /** 1441 * If GroupBy is set, Granularity can't be set. If Granularity isn't set, the response object doesn't include Granularity, either MONTHLY or DAILY. If both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY. The GetReservationUtilization operation supports only DAILY and MONTHLY granularities. 1442 */ 1443 Granularity?: Granularity; 1444 /** 1445 * Filters utilization data by dimensions. You can filter by the following dimensions: AZ CACHE_ENGINE DEPLOYMENT_OPTION INSTANCE_TYPE LINKED_ACCOUNT OPERATING_SYSTEM PLATFORM REGION SERVICE SCOPE TENANCY GetReservationUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension, and nesting is supported up to only one level deep. If there are multiple values for a dimension, they are OR'd together. 1446 */ 1447 Filter?: Expression; 1448 /** 1449 * The value by which you want to sort the data. The following values are supported for Key: UtilizationPercentage UtilizationPercentageInUnits PurchasedHours PurchasedUnits TotalActualHours TotalActualUnits UnusedHours UnusedUnits OnDemandCostOfRIHoursUsed NetRISavings TotalPotentialRISavings AmortizedUpfrontFee AmortizedRecurringFee TotalAmortizedFee RICostForUnusedHours RealizedSavings UnrealizedSavings Supported values for SortOrder are ASCENDING or DESCENDING. 1450 */ 1451 SortBy?: SortDefinition; 1452 /** 1453 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1454 */ 1455 NextPageToken?: NextPageToken; 1456 /** 1457 * The maximum number of objects that you returned for this request. If more objects are available, in the response, Amazon Web Services provides a NextPageToken value that you can use in a subsequent call to get the next batch of objects. 1458 */ 1459 MaxResults?: MaxResults; 1460 } 1461 export interface GetReservationUtilizationResponse { 1462 /** 1463 * The amount of time that you used your RIs. 1464 */ 1465 UtilizationsByTime: UtilizationsByTime; 1466 /** 1467 * The total amount of time that you used your RIs. 1468 */ 1469 Total?: ReservationAggregates; 1470 /** 1471 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1472 */ 1473 NextPageToken?: NextPageToken; 1474 } 1475 export interface GetRightsizingRecommendationRequest { 1476 Filter?: Expression; 1477 /** 1478 * Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither. 1479 */ 1480 Configuration?: RightsizingRecommendationConfiguration; 1481 /** 1482 * The specific service that you want recommendations for. The only valid value for GetRightsizingRecommendation is "AmazonEC2". 1483 */ 1484 Service: GenericString; 1485 /** 1486 * The number of recommendations that you want returned in a single response object. 1487 */ 1488 PageSize?: NonNegativeInteger; 1489 /** 1490 * The pagination token that indicates the next set of results that you want to retrieve. 1491 */ 1492 NextPageToken?: NextPageToken; 1493 } 1494 export interface GetRightsizingRecommendationResponse { 1495 /** 1496 * Information regarding this specific recommendation set. 1497 */ 1498 Metadata?: RightsizingRecommendationMetadata; 1499 /** 1500 * Summary of this recommendation set. 1501 */ 1502 Summary?: RightsizingRecommendationSummary; 1503 /** 1504 * Recommendations to rightsize resources. 1505 */ 1506 RightsizingRecommendations?: RightsizingRecommendationList; 1507 /** 1508 * The token to retrieve the next set of results. 1509 */ 1510 NextPageToken?: NextPageToken; 1511 /** 1512 * Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither. 1513 */ 1514 Configuration?: RightsizingRecommendationConfiguration; 1515 } 1516 export interface GetSavingsPlansCoverageRequest { 1517 /** 1518 * The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date. 1519 */ 1520 TimePeriod: DateInterval; 1521 /** 1522 * You can group the data using the attributes INSTANCE_FAMILY, REGION, or SERVICE. 1523 */ 1524 GroupBy?: GroupDefinitions; 1525 /** 1526 * The granularity of the Amazon Web Services cost data for your Savings Plans. Granularity can't be set if GroupBy is set. The GetSavingsPlansCoverage operation supports only DAILY and MONTHLY granularities. 1527 */ 1528 Granularity?: Granularity; 1529 /** 1530 * Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions: LINKED_ACCOUNT REGION SERVICE INSTANCE_FAMILY GetSavingsPlansCoverage uses the same Expression object as the other operations, but only AND is supported among each dimension. If there are multiple values for a dimension, they are OR'd together. Cost category is also supported. 1531 */ 1532 Filter?: Expression; 1533 /** 1534 * The measurement that you want your Savings Plans coverage reported in. The only valid value is SpendCoveredBySavingsPlans. 1535 */ 1536 Metrics?: MetricNames; 1537 /** 1538 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1539 */ 1540 NextToken?: NextPageToken; 1541 /** 1542 * The number of items to be returned in a response. The default is 20, with a minimum value of 1. 1543 */ 1544 MaxResults?: MaxResults; 1545 /** 1546 * The value by which you want to sort the data. The following values are supported for Key: SpendCoveredBySavingsPlan OnDemandCost CoveragePercentage TotalCost InstanceFamily Region Service Supported values for SortOrder are ASCENDING or DESCENDING. 1547 */ 1548 SortBy?: SortDefinition; 1549 } 1550 export interface GetSavingsPlansCoverageResponse { 1551 /** 1552 * The amount of spend that your Savings Plans covered. 1553 */ 1554 SavingsPlansCoverages: SavingsPlansCoverages; 1555 /** 1556 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1557 */ 1558 NextToken?: NextPageToken; 1559 } 1560 export interface GetSavingsPlansPurchaseRecommendationRequest { 1561 /** 1562 * The Savings Plans recommendation type requested. 1563 */ 1564 SavingsPlansType: SupportedSavingsPlansType; 1565 /** 1566 * The savings plan recommendation term used to generate these recommendations. 1567 */ 1568 TermInYears: TermInYears; 1569 /** 1570 * The payment option used to generate these recommendations. 1571 */ 1572 PaymentOption: PaymentOption; 1573 /** 1574 * The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only. 1575 */ 1576 AccountScope?: AccountScope; 1577 /** 1578 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1579 */ 1580 NextPageToken?: NextPageToken; 1581 /** 1582 * The number of recommendations that you want returned in a single response object. 1583 */ 1584 PageSize?: NonNegativeInteger; 1585 /** 1586 * The lookback period used to generate the recommendation. 1587 */ 1588 LookbackPeriodInDays: LookbackPeriodInDays; 1589 /** 1590 * You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter your recommendations by Account ID, specify Key as LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want to see Savings Plans purchase recommendations. For GetSavingsPlansPurchaseRecommendation, the Filter does not include CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must be LINKED_ACCOUNT and Value can be a single Account ID or multiple comma-separated Account IDs for which you want to see Savings Plans Purchase Recommendations. AND and OR operators are not supported. 1591 */ 1592 Filter?: Expression; 1593 } 1594 export interface GetSavingsPlansPurchaseRecommendationResponse { 1595 /** 1596 * Information regarding this specific recommendation set. 1597 */ 1598 Metadata?: SavingsPlansPurchaseRecommendationMetadata; 1599 /** 1600 * Contains your request parameters, Savings Plan Recommendations Summary, and Details. 1601 */ 1602 SavingsPlansPurchaseRecommendation?: SavingsPlansPurchaseRecommendation; 1603 /** 1604 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1605 */ 1606 NextPageToken?: NextPageToken; 1607 } 1608 export interface GetSavingsPlansUtilizationDetailsRequest { 1609 /** 1610 * The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date. 1611 */ 1612 TimePeriod: DateInterval; 1613 /** 1614 * Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN REGION PAYMENT_OPTION INSTANCE_TYPE_FAMILY GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each dimension. 1615 */ 1616 Filter?: Expression; 1617 /** 1618 * The data type. 1619 */ 1620 DataType?: SavingsPlansDataTypes; 1621 /** 1622 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1623 */ 1624 NextToken?: NextPageToken; 1625 /** 1626 * The number of items to be returned in a response. The default is 20, with a minimum value of 1. 1627 */ 1628 MaxResults?: MaxResults; 1629 /** 1630 * The value by which you want to sort the data. The following values are supported for Key: UtilizationPercentage TotalCommitment UsedCommitment UnusedCommitment NetSavings AmortizedRecurringCommitment AmortizedUpfrontCommitment Supported values for SortOrder are ASCENDING or DESCENDING. 1631 */ 1632 SortBy?: SortDefinition; 1633 } 1634 export interface GetSavingsPlansUtilizationDetailsResponse { 1635 /** 1636 * Retrieves a single daily or monthly Savings Plans utilization rate and details for your account. 1637 */ 1638 SavingsPlansUtilizationDetails: SavingsPlansUtilizationDetails; 1639 /** 1640 * The total Savings Plans utilization, regardless of time period. 1641 */ 1642 Total?: SavingsPlansUtilizationAggregates; 1643 TimePeriod: DateInterval; 1644 /** 1645 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1646 */ 1647 NextToken?: NextPageToken; 1648 } 1649 export interface GetSavingsPlansUtilizationRequest { 1650 /** 1651 * The time period that you want the usage and costs for. The Start date must be within 13 months. The End date must be after the Start date, and before the current date. Future dates can't be used as an End date. 1652 */ 1653 TimePeriod: DateInterval; 1654 /** 1655 * The granularity of the Amazon Web Services utillization data for your Savings Plans. The GetSavingsPlansUtilization operation supports only DAILY and MONTHLY granularities. 1656 */ 1657 Granularity?: Granularity; 1658 /** 1659 * Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions: LINKED_ACCOUNT SAVINGS_PLAN_ARN SAVINGS_PLANS_TYPE REGION PAYMENT_OPTION INSTANCE_TYPE_FAMILY GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each dimension. 1660 */ 1661 Filter?: Expression; 1662 /** 1663 * The value by which you want to sort the data. The following values are supported for Key: UtilizationPercentage TotalCommitment UsedCommitment UnusedCommitment NetSavings Supported values for SortOrder are ASCENDING or DESCENDING. 1664 */ 1665 SortBy?: SortDefinition; 1666 } 1667 export interface GetSavingsPlansUtilizationResponse { 1668 /** 1669 * The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges. 1670 */ 1671 SavingsPlansUtilizationsByTime?: SavingsPlansUtilizationsByTime; 1672 /** 1673 * The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges. 1674 */ 1675 Total: SavingsPlansUtilizationAggregates; 1676 } 1677 export interface GetTagsRequest { 1678 /** 1679 * The value that you want to search for. 1680 */ 1681 SearchString?: SearchString; 1682 /** 1683 * The start and end dates for retrieving the dimension values. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. 1684 */ 1685 TimePeriod: DateInterval; 1686 /** 1687 * The key of the tag that you want to return values for. 1688 */ 1689 TagKey?: TagKey; 1690 Filter?: Expression; 1691 /** 1692 * The value by which you want to sort the data. The key represents cost and usage metrics. The following values are supported: BlendedCost UnblendedCost AmortizedCost NetAmortizedCost NetUnblendedCost UsageQuantity NormalizedUsageAmount Supported values for SortOrder are ASCENDING or DESCENDING. When using SortBy, NextPageToken and SearchString are not supported. 1693 */ 1694 SortBy?: SortDefinitions; 1695 /** 1696 * This field is only used when SortBy is provided in the request. The maximum number of objects that to be returned for this request. If MaxResults is not specified with SortBy, the request will return 1000 results as the default value for this parameter. For GetTags, MaxResults has an upper limit of 1000. 1697 */ 1698 MaxResults?: MaxResults; 1699 /** 1700 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1701 */ 1702 NextPageToken?: NextPageToken; 1703 } 1704 export interface GetTagsResponse { 1705 /** 1706 * The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1707 */ 1708 NextPageToken?: NextPageToken; 1709 /** 1710 * The tags that match your request. 1711 */ 1712 Tags: TagList; 1713 /** 1714 * The number of query results that Amazon Web Services returns at a time. 1715 */ 1716 ReturnSize: PageSize; 1717 /** 1718 * The total number of query results. 1719 */ 1720 TotalSize: PageSize; 1721 } 1722 export interface GetUsageForecastRequest { 1723 /** 1724 * The start and end dates of the period that you want to retrieve usage forecast for. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01. The start date must be equal to or later than the current date to avoid a validation error. 1725 */ 1726 TimePeriod: DateInterval; 1727 /** 1728 * Which metric Cost Explorer uses to create your forecast. Valid values for a GetUsageForecast call are the following: USAGE_QUANTITY NORMALIZED_USAGE_AMOUNT 1729 */ 1730 Metric: Metric; 1731 /** 1732 * How granular you want the forecast to be. You can get 3 months of DAILY forecasts or 12 months of MONTHLY forecasts. The GetUsageForecast operation supports only DAILY and MONTHLY granularities. 1733 */ 1734 Granularity: Granularity; 1735 /** 1736 * The filters that you want to use to filter your forecast. The GetUsageForecast API supports filtering by the following dimensions: AZ INSTANCE_TYPE LINKED_ACCOUNT LINKED_ACCOUNT_NAME OPERATION PURCHASE_TYPE REGION SERVICE USAGE_TYPE USAGE_TYPE_GROUP RECORD_TYPE OPERATING_SYSTEM TENANCY SCOPE PLATFORM SUBSCRIPTION_ID LEGAL_ENTITY_NAME DEPLOYMENT_OPTION DATABASE_ENGINE INSTANCE_TYPE_FAMILY BILLING_ENTITY RESERVATION_ID SAVINGS_PLAN_ARN 1737 */ 1738 Filter?: Expression; 1739 /** 1740 * Cost Explorer always returns the mean forecast as a single point. You can request a prediction interval around the mean by specifying a confidence level. The higher the confidence level, the more confident Cost Explorer is about the actual value falling in the prediction interval. Higher confidence levels result in wider prediction intervals. 1741 */ 1742 PredictionIntervalLevel?: PredictionIntervalLevel; 1743 } 1744 export interface GetUsageForecastResponse { 1745 /** 1746 * How much you're forecasted to use over the forecast period. 1747 */ 1748 Total?: MetricValue; 1749 /** 1750 * The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For MONTHLY forecasts, this is a list of months. 1751 */ 1752 ForecastResultsByTime?: ForecastResultsByTime; 1753 } 1754 export type Granularity = "DAILY"|"MONTHLY"|"HOURLY"|string; 1755 export interface Group { 1756 /** 1757 * The keys that are included in this group. 1758 */ 1759 Keys?: Keys; 1760 /** 1761 * The metrics that are included in this group. 1762 */ 1763 Metrics?: Metrics; 1764 } 1765 export interface GroupDefinition { 1766 /** 1767 * The string that represents the type of group. 1768 */ 1769 Type?: GroupDefinitionType; 1770 /** 1771 * The string that represents a key for a specified group. 1772 */ 1773 Key?: GroupDefinitionKey; 1774 } 1775 export type GroupDefinitionKey = string; 1776 export type GroupDefinitionType = "DIMENSION"|"TAG"|"COST_CATEGORY"|string; 1777 export type GroupDefinitions = GroupDefinition[]; 1778 export type Groups = Group[]; 1779 export interface Impact { 1780 /** 1781 * The maximum dollar value that's observed for an anomaly. 1782 */ 1783 MaxImpact: GenericDouble; 1784 /** 1785 * The cumulative dollar value that's observed for an anomaly. 1786 */ 1787 TotalImpact?: GenericDouble; 1788 } 1789 export interface InstanceDetails { 1790 /** 1791 * The Amazon EC2 instances that Amazon Web Services recommends that you purchase. 1792 */ 1793 EC2InstanceDetails?: EC2InstanceDetails; 1794 /** 1795 * The Amazon RDS instances that Amazon Web Services recommends that you purchase. 1796 */ 1797 RDSInstanceDetails?: RDSInstanceDetails; 1798 /** 1799 * The Amazon Redshift instances that Amazon Web Services recommends that you purchase. 1800 */ 1801 RedshiftInstanceDetails?: RedshiftInstanceDetails; 1802 /** 1803 * The ElastiCache instances that Amazon Web Services recommends that you purchase. 1804 */ 1805 ElastiCacheInstanceDetails?: ElastiCacheInstanceDetails; 1806 /** 1807 * The Amazon ES instances that Amazon Web Services recommends that you purchase. 1808 */ 1809 ESInstanceDetails?: ESInstanceDetails; 1810 } 1811 export type Key = string; 1812 export type Keys = Key[]; 1813 export interface ListCostCategoryDefinitionsRequest { 1814 /** 1815 * The date when the Cost Category was effective. 1816 */ 1817 EffectiveOn?: ZonedDateTime; 1818 /** 1819 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1820 */ 1821 NextToken?: NextPageToken; 1822 /** 1823 * The number of entries a paginated response contains. 1824 */ 1825 MaxResults?: CostCategoryMaxResults; 1826 } 1827 export interface ListCostCategoryDefinitionsResponse { 1828 /** 1829 * A reference to a Cost Category containing enough information to identify the Cost Category. 1830 */ 1831 CostCategoryReferences?: CostCategoryReferencesList; 1832 /** 1833 * The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. 1834 */ 1835 NextToken?: NextPageToken; 1836 } 1837 export type LookbackPeriodInDays = "SEVEN_DAYS"|"THIRTY_DAYS"|"SIXTY_DAYS"|string; 1838 export type MatchOption = "EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE"|string; 1839 export type MatchOptions = MatchOption[]; 1840 export type MaxResults = number; 1841 export type Metric = "BLENDED_COST"|"UNBLENDED_COST"|"AMORTIZED_COST"|"NET_UNBLENDED_COST"|"NET_AMORTIZED_COST"|"USAGE_QUANTITY"|"NORMALIZED_USAGE_AMOUNT"|string; 1842 export type MetricAmount = string; 1843 export type MetricName = string; 1844 export type MetricNames = MetricName[]; 1845 export type MetricUnit = string; 1846 export interface MetricValue { 1847 /** 1848 * The actual number that represents the metric. 1849 */ 1850 Amount?: MetricAmount; 1851 /** 1852 * The unit that the metric is given in. 1853 */ 1854 Unit?: MetricUnit; 1855 } 1856 export type Metrics = {[key: string]: MetricValue}; 1857 export interface ModifyRecommendationDetail { 1858 /** 1859 * Determines whether this instance type is the Amazon Web Services default recommendation. 1860 */ 1861 TargetInstances?: TargetInstancesList; 1862 } 1863 export type MonitorArnList = Arn[]; 1864 export type MonitorDimension = "SERVICE"|string; 1865 export type MonitorType = "DIMENSIONAL"|"CUSTOM"|string; 1866 export type NetRISavings = string; 1867 export interface NetworkResourceUtilization { 1868 /** 1869 * The network inbound throughput utilization measured in Bytes per second. 1870 */ 1871 NetworkInBytesPerSecond?: GenericString; 1872 /** 1873 * The network outbound throughput utilization measured in Bytes per second. 1874 */ 1875 NetworkOutBytesPerSecond?: GenericString; 1876 /** 1877 * The network ingress packets that are measured in packets per second. 1878 */ 1879 NetworkPacketsInPerSecond?: GenericString; 1880 /** 1881 * The network outgress packets that are measured in packets per second. 1882 */ 1883 NetworkPacketsOutPerSecond?: GenericString; 1884 } 1885 export type NextPageToken = string; 1886 export type NonNegativeInteger = number; 1887 export type NullableNonNegativeDouble = number; 1888 export type NumericOperator = "EQUAL"|"GREATER_THAN_OR_EQUAL"|"LESS_THAN_OR_EQUAL"|"GREATER_THAN"|"LESS_THAN"|"BETWEEN"|string; 1889 export type OfferingClass = "STANDARD"|"CONVERTIBLE"|string; 1890 export type OnDemandCost = string; 1891 export type OnDemandCostOfRIHoursUsed = string; 1892 export type OnDemandHours = string; 1893 export type OnDemandNormalizedUnits = string; 1894 export type PageSize = number; 1895 export type PaymentOption = "NO_UPFRONT"|"PARTIAL_UPFRONT"|"ALL_UPFRONT"|"LIGHT_UTILIZATION"|"MEDIUM_UTILIZATION"|"HEAVY_UTILIZATION"|string; 1896 export type PlatformDifference = "HYPERVISOR"|"NETWORK_INTERFACE"|"STORAGE_INTERFACE"|"INSTANCE_STORE_AVAILABILITY"|"VIRTUALIZATION_TYPE"|string; 1897 export type PlatformDifferences = PlatformDifference[]; 1898 export type PredictionIntervalLevel = number; 1899 export interface ProvideAnomalyFeedbackRequest { 1900 /** 1901 * A cost anomaly ID. 1902 */ 1903 AnomalyId: GenericString; 1904 /** 1905 * Describes whether the cost anomaly was a planned activity or you considered it an anomaly. 1906 */ 1907 Feedback: AnomalyFeedbackType; 1908 } 1909 export interface ProvideAnomalyFeedbackResponse { 1910 /** 1911 * The ID of the modified cost anomaly. 1912 */ 1913 AnomalyId: GenericString; 1914 } 1915 export type PurchasedHours = string; 1916 export type PurchasedUnits = string; 1917 export interface RDSInstanceDetails { 1918 /** 1919 * The instance family of the recommended reservation. 1920 */ 1921 Family?: GenericString; 1922 /** 1923 * The type of instance that Amazon Web Services recommends. 1924 */ 1925 InstanceType?: GenericString; 1926 /** 1927 * The Amazon Web Services Region of the recommended reservation. 1928 */ 1929 Region?: GenericString; 1930 /** 1931 * The database engine that the recommended reservation supports. 1932 */ 1933 DatabaseEngine?: GenericString; 1934 /** 1935 * The database edition that the recommended reservation supports. 1936 */ 1937 DatabaseEdition?: GenericString; 1938 /** 1939 * Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone. 1940 */ 1941 DeploymentOption?: GenericString; 1942 /** 1943 * The license model that the recommended reservation supports. 1944 */ 1945 LicenseModel?: GenericString; 1946 /** 1947 * Determines whether the recommendation is for a current-generation instance. 1948 */ 1949 CurrentGeneration?: GenericBoolean; 1950 /** 1951 * Determines whether the recommended reservation is size flexible. 1952 */ 1953 SizeFlexEligible?: GenericBoolean; 1954 } 1955 export type RICostForUnusedHours = string; 1956 export type RealizedSavings = string; 1957 export type RecommendationTarget = "SAME_INSTANCE_FAMILY"|"CROSS_INSTANCE_FAMILY"|string; 1958 export interface RedshiftInstanceDetails { 1959 /** 1960 * The instance family of the recommended reservation. 1961 */ 1962 Family?: GenericString; 1963 /** 1964 * The type of node that Amazon Web Services recommends. 1965 */ 1966 NodeType?: GenericString; 1967 /** 1968 * The Amazon Web Services Region of the recommended reservation. 1969 */ 1970 Region?: GenericString; 1971 /** 1972 * Determines whether the recommendation is for a current-generation instance. 1973 */ 1974 CurrentGeneration?: GenericBoolean; 1975 /** 1976 * Determines whether the recommended reservation is size flexible. 1977 */ 1978 SizeFlexEligible?: GenericBoolean; 1979 } 1980 export interface ReservationAggregates { 1981 /** 1982 * The percentage of reservation time that you used. 1983 */ 1984 UtilizationPercentage?: UtilizationPercentage; 1985 /** 1986 * The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017. 1987 */ 1988 UtilizationPercentageInUnits?: UtilizationPercentageInUnits; 1989 /** 1990 * How many reservation hours that you purchased. 1991 */ 1992 PurchasedHours?: PurchasedHours; 1993 /** 1994 * The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017. 1995 */ 1996 PurchasedUnits?: PurchasedUnits; 1997 /** 1998 * The total number of reservation hours that you used. 1999 */ 2000 TotalActualHours?: TotalActualHours; 2001 /** 2002 * The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017. 2003 */ 2004 TotalActualUnits?: TotalActualUnits; 2005 /** 2006 * The number of reservation hours that you didn't use. 2007 */ 2008 UnusedHours?: UnusedHours; 2009 /** 2010 * The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017. 2011 */ 2012 UnusedUnits?: UnusedUnits; 2013 /** 2014 * How much your reservation costs if charged On-Demand rates. 2015 */ 2016 OnDemandCostOfRIHoursUsed?: OnDemandCostOfRIHoursUsed; 2017 /** 2018 * How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting TotalAmortizedFee from OnDemandCostOfRIHoursUsed. 2019 */ 2020 NetRISavings?: NetRISavings; 2021 /** 2022 * How much you might save if you use your entire reservation. 2023 */ 2024 TotalPotentialRISavings?: TotalPotentialRISavings; 2025 /** 2026 * The upfront cost of your reservation. It's amortized over the reservation period. 2027 */ 2028 AmortizedUpfrontFee?: AmortizedUpfrontFee; 2029 /** 2030 * The monthly cost of your reservation. It's amortized over the reservation period. 2031 */ 2032 AmortizedRecurringFee?: AmortizedRecurringFee; 2033 /** 2034 * The total cost of your reservation. It's amortized over the reservation period. 2035 */ 2036 TotalAmortizedFee?: TotalAmortizedFee; 2037 /** 2038 * The cost of unused hours for your reservation. 2039 */ 2040 RICostForUnusedHours?: RICostForUnusedHours; 2041 /** 2042 * The realized savings because of purchasing and using a reservation. 2043 */ 2044 RealizedSavings?: RealizedSavings; 2045 /** 2046 * The unrealized savings because of purchasing and using a reservation. 2047 */ 2048 UnrealizedSavings?: UnrealizedSavings; 2049 } 2050 export interface ReservationCoverageGroup { 2051 /** 2052 * The attributes for this group of reservations. 2053 */ 2054 Attributes?: Attributes; 2055 /** 2056 * How much instance usage this group of reservations covered. 2057 */ 2058 Coverage?: Coverage; 2059 } 2060 export type ReservationCoverageGroups = ReservationCoverageGroup[]; 2061 export type ReservationGroupKey = string; 2062 export type ReservationGroupValue = string; 2063 export interface ReservationPurchaseRecommendation { 2064 /** 2065 * The account scope that Amazon Web Services recommends that you purchase this instance for. For example, you can purchase this reservation for an entire organization in Amazon Web Services Organizations. 2066 */ 2067 AccountScope?: AccountScope; 2068 /** 2069 * How many days of previous usage that Amazon Web Services considers when making this recommendation. 2070 */ 2071 LookbackPeriodInDays?: LookbackPeriodInDays; 2072 /** 2073 * The term of the reservation that you want recommendations for, in years. 2074 */ 2075 TermInYears?: TermInYears; 2076 /** 2077 * The payment option for the reservation (for example, AllUpfront or NoUpfront). 2078 */ 2079 PaymentOption?: PaymentOption; 2080 /** 2081 * Hardware specifications for the service that you want recommendations for. 2082 */ 2083 ServiceSpecification?: ServiceSpecification; 2084 /** 2085 * Details about the recommended purchases. 2086 */ 2087 RecommendationDetails?: ReservationPurchaseRecommendationDetails; 2088 /** 2089 * A summary about the recommended purchase. 2090 */ 2091 RecommendationSummary?: ReservationPurchaseRecommendationSummary; 2092 } 2093 export interface ReservationPurchaseRecommendationDetail { 2094 /** 2095 * The account that this RI recommendation is for. 2096 */ 2097 AccountId?: GenericString; 2098 /** 2099 * Details about the instances that Amazon Web Services recommends that you purchase. 2100 */ 2101 InstanceDetails?: InstanceDetails; 2102 /** 2103 * The number of instances that Amazon Web Services recommends that you purchase. 2104 */ 2105 RecommendedNumberOfInstancesToPurchase?: GenericString; 2106 /** 2107 * The number of normalized units that Amazon Web Services recommends that you purchase. 2108 */ 2109 RecommendedNormalizedUnitsToPurchase?: GenericString; 2110 /** 2111 * The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2112 */ 2113 MinimumNumberOfInstancesUsedPerHour?: GenericString; 2114 /** 2115 * The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2116 */ 2117 MinimumNormalizedUnitsUsedPerHour?: GenericString; 2118 /** 2119 * The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2120 */ 2121 MaximumNumberOfInstancesUsedPerHour?: GenericString; 2122 /** 2123 * The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2124 */ 2125 MaximumNormalizedUnitsUsedPerHour?: GenericString; 2126 /** 2127 * The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2128 */ 2129 AverageNumberOfInstancesUsedPerHour?: GenericString; 2130 /** 2131 * The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases. 2132 */ 2133 AverageNormalizedUnitsUsedPerHour?: GenericString; 2134 /** 2135 * The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases. 2136 */ 2137 AverageUtilization?: GenericString; 2138 /** 2139 * How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months. 2140 */ 2141 EstimatedBreakEvenInMonths?: GenericString; 2142 /** 2143 * The currency code that Amazon Web Services used to calculate the costs for this instance. 2144 */ 2145 CurrencyCode?: GenericString; 2146 /** 2147 * How much Amazon Web Services estimates that this specific recommendation could save you in a month. 2148 */ 2149 EstimatedMonthlySavingsAmount?: GenericString; 2150 /** 2151 * How much Amazon Web Services estimates that this specific recommendation could save you in a month, as a percentage of your overall costs. 2152 */ 2153 EstimatedMonthlySavingsPercentage?: GenericString; 2154 /** 2155 * How much Amazon Web Services estimates that you spend on On-Demand Instances in a month. 2156 */ 2157 EstimatedMonthlyOnDemandCost?: GenericString; 2158 /** 2159 * How much Amazon Web Services estimates that you would have spent for all usage during the specified historical period if you had a reservation. 2160 */ 2161 EstimatedReservationCostForLookbackPeriod?: GenericString; 2162 /** 2163 * How much purchasing this instance costs you upfront. 2164 */ 2165 UpfrontCost?: GenericString; 2166 /** 2167 * How much purchasing this instance costs you on a monthly basis. 2168 */ 2169 RecurringStandardMonthlyCost?: GenericString; 2170 } 2171 export type ReservationPurchaseRecommendationDetails = ReservationPurchaseRecommendationDetail[]; 2172 export interface ReservationPurchaseRecommendationMetadata { 2173 /** 2174 * The ID for this specific recommendation. 2175 */ 2176 RecommendationId?: GenericString; 2177 /** 2178 * The timestamp for when Amazon Web Services made this recommendation. 2179 */ 2180 GenerationTimestamp?: GenericString; 2181 } 2182 export interface ReservationPurchaseRecommendationSummary { 2183 /** 2184 * The total amount that Amazon Web Services estimates that this recommendation could save you in a month. 2185 */ 2186 TotalEstimatedMonthlySavingsAmount?: GenericString; 2187 /** 2188 * The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs. 2189 */ 2190 TotalEstimatedMonthlySavingsPercentage?: GenericString; 2191 /** 2192 * The currency code used for this recommendation. 2193 */ 2194 CurrencyCode?: GenericString; 2195 } 2196 export type ReservationPurchaseRecommendations = ReservationPurchaseRecommendation[]; 2197 export interface ReservationUtilizationGroup { 2198 /** 2199 * The key for a specific reservation attribute. 2200 */ 2201 Key?: ReservationGroupKey; 2202 /** 2203 * The value of a specific reservation attribute. 2204 */ 2205 Value?: ReservationGroupValue; 2206 /** 2207 * The attributes for this group of reservations. 2208 */ 2209 Attributes?: Attributes; 2210 /** 2211 * How much you used this group of reservations. 2212 */ 2213 Utilization?: ReservationAggregates; 2214 } 2215 export type ReservationUtilizationGroups = ReservationUtilizationGroup[]; 2216 export type ReservedHours = string; 2217 export type ReservedNormalizedUnits = string; 2218 export interface ResourceDetails { 2219 /** 2220 * Details on the Amazon EC2 resource. 2221 */ 2222 EC2ResourceDetails?: EC2ResourceDetails; 2223 } 2224 export interface ResourceUtilization { 2225 /** 2226 * The utilization of current Amazon EC2 instance. 2227 */ 2228 EC2ResourceUtilization?: EC2ResourceUtilization; 2229 } 2230 export interface ResultByTime { 2231 /** 2232 * The time period that the result covers. 2233 */ 2234 TimePeriod?: DateInterval; 2235 /** 2236 * The total amount of cost or usage accrued during the time period. 2237 */ 2238 Total?: Metrics; 2239 /** 2240 * The groups that this time period includes. 2241 */ 2242 Groups?: Groups; 2243 /** 2244 * Determines whether the result is estimated. 2245 */ 2246 Estimated?: Estimated; 2247 } 2248 export type ResultsByTime = ResultByTime[]; 2249 export interface RightsizingRecommendation { 2250 /** 2251 * The account that this recommendation is for. 2252 */ 2253 AccountId?: GenericString; 2254 /** 2255 * Context regarding the current instance. 2256 */ 2257 CurrentInstance?: CurrentInstance; 2258 /** 2259 * A recommendation to either terminate or modify the resource. 2260 */ 2261 RightsizingType?: RightsizingType; 2262 /** 2263 * The details for the modification recommendations. 2264 */ 2265 ModifyRecommendationDetail?: ModifyRecommendationDetail; 2266 /** 2267 * The details for termination recommendations. 2268 */ 2269 TerminateRecommendationDetail?: TerminateRecommendationDetail; 2270 /** 2271 * The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network). 2272 */ 2273 FindingReasonCodes?: FindingReasonCodes; 2274 } 2275 export interface RightsizingRecommendationConfiguration { 2276 /** 2277 * The option to see recommendations within the same instance family or recommendations for instances across other families. The default value is SAME_INSTANCE_FAMILY. 2278 */ 2279 RecommendationTarget: RecommendationTarget; 2280 /** 2281 * The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is TRUE. 2282 */ 2283 BenefitsConsidered: GenericBoolean; 2284 } 2285 export type RightsizingRecommendationList = RightsizingRecommendation[]; 2286 export interface RightsizingRecommendationMetadata { 2287 /** 2288 * The ID for this specific recommendation. 2289 */ 2290 RecommendationId?: GenericString; 2291 /** 2292 * The timestamp for when Amazon Web Services made this recommendation. 2293 */ 2294 GenerationTimestamp?: GenericString; 2295 /** 2296 * The number of days of previous usage that Amazon Web Services considers when making this recommendation. 2297 */ 2298 LookbackPeriodInDays?: LookbackPeriodInDays; 2299 /** 2300 * Additional metadata that might be applicable to the recommendation. 2301 */ 2302 AdditionalMetadata?: GenericString; 2303 } 2304 export interface RightsizingRecommendationSummary { 2305 /** 2306 * The total number of instance recommendations. 2307 */ 2308 TotalRecommendationCount?: GenericString; 2309 /** 2310 * The estimated total savings resulting from modifications, on a monthly basis. 2311 */ 2312 EstimatedTotalMonthlySavingsAmount?: GenericString; 2313 /** 2314 * The currency code that Amazon Web Services used to calculate the savings. 2315 */ 2316 SavingsCurrencyCode?: GenericString; 2317 /** 2318 * The savings percentage based on the recommended modifications. It's relative to the total On-Demand costs that are associated with these instances. 2319 */ 2320 SavingsPercentage?: GenericString; 2321 } 2322 export type RightsizingType = "TERMINATE"|"MODIFY"|string; 2323 export interface RootCause { 2324 /** 2325 * The Amazon Web Services service name that's associated with the cost anomaly. 2326 */ 2327 Service?: GenericString; 2328 /** 2329 * The Amazon Web Services Region that's associated with the cost anomaly. 2330 */ 2331 Region?: GenericString; 2332 /** 2333 * The member account value that's associated with the cost anomaly. 2334 */ 2335 LinkedAccount?: GenericString; 2336 /** 2337 * The UsageType value that's associated with the cost anomaly. 2338 */ 2339 UsageType?: GenericString; 2340 } 2341 export type RootCauses = RootCause[]; 2342 export type SavingsPlanArn = string; 2343 export interface SavingsPlansAmortizedCommitment { 2344 /** 2345 * The amortized amount of your Savings Plans commitment that was purchased with either a Partial or a NoUpfront. 2346 */ 2347 AmortizedRecurringCommitment?: GenericString; 2348 /** 2349 * The amortized amount of your Savings Plans commitment that was purchased with an Upfront or PartialUpfront Savings Plans. 2350 */ 2351 AmortizedUpfrontCommitment?: GenericString; 2352 /** 2353 * The total amortized amount of your Savings Plans commitment, regardless of your Savings Plans purchase method. 2354 */ 2355 TotalAmortizedCommitment?: GenericString; 2356 } 2357 export interface SavingsPlansCoverage { 2358 /** 2359 * The attribute that applies to a specific Dimension. 2360 */ 2361 Attributes?: Attributes; 2362 /** 2363 * The amount of Savings Plans eligible usage that the Savings Plans covered. 2364 */ 2365 Coverage?: SavingsPlansCoverageData; 2366 TimePeriod?: DateInterval; 2367 } 2368 export interface SavingsPlansCoverageData { 2369 /** 2370 * The amount of your Amazon Web Services usage that is covered by a Savings Plans. 2371 */ 2372 SpendCoveredBySavingsPlans?: GenericString; 2373 /** 2374 * The cost of your Amazon Web Services usage at the public On-Demand rate. 2375 */ 2376 OnDemandCost?: GenericString; 2377 /** 2378 * The total cost of your Amazon Web Services usage, regardless of your purchase option. 2379 */ 2380 TotalCost?: GenericString; 2381 /** 2382 * The percentage of your existing Savings Plans covered usage, divided by all of your eligible Savings Plans usage in an account (or set of accounts). 2383 */ 2384 CoveragePercentage?: GenericString; 2385 } 2386 export type SavingsPlansCoverages = SavingsPlansCoverage[]; 2387 export type SavingsPlansDataType = "ATTRIBUTES"|"UTILIZATION"|"AMORTIZED_COMMITMENT"|"SAVINGS"|string; 2388 export type SavingsPlansDataTypes = SavingsPlansDataType[]; 2389 export interface SavingsPlansDetails { 2390 /** 2391 * A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions. 2392 */ 2393 Region?: GenericString; 2394 /** 2395 * A group of instance types that Savings Plans applies to. 2396 */ 2397 InstanceFamily?: GenericString; 2398 /** 2399 * The unique ID that's used to distinguish Savings Plans from one another. 2400 */ 2401 OfferingId?: GenericString; 2402 } 2403 export interface SavingsPlansPurchaseRecommendation { 2404 /** 2405 * The account scope that you want your recommendations for. Amazon Web Services calculates recommendations that include the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only. 2406 */ 2407 AccountScope?: AccountScope; 2408 /** 2409 * The requested Savings Plans recommendation type. 2410 */ 2411 SavingsPlansType?: SupportedSavingsPlansType; 2412 /** 2413 * The Savings Plans recommendation term in years. It's used to generate the recommendation. 2414 */ 2415 TermInYears?: TermInYears; 2416 /** 2417 * The payment option used to generate the recommendation. 2418 */ 2419 PaymentOption?: PaymentOption; 2420 /** 2421 * The lookback period in days, used to generate the recommendation. 2422 */ 2423 LookbackPeriodInDays?: LookbackPeriodInDays; 2424 /** 2425 * Details for the Savings Plans we recommend that you purchase to cover existing Savings Plans eligible workloads. 2426 */ 2427 SavingsPlansPurchaseRecommendationDetails?: SavingsPlansPurchaseRecommendationDetailList; 2428 /** 2429 * Summary metrics for your Savings Plans Recommendations. 2430 */ 2431 SavingsPlansPurchaseRecommendationSummary?: SavingsPlansPurchaseRecommendationSummary; 2432 } 2433 export interface SavingsPlansPurchaseRecommendationDetail { 2434 /** 2435 * Details for your recommended Savings Plans. 2436 */ 2437 SavingsPlansDetails?: SavingsPlansDetails; 2438 /** 2439 * The AccountID the recommendation is generated for. 2440 */ 2441 AccountId?: GenericString; 2442 /** 2443 * The upfront cost of the recommended Savings Plans, based on the selected payment option. 2444 */ 2445 UpfrontCost?: GenericString; 2446 /** 2447 * The estimated return on investment that's based on the recommended Savings Plans that you purchased. This is calculated as estimatedSavingsAmount/ estimatedSPCost*100. 2448 */ 2449 EstimatedROI?: GenericString; 2450 /** 2451 * The currency code that Amazon Web Services used to generate the recommendations and present potential savings. 2452 */ 2453 CurrencyCode?: GenericString; 2454 /** 2455 * The cost of the recommended Savings Plans over the length of the lookback period. 2456 */ 2457 EstimatedSPCost?: GenericString; 2458 /** 2459 * The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period. 2460 */ 2461 EstimatedOnDemandCost?: GenericString; 2462 /** 2463 * The estimated On-Demand costs you would expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own. 2464 */ 2465 EstimatedOnDemandCostWithCurrentCommitment?: GenericString; 2466 /** 2467 * The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period. 2468 */ 2469 EstimatedSavingsAmount?: GenericString; 2470 /** 2471 * The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period. 2472 */ 2473 EstimatedSavingsPercentage?: GenericString; 2474 /** 2475 * The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period. 2476 */ 2477 HourlyCommitmentToPurchase?: GenericString; 2478 /** 2479 * The estimated utilization of the recommended Savings Plans. 2480 */ 2481 EstimatedAverageUtilization?: GenericString; 2482 /** 2483 * The estimated monthly savings amount based on the recommended Savings Plans. 2484 */ 2485 EstimatedMonthlySavingsAmount?: GenericString; 2486 /** 2487 * The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type. 2488 */ 2489 CurrentMinimumHourlyOnDemandSpend?: GenericString; 2490 /** 2491 * The highest value of hourly On-Demand spend over the lookback period of the applicable usage type. 2492 */ 2493 CurrentMaximumHourlyOnDemandSpend?: GenericString; 2494 /** 2495 * The average value of hourly On-Demand spend over the lookback period of the applicable usage type. 2496 */ 2497 CurrentAverageHourlyOnDemandSpend?: GenericString; 2498 } 2499 export type SavingsPlansPurchaseRecommendationDetailList = SavingsPlansPurchaseRecommendationDetail[]; 2500 export interface SavingsPlansPurchaseRecommendationMetadata { 2501 /** 2502 * The unique identifier for the recommendation set. 2503 */ 2504 RecommendationId?: GenericString; 2505 /** 2506 * The timestamp showing when the recommendations were generated. 2507 */ 2508 GenerationTimestamp?: GenericString; 2509 /** 2510 * Additional metadata that might be applicable to the recommendation. 2511 */ 2512 AdditionalMetadata?: GenericString; 2513 } 2514 export interface SavingsPlansPurchaseRecommendationSummary { 2515 /** 2516 * The estimated return on investment that's based on the recommended Savings Plans and estimated savings. 2517 */ 2518 EstimatedROI?: GenericString; 2519 /** 2520 * The currency code that Amazon Web Services used to generate the recommendations and present potential savings. 2521 */ 2522 CurrencyCode?: GenericString; 2523 /** 2524 * The estimated total cost of the usage after purchasing the recommended Savings Plans. This is a sum of the cost of Savings Plans during this term, and the remaining On-Demand usage. 2525 */ 2526 EstimatedTotalCost?: GenericString; 2527 /** 2528 * The current total on demand spend of the applicable usage types over the lookback period. 2529 */ 2530 CurrentOnDemandSpend?: GenericString; 2531 /** 2532 * The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans. 2533 */ 2534 EstimatedSavingsAmount?: GenericString; 2535 /** 2536 * The aggregate number of Savings Plans recommendations that exist for your account. 2537 */ 2538 TotalRecommendationCount?: GenericString; 2539 /** 2540 * The recommended Savings Plans cost on a daily (24 hourly) basis. 2541 */ 2542 DailyCommitmentToPurchase?: GenericString; 2543 /** 2544 * The recommended hourly commitment that's based on the recommendation parameters. 2545 */ 2546 HourlyCommitmentToPurchase?: GenericString; 2547 /** 2548 * The estimated savings relative to the total cost of On-Demand usage, over the lookback period. This is calculated as estimatedSavingsAmount/ CurrentOnDemandSpend*100. 2549 */ 2550 EstimatedSavingsPercentage?: GenericString; 2551 /** 2552 * The estimated monthly savings amount that's based on the recommended Savings Plans purchase. 2553 */ 2554 EstimatedMonthlySavingsAmount?: GenericString; 2555 /** 2556 * The estimated On-Demand costs you would expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own. 2557 */ 2558 EstimatedOnDemandCostWithCurrentCommitment?: GenericString; 2559 } 2560 export interface SavingsPlansSavings { 2561 /** 2562 * The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage. 2563 */ 2564 NetSavings?: GenericString; 2565 /** 2566 * How much the amount that the usage would have cost if it was accrued at the On-Demand rate. 2567 */ 2568 OnDemandCostEquivalent?: GenericString; 2569 } 2570 export interface SavingsPlansUtilization { 2571 /** 2572 * The total amount of Savings Plans commitment that's been purchased in an account (or set of accounts). 2573 */ 2574 TotalCommitment?: GenericString; 2575 /** 2576 * The amount of your Savings Plans commitment that was consumed from Savings Plans eligible usage in a specific period. 2577 */ 2578 UsedCommitment?: GenericString; 2579 /** 2580 * The amount of your Savings Plans commitment that wasn't consumed from Savings Plans eligible usage in a specific period. 2581 */ 2582 UnusedCommitment?: GenericString; 2583 /** 2584 * The amount of UsedCommitment divided by the TotalCommitment for your Savings Plans. 2585 */ 2586 UtilizationPercentage?: GenericString; 2587 } 2588 export interface SavingsPlansUtilizationAggregates { 2589 /** 2590 * A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible. 2591 */ 2592 Utilization: SavingsPlansUtilization; 2593 /** 2594 * The amount saved by using existing Savings Plans. Savings returns both net savings from Savings Plans, as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate. 2595 */ 2596 Savings?: SavingsPlansSavings; 2597 /** 2598 * The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees. 2599 */ 2600 AmortizedCommitment?: SavingsPlansAmortizedCommitment; 2601 } 2602 export interface SavingsPlansUtilizationByTime { 2603 TimePeriod: DateInterval; 2604 /** 2605 * A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible. 2606 */ 2607 Utilization: SavingsPlansUtilization; 2608 /** 2609 * The amount saved by using existing Savings Plans. Savings returns both net savings from Savings Plans as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate. 2610 */ 2611 Savings?: SavingsPlansSavings; 2612 /** 2613 * The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees. 2614 */ 2615 AmortizedCommitment?: SavingsPlansAmortizedCommitment; 2616 } 2617 export interface SavingsPlansUtilizationDetail { 2618 /** 2619 * The unique Amazon Resource Name (ARN) for a particular Savings Plan. 2620 */ 2621 SavingsPlanArn?: SavingsPlanArn; 2622 /** 2623 * The attribute that applies to a specific Dimension. 2624 */ 2625 Attributes?: Attributes; 2626 /** 2627 * A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible. 2628 */ 2629 Utilization?: SavingsPlansUtilization; 2630 /** 2631 * The amount saved by using existing Savings Plans. Savings returns both net savings from savings plans as well as the onDemandCostEquivalent of the Savings Plans when considering the utilization rate. 2632 */ 2633 Savings?: SavingsPlansSavings; 2634 /** 2635 * The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees. 2636 */ 2637 AmortizedCommitment?: SavingsPlansAmortizedCommitment; 2638 } 2639 export type SavingsPlansUtilizationDetails = SavingsPlansUtilizationDetail[]; 2640 export type SavingsPlansUtilizationsByTime = SavingsPlansUtilizationByTime[]; 2641 export type SearchString = string; 2642 export interface ServiceSpecification { 2643 /** 2644 * The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for. 2645 */ 2646 EC2Specification?: EC2Specification; 2647 } 2648 export interface SortDefinition { 2649 /** 2650 * The key that's used to sort the data. 2651 */ 2652 Key: SortDefinitionKey; 2653 /** 2654 * The order that's used to sort the data. 2655 */ 2656 SortOrder?: SortOrder; 2657 } 2658 export type SortDefinitionKey = string; 2659 export type SortDefinitions = SortDefinition[]; 2660 export type SortOrder = "ASCENDING"|"DESCENDING"|string; 2661 export interface Subscriber { 2662 /** 2663 * The email address or SNS Amazon Resource Name (ARN). This depends on the Type. 2664 */ 2665 Address?: SubscriberAddress; 2666 /** 2667 * The notification delivery channel. 2668 */ 2669 Type?: SubscriberType; 2670 /** 2671 * Indicates if the subscriber accepts the notifications. 2672 */ 2673 Status?: SubscriberStatus; 2674 } 2675 export type SubscriberAddress = string; 2676 export type SubscriberStatus = "CONFIRMED"|"DECLINED"|string; 2677 export type SubscriberType = "EMAIL"|"SNS"|string; 2678 export type Subscribers = Subscriber[]; 2679 export type SupportedSavingsPlansType = "COMPUTE_SP"|"EC2_INSTANCE_SP"|"SAGEMAKER_SP"|string; 2680 export type TagKey = string; 2681 export type TagList = Entity[]; 2682 export interface TagValues { 2683 /** 2684 * The key for the tag. 2685 */ 2686 Key?: TagKey; 2687 /** 2688 * The specific value of the tag. 2689 */ 2690 Values?: Values; 2691 /** 2692 * The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category. The default values for MatchOptions are EQUALS and CASE_SENSITIVE. 2693 */ 2694 MatchOptions?: MatchOptions; 2695 } 2696 export type TagValuesList = TagValues[]; 2697 export interface TargetInstance { 2698 /** 2699 * The expected cost to operate this instance type on a monthly basis. 2700 */ 2701 EstimatedMonthlyCost?: GenericString; 2702 /** 2703 * The estimated savings that result from modification, on a monthly basis. 2704 */ 2705 EstimatedMonthlySavings?: GenericString; 2706 /** 2707 * The currency code that Amazon Web Services used to calculate the costs for this instance. 2708 */ 2709 CurrencyCode?: GenericString; 2710 /** 2711 * Determines whether this recommendation is the defaulted Amazon Web Services recommendation. 2712 */ 2713 DefaultTargetInstance?: GenericBoolean; 2714 /** 2715 * Details on the target instance type. 2716 */ 2717 ResourceDetails?: ResourceDetails; 2718 /** 2719 * The expected utilization metrics for target instance type. 2720 */ 2721 ExpectedResourceUtilization?: ResourceUtilization; 2722 /** 2723 * Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type. 2724 */ 2725 PlatformDifferences?: PlatformDifferences; 2726 } 2727 export type TargetInstancesList = TargetInstance[]; 2728 export type TermInYears = "ONE_YEAR"|"THREE_YEARS"|string; 2729 export interface TerminateRecommendationDetail { 2730 /** 2731 * The estimated savings that result from modification, on a monthly basis. 2732 */ 2733 EstimatedMonthlySavings?: GenericString; 2734 /** 2735 * The currency code that Amazon Web Services used to calculate the costs for this instance. 2736 */ 2737 CurrencyCode?: GenericString; 2738 } 2739 export type TotalActualHours = string; 2740 export type TotalActualUnits = string; 2741 export type TotalAmortizedFee = string; 2742 export interface TotalImpactFilter { 2743 /** 2744 * The comparing value that's used in the filter. 2745 */ 2746 NumericOperator: NumericOperator; 2747 /** 2748 * The lower bound dollar value that's used in the filter. 2749 */ 2750 StartValue: GenericDouble; 2751 /** 2752 * The upper bound dollar value that's used in the filter. 2753 */ 2754 EndValue?: GenericDouble; 2755 } 2756 export type TotalPotentialRISavings = string; 2757 export type TotalRunningHours = string; 2758 export type TotalRunningNormalizedUnits = string; 2759 export type UnrealizedSavings = string; 2760 export type UnusedHours = string; 2761 export type UnusedUnits = string; 2762 export interface UpdateAnomalyMonitorRequest { 2763 /** 2764 * Cost anomaly monitor Amazon Resource Names (ARNs). 2765 */ 2766 MonitorArn: GenericString; 2767 /** 2768 * The new name for the cost anomaly monitor. 2769 */ 2770 MonitorName?: GenericString; 2771 } 2772 export interface UpdateAnomalyMonitorResponse { 2773 /** 2774 * A cost anomaly monitor ARN. 2775 */ 2776 MonitorArn: GenericString; 2777 } 2778 export interface UpdateAnomalySubscriptionRequest { 2779 /** 2780 * A cost anomaly subscription Amazon Resource Name (ARN). 2781 */ 2782 SubscriptionArn: GenericString; 2783 /** 2784 * The update to the threshold value for receiving notifications. 2785 */ 2786 Threshold?: NullableNonNegativeDouble; 2787 /** 2788 * The update to the frequency value that subscribers receive notifications. 2789 */ 2790 Frequency?: AnomalySubscriptionFrequency; 2791 /** 2792 * A list of cost anomaly monitor ARNs. 2793 */ 2794 MonitorArnList?: MonitorArnList; 2795 /** 2796 * The update to the subscriber list. 2797 */ 2798 Subscribers?: Subscribers; 2799 /** 2800 * The new name of the subscription. 2801 */ 2802 SubscriptionName?: GenericString; 2803 } 2804 export interface UpdateAnomalySubscriptionResponse { 2805 /** 2806 * A cost anomaly subscription ARN. 2807 */ 2808 SubscriptionArn: GenericString; 2809 } 2810 export interface UpdateCostCategoryDefinitionRequest { 2811 /** 2812 * The unique identifier for your Cost Category. 2813 */ 2814 CostCategoryArn: Arn; 2815 RuleVersion: CostCategoryRuleVersion; 2816 /** 2817 * The Expression object used to categorize costs. For more information, see CostCategoryRule . 2818 */ 2819 Rules: CostCategoryRulesList; 2820 DefaultValue?: CostCategoryValue; 2821 /** 2822 * The split charge rules used to allocate your charges between your Cost Category values. 2823 */ 2824 SplitChargeRules?: CostCategorySplitChargeRulesList; 2825 } 2826 export interface UpdateCostCategoryDefinitionResponse { 2827 /** 2828 * The unique identifier for your Cost Category. 2829 */ 2830 CostCategoryArn?: Arn; 2831 /** 2832 * The Cost Category's effective start date. 2833 */ 2834 EffectiveStart?: ZonedDateTime; 2835 } 2836 export interface UtilizationByTime { 2837 /** 2838 * The period of time that this utilization was used for. 2839 */ 2840 TimePeriod?: DateInterval; 2841 /** 2842 * The groups that this utilization result uses. 2843 */ 2844 Groups?: ReservationUtilizationGroups; 2845 /** 2846 * The total number of reservation hours that were used. 2847 */ 2848 Total?: ReservationAggregates; 2849 } 2850 export type UtilizationPercentage = string; 2851 export type UtilizationPercentageInUnits = string; 2852 export type UtilizationsByTime = UtilizationByTime[]; 2853 export type Value = string; 2854 export type Values = Value[]; 2855 export type YearMonthDay = string; 2856 export type ZonedDateTime = string; 2857 /** 2858 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. 2859 */ 2860 export type apiVersion = "2017-10-25"|"latest"|string; 2861 export interface ClientApiVersions { 2862 /** 2863 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. 2864 */ 2865 apiVersion?: apiVersion; 2866 } 2867 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; 2868 /** 2869 * Contains interfaces for use with the CostExplorer client. 2870 */ 2871 export import Types = CostExplorer; 2872 } 2873 export = CostExplorer;