@@ -338,7 +338,7 @@ def parse_sample_input_basic_discovery():
338
338
cmdUtils .register_command (
339
339
CommandLineUtils .m_cmd_mode , "<mode>" ,
340
340
f"The operation mode (optional, default='both').\n Modes:{ allowed_actions } " , default = 'both' )
341
- cmdUtils .register_command (CommandLineUtils .m_cmd_signing_region , "<str>" , "The region to connect through." , required = True )
341
+ cmdUtils .register_command (CommandLineUtils .m_cmd_region , "<str>" , "The region to connect through." , required = True )
342
342
cmdUtils .register_command (
343
343
CommandLineUtils .m_cmd_max_pub_ops , "<int>" ,
344
344
"The maximum number of publish operations (optional, default='10')." ,
@@ -350,15 +350,14 @@ def parse_sample_input_basic_discovery():
350
350
cmdUtils .get_args ()
351
351
352
352
cmdData = CommandLineUtils .CmdData ()
353
- cmdData .input_endpoint = cmdUtils .get_command_required (CommandLineUtils .m_cmd_endpoint )
354
353
cmdData .parse_input_topic (cmdUtils )
355
354
cmdData .input_message = cmdUtils .get_command (CommandLineUtils .m_cmd_message , "Hello World! " )
356
355
cmdData .input_cert = cmdUtils .get_command_required (CommandLineUtils .m_cmd_cert_file )
357
356
cmdData .input_key = cmdUtils .get_command_required (CommandLineUtils .m_cmd_key_file )
358
357
cmdData .input_ca = cmdUtils .get_command (CommandLineUtils .m_cmd_ca_file , None )
359
358
cmdData .input_thing_name = cmdUtils .get_command_required (CommandLineUtils .m_cmd_thing_name )
360
359
cmdData .input_mode = cmdUtils .get_command (CommandLineUtils .m_cmd_mode , "both" )
361
- cmdData .input_signing_region = cmdUtils .get_command_required (CommandLineUtils .m_cmd_signing_region )
360
+ cmdData .input_signing_region = cmdUtils .get_command_required (CommandLineUtils .m_cmd_region )
362
361
cmdData .input_max_pub_ops = int (cmdUtils .get_command (CommandLineUtils .m_cmd_max_pub_ops , 10 ))
363
362
cmdData .input_print_discovery_resp_only = bool (cmdUtils .get_command (CommandLineUtils .m_cmd_print_discovery_resp_only , False ))
364
363
cmdData .input_proxy_host = cmdUtils .get_command (CommandLineUtils .m_cmd_proxy_host )
@@ -877,3 +876,4 @@ def parse_sample_input_pkcs12_connect():
877
876
m_cmd_shadow_property = "shadow_property"
878
877
m_cmd_pkcs12_file = "pkcs12_file"
879
878
m_cmd_pkcs12_password = "pkcs12_password"
879
+ m_cmd_region = "region"
0 commit comments