Skip to content

Commit e377f67

Browse files
RoRoJjcirinosclwy
andauthored
Apply suggestions from code review
Co-authored-by: Jessica <[email protected]>
1 parent ed0b282 commit e377f67

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pages/topics-and-events/api-cli/python-node-topics-events.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func main() {
6363

6464
Once connected, you can use any of the SDK's available functions. Be aware though that some functions are not [supported by Scaleway Topics and Events](/topics-and-events/reference-content/sns-support/), so make sure to check the link for more details on these. See the [official SDK documentation](https://pkg.go.dev/github.com/aws/aws-sdk-go/service/sns) for more information on getting started with the SDK, or keep reading for some code examples.
6565

66-
### Create topic (Go)
66+
### Create a topic (Go)
6767

6868
```go
6969
createTopicResponse, _ := awsSNS.CreateTopic(&sns.CreateTopicInput{
@@ -74,7 +74,7 @@ fmt.Println(*createTopicResponse.TopicArn)
7474

7575
### Publish messages to this topic (Go)
7676

77-
Be careful: messages sent to topics with no subscriptions are automatically deleted
77+
Be careful: messages sent to topics with no subscriptions are automatically deleted.
7878

7979
```go
8080
for i := 0; i < 10; i++ {
@@ -162,9 +162,9 @@ sns = boto3.resource('sns',
162162
The `endpoint_url` for Scaleway Topics and Events (based on SNS) is `https://sns.mnq.fr-par.scaleway.com`. The values for the access and secret keys should be the credentials you [generated](/topics-and-events/how-to/create-credentials/) for Topics and Events.
163163
</Message>
164164
165-
Once connected to, you can use any of the SDK's available functions. However, some functions are not [supported by Scaleway Topics and Events](/topics-and-events/reference-content/sns-support/), so do check the link to make sure. See the [official SDK documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) for more information, or keep reading for some code examples.
165+
Once connected, you can use any of the SDK's available functions. However, some functions are not [supported by Scaleway Topics and Events](/topics-and-events/reference-content/sns-support/), so do check the link to make sure. See the [official SDK documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) for more information, or keep reading for some code examples.
166166

167-
### Create topic (Python)
167+
### Create a topic (Python)
168168

169169
```python
170170
# Create a topic. This returns an SNS.Topic instance
@@ -175,7 +175,7 @@ print(topic.attributes)
175175

176176
### Publish messages to this topic (Python)
177177

178-
Be careful: messages sent to topics with no subscriptions are automatically deleted
178+
Be careful: messages sent to topics with no subscriptions are automatically deleted.
179179

180180
```python
181181
for i in range (0,10):
@@ -281,7 +281,7 @@ var snsClient = new SNSClient({
281281

282282
Once connected, you can use any of the SDK's available functions. However, some functions are not [supported by Scaleway Topics and Events](/topics-and-events/reference-content/sns-support), so do check the link to make sure. See the [official SDK documentation](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sns/) for more information, or keep reading for some code examples.
283283
284-
### Create topic (NodeJS)
284+
### Create a topic (NodeJS)
285285
286286
You can find all available parameters for `createTopic` in the [AWS documentation](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sns/classes/createtopiccommand.html).
287287

0 commit comments

Comments
 (0)