libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTData.GetThingShadow

Description

Gets the shadow for the specified thing.

Requires permission to access the GetThingShadow action.

For more information, see GetThingShadow in the IoT Developer Guide.

Synopsis

Creating a Request

data GetThingShadow Source #

The input for the GetThingShadow operation.

See: newGetThingShadow smart constructor.

Constructors

GetThingShadow' 

Fields

Instances

Instances details
Eq GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Read GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Show GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Generic GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type Rep GetThingShadow :: Type -> Type #

NFData GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Methods

rnf :: GetThingShadow -> () #

Hashable GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

AWSRequest GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type AWSResponse GetThingShadow #

ToHeaders GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

ToPath GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

ToQuery GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadow = D1 ('MetaData "GetThingShadow" "Amazonka.IoTData.GetThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetThingShadow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "shadowName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetThingShadow Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

newGetThingShadow Source #

Create a value of GetThingShadow 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:GetThingShadow', getThingShadow_shadowName - The name of the shadow.

$sel:thingName:GetThingShadow', getThingShadow_thingName - The name of the thing.

Request Lenses

Destructuring the Response

data GetThingShadowResponse Source #

The output from the GetThingShadow operation.

See: newGetThingShadowResponse smart constructor.

Constructors

GetThingShadowResponse' 

Fields

Instances

Instances details
Eq GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Show GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Generic GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Associated Types

type Rep GetThingShadowResponse :: Type -> Type #

NFData GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

Methods

rnf :: GetThingShadowResponse -> () #

type Rep GetThingShadowResponse Source # 
Instance details

Defined in Amazonka.IoTData.GetThingShadow

type Rep GetThingShadowResponse = D1 ('MetaData "GetThingShadowResponse" "Amazonka.IoTData.GetThingShadow" "libZSservicesZSamazonka-iot-dataplaneZSamazonka-iot-dataplane" 'False) (C1 ('MetaCons "GetThingShadowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetThingShadowResponse Source #

Create a value of GetThingShadowResponse 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:payload:GetThingShadowResponse', getThingShadowResponse_payload - The state information, in JSON format.

$sel:httpStatus:GetThingShadowResponse', getThingShadowResponse_httpStatus - The response's http status code.

Response Lenses