deleteServiceSyncConfig method

Future<DeleteServiceSyncConfigOutput> deleteServiceSyncConfig({
  1. required String serviceName,
})

Delete the Proton Ops file.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter serviceName : The name of the service that you want to delete the service sync configuration for.

Implementation

Future<DeleteServiceSyncConfigOutput> deleteServiceSyncConfig({
  required String serviceName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'AwsProton20200720.DeleteServiceSyncConfig'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'serviceName': serviceName,
    },
  );

  return DeleteServiceSyncConfigOutput.fromJson(jsonResponse.body);
}