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 |
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:
$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.
Constructors
DeleteGatewayResponseResponse' | |
Instances
Eq DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse | |
Read DeleteGatewayResponseResponse Source # | |
Show DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Methods showsPrec :: Int -> DeleteGatewayResponseResponse -> ShowS # show :: DeleteGatewayResponseResponse -> String # showList :: [DeleteGatewayResponseResponse] -> ShowS # | |
Generic DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Associated Types type Rep DeleteGatewayResponseResponse :: Type -> Type # | |
NFData DeleteGatewayResponseResponse Source # | |
Defined in Amazonka.APIGateway.DeleteGatewayResponse Methods rnf :: DeleteGatewayResponseResponse -> () # | |
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.