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

Class: Aws::EC2::Types::SlotDateTimeRangeRequest

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

{
  earliest_time: Time.now, # required
  latest_time: Time.now, # required
}

Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.

Instance Attribute Summary collapse

Instance Attribute Details

#earliest_timeTime

The earliest date and time, in UTC, for the Scheduled Instance to start.

Returns:

  • (Time)


35460
35461
35462
35463
35464
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35460

class SlotDateTimeRangeRequest < Struct.new(
  :earliest_time,
  :latest_time)
  include Aws::Structure
end

#latest_timeTime

The latest date and time, in UTC, for the Scheduled Instance to start. This value must be later than or equal to the earliest date and at most three months in the future.

Returns:

  • (Time)


35460
35461
35462
35463
35464
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 35460

class SlotDateTimeRangeRequest < Struct.new(
  :earliest_time,
  :latest_time)
  include Aws::Structure
end