createHostedConfigurationVersion

Creates a new configuration in the AppConfig hosted configuration store.

Samples


fun main() { 
   //sampleStart 
   // The following create hosted configuration version example creates a new configuration in the AWS
// AppConfig configuration store.
val resp = appConfigClient.createHostedConfigurationVersion {
    applicationId = "339ohji"
    configurationProfileId = "ur8hx2f"
    content = "eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9".encodeAsByteArray()
    contentType = "text"
    latestVersionNumber = 1
} 
   //sampleEnd
}