| 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.DeleteGatewayResponse
Description
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.
Constructors
| DeleteGatewayResponse' | |
Fields
| |
Instances
newDeleteGatewayResponse Source #
Arguments
| :: Text | |
| -> GatewayResponseType | |
| -> DeleteGatewayResponse |
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:
DeleteGatewayResponse, deleteGatewayResponse_restApiId - The string identifier of the associated RestApi.
DeleteGatewayResponse, deleteGatewayResponse_responseType - The response type of the associated GatewayResponse.
Request Lenses
deleteGatewayResponse_restApiId :: Lens' DeleteGatewayResponse Text Source #
The string identifier of the associated RestApi.
deleteGatewayResponse_responseType :: Lens' DeleteGatewayResponse GatewayResponseType Source #
The response type of the associated GatewayResponse.
Destructuring the Response
data DeleteGatewayResponseResponse Source #
See: newDeleteGatewayResponseResponse smart constructor.
Constructors
| DeleteGatewayResponseResponse' | |
Instances
| Generic DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Associated Types type Rep DeleteGatewayResponseResponse :: Type -> Type # | |
| Read DeleteGatewayResponseResponse Source # | |
| Show DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Methods showsPrec :: Int -> DeleteGatewayResponseResponse -> ShowS # show :: DeleteGatewayResponseResponse -> String # showList :: [DeleteGatewayResponseResponse] -> ShowS # | |
| NFData DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Methods rnf :: DeleteGatewayResponseResponse -> () # | |
| Eq DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse | |
| type Rep DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse | |
newDeleteGatewayResponseResponse :: DeleteGatewayResponseResponse Source #
Create a value of DeleteGatewayResponseResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.