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 |
Describe a thing group.
Synopsis
- describeThingGroup :: Text -> DescribeThingGroup
- data DescribeThingGroup
- dtgThingGroupName :: Lens' DescribeThingGroup Text
- describeThingGroupResponse :: Int -> DescribeThingGroupResponse
- data DescribeThingGroupResponse
- dtgrsThingGroupARN :: Lens' DescribeThingGroupResponse (Maybe Text)
- dtgrsThingGroupId :: Lens' DescribeThingGroupResponse (Maybe Text)
- dtgrsThingGroupMetadata :: Lens' DescribeThingGroupResponse (Maybe ThingGroupMetadata)
- dtgrsThingGroupName :: Lens' DescribeThingGroupResponse (Maybe Text)
- dtgrsVersion :: Lens' DescribeThingGroupResponse (Maybe Integer)
- dtgrsThingGroupProperties :: Lens' DescribeThingGroupResponse (Maybe ThingGroupProperties)
- dtgrsResponseStatus :: Lens' DescribeThingGroupResponse Int
Creating a Request
Creates a value of DescribeThingGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtgThingGroupName
- The name of the thing group.
data DescribeThingGroup Source #
See: describeThingGroup
smart constructor.
Instances
Request Lenses
dtgThingGroupName :: Lens' DescribeThingGroup Text Source #
The name of the thing group.
Destructuring the Response
describeThingGroupResponse Source #
Creates a value of DescribeThingGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtgrsThingGroupARN
- The thing group ARN.dtgrsThingGroupId
- The thing group ID.dtgrsThingGroupMetadata
- Thing group metadata.dtgrsThingGroupName
- The name of the thing group.dtgrsVersion
- The version of the thing group.dtgrsThingGroupProperties
- The thing group properties.dtgrsResponseStatus
- -- | The response status code.
data DescribeThingGroupResponse Source #
See: describeThingGroupResponse
smart constructor.
Instances
Response Lenses
dtgrsThingGroupARN :: Lens' DescribeThingGroupResponse (Maybe Text) Source #
The thing group ARN.
dtgrsThingGroupId :: Lens' DescribeThingGroupResponse (Maybe Text) Source #
The thing group ID.
dtgrsThingGroupMetadata :: Lens' DescribeThingGroupResponse (Maybe ThingGroupMetadata) Source #
Thing group metadata.
dtgrsThingGroupName :: Lens' DescribeThingGroupResponse (Maybe Text) Source #
The name of the thing group.
dtgrsVersion :: Lens' DescribeThingGroupResponse (Maybe Integer) Source #
The version of the thing group.
dtgrsThingGroupProperties :: Lens' DescribeThingGroupResponse (Maybe ThingGroupProperties) Source #
The thing group properties.
dtgrsResponseStatus :: Lens' DescribeThingGroupResponse Int Source #
- - | The response status code.