pub struct CreateDirectoryConfig<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDirectoryConfig.
Creates a 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> CreateDirectoryConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDirectoryConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDirectoryConfigOutput, SdkError<CreateDirectoryConfigError>> where
R::Policy: SmithyRetryPolicy<CreateDirectoryConfigInputOperationOutputAlias, CreateDirectoryConfigOutput, CreateDirectoryConfigError, CreateDirectoryConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDirectoryConfigOutput, SdkError<CreateDirectoryConfigError>> where
R::Policy: SmithyRetryPolicy<CreateDirectoryConfigInputOperationOutputAlias, CreateDirectoryConfigOutput, CreateDirectoryConfigError, CreateDirectoryConfigInputOperationRetryAlias>,
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 fully qualified name of the directory (for example, corp.example.com).
The fully qualified name of the directory (for example, corp.example.com).
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 CreateDirectoryConfig<C, M, R>
impl<C, M, R> Send for CreateDirectoryConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDirectoryConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDirectoryConfig<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDirectoryConfig<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