Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
A list of inventory items returned by the request.
Synopsis
- listInventoryEntries :: Text -> Text -> ListInventoryEntries
- data ListInventoryEntries
- lieFilters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter))
- lieNextToken :: Lens' ListInventoryEntries (Maybe Text)
- lieMaxResults :: Lens' ListInventoryEntries (Maybe Natural)
- lieInstanceId :: Lens' ListInventoryEntries Text
- lieTypeName :: Lens' ListInventoryEntries Text
- listInventoryEntriesResponse :: Int -> ListInventoryEntriesResponse
- data ListInventoryEntriesResponse
- liersInstanceId :: Lens' ListInventoryEntriesResponse (Maybe Text)
- liersTypeName :: Lens' ListInventoryEntriesResponse (Maybe Text)
- liersEntries :: Lens' ListInventoryEntriesResponse [HashMap Text Text]
- liersSchemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text)
- liersCaptureTime :: Lens' ListInventoryEntriesResponse (Maybe Text)
- liersNextToken :: Lens' ListInventoryEntriesResponse (Maybe Text)
- liersResponseStatus :: Lens' ListInventoryEntriesResponse Int
Creating a Request
Creates a value of ListInventoryEntries
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lieFilters
- One or more filters. Use a filter to return a more specific list of results.lieNextToken
- The token for the next set of items to return. (You received this token from a previous call.)lieMaxResults
- 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.lieInstanceId
- The instance ID for which you want inventory information.lieTypeName
- The type of inventory item for which you want information.
data ListInventoryEntries Source #
See: listInventoryEntries
smart constructor.
Instances
Request Lenses
lieFilters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter)) Source #
One or more filters. Use a filter to return a more specific list of results.
lieNextToken :: Lens' ListInventoryEntries (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
lieMaxResults :: 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.
lieInstanceId :: Lens' ListInventoryEntries Text Source #
The instance ID for which you want inventory information.
lieTypeName :: Lens' ListInventoryEntries Text Source #
The type of inventory item for which you want information.
Destructuring the Response
listInventoryEntriesResponse Source #
Creates a value of ListInventoryEntriesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
liersInstanceId
- The instance ID targeted by the request to query inventory information.liersTypeName
- The type of inventory item returned by the request.liersEntries
- A list of inventory items on the instance(s).liersSchemaVersion
- The inventory schema version used by the instance(s).liersCaptureTime
- The time that inventory information was collected for the instance(s).liersNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.liersResponseStatus
- -- | The response status code.
data ListInventoryEntriesResponse Source #
See: listInventoryEntriesResponse
smart constructor.
Instances
Response Lenses
liersInstanceId :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The instance ID targeted by the request to query inventory information.
liersTypeName :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The type of inventory item returned by the request.
liersEntries :: Lens' ListInventoryEntriesResponse [HashMap Text Text] Source #
A list of inventory items on the instance(s).
liersSchemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The inventory schema version used by the instance(s).
liersCaptureTime :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #
The time that inventory information was collected for the instance(s).
liersNextToken :: 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.
liersResponseStatus :: Lens' ListInventoryEntriesResponse Int Source #
- - | The response status code.