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 Instance = Instance' {
- accountID :: Maybe Text
- amiId :: Maybe Text
- instanceID :: Maybe Text
- instanceType :: Maybe Text
- lastUpdatedTime :: Maybe Text
- productCode :: Maybe [Text]
- region :: Maybe Text
- status :: Maybe Text
- subscriptionName :: Maybe Text
- usageOperation :: Maybe Text
- newInstance :: Instance
- instance_accountID :: Lens' Instance (Maybe Text)
- instance_amiId :: Lens' Instance (Maybe Text)
- instance_instanceID :: Lens' Instance (Maybe Text)
- instance_instanceType :: Lens' Instance (Maybe Text)
- instance_lastUpdatedTime :: Lens' Instance (Maybe Text)
- instance_productCode :: Lens' Instance (Maybe [Text])
- instance_region :: Lens' Instance (Maybe Text)
- instance_status :: Lens' Instance (Maybe Text)
- instance_subscriptionName :: Lens' Instance (Maybe Text)
- instance_usageOperation :: Lens' Instance (Maybe Text)
Documentation
Details discovered information about a running instance using Linux subscriptions.
See: newInstance
smart constructor.
Instance' | |
|
Instances
newInstance :: Instance Source #
Create a value of Instance
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:Instance'
, instance_accountID
- The account ID which owns the instance.
$sel:amiId:Instance'
, instance_amiId
- The AMI ID used to launch the instance.
$sel:instanceID:Instance'
, instance_instanceID
- The instance ID of the resource.
$sel:instanceType:Instance'
, instance_instanceType
- The instance type of the resource.
$sel:lastUpdatedTime:Instance'
, instance_lastUpdatedTime
- The time in which the last discovery updated the instance details.
$sel:productCode:Instance'
, instance_productCode
- The product code for the instance. For more information, see
Usage operation values
in the License Manager User Guide .
$sel:region:Instance'
, instance_region
- The Region the instance is running in.
$sel:status:Instance'
, instance_status
- The status of the instance.
$sel:subscriptionName:Instance'
, instance_subscriptionName
- The name of the subscription being used by the instance.
$sel:usageOperation:Instance'
, instance_usageOperation
- The usage operation of the instance. For more information, see For more
information, see
Usage operation values
in the License Manager User Guide.
instance_lastUpdatedTime :: Lens' Instance (Maybe Text) Source #
The time in which the last discovery updated the instance details.
instance_productCode :: Lens' Instance (Maybe [Text]) Source #
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
instance_subscriptionName :: Lens' Instance (Maybe Text) Source #
The name of the subscription being used by the instance.
instance_usageOperation :: Lens' Instance (Maybe Text) Source #
The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.