Copyright | (c) 2013-2018 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 type.
Synopsis
- describeThingType :: Text -> DescribeThingType
- data DescribeThingType
- dThingTypeName :: Lens' DescribeThingType Text
- describeThingTypeResponse :: Int -> DescribeThingTypeResponse
- data DescribeThingTypeResponse
- desrsThingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties)
- desrsThingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text)
- desrsThingTypeId :: Lens' DescribeThingTypeResponse (Maybe Text)
- desrsThingTypeMetadata :: Lens' DescribeThingTypeResponse (Maybe ThingTypeMetadata)
- desrsThingTypeARN :: Lens' DescribeThingTypeResponse (Maybe Text)
- desrsResponseStatus :: Lens' DescribeThingTypeResponse Int
Creating a Request
Creates a value of DescribeThingType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dThingTypeName
- The name of the thing type.
data DescribeThingType Source #
The input for the DescribeThingType operation.
See: describeThingType
smart constructor.
Instances
Request Lenses
dThingTypeName :: Lens' DescribeThingType Text Source #
The name of the thing type.
Destructuring the Response
describeThingTypeResponse Source #
Creates a value of DescribeThingTypeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desrsThingTypeProperties
- The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.desrsThingTypeName
- The name of the thing type.desrsThingTypeId
- The thing type ID.desrsThingTypeMetadata
- The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.desrsThingTypeARN
- The thing type ARN.desrsResponseStatus
- -- | The response status code.
data DescribeThingTypeResponse Source #
The output for the DescribeThingType operation.
See: describeThingTypeResponse
smart constructor.
Instances
Response Lenses
desrsThingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties) Source #
The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.
desrsThingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The name of the thing type.
desrsThingTypeId :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The thing type ID.
desrsThingTypeMetadata :: Lens' DescribeThingTypeResponse (Maybe ThingTypeMetadata) Source #
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
desrsThingTypeARN :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The thing type ARN.
desrsResponseStatus :: Lens' DescribeThingTypeResponse Int Source #
- - | The response status code.