put_application_authentication_method
¶
put_application_authentication_method(
application_arn: ApplicationArn,
authentication_method_type: AuthenticationMethodType,
authentication_method: AuthenticationMethod,
*,
config_overrides: Optional[SSOAdminClientConfig] = None,
) -> None
Adds or updates an authentication method for an application.
Parameters:
-
application_arn(ApplicationArn) –Specifies the ARN of the application with the authentication method to add or update.
-
authentication_method_type(AuthenticationMethodType) –Specifies the type of the authentication method that you want to add or update.
-
authentication_method(AuthenticationMethod) –Specifies a structure that describes the authentication method to add or update. The structure type you provide is determined by the
AuthenticationMethodTypeparameter.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.