getWorkload method
Returns information about a workload.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter workloadName :
The name of the workload.
Implementation
Future<GetWorkloadOutput> getWorkload({
required String workloadName,
}) async {
final $payload = <String, dynamic>{
'workloadName': workloadName,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/getWorkload',
exceptionFnMap: _exceptionFns,
);
return GetWorkloadOutput.fromJson(response);
}