Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Permanently deletes a SizeConstraintSet. You can't delete a
SizeConstraintSet
if it's still used in any Rules
or if it still
includes any SizeConstraint objects (any filters).
If you just want to remove a SizeConstraintSet
from a Rule
, use
UpdateRule.
To permanently delete a SizeConstraintSet
, perform the following
steps:
- Update the
SizeConstraintSet
to remove filters, if any. For more information, see UpdateSizeConstraintSet. - Use GetChangeToken to get the change token that you provide in the
ChangeToken
parameter of aDeleteSizeConstraintSet
request. - Submit a
DeleteSizeConstraintSet
request.
Synopsis
- data DeleteSizeConstraintSet = DeleteSizeConstraintSet' {}
- newDeleteSizeConstraintSet :: Text -> Text -> DeleteSizeConstraintSet
- deleteSizeConstraintSet_sizeConstraintSetId :: Lens' DeleteSizeConstraintSet Text
- deleteSizeConstraintSet_changeToken :: Lens' DeleteSizeConstraintSet Text
- data DeleteSizeConstraintSetResponse = DeleteSizeConstraintSetResponse' {
- changeToken :: Maybe Text
- httpStatus :: Int
- newDeleteSizeConstraintSetResponse :: Int -> DeleteSizeConstraintSetResponse
- deleteSizeConstraintSetResponse_changeToken :: Lens' DeleteSizeConstraintSetResponse (Maybe Text)
- deleteSizeConstraintSetResponse_httpStatus :: Lens' DeleteSizeConstraintSetResponse Int
Creating a Request
data DeleteSizeConstraintSet Source #
See: newDeleteSizeConstraintSet
smart constructor.
DeleteSizeConstraintSet' | |
|
Instances
newDeleteSizeConstraintSet Source #
:: Text | |
-> Text | |
-> DeleteSizeConstraintSet |
Create a value of DeleteSizeConstraintSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sizeConstraintSetId:DeleteSizeConstraintSet'
, deleteSizeConstraintSet_sizeConstraintSetId
- The SizeConstraintSetId
of the SizeConstraintSet that you want to
delete. SizeConstraintSetId
is returned by CreateSizeConstraintSet and
by ListSizeConstraintSets.
$sel:changeToken:DeleteSizeConstraintSet'
, deleteSizeConstraintSet_changeToken
- The value returned by the most recent call to GetChangeToken.
Request Lenses
deleteSizeConstraintSet_sizeConstraintSetId :: Lens' DeleteSizeConstraintSet Text Source #
The SizeConstraintSetId
of the SizeConstraintSet that you want to
delete. SizeConstraintSetId
is returned by CreateSizeConstraintSet and
by ListSizeConstraintSets.
deleteSizeConstraintSet_changeToken :: Lens' DeleteSizeConstraintSet Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
data DeleteSizeConstraintSetResponse Source #
See: newDeleteSizeConstraintSetResponse
smart constructor.
DeleteSizeConstraintSetResponse' | |
|
Instances
Eq DeleteSizeConstraintSetResponse Source # | |
Read DeleteSizeConstraintSetResponse Source # | |
Show DeleteSizeConstraintSetResponse Source # | |
Defined in Amazonka.WAF.DeleteSizeConstraintSet | |
Generic DeleteSizeConstraintSetResponse Source # | |
NFData DeleteSizeConstraintSetResponse Source # | |
Defined in Amazonka.WAF.DeleteSizeConstraintSet rnf :: DeleteSizeConstraintSetResponse -> () # | |
type Rep DeleteSizeConstraintSetResponse Source # | |
Defined in Amazonka.WAF.DeleteSizeConstraintSet type Rep DeleteSizeConstraintSetResponse = D1 ('MetaData "DeleteSizeConstraintSetResponse" "Amazonka.WAF.DeleteSizeConstraintSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeleteSizeConstraintSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteSizeConstraintSetResponse Source #
Create a value of DeleteSizeConstraintSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:changeToken:DeleteSizeConstraintSet'
, deleteSizeConstraintSetResponse_changeToken
- The ChangeToken
that you used to submit the DeleteSizeConstraintSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
$sel:httpStatus:DeleteSizeConstraintSetResponse'
, deleteSizeConstraintSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteSizeConstraintSetResponse_changeToken :: Lens' DeleteSizeConstraintSetResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteSizeConstraintSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
deleteSizeConstraintSetResponse_httpStatus :: Lens' DeleteSizeConstraintSetResponse Int Source #
The response's http status code.