getChangeTokenStatus
inline suspend fun WafClient.getChangeTokenStatus(crossinline block: GetChangeTokenStatusRequest.Builder.() -> Unit): GetChangeTokenStatusResponse
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns the status of a ChangeToken
that you got by calling GetChangeToken. ChangeTokenStatus
is one of the following values:
PROVISIONED
: You requested the change token by callingGetChangeToken
, but you haven't used it yet in a call to create, update, or delete an AWS WAF object.PENDING
: AWS WAF is propagating the create, update, or delete request to all AWS WAF servers.INSYNC
: Propagation is complete.
Samples
fun main() {
//sampleStart
// The following example returns the status of a change token with the ID abcd12f2 46da 4fdb b8d5
// fbd4c466928f.
val resp = wafClient.getChangeTokenStatus {
changeToken = "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
}
//sampleEnd
}