#[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: Option<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: Option<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) -> &[Domain]
pub fn domains(&self) -> &[Domain]
The email domains to associate with the organization.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .domains.is_none()
.
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) -> Option<bool>
pub fn enable_interoperability(&self) -> Option<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 for CreateOrganizationInput
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateOrganizationInput
Auto Trait Implementations§
impl Freeze for CreateOrganizationInput
impl RefUnwindSafe for CreateOrganizationInput
impl Send for CreateOrganizationInput
impl Sync for CreateOrganizationInput
impl Unpin for CreateOrganizationInput
impl UnwindSafe for CreateOrganizationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more