| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DescribeThingType
Description
Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
Synopsis
- data DescribeThingType = DescribeThingType' {}
- newDescribeThingType :: Text -> DescribeThingType
- describeThingType_thingTypeName :: Lens' DescribeThingType Text
- data DescribeThingTypeResponse = DescribeThingTypeResponse' {}
- newDescribeThingTypeResponse :: Int -> DescribeThingTypeResponse
- describeThingTypeResponse_thingTypeArn :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_thingTypeId :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_thingTypeMetadata :: Lens' DescribeThingTypeResponse (Maybe ThingTypeMetadata)
- describeThingTypeResponse_thingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_thingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties)
- describeThingTypeResponse_httpStatus :: Lens' DescribeThingTypeResponse Int
Creating a Request
data DescribeThingType Source #
The input for the DescribeThingType operation.
See: newDescribeThingType smart constructor.
Constructors
| DescribeThingType' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeThingType |
Create a value of DescribeThingType 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:
DescribeThingType, describeThingType_thingTypeName - The name of the thing type.
Request Lenses
describeThingType_thingTypeName :: Lens' DescribeThingType Text Source #
The name of the thing type.
Destructuring the Response
data DescribeThingTypeResponse Source #
The output for the DescribeThingType operation.
See: newDescribeThingTypeResponse smart constructor.
Constructors
| DescribeThingTypeResponse' | |
Fields
| |
Instances
newDescribeThingTypeResponse Source #
Create a value of DescribeThingTypeResponse 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:
DescribeThingTypeResponse, describeThingTypeResponse_thingTypeArn - The thing type ARN.
$sel:thingTypeId:DescribeThingTypeResponse', describeThingTypeResponse_thingTypeId - The thing type ID.
DescribeThingTypeResponse, describeThingTypeResponse_thingTypeMetadata - 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.
DescribeThingType, describeThingTypeResponse_thingTypeName - The name of the thing type.
DescribeThingTypeResponse, describeThingTypeResponse_thingTypeProperties - The ThingTypeProperties contains information about the thing type
including description, and a list of searchable thing attribute names.
$sel:httpStatus:DescribeThingTypeResponse', describeThingTypeResponse_httpStatus - The response's http status code.
Response Lenses
describeThingTypeResponse_thingTypeArn :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The thing type ARN.
describeThingTypeResponse_thingTypeId :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The thing type ID.
describeThingTypeResponse_thingTypeMetadata :: 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.
describeThingTypeResponse_thingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The name of the thing type.
describeThingTypeResponse_thingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties) Source #
The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.
describeThingTypeResponse_httpStatus :: Lens' DescribeThingTypeResponse Int Source #
The response's http status code.