Skip to content

Commit 618e718

Browse files
committed
fix positional argument
1 parent 21d52a1 commit 618e718

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

awsiot/mqtt_connection_builder.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _builder(
261261
def mtls_from_path(
262262
cert_filepath,
263263
pri_key_filepath,
264-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
264+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
265265
**kwargs) -> awscrt.mqtt.Connection:
266266
"""
267267
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an mTLS MQTT connection to AWS IoT.
@@ -284,7 +284,7 @@ def mtls_from_path(
284284
def mtls_from_bytes(
285285
cert_bytes,
286286
pri_key_bytes,
287-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
287+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
288288
**kwargs) -> awscrt.mqtt.Connection:
289289
"""
290290
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an mTLS MQTT connection to AWS IoT.
@@ -312,7 +312,7 @@ def mtls_with_pkcs11(*,
312312
private_key_label: str = None,
313313
cert_filepath: str = None,
314314
cert_bytes=None,
315-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
315+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
316316
**kwargs) -> awscrt.mqtt.Connection:
317317
"""
318318
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an mTLS MQTT connection to AWS IoT,
@@ -366,7 +366,7 @@ def mtls_with_pkcs11(*,
366366
def mtls_with_pkcs12(*,
367367
pkcs12_filepath: str,
368368
pkcs12_password: str,
369-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
369+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
370370
**kwargs) -> awscrt.mqtt.Connection:
371371
"""
372372
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an mTLS MQTT connection to AWS IoT,
@@ -393,7 +393,7 @@ def mtls_with_pkcs12(*,
393393

394394
def mtls_with_windows_cert_store_path(*,
395395
cert_store_path: str,
396-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
396+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
397397
**kwargs) -> awscrt.mqtt.Connection:
398398
"""
399399
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an mTLS MQTT connection to AWS IoT,
@@ -421,7 +421,7 @@ def websockets_with_default_aws_signing(
421421
region,
422422
credentials_provider,
423423
websocket_proxy_options=None,
424-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
424+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
425425
**kwargs) -> awscrt.mqtt.Connection:
426426
"""
427427
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an MQTT connection over websockets to AWS IoT.
@@ -469,7 +469,7 @@ def _sign_websocket_handshake_request(transform_args, **kwargs):
469469
def websockets_with_custom_handshake(
470470
websocket_handshake_transform,
471471
websocket_proxy_options=None,
472-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
472+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
473473
**kwargs) -> awscrt.mqtt.Connection:
474474
"""
475475
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an MQTT connection over websockets,
@@ -529,7 +529,7 @@ def direct_with_custom_authorizer(
529529
auth_password=None,
530530
auth_token_key_name=None,
531531
auth_token_value=None,
532-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
532+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
533533
**kwargs) -> awscrt.mqtt.Connection:
534534
"""
535535
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an MQTT connection using a custom
@@ -575,7 +575,7 @@ def direct_with_custom_authorizer(
575575
auth_token_key_name=auth_token_key_name,
576576
auth_token_value=auth_token_value,
577577
use_websockets=False,
578-
cipher_suite: awscrt.io.TlsCipherPref=awscrt.io.TlsCipherPref.DEFAULT,
578+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
579579
**kwargs)
580580

581581

@@ -588,7 +588,7 @@ def websockets_with_custom_authorizer(
588588
auth_password=None,
589589
auth_token_key_name=None,
590590
auth_token_value=None,
591-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
591+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
592592
**kwargs) -> awscrt.mqtt.Connection:
593593
"""
594594
This builder creates an :class:`awscrt.mqtt.Connection`, configured for an MQTT connection using a custom
@@ -640,7 +640,7 @@ def websockets_with_custom_authorizer(
640640
use_websockets=True,
641641
websockets_region=region,
642642
websockets_credentials_provider=credentials_provider,
643-
cipher_suite: awscrt.io.TlsCipherPref=awscrt.io.TlsCipherPref.DEFAULT,
643+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
644644
**kwargs)
645645

646646

@@ -653,7 +653,7 @@ def _with_custom_authorizer(auth_username=None,
653653
use_websockets=False,
654654
websockets_credentials_provider=None,
655655
websockets_region=None,
656-
cipher_suite: awscrt.io.TlsCipherPref = awscrt.io.TlsCipherPref.DEFAULT,
656+
cipher_suite=awscrt.io.TlsCipherPref.DEFAULT,
657657
**kwargs) -> awscrt.mqtt.Connection:
658658
"""
659659
Helper function that contains the setup needed for custom authorizers

0 commit comments

Comments
 (0)