You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::DescribeInstanceTypeOfferingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeInstanceTypeOfferingsRequest
- Defined in:
- (unknown)
Overview
When passing DescribeInstanceTypeOfferingsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
location_type: "region", # accepts region, availability-zone, availability-zone-id
filters: [
{
name: "String",
values: ["String"],
},
],
max_results: 1,
next_token: "NextToken",
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#location_type ⇒ String
The location type.
-
#max_results ⇒ Integer
The maximum number of results to return for the request in a single page.
-
#next_token ⇒ String
The token to retrieve the next page of results.
Instance Attribute Details
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
#filters ⇒ Array<Types::Filter>
One or more filters. Filter names and values are case-sensitive.
location
- This depends on the location type. For example, if the location type isregion
(default), the location is the Region code (for example,us-east-2
.)instance-type
- The instance type. For example,c5.2xlarge
.
#location_type ⇒ String
The location type.
Possible values:
- region
- availability-zone
- availability-zone-id
#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 next token value.
#next_token ⇒ String
The token to retrieve the next page of results.