Copyright | (c) 2013-2021 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 |
Lists the shadows for the specified thing.
Requires permission to access the ListNamedShadowsForThing action.
Synopsis
- data ListNamedShadowsForThing = ListNamedShadowsForThing' {}
- newListNamedShadowsForThing :: Text -> ListNamedShadowsForThing
- listNamedShadowsForThing_nextToken :: Lens' ListNamedShadowsForThing (Maybe Text)
- listNamedShadowsForThing_pageSize :: Lens' ListNamedShadowsForThing (Maybe Natural)
- listNamedShadowsForThing_thingName :: Lens' ListNamedShadowsForThing Text
- data ListNamedShadowsForThingResponse = ListNamedShadowsForThingResponse' {}
- newListNamedShadowsForThingResponse :: Int -> ListNamedShadowsForThingResponse
- listNamedShadowsForThingResponse_results :: Lens' ListNamedShadowsForThingResponse (Maybe [Text])
- listNamedShadowsForThingResponse_nextToken :: Lens' ListNamedShadowsForThingResponse (Maybe Text)
- listNamedShadowsForThingResponse_timestamp :: Lens' ListNamedShadowsForThingResponse (Maybe Integer)
- listNamedShadowsForThingResponse_httpStatus :: Lens' ListNamedShadowsForThingResponse Int
Creating a Request
data ListNamedShadowsForThing Source #
See: newListNamedShadowsForThing
smart constructor.
Instances
newListNamedShadowsForThing Source #
Create a value of ListNamedShadowsForThing
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:
$sel:nextToken:ListNamedShadowsForThing'
, listNamedShadowsForThing_nextToken
- The token to retrieve the next set of results.
$sel:pageSize:ListNamedShadowsForThing'
, listNamedShadowsForThing_pageSize
- The result page size.
$sel:thingName:ListNamedShadowsForThing'
, listNamedShadowsForThing_thingName
- The name of the thing.
Request Lenses
listNamedShadowsForThing_nextToken :: Lens' ListNamedShadowsForThing (Maybe Text) Source #
The token to retrieve the next set of results.
listNamedShadowsForThing_pageSize :: Lens' ListNamedShadowsForThing (Maybe Natural) Source #
The result page size.
listNamedShadowsForThing_thingName :: Lens' ListNamedShadowsForThing Text Source #
The name of the thing.
Destructuring the Response
data ListNamedShadowsForThingResponse Source #
See: newListNamedShadowsForThingResponse
smart constructor.
ListNamedShadowsForThingResponse' | |
|
Instances
newListNamedShadowsForThingResponse Source #
Create a value of ListNamedShadowsForThingResponse
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:
$sel:results:ListNamedShadowsForThingResponse'
, listNamedShadowsForThingResponse_results
- The list of shadows for the specified thing.
$sel:nextToken:ListNamedShadowsForThing'
, listNamedShadowsForThingResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:timestamp:ListNamedShadowsForThingResponse'
, listNamedShadowsForThingResponse_timestamp
- The Epoch date and time the response was generated by IoT.
$sel:httpStatus:ListNamedShadowsForThingResponse'
, listNamedShadowsForThingResponse_httpStatus
- The response's http status code.
Response Lenses
listNamedShadowsForThingResponse_results :: Lens' ListNamedShadowsForThingResponse (Maybe [Text]) Source #
The list of shadows for the specified thing.
listNamedShadowsForThingResponse_nextToken :: Lens' ListNamedShadowsForThingResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listNamedShadowsForThingResponse_timestamp :: Lens' ListNamedShadowsForThingResponse (Maybe Integer) Source #
The Epoch date and time the response was generated by IoT.
listNamedShadowsForThingResponse_httpStatus :: Lens' ListNamedShadowsForThingResponse Int Source #
The response's http status code.