pub struct DisableClientAuthentication { /* private fields */ }Expand description
Fluent builder constructing a request to DisableClientAuthentication.
Disables alternative client authentication methods for the specified directory.
Implementations
sourceimpl DisableClientAuthentication
impl DisableClientAuthentication
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisableClientAuthentication, AwsResponseRetryClassifier>, SdkError<DisableClientAuthenticationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisableClientAuthentication, AwsResponseRetryClassifier>, SdkError<DisableClientAuthenticationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DisableClientAuthenticationOutput, SdkError<DisableClientAuthenticationError>>
pub async fn send(
self
) -> Result<DisableClientAuthenticationOutput, SdkError<DisableClientAuthenticationError>>
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 fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the 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 directory
sourcepub fn type(self, input: ClientAuthenticationType) -> Self
pub fn type(self, input: ClientAuthenticationType) -> Self
The type of client authentication to disable. Currently, only the parameter, SmartCard is supported.
sourcepub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
pub fn set_type(self, input: Option<ClientAuthenticationType>) -> Self
The type of client authentication to disable. Currently, only the parameter, SmartCard is supported.
Trait Implementations
sourceimpl Clone for DisableClientAuthentication
impl Clone for DisableClientAuthentication
sourcefn clone(&self) -> DisableClientAuthentication
fn clone(&self) -> DisableClientAuthentication
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more