@@ -56,7 +56,6 @@ and receive.
56
56
{
57
57
"Version": "2012-10-17",
58
58
"Statement": [
59
-
60
59
{
61
60
"Effect": "Allow",
62
61
"Action": [
@@ -85,7 +84,6 @@ and receive.
85
84
"arn:aws:iot:<b >region</b >:<b >account</b >:client/test-*"
86
85
]
87
86
}
88
-
89
87
]
90
88
}
91
89
</pre >
@@ -94,7 +92,7 @@ and receive.
94
92
To run the basic MQTT Pub-Sub use the following command:
95
93
96
94
``` sh
97
- ./basic-pub-sub --endpoint < endpoint> --ca_file < path to root CA 1 >
95
+ ./basic-pub-sub --endpoint < endpoint> --ca_file < path to root CA >
98
96
--cert < path to the certificate> --key < path to the private key>
99
97
--topic < topic name>
100
98
```
@@ -107,7 +105,7 @@ To run this sample using websockets, see below:
107
105
To run using Websockets, use the following command:
108
106
109
107
``` sh
110
- ./basic-pub-sub --endpoint < endpoint> --topic < topic name> --ca_file < path to root CA 1 >
108
+ ./basic-pub-sub --endpoint < endpoint> --topic < topic name> --ca_file < path to root CA >
111
109
--use_websocket --signing_region < signing_region>
112
110
```
113
111
@@ -166,7 +164,7 @@ To run this sample using [SoftHSM2](https://www.opendnssec.org/softhsm/) as the
166
164
167
165
5) Now you can run the sample:
168
166
```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>
170
168
```
171
169
172
170
@@ -181,7 +179,7 @@ source: `samples/mqtt/raw_pub_sub/main.cpp`
181
179
To run the Raw MQTT Pub-Sub sample use the following command:
182
180
183
181
``` 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 >
185
183
--cert <path to the certificate> --key <path to the private key>
186
184
--topic <topic name> --user_name <user name to send on connect> --password <password to send on connect>
187
185
```
@@ -221,7 +219,6 @@ and receive.
221
219
{
222
220
"Version": "2012-10-17",
223
221
"Statement": [
224
-
225
222
{
226
223
"Effect": "Allow",
227
224
"Action": [
@@ -263,7 +260,6 @@ and receive.
263
260
"Action": "iot:Connect",
264
261
"Resource": "arn:aws:iot:<b>region</b>:<b>account</b>:client/test-*"
265
262
}
266
-
267
263
]
268
264
}
269
265
</pre>
@@ -272,7 +268,7 @@ and receive.
272
268
To run the Shadow sample use the following command:
273
269
274
270
``` sh
275
- ./shadow-sync --endpoint <endpoint> --ca_file <path to root CA1 >
271
+ ./shadow-sync --endpoint <endpoint> --ca_file <path to root CA >
276
272
--cert <path to the certificate> --key <path to the private key>
277
273
--thing_name <thing name> --shadow_property <shadow property name>
278
274
```
@@ -357,7 +353,7 @@ See the [Basic job policy example](https://docs.aws.amazon.com/iot/latest/develo
357
353
To run the job sample use the following command:
358
354
359
355
` ` ` sh
360
- ./describe-job-execution --endpoint < endpoint> --ca_file < path to root CA 1 >
356
+ ./describe-job-execution --endpoint < endpoint> --ca_file < path to root CA >
361
357
--cert < path to the certificate> --key < path to the private key>
362
358
--thing_name < thing name> --job_id < the job id>
363
359
` ` `
0 commit comments