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.ScheduledInstance

Description

 
Synopsis

Documentation

data ScheduledInstance Source #

Describes a Scheduled Instance.

See: newScheduledInstance smart constructor.

Constructors

ScheduledInstance' 

Fields

Instances

Instances details
FromXML ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

Generic ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

Associated Types

type Rep ScheduledInstance :: Type -> Type #

Read ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

Show ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

NFData ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

Methods

rnf :: ScheduledInstance -> () #

Eq ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

Hashable ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

type Rep ScheduledInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstance

type Rep ScheduledInstance = D1 ('MetaData "ScheduledInstance" "Amazonka.EC2.Types.ScheduledInstance" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ScheduledInstance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "hourlyPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "instanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "networkPlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextSlotStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))) :*: (((S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "previousSlotEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "recurrence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScheduledInstanceRecurrence)) :*: S1 ('MetaSel ('Just "scheduledInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "slotDurationInHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "termEndDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "termStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "totalScheduledInstanceHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

newScheduledInstance :: ScheduledInstance Source #

Create a value of ScheduledInstance 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:availabilityZone:ScheduledInstance', scheduledInstance_availabilityZone - The Availability Zone.

$sel:createDate:ScheduledInstance', scheduledInstance_createDate - The date when the Scheduled Instance was purchased.

$sel:hourlyPrice:ScheduledInstance', scheduledInstance_hourlyPrice - The hourly price for a single instance.

$sel:instanceCount:ScheduledInstance', scheduledInstance_instanceCount - The number of instances.

$sel:instanceType:ScheduledInstance', scheduledInstance_instanceType - The instance type.

$sel:networkPlatform:ScheduledInstance', scheduledInstance_networkPlatform - The network platform (EC2-Classic or EC2-VPC).

$sel:nextSlotStartTime:ScheduledInstance', scheduledInstance_nextSlotStartTime - The time for the next schedule to start.

$sel:platform:ScheduledInstance', scheduledInstance_platform - The platform (Linux/UNIX or Windows).

$sel:previousSlotEndTime:ScheduledInstance', scheduledInstance_previousSlotEndTime - The time that the previous schedule ended or will end.

$sel:recurrence:ScheduledInstance', scheduledInstance_recurrence - The schedule recurrence.

$sel:scheduledInstanceId:ScheduledInstance', scheduledInstance_scheduledInstanceId - The Scheduled Instance ID.

$sel:slotDurationInHours:ScheduledInstance', scheduledInstance_slotDurationInHours - The number of hours in the schedule.

$sel:termEndDate:ScheduledInstance', scheduledInstance_termEndDate - The end date for the Scheduled Instance.

$sel:termStartDate:ScheduledInstance', scheduledInstance_termStartDate - The start date for the Scheduled Instance.

$sel:totalScheduledInstanceHours:ScheduledInstance', scheduledInstance_totalScheduledInstanceHours - The total number of hours for a single instance for the entire term.

scheduledInstance_createDate :: Lens' ScheduledInstance (Maybe UTCTime) Source #

The date when the Scheduled Instance was purchased.

scheduledInstance_hourlyPrice :: Lens' ScheduledInstance (Maybe Text) Source #

The hourly price for a single instance.

scheduledInstance_networkPlatform :: Lens' ScheduledInstance (Maybe Text) Source #

The network platform (EC2-Classic or EC2-VPC).

scheduledInstance_nextSlotStartTime :: Lens' ScheduledInstance (Maybe UTCTime) Source #

The time for the next schedule to start.

scheduledInstance_platform :: Lens' ScheduledInstance (Maybe Text) Source #

The platform (Linux/UNIX or Windows).

scheduledInstance_previousSlotEndTime :: Lens' ScheduledInstance (Maybe UTCTime) Source #

The time that the previous schedule ended or will end.

scheduledInstance_termEndDate :: Lens' ScheduledInstance (Maybe UTCTime) Source #

The end date for the Scheduled Instance.

scheduledInstance_termStartDate :: Lens' ScheduledInstance (Maybe UTCTime) Source #

The start date for the Scheduled Instance.

scheduledInstance_totalScheduledInstanceHours :: Lens' ScheduledInstance (Maybe Int) Source #

The total number of hours for a single instance for the entire term.