amazonka-waf-1.3.7: Amazon WAF SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAF.GetChangeToken

Contents

Description

When you want to create, update, or delete AWS WAF objects, get a change token and include the change token in the create, update, or delete request. Change tokens ensure that your application doesn't submit conflicting requests to AWS WAF.

Each create, update, or delete request must use a unique change token. If your application submits a GetChangeToken request and then submits a second GetChangeToken request before submitting a create, update, or delete request, the second GetChangeToken request returns the same value as the first GetChangeToken request.

When you use a change token in a create, update, or delete request, the status of the change token changes to PENDING, which indicates that AWS WAF is propagating the change to all AWS WAF servers. Use GetChangeTokenStatus to determine the status of your change token.

See: AWS API Reference for GetChangeToken.

Synopsis

Creating a Request

getChangeToken :: GetChangeToken Source

Creates a value of GetChangeToken with the minimum fields required to make a request.

Destructuring the Response

getChangeTokenResponse Source

Creates a value of GetChangeTokenResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gctrsChangeToken :: Lens' GetChangeTokenResponse (Maybe Text) Source

The ChangeToken that you used in the request. Use this value in a GetChangeTokenStatus request to get the current status of the request.