aws_sdk_cognitoidentityprovider/client/complete_web_authn_registration.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CompleteWebAuthnRegistration`](crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`access_token(impl Into<String>)`](crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder::set_access_token):<br>required: **true**<br><p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for <code>aws.cognito.signin.user.admin</code>.</p><br>
7 /// - [`credential(Document)`](crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder::credential) / [`set_credential(Option<Document>)`](crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder::set_credential):<br>required: **true**<br><p>A <a href="https://www.w3.org/TR/WebAuthn-3/#dictdef-registrationresponsejson">RegistrationResponseJSON</a> public-key credential response from the user's passkey provider.</p><br>
8 /// - On success, responds with [`CompleteWebAuthnRegistrationOutput`](crate::operation::complete_web_authn_registration::CompleteWebAuthnRegistrationOutput)
9 /// - On failure, responds with [`SdkError<CompleteWebAuthnRegistrationError>`](crate::operation::complete_web_authn_registration::CompleteWebAuthnRegistrationError)
10 pub fn complete_web_authn_registration(
11 &self,
12 ) -> crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder {
13 crate::operation::complete_web_authn_registration::builders::CompleteWebAuthnRegistrationFluentBuilder::new(self.handle.clone())
14 }
15}