| Copyright | (c) 2013-2017 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.APIGateway.GetRequestValidators
Description
Gets the RequestValidators collection of a given RestApi .
- getRequestValidators :: Text -> GetRequestValidators
- data GetRequestValidators
- grvLimit :: Lens' GetRequestValidators (Maybe Int)
- grvPosition :: Lens' GetRequestValidators (Maybe Text)
- grvRestAPIId :: Lens' GetRequestValidators Text
- getRequestValidatorsResponse :: Int -> GetRequestValidatorsResponse
- data GetRequestValidatorsResponse
- grvrsItems :: Lens' GetRequestValidatorsResponse [RequestValidator]
- grvrsPosition :: Lens' GetRequestValidatorsResponse (Maybe Text)
- grvrsResponseStatus :: Lens' GetRequestValidatorsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetRequestValidators |
Creates a value of GetRequestValidators with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grvLimit- The maximum number of returned results per page.grvPosition- The current pagination position in the paged result set.grvRestAPIId- The string identifier of the associatedRestApi.
data GetRequestValidators Source #
Gets the RequestValidators collection of a given RestApi .
See: getRequestValidators smart constructor.
Instances
Request Lenses
grvLimit :: Lens' GetRequestValidators (Maybe Int) Source #
The maximum number of returned results per page.
grvPosition :: Lens' GetRequestValidators (Maybe Text) Source #
The current pagination position in the paged result set.
grvRestAPIId :: Lens' GetRequestValidators Text Source #
The string identifier of the associated RestApi .
Destructuring the Response
getRequestValidatorsResponse Source #
Arguments
| :: Int | |
| -> GetRequestValidatorsResponse |
Creates a value of GetRequestValidatorsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grvrsItems- The current page of elements from this collection.grvrsPosition- Undocumented member.grvrsResponseStatus- -- | The response status code.
data GetRequestValidatorsResponse Source #
A collection of RequestValidator resources of a given RestApi .
In Swagger, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.
Enable Basic Request Validation in API Gateway
See: getRequestValidatorsResponse smart constructor.
Instances
Response Lenses
grvrsItems :: Lens' GetRequestValidatorsResponse [RequestValidator] Source #
The current page of elements from this collection.
grvrsPosition :: Lens' GetRequestValidatorsResponse (Maybe Text) Source #
Undocumented member.
grvrsResponseStatus :: Lens' GetRequestValidatorsResponse Int Source #
- - | The response status code.