You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add on disconnect callback
* update default client id to be mqtt5-sample-*
* remove unused parameters
* update path for folder strucutres
* fix path for test-test-pypi
For code examples, see the v2 SDK [Fleet Provisioning](https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/fleetprovisioning.md)
1158
+
For code examples, see the v2 SDK [Fleet Provisioning](https://github.com/aws/aws-iot-device-sdk-python-v2/blob/main/samples/service_clients/fleet_provisioning_basic.md)
1159
1159
samples.
1160
1160
1161
1161
1162
1162
### Example
1163
1163
1164
1164
It's always helpful to look at a working example to see how new functionality works, to be able to tweak different options,
1165
1165
to compare with existing code. For that reason, we implemented a
@@ -60,7 +60,7 @@ Replace with the following with the data from your AWS account:
60
60
*`<region>`: The AWS IoT Core region where you created your AWS IoT Core thing you wish to use with this sample. For example `us-east-1`.
61
61
*`<account>`: Your AWS IoT Core account ID. This is the set of numbers in the top right next to your AWS account name when using the AWS IoT Core website.
62
62
63
-
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `test-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
63
+
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `mqtt5-sample-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
64
64
65
65
</details>
66
66
@@ -92,7 +92,7 @@ required arguments:
92
92
--signing_region Signing region for websocket connection (default: None)
93
93
94
94
optional arguments:
95
-
--client_id Client ID (default: mqtt5-sample-809571c8)
95
+
--client_id Client ID (default: mqtt5-sample-<uuid>)
96
96
--topic Topic (default: test/topic)
97
97
--message Message payload (default: Hello from mqtt5 sample)
98
98
--count Messages to publish (0 = infinite) (default: 5)
@@ -62,7 +62,7 @@ Replace with the following with the data from your AWS account:
62
62
*`<region>`: The AWS IoT Core region where you created your AWS IoT Core thing you wish to use with this sample. For example `us-east-1`.
63
63
*`<account>`: Your AWS IoT Core account ID. This is the set of numbers in the top right next to your AWS account name when using the AWS IoT Core website.
64
64
65
-
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `test-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
65
+
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `mqtt5-sample-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
66
66
67
67
</details>
68
68
@@ -121,7 +121,7 @@ required arguments:
121
121
--auth_password The password to send when connecting through a custom authorizer (optional) (default: None)
122
122
123
123
optional arguments:
124
-
--client_id Client ID (default: test-f3168b42)
124
+
--client_id Client ID (default: mqtt5-sample-<uuid>)
125
125
--topic Topic (default: test/topic)
126
126
--message Message payload (default: Hello from mqtt5 sample)
127
127
--count Messages to publish (0 = infinite) (default: 5)
@@ -63,7 +63,7 @@ Replace with the following with the data from your AWS account:
63
63
*`<region>`: The AWS IoT Core region where you created your AWS IoT Core thing you wish to use with this sample. For example `us-east-1`.
64
64
*`<account>`: Your AWS IoT Core account ID. This is the set of numbers in the top right next to your AWS account name when using the AWS IoT Core website.
65
65
66
-
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `test-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
66
+
Note that in a real application, you may want to avoid the use of wildcards in your ClientID or use them selectively. Please follow best practices when working with AWS on production applications using the SDK. Also, for the purposes of this sample, please make sure your policy allows a client ID of `mqtt5-sample-*` to connect or use `--client_id <client ID here>` to send the client ID your policy supports.
67
67
68
68
</details>
69
69
@@ -109,9 +109,8 @@ optional arguments:
109
109
--topic Topic (default: test/topic)
110
110
--message Message payload (default: Hello from mqtt5 sample)
111
111
--count Messages to publish (0 = infinite) (default: 5)
112
-
--proxy_host HTTP proxy host (default: None)
113
-
--proxy_port HTTP proxy port (default: 0)
114
-
--client_id Client ID (default: test-548e4344)
112
+
113
+
--client_id Client ID (default: mqtt5-sample-<uuid>)
0 commit comments