Copyright | (c) 2013-2021 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 |
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_thingTypeProperties :: Lens' DescribeThingTypeResponse (Maybe ThingTypeProperties)
- describeThingTypeResponse_thingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_thingTypeId :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_thingTypeMetadata :: Lens' DescribeThingTypeResponse (Maybe ThingTypeMetadata)
- describeThingTypeResponse_thingTypeArn :: Lens' DescribeThingTypeResponse (Maybe Text)
- describeThingTypeResponse_httpStatus :: Lens' DescribeThingTypeResponse Int
Creating a Request
data DescribeThingType Source #
The input for the DescribeThingType operation.
See: newDescribeThingType
smart constructor.
DescribeThingType' | |
|
Instances
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:
$sel:thingTypeName: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.
DescribeThingTypeResponse' | |
|
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:
$sel:thingTypeProperties:DescribeThingTypeResponse'
, describeThingTypeResponse_thingTypeProperties
- The ThingTypeProperties contains information about the thing type
including description, and a list of searchable thing attribute names.
$sel:thingTypeName:DescribeThingType'
, describeThingTypeResponse_thingTypeName
- The name of the thing type.
$sel:thingTypeId:DescribeThingTypeResponse'
, describeThingTypeResponse_thingTypeId
- The thing type ID.
$sel:thingTypeMetadata: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.
$sel:thingTypeArn:DescribeThingTypeResponse'
, describeThingTypeResponse_thingTypeArn
- The thing type ARN.
$sel:httpStatus:DescribeThingTypeResponse'
, describeThingTypeResponse_httpStatus
- The response's http status code.
Response Lenses
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_thingTypeName :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The name of the thing type.
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_thingTypeArn :: Lens' DescribeThingTypeResponse (Maybe Text) Source #
The thing type ARN.
describeThingTypeResponse_httpStatus :: Lens' DescribeThingTypeResponse Int Source #
The response's http status code.