AWS.AppConfigData (aws-elixir v0.10.1) View Source

Use the AppConfigData API, a capability of AWS AppConfig, to retrieve deployed configuration.

Link to this section Summary

Functions

Retrieves the latest deployed configuration.

Starts a configuration session used to retrieve a deployed configuration.

Link to this section Functions

Link to this function

get_latest_configuration(client, configuration_token, options \\ [])

View Source

Retrieves the latest deployed configuration.

This API may return empty Configuration data if the client already has the latest version. See StartConfigurationSession to obtain an InitialConfigurationToken to call this API.

Each call to GetLatestConfiguration returns a new ConfigurationToken (NextPollConfigurationToken in the response). This new token MUST be provided to the next call to GetLatestConfiguration when polling for configuration updates.

To avoid excess charges, we recommend that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.

Link to this function

start_configuration_session(client, input, options \\ [])

View Source

Starts a configuration session used to retrieve a deployed configuration.

See the GetLatestConfiguration API for more details.