```dart
Future<void> savePost() async {
  final newPost = Post(
    title: 'New Post being saved',
    rating: 15,
    status: PostStatus.INACTIVE,
  );
  await Amplify.DataStore.save(newPost);
}
```
