@@ -338,7 +338,7 @@ def parse_sample_input_basic_discovery():
338338 cmdUtils .register_command (
339339 CommandLineUtils .m_cmd_mode , "<mode>" ,
340340 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 )
342342 cmdUtils .register_command (
343343 CommandLineUtils .m_cmd_max_pub_ops , "<int>" ,
344344 "The maximum number of publish operations (optional, default='10')." ,
@@ -350,15 +350,14 @@ def parse_sample_input_basic_discovery():
350350 cmdUtils .get_args ()
351351
352352 cmdData = CommandLineUtils .CmdData ()
353- cmdData .input_endpoint = cmdUtils .get_command_required (CommandLineUtils .m_cmd_endpoint )
354353 cmdData .parse_input_topic (cmdUtils )
355354 cmdData .input_message = cmdUtils .get_command (CommandLineUtils .m_cmd_message , "Hello World! " )
356355 cmdData .input_cert = cmdUtils .get_command_required (CommandLineUtils .m_cmd_cert_file )
357356 cmdData .input_key = cmdUtils .get_command_required (CommandLineUtils .m_cmd_key_file )
358357 cmdData .input_ca = cmdUtils .get_command (CommandLineUtils .m_cmd_ca_file , None )
359358 cmdData .input_thing_name = cmdUtils .get_command_required (CommandLineUtils .m_cmd_thing_name )
360359 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 )
362361 cmdData .input_max_pub_ops = int (cmdUtils .get_command (CommandLineUtils .m_cmd_max_pub_ops , 10 ))
363362 cmdData .input_print_discovery_resp_only = bool (cmdUtils .get_command (CommandLineUtils .m_cmd_print_discovery_resp_only , False ))
364363 cmdData .input_proxy_host = cmdUtils .get_command (CommandLineUtils .m_cmd_proxy_host )
@@ -877,3 +876,4 @@ def parse_sample_input_pkcs12_connect():
877876 m_cmd_shadow_property = "shadow_property"
878877 m_cmd_pkcs12_file = "pkcs12_file"
879878 m_cmd_pkcs12_password = "pkcs12_password"
879+ m_cmd_region = "region"
0 commit comments