#[non_exhaustive]pub struct PutContactInformationInput {
pub contact_information: Option<ContactInformation>,
pub account_id: Option<String>,
}
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.contact_information: Option<ContactInformation>
Contains the details of the primary contact information associated with an Amazon Web Services account.
account_id: Option<String>
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.
The management account can't specify its own AccountId
. It must call the operation in standalone context by not including the AccountId
parameter.
To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
Implementations§
source§impl PutContactInformationInput
impl PutContactInformationInput
sourcepub fn contact_information(&self) -> Option<&ContactInformation>
pub fn contact_information(&self) -> Option<&ContactInformation>
Contains the details of the primary contact information associated with an Amazon Web Services account.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.
The management account can't specify its own AccountId
. It must call the operation in standalone context by not including the AccountId
parameter.
To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
source§impl PutContactInformationInput
impl PutContactInformationInput
sourcepub fn builder() -> PutContactInformationInputBuilder
pub fn builder() -> PutContactInformationInputBuilder
Creates a new builder-style object to manufacture PutContactInformationInput
.
Trait Implementations§
source§impl Clone for PutContactInformationInput
impl Clone for PutContactInformationInput
source§fn clone(&self) -> PutContactInformationInput
fn clone(&self) -> PutContactInformationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutContactInformationInput
impl Debug for PutContactInformationInput
source§impl PartialEq for PutContactInformationInput
impl PartialEq for PutContactInformationInput
source§fn eq(&self, other: &PutContactInformationInput) -> bool
fn eq(&self, other: &PutContactInformationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutContactInformationInput
Auto Trait Implementations§
impl Freeze for PutContactInformationInput
impl RefUnwindSafe for PutContactInformationInput
impl Send for PutContactInformationInput
impl Sync for PutContactInformationInput
impl Unpin for PutContactInformationInput
impl UnwindSafe for PutContactInformationInput
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