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 ==.