Skip to content

Configuration

Source code in docs_src/capo_appconfig/types/configuration.py
class Configuration(TypedDict, closed=True):
    content: NotRequired["capo_appconfig.types.blob.Blob"]
    """<p>The content of the configuration or the configuration data.</p> <important> <p>The <code>Content</code> attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and <code>ClientConfigurationVersion</code> matches the version of the current configuration, AppConfig returns a <code>204 No Content</code> HTTP response code and the <code>Content</code> value will be empty.</p> </important>"""
    configuration_version: NotRequired["capo_appconfig.types.version.Version"]
    """<p>The configuration version.</p>"""
    content_type: NotRequired["capo_appconfig.types.string.String"]
    """<p>A standard MIME type describing the format of the configuration content. For more information, see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17">Content-Type</a>.</p>"""

configuration_version instance-attribute

configuration_version: NotRequired[Version]

The configuration version.

content instance-attribute

content: NotRequired[Blob]

The content of the configuration or the configuration data.

The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.

content_type instance-attribute

content_type: NotRequired[String]

A standard MIME type describing the format of the configuration content. For more information, see Content-Type.