Class: Aws::EC2::Types::DescribeHostReservationOfferingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeHostReservationOfferingsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#filter ⇒ Array<Types::Filter>
The filters.
-
#max_duration ⇒ Integer
This is the maximum duration of the reservation to purchase, specified in seconds.
-
#max_results ⇒ Integer
The maximum number of results to return for the request in a single page.
-
#min_duration ⇒ Integer
This is the minimum duration of the reservation you’d like to purchase, specified in seconds.
-
#next_token ⇒ String
The token to use to retrieve the next page of results.
-
#offering_id ⇒ String
The ID of the reservation offering.
Instance Attribute Details
#filter ⇒ Array<Types::Filter>
The filters.
-
‘instance-family` - The instance family of the offering (for example, `m4`).
-
‘payment-option` - The payment option (`NoUpfront` | `PartialUpfront` | `AllUpfront`).
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |
#max_duration ⇒ Integer
This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned ‘nextToken` value. This value can be between 5 and
-
If ‘maxResults` is given a larger value than 500, you receive
an error.
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |
#min_duration ⇒ Integer
This is the minimum duration of the reservation you’d like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
The token to use to retrieve the next page of results.
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |
#offering_id ⇒ String
The ID of the reservation offering.
20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 |
# File 'lib/aws-sdk-ec2/types.rb', line 20539 class DescribeHostReservationOfferingsRequest < Struct.new( :filter, :max_duration, :max_results, :min_duration, :next_token, :offering_id) SENSITIVE = [] include Aws::Structure end |