Fields
contact_endpoint: String
The destination of the contact method, such as an email address or a mobile phone number.
Use the E.164 format when specifying a mobile phone number. E.164 is a standard for the phone number structure used for international telecommunication. Phone numbers that follow this format can have a maximum of 15 digits, and they are prefixed with the plus character (+) and the country code. For example, a U.S. phone number in E.164 format would be specified as +1XXX5550100. For more information, see E.164 on Wikipedia.
protocol: String
The protocol of the contact method, such as Email
or SMS
(text messaging).
The SMS
protocol is supported only in the following AWS Regions.
-
US East (N. Virginia) (
us-east-1
) -
US West (Oregon) (
us-west-2
) -
Europe (Ireland) (
eu-west-1
) -
Asia Pacific (Tokyo) (
ap-northeast-1
) -
Asia Pacific (Singapore) (
ap-southeast-1
) -
Asia Pacific (Sydney) (
ap-southeast-2
)
For a list of countries/regions where SMS text messages can be sent, and the latest AWS Regions where SMS text messaging is supported, see Supported Regions and Countries in the Amazon SNS Developer Guide.
For more information about notifications in Amazon Lightsail, see Notifications in Amazon Lightsail.
Trait Implementations
sourceimpl Clone for CreateContactMethodRequest
impl Clone for CreateContactMethodRequest
sourcefn clone(&self) -> CreateContactMethodRequest
fn clone(&self) -> CreateContactMethodRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateContactMethodRequest
impl Debug for CreateContactMethodRequest
sourceimpl Default for CreateContactMethodRequest
impl Default for CreateContactMethodRequest
sourcefn default() -> CreateContactMethodRequest
fn default() -> CreateContactMethodRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateContactMethodRequest> for CreateContactMethodRequest
impl PartialEq<CreateContactMethodRequest> for CreateContactMethodRequest
sourcefn eq(&self, other: &CreateContactMethodRequest) -> bool
fn eq(&self, other: &CreateContactMethodRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateContactMethodRequest) -> bool
fn ne(&self, other: &CreateContactMethodRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateContactMethodRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateContactMethodRequest
impl Send for CreateContactMethodRequest
impl Sync for CreateContactMethodRequest
impl Unpin for CreateContactMethodRequest
impl UnwindSafe for CreateContactMethodRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more