/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the ce-2017-10-25.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CostExplorer.Model;
namespace Amazon.CostExplorer
{
///
/// Interface for accessing CostExplorer
///
/// You can use the Cost Explorer API to programmatically query your cost and usage data.
/// You can query for aggregated data such as total monthly costs or total daily usage.
/// You can also query for granular data. This might include the number of daily write
/// operations for Amazon DynamoDB database tables in your production environment.
///
///
///
/// Service Endpoint
///
///
///
/// The Cost Explorer API provides the following endpoint:
///
/// -
///
///
https://ce.us-east-1.amazonaws.com
///
///
///
/// For information about the costs that are associated with the Cost Explorer API, see
/// Amazon Web Services Cost
/// Management Pricing.
///
///
public partial interface IAmazonCostExplorer : IAmazonService, IDisposable
{
///
/// Paginators for the service
///
ICostExplorerPaginatorFactory Paginators { get; }
#region CreateAnomalyMonitor
///
/// Creates a new cost anomaly detection monitor with the requested type and monitor specification.
///
/// Container for the necessary parameters to execute the CreateAnomalyMonitor service method.
///
/// The response from the CreateAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for CreateAnomalyMonitor Operation
CreateAnomalyMonitorResponse CreateAnomalyMonitor(CreateAnomalyMonitorRequest request);
///
/// Creates a new cost anomaly detection monitor with the requested type and monitor specification.
///
/// Container for the necessary parameters to execute the CreateAnomalyMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for CreateAnomalyMonitor Operation
Task CreateAnomalyMonitorAsync(CreateAnomalyMonitorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAnomalySubscription
///
/// Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription
/// to define subscribers with email or SNS notifications. Email subscribers can set an
/// absolute or percentage threshold and a time frequency for receiving notifications.
///
/// Container for the necessary parameters to execute the CreateAnomalySubscription service method.
///
/// The response from the CreateAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for CreateAnomalySubscription Operation
CreateAnomalySubscriptionResponse CreateAnomalySubscription(CreateAnomalySubscriptionRequest request);
///
/// Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription
/// to define subscribers with email or SNS notifications. Email subscribers can set an
/// absolute or percentage threshold and a time frequency for receiving notifications.
///
/// Container for the necessary parameters to execute the CreateAnomalySubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for CreateAnomalySubscription Operation
Task CreateAnomalySubscriptionAsync(CreateAnomalySubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateCostCategoryDefinition
///
/// Creates a new Cost Category with the requested name and rules.
///
/// Container for the necessary parameters to execute the CreateCostCategoryDefinition service method.
///
/// The response from the CreateCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for CreateCostCategoryDefinition Operation
CreateCostCategoryDefinitionResponse CreateCostCategoryDefinition(CreateCostCategoryDefinitionRequest request);
///
/// Creates a new Cost Category with the requested name and rules.
///
/// Container for the necessary parameters to execute the CreateCostCategoryDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for CreateCostCategoryDefinition Operation
Task CreateCostCategoryDefinitionAsync(CreateCostCategoryDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAnomalyMonitor
///
/// Deletes a cost anomaly monitor.
///
/// Container for the necessary parameters to execute the DeleteAnomalyMonitor service method.
///
/// The response from the DeleteAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for DeleteAnomalyMonitor Operation
DeleteAnomalyMonitorResponse DeleteAnomalyMonitor(DeleteAnomalyMonitorRequest request);
///
/// Deletes a cost anomaly monitor.
///
/// Container for the necessary parameters to execute the DeleteAnomalyMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for DeleteAnomalyMonitor Operation
Task DeleteAnomalyMonitorAsync(DeleteAnomalyMonitorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAnomalySubscription
///
/// Deletes a cost anomaly subscription.
///
/// Container for the necessary parameters to execute the DeleteAnomalySubscription service method.
///
/// The response from the DeleteAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for DeleteAnomalySubscription Operation
DeleteAnomalySubscriptionResponse DeleteAnomalySubscription(DeleteAnomalySubscriptionRequest request);
///
/// Deletes a cost anomaly subscription.
///
/// Container for the necessary parameters to execute the DeleteAnomalySubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for DeleteAnomalySubscription Operation
Task DeleteAnomalySubscriptionAsync(DeleteAnomalySubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCostCategoryDefinition
///
/// Deletes a Cost Category. Expenses from this month going forward will no longer be
/// categorized with this Cost Category.
///
/// Container for the necessary parameters to execute the DeleteCostCategoryDefinition service method.
///
/// The response from the DeleteCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for DeleteCostCategoryDefinition Operation
DeleteCostCategoryDefinitionResponse DeleteCostCategoryDefinition(DeleteCostCategoryDefinitionRequest request);
///
/// Deletes a Cost Category. Expenses from this month going forward will no longer be
/// categorized with this Cost Category.
///
/// Container for the necessary parameters to execute the DeleteCostCategoryDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for DeleteCostCategoryDefinition Operation
Task DeleteCostCategoryDefinitionAsync(DeleteCostCategoryDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeCostCategoryDefinition
///
/// Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates
/// of a Cost Category that's defined in the account.
///
///
///
/// You have the option to use EffectiveOn
to return a Cost Category that's
/// active on a specific date. If there's no EffectiveOn
specified, you see
/// a Cost Category that's effective on the current date. If Cost Category is still effective,
/// EffectiveEnd
is omitted in the response.
///
///
/// Container for the necessary parameters to execute the DescribeCostCategoryDefinition service method.
///
/// The response from the DescribeCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for DescribeCostCategoryDefinition Operation
DescribeCostCategoryDefinitionResponse DescribeCostCategoryDefinition(DescribeCostCategoryDefinitionRequest request);
///
/// Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates
/// of a Cost Category that's defined in the account.
///
///
///
/// You have the option to use EffectiveOn
to return a Cost Category that's
/// active on a specific date. If there's no EffectiveOn
specified, you see
/// a Cost Category that's effective on the current date. If Cost Category is still effective,
/// EffectiveEnd
is omitted in the response.
///
///
/// Container for the necessary parameters to execute the DescribeCostCategoryDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for DescribeCostCategoryDefinition Operation
Task DescribeCostCategoryDefinitionAsync(DescribeCostCategoryDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAnomalies
///
/// Retrieves all of the cost anomalies detected on your account during the time period
/// that's specified by the DateInterval
object. Anomalies are available
/// for up to 90 days.
///
/// Container for the necessary parameters to execute the GetAnomalies service method.
///
/// The response from the GetAnomalies service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetAnomalies Operation
GetAnomaliesResponse GetAnomalies(GetAnomaliesRequest request);
///
/// Retrieves all of the cost anomalies detected on your account during the time period
/// that's specified by the DateInterval
object. Anomalies are available
/// for up to 90 days.
///
/// Container for the necessary parameters to execute the GetAnomalies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAnomalies service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetAnomalies Operation
Task GetAnomaliesAsync(GetAnomaliesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAnomalyMonitors
///
/// Retrieves the cost anomaly monitor definitions for your account. You can filter using
/// a list of cost anomaly monitor Amazon Resource Names (ARNs).
///
/// Container for the necessary parameters to execute the GetAnomalyMonitors service method.
///
/// The response from the GetAnomalyMonitors service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for GetAnomalyMonitors Operation
GetAnomalyMonitorsResponse GetAnomalyMonitors(GetAnomalyMonitorsRequest request);
///
/// Retrieves the cost anomaly monitor definitions for your account. You can filter using
/// a list of cost anomaly monitor Amazon Resource Names (ARNs).
///
/// Container for the necessary parameters to execute the GetAnomalyMonitors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAnomalyMonitors service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for GetAnomalyMonitors Operation
Task GetAnomalyMonitorsAsync(GetAnomalyMonitorsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAnomalySubscriptions
///
/// Retrieves the cost anomaly subscription objects for your account. You can filter using
/// a list of cost anomaly monitor Amazon Resource Names (ARNs).
///
/// Container for the necessary parameters to execute the GetAnomalySubscriptions service method.
///
/// The response from the GetAnomalySubscriptions service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for GetAnomalySubscriptions Operation
GetAnomalySubscriptionsResponse GetAnomalySubscriptions(GetAnomalySubscriptionsRequest request);
///
/// Retrieves the cost anomaly subscription objects for your account. You can filter using
/// a list of cost anomaly monitor Amazon Resource Names (ARNs).
///
/// Container for the necessary parameters to execute the GetAnomalySubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAnomalySubscriptions service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for GetAnomalySubscriptions Operation
Task GetAnomalySubscriptionsAsync(GetAnomalySubscriptionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCostAndUsage
///
/// Retrieves cost and usage metrics for your account. You can specify which cost and
/// usage-related metric that you want the request to return. For example, you can specify
/// BlendedCosts
or UsageQuantity
. You can also filter and group
/// your data by various dimensions, such as SERVICE
or AZ
,
/// in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues
/// operation. Management account in an organization in Organizations have access to all
/// member accounts.
///
///
///
/// For information about filter limitations, see Quotas
/// and restrictions in the Billing and Cost Management User Guide.
///
///
/// Container for the necessary parameters to execute the GetCostAndUsage service method.
///
/// The response from the GetCostAndUsage service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostAndUsage Operation
GetCostAndUsageResponse GetCostAndUsage(GetCostAndUsageRequest request);
///
/// Retrieves cost and usage metrics for your account. You can specify which cost and
/// usage-related metric that you want the request to return. For example, you can specify
/// BlendedCosts
or UsageQuantity
. You can also filter and group
/// your data by various dimensions, such as SERVICE
or AZ
,
/// in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues
/// operation. Management account in an organization in Organizations have access to all
/// member accounts.
///
///
///
/// For information about filter limitations, see Quotas
/// and restrictions in the Billing and Cost Management User Guide.
///
///
/// Container for the necessary parameters to execute the GetCostAndUsage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCostAndUsage service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostAndUsage Operation
Task GetCostAndUsageAsync(GetCostAndUsageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCostAndUsageWithResources
///
/// Retrieves cost and usage metrics with resources for your account. You can specify
/// which cost and usage-related metric, such as BlendedCosts
or UsageQuantity
,
/// that you want the request to return. You can also filter and group your data by various
/// dimensions, such as SERVICE
or AZ
, in a specific time range.
/// For a complete list of valid dimensions, see the GetDimensionValues
/// operation. Management account in an organization in Organizations have access to all
/// member accounts. This API is currently available for the Amazon Elastic Compute Cloud
/// – Compute service only.
///
///
///
/// This is an opt-in only feature. You can enable this feature from the Cost Explorer
/// Settings page. For information about how to access the Settings page, see Controlling
/// Access for Cost Explorer in the Billing and Cost Management User Guide.
///
///
///
/// Container for the necessary parameters to execute the GetCostAndUsageWithResources service method.
///
/// The response from the GetCostAndUsageWithResources service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostAndUsageWithResources Operation
GetCostAndUsageWithResourcesResponse GetCostAndUsageWithResources(GetCostAndUsageWithResourcesRequest request);
///
/// Retrieves cost and usage metrics with resources for your account. You can specify
/// which cost and usage-related metric, such as BlendedCosts
or UsageQuantity
,
/// that you want the request to return. You can also filter and group your data by various
/// dimensions, such as SERVICE
or AZ
, in a specific time range.
/// For a complete list of valid dimensions, see the GetDimensionValues
/// operation. Management account in an organization in Organizations have access to all
/// member accounts. This API is currently available for the Amazon Elastic Compute Cloud
/// – Compute service only.
///
///
///
/// This is an opt-in only feature. You can enable this feature from the Cost Explorer
/// Settings page. For information about how to access the Settings page, see Controlling
/// Access for Cost Explorer in the Billing and Cost Management User Guide.
///
///
///
/// Container for the necessary parameters to execute the GetCostAndUsageWithResources service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCostAndUsageWithResources service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostAndUsageWithResources Operation
Task GetCostAndUsageWithResourcesAsync(GetCostAndUsageWithResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCostCategories
///
/// Retrieves an array of Cost Category names and values incurred cost.
///
///
///
/// If some Cost Category names and values are not associated with any cost, they will
/// not be returned by this API.
///
///
///
/// Container for the necessary parameters to execute the GetCostCategories service method.
///
/// The response from the GetCostCategories service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostCategories Operation
GetCostCategoriesResponse GetCostCategories(GetCostCategoriesRequest request);
///
/// Retrieves an array of Cost Category names and values incurred cost.
///
///
///
/// If some Cost Category names and values are not associated with any cost, they will
/// not be returned by this API.
///
///
///
/// Container for the necessary parameters to execute the GetCostCategories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCostCategories service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetCostCategories Operation
Task GetCostCategoriesAsync(GetCostCategoriesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCostForecast
///
/// Retrieves a forecast for how much Amazon Web Services predicts that you will spend
/// over the forecast time period that you select, based on your past costs.
///
/// Container for the necessary parameters to execute the GetCostForecast service method.
///
/// The response from the GetCostForecast service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetCostForecast Operation
GetCostForecastResponse GetCostForecast(GetCostForecastRequest request);
///
/// Retrieves a forecast for how much Amazon Web Services predicts that you will spend
/// over the forecast time period that you select, based on your past costs.
///
/// Container for the necessary parameters to execute the GetCostForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCostForecast service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetCostForecast Operation
Task GetCostForecastAsync(GetCostForecastRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDimensionValues
///
/// Retrieves all available filter values for a specified filter over a period of time.
/// You can search the dimension values for an arbitrary string.
///
/// Container for the necessary parameters to execute the GetDimensionValues service method.
///
/// The response from the GetDimensionValues service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetDimensionValues Operation
GetDimensionValuesResponse GetDimensionValues(GetDimensionValuesRequest request);
///
/// Retrieves all available filter values for a specified filter over a period of time.
/// You can search the dimension values for an arbitrary string.
///
/// Container for the necessary parameters to execute the GetDimensionValues service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDimensionValues service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetDimensionValues Operation
Task GetDimensionValuesAsync(GetDimensionValuesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetReservationCoverage
///
/// Retrieves the reservation coverage for your account, which you can use to see how
/// much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database
/// Service, or Amazon Redshift usage is covered by a reservation. An organization's management
/// account can see the coverage of the associated member accounts. This supports dimensions,
/// Cost Categories, and nested expressions. For any time period, you can filter data
/// about reservation usage by the following dimensions:
///
/// -
///
/// AZ
///
///
-
///
/// CACHE_ENGINE
///
///
-
///
/// DATABASE_ENGINE
///
///
-
///
/// DEPLOYMENT_OPTION
///
///
-
///
/// INSTANCE_TYPE
///
///
-
///
/// LINKED_ACCOUNT
///
///
-
///
/// OPERATING_SYSTEM
///
///
-
///
/// PLATFORM
///
///
-
///
/// REGION
///
///
-
///
/// SERVICE
///
///
-
///
/// TAG
///
///
-
///
/// TENANCY
///
///
///
/// To determine valid values for a dimension, use the GetDimensionValues
/// operation.
///
///
/// Container for the necessary parameters to execute the GetReservationCoverage service method.
///
/// The response from the GetReservationCoverage service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationCoverage Operation
GetReservationCoverageResponse GetReservationCoverage(GetReservationCoverageRequest request);
///
/// Retrieves the reservation coverage for your account, which you can use to see how
/// much of your Amazon Elastic Compute Cloud, Amazon ElastiCache, Amazon Relational Database
/// Service, or Amazon Redshift usage is covered by a reservation. An organization's management
/// account can see the coverage of the associated member accounts. This supports dimensions,
/// Cost Categories, and nested expressions. For any time period, you can filter data
/// about reservation usage by the following dimensions:
///
/// -
///
/// AZ
///
///
-
///
/// CACHE_ENGINE
///
///
-
///
/// DATABASE_ENGINE
///
///
-
///
/// DEPLOYMENT_OPTION
///
///
-
///
/// INSTANCE_TYPE
///
///
-
///
/// LINKED_ACCOUNT
///
///
-
///
/// OPERATING_SYSTEM
///
///
-
///
/// PLATFORM
///
///
-
///
/// REGION
///
///
-
///
/// SERVICE
///
///
-
///
/// TAG
///
///
-
///
/// TENANCY
///
///
///
/// To determine valid values for a dimension, use the GetDimensionValues
/// operation.
///
///
/// Container for the necessary parameters to execute the GetReservationCoverage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetReservationCoverage service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationCoverage Operation
Task GetReservationCoverageAsync(GetReservationCoverageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetReservationPurchaseRecommendation
///
/// Gets recommendations for reservation purchases. These recommendations might help you
/// to reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared
/// to On-Demand pricing.
///
///
///
/// Amazon Web Services generates your recommendations by identifying your On-Demand usage
/// during a specific time period and collecting your usage into categories that are eligible
/// for a reservation. After Amazon Web Services has these categories, it simulates every
/// combination of reservations in each category of usage to identify the best number
/// of each type of Reserved Instance (RI) to purchase to maximize your estimated savings.
///
///
///
///
/// For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
/// tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you
/// buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web
/// Services recommends the smallest size instance in an instance family. This makes it
/// easier to purchase a size-flexible Reserved Instance (RI). Amazon Web Services also
/// shows the equal number of normalized units. This way, you can purchase any instance
/// size that you want. For this example, your RI recommendation is for c4.large
/// because that is the smallest size instance in the c4 instance family.
///
///
/// Container for the necessary parameters to execute the GetReservationPurchaseRecommendation service method.
///
/// The response from the GetReservationPurchaseRecommendation service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationPurchaseRecommendation Operation
GetReservationPurchaseRecommendationResponse GetReservationPurchaseRecommendation(GetReservationPurchaseRecommendationRequest request);
///
/// Gets recommendations for reservation purchases. These recommendations might help you
/// to reduce your costs. Reservations provide a discounted hourly rate (up to 75%) compared
/// to On-Demand pricing.
///
///
///
/// Amazon Web Services generates your recommendations by identifying your On-Demand usage
/// during a specific time period and collecting your usage into categories that are eligible
/// for a reservation. After Amazon Web Services has these categories, it simulates every
/// combination of reservations in each category of usage to identify the best number
/// of each type of Reserved Instance (RI) to purchase to maximize your estimated savings.
///
///
///
///
/// For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared
/// tenancy, and c4 family usage in the US West (Oregon) Region and recommends that you
/// buy size-flexible regional reservations to apply to the c4 family usage. Amazon Web
/// Services recommends the smallest size instance in an instance family. This makes it
/// easier to purchase a size-flexible Reserved Instance (RI). Amazon Web Services also
/// shows the equal number of normalized units. This way, you can purchase any instance
/// size that you want. For this example, your RI recommendation is for c4.large
/// because that is the smallest size instance in the c4 instance family.
///
///
/// Container for the necessary parameters to execute the GetReservationPurchaseRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetReservationPurchaseRecommendation service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationPurchaseRecommendation Operation
Task GetReservationPurchaseRecommendationAsync(GetReservationPurchaseRecommendationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetReservationUtilization
///
/// Retrieves the reservation utilization for your account. Management account in an organization
/// have access to member accounts. You can filter data by dimensions in a time period.
/// You can use GetDimensionValues
to determine the possible dimension values.
/// Currently, you can group only by SUBSCRIPTION_ID
.
///
/// Container for the necessary parameters to execute the GetReservationUtilization service method.
///
/// The response from the GetReservationUtilization service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationUtilization Operation
GetReservationUtilizationResponse GetReservationUtilization(GetReservationUtilizationRequest request);
///
/// Retrieves the reservation utilization for your account. Management account in an organization
/// have access to member accounts. You can filter data by dimensions in a time period.
/// You can use GetDimensionValues
to determine the possible dimension values.
/// Currently, you can group only by SUBSCRIPTION_ID
.
///
/// Container for the necessary parameters to execute the GetReservationUtilization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetReservationUtilization service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetReservationUtilization Operation
Task GetReservationUtilizationAsync(GetReservationUtilizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRightsizingRecommendation
///
/// Creates recommendations that help you save cost by identifying idle and underutilized
/// Amazon EC2 instances.
///
///
///
/// Recommendations are generated to either downsize or terminate instances, along with
/// providing savings detail and metrics. For more information about calculation and function,
/// see Optimizing
/// Your Cost with Rightsizing Recommendations in the Billing and Cost Management
/// User Guide.
///
///
/// Container for the necessary parameters to execute the GetRightsizingRecommendation service method.
///
/// The response from the GetRightsizingRecommendation service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetRightsizingRecommendation Operation
GetRightsizingRecommendationResponse GetRightsizingRecommendation(GetRightsizingRecommendationRequest request);
///
/// Creates recommendations that help you save cost by identifying idle and underutilized
/// Amazon EC2 instances.
///
///
///
/// Recommendations are generated to either downsize or terminate instances, along with
/// providing savings detail and metrics. For more information about calculation and function,
/// see Optimizing
/// Your Cost with Rightsizing Recommendations in the Billing and Cost Management
/// User Guide.
///
///
/// Container for the necessary parameters to execute the GetRightsizingRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRightsizingRecommendation service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetRightsizingRecommendation Operation
Task GetRightsizingRecommendationAsync(GetRightsizingRecommendationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSavingsPlanPurchaseRecommendationDetails
///
/// Retrieves the details for a Savings Plan recommendation. These details include the
/// hourly data-points that construct the new cost, coverage, and utilization charts.
///
/// Container for the necessary parameters to execute the GetSavingsPlanPurchaseRecommendationDetails service method.
///
/// The response from the GetSavingsPlanPurchaseRecommendationDetails service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlanPurchaseRecommendationDetails Operation
GetSavingsPlanPurchaseRecommendationDetailsResponse GetSavingsPlanPurchaseRecommendationDetails(GetSavingsPlanPurchaseRecommendationDetailsRequest request);
///
/// Retrieves the details for a Savings Plan recommendation. These details include the
/// hourly data-points that construct the new cost, coverage, and utilization charts.
///
/// Container for the necessary parameters to execute the GetSavingsPlanPurchaseRecommendationDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSavingsPlanPurchaseRecommendationDetails service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlanPurchaseRecommendationDetails Operation
Task GetSavingsPlanPurchaseRecommendationDetailsAsync(GetSavingsPlanPurchaseRecommendationDetailsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSavingsPlansCoverage
///
/// Retrieves the Savings Plans covered for your account. This enables you to see how
/// much of your cost is covered by a Savings Plan. An organization’s management account
/// can see the coverage of the associated member accounts. This supports dimensions,
/// Cost Categories, and nested expressions. For any time period, you can filter data
/// for Savings Plans usage with the following dimensions:
///
/// -
///
///
LINKED_ACCOUNT
///
/// -
///
///
REGION
///
/// -
///
///
SERVICE
///
/// -
///
///
INSTANCE_FAMILY
///
///
///
/// To determine valid values for a dimension, use the GetDimensionValues
/// operation.
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansCoverage service method.
///
/// The response from the GetSavingsPlansCoverage service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansCoverage Operation
GetSavingsPlansCoverageResponse GetSavingsPlansCoverage(GetSavingsPlansCoverageRequest request);
///
/// Retrieves the Savings Plans covered for your account. This enables you to see how
/// much of your cost is covered by a Savings Plan. An organization’s management account
/// can see the coverage of the associated member accounts. This supports dimensions,
/// Cost Categories, and nested expressions. For any time period, you can filter data
/// for Savings Plans usage with the following dimensions:
///
/// -
///
///
LINKED_ACCOUNT
///
/// -
///
///
REGION
///
/// -
///
///
SERVICE
///
/// -
///
///
INSTANCE_FAMILY
///
///
///
/// To determine valid values for a dimension, use the GetDimensionValues
/// operation.
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansCoverage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSavingsPlansCoverage service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansCoverage Operation
Task GetSavingsPlansCoverageAsync(GetSavingsPlansCoverageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSavingsPlansPurchaseRecommendation
///
/// Retrieves the Savings Plans recommendations for your account. First use StartSavingsPlansPurchaseRecommendationGeneration
/// to generate a new set of recommendations, and then use GetSavingsPlansPurchaseRecommendation
/// to retrieve them.
///
/// Container for the necessary parameters to execute the GetSavingsPlansPurchaseRecommendation service method.
///
/// The response from the GetSavingsPlansPurchaseRecommendation service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansPurchaseRecommendation Operation
GetSavingsPlansPurchaseRecommendationResponse GetSavingsPlansPurchaseRecommendation(GetSavingsPlansPurchaseRecommendationRequest request);
///
/// Retrieves the Savings Plans recommendations for your account. First use StartSavingsPlansPurchaseRecommendationGeneration
/// to generate a new set of recommendations, and then use GetSavingsPlansPurchaseRecommendation
/// to retrieve them.
///
/// Container for the necessary parameters to execute the GetSavingsPlansPurchaseRecommendation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSavingsPlansPurchaseRecommendation service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansPurchaseRecommendation Operation
Task GetSavingsPlansPurchaseRecommendationAsync(GetSavingsPlansPurchaseRecommendationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSavingsPlansUtilization
///
/// Retrieves the Savings Plans utilization for your account across date ranges with daily
/// or monthly granularity. Management account in an organization have access to member
/// accounts. You can use GetDimensionValues
in SAVINGS_PLANS
/// to determine the possible dimension values.
///
///
///
/// You can't group by any dimension values for GetSavingsPlansUtilization
.
///
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansUtilization service method.
///
/// The response from the GetSavingsPlansUtilization service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansUtilization Operation
GetSavingsPlansUtilizationResponse GetSavingsPlansUtilization(GetSavingsPlansUtilizationRequest request);
///
/// Retrieves the Savings Plans utilization for your account across date ranges with daily
/// or monthly granularity. Management account in an organization have access to member
/// accounts. You can use GetDimensionValues
in SAVINGS_PLANS
/// to determine the possible dimension values.
///
///
///
/// You can't group by any dimension values for GetSavingsPlansUtilization
.
///
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansUtilization service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSavingsPlansUtilization service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansUtilization Operation
Task GetSavingsPlansUtilizationAsync(GetSavingsPlansUtilizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSavingsPlansUtilizationDetails
///
/// Retrieves attribute data along with aggregate utilization and savings data for a given
/// time period. This doesn't support granular or grouped data (daily/monthly) in response.
/// You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization
,
/// but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails
/// by providing individual dates. You can use GetDimensionValues
in SAVINGS_PLANS
/// to determine the possible dimension values.
///
///
///
/// GetSavingsPlanUtilizationDetails
internally groups data by SavingsPlansArn
.
///
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansUtilizationDetails service method.
///
/// The response from the GetSavingsPlansUtilizationDetails service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansUtilizationDetails Operation
GetSavingsPlansUtilizationDetailsResponse GetSavingsPlansUtilizationDetails(GetSavingsPlansUtilizationDetailsRequest request);
///
/// Retrieves attribute data along with aggregate utilization and savings data for a given
/// time period. This doesn't support granular or grouped data (daily/monthly) in response.
/// You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization
,
/// but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails
/// by providing individual dates. You can use GetDimensionValues
in SAVINGS_PLANS
/// to determine the possible dimension values.
///
///
///
/// GetSavingsPlanUtilizationDetails
internally groups data by SavingsPlansArn
.
///
///
///
/// Container for the necessary parameters to execute the GetSavingsPlansUtilizationDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSavingsPlansUtilizationDetails service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for GetSavingsPlansUtilizationDetails Operation
Task GetSavingsPlansUtilizationDetailsAsync(GetSavingsPlansUtilizationDetailsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTags
///
/// Queries for available tag keys and tag values for a specified period. You can search
/// the tag values for an arbitrary string.
///
/// Container for the necessary parameters to execute the GetTags service method.
///
/// The response from the GetTags service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetTags Operation
GetTagsResponse GetTags(GetTagsRequest request);
///
/// Queries for available tag keys and tag values for a specified period. You can search
/// the tag values for an arbitrary string.
///
/// Container for the necessary parameters to execute the GetTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTags service method, as returned by CostExplorer.
///
/// The requested report expired. Update the date interval and try again.
///
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Your request parameters changed between pages. Try again with the old parameters or
/// without a pagination token.
///
/// REST API Reference for GetTags Operation
Task GetTagsAsync(GetTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUsageForecast
///
/// Retrieves a forecast for how much Amazon Web Services predicts that you will use over
/// the forecast time period that you select, based on your past usage.
///
/// Container for the necessary parameters to execute the GetUsageForecast service method.
///
/// The response from the GetUsageForecast service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Cost Explorer was unable to identify the usage unit. Provide UsageType/UsageTypeGroup
/// filter selections that contain matching units, for example: hours
.
///
/// REST API Reference for GetUsageForecast Operation
GetUsageForecastResponse GetUsageForecast(GetUsageForecastRequest request);
///
/// Retrieves a forecast for how much Amazon Web Services predicts that you will use over
/// the forecast time period that you select, based on your past usage.
///
/// Container for the necessary parameters to execute the GetUsageForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUsageForecast service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// Cost Explorer was unable to identify the usage unit. Provide UsageType/UsageTypeGroup
/// filter selections that contain matching units, for example: hours
.
///
/// REST API Reference for GetUsageForecast Operation
Task GetUsageForecastAsync(GetUsageForecastRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCostAllocationTags
///
/// Get a list of cost allocation tags. All inputs in the API are optional and serve as
/// filters. By default, all cost allocation tags are returned.
///
/// Container for the necessary parameters to execute the ListCostAllocationTags service method.
///
/// The response from the ListCostAllocationTags service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListCostAllocationTags Operation
ListCostAllocationTagsResponse ListCostAllocationTags(ListCostAllocationTagsRequest request);
///
/// Get a list of cost allocation tags. All inputs in the API are optional and serve as
/// filters. By default, all cost allocation tags are returned.
///
/// Container for the necessary parameters to execute the ListCostAllocationTags service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCostAllocationTags service method, as returned by CostExplorer.
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListCostAllocationTags Operation
Task ListCostAllocationTagsAsync(ListCostAllocationTagsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCostCategoryDefinitions
///
/// Returns the name, Amazon Resource Name (ARN), NumberOfRules
and effective
/// dates of all Cost Categories defined in the account. You have the option to use EffectiveOn
/// to return a list of Cost Categories that were active on a specific date. If there
/// is no EffectiveOn
specified, you’ll see Cost Categories that are effective
/// on the current date. If Cost Category is still effective, EffectiveEnd
/// is omitted in the response. ListCostCategoryDefinitions
supports pagination.
/// The request can have a MaxResults
range up to 100.
///
/// Container for the necessary parameters to execute the ListCostCategoryDefinitions service method.
///
/// The response from the ListCostCategoryDefinitions service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListCostCategoryDefinitions Operation
ListCostCategoryDefinitionsResponse ListCostCategoryDefinitions(ListCostCategoryDefinitionsRequest request);
///
/// Returns the name, Amazon Resource Name (ARN), NumberOfRules
and effective
/// dates of all Cost Categories defined in the account. You have the option to use EffectiveOn
/// to return a list of Cost Categories that were active on a specific date. If there
/// is no EffectiveOn
specified, you’ll see Cost Categories that are effective
/// on the current date. If Cost Category is still effective, EffectiveEnd
/// is omitted in the response. ListCostCategoryDefinitions
supports pagination.
/// The request can have a MaxResults
range up to 100.
///
/// Container for the necessary parameters to execute the ListCostCategoryDefinitions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCostCategoryDefinitions service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListCostCategoryDefinitions Operation
Task ListCostCategoryDefinitionsAsync(ListCostCategoryDefinitionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSavingsPlansPurchaseRecommendationGeneration
///
/// Retrieves a list of your historical recommendation generations within the past 30
/// days.
///
/// Container for the necessary parameters to execute the ListSavingsPlansPurchaseRecommendationGeneration service method.
///
/// The response from the ListSavingsPlansPurchaseRecommendationGeneration service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListSavingsPlansPurchaseRecommendationGeneration Operation
ListSavingsPlansPurchaseRecommendationGenerationResponse ListSavingsPlansPurchaseRecommendationGeneration(ListSavingsPlansPurchaseRecommendationGenerationRequest request);
///
/// Retrieves a list of your historical recommendation generations within the past 30
/// days.
///
/// Container for the necessary parameters to execute the ListSavingsPlansPurchaseRecommendationGeneration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSavingsPlansPurchaseRecommendationGeneration service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// The pagination token is invalid. Try again without a pagination token.
///
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ListSavingsPlansPurchaseRecommendationGeneration Operation
Task ListSavingsPlansPurchaseRecommendationGenerationAsync(ListSavingsPlansPurchaseRecommendationGenerationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Returns a list of resource tags associated with the resource specified by the Amazon
/// Resource Name (ARN).
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Returns a list of resource tags associated with the resource specified by the Amazon
/// Resource Name (ARN).
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ProvideAnomalyFeedback
///
/// Modifies the feedback property of a given cost anomaly.
///
/// Container for the necessary parameters to execute the ProvideAnomalyFeedback service method.
///
/// The response from the ProvideAnomalyFeedback service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ProvideAnomalyFeedback Operation
ProvideAnomalyFeedbackResponse ProvideAnomalyFeedback(ProvideAnomalyFeedbackRequest request);
///
/// Modifies the feedback property of a given cost anomaly.
///
/// Container for the necessary parameters to execute the ProvideAnomalyFeedback service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ProvideAnomalyFeedback service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for ProvideAnomalyFeedback Operation
Task ProvideAnomalyFeedbackAsync(ProvideAnomalyFeedbackRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartSavingsPlansPurchaseRecommendationGeneration
///
/// Requests a Savings Plans recommendation generation. This enables you to calculate
/// a fresh set of Savings Plans recommendations that takes your latest usage data and
/// current Savings Plans inventory into account. You can refresh Savings Plans recommendations
/// up to three times daily for a consolidated billing family.
///
///
///
/// StartSavingsPlansPurchaseRecommendationGeneration
has no request syntax
/// because no input parameters are needed to support this operation.
///
///
///
/// Container for the necessary parameters to execute the StartSavingsPlansPurchaseRecommendationGeneration service method.
///
/// The response from the StartSavingsPlansPurchaseRecommendationGeneration service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// A request to generate a recommendation is already in progress.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for StartSavingsPlansPurchaseRecommendationGeneration Operation
StartSavingsPlansPurchaseRecommendationGenerationResponse StartSavingsPlansPurchaseRecommendationGeneration(StartSavingsPlansPurchaseRecommendationGenerationRequest request);
///
/// Requests a Savings Plans recommendation generation. This enables you to calculate
/// a fresh set of Savings Plans recommendations that takes your latest usage data and
/// current Savings Plans inventory into account. You can refresh Savings Plans recommendations
/// up to three times daily for a consolidated billing family.
///
///
///
/// StartSavingsPlansPurchaseRecommendationGeneration
has no request syntax
/// because no input parameters are needed to support this operation.
///
///
///
/// Container for the necessary parameters to execute the StartSavingsPlansPurchaseRecommendationGeneration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartSavingsPlansPurchaseRecommendationGeneration service method, as returned by CostExplorer.
///
/// The requested data is unavailable.
///
///
/// A request to generate a recommendation is already in progress.
///
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for StartSavingsPlansPurchaseRecommendationGeneration Operation
Task StartSavingsPlansPurchaseRecommendationGenerationAsync(StartSavingsPlansPurchaseRecommendationGenerationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// An API operation for adding one or more tags (key-value pairs) to a resource.
///
///
///
/// You can use the TagResource
operation with a resource that already has
/// tags. If you specify a new tag key for the resource, this tag is appended to the list
/// of tags associated with the resource. If you specify a tag key that is already associated
/// with the resource, the new tag value you specify replaces the previous value for that
/// tag.
///
///
///
/// Although the maximum number of array members is 200, user-tag maximum is 50. The remaining
/// are reserved for Amazon Web Services use.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
///
/// Can occur if you specify a number of tags for a resource greater than the maximum
/// 50 user tags per resource.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// An API operation for adding one or more tags (key-value pairs) to a resource.
///
///
///
/// You can use the TagResource
operation with a resource that already has
/// tags. If you specify a new tag key for the resource, this tag is appended to the list
/// of tags associated with the resource. If you specify a tag key that is already associated
/// with the resource, the new tag value you specify replaces the previous value for that
/// tag.
///
///
///
/// Although the maximum number of array members is 200, user-tag maximum is 50. The remaining
/// are reserved for Amazon Web Services use.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
///
/// Can occur if you specify a number of tags for a resource greater than the maximum
/// 50 user tags per resource.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes one or more tags from a resource. Specify only tag keys in your request. Don't
/// specify the value.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Removes one or more tags from a resource. Specify only tag keys in your request. Don't
/// specify the value.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAnomalyMonitor
///
/// Updates an existing cost anomaly monitor. The changes made are applied going forward,
/// and doesn't change anomalies detected in the past.
///
/// Container for the necessary parameters to execute the UpdateAnomalyMonitor service method.
///
/// The response from the UpdateAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for UpdateAnomalyMonitor Operation
UpdateAnomalyMonitorResponse UpdateAnomalyMonitor(UpdateAnomalyMonitorRequest request);
///
/// Updates an existing cost anomaly monitor. The changes made are applied going forward,
/// and doesn't change anomalies detected in the past.
///
/// Container for the necessary parameters to execute the UpdateAnomalyMonitor service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAnomalyMonitor service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
/// REST API Reference for UpdateAnomalyMonitor Operation
Task UpdateAnomalyMonitorAsync(UpdateAnomalyMonitorRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAnomalySubscription
///
/// Updates an existing cost anomaly subscription. Specify the fields that you want to
/// update. Omitted fields are unchanged.
///
///
///
/// The JSON below describes the generic construct for each type. See Request
/// Parameters for possible values as they apply to AnomalySubscription
.
///
///
///
/// Container for the necessary parameters to execute the UpdateAnomalySubscription service method.
///
/// The response from the UpdateAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for UpdateAnomalySubscription Operation
UpdateAnomalySubscriptionResponse UpdateAnomalySubscription(UpdateAnomalySubscriptionRequest request);
///
/// Updates an existing cost anomaly subscription. Specify the fields that you want to
/// update. Omitted fields are unchanged.
///
///
///
/// The JSON below describes the generic construct for each type. See Request
/// Parameters for possible values as they apply to AnomalySubscription
.
///
///
///
/// Container for the necessary parameters to execute the UpdateAnomalySubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAnomalySubscription service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The cost anomaly monitor does not exist for the account.
///
///
/// The cost anomaly subscription does not exist for the account.
///
/// REST API Reference for UpdateAnomalySubscription Operation
Task UpdateAnomalySubscriptionAsync(UpdateAnomalySubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateCostAllocationTagsStatus
///
/// Updates status for cost allocation tags in bulk, with maximum batch size of 20. If
/// the tag status that's updated is the same as the existing tag status, the request
/// doesn't fail. Instead, it doesn't have any effect on the tag status (for example,
/// activating the active tag).
///
/// Container for the necessary parameters to execute the UpdateCostAllocationTagsStatus service method.
///
/// The response from the UpdateCostAllocationTagsStatus service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for UpdateCostAllocationTagsStatus Operation
UpdateCostAllocationTagsStatusResponse UpdateCostAllocationTagsStatus(UpdateCostAllocationTagsStatusRequest request);
///
/// Updates status for cost allocation tags in bulk, with maximum batch size of 20. If
/// the tag status that's updated is the same as the existing tag status, the request
/// doesn't fail. Instead, it doesn't have any effect on the tag status (for example,
/// activating the active tag).
///
/// Container for the necessary parameters to execute the UpdateCostAllocationTagsStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCostAllocationTagsStatus service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
/// REST API Reference for UpdateCostAllocationTagsStatus Operation
Task UpdateCostAllocationTagsStatusAsync(UpdateCostAllocationTagsStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateCostCategoryDefinition
///
/// Updates an existing Cost Category. Changes made to the Cost Category rules will be
/// used to categorize the current month’s expenses and future expenses. This won’t change
/// categorization for the previous months.
///
/// Container for the necessary parameters to execute the UpdateCostCategoryDefinition service method.
///
/// The response from the UpdateCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for UpdateCostCategoryDefinition Operation
UpdateCostCategoryDefinitionResponse UpdateCostCategoryDefinition(UpdateCostCategoryDefinitionRequest request);
///
/// Updates an existing Cost Category. Changes made to the Cost Category rules will be
/// used to categorize the current month’s expenses and future expenses. This won’t change
/// categorization for the previous months.
///
/// Container for the necessary parameters to execute the UpdateCostCategoryDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateCostCategoryDefinition service method, as returned by CostExplorer.
///
/// You made too many calls in a short period of time. Try again later.
///
///
/// The specified ARN in the request doesn't exist.
///
///
/// You've reached the limit on the number of resources you can create, or exceeded the
/// size of an individual resource.
///
/// REST API Reference for UpdateCostCategoryDefinition Operation
Task UpdateCostCategoryDefinitionAsync(UpdateCostCategoryDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}