AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Implementation for accessing CostAndUsageReport All public APIs for AWS Cost and Usage Report service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.CostAndUsageReport.AmazonCostAndUsageReportClient

Namespace: Amazon.CostAndUsageReport
Assembly: AWSSDK.CostAndUsageReport.dll
Version: 3.x.y.z

Syntax

C#
public class AmazonCostAndUsageReportClient : AmazonServiceClient
         IAmazonCostAndUsageReport, IAmazonService, IDisposable

The AmazonCostAndUsageReportClient type exposes the following members

Constructors

NameDescription
Public Method AmazonCostAndUsageReportClient()

Constructs AmazonCostAndUsageReportClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonCostAndUsageReportClient(RegionEndpoint)

Constructs AmazonCostAndUsageReportClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonCostAndUsageReportClient(AmazonCostAndUsageReportConfig)

Constructs AmazonCostAndUsageReportClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonCostAndUsageReportClient(AWSCredentials)

Constructs AmazonCostAndUsageReportClient with AWS Credentials

Public Method AmazonCostAndUsageReportClient(AWSCredentials, RegionEndpoint)

Constructs AmazonCostAndUsageReportClient with AWS Credentials

Public Method AmazonCostAndUsageReportClient(AWSCredentials, AmazonCostAndUsageReportConfig)

Constructs AmazonCostAndUsageReportClient with AWS Credentials and an AmazonCostAndUsageReportClient Configuration object.

Public Method AmazonCostAndUsageReportClient(string, string)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonCostAndUsageReportClient(string, string, RegionEndpoint)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonCostAndUsageReportClient(string, string, AmazonCostAndUsageReportConfig)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID, AWS Secret Key and an AmazonCostAndUsageReportClient Configuration object.

Public Method AmazonCostAndUsageReportClient(string, string, string)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonCostAndUsageReportClient(string, string, string, RegionEndpoint)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonCostAndUsageReportClient(string, string, string, AmazonCostAndUsageReportConfig)

Constructs AmazonCostAndUsageReportClient with AWS Access Key ID, AWS Secret Key and an AmazonCostAndUsageReportClient Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method DeleteReportDefinition(DeleteReportDefinitionRequest)

Delete a specified report definition

Public Method DeleteReportDefinitionAsync(DeleteReportDefinitionRequest, CancellationToken)

Initiates the asynchronous execution of the DeleteReportDefinition operation.

Public Method DescribeReportDefinitions(DescribeReportDefinitionsRequest)

Describe a list of report definitions owned by the account

Public Method DescribeReportDefinitionsAsync(DescribeReportDefinitionsRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeReportDefinitions operation.

Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method PutReportDefinition(PutReportDefinitionRequest)

Create a new report definition

Public Method PutReportDefinitionAsync(PutReportDefinitionRequest, CancellationToken)

Initiates the asynchronous execution of the PutReportDefinition operation.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms