getScheduleGroup method

Future<GetScheduleGroupOutput> getScheduleGroup({
  1. required String name,
})

Retrieves the specified schedule group.

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

Parameter name : The name of the schedule group to retrieve.

Implementation

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