| 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 |
Network.AWS.IoT.ListThingTypes
Description
Lists the existing thing types.
This operation returns paginated results.
Synopsis
- listThingTypes :: ListThingTypes
- data ListThingTypes
- lttThingTypeName :: Lens' ListThingTypes (Maybe Text)
- lttNextToken :: Lens' ListThingTypes (Maybe Text)
- lttMaxResults :: Lens' ListThingTypes (Maybe Natural)
- listThingTypesResponse :: Int -> ListThingTypesResponse
- data ListThingTypesResponse
- lttrsThingTypes :: Lens' ListThingTypesResponse [ThingTypeDefinition]
- lttrsNextToken :: Lens' ListThingTypesResponse (Maybe Text)
- lttrsResponseStatus :: Lens' ListThingTypesResponse Int
Creating a Request
listThingTypes :: ListThingTypes Source #
Creates a value of ListThingTypes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lttThingTypeName- The name of the thing type.lttNextToken- The token for the next set of results, or null if there are no additional results.lttMaxResults- The maximum number of results to return in this operation.
data ListThingTypes Source #
The input for the ListThingTypes operation.
See: listThingTypes smart constructor.
Instances
Request Lenses
lttThingTypeName :: Lens' ListThingTypes (Maybe Text) Source #
The name of the thing type.
lttNextToken :: Lens' ListThingTypes (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
lttMaxResults :: Lens' ListThingTypes (Maybe Natural) Source #
The maximum number of results to return in this operation.
Destructuring the Response
listThingTypesResponse Source #
Arguments
| :: Int | |
| -> ListThingTypesResponse |
Creates a value of ListThingTypesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lttrsThingTypes- The thing types.lttrsNextToken- The token for the next set of results, or null if there are no additional results.lttrsResponseStatus- -- | The response status code.
data ListThingTypesResponse Source #
The output for the ListThingTypes operation.
See: listThingTypesResponse smart constructor.
Instances
Response Lenses
lttrsThingTypes :: Lens' ListThingTypesResponse [ThingTypeDefinition] Source #
The thing types.
lttrsNextToken :: Lens' ListThingTypesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
lttrsResponseStatus :: Lens' ListThingTypesResponse Int Source #
- - | The response status code.