amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

Copyright(c) 2013-2018 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 - [Required] The string identifier of the associated RestApi .
  • dgResponseType - [Required] 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_TYPE

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Data DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Show DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Generic DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Associated Types

type Rep DeleteGatewayResponse :: Type -> Type #

Hashable DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

AWSRequest DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Associated Types

type Rs DeleteGatewayResponse :: Type #

ToHeaders DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

ToPath DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

ToQuery DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

NFData DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Methods

rnf :: DeleteGatewayResponse -> () #

type Rep DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponse = D1 (MetaData "DeleteGatewayResponse" "Network.AWS.APIGateway.DeleteGatewayResponse" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DeleteGatewayResponse'" PrefixI True) (S1 (MetaSel (Just "_dgRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgResponseType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GatewayResponseType)))
type Rs DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Request Lenses

dgRestAPIId :: Lens' DeleteGatewayResponse Text Source #

Required
The string identifier of the associated RestApi .

dgResponseType :: Lens' DeleteGatewayResponse GatewayResponseType Source #

Required
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_TYPE

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Data DeleteGatewayResponseResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Show DeleteGatewayResponseResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Generic DeleteGatewayResponseResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

Associated Types

type Rep DeleteGatewayResponseResponse :: Type -> Type #

NFData DeleteGatewayResponseResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponseResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteGatewayResponse

type Rep DeleteGatewayResponseResponse = D1 (MetaData "DeleteGatewayResponseResponse" "Network.AWS.APIGateway.DeleteGatewayResponse" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DeleteGatewayResponseResponse'" PrefixI False) (U1 :: Type -> Type))