pub struct UpdateDirectoryConfig<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateDirectoryConfig.
Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Implementations
impl<C, M, R> UpdateDirectoryConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateDirectoryConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateDirectoryConfigOutput, SdkError<UpdateDirectoryConfigError>> where
R::Policy: SmithyRetryPolicy<UpdateDirectoryConfigInputOperationOutputAlias, UpdateDirectoryConfigOutput, UpdateDirectoryConfigError, UpdateDirectoryConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateDirectoryConfigOutput, SdkError<UpdateDirectoryConfigError>> where
R::Policy: SmithyRetryPolicy<UpdateDirectoryConfigInputOperationOutputAlias, UpdateDirectoryConfigOutput, UpdateDirectoryConfigError, UpdateDirectoryConfigInputOperationRetryAlias>,
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.
The name of the Directory Config object.
The name of the Directory Config object.
Appends an item to OrganizationalUnitDistinguishedNames.
To override the contents of this collection use set_organizational_unit_distinguished_names.
The distinguished names of the organizational units for computer accounts.
The distinguished names of the organizational units for computer accounts.
The credentials for the service account used by the fleet or image builder to connect to the directory.
pub fn set_service_account_credentials(
self,
input: Option<ServiceAccountCredentials>
) -> Self
pub fn set_service_account_credentials(
self,
input: Option<ServiceAccountCredentials>
) -> Self
The credentials for the service account used by the fleet or image builder to connect to the directory.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateDirectoryConfig<C, M, R>
impl<C, M, R> Send for UpdateDirectoryConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateDirectoryConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateDirectoryConfig<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateDirectoryConfig<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more