aws_sdk_directory/client/enable_client_authentication.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 [`EnableClientAuthentication`](crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`directory_id(impl Into<String>)`](crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder::set_directory_id):<br>required: **true**<br><p>The identifier of the specified directory.</p><br>
7 /// - [`r#type(ClientAuthenticationType)`](crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder::type) / [`set_type(Option<ClientAuthenticationType>)`](crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder::set_type):<br>required: **true**<br><p>The type of client authentication to enable. Currently only the value <code>SmartCard</code> is supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.</p><br>
8 /// - On success, responds with [`EnableClientAuthenticationOutput`](crate::operation::enable_client_authentication::EnableClientAuthenticationOutput)
9 /// - On failure, responds with [`SdkError<EnableClientAuthenticationError>`](crate::operation::enable_client_authentication::EnableClientAuthenticationError)
10 pub fn enable_client_authentication(&self) -> crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder {
11 crate::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder::new(self.handle.clone())
12 }
13}