/*
* 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 applicationcostprofiler-2020-09-10.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ApplicationCostProfiler.Model;
namespace Amazon.ApplicationCostProfiler
{
///
/// Interface for accessing ApplicationCostProfiler
///
/// This reference provides descriptions of the AWS Application Cost Profiler API.
///
///
///
/// The AWS Application Cost Profiler API provides programmatic access to view, create,
/// update, and delete application cost report definitions, as well as to import your
/// usage data into the Application Cost Profiler service.
///
///
///
/// For more information about using this service, see the AWS
/// Application Cost Profiler User Guide.
///
///
public partial interface IAmazonApplicationCostProfiler : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IApplicationCostProfilerPaginatorFactory Paginators { get; }
#endif
#region DeleteReportDefinition
///
/// Deletes the specified report definition in AWS Application Cost Profiler. This stops
/// the report from being generated.
///
/// Container for the necessary parameters to execute the DeleteReportDefinition service method.
///
/// The response from the DeleteReportDefinition service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// 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 AmazonApplicationCostProfilerClient.
/// 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 ApplicationCostProfiler.
/// REST API Reference for DeleteReportDefinition Operation
DeleteReportDefinitionResponse EndDeleteReportDefinition(IAsyncResult asyncResult);
#endregion
#region GetReportDefinition
///
/// Retrieves the definition of a report already configured in AWS Application Cost Profiler.
///
/// Container for the necessary parameters to execute the GetReportDefinition service method.
///
/// The response from the GetReportDefinition service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// REST API Reference for GetReportDefinition Operation
GetReportDefinitionResponse GetReportDefinition(GetReportDefinitionRequest request);
///
/// Initiates the asynchronous execution of the GetReportDefinition operation.
///
///
/// Container for the necessary parameters to execute the GetReportDefinition operation on AmazonApplicationCostProfilerClient.
/// 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 EndGetReportDefinition
/// operation.
/// REST API Reference for GetReportDefinition Operation
IAsyncResult BeginGetReportDefinition(GetReportDefinitionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the GetReportDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginGetReportDefinition.
///
/// Returns a GetReportDefinitionResult from ApplicationCostProfiler.
/// REST API Reference for GetReportDefinition Operation
GetReportDefinitionResponse EndGetReportDefinition(IAsyncResult asyncResult);
#endregion
#region ImportApplicationUsage
///
/// Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
///
///
///
/// The data must already exist in the S3 location. As part of the action, AWS Application
/// Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon
/// for processing asynchronously.
///
///
/// Container for the necessary parameters to execute the ImportApplicationUsage service method.
///
/// The response from the ImportApplicationUsage service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// REST API Reference for ImportApplicationUsage Operation
ImportApplicationUsageResponse ImportApplicationUsage(ImportApplicationUsageRequest request);
///
/// Initiates the asynchronous execution of the ImportApplicationUsage operation.
///
///
/// Container for the necessary parameters to execute the ImportApplicationUsage operation on AmazonApplicationCostProfilerClient.
/// 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 EndImportApplicationUsage
/// operation.
/// REST API Reference for ImportApplicationUsage Operation
IAsyncResult BeginImportApplicationUsage(ImportApplicationUsageRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ImportApplicationUsage operation.
///
///
/// The IAsyncResult returned by the call to BeginImportApplicationUsage.
///
/// Returns a ImportApplicationUsageResult from ApplicationCostProfiler.
/// REST API Reference for ImportApplicationUsage Operation
ImportApplicationUsageResponse EndImportApplicationUsage(IAsyncResult asyncResult);
#endregion
#region ListReportDefinitions
///
/// Retrieves a list of all reports and their configurations for your AWS account.
///
///
///
/// The maximum number of reports is one.
///
///
/// Container for the necessary parameters to execute the ListReportDefinitions service method.
///
/// The response from the ListReportDefinitions service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// REST API Reference for ListReportDefinitions Operation
ListReportDefinitionsResponse ListReportDefinitions(ListReportDefinitionsRequest request);
///
/// Initiates the asynchronous execution of the ListReportDefinitions operation.
///
///
/// Container for the necessary parameters to execute the ListReportDefinitions operation on AmazonApplicationCostProfilerClient.
/// 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 EndListReportDefinitions
/// operation.
/// REST API Reference for ListReportDefinitions Operation
IAsyncResult BeginListReportDefinitions(ListReportDefinitionsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListReportDefinitions operation.
///
///
/// The IAsyncResult returned by the call to BeginListReportDefinitions.
///
/// Returns a ListReportDefinitionsResult from ApplicationCostProfiler.
/// REST API Reference for ListReportDefinitions Operation
ListReportDefinitionsResponse EndListReportDefinitions(IAsyncResult asyncResult);
#endregion
#region PutReportDefinition
///
/// Creates the report definition for a report in Application Cost Profiler.
///
/// Container for the necessary parameters to execute the PutReportDefinition service method.
///
/// The response from the PutReportDefinition service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// Your request exceeds one or more of the service quotas.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// 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 AmazonApplicationCostProfilerClient.
/// 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 ApplicationCostProfiler.
/// REST API Reference for PutReportDefinition Operation
PutReportDefinitionResponse EndPutReportDefinition(IAsyncResult asyncResult);
#endregion
#region UpdateReportDefinition
///
/// Updates existing report in AWS Application Cost Profiler.
///
/// Container for the necessary parameters to execute the UpdateReportDefinition service method.
///
/// The response from the UpdateReportDefinition service method, as returned by ApplicationCostProfiler.
///
/// You do not have permission to perform this action.
///
///
/// An internal server error occurred. Retry your request.
///
///
/// The calls to AWS Application Cost Profiler API are throttled. The request was denied.
///
///
/// The input fails to satisfy the constraints for the API.
///
/// REST API Reference for UpdateReportDefinition Operation
UpdateReportDefinitionResponse UpdateReportDefinition(UpdateReportDefinitionRequest request);
///
/// Initiates the asynchronous execution of the UpdateReportDefinition operation.
///
///
/// Container for the necessary parameters to execute the UpdateReportDefinition operation on AmazonApplicationCostProfilerClient.
/// 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 EndUpdateReportDefinition
/// operation.
/// REST API Reference for UpdateReportDefinition Operation
IAsyncResult BeginUpdateReportDefinition(UpdateReportDefinitionRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateReportDefinition operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateReportDefinition.
///
/// Returns a UpdateReportDefinitionResult from ApplicationCostProfiler.
/// REST API Reference for UpdateReportDefinition Operation
UpdateReportDefinitionResponse EndUpdateReportDefinition(IAsyncResult asyncResult);
#endregion
}
}