Struct aws_sdk_directory::operation::enable_client_authentication::builders::EnableClientAuthenticationFluentBuilder
source · pub struct EnableClientAuthenticationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to EnableClientAuthentication
.
Enables alternative client authentication methods for the specified directory.
Implementations§
source§impl EnableClientAuthenticationFluentBuilder
impl EnableClientAuthenticationFluentBuilder
sourcepub fn as_input(&self) -> &EnableClientAuthenticationInputBuilder
pub fn as_input(&self) -> &EnableClientAuthenticationInputBuilder
Access the EnableClientAuthentication as a reference.
sourcepub async fn send(
self
) -> Result<EnableClientAuthenticationOutput, SdkError<EnableClientAuthenticationError, HttpResponse>>
pub async fn send( self ) -> Result<EnableClientAuthenticationOutput, SdkError<EnableClientAuthenticationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<EnableClientAuthenticationOutput, EnableClientAuthenticationError>, SdkError<EnableClientAuthenticationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<EnableClientAuthenticationOutput, EnableClientAuthenticationError>, SdkError<EnableClientAuthenticationError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the specified directory.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier of the specified directory.
sourcepub fn get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The identifier of the specified directory.
sourcepub fn type(self, input: ClientAuthenticationType) -> Self
pub fn type(self, input: ClientAuthenticationType) -> Self
The type of client authentication to enable. Currently only the value SmartCard
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.
sourcepub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
pub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
The type of client authentication to enable. Currently only the value SmartCard
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.
sourcepub fn get_type(&self) -> &Option<ClientAuthenticationType>
pub fn get_type(&self) -> &Option<ClientAuthenticationType>
The type of client authentication to enable. Currently only the value SmartCard
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.
Trait Implementations§
source§impl Clone for EnableClientAuthenticationFluentBuilder
impl Clone for EnableClientAuthenticationFluentBuilder
source§fn clone(&self) -> EnableClientAuthenticationFluentBuilder
fn clone(&self) -> EnableClientAuthenticationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more