Class: Aws::EC2::Types::DescribeInstanceTypeOfferingsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass DescribeInstanceTypeOfferingsRequest data as a 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",
}

Constant Summary collapse

SENSITIVE =
[]

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)


20950
20951
20952
20953
20954
20955
20956
20957
20958
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20950

class DescribeInstanceTypeOfferingsRequest < Struct.new(
  :dry_run,
  :location_type,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#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:



20950
20951
20952
20953
20954
20955
20956
20957
20958
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20950

class DescribeInstanceTypeOfferingsRequest < Struct.new(
  :dry_run,
  :location_type,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#location_typeString

The location type.

Returns:

  • (String)


20950
20951
20952
20953
20954
20955
20956
20957
20958
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20950

class DescribeInstanceTypeOfferingsRequest < Struct.new(
  :dry_run,
  :location_type,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#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)


20950
20951
20952
20953
20954
20955
20956
20957
20958
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20950

class DescribeInstanceTypeOfferingsRequest < Struct.new(
  :dry_run,
  :location_type,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to retrieve the next page of results.

Returns:

  • (String)


20950
20951
20952
20953
20954
20955
20956
20957
20958
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20950

class DescribeInstanceTypeOfferingsRequest < Struct.new(
  :dry_run,
  :location_type,
  :filters,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end