Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.SSM.GetInventorySchema
Description
Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type.
- getInventorySchema :: GetInventorySchema
- data GetInventorySchema
- gisTypeName :: Lens' GetInventorySchema (Maybe Text)
- gisNextToken :: Lens' GetInventorySchema (Maybe Text)
- gisMaxResults :: Lens' GetInventorySchema (Maybe Natural)
- getInventorySchemaResponse :: Int -> GetInventorySchemaResponse
- data GetInventorySchemaResponse
- gisrsSchemas :: Lens' GetInventorySchemaResponse [InventoryItemSchema]
- gisrsNextToken :: Lens' GetInventorySchemaResponse (Maybe Text)
- gisrsResponseStatus :: Lens' GetInventorySchemaResponse Int
Creating a Request
getInventorySchema :: GetInventorySchema #
Creates a value of GetInventorySchema
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisTypeName
- The type of inventory item to return.gisNextToken
- The token for the next set of items to return. (You received this token from a previous call.)gisMaxResults
- 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.
data GetInventorySchema #
See: getInventorySchema
smart constructor.
Instances
Request Lenses
gisTypeName :: Lens' GetInventorySchema (Maybe Text) #
The type of inventory item to return.
gisNextToken :: Lens' GetInventorySchema (Maybe Text) #
The token for the next set of items to return. (You received this token from a previous call.)
gisMaxResults :: Lens' GetInventorySchema (Maybe Natural) #
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.
Destructuring the Response
Arguments
:: Int | |
-> GetInventorySchemaResponse |
Creates a value of GetInventorySchemaResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisrsSchemas
- Inventory schemas returned by the request.gisrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.gisrsResponseStatus
- -- | The response status code.
data GetInventorySchemaResponse #
See: getInventorySchemaResponse
smart constructor.
Response Lenses
gisrsSchemas :: Lens' GetInventorySchemaResponse [InventoryItemSchema] #
Inventory schemas returned by the request.
gisrsNextToken :: Lens' GetInventorySchemaResponse (Maybe Text) #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
gisrsResponseStatus :: Lens' GetInventorySchemaResponse Int #
- - | The response status code.