Smaws_Client_CognitoIdentityProvider.CompleteWebAuthnRegistrationCompletes registration of a passkey authenticator for the currently signed-in user.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ForbiddenException of Types.forbidden_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `OperationNotEnabledException of Types.operation_not_enabled_exception
| `PasswordResetRequiredException of Types.password_reset_required_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `WebAuthnChallengeNotFoundException of
Types.web_authn_challenge_not_found_exception
| `WebAuthnClientMismatchException of
Types.web_authn_client_mismatch_exception
| `WebAuthnCredentialNotSupportedException of
Types.web_authn_credential_not_supported_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception
| `WebAuthnOriginNotAllowedException of
Types.web_authn_origin_not_allowed_exception
| `WebAuthnRelyingPartyMismatchException of
Types.web_authn_relying_party_mismatch_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.complete_web_authn_registration_request ->
(Types.complete_web_authn_registration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ForbiddenException of Types.forbidden_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `OperationNotEnabledException of Types.operation_not_enabled_exception
| `PasswordResetRequiredException of
Types.password_reset_required_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `WebAuthnChallengeNotFoundException of
Types.web_authn_challenge_not_found_exception
| `WebAuthnClientMismatchException of
Types.web_authn_client_mismatch_exception
| `WebAuthnCredentialNotSupportedException of
Types.web_authn_credential_not_supported_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception
| `WebAuthnOriginNotAllowedException of
Types.web_authn_origin_not_allowed_exception
| `WebAuthnRelyingPartyMismatchException of
Types.web_authn_relying_party_mismatch_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.complete_web_authn_registration_request ->
(Types.complete_web_authn_registration_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ForbiddenException of Types.forbidden_exception
| `InternalErrorException of Types.internal_error_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotAuthorizedException of Types.not_authorized_exception
| `OperationNotEnabledException of Types.operation_not_enabled_exception
| `PasswordResetRequiredException of
Types.password_reset_required_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `WebAuthnChallengeNotFoundException of
Types.web_authn_challenge_not_found_exception
| `WebAuthnClientMismatchException of
Types.web_authn_client_mismatch_exception
| `WebAuthnCredentialNotSupportedException of
Types.web_authn_credential_not_supported_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception
| `WebAuthnOriginNotAllowedException of
Types.web_authn_origin_not_allowed_exception
| `WebAuthnRelyingPartyMismatchException of
Types.web_authn_relying_party_mismatch_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result