| 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.SSM.ListInventoryEntries
Description
A list of inventory items returned by the request.
Synopsis
- data ListInventoryEntries = ListInventoryEntries' {
- filters :: Maybe (NonEmpty InventoryFilter)
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceId :: Text
- typeName :: Text
- newListInventoryEntries :: Text -> Text -> ListInventoryEntries
- listInventoryEntries_filters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter))
- listInventoryEntries_maxResults :: Lens' ListInventoryEntries (Maybe Natural)
- listInventoryEntries_nextToken :: Lens' ListInventoryEntries (Maybe Text)
- listInventoryEntries_instanceId :: Lens' ListInventoryEntries Text
- listInventoryEntries_typeName :: Lens' ListInventoryEntries Text
- data ListInventoryEntriesResponse = ListInventoryEntriesResponse' {}
- newListInventoryEntriesResponse :: Int -> ListInventoryEntriesResponse
- listInventoryEntriesResponse_captureTime :: Lens' ListInventoryEntriesResponse (Maybe Text)
- listInventoryEntriesResponse_entries :: Lens' ListInventoryEntriesResponse (Maybe [HashMap Text Text])
- listInventoryEntriesResponse_instanceId :: Lens' ListInventoryEntriesResponse (Maybe Text)
- listInventoryEntriesResponse_nextToken :: Lens' ListInventoryEntriesResponse (Maybe Text)
- listInventoryEntriesResponse_schemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text)
- listInventoryEntriesResponse_typeName :: Lens' ListInventoryEntriesResponse (Maybe Text)
- listInventoryEntriesResponse_httpStatus :: Lens' ListInventoryEntriesResponse Int
Creating a Request
data ListInventoryEntries Source #
See: newListInventoryEntries smart constructor.
Constructors
| ListInventoryEntries' | |
Fields
| |
Instances
newListInventoryEntries Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListInventoryEntries |
Create a value of ListInventoryEntries 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:
ListInventoryEntries, listInventoryEntries_filters - One or more filters. Use a filter to return a more specific list of
results.
$sel:maxResults:ListInventoryEntries', listInventoryEntries_maxResults - The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
ListInventoryEntries, listInventoryEntries_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
ListInventoryEntries, listInventoryEntries_instanceId - The managed node ID for which you want inventory information.
ListInventoryEntries, listInventoryEntries_typeName - The type of inventory item for which you want information.
Request Lenses
listInventoryEntries_filters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter)) Source #
One or more filters. Use a filter to return a more specific list of results.
listInventoryEntries_maxResults :: Lens' ListInventoryEntries (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
listInventoryEntries_nextToken :: Lens' ListInventoryEntries (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
listInventoryEntries_instanceId :: Lens' ListInventoryEntries Text Source #
The managed node ID for which you want inventory information.
listInventoryEntries_typeName :: Lens' ListInventoryEntries Text Source #
The type of inventory item for which you want information.
Destructuring the Response
data ListInventoryEntriesResponse Source #
See: newListInventoryEntriesResponse smart constructor.
Constructors
| ListInventoryEntriesResponse' | |
Fields
| |
Instances
newListInventoryEntriesResponse Source #
Create a value of ListInventoryEntriesResponse 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:
ListInventoryEntriesResponse, listInventoryEntriesResponse_captureTime - The time that inventory information was collected for the managed
node(s).
$sel:entries:ListInventoryEntriesResponse', listInventoryEntriesResponse_entries - A list of inventory items on the managed node(s).
ListInventoryEntries, listInventoryEntriesResponse_instanceId - The managed node ID targeted by the request to query inventory
information.
ListInventoryEntries, listInventoryEntriesResponse_nextToken - The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
ListInventoryEntriesResponse, listInventoryEntriesResponse_schemaVersion - The inventory schema version used by the managed node(s).
ListInventoryEntries, listInventoryEntriesResponse_typeName - The type of inventory item returned by the request.
$sel:httpStatus:ListInventoryEntriesResponse', listInventoryEntriesResponse_httpStatus - The response's http status code.
Response Lenses
listInventoryEntriesResponse_captureTime :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The time that inventory information was collected for the managed node(s).
listInventoryEntriesResponse_entries :: Lens' ListInventoryEntriesResponse (Maybe [HashMap Text Text]) Source #
A list of inventory items on the managed node(s).
listInventoryEntriesResponse_instanceId :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The managed node ID targeted by the request to query inventory information.
listInventoryEntriesResponse_nextToken :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
listInventoryEntriesResponse_schemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The inventory schema version used by the managed node(s).
listInventoryEntriesResponse_typeName :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The type of inventory item returned by the request.
listInventoryEntriesResponse_httpStatus :: Lens' ListInventoryEntriesResponse Int Source #
The response's http status code.