getServiceSyncConfig method
Get detailed information for the service sync configuration.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter serviceName :
The name of the service that you want to get the service sync
configuration for.
Implementation
Future<GetServiceSyncConfigOutput> getServiceSyncConfig({
required String serviceName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AwsProton20200720.GetServiceSyncConfig'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'serviceName': serviceName,
},
);
return GetServiceSyncConfigOutput.fromJson(jsonResponse.body);
}