| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WAF.GetRegexPatternSet
Description
Returns the RegexPatternSet specified by RegexPatternSetId .
Synopsis
- getRegexPatternSet :: Text -> GetRegexPatternSet
- data GetRegexPatternSet
- grpsRegexPatternSetId :: Lens' GetRegexPatternSet Text
- getRegexPatternSetResponse :: Int -> GetRegexPatternSetResponse
- data GetRegexPatternSetResponse
- grpsrsRegexPatternSet :: Lens' GetRegexPatternSetResponse (Maybe RegexPatternSet)
- grpsrsResponseStatus :: Lens' GetRegexPatternSetResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetRegexPatternSet |
Creates a value of GetRegexPatternSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grpsRegexPatternSetId- TheRegexPatternSetIdof theRegexPatternSetthat you want to get.RegexPatternSetIdis returned byCreateRegexPatternSetand byListRegexPatternSets.
data GetRegexPatternSet Source #
See: getRegexPatternSet smart constructor.
Instances
Request Lenses
grpsRegexPatternSetId :: 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
getRegexPatternSetResponse Source #
Arguments
| :: Int | |
| -> GetRegexPatternSetResponse |
Creates a value of GetRegexPatternSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grpsrsRegexPatternSet- Information about theRegexPatternSetthat you specified in theGetRegexPatternSetrequest, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.grpsrsResponseStatus- -- | The response status code.
data GetRegexPatternSetResponse Source #
See: getRegexPatternSetResponse smart constructor.
Instances
Response Lenses
grpsrsRegexPatternSet :: 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.
grpsrsResponseStatus :: Lens' GetRegexPatternSetResponse Int Source #
- - | The response status code.