Class: Aws::APIGateway::Types::GetUsageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::GetUsageRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass GetUsageRequest data as a hash:
{
usage_plan_id: "String", # required
key_id: "String",
start_date: "String", # required
end_date: "String", # required
position: "String",
limit: 1,
}
The GET request to get the usage data of a usage plan in a specified time interval.
Instance Attribute Summary collapse
-
#end_date ⇒ String
The ending date (e.g., 2016-12-31) of the usage data.
-
#key_id ⇒ String
The Id of the API key associated with the resultant usage data.
-
#limit ⇒ Integer
The maximum number of returned results per page.
-
#position ⇒ String
The current pagination position in the paged result set.
-
#start_date ⇒ String
The starting date (e.g., 2016-01-01) of the usage data.
-
#usage_plan_id ⇒ String
The Id of the usage plan associated with the usage data.
Instance Attribute Details
permalink #end_date ⇒ String
The ending date (e.g., 2016-12-31) of the usage data.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |
permalink #key_id ⇒ String
The Id of the API key associated with the resultant usage data.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |
permalink #limit ⇒ Integer
The maximum number of returned results per page.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |
permalink #position ⇒ String
The current pagination position in the paged result set.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |
permalink #start_date ⇒ String
The starting date (e.g., 2016-01-01) of the usage data.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |
permalink #usage_plan_id ⇒ String
The Id of the usage plan associated with the usage data.
4061 4062 4063 4064 4065 4066 4067 4068 4069 |
# File 'lib/aws-sdk-apigateway/types.rb', line 4061 class GetUsageRequest < Struct.new( :usage_plan_id, :key_id, :start_date, :end_date, :position, :limit) include Aws::Structure end |