| 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.APIGateway.GetRequestValidators
Description
Gets the RequestValidators collection of a given RestApi.
This operation returns paginated results.
Synopsis
- data GetRequestValidators = GetRequestValidators' {}
- newGetRequestValidators :: Text -> GetRequestValidators
- getRequestValidators_limit :: Lens' GetRequestValidators (Maybe Int)
- getRequestValidators_position :: Lens' GetRequestValidators (Maybe Text)
- getRequestValidators_restApiId :: Lens' GetRequestValidators Text
- data GetRequestValidatorsResponse = GetRequestValidatorsResponse' {
- items :: Maybe [RequestValidator]
- position :: Maybe Text
- httpStatus :: Int
- newGetRequestValidatorsResponse :: Int -> GetRequestValidatorsResponse
- getRequestValidatorsResponse_items :: Lens' GetRequestValidatorsResponse (Maybe [RequestValidator])
- getRequestValidatorsResponse_position :: Lens' GetRequestValidatorsResponse (Maybe Text)
- getRequestValidatorsResponse_httpStatus :: Lens' GetRequestValidatorsResponse Int
Creating a Request
data GetRequestValidators Source #
Gets the RequestValidators collection of a given RestApi.
See: newGetRequestValidators smart constructor.
Constructors
| GetRequestValidators' | |
Instances
newGetRequestValidators Source #
Arguments
| :: Text | |
| -> GetRequestValidators |
Create a value of GetRequestValidators 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:
GetRequestValidators, getRequestValidators_limit - The maximum number of returned results per page. The default value is 25
and the maximum value is 500.
GetRequestValidators, getRequestValidators_position - The current pagination position in the paged result set.
GetRequestValidators, getRequestValidators_restApiId - The string identifier of the associated RestApi.
Request Lenses
getRequestValidators_limit :: Lens' GetRequestValidators (Maybe Int) Source #
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
getRequestValidators_position :: Lens' GetRequestValidators (Maybe Text) Source #
The current pagination position in the paged result set.
getRequestValidators_restApiId :: Lens' GetRequestValidators Text Source #
The string identifier of the associated RestApi.
Destructuring the Response
data GetRequestValidatorsResponse Source #
A collection of RequestValidator resources of a given RestApi.
See: newGetRequestValidatorsResponse smart constructor.
Constructors
| GetRequestValidatorsResponse' | |
Fields
| |
Instances
newGetRequestValidatorsResponse Source #
Create a value of GetRequestValidatorsResponse 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:
GetRequestValidatorsResponse, getRequestValidatorsResponse_items - The current page of elements from this collection.
GetRequestValidators, getRequestValidatorsResponse_position - Undocumented member.
$sel:httpStatus:GetRequestValidatorsResponse', getRequestValidatorsResponse_httpStatus - The response's http status code.
Response Lenses
getRequestValidatorsResponse_items :: Lens' GetRequestValidatorsResponse (Maybe [RequestValidator]) Source #
The current page of elements from this collection.
getRequestValidatorsResponse_position :: Lens' GetRequestValidatorsResponse (Maybe Text) Source #
Undocumented member.
getRequestValidatorsResponse_httpStatus :: Lens' GetRequestValidatorsResponse Int Source #
The response's http status code.