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.
Returns the RegexPatternSet specified by RegexPatternSetId
.
Synopsis
- data GetRegexPatternSet = GetRegexPatternSet' {}
- newGetRegexPatternSet :: Text -> GetRegexPatternSet
- getRegexPatternSet_regexPatternSetId :: Lens' GetRegexPatternSet Text
- data GetRegexPatternSetResponse = GetRegexPatternSetResponse' {}
- newGetRegexPatternSetResponse :: Int -> GetRegexPatternSetResponse
- getRegexPatternSetResponse_regexPatternSet :: Lens' GetRegexPatternSetResponse (Maybe RegexPatternSet)
- getRegexPatternSetResponse_httpStatus :: Lens' GetRegexPatternSetResponse Int
Creating a Request
data GetRegexPatternSet Source #
See: newGetRegexPatternSet
smart constructor.
GetRegexPatternSet' | |
|
Instances
newGetRegexPatternSet Source #
Create a value of GetRegexPatternSet
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:regexPatternSetId:GetRegexPatternSet'
, getRegexPatternSet_regexPatternSetId
- The RegexPatternSetId
of the RegexPatternSet that you want to get.
RegexPatternSetId
is returned by CreateRegexPatternSet and by
ListRegexPatternSets.
Request Lenses
getRegexPatternSet_regexPatternSetId :: Lens' GetRegexPatternSet Text Source #
The RegexPatternSetId
of the RegexPatternSet that you want to get.
RegexPatternSetId
is returned by CreateRegexPatternSet and by
ListRegexPatternSets.
Destructuring the Response
data GetRegexPatternSetResponse Source #
See: newGetRegexPatternSetResponse
smart constructor.
GetRegexPatternSetResponse' | |
|
Instances
newGetRegexPatternSetResponse Source #
Create a value of GetRegexPatternSetResponse
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:regexPatternSet:GetRegexPatternSetResponse'
, getRegexPatternSetResponse_regexPatternSet
- Information about the RegexPatternSet that you specified in the
GetRegexPatternSet
request, including the identifier of the pattern
set and the regular expression patterns you want AWS WAF to search for.
$sel:httpStatus:GetRegexPatternSetResponse'
, getRegexPatternSetResponse_httpStatus
- The response's http status code.
Response Lenses
getRegexPatternSetResponse_regexPatternSet :: Lens' GetRegexPatternSetResponse (Maybe RegexPatternSet) Source #
Information about the RegexPatternSet that you specified in the
GetRegexPatternSet
request, including the identifier of the pattern
set and the regular expression patterns you want AWS WAF to search for.
getRegexPatternSetResponse_httpStatus :: Lens' GetRegexPatternSetResponse Int Source #
The response's http status code.