Skip to content

Commit 0538e62

Browse files
Adjusted samples README based on feedback and fixes for policy markdown rendering
1 parent 94aa948 commit 0538e62

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

samples/README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ and receive.
5656
{
5757
"Version": "2012-10-17",
5858
"Statement": [
59-
6059
{
6160
"Effect": "Allow",
6261
"Action": [
@@ -85,7 +84,6 @@ and receive.
8584
"arn:aws:iot:<b>region</b>:<b>account</b>:client/test-*"
8685
]
8786
}
88-
8987
]
9088
}
9189
</pre>
@@ -94,7 +92,7 @@ and receive.
9492
To run the basic MQTT Pub-Sub use the following command:
9593

9694
``` sh
97-
./basic-pub-sub --endpoint <endpoint> --ca_file <path to root CA1>
95+
./basic-pub-sub --endpoint <endpoint> --ca_file <path to root CA>
9896
--cert <path to the certificate> --key <path to the private key>
9997
--topic <topic name>
10098
```
@@ -107,7 +105,7 @@ To run this sample using websockets, see below:
107105
To run using Websockets, use the following command:
108106

109107
``` sh
110-
./basic-pub-sub --endpoint <endpoint> --topic <topic name> --ca_file <path to root CA1>
108+
./basic-pub-sub --endpoint <endpoint> --topic <topic name> --ca_file <path to root CA>
111109
--use_websocket --signing_region <signing_region>
112110
```
113111

@@ -166,7 +164,7 @@ To run this sample using [SoftHSM2](https://www.opendnssec.org/softhsm/) as the
166164
167165
5) Now you can run the sample:
168166
```sh
169-
./pkcs11-pub-sub --endpoint <xxxx-ats.iot.xxxx.amazonaws.com> --ca_file <AmazonRootCA1.pem> --cert <certificate.pem.crt> --pkcs11_lib <libsofthsm2.so> --pin <user-pin> --token_label <token-label> --key_label <key-label>
167+
./pkcs11-pub-sub --endpoint <xxxx-ats.iot.xxxx.amazonaws.com> --ca_file <AmazonRootCA.pem> --cert <certificate.pem.crt> --pkcs11_lib <libsofthsm2.so> --pin <user-pin> --token_label <token-label> --key_label <key-label>
170168
```
171169
172170
@@ -181,7 +179,7 @@ source: `samples/mqtt/raw_pub_sub/main.cpp`
181179
To run the Raw MQTT Pub-Sub sample use the following command:
182180
183181
``` sh
184-
./raw-pub-sub --endpoint <endpoint> --ca_file <path to root CA1>
182+
./raw-pub-sub --endpoint <endpoint> --ca_file <path to root CA>
185183
--cert <path to the certificate> --key <path to the private key>
186184
--topic <topic name> --user_name <user name to send on connect> --password <password to send on connect>
187185
```
@@ -221,7 +219,6 @@ and receive.
221219
{
222220
"Version": "2012-10-17",
223221
"Statement": [
224-
225222
{
226223
"Effect": "Allow",
227224
"Action": [
@@ -263,7 +260,6 @@ and receive.
263260
"Action": "iot:Connect",
264261
"Resource": "arn:aws:iot:<b>region</b>:<b>account</b>:client/test-*"
265262
}
266-
267263
]
268264
}
269265
</pre>
@@ -272,7 +268,7 @@ and receive.
272268
To run the Shadow sample use the following command:
273269
274270
``` sh
275-
./shadow-sync --endpoint <endpoint> --ca_file <path to root CA1>
271+
./shadow-sync --endpoint <endpoint> --ca_file <path to root CA>
276272
--cert <path to the certificate> --key <path to the private key>
277273
--thing_name <thing name> --shadow_property <shadow property name>
278274
```
@@ -357,7 +353,7 @@ See the [Basic job policy example](https://docs.aws.amazon.com/iot/latest/develo
357353
To run the job sample use the following command:
358354

359355
``` sh
360-
./describe-job-execution --endpoint <endpoint> --ca_file <path to root CA1>
356+
./describe-job-execution --endpoint <endpoint> --ca_file <path to root CA>
361357
--cert <path to the certificate> --key <path to the private key>
362358
--thing_name <thing name> --job_id <the job id>
363359
```

0 commit comments

Comments
 (0)