Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Creating a Request
getChangeToken :: GetChangeToken Source
Creates a value of GetChangeToken
with the minimum fields required to make a request.
data GetChangeToken Source
See: getChangeToken
smart constructor.
Destructuring the Response
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:
data GetChangeTokenResponse Source
See: getChangeTokenResponse
smart constructor.
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.
gctrsResponseStatus :: Lens' GetChangeTokenResponse Int Source
The response status code.