Class: Aws::EC2::Types::CreateReservedInstancesListingRequest

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 CreateReservedInstancesListingRequest data as a hash:

{
  client_token: "String", # required
  instance_count: 1, # required
  price_schedules: [ # required
    {
      currency_code: "USD", # accepts USD
      price: 1.0,
      term: 1,
    },
  ],
  reserved_instances_id: "ReservationId", # required
}

Contains the parameters for CreateReservedInstancesListing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.

Returns:

  • (String)


9050
9051
9052
9053
9054
9055
9056
9057
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9050

class CreateReservedInstancesListingRequest < Struct.new(
  :client_token,
  :instance_count,
  :price_schedules,
  :reserved_instances_id)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.

Returns:

  • (Integer)


9050
9051
9052
9053
9054
9055
9056
9057
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9050

class CreateReservedInstancesListingRequest < Struct.new(
  :client_token,
  :instance_count,
  :price_schedules,
  :reserved_instances_id)
  SENSITIVE = []
  include Aws::Structure
end

#price_schedulesArray<Types::PriceScheduleSpecification>

A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.



9050
9051
9052
9053
9054
9055
9056
9057
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9050

class CreateReservedInstancesListingRequest < Struct.new(
  :client_token,
  :instance_count,
  :price_schedules,
  :reserved_instances_id)
  SENSITIVE = []
  include Aws::Structure
end

#reserved_instances_idString

The ID of the active Standard Reserved Instance.

Returns:

  • (String)


9050
9051
9052
9053
9054
9055
9056
9057
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9050

class CreateReservedInstancesListingRequest < Struct.new(
  :client_token,
  :instance_count,
  :price_schedules,
  :reserved_instances_id)
  SENSITIVE = []
  include Aws::Structure
end