Struct aws_sdk_directory::client::fluent_builders::ConnectDirectory [−][src]
pub struct ConnectDirectory<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ConnectDirectory.
Creates an AD Connector to connect to a self-managed directory.
Before you call ConnectDirectory, ensure that all of the required permissions
have been explicitly granted through a policy. For details about what permissions are required
to run the ConnectDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions
Reference.
Implementations
impl<C, M, R> ConnectDirectory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ConnectDirectory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ConnectDirectoryOutput, SdkError<ConnectDirectoryError>> where
R::Policy: SmithyRetryPolicy<ConnectDirectoryInputOperationOutputAlias, ConnectDirectoryOutput, ConnectDirectoryError, ConnectDirectoryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ConnectDirectoryOutput, SdkError<ConnectDirectoryError>> where
R::Policy: SmithyRetryPolicy<ConnectDirectoryInputOperationOutputAlias, ConnectDirectoryOutput, ConnectDirectoryError, ConnectDirectoryInputOperationRetryAlias>,
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 your self-managed directory, such as
corp.example.com.
The fully qualified name of your self-managed directory, such as
corp.example.com.
The NetBIOS name of your self-managed directory, such as CORP.
The NetBIOS name of your self-managed directory, such as CORP.
The password for your self-managed user account.
The password for your self-managed user account.
A description for the directory.
A description for the directory.
The size of the directory.
The size of the directory.
A DirectoryConnectSettings object that contains additional information for the operation.
A DirectoryConnectSettings object that contains additional information for the operation.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tags to be assigned to AD Connector.
The tags to be assigned to AD Connector.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ConnectDirectory<C, M, R>
impl<C, M, R> Send for ConnectDirectory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ConnectDirectory<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ConnectDirectory<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ConnectDirectory<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