Struct aws_sdk_directory::client::fluent_builders::CreateTrust [−][src]
pub struct CreateTrust<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateTrust.
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
Implementations
impl<C, M, R> CreateTrust<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateTrust<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CreateTrustOutput, SdkError<CreateTrustError>> where
R::Policy: SmithyRetryPolicy<CreateTrustInputOperationOutputAlias, CreateTrustOutput, CreateTrustError, CreateTrustInputOperationRetryAlias>,
pub async fn send(self) -> Result<CreateTrustOutput, SdkError<CreateTrustError>> where
R::Policy: SmithyRetryPolicy<CreateTrustInputOperationOutputAlias, CreateTrustOutput, CreateTrustError, CreateTrustInputOperationRetryAlias>,
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 Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
The direction of the trust relationship.
The direction of the trust relationship.
The trust relationship type. Forest is the default.
The trust relationship type. Forest is the default.
Appends an item to ConditionalForwarderIpAddrs.
To override the contents of this collection use set_conditional_forwarder_ip_addrs.
The IP addresses of the remote DNS server associated with RemoteDomainName.
The IP addresses of the remote DNS server associated with RemoteDomainName.
Optional parameter to enable selective authentication for the trust.
Optional parameter to enable selective authentication for the trust.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateTrust<C, M, R>
impl<C, M, R> Unpin for CreateTrust<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateTrust<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