Struct aws_sdk_appconfigdata::operation::get_latest_configuration::builders::GetLatestConfigurationInputBuilder
source · #[non_exhaustive]pub struct GetLatestConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for GetLatestConfigurationInput
.
Implementations§
source§impl GetLatestConfigurationInputBuilder
impl GetLatestConfigurationInputBuilder
sourcepub fn configuration_token(self, input: impl Into<String>) -> Self
pub fn configuration_token(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_configuration_token(self, input: Option<String>) -> Self
pub fn set_configuration_token(self, input: Option<String>) -> Self
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
.
sourcepub fn get_configuration_token(&self) -> &Option<String>
pub fn get_configuration_token(&self) -> &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
.
sourcepub fn build(self) -> Result<GetLatestConfigurationInput, BuildError>
pub fn build(self) -> Result<GetLatestConfigurationInput, BuildError>
Consumes the builder and constructs a GetLatestConfigurationInput
.
source§impl GetLatestConfigurationInputBuilder
impl GetLatestConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetLatestConfigurationOutput, SdkError<GetLatestConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetLatestConfigurationOutput, SdkError<GetLatestConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetLatestConfigurationInputBuilder
impl Clone for GetLatestConfigurationInputBuilder
source§fn clone(&self) -> GetLatestConfigurationInputBuilder
fn clone(&self) -> GetLatestConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetLatestConfigurationInputBuilder
impl Default for GetLatestConfigurationInputBuilder
source§fn default() -> GetLatestConfigurationInputBuilder
fn default() -> GetLatestConfigurationInputBuilder
source§impl PartialEq for GetLatestConfigurationInputBuilder
impl PartialEq for GetLatestConfigurationInputBuilder
source§fn eq(&self, other: &GetLatestConfigurationInputBuilder) -> bool
fn eq(&self, other: &GetLatestConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLatestConfigurationInputBuilder
Auto Trait Implementations§
impl Freeze for GetLatestConfigurationInputBuilder
impl RefUnwindSafe for GetLatestConfigurationInputBuilder
impl Send for GetLatestConfigurationInputBuilder
impl Sync for GetLatestConfigurationInputBuilder
impl Unpin for GetLatestConfigurationInputBuilder
impl UnwindSafe for GetLatestConfigurationInputBuilder
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