| 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.InstanceUsage
Description
Documentation
data InstanceUsage Source #
Information about the Capacity Reservation usage.
See: newInstanceUsage smart constructor.
Constructors
| InstanceUsage' | |
Instances
newInstanceUsage :: InstanceUsage Source #
Create a value of InstanceUsage 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:accountId:InstanceUsage', instanceUsage_accountId - The ID of the Amazon Web Services account that is making use of the
Capacity Reservation.
$sel:usedInstanceCount:InstanceUsage', instanceUsage_usedInstanceCount - The number of instances the Amazon Web Services account currently has in
the Capacity Reservation.
instanceUsage_accountId :: Lens' InstanceUsage (Maybe Text) Source #
The ID of the Amazon Web Services account that is making use of the Capacity Reservation.
instanceUsage_usedInstanceCount :: Lens' InstanceUsage (Maybe Int) Source #
The number of instances the Amazon Web Services account currently has in the Capacity Reservation.