```swift Amplify.DataStore.stop { result in switch result { case .success: print("DataStore stopped") case .failure(let error): print("Error stopping DataStore: \(error)") } } ```