C# 클래스 Amazon.AWSMarketplaceMetering.AmazonAWSMarketplaceMeteringClient

Implementation for accessing AWSMarketplaceMetering AWS Marketplace Metering Service

This reference provides descriptions of the low-level AWS Marketplace Metering Service API.

AWS Marketplace sellers can use this API to submit usage data for custom usage dimensions.

Submitting Metering Records

  • MeterUsage- Submits the metering record for a Marketplace product.

상속: AmazonServiceClient, IAmazonAWSMarketplaceMetering
파일 보기 프로젝트 열기: aws/aws-sdk-net

공개 메소드들

메소드 설명
AmazonAWSMarketplaceMeteringClient ( ) : System

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials

AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials and an AmazonAWSMarketplaceMeteringClient Configuration object.

AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials

AmazonAWSMarketplaceMeteringClient ( AmazonAWSMarketplaceMeteringConfig config ) : System

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAWSMarketplaceMeteringClient ( RegionEndpoint region ) : System

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System

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

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System

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

AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key

BatchMeterUsage ( BatchMeterUsageRequest request ) : BatchMeterUsageResponse

BatchMeterUsageAsync ( BatchMeterUsageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the BatchMeterUsage operation.

BeginBatchMeterUsage ( BatchMeterUsageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the BatchMeterUsage operation.

BeginMeterUsage ( MeterUsageRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the MeterUsage operation.

BeginResolveCustomer ( ResolveCustomerRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ResolveCustomer operation.

EndBatchMeterUsage ( IAsyncResult asyncResult ) : BatchMeterUsageResponse

Finishes the asynchronous execution of the BatchMeterUsage operation.

EndMeterUsage ( IAsyncResult asyncResult ) : MeterUsageResponse

Finishes the asynchronous execution of the MeterUsage operation.

EndResolveCustomer ( IAsyncResult asyncResult ) : ResolveCustomerResponse

Finishes the asynchronous execution of the ResolveCustomer operation.

MeterUsage ( MeterUsageRequest request ) : MeterUsageResponse

API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.

MeterUsageAsync ( MeterUsageRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the MeterUsage operation.

ResolveCustomer ( ResolveCustomerRequest request ) : ResolveCustomerResponse

ResolveCustomerAsync ( ResolveCustomerRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ResolveCustomer operation.

보호된 메소드들

메소드 설명
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

메소드 상세

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAWSMarketplaceMeteringClient ( ) : System
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials
public AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials and an AmazonAWSMarketplaceMeteringClient Configuration object.
public AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonAWSMarketplaceMeteringConfig The AmazonAWSMarketplaceMeteringClient Configuration Object
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Credentials
public AmazonAWSMarketplaceMeteringClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAWSMarketplaceMeteringClient ( AmazonAWSMarketplaceMeteringConfig config ) : System
config AmazonAWSMarketplaceMeteringConfig The AmazonAWSMarketplaceMeteringClient Configuration Object
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient 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. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAWSMarketplaceMeteringClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID, AWS Secret Key and an AmazonAWSMarketplaceMeteringClient Configuration object.
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonAWSMarketplaceMeteringConfig The AmazonAWSMarketplaceMeteringClient Configuration Object
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID, AWS Secret Key and an AmazonAWSMarketplaceMeteringClient Configuration object.
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAWSMarketplaceMeteringConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonAWSMarketplaceMeteringConfig The AmazonAWSMarketplaceMeteringClient Configuration Object
리턴 System

AmazonAWSMarketplaceMeteringClient() 공개 메소드

Constructs AmazonAWSMarketplaceMeteringClient with AWS Access Key ID and AWS Secret Key
public AmazonAWSMarketplaceMeteringClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
리턴 System

BatchMeterUsage() 공개 메소드

/// An internal error has occurred. Retry your request. If the problem persists, post /// a message with details on the AWS forums. /// /// /// /// The product code passed does not match the product code used for publishing the product. /// /// The usage dimension does not match one of the UsageDimensions associated with products. /// /// The calls to the MeterUsage API are throttled. /// /// The timestamp value passed in the meterUsage() is out of allowed range. ///
public BatchMeterUsage ( BatchMeterUsageRequest request ) : BatchMeterUsageResponse
request Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageRequest Container for the necessary parameters to execute the BatchMeterUsage service method.
리턴 Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageResponse

BatchMeterUsageAsync() 공개 메소드

Initiates the asynchronous execution of the BatchMeterUsage operation.
public BatchMeterUsageAsync ( BatchMeterUsageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageRequest Container for the necessary parameters to execute the BatchMeterUsage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task

BeginBatchMeterUsage() 공개 메소드

Initiates the asynchronous execution of the BatchMeterUsage operation.
public BeginBatchMeterUsage ( BatchMeterUsageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageRequest Container for the necessary parameters to execute the BatchMeterUsage operation on AmazonAWSMarketplaceMeteringClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
리턴 IAsyncResult

BeginMeterUsage() 공개 메소드

Initiates the asynchronous execution of the MeterUsage operation.
public BeginMeterUsage ( MeterUsageRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AWSMarketplaceMetering.Model.MeterUsageRequest Container for the necessary parameters to execute the MeterUsage operation on AmazonAWSMarketplaceMeteringClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
리턴 IAsyncResult

BeginResolveCustomer() 공개 메소드

Initiates the asynchronous execution of the ResolveCustomer operation.
public BeginResolveCustomer ( ResolveCustomerRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AWSMarketplaceMetering.Model.ResolveCustomerRequest Container for the necessary parameters to execute the ResolveCustomer operation on AmazonAWSMarketplaceMeteringClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
리턴 IAsyncResult

CreateSigner() 보호된 메소드

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
리턴 Amazon.Runtime.Internal.Auth.AbstractAWSSigner

Dispose() 보호된 메소드

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndBatchMeterUsage() 공개 메소드

Finishes the asynchronous execution of the BatchMeterUsage operation.
public EndBatchMeterUsage ( IAsyncResult asyncResult ) : BatchMeterUsageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginBatchMeterUsage.
리턴 Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageResponse

EndMeterUsage() 공개 메소드

Finishes the asynchronous execution of the MeterUsage operation.
public EndMeterUsage ( IAsyncResult asyncResult ) : MeterUsageResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginMeterUsage.
리턴 Amazon.AWSMarketplaceMetering.Model.MeterUsageResponse

EndResolveCustomer() 공개 메소드

Finishes the asynchronous execution of the ResolveCustomer operation.
public EndResolveCustomer ( IAsyncResult asyncResult ) : ResolveCustomerResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginResolveCustomer.
리턴 Amazon.AWSMarketplaceMetering.Model.ResolveCustomerResponse

MeterUsage() 공개 메소드

API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
/// A metering record has already been emitted by the same EC2 instance for the given /// {usageDimension, timestamp} with a different usageQuantity. /// /// An internal error has occurred. Retry your request. If the problem persists, post /// a message with details on the AWS forums. /// /// The endpoint being called is in a region different from your EC2 instance. The region /// of the Metering service endpoint and the region of the EC2 instance must match. /// /// The product code passed does not match the product code used for publishing the product. /// /// The usage dimension does not match one of the UsageDimensions associated with products. /// /// The calls to the MeterUsage API are throttled. /// /// The timestamp value passed in the meterUsage() is out of allowed range. ///
public MeterUsage ( MeterUsageRequest request ) : MeterUsageResponse
request Amazon.AWSMarketplaceMetering.Model.MeterUsageRequest Container for the necessary parameters to execute the MeterUsage service method.
리턴 Amazon.AWSMarketplaceMetering.Model.MeterUsageResponse

MeterUsageAsync() 공개 메소드

Initiates the asynchronous execution of the MeterUsage operation.
public MeterUsageAsync ( MeterUsageRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AWSMarketplaceMetering.Model.MeterUsageRequest Container for the necessary parameters to execute the MeterUsage operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task

ResolveCustomer() 공개 메소드

/// /// /// An internal error has occurred. Retry your request. If the problem persists, post /// a message with details on the AWS forums. /// /// /// /// The calls to the MeterUsage API are throttled. ///
public ResolveCustomer ( ResolveCustomerRequest request ) : ResolveCustomerResponse
request Amazon.AWSMarketplaceMetering.Model.ResolveCustomerRequest Container for the necessary parameters to execute the ResolveCustomer service method.
리턴 Amazon.AWSMarketplaceMetering.Model.ResolveCustomerResponse

ResolveCustomerAsync() 공개 메소드

Initiates the asynchronous execution of the ResolveCustomer operation.
public ResolveCustomerAsync ( ResolveCustomerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AWSMarketplaceMetering.Model.ResolveCustomerRequest Container for the necessary parameters to execute the ResolveCustomer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
리턴 Task