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 |
Deletes a RequestValidator of a given RestApi.
Synopsis
- data DeleteRequestValidator = DeleteRequestValidator' {}
- newDeleteRequestValidator :: Text -> Text -> DeleteRequestValidator
- deleteRequestValidator_restApiId :: Lens' DeleteRequestValidator Text
- deleteRequestValidator_requestValidatorId :: Lens' DeleteRequestValidator Text
- data DeleteRequestValidatorResponse = DeleteRequestValidatorResponse' {
- newDeleteRequestValidatorResponse :: DeleteRequestValidatorResponse
Creating a Request
data DeleteRequestValidator Source #
Deletes a specified RequestValidator of a given RestApi.
See: newDeleteRequestValidator
smart constructor.
DeleteRequestValidator' | |
|
Instances
newDeleteRequestValidator Source #
:: Text | |
-> Text | |
-> DeleteRequestValidator |
Create a value of DeleteRequestValidator
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:restApiId:DeleteRequestValidator'
, deleteRequestValidator_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:requestValidatorId:DeleteRequestValidator'
, deleteRequestValidator_requestValidatorId
- [Required] The identifier of the RequestValidator to be deleted.
Request Lenses
deleteRequestValidator_restApiId :: Lens' DeleteRequestValidator Text Source #
- Required
- The string identifier of the associated RestApi.
deleteRequestValidator_requestValidatorId :: Lens' DeleteRequestValidator Text Source #
- Required
- The identifier of the RequestValidator to be deleted.
Destructuring the Response
data DeleteRequestValidatorResponse Source #
See: newDeleteRequestValidatorResponse
smart constructor.
Instances
newDeleteRequestValidatorResponse :: DeleteRequestValidatorResponse Source #
Create a value of DeleteRequestValidatorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.