getTemplateStepGroup method
Get a step group in a template.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the step group.
Parameter templateId :
The ID of the template.
Implementation
Future<GetTemplateStepGroupResponse> getTemplateStepGroup({
required String id,
required String templateId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/templates/${Uri.encodeComponent(templateId)}/stepgroups/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetTemplateStepGroupResponse.fromJson(response);
}