Struct aws_sdk_sns::input::ConfirmSubscriptionInput
source · [−]#[non_exhaustive]pub struct ConfirmSubscriptionInput {
pub topic_arn: Option<String>,
pub token: Option<String>,
pub authenticate_on_unsubscribe: Option<String>,
}Expand description
Input for ConfirmSubscription action.
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.topic_arn: Option<String>The ARN of the topic for which you wish to confirm a subscription.
token: Option<String>Short-lived token sent to an endpoint during the Subscribe action.
authenticate_on_unsubscribe: Option<String>Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.
Implementations
sourceimpl ConfirmSubscriptionInput
impl ConfirmSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ConfirmSubscription, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ConfirmSubscription, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ConfirmSubscription>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConfirmSubscriptionInput
sourceimpl ConfirmSubscriptionInput
impl ConfirmSubscriptionInput
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The ARN of the topic for which you wish to confirm a subscription.
sourcepub fn token(&self) -> Option<&str>
pub fn token(&self) -> Option<&str>
Short-lived token sent to an endpoint during the Subscribe action.
sourcepub fn authenticate_on_unsubscribe(&self) -> Option<&str>
pub fn authenticate_on_unsubscribe(&self) -> Option<&str>
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.
Trait Implementations
sourceimpl Clone for ConfirmSubscriptionInput
impl Clone for ConfirmSubscriptionInput
sourcefn clone(&self) -> ConfirmSubscriptionInput
fn clone(&self) -> ConfirmSubscriptionInput
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 ConfirmSubscriptionInput
impl Debug for ConfirmSubscriptionInput
sourceimpl PartialEq<ConfirmSubscriptionInput> for ConfirmSubscriptionInput
impl PartialEq<ConfirmSubscriptionInput> for ConfirmSubscriptionInput
sourcefn eq(&self, other: &ConfirmSubscriptionInput) -> bool
fn eq(&self, other: &ConfirmSubscriptionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConfirmSubscriptionInput) -> bool
fn ne(&self, other: &ConfirmSubscriptionInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ConfirmSubscriptionInput
Auto Trait Implementations
impl RefUnwindSafe for ConfirmSubscriptionInput
impl Send for ConfirmSubscriptionInput
impl Sync for ConfirmSubscriptionInput
impl Unpin for ConfirmSubscriptionInput
impl UnwindSafe for ConfirmSubscriptionInput
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> 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