| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.ScheduledInstance
Description
Synopsis
- data ScheduledInstance = ScheduledInstance' {
- availabilityZone :: Maybe Text
- createDate :: Maybe ISO8601
- hourlyPrice :: Maybe Text
- instanceCount :: Maybe Int
- instanceType :: Maybe Text
- networkPlatform :: Maybe Text
- nextSlotStartTime :: Maybe ISO8601
- platform :: Maybe Text
- previousSlotEndTime :: Maybe ISO8601
- recurrence :: Maybe ScheduledInstanceRecurrence
- scheduledInstanceId :: Maybe Text
- slotDurationInHours :: Maybe Int
- termEndDate :: Maybe ISO8601
- termStartDate :: Maybe ISO8601
- totalScheduledInstanceHours :: Maybe Int
- newScheduledInstance :: ScheduledInstance
- scheduledInstance_availabilityZone :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_createDate :: Lens' ScheduledInstance (Maybe UTCTime)
- scheduledInstance_hourlyPrice :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_instanceCount :: Lens' ScheduledInstance (Maybe Int)
- scheduledInstance_instanceType :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_networkPlatform :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_nextSlotStartTime :: Lens' ScheduledInstance (Maybe UTCTime)
- scheduledInstance_platform :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_previousSlotEndTime :: Lens' ScheduledInstance (Maybe UTCTime)
- scheduledInstance_recurrence :: Lens' ScheduledInstance (Maybe ScheduledInstanceRecurrence)
- scheduledInstance_scheduledInstanceId :: Lens' ScheduledInstance (Maybe Text)
- scheduledInstance_slotDurationInHours :: Lens' ScheduledInstance (Maybe Int)
- scheduledInstance_termEndDate :: Lens' ScheduledInstance (Maybe UTCTime)
- scheduledInstance_termStartDate :: Lens' ScheduledInstance (Maybe UTCTime)
- scheduledInstance_totalScheduledInstanceHours :: Lens' ScheduledInstance (Maybe Int)
Documentation
data ScheduledInstance Source #
Describes a Scheduled Instance.
See: newScheduledInstance smart constructor.
Constructors
| ScheduledInstance' | |
Fields
| |
Instances
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_availabilityZone :: Lens' ScheduledInstance (Maybe Text) Source #
The Availability Zone.
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_instanceCount :: Lens' ScheduledInstance (Maybe Int) Source #
The number of instances.
scheduledInstance_instanceType :: Lens' ScheduledInstance (Maybe Text) Source #
The instance type.
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_recurrence :: Lens' ScheduledInstance (Maybe ScheduledInstanceRecurrence) Source #
The schedule recurrence.
scheduledInstance_scheduledInstanceId :: Lens' ScheduledInstance (Maybe Text) Source #
The Scheduled Instance ID.
scheduledInstance_slotDurationInHours :: Lens' ScheduledInstance (Maybe Int) Source #
The number of hours in the schedule.
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.