/*
* 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 cur-2017-01-06.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CostAndUsageReport.Model;
namespace Amazon.CostAndUsageReport
{
///
/// Interface for accessing CostAndUsageReport
///
/// The AWS Cost and Usage Report API enables you to programmatically create, query, and
/// delete AWS Cost and Usage report definitions.
///
///
///
/// AWS Cost and Usage reports track the monthly AWS costs and usage associated with your
/// AWS account. The report contains line items for each unique combination of AWS product,
/// usage type, and operation that your AWS account uses. You can configure the AWS Cost
/// and Usage report to show only the data that you want, using the AWS Cost and Usage
/// API.
///
///
///
/// Service Endpoint
///
///
///
/// The AWS Cost and Usage Report API provides the following endpoint:
///
/// -
///
/// cur.us-east-1.amazonaws.com
///
///
///
public partial interface IAmazonCostAndUsageReport : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ICostAndUsageReportPaginatorFactory Paginators { get; }
#endif
#region DeleteReportDefinition
///
/// Deletes the specified report.
///
/// Container for the necessary parameters to execute the DeleteReportDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReportDefinition service method, as returned by CostAndUsageReport.
///
/// An error on the server occurred during the processing of your request. Try again later.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteReportDefinition Operation
Task DeleteReportDefinitionAsync(DeleteReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReportDefinitions
///
/// Lists the AWS Cost and Usage reports available to this account.
///
/// Container for the necessary parameters to execute the DescribeReportDefinitions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReportDefinitions service method, as returned by CostAndUsageReport.
///
/// An error on the server occurred during the processing of your request. Try again later.
///
/// REST API Reference for DescribeReportDefinitions Operation
Task DescribeReportDefinitionsAsync(DescribeReportDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyReportDefinition
///
/// Allows you to programatically update your report preferences.
///
/// Container for the necessary parameters to execute the ModifyReportDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyReportDefinition service method, as returned by CostAndUsageReport.
///
/// An error on the server occurred during the processing of your request. Try again later.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ModifyReportDefinition Operation
Task ModifyReportDefinitionAsync(ModifyReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutReportDefinition
///
/// Creates a new report using the description that you provide.
///
/// Container for the necessary parameters to execute the PutReportDefinition service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutReportDefinition service method, as returned by CostAndUsageReport.
///
/// A report with the specified name already exists in the account. Specify a different
/// report name.
///
///
/// An error on the server occurred during the processing of your request. Try again later.
///
///
/// This account already has five reports defined. To define a new report, you must delete
/// an existing report.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for PutReportDefinition Operation
Task PutReportDefinitionAsync(PutReportDefinitionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}