#[non_exhaustive]pub struct UpdateDirectoryConfigInput { /* private fields */ }
Implementations§
source§impl UpdateDirectoryConfigInput
impl UpdateDirectoryConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDirectoryConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDirectoryConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDirectoryConfig
>
Examples found in repository?
src/client.rs (line 7581)
7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDirectoryConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDirectoryConfigError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateDirectoryConfigOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDirectoryConfigError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateDirectoryConfigInput
.
source§impl UpdateDirectoryConfigInput
impl UpdateDirectoryConfigInput
sourcepub fn directory_name(&self) -> Option<&str>
pub fn directory_name(&self) -> Option<&str>
The name of the Directory Config object.
sourcepub fn organizational_unit_distinguished_names(&self) -> Option<&[String]>
pub fn organizational_unit_distinguished_names(&self) -> Option<&[String]>
The distinguished names of the organizational units for computer accounts.
sourcepub fn service_account_credentials(&self) -> Option<&ServiceAccountCredentials>
pub fn service_account_credentials(&self) -> Option<&ServiceAccountCredentials>
The credentials for the service account used by the fleet or image builder to connect to the directory.
Trait Implementations§
source§impl Clone for UpdateDirectoryConfigInput
impl Clone for UpdateDirectoryConfigInput
source§fn clone(&self) -> UpdateDirectoryConfigInput
fn clone(&self) -> UpdateDirectoryConfigInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more