describeHoursOfOperation method

Future<DescribeHoursOfOperationResponse> describeHoursOfOperation({
  1. required String hoursOfOperationId,
  2. required String instanceId,
})

Describes the hours of operation.

May throw InternalServiceException. May throw InvalidParameterException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter hoursOfOperationId : The identifier for the hours of operation.

Parameter instanceId : The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Implementation

Future<DescribeHoursOfOperationResponse> describeHoursOfOperation({
  required String hoursOfOperationId,
  required String instanceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/hours-of-operations/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(hoursOfOperationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeHoursOfOperationResponse.fromJson(response);
}