/* * 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.Threading; using System.Threading.Tasks; 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 { /// /// Paginators for the service /// IApplicationCostProfilerPaginatorFactory Paginators { get; } #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); /// /// 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. /// /// 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 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 Task DeleteReportDefinitionAsync(DeleteReportDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Retrieves the definition of a report already configured in AWS Application Cost Profiler. /// /// Container for the necessary parameters to execute the GetReportDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetReportDefinitionAsync(GetReportDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ImportApplicationUsageAsync(ImportApplicationUsageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListReportDefinitionsAsync(ListReportDefinitionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Creates the report definition for a report in Application Cost Profiler. /// /// 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 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 Task PutReportDefinitionAsync(PutReportDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Updates existing report in AWS Application Cost Profiler. /// /// Container for the necessary parameters to execute the UpdateReportDefinition service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateReportDefinitionAsync(UpdateReportDefinitionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }