getWirelessGatewayTaskDefinition method

Future<GetWirelessGatewayTaskDefinitionResponse> getWirelessGatewayTaskDefinition({
  1. required String id,
})

Gets information about a wireless gateway task definition.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ID of the resource to get.

Implementation

Future<GetWirelessGatewayTaskDefinitionResponse>
    getWirelessGatewayTaskDefinition({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/wireless-gateway-task-definitions/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetWirelessGatewayTaskDefinitionResponse.fromJson(response);
}