updatePolicyStore

Modifies the validation setting for a policy store.

Verified Permissions is eventually consistent. It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations.

Samples

import aws.sdk.kotlin.services.verifiedpermissions.model.ValidationMode
import aws.sdk.kotlin.services.verifiedpermissions.model.ValidationSettings

fun main() { 
   //sampleStart 
   // The following example turns off the validation settings for a policy store.
val resp = verifiedPermissionsClient.updatePolicyStore {
    policyStoreId = "C7v5xMplfFH3i3e4Jrzb1a"
    validationSettings = ValidationSettings {
        mode = ValidationMode.fromValue("OFF")
    }
} 
   //sampleEnd
}