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.ResourceNotFoundException
- IoT.Client.exceptions.InvalidRequestException
- IoT.Client.exceptions.ThrottlingException
- IoT.Client.exceptions.UnauthorizedException
- IoT.Client.exceptions.ServiceUnavailableException
- IoT.Client.exceptions.InternalFailureException
- IoT.Client.exceptions.ResourceAlreadyExistsException