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
Documentation
data Subscription Source #
An object which details a discovered Linux subscription.
See: newSubscription
smart constructor.
Subscription' | |
|
Instances
newSubscription :: Subscription Source #
Create a value of Subscription
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:instanceCount:Subscription'
, subscription_instanceCount
- The total amount of running instances using this subscription.
$sel:name:Subscription'
, subscription_name
- The name of the subscription.
$sel:type':Subscription'
, subscription_type
- The type of subscription. The type can be subscription-included with
Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon
Web Services Marketplace. Certain subscriptions may use licensing from
the Amazon Web Services Marketplace as well as OS licensing from Amazon
EC2 or BYOS.
subscription_instanceCount :: Lens' Subscription (Maybe Integer) Source #
The total amount of running instances using this subscription.
subscription_name :: Lens' Subscription (Maybe Text) Source #
The name of the subscription.
subscription_type :: Lens' Subscription (Maybe Text) Source #
The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.