Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InventoryItem = InventoryItem' {}
- newInventoryItem :: Text -> Text -> Text -> InventoryItem
- inventoryItem_context :: Lens' InventoryItem (Maybe (HashMap Text Text))
- inventoryItem_contentHash :: Lens' InventoryItem (Maybe Text)
- inventoryItem_content :: Lens' InventoryItem (Maybe [HashMap Text Text])
- inventoryItem_typeName :: Lens' InventoryItem Text
- inventoryItem_schemaVersion :: Lens' InventoryItem Text
- inventoryItem_captureTime :: Lens' InventoryItem Text
Documentation
data InventoryItem Source #
Information collected from managed instances based on your inventory policy document
See: newInventoryItem
smart constructor.
InventoryItem' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> InventoryItem |
Create a value of InventoryItem
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:context:InventoryItem'
, inventoryItem_context
- A map of associated properties for a specified inventory type. For
example, with this attribute, you can specify the ExecutionId
,
ExecutionType
, ComplianceType
properties of the AWS:ComplianceItem
type.
$sel:contentHash:InventoryItem'
, inventoryItem_contentHash
- MD5 hash of the inventory item type contents. The content hash is used
to determine whether to update inventory information. The PutInventory
API doesn't update the inventory item type contents if the MD5 hash
hasn't changed since last update.
$sel:content:InventoryItem'
, inventoryItem_content
- The inventory data of the inventory type.
$sel:typeName:InventoryItem'
, inventoryItem_typeName
- The name of the inventory type. Default inventory item type names start
with AWS
. Custom inventory type names will start with Custom. Default
inventory item types include the following: AWS:AWSComponent
,
AWS:Application
, AWS:InstanceInformation
, AWS:Network
, and
AWS:WindowsUpdate
.
$sel:schemaVersion:InventoryItem'
, inventoryItem_schemaVersion
- The schema version for the inventory item.
$sel:captureTime:InventoryItem'
, inventoryItem_captureTime
- The time the inventory information was collected.
inventoryItem_context :: Lens' InventoryItem (Maybe (HashMap Text Text)) Source #
A map of associated properties for a specified inventory type. For
example, with this attribute, you can specify the ExecutionId
,
ExecutionType
, ComplianceType
properties of the AWS:ComplianceItem
type.
inventoryItem_contentHash :: Lens' InventoryItem (Maybe Text) Source #
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.
inventoryItem_content :: Lens' InventoryItem (Maybe [HashMap Text Text]) Source #
The inventory data of the inventory type.
inventoryItem_typeName :: Lens' InventoryItem Text Source #
The name of the inventory type. Default inventory item type names start
with AWS
. Custom inventory type names will start with Custom. Default
inventory item types include the following: AWS:AWSComponent
,
AWS:Application
, AWS:InstanceInformation
, AWS:Network
, and
AWS:WindowsUpdate
.
inventoryItem_schemaVersion :: Lens' InventoryItem Text Source #
The schema version for the inventory item.
inventoryItem_captureTime :: Lens' InventoryItem Text Source #
The time the inventory information was collected.