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 |
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
Synopsis
- data DeleteGatewayResponse = DeleteGatewayResponse' {}
- newDeleteGatewayResponse :: Text -> GatewayResponseType -> DeleteGatewayResponse
- deleteGatewayResponse_restApiId :: Lens' DeleteGatewayResponse Text
- deleteGatewayResponse_responseType :: Lens' DeleteGatewayResponse GatewayResponseType
- data DeleteGatewayResponseResponse = DeleteGatewayResponseResponse' {
- newDeleteGatewayResponseResponse :: DeleteGatewayResponseResponse
Creating a Request
data DeleteGatewayResponse Source #
Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.
See: newDeleteGatewayResponse
smart constructor.
DeleteGatewayResponse' | |
|
Instances
newDeleteGatewayResponse Source #
Create a value of DeleteGatewayResponse
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:DeleteGatewayResponse'
, deleteGatewayResponse_restApiId
- [Required] The string identifier of the associated RestApi.
$sel:responseType:DeleteGatewayResponse'
, deleteGatewayResponse_responseType
- [Required]
The response type of the associated GatewayResponse.
Request Lenses
deleteGatewayResponse_restApiId :: Lens' DeleteGatewayResponse Text Source #
- Required
- The string identifier of the associated RestApi.
deleteGatewayResponse_responseType :: Lens' DeleteGatewayResponse GatewayResponseType Source #
- Required
The response type of the associated GatewayResponse.
Destructuring the Response
data DeleteGatewayResponseResponse Source #
See: newDeleteGatewayResponseResponse
smart constructor.
Instances
newDeleteGatewayResponseResponse :: DeleteGatewayResponseResponse Source #
Create a value of DeleteGatewayResponseResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.