getProtectedJob method
Returns job processing metadata.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter membershipIdentifier :
The identifier for a membership in a protected job instance.
Parameter protectedJobIdentifier :
The identifier for the protected job instance.
Implementation
Future<GetProtectedJobOutput> getProtectedJob({
required String membershipIdentifier,
required String protectedJobIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/memberships/${Uri.encodeComponent(membershipIdentifier)}/protectedJobs/${Uri.encodeComponent(protectedJobIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetProtectedJobOutput.fromJson(response);
}