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 |
Deletes the shadow for the specified thing.
Requires permission to access the DeleteThingShadow action.
For more information, see DeleteThingShadow in the IoT Developer Guide.
Synopsis
- data DeleteThingShadow = DeleteThingShadow' {
- shadowName :: Maybe Text
- thingName :: Text
- newDeleteThingShadow :: Text -> DeleteThingShadow
- deleteThingShadow_shadowName :: Lens' DeleteThingShadow (Maybe Text)
- deleteThingShadow_thingName :: Lens' DeleteThingShadow Text
- data DeleteThingShadowResponse = DeleteThingShadowResponse' {
- httpStatus :: Int
- payload :: ByteString
- newDeleteThingShadowResponse :: Int -> ByteString -> DeleteThingShadowResponse
- deleteThingShadowResponse_httpStatus :: Lens' DeleteThingShadowResponse Int
- deleteThingShadowResponse_payload :: Lens' DeleteThingShadowResponse ByteString
Creating a Request
data DeleteThingShadow Source #
The input for the DeleteThingShadow operation.
See: newDeleteThingShadow
smart constructor.
DeleteThingShadow' | |
|
Instances
Create a value of DeleteThingShadow
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:shadowName:DeleteThingShadow'
, deleteThingShadow_shadowName
- The name of the shadow.
$sel:thingName:DeleteThingShadow'
, deleteThingShadow_thingName
- The name of the thing.
Request Lenses
deleteThingShadow_shadowName :: Lens' DeleteThingShadow (Maybe Text) Source #
The name of the shadow.
deleteThingShadow_thingName :: Lens' DeleteThingShadow Text Source #
The name of the thing.
Destructuring the Response
data DeleteThingShadowResponse Source #
The output from the DeleteThingShadow operation.
See: newDeleteThingShadowResponse
smart constructor.
DeleteThingShadowResponse' | |
|
Instances
newDeleteThingShadowResponse Source #
Create a value of DeleteThingShadowResponse
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:httpStatus:DeleteThingShadowResponse'
, deleteThingShadowResponse_httpStatus
- The response's http status code.
$sel:payload:DeleteThingShadowResponse'
, deleteThingShadowResponse_payload
- The state information, in JSON format.
Response Lenses
deleteThingShadowResponse_httpStatus :: Lens' DeleteThingShadowResponse Int Source #
The response's http status code.
deleteThingShadowResponse_payload :: Lens' DeleteThingShadowResponse ByteString Source #
The state information, in JSON format.