amazonka-apigateway-1.5.0: Amazon API Gateway SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.DeleteGatewayResponse

Contents

Description

Clears any customization of a GatewayResponse of a specified response type on the given RestApi and resets it with the default settings.

Synopsis

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 associated RestApi .
  • dgResponseType - 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

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.

Instances

Eq DeleteGatewayResponse Source # 
Data DeleteGatewayResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteGatewayResponse -> c DeleteGatewayResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteGatewayResponse #

toConstr :: DeleteGatewayResponse -> Constr #

dataTypeOf :: DeleteGatewayResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteGatewayResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteGatewayResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteGatewayResponse -> DeleteGatewayResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGatewayResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGatewayResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteGatewayResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteGatewayResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteGatewayResponse -> m DeleteGatewayResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGatewayResponse -> m DeleteGatewayResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGatewayResponse -> m DeleteGatewayResponse #

Read DeleteGatewayResponse Source # 
Show DeleteGatewayResponse Source # 
Generic DeleteGatewayResponse Source # 
Hashable DeleteGatewayResponse Source # 
NFData DeleteGatewayResponse Source # 

Methods

rnf :: DeleteGatewayResponse -> () #

AWSRequest DeleteGatewayResponse Source # 
ToQuery DeleteGatewayResponse Source # 
ToPath DeleteGatewayResponse Source # 
ToHeaders DeleteGatewayResponse Source # 
type Rep DeleteGatewayResponse Source # 
type Rep DeleteGatewayResponse = D1 (MetaData "DeleteGatewayResponse" "Network.AWS.APIGateway.DeleteGatewayResponse" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "DeleteGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dgRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dgResponseType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GatewayResponseType))))
type Rs DeleteGatewayResponse Source # 

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.

Instances

Eq DeleteGatewayResponseResponse Source # 
Data DeleteGatewayResponseResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteGatewayResponseResponse -> c DeleteGatewayResponseResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteGatewayResponseResponse #

toConstr :: DeleteGatewayResponseResponse -> Constr #

dataTypeOf :: DeleteGatewayResponseResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteGatewayResponseResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteGatewayResponseResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteGatewayResponseResponse -> DeleteGatewayResponseResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGatewayResponseResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGatewayResponseResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteGatewayResponseResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteGatewayResponseResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteGatewayResponseResponse -> m DeleteGatewayResponseResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGatewayResponseResponse -> m DeleteGatewayResponseResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGatewayResponseResponse -> m DeleteGatewayResponseResponse #

Read DeleteGatewayResponseResponse Source # 
Show DeleteGatewayResponseResponse Source # 
Generic DeleteGatewayResponseResponse Source # 
NFData DeleteGatewayResponseResponse Source # 
type Rep DeleteGatewayResponseResponse Source # 
type Rep DeleteGatewayResponseResponse = D1 (MetaData "DeleteGatewayResponseResponse" "Network.AWS.APIGateway.DeleteGatewayResponse" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "DeleteGatewayResponseResponse'" PrefixI False) U1)