/*
* 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.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 BCL45 || 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.
///
/// 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
DeleteReportDefinitionResponse DeleteReportDefinition(DeleteReportDefinitionRequest request);
///
/// Initiates the asynchronous execution of the DeleteReportDefinition operation.
///
///
/// Container for the necessary parameters to execute the DeleteReportDefinition operation on AmazonCostAndUsageReportClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteReportDefinition
/// operation.
/// REST API Reference for DeleteReportDefinition Operation
IAsyncResult BeginDeleteReportDefinition(DeleteReportDefinitionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DeleteReportDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteReportDefinition.
///
/// Returns a DeleteReportDefinitionResult from CostAndUsageReport.
/// REST API Reference for DeleteReportDefinition Operation
DeleteReportDefinitionResponse EndDeleteReportDefinition(IAsyncResult asyncResult);
#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.
///
/// 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
DescribeReportDefinitionsResponse DescribeReportDefinitions(DescribeReportDefinitionsRequest request);
///
/// Initiates the asynchronous execution of the DescribeReportDefinitions operation.
///
///
/// Container for the necessary parameters to execute the DescribeReportDefinitions operation on AmazonCostAndUsageReportClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeReportDefinitions
/// operation.
/// REST API Reference for DescribeReportDefinitions Operation
IAsyncResult BeginDescribeReportDefinitions(DescribeReportDefinitionsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DescribeReportDefinitions operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeReportDefinitions.
///
/// Returns a DescribeReportDefinitionsResult from CostAndUsageReport.
/// REST API Reference for DescribeReportDefinitions Operation
DescribeReportDefinitionsResponse EndDescribeReportDefinitions(IAsyncResult asyncResult);
#endregion
#region ModifyReportDefinition
///
/// Allows you to programatically update your report preferences.
///
/// Container for the necessary parameters to execute the ModifyReportDefinition service method.
///
/// 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
ModifyReportDefinitionResponse ModifyReportDefinition(ModifyReportDefinitionRequest request);
///
/// Initiates the asynchronous execution of the ModifyReportDefinition operation.
///
///
/// Container for the necessary parameters to execute the ModifyReportDefinition operation on AmazonCostAndUsageReportClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndModifyReportDefinition
/// operation.
/// REST API Reference for ModifyReportDefinition Operation
IAsyncResult BeginModifyReportDefinition(ModifyReportDefinitionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ModifyReportDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginModifyReportDefinition.
///
/// Returns a ModifyReportDefinitionResult from CostAndUsageReport.
/// REST API Reference for ModifyReportDefinition Operation
ModifyReportDefinitionResponse EndModifyReportDefinition(IAsyncResult asyncResult);
#endregion
#region PutReportDefinition
///
/// Creates a new report using the description that you provide.
///
/// Container for the necessary parameters to execute the PutReportDefinition service method.
///
/// 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
PutReportDefinitionResponse PutReportDefinition(PutReportDefinitionRequest request);
///
/// Initiates the asynchronous execution of the PutReportDefinition operation.
///
///
/// Container for the necessary parameters to execute the PutReportDefinition operation on AmazonCostAndUsageReportClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutReportDefinition
/// operation.
/// REST API Reference for PutReportDefinition Operation
IAsyncResult BeginPutReportDefinition(PutReportDefinitionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the PutReportDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginPutReportDefinition.
///
/// Returns a PutReportDefinitionResult from CostAndUsageReport.
/// REST API Reference for PutReportDefinition Operation
PutReportDefinitionResponse EndPutReportDefinition(IAsyncResult asyncResult);
#endregion
}
}