amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.SlotDateTimeRangeRequest

Description

 
Synopsis

Documentation

data SlotDateTimeRangeRequest Source #

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

See: newSlotDateTimeRangeRequest smart constructor.

Constructors

SlotDateTimeRangeRequest' 

Fields

  • earliestTime :: ISO8601

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

  • latestTime :: ISO8601

    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.

Instances

Instances details
ToQuery SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

Generic SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

Associated Types

type Rep SlotDateTimeRangeRequest :: Type -> Type #

Read SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

Show SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

NFData SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

Eq SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

Hashable SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

type Rep SlotDateTimeRangeRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.SlotDateTimeRangeRequest

type Rep SlotDateTimeRangeRequest = D1 ('MetaData "SlotDateTimeRangeRequest" "Amazonka.EC2.Types.SlotDateTimeRangeRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "SlotDateTimeRangeRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "earliestTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "latestTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))

newSlotDateTimeRangeRequest Source #

Create a value of SlotDateTimeRangeRequest with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:earliestTime:SlotDateTimeRangeRequest', slotDateTimeRangeRequest_earliestTime - The earliest date and time, in UTC, for the Scheduled Instance to start.

$sel:latestTime:SlotDateTimeRangeRequest', slotDateTimeRangeRequest_latestTime - 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.

slotDateTimeRangeRequest_earliestTime :: Lens' SlotDateTimeRangeRequest UTCTime Source #

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

slotDateTimeRangeRequest_latestTime :: Lens' SlotDateTimeRangeRequest UTCTime Source #

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.