#[non_exhaustive]pub struct CreateMembersInput {
pub graph_arn: Option<String>,
pub message: Option<String>,
pub disable_email_notification: Option<bool>,
pub accounts: Option<Vec<Account>>,
}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.graph_arn: Option<String>The ARN of the behavior graph.
message: Option<String>Customized message text to include in the invitation email message to the invited member accounts.
disable_email_notification: Option<bool>if set to true, then the invited accounts do not receive email notifications. By default, this is set to false, and the invited accounts receive email notifications.
Organization accounts in the organization behavior graph do not receive email notifications.
accounts: Option<Vec<Account>>The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
Implementations§
source§impl CreateMembersInput
impl CreateMembersInput
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
Customized message text to include in the invitation email message to the invited member accounts.
sourcepub fn disable_email_notification(&self) -> Option<bool>
pub fn disable_email_notification(&self) -> Option<bool>
if set to true, then the invited accounts do not receive email notifications. By default, this is set to false, and the invited accounts receive email notifications.
Organization accounts in the organization behavior graph do not receive email notifications.
sourcepub fn accounts(&self) -> &[Account]
pub fn accounts(&self) -> &[Account]
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .accounts.is_none().
source§impl CreateMembersInput
impl CreateMembersInput
sourcepub fn builder() -> CreateMembersInputBuilder
pub fn builder() -> CreateMembersInputBuilder
Creates a new builder-style object to manufacture CreateMembersInput.
Trait Implementations§
source§impl Clone for CreateMembersInput
impl Clone for CreateMembersInput
source§fn clone(&self) -> CreateMembersInput
fn clone(&self) -> CreateMembersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateMembersInput
impl Debug for CreateMembersInput
source§impl PartialEq for CreateMembersInput
impl PartialEq for CreateMembersInput
impl StructuralPartialEq for CreateMembersInput
Auto Trait Implementations§
impl Freeze for CreateMembersInput
impl RefUnwindSafe for CreateMembersInput
impl Send for CreateMembersInput
impl Sync for CreateMembersInput
impl Unpin for CreateMembersInput
impl UnwindSafe for CreateMembersInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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