### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Im using AWS SDK v3
We use the `GetTopicAttributesCommand` to validate topic existence (there is not other way to do it), then we check the error code and error message.

When trying to get attributes of a topic by ARN with lockstack, it returns error with different error message than AWS:

```ts
{
    Code: 'NotFound',
    Message: 'Topic with arn <MY ARN> not found',
    message: 'Topic with arn <MY ARN> not found'
  }
```

The original AWS error

```ts
{
  Type: "Sender",
  Code: "NotFound",
  Message: "Topic does not exist",
  message: "Topic does not exist"
}
```

### Expected Behavior

Lockstack should return exact same error structure as AWS cloud


```ts
{
  Type: "Sender",
  Code: "NotFound",
  Message: "Topic does not exist",
  message: "Topic does not exist"
}
```

### How are you starting LocalStack?

With the `localstack` script

### Steps To Reproduce

```ts
  const client = new SNSClient({ })
  try {
    await client.send(new GetTopicAttributesCommand({ TopicArn: '<ARN TO TEST>' }))
  } catch (err) {
    console.log(err)
  }
  ```
  
  Run this both with AWS and lockstack and u will see the diff


### Environment

```markdown
- OS: osX
- LocalStack:latest
```


### Anything else?

_No response_
)
        store = self.get_store(account_id=context.account_id, region=context.region)
        if topic_arn not in store.topic_subscriptions:
            raise NotFoundException(
                "Topic does not exist",
            )
        ids = [entry["Id"] for entry in publish_batch_request_entries]
        if len(set(ids)) != len(publish_batch_request_entries):
            raise BatchEntryIdsNotDistinctException(
                "Two or more batch entries in the request have the same Id."
            )
        if ".fifo" in topic_arn:
            if not all(["MessageGroupId" in entry for entry in publish_batch_request_entries]):
                raise InvalidParameterException(
                    "Invalid parameter: The MessageGroupId parameter is required for FIFO topics"
                )
            moto_sns_backend = self._get_moto_backend(context)
            if moto_sns_backend.get_topic(arn=topic_arn).content_based_deduplication == "false":
                if not all(
                    ["MessageDeduplicationId" in entry for entry in publish_batch_request_entries]
                ):
                    raise InvalidParameterException(
                        "Invalid parameter: The topic should either have ContentBasedDeduplication enabled or MessageDeduplicationId provided explicitly",
                    )
        
        response: PublishBatchResponse = {"Successful": [], "Failed": []}
        for entry in publish_batch_request_entries:
            message_attributes = entry.get("MessageAttributes", {})
            if message_attributes: