Skip to content

Commit 514ebcc

Browse files
authored
Fix typo. (Port No '433' to '443') (#326)
1 parent 9c2c6d8 commit 514ebcc

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

samples/basic_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
cmdUtils.register_command("cert", "<path>", "Path to your client certificate in PEM format.", True, str)
1717
cmdUtils.register_command("port", "<int>",
1818
"Connection port for direct connection. " +
19-
"AWS IoT supports 433 and 8883 (optional, default=8883).",
19+
"AWS IoT supports 443 and 8883 (optional, default=8883).",
2020
False, int)
2121
cmdUtils.register_command("client_id", "<str>",
2222
"Client ID to use for MQTT connection (optional, default='test-*').",

samples/fleetprovisioning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
cmdUtils.register_command("key", "<path>", "Path to your key in PEM format.", True, str)
3434
cmdUtils.register_command("cert", "<path>", "Path to your client certificate in PEM format.", True, str)
3535
cmdUtils.register_command("client_id", "<str>", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4()))
36-
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int)
36+
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int)
3737
cmdUtils.register_command("csr", "<path>", "Path to CSR in Pem format (optional).")
3838
cmdUtils.register_command("template_name", "<str>", "The name of your provisioning template.")
3939
cmdUtils.register_command("template_parameters", "<json>", "Template parameters json.")

samples/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
cmdUtils.register_command("key", "<path>", "Path to your key in PEM format.", True, str)
4646
cmdUtils.register_command("cert", "<path>", "Path to your client certificate in PEM format.", True, str)
4747
cmdUtils.register_command("client_id", "<str>", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4()))
48-
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int)
48+
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int)
4949
cmdUtils.register_command("thing_name", "<str>", "The name assigned to your IoT Thing", required=True)
5050
cmdUtils.register_command("job_time", "<int>", "Emulate working on a job by sleeping this many seconds (optional, default='5')", default=5, type=int)
5151
# Needs to be called so the command utils parse the commands

samples/pkcs11_connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"Client ID to use for MQTT connection (optional, default='test-*').",
2626
default="test-" + str(uuid4()))
2727
cmdUtils.register_command("port", "<port>",
28-
"Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).",
28+
"Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).",
2929
type=int)
3030
cmdUtils.register_command("pkcs11_lib", "<path>", "Path to PKCS#11 Library", required=True)
3131
cmdUtils.register_command("pin", "<str>", "User PIN for logging into PKCS#11 token.", required=True)

samples/pubsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cmdUtils.add_common_logging_commands()
2424
cmdUtils.register_command("key", "<path>", "Path to your key in PEM format.", True, str)
2525
cmdUtils.register_command("cert", "<path>", "Path to your client certificate in PEM format.", True, str)
26-
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int)
26+
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int)
2727
cmdUtils.register_command("client_id", "<str>", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4()))
2828
cmdUtils.register_command("count", "<int>", "The number of messages to send (optional, default='10').", default=10, type=int)
2929
# Needs to be called so the command utils parse the commands

samples/shadow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
cmdUtils.add_common_logging_commands()
3737
cmdUtils.register_command("key", "<path>", "Path to your key in PEM format.", True, str)
3838
cmdUtils.register_command("cert", "<path>", "Path to your client certificate in PEM format.", True, str)
39-
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 433 and 8883 (optional, default=auto).", type=int)
39+
cmdUtils.register_command("port", "<int>", "Connection port. AWS IoT supports 443 and 8883 (optional, default=auto).", type=int)
4040
cmdUtils.register_command("client_id", "<str>", "Client ID to use for MQTT connection (optional, default='test-*').", default="test-" + str(uuid4()))
4141
cmdUtils.register_command("thing_name", "<str>", "The name assigned to your IoT Thing", required=True)
4242
cmdUtils.register_command("shadow_property", "<str>", "The name of the shadow property you want to change (optional, default='color'", default="color")

0 commit comments

Comments
 (0)