IoT / Client / set_default_authorizer
set_default_authorizer¶
- IoT.Client.set_default_authorizer(**kwargs)¶
 Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
See also: AWS API Documentation
Request Syntax
response = client.set_default_authorizer( authorizerName='string' )
- Parameters:
 authorizerName (string) –
[REQUIRED]
The authorizer name.
- Return type:
 dict
- Returns:
 Response Syntax
{ 'authorizerName': 'string', 'authorizerArn': 'string' }
Response Structure
(dict) –
authorizerName (string) –
The authorizer name.
authorizerArn (string) –
The authorizer ARN.
Exceptions
IoT.Client.exceptions.ResourceNotFoundExceptionIoT.Client.exceptions.InvalidRequestExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.UnauthorizedExceptionIoT.Client.exceptions.ServiceUnavailableExceptionIoT.Client.exceptions.InternalFailureExceptionIoT.Client.exceptions.ResourceAlreadyExistsException