Struct aws_sdk_appconfigdata::operation::get_latest_configuration::GetLatestConfigurationInput
source · #[non_exhaustive]pub struct GetLatestConfigurationInput {
pub configuration_token: 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.configuration_token: Option<String>
Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession
API. Note that every call to GetLatestConfiguration
will return a new ConfigurationToken
(NextPollConfigurationToken
in the response) and must be provided to subsequent GetLatestConfiguration
API calls.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
Implementations§
source§impl GetLatestConfigurationInput
impl GetLatestConfigurationInput
sourcepub fn configuration_token(&self) -> Option<&str>
pub fn configuration_token(&self) -> Option<&str>
Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession
API. Note that every call to GetLatestConfiguration
will return a new ConfigurationToken
(NextPollConfigurationToken
in the response) and must be provided to subsequent GetLatestConfiguration
API calls.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
source§impl GetLatestConfigurationInput
impl GetLatestConfigurationInput
sourcepub fn builder() -> GetLatestConfigurationInputBuilder
pub fn builder() -> GetLatestConfigurationInputBuilder
Creates a new builder-style object to manufacture GetLatestConfigurationInput
.
Trait Implementations§
source§impl Clone for GetLatestConfigurationInput
impl Clone for GetLatestConfigurationInput
source§fn clone(&self) -> GetLatestConfigurationInput
fn clone(&self) -> GetLatestConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetLatestConfigurationInput
impl Debug for GetLatestConfigurationInput
source§impl PartialEq for GetLatestConfigurationInput
impl PartialEq for GetLatestConfigurationInput
source§fn eq(&self, other: &GetLatestConfigurationInput) -> bool
fn eq(&self, other: &GetLatestConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLatestConfigurationInput
Auto Trait Implementations§
impl Freeze for GetLatestConfigurationInput
impl RefUnwindSafe for GetLatestConfigurationInput
impl Send for GetLatestConfigurationInput
impl Sync for GetLatestConfigurationInput
impl Unpin for GetLatestConfigurationInput
impl UnwindSafe for GetLatestConfigurationInput
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