You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::SpotInstanceStatus

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

Overview

Describes the status of a Spot Instance request.

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The status code. For a list of status codes, see Spot Status Codes in the Amazon Elastic Compute Cloud User Guide.

Returns:

  • (String)


27816
27817
27818
27819
27820
27821
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27816

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  include Aws::Structure
end

#messageString

The description for the status code.

Returns:

  • (String)


27816
27817
27818
27819
27820
27821
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27816

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  include Aws::Structure
end

#update_timeTime

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Returns:

  • (Time)


27816
27817
27818
27819
27820
27821
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27816

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  include Aws::Structure
end