| 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.SpotInstanceStatus
Description
Synopsis
Documentation
data SpotInstanceStatus Source #
Describes the status of a Spot Instance request.
See: newSpotInstanceStatus smart constructor.
Constructors
| SpotInstanceStatus' | |
Fields
| |
Instances
newSpotInstanceStatus :: SpotInstanceStatus Source #
Create a value of SpotInstanceStatus 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:code:SpotInstanceStatus', spotInstanceStatus_code - The status code. For a list of status codes, see
Spot request status codes
in the Amazon EC2 User Guide for Linux Instances.
$sel:message:SpotInstanceStatus', spotInstanceStatus_message - The description for the status code.
$sel:updateTime:SpotInstanceStatus', spotInstanceStatus_updateTime - The date and time of the most recent status update, in UTC format (for
example, YYYY-MM-DDTHH:MM:SSZ).
spotInstanceStatus_code :: Lens' SpotInstanceStatus (Maybe Text) Source #
The status code. For a list of status codes, see Spot request status codes in the Amazon EC2 User Guide for Linux Instances.
spotInstanceStatus_message :: Lens' SpotInstanceStatus (Maybe Text) Source #
The description for the status code.
spotInstanceStatus_updateTime :: Lens' SpotInstanceStatus (Maybe UTCTime) Source #
The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).