Smaws_Client_CognitoIdentityProvider.StartWebAuthnRegistrationRequests credential creation options from your user pool for the currently signed-in user. Returns information about the user pool, the user profile, and authentication requirements. Users must provide this information in their request to enroll your application with their passkey provider.
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
| `WebAuthnConfigurationMissingException of
Types.web_authn_configuration_missing_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_web_authn_registration_request ->
(Types.start_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
| `WebAuthnConfigurationMissingException of
Types.web_authn_configuration_missing_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_web_authn_registration_request ->
(Types.start_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
| `WebAuthnConfigurationMissingException of
Types.web_authn_configuration_missing_exception
| `WebAuthnNotEnabledException of Types.web_authn_not_enabled_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result