Struct aws_sdk_shield::input::UpdateSubscriptionInput
source · [−]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.auto_renew: Option<AutoRenew>
When you initally create a subscription, AutoRenew
is set to ENABLED
. If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value for AutoRenew
, the existing value for AutoRenew
remains unchanged.
Implementations
sourceimpl UpdateSubscriptionInput
impl UpdateSubscriptionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSubscription, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSubscription, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateSubscription
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateSubscriptionInput
sourceimpl UpdateSubscriptionInput
impl UpdateSubscriptionInput
sourcepub fn auto_renew(&self) -> Option<&AutoRenew>
pub fn auto_renew(&self) -> Option<&AutoRenew>
When you initally create a subscription, AutoRenew
is set to ENABLED
. If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value for AutoRenew
, the existing value for AutoRenew
remains unchanged.
Trait Implementations
sourceimpl Clone for UpdateSubscriptionInput
impl Clone for UpdateSubscriptionInput
sourcefn clone(&self) -> UpdateSubscriptionInput
fn clone(&self) -> UpdateSubscriptionInput
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 UpdateSubscriptionInput
impl Debug for UpdateSubscriptionInput
sourceimpl PartialEq<UpdateSubscriptionInput> for UpdateSubscriptionInput
impl PartialEq<UpdateSubscriptionInput> for UpdateSubscriptionInput
sourcefn eq(&self, other: &UpdateSubscriptionInput) -> bool
fn eq(&self, other: &UpdateSubscriptionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateSubscriptionInput) -> bool
fn ne(&self, other: &UpdateSubscriptionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateSubscriptionInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateSubscriptionInput
impl Send for UpdateSubscriptionInput
impl Sync for UpdateSubscriptionInput
impl Unpin for UpdateSubscriptionInput
impl UnwindSafe for UpdateSubscriptionInput
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