describeThingGroup method

Future<DescribeThingGroupResponse> describeThingGroup({
  1. required String thingGroupName,
})

Describe a thing group.

Requires permission to access the DescribeThingGroup action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter thingGroupName : The name of the thing group.

Implementation

Future<DescribeThingGroupResponse> describeThingGroup({
  required String thingGroupName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/thing-groups/${Uri.encodeComponent(thingGroupName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeThingGroupResponse.fromJson(response);
}