Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Clears any customization of a GatewayResponse
of a specified response type on the given RestApi
and resets it with the default settings.
- deleteGatewayResponse :: Text -> GatewayResponseType -> DeleteGatewayResponse
- data DeleteGatewayResponse
- dgRestAPIId :: Lens' DeleteGatewayResponse Text
- dgResponseType :: Lens' DeleteGatewayResponse GatewayResponseType
- deleteGatewayResponseResponse :: DeleteGatewayResponseResponse
- data DeleteGatewayResponseResponse
Creating a Request
deleteGatewayResponse Source #
Creates a value of DeleteGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dgRestAPIId
- The string identifier of the associatedRestApi
.dgResponseType
- The response type of the associatedGatewayResponse
. Valid values are * ACCESS_DENIED * API_CONFIGURATION_ERROR * AUTHORIZER_FAILURE * AUTHORIZER_CONFIGURATION_ERROR * BAD_REQUEST_PARAMETERS * BAD_REQUEST_BODY * DEFAULT_4XX * DEFAULT_5XX * EXPIRED_TOKEN * INVALID_SIGNATURE * INTEGRATION_FAILURE * INTEGRATION_TIMEOUT * INVALID_API_KEY * MISSING_AUTHENTICATION_TOKEN * QUOTA_EXCEEDED * REQUEST_TOO_LARGE * RESOURCE_NOT_FOUND * THROTTLED * UNAUTHORIZED * UNSUPPORTED_MEDIA_TYPES
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: deleteGatewayResponse
smart constructor.
Request Lenses
dgRestAPIId :: Lens' DeleteGatewayResponse Text Source #
The string identifier of the associated RestApi
.
dgResponseType :: Lens' DeleteGatewayResponse GatewayResponseType Source #
The response type of the associated GatewayResponse
. Valid values are * ACCESS_DENIED * API_CONFIGURATION_ERROR * AUTHORIZER_FAILURE * AUTHORIZER_CONFIGURATION_ERROR * BAD_REQUEST_PARAMETERS * BAD_REQUEST_BODY * DEFAULT_4XX * DEFAULT_5XX * EXPIRED_TOKEN * INVALID_SIGNATURE * INTEGRATION_FAILURE * INTEGRATION_TIMEOUT * INVALID_API_KEY * MISSING_AUTHENTICATION_TOKEN * QUOTA_EXCEEDED * REQUEST_TOO_LARGE * RESOURCE_NOT_FOUND * THROTTLED * UNAUTHORIZED * UNSUPPORTED_MEDIA_TYPES
Destructuring the Response
deleteGatewayResponseResponse :: DeleteGatewayResponseResponse Source #
Creates a value of DeleteGatewayResponseResponse
with the minimum fields required to make a request.
data DeleteGatewayResponseResponse Source #
See: deleteGatewayResponseResponse
smart constructor.