updateServiceSyncBlocker method
Update the service sync blocker by resolving it.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the service sync blocker.
Parameter resolvedReason :
The reason the service sync blocker was resolved.
Implementation
Future<UpdateServiceSyncBlockerOutput> updateServiceSyncBlocker({
required String id,
required String resolvedReason,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AwsProton20200720.UpdateServiceSyncBlocker'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'id': id,
'resolvedReason': resolvedReason,
},
);
return UpdateServiceSyncBlockerOutput.fromJson(jsonResponse.body);
}