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 |
Synopsis
- data ActiveInstance = ActiveInstance' {}
- newActiveInstance :: ActiveInstance
- activeInstance_instanceHealth :: Lens' ActiveInstance (Maybe InstanceHealthStatus)
- activeInstance_instanceId :: Lens' ActiveInstance (Maybe Text)
- activeInstance_instanceType :: Lens' ActiveInstance (Maybe Text)
- activeInstance_spotInstanceRequestId :: Lens' ActiveInstance (Maybe Text)
Documentation
data ActiveInstance Source #
Describes a running instance in a Spot Fleet.
See: newActiveInstance
smart constructor.
ActiveInstance' | |
|
Instances
newActiveInstance :: ActiveInstance Source #
Create a value of ActiveInstance
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:instanceHealth:ActiveInstance'
, activeInstance_instanceHealth
- The health status of the instance. If the status of either the instance
status check or the system status check is impaired
, the health status
of the instance is unhealthy
. Otherwise, the health status is
healthy
.
$sel:instanceId:ActiveInstance'
, activeInstance_instanceId
- The ID of the instance.
$sel:instanceType:ActiveInstance'
, activeInstance_instanceType
- The instance type.
$sel:spotInstanceRequestId:ActiveInstance'
, activeInstance_spotInstanceRequestId
- The ID of the Spot Instance request.
activeInstance_instanceHealth :: Lens' ActiveInstance (Maybe InstanceHealthStatus) Source #
The health status of the instance. If the status of either the instance
status check or the system status check is impaired
, the health status
of the instance is unhealthy
. Otherwise, the health status is
healthy
.
activeInstance_instanceId :: Lens' ActiveInstance (Maybe Text) Source #
The ID of the instance.
activeInstance_instanceType :: Lens' ActiveInstance (Maybe Text) Source #
The instance type.
activeInstance_spotInstanceRequestId :: Lens' ActiveInstance (Maybe Text) Source #
The ID of the Spot Instance request.