Struct aws_sdk_appconfigdata::operation::start_configuration_session::StartConfigurationSessionOutput
source · #[non_exhaustive]pub struct StartConfigurationSessionOutput {
pub initial_configuration_token: Option<String>,
/* private fields */
}
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.initial_configuration_token: Option<String>
Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration
API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration
. You must use the new token in the GetLatestConfiguration
response (NextPollConfigurationToken
) in each subsequent call to GetLatestConfiguration
.
The InitialConfigurationToken
and NextPollConfigurationToken
should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
Implementations§
source§impl StartConfigurationSessionOutput
impl StartConfigurationSessionOutput
sourcepub fn initial_configuration_token(&self) -> Option<&str>
pub fn initial_configuration_token(&self) -> Option<&str>
Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration
API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration
. You must use the new token in the GetLatestConfiguration
response (NextPollConfigurationToken
) in each subsequent call to GetLatestConfiguration
.
The InitialConfigurationToken
and NextPollConfigurationToken
should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException
.
source§impl StartConfigurationSessionOutput
impl StartConfigurationSessionOutput
sourcepub fn builder() -> StartConfigurationSessionOutputBuilder
pub fn builder() -> StartConfigurationSessionOutputBuilder
Creates a new builder-style object to manufacture StartConfigurationSessionOutput
.
Trait Implementations§
source§impl Clone for StartConfigurationSessionOutput
impl Clone for StartConfigurationSessionOutput
source§fn clone(&self) -> StartConfigurationSessionOutput
fn clone(&self) -> StartConfigurationSessionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StartConfigurationSessionOutput
impl PartialEq for StartConfigurationSessionOutput
source§fn eq(&self, other: &StartConfigurationSessionOutput) -> bool
fn eq(&self, other: &StartConfigurationSessionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for StartConfigurationSessionOutput
impl RequestId for StartConfigurationSessionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for StartConfigurationSessionOutput
Auto Trait Implementations§
impl Freeze for StartConfigurationSessionOutput
impl RefUnwindSafe for StartConfigurationSessionOutput
impl Send for StartConfigurationSessionOutput
impl Sync for StartConfigurationSessionOutput
impl Unpin for StartConfigurationSessionOutput
impl UnwindSafe for StartConfigurationSessionOutput
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