Struct aws_sdk_workmail::client::fluent_builders::CreateOrganization [−][src]
pub struct CreateOrganization<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateOrganization
.
Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.
Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
Implementations
impl<C, M, R> CreateOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateOrganization<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateOrganizationOutput, SdkError<CreateOrganizationError>> where
R::Policy: SmithyRetryPolicy<CreateOrganizationInputOperationOutputAlias, CreateOrganizationOutput, CreateOrganizationError, CreateOrganizationInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateOrganizationOutput, SdkError<CreateOrganizationError>> where
R::Policy: SmithyRetryPolicy<CreateOrganizationInputOperationOutputAlias, CreateOrganizationOutput, CreateOrganizationError, CreateOrganizationInputOperationRetryAlias>,
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 AWS Directory Service directory ID.
The AWS Directory Service directory ID.
The idempotency token associated with the request.
The idempotency token associated with the request.
Appends an item to Domains
.
To override the contents of this collection use set_domains
.
The email domains to associate with the organization.
The email domains to associate with the organization.
The Amazon Resource Name (ARN) of a customer managed master key from AWS KMS.
The Amazon Resource Name (ARN) of a customer managed master key from AWS KMS.
When true
, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true
if an AD Connector directory ID is included in the request.
When true
, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true
if an AD Connector directory ID is included in the request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateOrganization<C, M, R>
impl<C, M, R> Send for CreateOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateOrganization<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateOrganization<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateOrganization<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