Skip to content

GetLatestConfigurationResponse

Source code in docs_src/capo_appconfigdata/types/get_latest_configuration_response.py
class GetLatestConfigurationResponse(TypedDict, closed=True):
    next_poll_configuration_token: NotRequired["capo_appconfigdata.types.token.Token"]
    """<p>The latest token describing the current state of the configuration session. This <i>must</i> be provided to the next call to <code>GetLatestConfiguration.</code> </p> <important> <p>This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a <code>GetLatestConfiguration</code> call uses an expired token, the system returns <code>BadRequestException</code>.</p> </important>"""
    next_poll_interval_in_seconds: "capo_appconfigdata.types.integer.Integer"
    """<p>The amount of time the client should wait before polling for configuration updates again. Use <code>RequiredMinimumPollIntervalInSeconds</code> to set the desired poll interval.</p>"""
    content_type: NotRequired["capo_appconfigdata.types.string.String"]
    """<p>A standard MIME type describing the format of the configuration content.</p>"""
    configuration: NotRequired["capo_appconfigdata.types.sensitive_blob.SensitiveBlob"]
    """<p>The data of the configuration. This may be empty if the client already has the latest version of configuration.</p>"""
    version_label: NotRequired["capo_appconfigdata.types.string.String"]
    """<p>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.</p>"""

configuration instance-attribute

configuration: NotRequired[SensitiveBlob]

The data of the configuration. This may be empty if the client already has the latest version of configuration.

content_type instance-attribute

content_type: NotRequired[String]

A standard MIME type describing the format of the configuration content.

next_poll_configuration_token instance-attribute

next_poll_configuration_token: NotRequired[Token]

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 instance-attribute

next_poll_interval_in_seconds: Integer

The amount of time the client should wait before polling for configuration updates again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll interval.

version_label instance-attribute

version_label: NotRequired[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.