update_authorizer
¶
update_authorizer(
authorizer_name: AuthorizerName,
*,
config_overrides: Optional[IoTClientConfig] = None,
authorizer_function_arn: Optional[AuthorizerFunctionArn] = None,
token_key_name: Optional[TokenKeyName] = None,
token_signing_public_keys: Optional[PublicKeyMap] = None,
status: Optional[AuthorizerStatus] = None,
enable_caching_for_http: Optional[EnableCachingForHttp] = None,
) -> UpdateAuthorizerResponse
Updates an authorizer.
Requires permission to access the UpdateAuthorizer action.
Parameters:
-
authorizer_name(AuthorizerName) –The authorizer name.
-
authorizer_function_arn(Optional[AuthorizerFunctionArn], default:None) –The ARN of the authorizer's Lambda function.
-
token_key_name(Optional[TokenKeyName], default:None) –The key used to extract the token from the HTTP headers.
-
token_signing_public_keys(Optional[PublicKeyMap], default:None) –The public keys used to verify the token signature.
-
status(Optional[AuthorizerStatus], default:None) –The status of the update authorizer request.
-
enable_caching_for_http(Optional[EnableCachingForHttp], default:None) –When
true, the result from the authorizer’s Lambda function is cached for the time specified inrefreshAfterInSeconds. The cached result is used while the device reuses the same HTTP connection.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–A limit has been exceeded.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 | |