Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.WAF.GetSizeConstraintSet
Description
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 SizeConstraintSet specified by SizeConstraintSetId
.
Synopsis
- data GetSizeConstraintSet = GetSizeConstraintSet' {}
- newGetSizeConstraintSet :: Text -> GetSizeConstraintSet
- getSizeConstraintSet_sizeConstraintSetId :: Lens' GetSizeConstraintSet Text
- data GetSizeConstraintSetResponse = GetSizeConstraintSetResponse' {}
- newGetSizeConstraintSetResponse :: Int -> GetSizeConstraintSetResponse
- getSizeConstraintSetResponse_sizeConstraintSet :: Lens' GetSizeConstraintSetResponse (Maybe SizeConstraintSet)
- getSizeConstraintSetResponse_httpStatus :: Lens' GetSizeConstraintSetResponse Int
Creating a Request
data GetSizeConstraintSet Source #
See: newGetSizeConstraintSet
smart constructor.
Constructors
GetSizeConstraintSet' | |
Fields
|
Instances
newGetSizeConstraintSet Source #
Arguments
:: Text | |
-> GetSizeConstraintSet |
Create a value of GetSizeConstraintSet
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:
GetSizeConstraintSet
, getSizeConstraintSet_sizeConstraintSetId
- The SizeConstraintSetId
of the SizeConstraintSet that you want to get.
SizeConstraintSetId
is returned by CreateSizeConstraintSet and by
ListSizeConstraintSets.
Request Lenses
getSizeConstraintSet_sizeConstraintSetId :: Lens' GetSizeConstraintSet Text Source #
The SizeConstraintSetId
of the SizeConstraintSet that you want to get.
SizeConstraintSetId
is returned by CreateSizeConstraintSet and by
ListSizeConstraintSets.
Destructuring the Response
data GetSizeConstraintSetResponse Source #
See: newGetSizeConstraintSetResponse
smart constructor.
Constructors
GetSizeConstraintSetResponse' | |
Fields
|
Instances
newGetSizeConstraintSetResponse Source #
Create a value of GetSizeConstraintSetResponse
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:sizeConstraintSet:GetSizeConstraintSetResponse'
, getSizeConstraintSetResponse_sizeConstraintSet
- Information about the SizeConstraintSet that you specified in the
GetSizeConstraintSet
request. For more information, see the following
topics:
- SizeConstraintSet: Contains
SizeConstraintSetId
,SizeConstraints
, andName
SizeConstraints
: Contains an array of SizeConstraint objects. EachSizeConstraint
object contains FieldToMatch,TextTransformation
,ComparisonOperator
, andSize
- FieldToMatch: Contains
Data
andType
$sel:httpStatus:GetSizeConstraintSetResponse'
, getSizeConstraintSetResponse_httpStatus
- The response's http status code.
Response Lenses
getSizeConstraintSetResponse_sizeConstraintSet :: Lens' GetSizeConstraintSetResponse (Maybe SizeConstraintSet) Source #
Information about the SizeConstraintSet that you specified in the
GetSizeConstraintSet
request. For more information, see the following
topics:
- SizeConstraintSet: Contains
SizeConstraintSetId
,SizeConstraints
, andName
SizeConstraints
: Contains an array of SizeConstraint objects. EachSizeConstraint
object contains FieldToMatch,TextTransformation
,ComparisonOperator
, andSize
- FieldToMatch: Contains
Data
andType
getSizeConstraintSetResponse_httpStatus :: Lens' GetSizeConstraintSetResponse Int Source #
The response's http status code.