updateReadinessCheck method
Updates a readiness check.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter readinessCheckName :
Name of a readiness check.
Parameter resourceSetName :
The name of the resource set to be checked.
Implementation
Future<UpdateReadinessCheckResponse> updateReadinessCheck({
required String readinessCheckName,
required String resourceSetName,
}) async {
final $payload = <String, dynamic>{
'resourceSetName': resourceSetName,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri: '/readinesschecks/${Uri.encodeComponent(readinessCheckName)}',
exceptionFnMap: _exceptionFns,
);
return UpdateReadinessCheckResponse.fromJson(response);
}