Copyright | (c) 2013-2017 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 |
Gets information about the specified thing.
- describeThing :: Text -> DescribeThing
- data DescribeThing
- dThingName :: Lens' DescribeThing Text
- describeThingResponse :: Int -> DescribeThingResponse
- data DescribeThingResponse
- dtrsDefaultClientId :: Lens' DescribeThingResponse (Maybe Text)
- dtrsThingTypeName :: Lens' DescribeThingResponse (Maybe Text)
- dtrsAttributes :: Lens' DescribeThingResponse (HashMap Text Text)
- dtrsVersion :: Lens' DescribeThingResponse (Maybe Integer)
- dtrsThingName :: Lens' DescribeThingResponse (Maybe Text)
- dtrsResponseStatus :: Lens' DescribeThingResponse Int
Creating a Request
Creates a value of DescribeThing
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dThingName
- The name of the thing.
data DescribeThing Source #
The input for the DescribeThing operation.
See: describeThing
smart constructor.
Request Lenses
dThingName :: Lens' DescribeThing Text Source #
The name of the thing.
Destructuring the Response
describeThingResponse Source #
Creates a value of DescribeThingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrsDefaultClientId
- The default client ID.dtrsThingTypeName
- The thing type name.dtrsAttributes
- The thing attributes.dtrsVersion
- The current version of the thing record in the registry.dtrsThingName
- The name of the thing.dtrsResponseStatus
- -- | The response status code.
data DescribeThingResponse Source #
The output from the DescribeThing operation.
See: describeThingResponse
smart constructor.
Response Lenses
dtrsDefaultClientId :: Lens' DescribeThingResponse (Maybe Text) Source #
The default client ID.
dtrsThingTypeName :: Lens' DescribeThingResponse (Maybe Text) Source #
The thing type name.
dtrsAttributes :: Lens' DescribeThingResponse (HashMap Text Text) Source #
The thing attributes.
dtrsVersion :: Lens' DescribeThingResponse (Maybe Integer) Source #
The current version of the thing record in the registry.
dtrsThingName :: Lens' DescribeThingResponse (Maybe Text) Source #
The name of the thing.
dtrsResponseStatus :: Lens' DescribeThingResponse Int Source #
- - | The response status code.