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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#filtersArray<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 is region (default), the location is the Region code (for example, us-east-2.)

  • instance-type - The instance type. For example, c5.2xlarge.

Returns:

#location_typeString

The location type.

Possible values:

  • region
  • availability-zone
  • availability-zone-id

Returns:

  • (String)

    The location type.

#max_resultsInteger

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.

Returns:

  • (Integer)

    The maximum number of results to return for the request in a single page.

#next_tokenString

The token to retrieve the next page of results.

Returns:

  • (String)

    The token to retrieve the next page of results.