| 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.WAFRegional.GetByteMatchSet
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 ByteMatchSet specified by ByteMatchSetId.
Synopsis
- data GetByteMatchSet = GetByteMatchSet' {}
- newGetByteMatchSet :: Text -> GetByteMatchSet
- getByteMatchSet_byteMatchSetId :: Lens' GetByteMatchSet Text
- data GetByteMatchSetResponse = GetByteMatchSetResponse' {}
- newGetByteMatchSetResponse :: Int -> GetByteMatchSetResponse
- getByteMatchSetResponse_byteMatchSet :: Lens' GetByteMatchSetResponse (Maybe ByteMatchSet)
- getByteMatchSetResponse_httpStatus :: Lens' GetByteMatchSetResponse Int
Creating a Request
data GetByteMatchSet Source #
See: newGetByteMatchSet smart constructor.
Constructors
| GetByteMatchSet' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetByteMatchSet |
Create a value of GetByteMatchSet 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:
GetByteMatchSet, getByteMatchSet_byteMatchSetId - The ByteMatchSetId of the ByteMatchSet that you want to get.
ByteMatchSetId is returned by CreateByteMatchSet and by
ListByteMatchSets.
Request Lenses
getByteMatchSet_byteMatchSetId :: Lens' GetByteMatchSet Text Source #
The ByteMatchSetId of the ByteMatchSet that you want to get.
ByteMatchSetId is returned by CreateByteMatchSet and by
ListByteMatchSets.
Destructuring the Response
data GetByteMatchSetResponse Source #
See: newGetByteMatchSetResponse smart constructor.
Constructors
| GetByteMatchSetResponse' | |
Fields
| |
Instances
newGetByteMatchSetResponse Source #
Create a value of GetByteMatchSetResponse 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:byteMatchSet:GetByteMatchSetResponse', getByteMatchSetResponse_byteMatchSet - Information about the ByteMatchSet that you specified in the
GetByteMatchSet request. For more information, see the following
topics:
- ByteMatchSet: Contains
ByteMatchSetId,ByteMatchTuples, andName ByteMatchTuples: Contains an array of ByteMatchTuple objects. EachByteMatchTupleobject contains FieldToMatch,PositionalConstraint,TargetString, andTextTransformation- FieldToMatch: Contains
DataandType
$sel:httpStatus:GetByteMatchSetResponse', getByteMatchSetResponse_httpStatus - The response's http status code.
Response Lenses
getByteMatchSetResponse_byteMatchSet :: Lens' GetByteMatchSetResponse (Maybe ByteMatchSet) Source #
Information about the ByteMatchSet that you specified in the
GetByteMatchSet request. For more information, see the following
topics:
- ByteMatchSet: Contains
ByteMatchSetId,ByteMatchTuples, andName ByteMatchTuples: Contains an array of ByteMatchTuple objects. EachByteMatchTupleobject contains FieldToMatch,PositionalConstraint,TargetString, andTextTransformation- FieldToMatch: Contains
DataandType
getByteMatchSetResponse_httpStatus :: Lens' GetByteMatchSetResponse Int Source #
The response's http status code.