Struct aws_sdk_appconfigdata::operation::get_latest_configuration::GetLatestConfigurationOutput
source · #[non_exhaustive]pub struct GetLatestConfigurationOutput {
pub next_poll_configuration_token: Option<String>,
pub next_poll_interval_in_seconds: i32,
pub content_type: Option<String>,
pub configuration: Option<Blob>,
pub version_label: 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.next_poll_configuration_token: Option<String>The latest token describing the current state of the configuration session. This must be provided to the next call to GetLatestConfiguration.
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.
next_poll_interval_in_seconds: i32The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll interval.
content_type: Option<String>A standard MIME type describing the format of the configuration content.
configuration: Option<Blob>The data of the configuration. This may be empty if the client already has the latest version of configuration.
version_label: Option<String>The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
Implementations§
source§impl GetLatestConfigurationOutput
impl GetLatestConfigurationOutput
sourcepub fn next_poll_configuration_token(&self) -> Option<&str>
pub fn next_poll_configuration_token(&self) -> Option<&str>
The latest token describing the current state of the configuration session. This must be provided to the next call to GetLatestConfiguration.
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 next_poll_interval_in_seconds(&self) -> i32
pub fn next_poll_interval_in_seconds(&self) -> i32
The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll interval.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
A standard MIME type describing the format of the configuration content.
sourcepub fn configuration(&self) -> Option<&Blob>
pub fn configuration(&self) -> Option<&Blob>
The data of the configuration. This may be empty if the client already has the latest version of configuration.
sourcepub fn version_label(&self) -> Option<&str>
pub fn version_label(&self) -> Option<&str>
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
source§impl GetLatestConfigurationOutput
impl GetLatestConfigurationOutput
sourcepub fn builder() -> GetLatestConfigurationOutputBuilder
pub fn builder() -> GetLatestConfigurationOutputBuilder
Creates a new builder-style object to manufacture GetLatestConfigurationOutput.
Trait Implementations§
source§impl Clone for GetLatestConfigurationOutput
impl Clone for GetLatestConfigurationOutput
source§fn clone(&self) -> GetLatestConfigurationOutput
fn clone(&self) -> GetLatestConfigurationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetLatestConfigurationOutput
impl Debug for GetLatestConfigurationOutput
source§impl PartialEq for GetLatestConfigurationOutput
impl PartialEq for GetLatestConfigurationOutput
source§fn eq(&self, other: &GetLatestConfigurationOutput) -> bool
fn eq(&self, other: &GetLatestConfigurationOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetLatestConfigurationOutput
impl RequestId for GetLatestConfigurationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.