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'
)
[REQUIRED]
The authorizer name.
{
'authorizerName': 'string',
'authorizerArn': 'string'
}
Response Structure
The authorizer name.
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