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.

Container for the parameters to the GetUsage operation. Gets the usage data of a usage plan in a specified time interval.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.APIGateway.AmazonAPIGatewayRequest
      Amazon.APIGateway.Model.GetUsageRequest

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

Syntax

C#
public class GetUsageRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The GetUsageRequest type exposes the following members

Constructors

NameDescription
Public Method GetUsageRequest()

Properties

NameTypeDescription
Public Property EndDate System.String

Gets and sets the property EndDate.

The ending date (e.g., 2016-12-31) of the usage data.

Public Property KeyId System.String

Gets and sets the property KeyId.

The Id of the API key associated with the resultant usage data.

Public Property Limit System.Int32

Gets and sets the property Limit.

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

Public Property Position System.String

Gets and sets the property Position.

The current pagination position in the paged result set.

Public Property StartDate System.String

Gets and sets the property StartDate.

The starting date (e.g., 2016-01-01) of the usage data.

Public Property UsagePlanId System.String

Gets and sets the property UsagePlanId.

The Id of the usage plan associated with the usage data.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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