Copyright | (c) 2013-2017 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 |
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)
- gisSubType :: Lens' GetInventorySchema (Maybe Bool)
- 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 Source #
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.)gisSubType
- Returns the sub-type schema for a specified inventory type.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 Source #
See: getInventorySchema
smart constructor.
Request Lenses
gisTypeName :: Lens' GetInventorySchema (Maybe Text) Source #
The type of inventory item to return.
gisNextToken :: Lens' GetInventorySchema (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
gisSubType :: Lens' GetInventorySchema (Maybe Bool) Source #
Returns the sub-type schema for a specified inventory type.
gisMaxResults :: Lens' GetInventorySchema (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.
Destructuring the Response
getInventorySchemaResponse Source #
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 Source #
See: getInventorySchemaResponse
smart constructor.
Response Lenses
gisrsSchemas :: Lens' GetInventorySchemaResponse [InventoryItemSchema] Source #
Inventory schemas returned by the request.
gisrsNextToken :: Lens' GetInventorySchemaResponse (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.
gisrsResponseStatus :: Lens' GetInventorySchemaResponse Int Source #
- - | The response status code.