GetThingShadow

data class GetThingShadow(val thingName: ThingName, val shadowName: ShadowName? = null) : IotDataPlaneAction<InputStream> (source)

The shadow document is opaque JSON, so it is returned as a stream, as S3 GetObject does.

Constructors

Link copied to clipboard
constructor(thingName: ThingName, shadowName: ShadowName? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toRequest(): Request
Link copied to clipboard
open override fun toResult(response: Response): Result<InputStream, RemoteFailure>