AppConfigCloudExtension / Client / get_configuration
get_configuration¶
- AppConfigCloudExtension.Client.get_configuration(**kwargs)¶
Returns the latest deployed configuration for an application, environment, and configuration profile, served from the Extension’s local cache. The Extension keeps the cache current by polling AWS AppConfig in the background, so repeated calls don’t call AWS AppConfig.
See also: AWS API Documentation
Request Syntax
response = client.get_configuration( application='string', environment='string', configuration='string' )
- Parameters:
application (string) –
[REQUIRED]
The name or ID of the AWS AppConfig application.
environment (string) –
[REQUIRED]
The name or ID of the AWS AppConfig environment the configuration is deployed to.
configuration (string) –
[REQUIRED]
The name or ID of the AWS AppConfig configuration profile.
- Return type:
dict
- Returns:
Response Syntax
{ 'content': b'bytes', 'contentType': 'string', 'revision': 'string', 'versionLabel': 'string' }
Response Structure
(dict) –
The output of GetConfiguration.
content (bytes) –
The deployed configuration’s content. For a feature flag profile, the flags rendered as JSON without request context.
contentType (string) –
The content type of the deployed configuration, such as application/json.
revision (string) –
A value that changes whenever the served content changes. Compare it with an earlier value to detect a change.
versionLabel (string) –
The label of the deployed configuration version, present only when the version has a label.
Exceptions
AppConfigCloudExtension.Client.exceptions.ValidationExceptionAppConfigCloudExtension.Client.exceptions.AccessDeniedExceptionAppConfigCloudExtension.Client.exceptions.ServiceUnavailableExceptionAppConfigCloudExtension.Client.exceptions.RequestEntityTooLargeExceptionAppConfigCloudExtension.Client.exceptions.BadGatewayExceptionAppConfigCloudExtension.Client.exceptions.ThrottlingExceptionAppConfigCloudExtension.Client.exceptions.UpgradeRequiredExceptionAppConfigCloudExtension.Client.exceptions.InternalServerExceptionAppConfigCloudExtension.Client.exceptions.LoopDetectedException