getConfiguration

Deprecated

This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.

(Deprecated) Retrieves the latest deployed configuration.

Note the following important information.

Samples

// The following get configuration example returns the configuration details of the example
// application. On subsequent calls to get configuration, use the client configuration version parameter to only
// update the configuration of your application if the version has changed. Only updating the configuration
// when the version has changed avoids excess charges incurred by calling get configuration.
val resp = appConfigClient.getConfiguration {
    application = "example-application"
    environment = "Example-Environment"
    configuration = "Example-Configuration-Profile"
    clientId = "example-id"
}