#[non_exhaustive]pub struct CreateOrganizationInput {
pub directory_id: Option<String>,
pub alias: Option<String>,
pub client_token: Option<String>,
pub domains: Option<Vec<Domain>>,
pub kms_key_arn: Option<String>,
pub enable_interoperability: bool,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.directory_id: Option<String>
The AWS Directory Service directory ID.
alias: Option<String>
The organization alias.
client_token: Option<String>
The idempotency token associated with the request.
domains: Option<Vec<Domain>>
The email domains to associate with the organization.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
enable_interoperability: bool
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If true
, you must include a AD Connector directory ID in the request.
Implementations§
source§impl CreateOrganizationInput
impl CreateOrganizationInput
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The AWS Directory Service directory ID.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The idempotency token associated with the request.
sourcepub fn domains(&self) -> Option<&[Domain]>
pub fn domains(&self) -> Option<&[Domain]>
The email domains to associate with the organization.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
sourcepub fn enable_interoperability(&self) -> bool
pub fn enable_interoperability(&self) -> bool
When true
, allows organization interoperability between WorkMail and Microsoft Exchange. If true
, you must include a AD Connector directory ID in the request.
source§impl CreateOrganizationInput
impl CreateOrganizationInput
sourcepub fn builder() -> CreateOrganizationInputBuilder
pub fn builder() -> CreateOrganizationInputBuilder
Creates a new builder-style object to manufacture CreateOrganizationInput
.
Trait Implementations§
source§impl Clone for CreateOrganizationInput
impl Clone for CreateOrganizationInput
source§fn clone(&self) -> CreateOrganizationInput
fn clone(&self) -> CreateOrganizationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateOrganizationInput
impl Debug for CreateOrganizationInput
source§impl PartialEq<CreateOrganizationInput> for CreateOrganizationInput
impl PartialEq<CreateOrganizationInput> for CreateOrganizationInput
source§fn eq(&self, other: &CreateOrganizationInput) -> bool
fn eq(&self, other: &CreateOrganizationInput) -> bool
self
and other
values to be equal, and is used
by ==
.