import { MetadataBearer as $MetadataBearer , SmithyException as __SmithyException } from "@aws-sdk/types" ; export enum AccountScope { LINKED = "LINKED" , PAYER = "PAYER" } /**
 * <p>Quantifies the anomaly. The higher score means that it's more anomalous. </p>
 */ export interface AnomalyScore { /**
     * <p>The maximum score that's observed during the <code>AnomalyDateInterval</code>. </p>
     */ MaxScore : number | undefined ; /**
     * <p>The last observed score. </p>
     */ CurrentScore : number | undefined ; } export namespace AnomalyScore { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum AnomalyFeedbackType { NO = "NO" , PLANNED_ACTIVITY = "PLANNED_ACTIVITY" , YES = "YES" } /**
 * <p>The dollar value of the anomaly. </p>
 */ export interface Impact { /**
     * <p>The maximum dollar value that's observed for an anomaly. </p>
     */ MaxImpact : number | undefined ; /**
     * <p>The cumulative dollar value that's observed for an anomaly. </p>
     */ TotalImpact ? : number ; } export namespace Impact { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The combination of Amazon Web Services service, linked account, Region, and usage type
 *             where a cost anomaly is observed. </p>
 */ export interface RootCause { /**
     * <p>The Amazon Web Services service name that's associated with the cost anomaly. </p>
     */ Service ? : string ; /**
     * <p>The Amazon Web Services Region that's associated with the cost anomaly. </p>
     */ Region ? : string ; /**
     * <p>The member account value that's associated with the cost anomaly. </p>
     */ LinkedAccount ? : string ; /**
     * <p>The <code>UsageType</code> value that's associated with the cost anomaly. </p>
     */ UsageType ? : string ; } export namespace RootCause { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>An unusual cost pattern. This consists of the detailed metadata and the current status
 *             of the anomaly object. </p>
 */ export interface Anomaly { /**
     * <p>The unique identifier for the anomaly. </p>
     */ AnomalyId : string | undefined ; /**
     * <p>The first day the anomaly is detected. </p>
     */ AnomalyStartDate ? : string ; /**
     * <p>The last day the anomaly is detected. </p>
     */ AnomalyEndDate ? : string ; /**
     * <p>The dimension for the anomaly (for example, an Amazon Web Services service in a service
     *             monitor). </p>
     */ DimensionValue ? : string ; /**
     * <p>The list of identified root causes for the anomaly. </p>
     */ RootCauses ? : RootCause [ ] ; /**
     * <p>The latest and maximum score for the anomaly. </p>
     */ AnomalyScore : AnomalyScore | undefined ; /**
     * <p>The dollar impact for the anomaly. </p>
     */ Impact : Impact | undefined ; /**
     * <p>The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
     *         </p>
     */ MonitorArn : string | undefined ; /**
     * <p>The feedback value. </p>
     */ Feedback ? : AnomalyFeedbackType | string ; } export namespace Anomaly { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The time period for an anomaly. </p>
 */ export interface AnomalyDateInterval { /**
     * <p>The first date an anomaly was observed. </p>
     */ StartDate : string | undefined ; /**
     * <p>The last date an anomaly was observed. </p>
     */ EndDate ? : string ; } export namespace AnomalyDateInterval { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum MonitorDimension { SERVICE = "SERVICE" } export enum MatchOption { ABSENT = "ABSENT" , CASE_INSENSITIVE = "CASE_INSENSITIVE" , CASE_SENSITIVE = "CASE_SENSITIVE" , CONTAINS = "CONTAINS" , ENDS_WITH = "ENDS_WITH" , EQUALS = "EQUALS" , STARTS_WITH = "STARTS_WITH" } /**
 * <p>The Cost Categories values used for filtering the costs.</p>
 *         <p>If <code>Values</code> and <code>Key</code> are not specified, the <code>ABSENT</code>
 *             <code>MatchOption</code> is applied to all Cost Categories. That is, it filters on
 *             resources that aren't mapped to any Cost Categories.</p>
 *         <p>If <code>Values</code> is provided and <code>Key</code> isn't specified, the
 *                 <code>ABSENT</code>
 *             <code>MatchOption</code> is applied to the Cost Categories <code>Key</code> only. That
 *             is, it filters on resources without the given Cost Categories key.</p>
 */ export interface CostCategoryValues { /**
     * <p>The unique name of the Cost Category.</p>
     */ Key ? : string ; /**
     * <p>The specific value of the Cost Category.</p>
     */ Values ? : string [ ] ; /**
     * <p>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
     *                 <code>MatchOptions</code> is <code>EQUALS</code> and <code>CASE_SENSITIVE</code>.
     *         </p>
     */ MatchOptions ? : ( MatchOption | string ) [ ] ; } export namespace CostCategoryValues { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum Dimension { AGREEMENT_END_DATE_TIME_AFTER = "AGREEMENT_END_DATE_TIME_AFTER" , AGREEMENT_END_DATE_TIME_BEFORE = "AGREEMENT_END_DATE_TIME_BEFORE" , AZ = "AZ" , BILLING_ENTITY = "BILLING_ENTITY" , CACHE_ENGINE = "CACHE_ENGINE" , DATABASE_ENGINE = "DATABASE_ENGINE" , DEPLOYMENT_OPTION = "DEPLOYMENT_OPTION" , INSTANCE_TYPE = "INSTANCE_TYPE" , INSTANCE_TYPE_FAMILY = "INSTANCE_TYPE_FAMILY" , LEGAL_ENTITY_NAME = "LEGAL_ENTITY_NAME" , LINKED_ACCOUNT = "LINKED_ACCOUNT" , LINKED_ACCOUNT_NAME = "LINKED_ACCOUNT_NAME" , OPERATING_SYSTEM = "OPERATING_SYSTEM" , OPERATION = "OPERATION" , PAYMENT_OPTION = "PAYMENT_OPTION" , PLATFORM = "PLATFORM" , PURCHASE_TYPE = "PURCHASE_TYPE" , RECORD_TYPE = "RECORD_TYPE" , REGION = "REGION" , RESERVATION_ID = "RESERVATION_ID" , RESOURCE_ID = "RESOURCE_ID" , RIGHTSIZING_TYPE = "RIGHTSIZING_TYPE" , SAVINGS_PLANS_TYPE = "SAVINGS_PLANS_TYPE" , SAVINGS_PLAN_ARN = "SAVINGS_PLAN_ARN" , SCOPE = "SCOPE" , SERVICE = "SERVICE" , SERVICE_CODE = "SERVICE_CODE" , SUBSCRIPTION_ID = "SUBSCRIPTION_ID" , TENANCY = "TENANCY" , USAGE_TYPE = "USAGE_TYPE" , USAGE_TYPE_GROUP = "USAGE_TYPE_GROUP" } /**
 * <p>The metadata that you can use to filter and group your results. You can use
 *                 <code>GetDimensionValues</code> to find specific values.</p>
 */ export interface DimensionValues { /**
     * <p>The names of the metadata types that you can use to filter and group your results. For
     *             example, <code>AZ</code> returns a list of Availability Zones.</p>
     */ Key ? : Dimension | string ; /**
     * <p>The metadata values that you can use to filter and group your results. You can use
     *                 <code>GetDimensionValues</code> to find specific values.</p>
     */ Values ? : string [ ] ; /**
     * <p>The match options that you can use to filter your results. <code>MatchOptions</code>
     *             is only applicable for actions related to Cost Category. The default values for
     *                 <code>MatchOptions</code> are <code>EQUALS</code> and
     *             <code>CASE_SENSITIVE</code>.</p>
     */ MatchOptions ? : ( MatchOption | string ) [ ] ; } export namespace DimensionValues { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The values that are available for a tag.</p>
 *         <p>If <code>Values</code> and <code>Key</code> aren't specified, the <code>ABSENT</code>
 *             <code>MatchOption</code> is applied to all tags. That is, it's filtered on resources
 *             with no tags.</p>
 *         <p>If <code>Values</code> is provided and <code>Key</code> isn't specified, the
 *                 <code>ABSENT</code>
 *             <code>MatchOption</code> is applied to the tag <code>Key</code> only. That is, it's
 *             filtered on resources without the given tag key.</p>
 */ export interface TagValues { /**
     * <p>The key for the tag.</p>
     */ Key ? : string ; /**
     * <p>The specific value of the tag.</p>
     */ Values ? : string [ ] ; /**
     * <p>The match options that you can use to filter your results. <code>MatchOptions</code>
     *             is only applicable for actions related to Cost Category. The default values for
     *                 <code>MatchOptions</code> are <code>EQUALS</code> and
     *             <code>CASE_SENSITIVE</code>.</p>
     */ MatchOptions ? : ( MatchOption | string ) [ ] ; } export namespace TagValues { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum MonitorType { CUSTOM = "CUSTOM" , DIMENSIONAL = "DIMENSIONAL" } export enum AnomalySubscriptionFrequency { DAILY = "DAILY" , IMMEDIATE = "IMMEDIATE" , WEEKLY = "WEEKLY" } export enum SubscriberStatus { CONFIRMED = "CONFIRMED" , DECLINED = "DECLINED" } export enum SubscriberType { EMAIL = "EMAIL" , SNS = "SNS" } /**
 * <p>The recipient of <code>AnomalySubscription</code> notifications. </p>
 */ export interface Subscriber { /**
     * <p>The email address or SNS Amazon Resource Name (ARN). This depends on the
     *                 <code>Type</code>. </p>
     */ Address ? : string ; /**
     * <p>The notification delivery channel. </p>
     */ Type ? : SubscriberType | string ; /**
     * <p>Indicates if the subscriber accepts the notifications. </p>
     */ Status ? : SubscriberStatus | string ; } export namespace Subscriber { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The association between a monitor, threshold, and list of subscribers used to deliver
 *             notifications about anomalies detected by a monitor that exceeds a threshold. The
 *             content consists of the detailed metadata and the current status of the
 *                 <code>AnomalySubscription</code> object. </p>
 */ export interface AnomalySubscription { /**
     * <p>The <code>AnomalySubscription</code> Amazon Resource Name (ARN). </p>
     */ SubscriptionArn ? : string ; /**
     * <p>Your unique account identifier. </p>
     */ AccountId ? : string ; /**
     * <p>A list of cost anomaly monitors. </p>
     */ MonitorArnList : string [ ] | undefined ; /**
     * <p>A list of subscribers to notify. </p>
     */ Subscribers : Subscriber [ ] | undefined ; /**
     * <p>The dollar value that triggers a notification if the threshold is exceeded. </p>
     */ Threshold : number | undefined ; /**
     * <p>The frequency that anomaly reports are sent over email. </p>
     */ Frequency : AnomalySubscriptionFrequency | string | undefined ; /**
     * <p>The name for the subscription. </p>
     */ SubscriptionName : string | undefined ; } export namespace AnomalySubscription { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface CreateAnomalyMonitorResponse { /**
     * <p>The unique identifier of your newly created cost anomaly detection monitor.</p>
     */ MonitorArn : string | undefined ; } export namespace CreateAnomalyMonitorResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>You made too many calls in a short period of time. Try again later.</p>
 */ export interface LimitExceededException extends __SmithyException , $MetadataBearer { name : "LimitExceededException" ; $fault : "client" ; Message ? : string ; } export interface CreateAnomalySubscriptionRequest { /**
     * <p>The cost anomaly subscription object that you want to create. </p>
     */ AnomalySubscription : AnomalySubscription | undefined ; } export namespace CreateAnomalySubscriptionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface CreateAnomalySubscriptionResponse { /**
     * <p>The unique identifier of your newly created cost anomaly subscription. </p>
     */ SubscriptionArn : string | undefined ; } export namespace CreateAnomalySubscriptionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The cost anomaly monitor does not exist for the account.
 *         </p>
 */ export interface UnknownMonitorException extends __SmithyException , $MetadataBearer { name : "UnknownMonitorException" ; $fault : "client" ; Message ? : string ; } export enum CostCategoryInheritedValueDimensionName { LINKED_ACCOUNT_NAME = "LINKED_ACCOUNT_NAME" , TAG = "TAG" } /**
 * <p>When creating or updating a cost category, you can define the
 *                 <code>CostCategoryRule</code> rule type as <code>INHERITED_VALUE</code>. This rule
 *             type adds the flexibility of defining a rule that dynamically inherits the cost category
 *             value from the dimension value defined by
 *                 <code>CostCategoryInheritedValueDimension</code>. For example, if you want to
 *             dynamically group costs that are 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.</p>
 */ export interface CostCategoryInheritedValueDimension { /**
     * <p>The name of the dimension that's used to group costs.</p>
     *         <p>If you specify <code>LINKED_ACCOUNT_NAME</code>, the cost category value is based on
     *             account name. If you specify <code>TAG</code>, the cost category value will be based on
     *             the value of the specified tag key.</p>
     */ DimensionName ? : CostCategoryInheritedValueDimensionName | string ; /**
     * <p>The key to extract cost category values.</p>
     */ DimensionKey ? : string ; } export namespace CostCategoryInheritedValueDimension { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum CostCategoryRuleType { INHERITED_VALUE = "INHERITED_VALUE" , REGULAR = "REGULAR" } export enum CostCategoryRuleVersion { CostCategoryExpressionV1 = "CostCategoryExpression.v1" } export enum CostCategorySplitChargeMethod { EVEN = "EVEN" , FIXED = "FIXED" , PROPORTIONAL = "PROPORTIONAL" } export enum CostCategorySplitChargeRuleParameterType { ALLOCATION_PERCENTAGES = "ALLOCATION_PERCENTAGES" } /**
 * <p>The parameters for a split charge method. </p>
 */ export interface CostCategorySplitChargeRuleParameter { /**
     * <p>The parameter type. </p>
     */ Type : CostCategorySplitChargeRuleParameterType | string | undefined ; /**
     * <p>The parameter values. </p>
     */ Values : string [ ] | undefined ; } export namespace CostCategorySplitChargeRuleParameter { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Use the split charge rule to split the cost of one Cost Category value across several
 *             other target values. </p>
 */ export interface CostCategorySplitChargeRule { /**
     * <p>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.</p>
     */ Source : string | undefined ; /**
     * <p>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. </p>
     */ Targets : string [ ] | undefined ; /**
     * <p>The method that's used to define how to split your source costs across your targets. </p>
     *         <p>
     *             <code>Proportional</code> - Allocates charges across your targets based on the
     *             proportional weighted cost of each target.</p>
     *         <p>
     *             <code>Fixed</code> - Allocates charges across your targets based on your defined
     *             allocation percentage.</p>
     *         <p>><code>Even</code> - Allocates costs evenly across all targets.</p>
     */ Method : CostCategorySplitChargeMethod | string | undefined ; /**
     * <p>The parameters for a split charge method. This is only required for the
     *                 <code>FIXED</code> method. </p>
     */ Parameters ? : CostCategorySplitChargeRuleParameter [ ] ; } export namespace CostCategorySplitChargeRule { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface CreateCostCategoryDefinitionResponse { /**
     * <p>
     *       The unique identifier for your newly created Cost Category.
     *     </p>
     */ CostCategoryArn ? : string ; /**
     * <p>
     *       The Cost Category's effective start date.
     *     </p>
     */ EffectiveStart ? : string ; } export namespace CreateCostCategoryDefinitionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p> You've reached the limit on the number of resources you can create, or exceeded the
 *             size of an individual resource. </p>
 */ export interface ServiceQuotaExceededException extends __SmithyException , $MetadataBearer { name : "ServiceQuotaExceededException" ; $fault : "client" ; Message ? : string ; } export interface DeleteAnomalyMonitorRequest { /**
     * <p>The unique identifier of the cost anomaly monitor that you want to delete. </p>
     */ MonitorArn : string | undefined ; } export namespace DeleteAnomalyMonitorRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface DeleteAnomalyMonitorResponse { } export namespace DeleteAnomalyMonitorResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface DeleteAnomalySubscriptionRequest { /**
     * <p>The unique identifier of the cost anomaly subscription that you want to delete. </p>
     */ SubscriptionArn : string | undefined ; } export namespace DeleteAnomalySubscriptionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface DeleteAnomalySubscriptionResponse { } export namespace DeleteAnomalySubscriptionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The cost anomaly subscription does not exist for the account.
 *         </p>
 */ export interface UnknownSubscriptionException extends __SmithyException , $MetadataBearer { name : "UnknownSubscriptionException" ; $fault : "client" ; Message ? : string ; } export interface DeleteCostCategoryDefinitionRequest { /**
     * <p>
     *       The unique identifier for your Cost Category.
     *     </p>
     */ CostCategoryArn : string | undefined ; } export namespace DeleteCostCategoryDefinitionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface DeleteCostCategoryDefinitionResponse { /**
     * <p>
     *       The unique identifier for your Cost Category.
     *     </p>
     */ CostCategoryArn ? : string ; /**
     * <p>
     *       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.
     *     </p>
     */ EffectiveEnd ? : string ; } export namespace DeleteCostCategoryDefinitionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>
 *             The specified ARN in the request doesn't exist.
 *         </p>
 */ export interface ResourceNotFoundException extends __SmithyException , $MetadataBearer { name : "ResourceNotFoundException" ; $fault : "client" ; Message ? : string ; } export interface DescribeCostCategoryDefinitionRequest { /**
     * <p>
     *       The unique identifier for your Cost Category.
     *     </p>
     */ CostCategoryArn : string | undefined ; /**
     * <p>
     *       The date when the Cost Category was effective.
     *     </p>
     */ EffectiveOn ? : string ; } export namespace DescribeCostCategoryDefinitionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum CostCategoryStatusComponent { COST_EXPLORER = "COST_EXPLORER" } export enum CostCategoryStatus { APPLIED = "APPLIED" , PROCESSING = "PROCESSING" } /**
 * <p>The list of processing statuses for Cost Management products for a specific cost
 *             category. </p>
 */ export interface CostCategoryProcessingStatus { /**
     * <p>The Cost Management product name of the applied status. </p>
     */ Component ? : CostCategoryStatusComponent | string ; /**
     * <p>The process status for a specific cost category. </p>
     */ Status ? : CostCategoryStatus | string ; } export namespace CostCategoryProcessingStatus { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum NumericOperator { BETWEEN = "BETWEEN" , EQUAL = "EQUAL" , GREATER_THAN = "GREATER_THAN" , GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL" , LESS_THAN = "LESS_THAN" , LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL" } /**
 * <p>Filters cost anomalies based on the total impact. </p>
 */ export interface TotalImpactFilter { /**
     * <p>The comparing value that's used in the filter. </p>
     */ NumericOperator : NumericOperator | string | undefined ; /**
     * <p>The lower bound dollar value that's used in the filter. </p>
     */ StartValue : number | undefined ; /**
     * <p>The upper bound dollar value that's used in the filter. </p>
     */ EndValue ? : number ; } export namespace TotalImpactFilter { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetAnomaliesRequest { /**
     * <p>Retrieves all of the cost anomalies detected for a specific cost anomaly monitor Amazon
     *       Resource Name (ARN). </p>
     */ MonitorArn ? : string ; /**
     * <p>Assigns the start and end dates for retrieving cost anomalies. The returned anomaly object
     *       will have an <code>AnomalyEndDate</code> in the specified time range. </p>
     */ DateInterval : AnomalyDateInterval | undefined ; /**
     * <p>Filters anomaly results by the feedback field on the anomaly object. </p>
     */ Feedback ? : AnomalyFeedbackType | string ; /**
     * <p>Filters anomaly results by the total impact field on the anomaly object. For example, you
     *       can filter anomalies <code>GREATER_THAN 200.00</code> to retrieve anomalies, with an estimated
     *       dollar impact greater than 200. </p>
     */ TotalImpact ? : TotalImpactFilter ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; /**
     * <p>The number of entries a paginated response contains. </p>
     */ MaxResults ? : number ; } export namespace GetAnomaliesRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetAnomaliesResponse { /**
     * <p>A list of cost anomalies. </p>
     */ Anomalies : Anomaly [ ] | undefined ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; } export namespace GetAnomaliesResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The pagination token is invalid. Try again without a pagination token.</p>
 */ export interface InvalidNextTokenException extends __SmithyException , $MetadataBearer { name : "InvalidNextTokenException" ; $fault : "client" ; Message ? : string ; } export interface GetAnomalyMonitorsRequest { /**
     * <p>A list of cost anomaly monitor ARNs. </p>
     */ MonitorArnList ? : string [ ] ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; /**
     * <p>The number of entries that a paginated response contains. </p>
     */ MaxResults ? : number ; } export namespace GetAnomalyMonitorsRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetAnomalySubscriptionsRequest { /**
     * <p>A list of cost anomaly subscription ARNs. </p>
     */ SubscriptionArnList ? : string [ ] ; /**
     * <p>Cost anomaly monitor ARNs. </p>
     */ MonitorArn ? : string ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; /**
     * <p>The number of entries a paginated response contains. </p>
     */ MaxResults ? : number ; } export namespace GetAnomalySubscriptionsRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetAnomalySubscriptionsResponse { /**
     * <p>A list of cost anomaly subscriptions that includes the detailed metadata for each one. </p>
     */ AnomalySubscriptions : AnomalySubscription [ ] | undefined ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; } export namespace GetAnomalySubscriptionsResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The requested report expired. Update the date interval and try again.</p>
 */ export interface BillExpirationException extends __SmithyException , $MetadataBearer { name : "BillExpirationException" ; $fault : "client" ; Message ? : string ; } /**
 * <p>The requested data is unavailable.</p>
 */ export interface DataUnavailableException extends __SmithyException , $MetadataBearer { name : "DataUnavailableException" ; $fault : "client" ; Message ? : string ; } export enum Granularity { DAILY = "DAILY" , HOURLY = "HOURLY" , MONTHLY = "MONTHLY" } export enum GroupDefinitionType { COST_CATEGORY = "COST_CATEGORY" , DIMENSION = "DIMENSION" , TAG = "TAG" } /**
 * <p>Represents a group when you specify a group by criteria or in the response to a query
 *             with a specific grouping.</p>
 */ export interface GroupDefinition { /**
     * <p>The string that represents the type of group.</p>
     */ Type ? : GroupDefinitionType | string ; /**
     * <p>The string that represents a key for a specified group.</p>
     */ Key ? : string ; } export namespace GroupDefinition { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The time period of the request. </p>
 */ export interface DateInterval { /**
     * <p>The beginning of the time period. The start date is inclusive. For example, if
     *                 <code>start</code> is <code>2017-01-01</code>, Amazon Web Services retrieves cost and
     *             usage data starting at <code>2017-01-01</code> up to the end date. The start date must
     *             be equal to or no later than the current date to avoid a validation error.</p>
     */ Start : string | undefined ; /**
     * <p>The end of the time period. The end date is exclusive. For example, if
     *                 <code>end</code> is <code>2017-05-01</code>, Amazon Web Services retrieves cost and
     *             usage data from the start date up to, but not including, <code>2017-05-01</code>.</p>
     */ End : string | undefined ; } export namespace DateInterval { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The metadata of a specific type that you can use to filter and group your results. You
 *             can use <code>GetDimensionValues</code> to find specific values.</p>
 */ export interface DimensionValuesWithAttributes { /**
     * <p>The value of a dimension with a specific attribute.</p>
     */ Value ? : string ; /**
     * <p>The attribute that applies to a specific <code>Dimension</code>.</p>
     */ Attributes ? : { [ key ] : string ; } ; } export namespace DimensionValuesWithAttributes { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The aggregated value for a metric.</p>
 */ export interface MetricValue { /**
     * <p>The actual number that represents the metric.</p>
     */ Amount ? : string ; /**
     * <p>The unit that the metric is given in.</p>
     */ Unit ? : string ; } export namespace MetricValue { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>One level of grouped data in the results.</p>
 */ export interface Group { /**
     * <p>The keys that are included in this group.</p>
     */ Keys ? : string [ ] ; /**
     * <p>The metrics that are included in this group.</p>
     */ Metrics ? : { [ key ] : MetricValue ; } ; } export namespace Group { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The result that's associated with a time period.</p>
 */ export interface ResultByTime { /**
     * <p>The time period that the result covers.</p>
     */ TimePeriod ? : DateInterval ; /**
     * <p>The total amount of cost or usage accrued during the time period.</p>
     */ Total ? : { [ key ] : MetricValue ; } ; /**
     * <p>The groups that this time period includes.</p>
     */ Groups ? : Group [ ] ; /**
     * <p>Determines whether the result is estimated.</p>
     */ Estimated ? : boolean ; } export namespace ResultByTime { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostAndUsageResponse { /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The groups that are specified by the <code>Filter</code> or <code>GroupBy</code> parameters in the request.</p>
     */ GroupDefinitions ? : GroupDefinition [ ] ; /**
     * <p>The time period that's covered by the results in the response.</p>
     */ ResultsByTime ? : ResultByTime [ ] ; /**
     * <p>The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.</p>
     */ DimensionValueAttributes ? : DimensionValuesWithAttributes [ ] ; } export namespace GetCostAndUsageResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Your request parameters changed between pages. Try again with the old parameters or
 *             without a pagination token.</p>
 */ export interface RequestChangedException extends __SmithyException , $MetadataBearer { name : "RequestChangedException" ; $fault : "client" ; Message ? : string ; } export interface GetCostAndUsageWithResourcesResponse { /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The groups that are specified by the <code>Filter</code> or <code>GroupBy</code>
     *       parameters in the request.</p>
     */ GroupDefinitions ? : GroupDefinition [ ] ; /**
     * <p>The time period that is covered by the results in the response.</p>
     */ ResultsByTime ? : ResultByTime [ ] ; /**
     * <p>The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.</p>
     */ DimensionValueAttributes ? : DimensionValuesWithAttributes [ ] ; } export namespace GetCostAndUsageWithResourcesResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum SortOrder { ASCENDING = "ASCENDING" , DESCENDING = "DESCENDING" } /**
 * <p>The details of how to sort the data.</p>
 */ export interface SortDefinition { /**
     * <p>The key that's used to sort the data.</p>
     */ Key : string | undefined ; /**
     * <p>The order that's used to sort the data.</p>
     */ SortOrder ? : SortOrder | string ; } export namespace SortDefinition { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostCategoriesResponse { /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The names of the Cost Categories.</p>
     */ CostCategoryNames ? : string [ ] ; /**
     * <p>The Cost Category values.</p>
     *          <p>
     *             <code>CostCategoryValues</code> are not returned if <code>CostCategoryName</code> is not specified in the request. </p>
     */ CostCategoryValues ? : string [ ] ; /**
     * <p>The number of objects returned.</p>
     */ ReturnSize : number | undefined ; /**
     * <p>The total number of objects.</p>
     */ TotalSize : number | undefined ; } export namespace GetCostCategoriesResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum Metric { AMORTIZED_COST = "AMORTIZED_COST" , BLENDED_COST = "BLENDED_COST" , NET_AMORTIZED_COST = "NET_AMORTIZED_COST" , NET_UNBLENDED_COST = "NET_UNBLENDED_COST" , NORMALIZED_USAGE_AMOUNT = "NORMALIZED_USAGE_AMOUNT" , UNBLENDED_COST = "UNBLENDED_COST" , USAGE_QUANTITY = "USAGE_QUANTITY" } /**
 * <p>The forecast that's created for your query.</p>
 */ export interface ForecastResult { /**
     * <p>The period of time that the forecast covers.</p>
     */ TimePeriod ? : DateInterval ; /**
     * <p>The mean value of the forecast.</p>
     */ MeanValue ? : string ; /**
     * <p>The lower limit for the prediction interval. </p>
     */ PredictionIntervalLowerBound ? : string ; /**
     * <p>The upper limit for the prediction interval. </p>
     */ PredictionIntervalUpperBound ? : string ; } export namespace ForecastResult { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostForecastResponse { /**
     * <p>How much you are forecasted to spend over the forecast period, in <code>USD</code>.</p>
     */ Total ? : MetricValue ; /**
     * <p>The forecasts for your query, in order. For <code>DAILY</code> forecasts, this is a list of days. For <code>MONTHLY</code> forecasts,
     * 			this is a list of months.</p>
     */ ForecastResultsByTime ? : ForecastResult [ ] ; } export namespace GetCostForecastResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum Context { COST_AND_USAGE = "COST_AND_USAGE" , RESERVATIONS = "RESERVATIONS" , SAVINGS_PLANS = "SAVINGS_PLANS" } export interface GetDimensionValuesResponse { /**
     * <p>The filters that you used to filter your request. Some dimensions are available only for a specific context.</p>
     * 		       <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following
     *            dimensions for searching:</p>
     *            <ul>
     *             <li>
     *                <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
     *             </li>
     *             <li>
     *                <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
     *             </li>
     *             <li>
     *                <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and <code>CreateBucket</code>.</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand
     *                Instances and Standard Reserved Instances.</p>
     *             </li>
     *             <li>
     *                <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p>
     *             </li>
     *             <li>
     *                <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the <code>GetDimensionValues</code> operation
     *            includes a unit attribute. Examples include GB and Hrs.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.</p>
     *             </li>
     *             <li>
     *                <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.</p>
     *             </li>
     *          </ul>
     *          <p>If you set the context to <code>RESERVATIONS</code>, you can use the following
     *            dimensions for searching:</p>
     *          <ul>
     *             <li>
     *                <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
     *             </li>
     *             <li>
     *                <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>REGION - The Amazon Web Services Region.</p>
     *             </li>
     *             <li>
     *                <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.</p>
     *             </li>
     *             <li>
     *                <p>TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).</p>
     *             </li>
     *             <li>
     *                <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p>
     *             </li>
     *          </ul>
     *          <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following dimensions for searching:</p>
     *          <ul>
     *             <li>
     *                <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p>
     *             </li>
     *             <li>
     *                <p>PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront)</p>
     *             </li>
     *             <li>
     *                <p>REGION - The Amazon Web Services Region.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE_FAMILY - The family of instances (For example, <code>m5</code>)</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan</p>
     *             </li>
     *          </ul>
     */ DimensionValues : DimensionValuesWithAttributes [ ] | undefined ; /**
     * <p>The number of results that Amazon Web Services returned at one time.</p>
     */ ReturnSize : number | undefined ; /**
     * <p>The total number of search results.</p>
     */ TotalSize : number | undefined ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetDimensionValuesResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>How much it costs to run an instance.</p>
 */ export interface CoverageCost { /**
     * <p>How much an On-Demand Instance costs.</p>
     */ OnDemandCost ? : string ; } export namespace CoverageCost { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>How long a running instance either used a reservation or was On-Demand.</p>
 */ export interface CoverageHours { /**
     * <p>The number of instance running hours that On-Demand Instances covered.</p>
     */ OnDemandHours ? : string ; /**
     * <p>The number of instance running hours that reservations covered.</p>
     */ ReservedHours ? : string ; /**
     * <p>The total instance usage, in hours.</p>
     */ TotalRunningHours ? : string ; /**
     * <p>The percentage of instance hours that a reservation covered.</p>
     */ CoverageHoursPercentage ? : string ; } export namespace CoverageHours { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of instance usage, in normalized units. You can use normalized units to see
 *             your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose
 *             that you run an xlarge instance and a 2xlarge instance. If you run both instances for
 *             the same amount of time, the 2xlarge instance uses twice as much of your reservation as
 *             the xlarge instance, even though both instances show only one instance-hour. When you
 *             use normalized units instead of instance-hours, the xlarge instance used 8 normalized
 *             units, and the 2xlarge instance used 16 normalized units.</p>
 *         <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-modifying.html">Modifying Reserved Instances</a>
 *             in the <i>Amazon Elastic Compute Cloud User Guide for Linux
 *             Instances</i>.</p>
 */ export interface CoverageNormalizedUnits { /**
     * <p>The number of normalized units that are covered by On-Demand Instances instead of a
     *             reservation.</p>
     */ OnDemandNormalizedUnits ? : string ; /**
     * <p>The number of normalized units that a reservation covers.</p>
     */ ReservedNormalizedUnits ? : string ; /**
     * <p>The total number of normalized units that you used.</p>
     */ TotalRunningNormalizedUnits ? : string ; /**
     * <p>The percentage of your used instance normalized units that a reservation
     *             covers.</p>
     */ CoverageNormalizedUnitsPercentage ? : string ; } export namespace CoverageNormalizedUnits { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of instance usage that a reservation covered.</p>
 */ export interface Coverage { /**
     * <p>The amount of instance usage that the reservation covered, in hours.</p>
     */ CoverageHours ? : CoverageHours ; /**
     * <p>The amount of instance usage that the reservation covered, in normalized units.</p>
     */ CoverageNormalizedUnits ? : CoverageNormalizedUnits ; /**
     * <p>The amount of cost that the reservation covered.</p>
     */ CoverageCost ? : CoverageCost ; } export namespace Coverage { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>A group of reservations that share a set of attributes.</p>
 */ export interface ReservationCoverageGroup { /**
     * <p>The attributes for this group of reservations.</p>
     */ Attributes ? : { [ key ] : string ; } ; /**
     * <p>How much instance usage this group of reservations covered.</p>
     */ Coverage ? : Coverage ; } export namespace ReservationCoverageGroup { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Reservation coverage for a specified period, in hours.</p>
 */ export interface CoverageByTime { /**
     * <p>The period that this coverage was used over.</p>
     */ TimePeriod ? : DateInterval ; /**
     * <p>The groups of instances that the reservation covered.</p>
     */ Groups ? : ReservationCoverageGroup [ ] ; /**
     * <p>The total reservation coverage, in hours.</p>
     */ Total ? : Coverage ; } export namespace CoverageByTime { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetReservationCoverageResponse { /**
     * <p>The amount of time that your reservations covered.</p>
     */ CoveragesByTime : CoverageByTime [ ] | undefined ; /**
     * <p>The total amount of instance usage that a reservation covered.</p>
     */ Total ? : Coverage ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetReservationCoverageResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum LookbackPeriodInDays { SEVEN_DAYS = "SEVEN_DAYS" , SIXTY_DAYS = "SIXTY_DAYS" , THIRTY_DAYS = "THIRTY_DAYS" } export enum PaymentOption { ALL_UPFRONT = "ALL_UPFRONT" , HEAVY_UTILIZATION = "HEAVY_UTILIZATION" , LIGHT_UTILIZATION = "LIGHT_UTILIZATION" , MEDIUM_UTILIZATION = "MEDIUM_UTILIZATION" , NO_UPFRONT = "NO_UPFRONT" , PARTIAL_UPFRONT = "PARTIAL_UPFRONT" } export enum OfferingClass { CONVERTIBLE = "CONVERTIBLE" , STANDARD = "STANDARD" } /**
 * <p>The Amazon EC2 hardware specifications that you want Amazon Web Services to provide
 *             recommendations for.</p>
 */ export interface EC2Specification { /**
     * <p>Indicates whether you want a recommendation for standard or convertible
     *             reservations.</p>
     */ OfferingClass ? : OfferingClass | string ; } export namespace EC2Specification { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Hardware specifications for the service that you want recommendations for.</p>
 */ export interface ServiceSpecification { /**
     * <p>The Amazon EC2 hardware specifications that you want Amazon Web Services to provide
     *             recommendations for.</p>
     */ EC2Specification ? : EC2Specification ; } export namespace ServiceSpecification { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum TermInYears { ONE_YEAR = "ONE_YEAR" , THREE_YEARS = "THREE_YEARS" } /**
 * <p>Information about this specific recommendation, such as the timestamp for when Amazon Web Services made a specific recommendation.</p>
 */ export interface ReservationPurchaseRecommendationMetadata { /**
     * <p>The ID for this specific recommendation.</p>
     */ RecommendationId ? : string ; /**
     * <p>The timestamp for when Amazon Web Services made this recommendation.</p>
     */ GenerationTimestamp ? : string ; } export namespace ReservationPurchaseRecommendationMetadata { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the Amazon EC2 instances that Amazon Web Services recommends that you
 *             purchase.</p>
 */ export interface EC2InstanceDetails { /**
     * <p>The instance family of the recommended reservation.</p>
     */ Family ? : string ; /**
     * <p>The type of instance that Amazon Web Services recommends.</p>
     */ InstanceType ? : string ; /**
     * <p>The Amazon Web Services Region of the recommended reservation.</p>
     */ Region ? : string ; /**
     * <p>The Availability Zone of the recommended reservation.</p>
     */ AvailabilityZone ? : string ; /**
     * <p>The platform of the recommended reservation. The platform is the specific combination
     *             of operating system, license model, and software on an instance.</p>
     */ Platform ? : string ; /**
     * <p>Determines whether the recommended reservation is dedicated or shared.</p>
     */ Tenancy ? : string ; /**
     * <p>Determines whether the recommendation is for a current-generation instance. </p>
     */ CurrentGeneration ? : boolean ; /**
     * <p>Determines whether the recommended reservation is size flexible.</p>
     */ SizeFlexEligible ? : boolean ; } export namespace EC2InstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the Amazon ElastiCache instances that Amazon Web Services recommends that
 *             you purchase.</p>
 */ export interface ElastiCacheInstanceDetails { /**
     * <p>The instance family of the recommended reservation.</p>
     */ Family ? : string ; /**
     * <p>The type of node that Amazon Web Services recommends.</p>
     */ NodeType ? : string ; /**
     * <p>The Amazon Web Services Region of the recommended reservation.</p>
     */ Region ? : string ; /**
     * <p>The description of the recommended reservation.</p>
     */ ProductDescription ? : string ; /**
     * <p>Determines whether the recommendation is for a current generation instance.</p>
     */ CurrentGeneration ? : boolean ; /**
     * <p>Determines whether the recommended reservation is size flexible.</p>
     */ SizeFlexEligible ? : boolean ; } export namespace ElastiCacheInstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the Amazon ES instances that Amazon Web Services recommends that you
 *             purchase.</p>
 */ export interface ESInstanceDetails { /**
     * <p>The class of instance that Amazon Web Services recommends.</p>
     */ InstanceClass ? : string ; /**
     * <p>The size of instance that Amazon Web Services recommends.</p>
     */ InstanceSize ? : string ; /**
     * <p>The Amazon Web Services Region of the recommended reservation.</p>
     */ Region ? : string ; /**
     * <p>Determines whether the recommendation is for a current-generation instance.</p>
     */ CurrentGeneration ? : boolean ; /**
     * <p>Determines whether the recommended reservation is size flexible.</p>
     */ SizeFlexEligible ? : boolean ; } export namespace ESInstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the Amazon RDS instances that Amazon Web Services recommends that you
 *             purchase.</p>
 */ export interface RDSInstanceDetails { /**
     * <p>The instance family of the recommended reservation.</p>
     */ Family ? : string ; /**
     * <p>The type of instance that Amazon Web Services recommends.</p>
     */ InstanceType ? : string ; /**
     * <p>The Amazon Web Services Region of the recommended reservation.</p>
     */ Region ? : string ; /**
     * <p>The database engine that the recommended reservation supports.</p>
     */ DatabaseEngine ? : string ; /**
     * <p>The database edition that the recommended reservation supports.</p>
     */ DatabaseEdition ? : string ; /**
     * <p>Determines whether the recommendation is for a reservation in a single Availability
     *             Zone or a reservation with a backup in a second Availability Zone.</p>
     */ DeploymentOption ? : string ; /**
     * <p>The license model that the recommended reservation supports.</p>
     */ LicenseModel ? : string ; /**
     * <p>Determines whether the recommendation is for a current-generation instance. </p>
     */ CurrentGeneration ? : boolean ; /**
     * <p>Determines whether the recommended reservation is size flexible.</p>
     */ SizeFlexEligible ? : boolean ; } export namespace RDSInstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the Amazon Redshift instances that Amazon Web Services recommends that
 *             you purchase.</p>
 */ export interface RedshiftInstanceDetails { /**
     * <p>The instance family of the recommended reservation.</p>
     */ Family ? : string ; /**
     * <p>The type of node that Amazon Web Services recommends.</p>
     */ NodeType ? : string ; /**
     * <p>The Amazon Web Services Region of the recommended reservation.</p>
     */ Region ? : string ; /**
     * <p>Determines whether the recommendation is for a current-generation instance.</p>
     */ CurrentGeneration ? : boolean ; /**
     * <p>Determines whether the recommended reservation is size flexible.</p>
     */ SizeFlexEligible ? : boolean ; } export namespace RedshiftInstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about the instances that Amazon Web Services recommends that you
 *             purchase.</p>
 */ export interface InstanceDetails { /**
     * <p>The Amazon EC2 instances that Amazon Web Services recommends that you purchase.</p>
     */ EC2InstanceDetails ? : EC2InstanceDetails ; /**
     * <p>The Amazon RDS instances that Amazon Web Services recommends that you purchase.</p>
     */ RDSInstanceDetails ? : RDSInstanceDetails ; /**
     * <p>The Amazon Redshift instances that Amazon Web Services recommends that you
     *             purchase.</p>
     */ RedshiftInstanceDetails ? : RedshiftInstanceDetails ; /**
     * <p>The ElastiCache instances that Amazon Web Services recommends that you purchase.</p>
     */ ElastiCacheInstanceDetails ? : ElastiCacheInstanceDetails ; /**
     * <p>The Amazon ES instances that Amazon Web Services recommends that you purchase.</p>
     */ ESInstanceDetails ? : ESInstanceDetails ; } export namespace InstanceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details about your recommended reservation purchase.</p>
 */ export interface ReservationPurchaseRecommendationDetail { /**
     * <p>The account that this RI recommendation is for.</p>
     */ AccountId ? : string ; /**
     * <p>Details about the instances that Amazon Web Services recommends that you
     *             purchase.</p>
     */ InstanceDetails ? : InstanceDetails ; /**
     * <p>The number of instances that Amazon Web Services recommends that you purchase.</p>
     */ RecommendedNumberOfInstancesToPurchase ? : string ; /**
     * <p>The number of normalized units that Amazon Web Services recommends that you
     *             purchase.</p>
     */ RecommendedNormalizedUnitsToPurchase ? : string ; /**
     * <p>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.</p>
     */ MinimumNumberOfInstancesUsedPerHour ? : string ; /**
     * <p>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.</p>
     */ MinimumNormalizedUnitsUsedPerHour ? : string ; /**
     * <p>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.</p>
     */ MaximumNumberOfInstancesUsedPerHour ? : string ; /**
     * <p>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.</p>
     */ MaximumNormalizedUnitsUsedPerHour ? : string ; /**
     * <p>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.</p>
     */ AverageNumberOfInstancesUsedPerHour ? : string ; /**
     * <p>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.</p>
     */ AverageNormalizedUnitsUsedPerHour ? : string ; /**
     * <p>The average utilization of your instances. Amazon Web Services uses this to calculate
     *             your recommended reservation purchases.</p>
     */ AverageUtilization ? : string ; /**
     * <p>How long Amazon Web Services estimates that it takes for this instance to start saving
     *             you money, in months.</p>
     */ EstimatedBreakEvenInMonths ? : string ; /**
     * <p>The currency code that Amazon Web Services used to calculate the costs for this
     *             instance.</p>
     */ CurrencyCode ? : string ; /**
     * <p>How much Amazon Web Services estimates that this specific recommendation could save you
     *             in a month.</p>
     */ EstimatedMonthlySavingsAmount ? : string ; /**
     * <p>How much Amazon Web Services estimates that this specific recommendation could save you
     *             in a month, as a percentage of your overall costs.</p>
     */ EstimatedMonthlySavingsPercentage ? : string ; /**
     * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances in a
     *             month.</p>
     */ EstimatedMonthlyOnDemandCost ? : string ; /**
     * <p>How much Amazon Web Services estimates that you would have spent for all usage during
     *             the specified historical period if you had a reservation.</p>
     */ EstimatedReservationCostForLookbackPeriod ? : string ; /**
     * <p>How much purchasing this instance costs you upfront.</p>
     */ UpfrontCost ? : string ; /**
     * <p>How much purchasing this instance costs you on a monthly basis.</p>
     */ RecurringStandardMonthlyCost ? : string ; } export namespace ReservationPurchaseRecommendationDetail { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>A summary about this recommendation, such as the currency code, the amount that
 *                 Amazon Web Services estimates that you could save, and the total amount of
 *             reservation to purchase.</p>
 */ export interface ReservationPurchaseRecommendationSummary { /**
     * <p>The total amount that Amazon Web Services estimates that this recommendation could save
     *             you in a month.</p>
     */ TotalEstimatedMonthlySavingsAmount ? : string ; /**
     * <p>The total amount that Amazon Web Services estimates that this recommendation could save
     *             you in a month, as a percentage of your costs.</p>
     */ TotalEstimatedMonthlySavingsPercentage ? : string ; /**
     * <p>The currency code used for this recommendation.</p>
     */ CurrencyCode ? : string ; } export namespace ReservationPurchaseRecommendationSummary { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>A specific reservation that Amazon Web Services recommends for purchase.</p>
 */ export interface ReservationPurchaseRecommendation { /**
     * <p>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.</p>
     */ AccountScope ? : AccountScope | string ; /**
     * <p>How many days of previous usage that Amazon Web Services considers when making this
     *             recommendation.</p>
     */ LookbackPeriodInDays ? : LookbackPeriodInDays | string ; /**
     * <p>The term of the reservation that you want recommendations for, in years.</p>
     */ TermInYears ? : TermInYears | string ; /**
     * <p>The payment option for the reservation (for example, <code>AllUpfront</code> or
     *                 <code>NoUpfront</code>).</p>
     */ PaymentOption ? : PaymentOption | string ; /**
     * <p>Hardware specifications for the service that you want recommendations for.</p>
     */ ServiceSpecification ? : ServiceSpecification ; /**
     * <p>Details about the recommended purchases.</p>
     */ RecommendationDetails ? : ReservationPurchaseRecommendationDetail [ ] ; /**
     * <p>A summary about the recommended purchase.</p>
     */ RecommendationSummary ? : ReservationPurchaseRecommendationSummary ; } export namespace ReservationPurchaseRecommendation { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetReservationPurchaseRecommendationResponse { /**
     * <p>Information about this specific recommendation call, such as the time stamp for when Cost Explorer generated this recommendation.</p>
     */ Metadata ? : ReservationPurchaseRecommendationMetadata ; /**
     * <p>Recommendations for reservations to purchase.</p>
     */ Recommendations ? : ReservationPurchaseRecommendation [ ] ; /**
     * <p>The pagination token for the next set of retrievable results.</p>
     */ NextPageToken ? : string ; } export namespace GetReservationPurchaseRecommendationResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The aggregated numbers for your reservation usage.</p>
 */ export interface ReservationAggregates { /**
     * <p>The percentage of reservation time that you used.</p>
     */ UtilizationPercentage ? : string ; /**
     * <p>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.</p>
     */ UtilizationPercentageInUnits ? : string ; /**
     * <p>How many reservation hours that you purchased.</p>
     */ PurchasedHours ? : string ; /**
     * <p>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.</p>
     */ PurchasedUnits ? : string ; /**
     * <p>The total number of reservation hours that you used.</p>
     */ TotalActualHours ? : string ; /**
     * <p>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.</p>
     */ TotalActualUnits ? : string ; /**
     * <p>The number of reservation hours that you didn't use.</p>
     */ UnusedHours ? : string ; /**
     * <p>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.</p>
     */ UnusedUnits ? : string ; /**
     * <p>How much your reservation costs if charged On-Demand rates.</p>
     */ OnDemandCostOfRIHoursUsed ? : string ; /**
     * <p>How much you saved due to purchasing and utilizing reservation. Amazon Web Services
     *             calculates this by subtracting <code>TotalAmortizedFee</code> from
     *                 <code>OnDemandCostOfRIHoursUsed</code>.</p>
     */ NetRISavings ? : string ; /**
     * <p>How much you might save if you use your entire reservation.</p>
     */ TotalPotentialRISavings ? : string ; /**
     * <p>The upfront cost of your reservation. It's amortized over the reservation
     *             period.</p>
     */ AmortizedUpfrontFee ? : string ; /**
     * <p>The monthly cost of your reservation. It's amortized over the reservation
     *             period.</p>
     */ AmortizedRecurringFee ? : string ; /**
     * <p>The total cost of your reservation. It's amortized over the reservation period.</p>
     */ TotalAmortizedFee ? : string ; /**
     * <p>The cost of unused hours for your reservation.</p>
     */ RICostForUnusedHours ? : string ; /**
     * <p>The realized savings because of purchasing and using a reservation.</p>
     */ RealizedSavings ? : string ; /**
     * <p>The unrealized savings because of purchasing and using a reservation.</p>
     */ UnrealizedSavings ? : string ; } export namespace ReservationAggregates { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>A group of reservations that share a set of attributes.</p>
 */ export interface ReservationUtilizationGroup { /**
     * <p>The key for a specific reservation attribute.</p>
     */ Key ? : string ; /**
     * <p>The value of a specific reservation attribute.</p>
     */ Value ? : string ; /**
     * <p>The attributes for this group of reservations.</p>
     */ Attributes ? : { [ key ] : string ; } ; /**
     * <p>How much you used this group of reservations.</p>
     */ Utilization ? : ReservationAggregates ; } export namespace ReservationUtilizationGroup { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of utilization, in hours.</p>
 */ export interface UtilizationByTime { /**
     * <p>The period of time that this utilization was used for.</p>
     */ TimePeriod ? : DateInterval ; /**
     * <p>The groups that this utilization result uses.</p>
     */ Groups ? : ReservationUtilizationGroup [ ] ; /**
     * <p>The total number of reservation hours that were used.</p>
     */ Total ? : ReservationAggregates ; } export namespace UtilizationByTime { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetReservationUtilizationResponse { /**
     * <p>The amount of time that you used your RIs.</p>
     */ UtilizationsByTime : UtilizationByTime [ ] | undefined ; /**
     * <p>The total amount of time that you used your RIs.</p>
     */ Total ? : ReservationAggregates ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetReservationUtilizationResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum RecommendationTarget { CROSS_INSTANCE_FAMILY = "CROSS_INSTANCE_FAMILY" , SAME_INSTANCE_FAMILY = "SAME_INSTANCE_FAMILY" } /**
 * <p>You can use <code>RightsizingRecommendationConfiguration</code> 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 that are associated with recommendations
 *             with consideration of existing Savings Plans or RI benefits, or neither. </p>
 */ export interface RightsizingRecommendationConfiguration { /**
     * <p>The option to see recommendations within the same instance family or recommendations
     *             for instances across other families. The default value is
     *                 <code>SAME_INSTANCE_FAMILY</code>. </p>
     */ RecommendationTarget : RecommendationTarget | string | undefined ; /**
     * <p>The option to consider RI or Savings Plans discount benefits in your savings
     *             calculation. The default value is <code>TRUE</code>. </p>
     */ BenefitsConsidered : boolean | undefined ; } export namespace RightsizingRecommendationConfiguration { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Metadata for this recommendation set.</p>
 */ export interface RightsizingRecommendationMetadata { /**
     * <p>The ID for this specific recommendation.</p>
     */ RecommendationId ? : string ; /**
     * <p>The timestamp for when Amazon Web Services made this recommendation.</p>
     */ GenerationTimestamp ? : string ; /**
     * <p>The number of days of previous usage that Amazon Web Services considers when making
     *             this recommendation.</p>
     */ LookbackPeriodInDays ? : LookbackPeriodInDays | string ; /**
     * <p>Additional metadata that might be applicable to the recommendation.</p>
     */ AdditionalMetadata ? : string ; } export namespace RightsizingRecommendationMetadata { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details on the Amazon EC2 Resource.</p>
 */ export interface EC2ResourceDetails { /**
     * <p>The hourly public On-Demand rate for the instance type.</p>
     */ HourlyOnDemandRate ? : string ; /**
     * <p>The type of Amazon Web Services instance.</p>
     */ InstanceType ? : string ; /**
     * <p>The platform of the Amazon Web Services instance. The platform is the specific
     *             combination of operating system, license model, and software on an instance.</p>
     */ Platform ? : string ; /**
     * <p>The Amazon Web Services Region of the instance.</p>
     */ Region ? : string ; /**
     * <p>The SKU of the product.</p>
     */ Sku ? : string ; /**
     * <p>The memory capacity of the Amazon Web Services instance.</p>
     */ Memory ? : string ; /**
     * <p>The network performance capacity of the Amazon Web Services instance.</p>
     */ NetworkPerformance ? : string ; /**
     * <p>The disk storage of the Amazon Web Services instance. This doesn't include EBS
     *             storage.</p>
     */ Storage ? : string ; /**
     * <p> The number of VCPU cores in the Amazon Web Services instance type.</p>
     */ Vcpu ? : string ; } export namespace EC2ResourceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details on the resource.</p>
 */ export interface ResourceDetails { /**
     * <p>Details on the Amazon EC2 resource.</p>
     */ EC2ResourceDetails ? : EC2ResourceDetails ; } export namespace ResourceDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p> The field that contains a list of disk (local storage) metrics that are associated
 *             with the current instance. </p>
 */ export interface DiskResourceUtilization { /**
     * <p> The maximum number of read operations per second. </p>
     */ DiskReadOpsPerSecond ? : string ; /**
     * <p> The maximum number of write operations per second. </p>
     */ DiskWriteOpsPerSecond ? : string ; /**
     * <p> The maximum read throughput operations per second. </p>
     */ DiskReadBytesPerSecond ? : string ; /**
     * <p> The maximum write throughput operations per second. </p>
     */ DiskWriteBytesPerSecond ? : string ; } export namespace DiskResourceUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The EBS field that contains a list of EBS metrics that are associated with the current
 *             instance. </p>
 */ export interface EBSResourceUtilization { /**
     * <p>The maximum number of read operations per second. </p>
     */ EbsReadOpsPerSecond ? : string ; /**
     * <p>The maximum number of write operations per second. </p>
     */ EbsWriteOpsPerSecond ? : string ; /**
     * <p>The maximum size of read operations per second </p>
     */ EbsReadBytesPerSecond ? : string ; /**
     * <p>The maximum size of write operations per second. </p>
     */ EbsWriteBytesPerSecond ? : string ; } export namespace EBSResourceUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p> The network field that contains a list of network metrics that are associated with
 *             the current instance. </p>
 */ export interface NetworkResourceUtilization { /**
     * <p> The network inbound throughput utilization measured in Bytes per second. </p>
     */ NetworkInBytesPerSecond ? : string ; /**
     * <p> The network outbound throughput utilization measured in Bytes per second. </p>
     */ NetworkOutBytesPerSecond ? : string ; /**
     * <p> The network ingress packets that are measured in packets per second. </p>
     */ NetworkPacketsInPerSecond ? : string ; /**
     * <p> The network outgress packets that are measured in packets per second. </p>
     */ NetworkPacketsOutPerSecond ? : string ; } export namespace NetworkResourceUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Utilization metrics of the instance. </p>
 */ export interface EC2ResourceUtilization { /**
     * <p> The maximum observed or expected CPU utilization of the instance.</p>
     */ MaxCpuUtilizationPercentage ? : string ; /**
     * <p> The maximum observed or expected memory utilization of the instance.</p>
     */ MaxMemoryUtilizationPercentage ? : string ; /**
     * <p> The maximum observed or expected storage utilization of the instance. This doesn't
     *             include EBS storage.</p>
     */ MaxStorageUtilizationPercentage ? : string ; /**
     * <p>The EBS field that contains a list of EBS metrics that are associated with the current
     *             instance. </p>
     */ EBSResourceUtilization ? : EBSResourceUtilization ; /**
     * <p> The field that contains a list of disk (local storage) metrics that are associated
     *             with the current instance. </p>
     */ DiskResourceUtilization ? : DiskResourceUtilization ; /**
     * <p> The network field that contains a list of network metrics that are associated with
     *             the current instance. </p>
     */ NetworkResourceUtilization ? : NetworkResourceUtilization ; } export namespace EC2ResourceUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Resource utilization of current resource. </p>
 */ export interface ResourceUtilization { /**
     * <p>The utilization of current Amazon EC2 instance. </p>
     */ EC2ResourceUtilization ? : EC2ResourceUtilization ; } export namespace ResourceUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Context about the current instance.</p>
 */ export interface CurrentInstance { /**
     * <p>Resource ID of the current instance.</p>
     */ ResourceId ? : string ; /**
     * <p>The name that you given an instance. This field shows as blank if you haven't given
     *             the instance a name.</p>
     */ InstanceName ? : string ; /**
     * <p>Cost allocation resource tags that are applied to the instance.</p>
     */ Tags ? : TagValues [ ] ; /**
     * <p>Details about the resource and utilization.</p>
     */ ResourceDetails ? : ResourceDetails ; /**
     * <p>Utilization information of the current instance during the lookback period.</p>
     */ ResourceUtilization ? : ResourceUtilization ; /**
     * <p> The number of hours during the lookback period that's covered by reservations.</p>
     */ ReservationCoveredHoursInLookbackPeriod ? : string ; /**
     * <p>The number of hours during the lookback period that's covered by Savings Plans.</p>
     */ SavingsPlansCoveredHoursInLookbackPeriod ? : string ; /**
     * <p> The number of hours during the lookback period that's billed at On-Demand
     *             rates.</p>
     */ OnDemandHoursInLookbackPeriod ? : string ; /**
     * <p>The total number of hours that the instance ran during the lookback period.</p>
     */ TotalRunningHoursInLookbackPeriod ? : string ; /**
     * <p>The current On-Demand cost of operating this instance on a monthly basis.</p>
     */ MonthlyCost ? : string ; /**
     * <p> The currency code that Amazon Web Services used to calculate the costs for this
     *             instance.</p>
     */ CurrencyCode ? : string ; } export namespace CurrentInstance { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum FindingReasonCode { CPU_OVER_PROVISIONED = "CPU_OVER_PROVISIONED" , CPU_UNDER_PROVISIONED = "CPU_UNDER_PROVISIONED" , DISK_IOPS_OVER_PROVISIONED = "DISK_IOPS_OVER_PROVISIONED" , DISK_IOPS_UNDER_PROVISIONED = "DISK_IOPS_UNDER_PROVISIONED" , DISK_THROUGHPUT_OVER_PROVISIONED = "DISK_THROUGHPUT_OVER_PROVISIONED" , DISK_THROUGHPUT_UNDER_PROVISIONED = "DISK_THROUGHPUT_UNDER_PROVISIONED" , EBS_IOPS_OVER_PROVISIONED = "EBS_IOPS_OVER_PROVISIONED" , EBS_IOPS_UNDER_PROVISIONED = "EBS_IOPS_UNDER_PROVISIONED" , EBS_THROUGHPUT_OVER_PROVISIONED = "EBS_THROUGHPUT_OVER_PROVISIONED" , EBS_THROUGHPUT_UNDER_PROVISIONED = "EBS_THROUGHPUT_UNDER_PROVISIONED" , MEMORY_OVER_PROVISIONED = "MEMORY_OVER_PROVISIONED" , MEMORY_UNDER_PROVISIONED = "MEMORY_UNDER_PROVISIONED" , NETWORK_BANDWIDTH_OVER_PROVISIONED = "NETWORK_BANDWIDTH_OVER_PROVISIONED" , NETWORK_BANDWIDTH_UNDER_PROVISIONED = "NETWORK_BANDWIDTH_UNDER_PROVISIONED" , NETWORK_PPS_OVER_PROVISIONED = "NETWORK_PPS_OVER_PROVISIONED" , NETWORK_PPS_UNDER_PROVISIONED = "NETWORK_PPS_UNDER_PROVISIONED" } export enum PlatformDifference { HYPERVISOR = "HYPERVISOR" , INSTANCE_STORE_AVAILABILITY = "INSTANCE_STORE_AVAILABILITY" , NETWORK_INTERFACE = "NETWORK_INTERFACE" , STORAGE_INTERFACE = "STORAGE_INTERFACE" , VIRTUALIZATION_TYPE = "VIRTUALIZATION_TYPE" } /**
 * <p>Details on recommended instance.</p>
 */ export interface TargetInstance { /**
     * <p>The expected cost to operate this instance type on a monthly basis.</p>
     */ EstimatedMonthlyCost ? : string ; /**
     * <p>The estimated savings that result from modification, on a monthly basis.</p>
     */ EstimatedMonthlySavings ? : string ; /**
     * <p>The currency code that Amazon Web Services used to calculate the costs for this
     *             instance.</p>
     */ CurrencyCode ? : string ; /**
     * <p>Determines whether this recommendation is the defaulted Amazon Web Services
     *             recommendation.</p>
     */ DefaultTargetInstance ? : boolean ; /**
     * <p>Details on the target instance type. </p>
     */ ResourceDetails ? : ResourceDetails ; /**
     * <p>The expected utilization metrics for target instance type.</p>
     */ ExpectedResourceUtilization ? : ResourceUtilization ; /**
     * <p> 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. </p>
     */ PlatformDifferences ? : ( PlatformDifference | string ) [ ] ; } export namespace TargetInstance { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p> Details on the modification recommendation.</p>
 */ export interface ModifyRecommendationDetail { /**
     * <p>Determines whether this instance type is the Amazon Web Services default
     *             recommendation.</p>
     */ TargetInstances ? : TargetInstance [ ] ; } export namespace ModifyRecommendationDetail { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum RightsizingType { MODIFY = "MODIFY" , TERMINATE = "TERMINATE" } /**
 * <p>Details on termination recommendation. </p>
 */ export interface TerminateRecommendationDetail { /**
     * <p>The estimated savings that result from modification, on a monthly basis.</p>
     */ EstimatedMonthlySavings ? : string ; /**
     * <p>The currency code that Amazon Web Services used to calculate the costs for this
     *             instance.</p>
     */ CurrencyCode ? : string ; } export namespace TerminateRecommendationDetail { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Recommendations to rightsize resources.</p>
 */ export interface RightsizingRecommendation { /**
     * <p>The account that this recommendation is for.</p>
     */ AccountId ? : string ; /**
     * <p>Context regarding the current instance.</p>
     */ CurrentInstance ? : CurrentInstance ; /**
     * <p>A recommendation to either terminate or modify the resource.</p>
     */ RightsizingType ? : RightsizingType | string ; /**
     * <p>The details for the modification recommendations. </p>
     */ ModifyRecommendationDetail ? : ModifyRecommendationDetail ; /**
     * <p>The details for termination recommendations.</p>
     */ TerminateRecommendationDetail ? : TerminateRecommendationDetail ; /**
     * <p> The list of possible reasons why the recommendation is generated such as under or
     *             over utilization of specific metrics (for example, CPU, Memory, Network). </p>
     */ FindingReasonCodes ? : ( FindingReasonCode | string ) [ ] ; } export namespace RightsizingRecommendation { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The summary of rightsizing recommendations </p>
 */ export interface RightsizingRecommendationSummary { /**
     * <p>The total number of instance recommendations.</p>
     */ TotalRecommendationCount ? : string ; /**
     * <p>The estimated total savings resulting from modifications, on a monthly basis.</p>
     */ EstimatedTotalMonthlySavingsAmount ? : string ; /**
     * <p>The currency code that Amazon Web Services used to calculate the savings.</p>
     */ SavingsCurrencyCode ? : string ; /**
     * <p> The savings percentage based on the recommended modifications. It's relative to the
     *             total On-Demand costs that are associated with these instances.</p>
     */ SavingsPercentage ? : string ; } export namespace RightsizingRecommendationSummary { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetRightsizingRecommendationResponse { /**
     * <p>Information regarding this specific recommendation set.</p>
     */ Metadata ? : RightsizingRecommendationMetadata ; /**
     * <p>Summary of this recommendation set.</p>
     */ Summary ? : RightsizingRecommendationSummary ; /**
     * <p>Recommendations to rightsize resources.</p>
     */ RightsizingRecommendations ? : RightsizingRecommendation [ ] ; /**
     * <p>The token to retrieve the next set of results.</p>
     */ NextPageToken ? : string ; /**
     * <p> 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. </p>
     */ Configuration ? : RightsizingRecommendationConfiguration ; } export namespace GetRightsizingRecommendationResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Specific coverage percentage, On-Demand costs, and spend covered by Savings Plans, and
 *             total Savings Plans costs for an account.</p>
 */ export interface SavingsPlansCoverageData { /**
     * <p>The amount of your Amazon Web Services usage that is covered by a Savings Plans.</p>
     */ SpendCoveredBySavingsPlans ? : string ; /**
     * <p>The cost of your Amazon Web Services usage at the public On-Demand rate.</p>
     */ OnDemandCost ? : string ; /**
     * <p>The total cost of your Amazon Web Services usage, regardless of your purchase
     *             option.</p>
     */ TotalCost ? : string ; /**
     * <p>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).</p>
     */ CoveragePercentage ? : string ; } export namespace SavingsPlansCoverageData { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of Savings Plans eligible usage that is covered by Savings Plans. All
 *             calculations consider the On-Demand equivalent of your Savings Plans usage.</p>
 */ export interface SavingsPlansCoverage { /**
     * <p>The attribute that applies to a specific <code>Dimension</code>.</p>
     */ Attributes ? : { [ key ] : string ; } ; /**
     * <p>The amount of Savings Plans eligible usage that the Savings Plans covered.</p>
     */ Coverage ? : SavingsPlansCoverageData ; /**
     * <p>The time period of the request. </p>
     */ TimePeriod ? : DateInterval ; } export namespace SavingsPlansCoverage { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansCoverageResponse { /**
     * <p>The amount of spend that your Savings Plans covered.</p>
     */ SavingsPlansCoverages : SavingsPlansCoverage [ ] | undefined ; /**
     * <p>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.</p>
     */ NextToken ? : string ; } export namespace GetSavingsPlansCoverageResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum SupportedSavingsPlansType { COMPUTE_SP = "COMPUTE_SP" , EC2_INSTANCE_SP = "EC2_INSTANCE_SP" , SAGEMAKER_SP = "SAGEMAKER_SP" } /**
 * <p>Metadata about your Savings Plans Purchase Recommendations.</p>
 */ export interface SavingsPlansPurchaseRecommendationMetadata { /**
     * <p>The unique identifier for the recommendation set.</p>
     */ RecommendationId ? : string ; /**
     * <p>The timestamp showing when the recommendations were generated.</p>
     */ GenerationTimestamp ? : string ; /**
     * <p>Additional metadata that might be applicable to the recommendation.</p>
     */ AdditionalMetadata ? : string ; } export namespace SavingsPlansPurchaseRecommendationMetadata { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The attribute details on a specific Savings Plan.</p>
 */ export interface SavingsPlansDetails { /**
     * <p>A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.</p>
     */ Region ? : string ; /**
     * <p>A group of instance types that Savings Plans applies to.</p>
     */ InstanceFamily ? : string ; /**
     * <p>The unique ID that's used to distinguish Savings Plans from one another.</p>
     */ OfferingId ? : string ; } export namespace SavingsPlansDetails { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Details for your recommended Savings Plans.</p>
 */ export interface SavingsPlansPurchaseRecommendationDetail { /**
     * <p>Details for your recommended Savings Plans.</p>
     */ SavingsPlansDetails ? : SavingsPlansDetails ; /**
     * <p>The <code>AccountID</code> the recommendation is generated for.</p>
     */ AccountId ? : string ; /**
     * <p>The upfront cost of the recommended Savings Plans, based on the selected payment
     *             option.</p>
     */ UpfrontCost ? : string ; /**
     * <p>The estimated return on investment that's based on the recommended Savings Plans that
     *             you purchased. This is calculated as <code>estimatedSavingsAmount</code>/
     *                 <code>estimatedSPCost</code>*100.</p>
     */ EstimatedROI ? : string ; /**
     * <p>The currency code that Amazon Web Services used to generate the recommendations and
     *             present potential savings.</p>
     */ CurrencyCode ? : string ; /**
     * <p>The cost of the recommended Savings Plans over the length of the lookback
     *             period.</p>
     */ EstimatedSPCost ? : string ; /**
     * <p>The remaining On-Demand cost estimated to not be covered by the recommended Savings
     *             Plans, over the length of the lookback period.</p>
     */ EstimatedOnDemandCost ? : string ; /**
     * <p> 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. </p>
     */ EstimatedOnDemandCostWithCurrentCommitment ? : string ; /**
     * <p>The estimated savings amount that's based on the recommended Savings Plans over the
     *             length of the lookback period.</p>
     */ EstimatedSavingsAmount ? : string ; /**
     * <p>The estimated savings percentage relative to the total cost of applicable On-Demand
     *             usage over the lookback period.</p>
     */ EstimatedSavingsPercentage ? : string ; /**
     * <p>The recommended hourly commitment level for the Savings Plans type and the
     *             configuration that's based on the usage during the lookback period.</p>
     */ HourlyCommitmentToPurchase ? : string ; /**
     * <p>The estimated utilization of the recommended Savings Plans.</p>
     */ EstimatedAverageUtilization ? : string ; /**
     * <p>The estimated monthly savings amount based on the recommended Savings Plans.</p>
     */ EstimatedMonthlySavingsAmount ? : string ; /**
     * <p>The lowest value of hourly On-Demand spend over the lookback period of the applicable
     *             usage type.</p>
     */ CurrentMinimumHourlyOnDemandSpend ? : string ; /**
     * <p>The highest value of hourly On-Demand spend over the lookback period of the applicable
     *             usage type.</p>
     */ CurrentMaximumHourlyOnDemandSpend ? : string ; /**
     * <p>The average value of hourly On-Demand spend over the lookback period of the applicable
     *             usage type.</p>
     */ CurrentAverageHourlyOnDemandSpend ? : string ; } export namespace SavingsPlansPurchaseRecommendationDetail { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Summary metrics for your Savings Plans Purchase Recommendations.</p>
 */ export interface SavingsPlansPurchaseRecommendationSummary { /**
     * <p>The estimated return on investment that's based on the recommended Savings Plans and
     *             estimated savings.</p>
     */ EstimatedROI ? : string ; /**
     * <p>The currency code that Amazon Web Services used to generate the recommendations and
     *             present potential savings.</p>
     */ CurrencyCode ? : string ; /**
     * <p>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.</p>
     */ EstimatedTotalCost ? : string ; /**
     * <p>The current total on demand spend of the applicable usage types over the lookback
     *             period.</p>
     */ CurrentOnDemandSpend ? : string ; /**
     * <p>The estimated total savings over the lookback period, based on the purchase of the
     *             recommended Savings Plans.</p>
     */ EstimatedSavingsAmount ? : string ; /**
     * <p>The aggregate number of Savings Plans recommendations that exist for your
     *             account.</p>
     */ TotalRecommendationCount ? : string ; /**
     * <p>The recommended Savings Plans cost on a daily (24 hourly) basis.</p>
     */ DailyCommitmentToPurchase ? : string ; /**
     * <p>The recommended hourly commitment that's based on the recommendation
     *             parameters.</p>
     */ HourlyCommitmentToPurchase ? : string ; /**
     * <p>The estimated savings relative to the total cost of On-Demand usage, over the lookback
     *             period. This is calculated as <code>estimatedSavingsAmount</code>/
     *                 <code>CurrentOnDemandSpend</code>*100.</p>
     */ EstimatedSavingsPercentage ? : string ; /**
     * <p>The estimated monthly savings amount that's based on the recommended Savings Plans
     *             purchase.</p>
     */ EstimatedMonthlySavingsAmount ? : string ; /**
     * <p> 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. </p>
     */ EstimatedOnDemandCostWithCurrentCommitment ? : string ; } export namespace SavingsPlansPurchaseRecommendationSummary { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Contains your request parameters, Savings Plan Recommendations Summary, and
 *             Details.</p>
 */ export interface SavingsPlansPurchaseRecommendation { /**
     * <p>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 <code>PAYER</code>. If the value is <code>LINKED</code>,
     *             recommendations are calculated for individual member accounts only.</p>
     */ AccountScope ? : AccountScope | string ; /**
     * <p>The requested Savings Plans recommendation type.</p>
     */ SavingsPlansType ? : SupportedSavingsPlansType | string ; /**
     * <p>The Savings Plans recommendation term in years. It's used to generate the
     *             recommendation.</p>
     */ TermInYears ? : TermInYears | string ; /**
     * <p>The payment option used to generate the recommendation.</p>
     */ PaymentOption ? : PaymentOption | string ; /**
     * <p>The lookback period in days, used to generate the recommendation.</p>
     */ LookbackPeriodInDays ? : LookbackPeriodInDays | string ; /**
     * <p>Details for the Savings Plans we recommend that you purchase to cover existing Savings
     *             Plans eligible workloads.</p>
     */ SavingsPlansPurchaseRecommendationDetails ? : SavingsPlansPurchaseRecommendationDetail [ ] ; /**
     * <p>Summary metrics for your Savings Plans Recommendations. </p>
     */ SavingsPlansPurchaseRecommendationSummary ? : SavingsPlansPurchaseRecommendationSummary ; } export namespace SavingsPlansPurchaseRecommendation { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansPurchaseRecommendationResponse { /**
     * <p>Information regarding this specific recommendation set.</p>
     */ Metadata ? : SavingsPlansPurchaseRecommendationMetadata ; /**
     * <p>Contains your request parameters, Savings Plan Recommendations Summary, and Details.</p>
     */ SavingsPlansPurchaseRecommendation ? : SavingsPlansPurchaseRecommendation ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetSavingsPlansPurchaseRecommendationResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amortized amount of Savings Plans purchased in a specific account during a
 *             specific time interval.</p>
 */ export interface SavingsPlansAmortizedCommitment { /**
     * <p>The amortized amount of your Savings Plans commitment that was purchased with either a
     *                 <code>Partial</code> or a <code>NoUpfront</code>.</p>
     */ AmortizedRecurringCommitment ? : string ; /**
     * <p>The amortized amount of your Savings Plans commitment that was purchased with an
     *                 <code>Upfront</code> or <code>PartialUpfront</code> Savings Plans.</p>
     */ AmortizedUpfrontCommitment ? : string ; /**
     * <p>The total amortized amount of your Savings Plans commitment, regardless of your
     *             Savings Plans purchase method. </p>
     */ TotalAmortizedCommitment ? : string ; } export namespace SavingsPlansAmortizedCommitment { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of savings that you're accumulating, against the public On-Demand rate of
 *             the usage accrued in an account.</p>
 */ export interface SavingsPlansSavings { /**
     * <p>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.</p>
     */ NetSavings ? : string ; /**
     * <p>How much the amount that the usage would have cost if it was accrued at the On-Demand
     *             rate.</p>
     */ OnDemandCostEquivalent ? : string ; } export namespace SavingsPlansSavings { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The measurement of how well you're using your existing Savings Plans.</p>
 */ export interface SavingsPlansUtilization { /**
     * <p>The total amount of Savings Plans commitment that's been purchased in an account (or
     *             set of accounts).</p>
     */ TotalCommitment ? : string ; /**
     * <p>The amount of your Savings Plans commitment that was consumed from Savings Plans
     *             eligible usage in a specific period.</p>
     */ UsedCommitment ? : string ; /**
     * <p>The amount of your Savings Plans commitment that wasn't consumed from Savings Plans
     *             eligible usage in a specific period.</p>
     */ UnusedCommitment ? : string ; /**
     * <p>The amount of <code>UsedCommitment</code> divided by the <code>TotalCommitment</code>
     *             for your Savings Plans.</p>
     */ UtilizationPercentage ? : string ; } export namespace SavingsPlansUtilization { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The amount of Savings Plans utilization, in hours.</p>
 */ export interface SavingsPlansUtilizationByTime { /**
     * <p>The time period of the request. </p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>A ratio of your effectiveness of using existing Savings Plans to apply to workloads
     *             that are Savings Plans eligible.</p>
     */ Utilization : SavingsPlansUtilization | undefined ; /**
     * <p>The amount saved by using existing Savings Plans. Savings returns both net savings
     *             from Savings Plans as well as the <code>onDemandCostEquivalent</code> of the Savings
     *             Plans when considering the utilization rate.</p>
     */ Savings ? : SavingsPlansSavings ; /**
     * <p>The total amortized commitment for a Savings Plans. This includes the sum of the
     *             upfront and recurring Savings Plans fees.</p>
     */ AmortizedCommitment ? : SavingsPlansAmortizedCommitment ; } export namespace SavingsPlansUtilizationByTime { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The aggregated utilization metrics for your Savings Plans usage.</p>
 */ export interface SavingsPlansUtilizationAggregates { /**
     * <p>A ratio of your effectiveness of using existing Savings Plans to apply to workloads
     *             that are Savings Plans eligible.</p>
     */ Utilization : SavingsPlansUtilization | undefined ; /**
     * <p>The amount saved by using existing Savings Plans. Savings returns both net savings
     *             from Savings Plans, as well as the <code>onDemandCostEquivalent</code> of the Savings
     *             Plans when considering the utilization rate.</p>
     */ Savings ? : SavingsPlansSavings ; /**
     * <p>The total amortized commitment for a Savings Plans. This includes the sum of the
     *             upfront and recurring Savings Plans fees.</p>
     */ AmortizedCommitment ? : SavingsPlansAmortizedCommitment ; } export namespace SavingsPlansUtilizationAggregates { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansUtilizationResponse { /**
     * <p>The amount of cost/commitment you used your Savings Plans. This allows you to specify date ranges.</p>
     */ SavingsPlansUtilizationsByTime ? : SavingsPlansUtilizationByTime [ ] ; /**
     * <p>The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.</p>
     */ Total : SavingsPlansUtilizationAggregates | undefined ; } export namespace GetSavingsPlansUtilizationResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export enum SavingsPlansDataType { AMORTIZED_COMMITMENT = "AMORTIZED_COMMITMENT" , ATTRIBUTES = "ATTRIBUTES" , SAVINGS = "SAVINGS" , UTILIZATION = "UTILIZATION" } /**
 * <p>A single daily or monthly Savings Plans utilization rate, and details for your
 *             account. A management account in an organization have access to member accounts. You can
 *             use <code>GetDimensionValues</code> to determine the possible dimension values. </p>
 */ export interface SavingsPlansUtilizationDetail { /**
     * <p>The unique Amazon Resource Name (ARN) for a particular Savings Plan.</p>
     */ SavingsPlanArn ? : string ; /**
     * <p>The attribute that applies to a specific <code>Dimension</code>.</p>
     */ Attributes ? : { [ key ] : string ; } ; /**
     * <p>A ratio of your effectiveness of using existing Savings Plans to apply to workloads
     *             that are Savings Plans eligible.</p>
     */ Utilization ? : SavingsPlansUtilization ; /**
     * <p>The amount saved by using existing Savings Plans. Savings returns both net savings
     *             from savings plans as well as the <code>onDemandCostEquivalent</code> of the Savings
     *             Plans when considering the utilization rate.</p>
     */ Savings ? : SavingsPlansSavings ; /**
     * <p>The total amortized commitment for a Savings Plans. Includes the sum of the upfront
     *             and recurring Savings Plans fees.</p>
     */ AmortizedCommitment ? : SavingsPlansAmortizedCommitment ; } export namespace SavingsPlansUtilizationDetail { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansUtilizationDetailsResponse { /**
     * <p>Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.</p>
     */ SavingsPlansUtilizationDetails : SavingsPlansUtilizationDetail [ ] | undefined ; /**
     * <p>The total Savings Plans utilization, regardless of time period.</p>
     */ Total ? : SavingsPlansUtilizationAggregates ; /**
     * <p>The time period of the request. </p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>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.</p>
     */ NextToken ? : string ; } export namespace GetSavingsPlansUtilizationDetailsResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetTagsResponse { /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The tags that match your request.</p>
     */ Tags : string [ ] | undefined ; /**
     * <p>The number of query results that Amazon Web Services returns at a time.</p>
     */ ReturnSize : number | undefined ; /**
     * <p>The total number of query results.</p>
     */ TotalSize : number | undefined ; } export namespace GetTagsResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetUsageForecastResponse { /**
     * <p>How much you're forecasted to use over the forecast period.</p>
     */ Total ? : MetricValue ; /**
     * <p>The forecasts for your query, in order. For <code>DAILY</code> forecasts, this is a list of days. For <code>MONTHLY</code> forecasts,
     * 			this is a list of months.</p>
     */ ForecastResultsByTime ? : ForecastResult [ ] ; } export namespace GetUsageForecastResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Cost Explorer was unable to identify the usage unit. Provide <code>UsageType/UsageTypeGroup</code> filter selections that contain matching units, for example: <code>hours</code>.</p>
 */ export interface UnresolvableUsageUnitException extends __SmithyException , $MetadataBearer { name : "UnresolvableUsageUnitException" ; $fault : "client" ; Message ? : string ; } export interface ListCostCategoryDefinitionsRequest { /**
     * <p>
     *       The date when the Cost Category was effective.
     *     </p>
     */ EffectiveOn ? : string ; /**
     * <p>
     *       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.
     *     </p>
     */ NextToken ? : string ; /**
     * <p> The number of entries a paginated response contains. </p>
     */ MaxResults ? : number ; } export namespace ListCostCategoryDefinitionsRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>A reference to a Cost Category containing only enough information to identify the Cost
 *             Category.</p>
 *         <p>You can use this information to retrieve the full Cost Category information using
 *                 <code>DescribeCostCategory</code>.</p>
 */ export interface CostCategoryReference { /**
     * <p>The unique identifier for your Cost Category. </p>
     */ CostCategoryArn ? : string ; /**
     * <p>The unique name of the Cost Category.</p>
     */ Name ? : string ; /**
     * <p>The Cost Category's effective start date.</p>
     */ EffectiveStart ? : string ; /**
     * <p>The Cost Category's effective end date.</p>
     */ EffectiveEnd ? : string ; /**
     * <p>The number of rules that are associated with a specific Cost Category. </p>
     */ NumberOfRules ? : number ; /**
     * <p>The list of processing statuses for Cost Management products for a specific cost
     *             category. </p>
     */ ProcessingStatus ? : CostCategoryProcessingStatus [ ] ; /**
     * <p>A list of unique cost category values in a specific cost category. </p>
     */ Values ? : string [ ] ; /**
     * <p>The
     *             default value for the cost category.</p>
     */ DefaultValue ? : string ; } export namespace CostCategoryReference { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface ListCostCategoryDefinitionsResponse { /**
     * <p>
     *       A reference to a Cost Category containing enough information to identify the Cost Category.
     *     </p>
     */ CostCategoryReferences ? : CostCategoryReference [ ] ; /**
     * <p>
     *       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.
     *     </p>
     */ NextToken ? : string ; } export namespace ListCostCategoryDefinitionsResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface ProvideAnomalyFeedbackRequest { /**
     * <p>A cost anomaly ID. </p>
     */ AnomalyId : string | undefined ; /**
     * <p>Describes whether the cost anomaly was a planned activity or you considered it an anomaly. </p>
     */ Feedback : AnomalyFeedbackType | string | undefined ; } export namespace ProvideAnomalyFeedbackRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface ProvideAnomalyFeedbackResponse { /**
     * <p>The ID of the modified cost anomaly. </p>
     */ AnomalyId : string | undefined ; } export namespace ProvideAnomalyFeedbackResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateAnomalyMonitorRequest { /**
     * <p>Cost anomaly monitor Amazon Resource Names (ARNs). </p>
     */ MonitorArn : string | undefined ; /**
     * <p>The new name for the cost anomaly monitor. </p>
     */ MonitorName ? : string ; } export namespace UpdateAnomalyMonitorRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateAnomalyMonitorResponse { /**
     * <p>A cost anomaly monitor ARN. </p>
     */ MonitorArn : string | undefined ; } export namespace UpdateAnomalyMonitorResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateAnomalySubscriptionRequest { /**
     * <p>A cost anomaly subscription Amazon Resource Name (ARN). </p>
     */ SubscriptionArn : string | undefined ; /**
     * <p>The update to the threshold value for receiving notifications. </p>
     */ Threshold ? : number ; /**
     * <p>The update to the frequency value that subscribers receive notifications. </p>
     */ Frequency ? : AnomalySubscriptionFrequency | string ; /**
     * <p>A list of cost anomaly monitor ARNs. </p>
     */ MonitorArnList ? : string [ ] ; /**
     * <p>The update to the subscriber list. </p>
     */ Subscribers ? : Subscriber [ ] ; /**
     * <p>The new name of the subscription. </p>
     */ SubscriptionName ? : string ; } export namespace UpdateAnomalySubscriptionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateAnomalySubscriptionResponse { /**
     * <p>A cost anomaly subscription ARN. </p>
     */ SubscriptionArn : string | undefined ; } export namespace UpdateAnomalySubscriptionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateCostCategoryDefinitionResponse { /**
     * <p>
     *       The unique identifier for your Cost Category.
     *     </p>
     */ CostCategoryArn ? : string ; /**
     * <p>
     *       The Cost Category's effective start date.
     *     </p>
     */ EffectiveStart ? : string ; } export namespace UpdateCostCategoryDefinitionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
 *         <ul>
 *             <li>
 *                 <p>Simple dimension values - You can set the dimension name and values for the
 *                     filters that you plan to use. For example, you can filter for
 *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
 *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
 *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
 *                     example is as follows:</p>
 *                 <p>
 *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
 *                         } }</code>
 *                 </p>
 *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
 *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
 *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
 *                     lines. </p>
 *             </li>
 *             <li>
 *                 <p>Compound dimension values with logical operations - You can use multiple
 *                         <code>Expression</code> types and the logical operators
 *                         <code>AND/OR/NOT</code> to create a list of one or more
 *                         <code>Expression</code> objects. By doing this, you can filter on more
 *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
 *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
 *                         DataTransfer)</code>. The <code>Expression</code> for that is as
 *                     follows:</p>
 *                 <p>
 *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
 *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
 *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
 *                         ["DataTransfer"] }}} ] } </code>
 *                 </p>
 *                 <note>
 *                     <p>Because each <code>Expression</code> can have only one operator, the
 *                         service returns an error if more than one is specified. The following
 *                         example shows an <code>Expression</code> object that creates an
 *                         error.</p>
 *                 </note>
 *                 <p>
 *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
 *                         "Values": [ "DataTransfer" ] } } </code>
 *                 </p>
 *             </li>
 *          </ul>
 *         <note>
 *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
 *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
 *                 and tags. NOT operators aren't supported. Dimensions are also limited to
 *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
 *                     <code>RIGHTSIZING_TYPE</code>.</p>
 *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
 *                 supported. AND and OR aren't supported. Dimensions are limited to
 *                     <code>LINKED_ACCOUNT</code>.</p>
 *         </note>
 */ export interface Expression { /**
     * <p>Return results that match either <code>Dimension</code> object.</p>
     */ Or ? : Expression [ ] ; /**
     * <p>Return results that match both <code>Dimension</code> objects.</p>
     */ And ? : Expression [ ] ; /**
     * <p>Return results that don't match a <code>Dimension</code> object.</p>
     */ Not ? : Expression ; /**
     * <p>The specific <code>Dimension</code> to use for <code>Expression</code>.</p>
     */ Dimensions ? : DimensionValues ; /**
     * <p>The specific <code>Tag</code> to use for <code>Expression</code>.</p>
     */ Tags ? : TagValues ; /**
     * <p>The filter that's based on <code>CostCategory</code> values.</p>
     */ CostCategories ? : CostCategoryValues ; } export namespace Expression { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>This object continuously inspects your account's cost data for anomalies. It's based
 *             on <code>MonitorType</code> and <code>MonitorSpecification</code>. The content consists
 *             of detailed metadata and the current status of the monitor object. </p>
 */ export interface AnomalyMonitor { /**
     * <p>The Amazon Resource Name (ARN) value. </p>
     */ MonitorArn ? : string ; /**
     * <p>The name of the monitor. </p>
     */ MonitorName : string | undefined ; /**
     * <p>The date when the monitor was created. </p>
     */ CreationDate ? : string ; /**
     * <p>The date when the monitor was last updated. </p>
     */ LastUpdatedDate ? : string ; /**
     * <p>The date when the monitor last evaluated for anomalies. </p>
     */ LastEvaluatedDate ? : string ; /**
     * <p>The possible type values. </p>
     */ MonitorType : MonitorType | string | undefined ; /**
     * <p>The dimensions to evaluate. </p>
     */ MonitorDimension ? : MonitorDimension | string ; /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ MonitorSpecification ? : Expression ; /**
     * <p>The value for evaluated dimensions. </p>
     */ DimensionalValueCount ? : number ; } export namespace AnomalyMonitor { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>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.</p>
 */ export interface CostCategoryRule { /**
     * <p>The
     *             default value for the cost category.</p>
     */ Value ? : string ; /**
     * <p>An <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
     *             object used to categorize costs. This supports dimensions, tags, and nested expressions.
     *             Currently the only dimensions supported are <code>LINKED_ACCOUNT</code>,
     *                 <code>SERVICE_CODE</code>, <code>RECORD_TYPE</code>, and
     *                 <code>LINKED_ACCOUNT_NAME</code>.</p>
     *         <p>Root level <code>OR</code> isn't supported. We recommend that you create a separate
     *             rule instead.</p>
     *         <p>
     *             <code>RECORD_TYPE</code> 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
     *                 <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms">Term Comparisons</a> in the <i>Billing and Cost Management User
     *                 Guide</i>.</p>
     */ Rule ? : Expression ; /**
     * <p>The value the line item is categorized as if the line item contains the matched
     *             dimension.</p>
     */ InheritedValue ? : CostCategoryInheritedValueDimension ; /**
     * <p>You can define the <code>CostCategoryRule</code> rule type as either
     *                 <code>REGULAR</code> or <code>INHERITED_VALUE</code>. The
     *                 <code>INHERITED_VALUE</code> rule type adds the flexibility of defining a rule that
     *             dynamically inherits the cost category value from the dimension value defined by
     *                 <code>CostCategoryInheritedValueDimension</code>. 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.</p>
     */ Type ? : CostCategoryRuleType | string ; } export namespace CostCategoryRule { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostAndUsageRequest { /**
     * <p>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 <code>start</code> is
     *         <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and
     *       usage data is retrieved from <code>2017-01-01</code> up to and including
     *         <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Sets the Amazon Web Services cost granularity to <code>MONTHLY</code> or <code>DAILY</code>, or <code>HOURLY</code>. If <code>Granularity</code> isn't set,
     * 	    the response object doesn't include the <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>, or <code>HOURLY</code>. </p>
     */ Granularity : Granularity | string | undefined ; /**
     * <p>Filters Amazon Web Services costs by different dimensions. For example, you can specify <code>SERVICE</code> and <code>LINKED_ACCOUNT</code>
     * 			and get the costs that are associated with that account's usage of that service. You can nest <code>Expression</code> objects
     * 			to define any combination of dimension filters. For more information, see
     * 			<a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
     */ Filter ? : Expression ; /**
     * <p>Which metrics are returned in the query. For more information about blended and unblended rates, see
     * 			<a href="http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/">Why does the "blended" annotation
     * 				appear on some line items in my bill?</a>. </p>
     * 		       <p>Valid values are <code>AmortizedCost</code>, <code>BlendedCost</code>, <code>NetAmortizedCost</code>,
     * 			<code>NetUnblendedCost</code>, <code>NormalizedUsageAmount</code>, <code>UnblendedCost</code>, and <code>UsageQuantity</code>. </p>
     * 		       <note>
     * 			         <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage
     *         numbers without taking into account the units. For example, if you aggregate
     *           <code>usageQuantity</code> 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 <code>UsageQuantity</code> metrics, filter by
     *           <code>UsageType</code> or <code>UsageTypeGroups</code>. </p>
     * 		       </note>
     * 		       <p>
     *             <code>Metrics</code> is required for <code>GetCostAndUsage</code> requests.</p>
     */ Metrics : string [ ] | undefined ; /**
     * <p>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.</p>
     * 	        <p>Valid values for the <code>DIMENSION</code> type are <code>AZ</code>, <code>INSTANCE_TYPE</code>, <code>LEGAL_ENTITY_NAME</code>, <code>LINKED_ACCOUNT</code>,
     * 			<code>OPERATION</code>, <code>PLATFORM</code>, <code>PURCHASE_TYPE</code>, <code>SERVICE</code>,
     * 		  <code>TENANCY</code>, <code>RECORD_TYPE</code>, and <code>USAGE_TYPE</code>.</p>
     * 	        <p>When you group by the <code>TAG</code>  type and include a valid tag key, you get all tag values, including empty strings.</p>
     */ GroupBy ? : GroupDefinition [ ] ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetCostAndUsageRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostAndUsageWithResourcesRequest { /**
     * <p>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 <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is
     *             retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Sets the Amazon Web Services cost granularity to <code>MONTHLY</code>, <code>DAILY</code>, or <code>HOURLY</code>. If
     * 	    <code>Granularity</code> isn't set, the response object doesn't include the
     * 	    <code>Granularity</code>, <code>MONTHLY</code>, <code>DAILY</code>, or <code>HOURLY</code>. </p>
     */ Granularity : Granularity | string | undefined ; /**
     * <p>Filters Amazon Web Services costs by different dimensions. For example, you can specify
     *       <code>SERVICE</code> and <code>LINKED_ACCOUNT</code> and get the costs that are associated
     *       with that account's usage of that service. You can nest <code>Expression</code> objects to
     *       define any combination of dimension filters. For more information, see <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. </p>
     *          <p>The <code>GetCostAndUsageWithResources</code> operation requires that you either group by or filter by a
     *       <code>ResourceId</code>. It requires the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>
     *             <code>"SERVICE = Amazon Elastic Compute Cloud - Compute"</code> in the filter.</p>
     */ Filter : Expression | undefined ; /**
     * <p>Which metrics are returned in the query. For more information about blended and
     *       unblended rates, see <a href="http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/">Why does
     *         the "blended" annotation appear on some line items in my bill?</a>. </p>
     *          <p>Valid values are <code>AmortizedCost</code>, <code>BlendedCost</code>,
     *       <code>NetAmortizedCost</code>, <code>NetUnblendedCost</code>,
     *       <code>NormalizedUsageAmount</code>, <code>UnblendedCost</code>, and
     *       <code>UsageQuantity</code>. </p>
     *          <note>
     *             <p>If you return the <code>UsageQuantity</code> metric, the service aggregates all usage
     *         numbers without taking the units into account. For example, if you aggregate
     *         <code>usageQuantity</code> 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 <code>UsageQuantity</code> metrics, filter by
     *         <code>UsageType</code> or <code>UsageTypeGroups</code>. </p>
     *          </note>
     *          <p>
     *             <code>Metrics</code> is required for <code>GetCostAndUsageWithResources</code> requests.</p>
     */ Metrics ? : string [ ] ; /**
     * <p>You can group Amazon Web Services costs using up to two different groups: <code>DIMENSION</code>, <code>TAG</code>, <code>COST_CATEGORY</code>.</p>
     */ GroupBy ? : GroupDefinition [ ] ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetCostAndUsageWithResourcesRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostCategoriesRequest { /**
     * <p>The value that you want to search the filter values for.</p>
     *          <p>If you do not specify a <code>CostCategoryName</code>, <code>SearchString</code> will be used to filter Cost Category names that match the <code>SearchString</code> pattern. If you do specifiy a <code>CostCategoryName</code>, <code>SearchString</code> will be used to filter Cost Category values that match the <code>SearchString</code> pattern.</p>
     */ SearchString ? : string ; /**
     * <p>The time period of the request. </p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>The unique name of the Cost Category.</p>
     */ CostCategoryName ? : string ; /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ Filter ? : Expression ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The key represents cost and usage metrics. The following values are supported:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>BlendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetAmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetUnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UsageQuantity</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NormalizedUsageAmount</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     *          <p>When using <code>SortBy</code>, <code>NextPageToken</code> and <code>SearchString</code> are not supported.</p>
     */ SortBy ? : SortDefinition [ ] ; /**
     * <p>This field is only used when <code>SortBy</code> is provided in the request.</p>
     *          <p>The maximum number of objects that to be returned for this request.  If <code>MaxResults</code> is not specified with <code>SortBy</code>, the request will return 1000 results as the default value for this parameter.</p>
     *          <p>For <code>GetCostCategories</code>, MaxResults has an upper limit of 1000.</p>
     */ MaxResults ? : number ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetCostCategoriesRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetCostForecastRequest { /**
     * <p>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.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Which metric Cost Explorer uses to create your forecast. For more information about blended and unblended rates, see
     * 			<a href="http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/">Why does the "blended" annotation
     * 				appear on some line items in my bill?</a>. </p>
     * 		       <p>Valid values for a <code>GetCostForecast</code> call are the following:</p>
     * 		       <ul>
     *             <li>
     * 				           <p>AMORTIZED_COST</p>
     * 			         </li>
     *             <li>
     * 				           <p>BLENDED_COST</p>
     * 			         </li>
     *             <li>
     * 				           <p>NET_AMORTIZED_COST</p>
     * 			         </li>
     *             <li>
     * 				           <p>NET_UNBLENDED_COST</p>
     * 			         </li>
     *             <li>
     * 				           <p>UNBLENDED_COST</p>
     * 			         </li>
     *          </ul>
     */ Metric : Metric | string | undefined ; /**
     * <p>How granular you want the forecast to be. You can get 3 months of <code>DAILY</code> forecasts or 12 months of <code>MONTHLY</code> forecasts.</p>
     * 		       <p>The <code>GetCostForecast</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity : Granularity | string | undefined ; /**
     * <p>The filters that you want to use to filter your forecast. The <code>GetCostForecast</code> API supports filtering by the following dimensions:</p>
     *
     * 	        <ul>
     *             <li>
     *                <p>
     *                   <code>AZ</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT_NAME</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OPERATION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PURCHASE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>REGION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SERVICE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>USAGE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>USAGE_TYPE_GROUP</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RECORD_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OPERATING_SYSTEM</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TENANCY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SCOPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PLATFORM</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SUBSCRIPTION_ID</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LEGAL_ENTITY_NAME</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>DEPLOYMENT_OPTION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>DATABASE_ENGINE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE_FAMILY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>BILLING_ENTITY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RESERVATION_ID</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SAVINGS_PLAN_ARN</code>
     *                </p>
     *             </li>
     *          </ul>
     */ Filter ? : Expression ; /**
     * <p>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.</p>
     */ PredictionIntervalLevel ? : number ; } export namespace GetCostForecastRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetDimensionValuesRequest { /**
     * <p>The value that you want to search the filter values for.</p>
     */ SearchString ? : string ; /**
     * <p>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 <code>start</code> is
     *         <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and
     *       usage data is retrieved from <code>2017-01-01</code> up to and including
     *         <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>The name of the dimension. Each <code>Dimension</code> is available for a different <code>Context</code>.
     * 			For more information, see <code>Context</code>.
     *
     * 		</p>
     */ Dimension : Dimension | string | undefined ; /**
     * <p>The context for the call to <code>GetDimensionValues</code>. This can be <code>RESERVATIONS</code> or <code>COST_AND_USAGE</code>.
     * 			The default value is <code>COST_AND_USAGE</code>. If the context is set to <code>RESERVATIONS</code>, the resulting dimension values
     * 			can be used in the <code>GetReservationUtilization</code> operation. If the context is set to <code>COST_AND_USAGE</code>,
     * 			the resulting dimension values can be used in the <code>GetCostAndUsage</code> operation.</p>
     * 		       <p>If you set the context to <code>COST_AND_USAGE</code>, you can use the following
     *            dimensions for searching:</p>
     *            <ul>
     *             <li>
     *                <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
     *             </li>
     *             <li>
     *                <p>DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
     *             </li>
     *             <li>
     *                <p>LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>OPERATION - The action performed. Examples include <code>RunInstance</code> and <code>CreateBucket</code>.</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>PURCHASE_TYPE - The reservation type of the purchase to which this usage is related. Examples include On-Demand
     *                Instances and Standard Reserved Instances.</p>
     *             </li>
     *             <li>
     *                <p>SERVICE - The Amazon Web Services service such as Amazon DynamoDB.</p>
     *             </li>
     *             <li>
     *                <p>USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the <code>GetDimensionValues</code> operation
     *            includes a unit attribute. Examples include GB and Hrs.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>REGION - The Amazon Web Services Region.</p>
     *             </li>
     *             <li>
     *                <p>RECORD_TYPE - The different types of charges such as RI fees, usage costs, tax refunds, and credits.</p>
     *             </li>
     *             <li>
     *                <p>RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.</p>
     *             </li>
     *          </ul>
     *          <p>If you set the context to <code>RESERVATIONS</code>, you can use the following
     *            dimensions for searching:</p>
     *          <ul>
     *             <li>
     *                <p>AZ - The Availability Zone. An example is <code>us-east-1a</code>.</p>
     *             </li>
     *             <li>
     *                <p>CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are <code>SingleAZ</code> and <code>MultiAZ</code>.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE - The type of Amazon EC2 instance. An example is <code>m4.xlarge</code>.</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.</p>
     *             </li>
     *             <li>
     *                <p>REGION - The Amazon Web Services Region.</p>
     *             </li>
     *             <li>
     *                <p>SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.</p>
     *             </li>
     *             <li>
     *                <p>TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).</p>
     *             </li>
     *             <li>
     *                <p>TENANCY - The tenancy of a resource. Examples are shared or dedicated.</p>
     *             </li>
     *          </ul>
     *          <p>If you set the context to <code>SAVINGS_PLANS</code>, you can use the following dimensions for searching:</p>
     *          <ul>
     *             <li>
     *                <p>SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)</p>
     *             </li>
     *             <li>
     *                <p>PAYMENT_OPTION - Payment option for the given Savings Plans (for example, All Upfront)</p>
     *             </li>
     *             <li>
     *                <p>REGION - The Amazon Web Services Region.</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE_FAMILY - The family of instances (For example, <code>m5</code>)</p>
     *             </li>
     *             <li>
     *                <p>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.</p>
     *             </li>
     *             <li>
     *                <p>SAVINGS_PLAN_ARN - The unique identifier for your Savings Plan</p>
     *             </li>
     *          </ul>
     */ Context ? : Context | string ; /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ Filter ? : Expression ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The key represents cost and usage metrics. The following values are supported:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>BlendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetAmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetUnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UsageQuantity</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NormalizedUsageAmount</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     *          <p>When you specify a <code>SortBy</code> paramater, the context must be <code>COST_AND_USAGE</code>. Further, when using <code>SortBy</code>, <code>NextPageToken</code> and <code>SearchString</code> are not supported.</p>
     */ SortBy ? : SortDefinition [ ] ; /**
     * <p>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.</p>
     *          <p>For <code>GetDimensionValues</code>, MaxResults has an upper limit of 1000.</p>
     */ MaxResults ? : number ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetDimensionValuesRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>You can use the following request parameters to query for how much of your instance usage a reservation covered.</p>
 */ export interface GetReservationCoverageRequest { /**
     * <p>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 <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is
     *             retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>. </p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>You can group the data by the following attributes:</p>
     * 		       <ul>
     *             <li>
     *                <p>AZ</p>
     *             </li>
     *             <li>
     *                <p>CACHE_ENGINE</p>
     *             </li>
     *             <li>
     *                <p>DATABASE_ENGINE</p>
     *             </li>
     *             <li>
     *                <p>DEPLOYMENT_OPTION</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE</p>
     *             </li>
     *             <li>
     *                <p>LINKED_ACCOUNT</p>
     *             </li>
     *             <li>
     *                <p>OPERATING_SYSTEM</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM</p>
     *             </li>
     *             <li>
     *                <p>REGION</p>
     *             </li>
     *             <li>
     *                <p>TENANCY</p>
     *             </li>
     *          </ul>
     */ GroupBy ? : GroupDefinition [ ] ; /**
     * <p>The granularity of the Amazon Web Services cost data for the reservation. Valid values are <code>MONTHLY</code> and <code>DAILY</code>.</p>
     * 		       <p>If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't set,
     * 			the response object doesn't include <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>.</p>
     * 		       <p>The <code>GetReservationCoverage</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity ? : Granularity | string ; /**
     * <p>Filters utilization data by dimensions. You can filter by the following dimensions:</p>
     * 		       <ul>
     *             <li>
     *                <p>AZ</p>
     *             </li>
     *             <li>
     *                <p>CACHE_ENGINE</p>
     *             </li>
     *             <li>
     *                <p>DATABASE_ENGINE</p>
     *             </li>
     *             <li>
     *                <p>DEPLOYMENT_OPTION</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE</p>
     *             </li>
     *             <li>
     *                <p>LINKED_ACCOUNT</p>
     *             </li>
     *             <li>
     *                <p>OPERATING_SYSTEM</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM</p>
     *             </li>
     *             <li>
     *                <p>REGION</p>
     *             </li>
     *             <li>
     *                <p>SERVICE</p>
     *             </li>
     *             <li>
     *                <p>TAG</p>
     *             </li>
     *             <li>
     *                <p>TENANCY</p>
     *             </li>
     *          </ul>
     * 		       <p>
     *             <code>GetReservationCoverage</code> uses the same
     * 			<a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
     * 			as the other operations, but only <code>AND</code> 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.</p>
     * 		       <p>If you don't provide a <code>SERVICE</code> filter, Cost Explorer defaults to EC2.</p>
     * 	        <p>Cost category is also supported.</p>
     */ Filter ? : Expression ; /**
     * <p>The measurement that you want your reservation coverage reported in.</p>
     * 		       <p>Valid values are <code>Hour</code>, <code>Unit</code>, and <code>Cost</code>. You can use multiple values in a request.</p>
     */ Metrics ? : string [ ] ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The following values are supported for <code>Key</code>:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>OnDemandCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>CoverageHoursPercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OnDemandHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>ReservedHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalRunningHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>CoverageNormalizedUnitsPercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OnDemandNormalizedUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>ReservedNormalizedUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalRunningNormalizedUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Time</code>
     *                </p>
     *             </li>
     *          </ul>
     *
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     */ SortBy ? : SortDefinition ; /**
     * <p>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.</p>
     */ MaxResults ? : number ; } export namespace GetReservationCoverageRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetReservationPurchaseRecommendationRequest { /**
     * <p>The account ID that is associated with the recommendation. </p>
     */ AccountId ? : string ; /**
     * <p>The specific service that you want recommendations for.</p>
     */ Service : string | undefined ; /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ Filter ? : Expression ; /**
     * <p>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 <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual member accounts only.</p>
     */ AccountScope ? : AccountScope | string ; /**
     * <p>The number of previous days that you want Amazon Web Services to consider when it calculates your recommendations.</p>
     */ LookbackPeriodInDays ? : LookbackPeriodInDays | string ; /**
     * <p>The reservation term that you want recommendations for.</p>
     */ TermInYears ? : TermInYears | string ; /**
     * <p>The reservation purchase option that you want recommendations for.</p>
     */ PaymentOption ? : PaymentOption | string ; /**
     * <p>The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.</p>
     */ ServiceSpecification ? : ServiceSpecification ; /**
     * <p>The number of recommendations that you want returned in a single response object.</p>
     */ PageSize ? : number ; /**
     * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
     */ NextPageToken ? : string ; } export namespace GetReservationPurchaseRecommendationRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetReservationUtilizationRequest { /**
     * <p>Sets the start and end dates for retrieving RI utilization. The start date is inclusive,  but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is
     *             retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>. </p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Groups only by <code>SUBSCRIPTION_ID</code>. Metadata is included.</p>
     */ GroupBy ? : GroupDefinition [ ] ; /**
     * <p>If <code>GroupBy</code> is set, <code>Granularity</code> can't be set. If <code>Granularity</code> isn't set,
     * 			the response object doesn't include <code>Granularity</code>, either <code>MONTHLY</code> or <code>DAILY</code>.
     * 			If both <code>GroupBy</code> and <code>Granularity</code> aren't set, <code>GetReservationUtilization</code> defaults to <code>DAILY</code>.</p>
     * 		       <p>The <code>GetReservationUtilization</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity ? : Granularity | string ; /**
     * <p>Filters utilization data by dimensions. You can filter by the following dimensions:</p>
     * 		       <ul>
     *             <li>
     *                <p>AZ</p>
     *             </li>
     *             <li>
     *                <p>CACHE_ENGINE</p>
     *             </li>
     *             <li>
     *                <p>DEPLOYMENT_OPTION</p>
     *             </li>
     *             <li>
     *                <p>INSTANCE_TYPE</p>
     *             </li>
     *             <li>
     *                <p>LINKED_ACCOUNT</p>
     *             </li>
     *             <li>
     *                <p>OPERATING_SYSTEM</p>
     *             </li>
     *             <li>
     *                <p>PLATFORM</p>
     *             </li>
     *             <li>
     *                <p>REGION</p>
     *             </li>
     *             <li>
     *                <p>SERVICE</p>
     *             </li>
     *             <li>
     *                <p>SCOPE</p>
     *             </li>
     *             <li>
     *                <p>TENANCY</p>
     *             </li>
     *          </ul>
     * 		       <p>
     *             <code>GetReservationUtilization</code> uses the same
     * 			<a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
     * 			as the other operations, but only <code>AND</code> 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.</p>
     */ Filter ? : Expression ; /**
     * <p>The value by which you want to sort the data.</p>
     *
     *          <p>The following values are supported for <code>Key</code>:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>UtilizationPercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UtilizationPercentageInUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PurchasedHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PurchasedUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalActualHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalActualUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnusedHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnusedUnits</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OnDemandCostOfRIHoursUsed</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetRISavings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalPotentialRISavings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedUpfrontFee</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedRecurringFee</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalAmortizedFee</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RICostForUnusedHours</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RealizedSavings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnrealizedSavings</code>
     *                </p>
     *             </li>
     *          </ul>
     *
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     */ SortBy ? : SortDefinition ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>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.</p>
     */ MaxResults ? : number ; } export namespace GetReservationUtilizationRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetRightsizingRecommendationRequest { /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ Filter ? : Expression ; /**
     * <p> 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. </p>
     */ Configuration ? : RightsizingRecommendationConfiguration ; /**
     * <p>The specific service that you want recommendations for. The only valid value for <code>GetRightsizingRecommendation</code> is
     *     	"<code>AmazonEC2</code>".</p>
     */ Service : string | undefined ; /**
     * <p>The number of recommendations that you want returned in a single response object.</p>
     */ PageSize ? : number ; /**
     * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
     */ NextPageToken ? : string ; } export namespace GetRightsizingRecommendationRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansCoverageRequest { /**
     * <p>The time period that you want the usage and costs for. The <code>Start</code> date must be within 13 months. The <code>End</code> date must be after the <code>Start</code> date, and before the current date. Future dates can't be used as an <code>End</code> date.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>You can group the data using the attributes <code>INSTANCE_FAMILY</code>, <code>REGION</code>, or <code>SERVICE</code>.</p>
     */ GroupBy ? : GroupDefinition [ ] ; /**
     * <p>The granularity of the Amazon Web Services cost data for your Savings Plans. <code>Granularity</code> can't be set if <code>GroupBy</code> is set.</p>
     * 	        <p>The <code>GetSavingsPlansCoverage</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity ? : Granularity | string ; /**
     * <p>Filters Savings Plans coverage data by dimensions. You can filter data for Savings Plans usage with the following dimensions:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>REGION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SERVICE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_FAMILY</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>
     *             <code>GetSavingsPlansCoverage</code> uses the same
     *       <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
     *       as the other operations, but only <code>AND</code> is supported among each dimension. If there are multiple values for a dimension, they are OR'd together.</p>
     *          <p>Cost category is also supported.</p>
     */ Filter ? : Expression ; /**
     * <p>The measurement that you want your Savings Plans coverage reported in. The only valid value is <code>SpendCoveredBySavingsPlans</code>.</p>
     */ Metrics ? : string [ ] ; /**
     * <p>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.</p>
     */ NextToken ? : string ; /**
     * <p>The number of items to be returned in a response. The default is <code>20</code>, with a minimum value of <code>1</code>.</p>
     */ MaxResults ? : number ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The following values are supported for <code>Key</code>:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>SpendCoveredBySavingsPlan</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OnDemandCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>CoveragePercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>InstanceFamily</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Region</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>Service</code>
     *                </p>
     *             </li>
     *          </ul>
     *
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     */ SortBy ? : SortDefinition ; } export namespace GetSavingsPlansCoverageRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansPurchaseRecommendationRequest { /**
     * <p>The Savings Plans recommendation type requested.</p>
     */ SavingsPlansType : SupportedSavingsPlansType | string | undefined ; /**
     * <p>The savings plan recommendation term used to
     *       generate these
     *       recommendations.</p>
     */ TermInYears : TermInYears | string | undefined ; /**
     * <p>The payment option used to generate these recommendations.</p>
     */ PaymentOption : PaymentOption | string | undefined ; /**
     * <p>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 <code>PAYER</code>. If the value is <code>LINKED</code>, recommendations are calculated for individual member accounts only.</p>
     */ AccountScope ? : AccountScope | string ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; /**
     * <p>The number of recommendations that you want returned in a single response object.</p>
     */ PageSize ? : number ; /**
     * <p>The lookback period used to generate the recommendation.</p>
     */ LookbackPeriodInDays : LookbackPeriodInDays | string | undefined ; /**
     * <p>You can filter your recommendations by Account ID with the <code>LINKED_ACCOUNT</code>
     *       dimension. To filter your recommendations by Account ID, specify <code>Key</code> as
     *         <code>LINKED_ACCOUNT</code> and <code>Value</code> as the comma-separated Acount ID(s) for
     *       which you want to see Savings Plans purchase recommendations.</p>
     *          <p>For GetSavingsPlansPurchaseRecommendation, the <code>Filter</code> does not include
     *         <code>CostCategories</code> or <code>Tags</code>. It only includes <code>Dimensions</code>.
     *       With <code>Dimensions</code>, <code>Key</code> must be <code>LINKED_ACCOUNT</code> and
     *         <code>Value</code> can be a single Account ID or multiple comma-separated Account IDs for
     *       which you want to see Savings Plans Purchase Recommendations. <code>AND</code> and
     *         <code>OR</code> operators are not supported.</p>
     */ Filter ? : Expression ; } export namespace GetSavingsPlansPurchaseRecommendationRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansUtilizationDetailsRequest { /**
     * <p>The time period that you want the usage and costs for. The <code>Start</code> date must be within 13 months. The <code>End</code> date must be after the <code>Start</code> date, and before the current date. Future dates can't be used as an <code>End</code> date.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Filters Savings Plans utilization coverage data for active Savings Plans dimensions.  You can filter data with the following dimensions:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SAVINGS_PLAN_ARN</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>REGION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PAYMENT_OPTION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE_FAMILY</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>
     *             <code>GetSavingsPlansUtilizationDetails</code> uses the same
     *       <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
     *       as the other operations, but only <code>AND</code> is supported among each dimension.</p>
     */ Filter ? : Expression ; /**
     * <p>The data type.</p>
     */ DataType ? : ( SavingsPlansDataType | string ) [ ] ; /**
     * <p>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.</p>
     */ NextToken ? : string ; /**
     * <p>The number of items to be returned in a response. The default is <code>20</code>, with a minimum value of <code>1</code>.</p>
     */ MaxResults ? : number ; /**
     * <p>The value by which you want to sort the data.</p>
     *
     *          <p>The following values are supported for <code>Key</code>:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>UtilizationPercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UsedCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnusedCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetSavings</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedRecurringCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedUpfrontCommitment</code>
     *                </p>
     *             </li>
     *          </ul>
     *
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     */ SortBy ? : SortDefinition ; } export namespace GetSavingsPlansUtilizationDetailsRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetSavingsPlansUtilizationRequest { /**
     * <p>The time period that you want the usage and costs for. The <code>Start</code> date must be within 13 months. The <code>End</code> date must be after the <code>Start</code> date, and before the current date. Future dates can't be used as an <code>End</code> date.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>The granularity of the Amazon Web Services utillization data for your Savings Plans.</p>
     * 	        <p>The <code>GetSavingsPlansUtilization</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity ? : Granularity | string ; /**
     * <p>Filters Savings Plans utilization coverage data for active Savings Plans dimensions.  You can filter data with the following dimensions:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SAVINGS_PLAN_ARN</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SAVINGS_PLANS_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>REGION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PAYMENT_OPTION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE_FAMILY</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>
     *             <code>GetSavingsPlansUtilization</code> uses the same
     *       <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a> object
     *       as the other operations, but only <code>AND</code> is supported among each dimension.</p>
     */ Filter ? : Expression ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The following values are supported for <code>Key</code>:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>UtilizationPercentage</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TotalCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UsedCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnusedCommitment</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetSavings</code>
     *                </p>
     *             </li>
     *          </ul>
     *
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     */ SortBy ? : SortDefinition ; } export namespace GetSavingsPlansUtilizationRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetTagsRequest { /**
     * <p>The value that you want to search for.</p>
     */ SearchString ? : string ; /**
     * <p>The start and end dates for retrieving the dimension values. The start date is inclusive,  but the end date is exclusive. For example, if <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is
     *             retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>The key of the tag that you want to return values for.</p>
     */ TagKey ? : string ; /**
     * <p>Use <code>Expression</code> to filter by cost or by usage. There are two patterns: </p>
     *         <ul>
     *             <li>
     *                 <p>Simple dimension values - You can set the dimension name and values for the
     *                     filters that you plan to use. For example, you can filter for
     *                         <code>REGION==us-east-1 OR REGION==us-west-1</code>. For
     *                         <code>GetRightsizingRecommendation</code>, the Region is a full name (for
     *                     example, <code>REGION==US East (N. Virginia)</code>. The <code>Expression</code>
     *                     example is as follows:</p>
     *                 <p>
     *                     <code>{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ]
     *                         } }</code>
     *                 </p>
     *                 <p>The list of dimension values are OR'd together to retrieve cost or usage data.
     *                     You can create <code>Expression</code> and <code>DimensionValues</code> objects
     *                     using either <code>with*</code> methods or <code>set*</code> methods in multiple
     *                     lines. </p>
     *             </li>
     *             <li>
     *                 <p>Compound dimension values with logical operations - You can use multiple
     *                         <code>Expression</code> types and the logical operators
     *                         <code>AND/OR/NOT</code> to create a list of one or more
     *                         <code>Expression</code> objects. By doing this, you can filter on more
     *                     advanced options. For example, you can filter on <code>((REGION == us-east-1 OR
     *                         REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE !=
     *                         DataTransfer)</code>. The <code>Expression</code> for that is as
     *                     follows:</p>
     *                 <p>
     *                     <code>{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [
     *                         "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values":
     *                         ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values":
     *                         ["DataTransfer"] }}} ] } </code>
     *                 </p>
     *                 <note>
     *                     <p>Because each <code>Expression</code> can have only one operator, the
     *                         service returns an error if more than one is specified. The following
     *                         example shows an <code>Expression</code> object that creates an
     *                         error.</p>
     *                 </note>
     *                 <p>
     *                     <code> { "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE",
     *                         "Values": [ "DataTransfer" ] } } </code>
     *                 </p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>For the <code>GetRightsizingRecommendation</code> action, a combination of OR and
     *                 NOT isn't supported. OR isn't supported between different dimensions, or dimensions
     *                 and tags. NOT operators aren't supported. Dimensions are also limited to
     *                     <code>LINKED_ACCOUNT</code>, <code>REGION</code>, or
     *                     <code>RIGHTSIZING_TYPE</code>.</p>
     *             <p>For the <code>GetReservationPurchaseRecommendation</code> action, only NOT is
     *                 supported. AND and OR aren't supported. Dimensions are limited to
     *                     <code>LINKED_ACCOUNT</code>.</p>
     *         </note>
     */ Filter ? : Expression ; /**
     * <p>The value by which you want to sort the data.</p>
     *          <p>The key represents cost and usage metrics. The following values are supported:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <code>BlendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>AmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetAmortizedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NetUnblendedCost</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>UsageQuantity</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>NormalizedUsageAmount</code>
     *                </p>
     *             </li>
     *          </ul>
     *          <p>Supported values for <code>SortOrder</code> are <code>ASCENDING</code> or <code>DESCENDING</code>.</p>
     *          <p>When using <code>SortBy</code>, <code>NextPageToken</code> and <code>SearchString</code> are not supported.</p>
     */ SortBy ? : SortDefinition [ ] ; /**
     * <p>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.</p>
     *          <p>For <code>GetTags</code>, MaxResults has an upper limit of 1000.</p>
     */ MaxResults ? : number ; /**
     * <p>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.</p>
     */ NextPageToken ? : string ; } export namespace GetTagsRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetUsageForecastRequest { /**
     * <p>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 <code>start</code> is <code>2017-01-01</code> and <code>end</code> is <code>2017-05-01</code>, then the cost and usage data is
     * 		  retrieved from <code>2017-01-01</code> up to and including <code>2017-04-30</code> but not including <code>2017-05-01</code>. The start date must be equal to or later than the current date to avoid a validation error.</p>
     */ TimePeriod : DateInterval | undefined ; /**
     * <p>Which metric Cost Explorer uses to create your forecast.</p>
     * 		       <p>Valid values for a <code>GetUsageForecast</code> call are the following:</p>
     * 		       <ul>
     *             <li>
     * 				           <p>USAGE_QUANTITY</p>
     * 			         </li>
     *             <li>
     * 				           <p>NORMALIZED_USAGE_AMOUNT</p>
     * 			         </li>
     *          </ul>
     */ Metric : Metric | string | undefined ; /**
     * <p>How granular you want the forecast to be. You can get 3 months of <code>DAILY</code> forecasts or 12 months of <code>MONTHLY</code> forecasts.</p>
     * 		       <p>The <code>GetUsageForecast</code> operation supports only <code>DAILY</code> and <code>MONTHLY</code> granularities.</p>
     */ Granularity : Granularity | string | undefined ; /**
     * <p>The filters that you want to use to filter your forecast. The <code>GetUsageForecast</code> API supports filtering by the following dimensions:</p>
     *
     * 	        <ul>
     *             <li>
     *                <p>
     *                   <code>AZ</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LINKED_ACCOUNT_NAME</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OPERATION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PURCHASE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>REGION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SERVICE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>USAGE_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>USAGE_TYPE_GROUP</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RECORD_TYPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>OPERATING_SYSTEM</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>TENANCY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SCOPE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>PLATFORM</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SUBSCRIPTION_ID</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>LEGAL_ENTITY_NAME</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>DEPLOYMENT_OPTION</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>DATABASE_ENGINE</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>INSTANCE_TYPE_FAMILY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>BILLING_ENTITY</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>RESERVATION_ID</code>
     *                </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <code>SAVINGS_PLAN_ARN</code>
     *                </p>
     *             </li>
     *          </ul>
     */ Filter ? : Expression ; /**
     * <p>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.</p>
     */ PredictionIntervalLevel ? : number ; } export namespace GetUsageForecastRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface CreateAnomalyMonitorRequest { /**
     * <p>The cost anomaly detection monitor object that you want to create.</p>
     */ AnomalyMonitor : AnomalyMonitor | undefined ; } export namespace CreateAnomalyMonitorRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } /**
 * <p>The structure of Cost Categories. This includes detailed metadata and the set of rules
 *             for the <code>CostCategory</code> object.</p>
 */ export interface CostCategory { /**
     * <p>The unique identifier for your Cost Category. </p>
     */ CostCategoryArn : string | undefined ; /**
     * <p>The effective state data of your Cost Category.</p>
     */ EffectiveStart : string | undefined ; /**
     * <p> The effective end data of your Cost Category.</p>
     */ EffectiveEnd ? : string ; /**
     * <p>The unique name of the Cost Category.</p>
     */ Name : string | undefined ; /**
     * <p>The rule schema version in this particular Cost Category.</p>
     */ RuleVersion : CostCategoryRuleVersion | string | undefined ; /**
     * <p>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.
     *         </p>
     */ Rules : CostCategoryRule [ ] | undefined ; /**
     * <p> The split charge rules that are used to allocate your charges between your Cost
     *             Category values. </p>
     */ SplitChargeRules ? : CostCategorySplitChargeRule [ ] ; /**
     * <p>The list of processing statuses for Cost Management products for a specific cost
     *             category. </p>
     */ ProcessingStatus ? : CostCategoryProcessingStatus [ ] ; /**
     * <p>The
     *             default value for the cost category.</p>
     */ DefaultValue ? : string ; } export namespace CostCategory { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface CreateCostCategoryDefinitionRequest { /**
     * <p>The unique name of the Cost Category.</p>
     */ Name : string | undefined ; /**
     * <p>The rule schema version in this particular Cost Category.</p>
     */ RuleVersion : CostCategoryRuleVersion | string | undefined ; /**
     * <p>The Cost Category rules used to categorize costs. For more information, see
     *         <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule</a>.</p>
     */ Rules : CostCategoryRule [ ] | undefined ; /**
     * <p>The
     *             default value for the cost category.</p>
     */ DefaultValue ? : string ; /**
     * <p>
     *       The split charge rules used to allocate your charges between your Cost Category values.
     *     </p>
     */ SplitChargeRules ? : CostCategorySplitChargeRule [ ] ; } export namespace CreateCostCategoryDefinitionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface GetAnomalyMonitorsResponse { /**
     * <p>A list of cost anomaly monitors that includes the detailed metadata for each monitor. </p>
     */ AnomalyMonitors : AnomalyMonitor [ ] | undefined ; /**
     * <p>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. </p>
     */ NextPageToken ? : string ; } export namespace GetAnomalyMonitorsResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface UpdateCostCategoryDefinitionRequest { /**
     * <p>The unique identifier for your Cost Category.</p>
     */ CostCategoryArn : string | undefined ; /**
     * <p>The rule schema version in this particular Cost Category.</p>
     */ RuleVersion : CostCategoryRuleVersion | string | undefined ; /**
     * <p>The <code>Expression</code> object used to categorize costs. For more information, see
     *         <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html">CostCategoryRule </a>. </p>
     */ Rules : CostCategoryRule [ ] | undefined ; /**
     * <p>The
     *             default value for the cost category.</p>
     */ DefaultValue ? : string ; /**
     * <p>
     *       The split charge rules used to allocate your charges between your Cost Category values.
     *     </p>
     */ SplitChargeRules ? : CostCategorySplitChargeRule [ ] ; } export namespace UpdateCostCategoryDefinitionRequest { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; } export interface DescribeCostCategoryDefinitionResponse { /**
     * <p>The structure of Cost Categories. This includes detailed metadata and the set of rules
     *             for the <code>CostCategory</code> object.</p>
     */ CostCategory ? : CostCategory ; } export namespace DescribeCostCategoryDefinitionResponse { internal export const filterSensitiveLog = ( obj ) : any => ( { ... obj , } ) ; }