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.UpdateBasePathMapping

Contents

Description

Changes information about the BasePathMapping resource.

Synopsis

Creating a Request

updateBasePathMapping Source #

Creates a value of UpdateBasePathMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateBasePathMapping Source #

A request to change information about the BasePathMapping resource.

See: updateBasePathMapping smart constructor.

Instances
Eq UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Data UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Methods

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

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

toConstr :: UpdateBasePathMapping -> Constr #

dataTypeOf :: UpdateBasePathMapping -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Show UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Generic UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Associated Types

type Rep UpdateBasePathMapping :: Type -> Type #

Hashable UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

ToJSON UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

AWSRequest UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Associated Types

type Rs UpdateBasePathMapping :: Type #

ToHeaders UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

ToPath UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

ToQuery UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

NFData UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Methods

rnf :: UpdateBasePathMapping -> () #

type Rep UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

type Rep UpdateBasePathMapping = D1 (MetaData "UpdateBasePathMapping" "Network.AWS.APIGateway.UpdateBasePathMapping" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "UpdateBasePathMapping'" PrefixI True) (S1 (MetaSel (Just "_ubpmPatchOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 (MetaSel (Just "_ubpmDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ubpmBasePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateBasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.UpdateBasePathMapping

Request Lenses

ubpmPatchOperations :: Lens' UpdateBasePathMapping [PatchOperation] Source #

A list of update operations to be applied to the specified resource and in the order specified in this list.

ubpmDomainName :: Lens' UpdateBasePathMapping Text Source #

Required
The domain name of the BasePathMapping resource to change.

ubpmBasePath :: Lens' UpdateBasePathMapping Text Source #

Required
The base path of the BasePathMapping resource to change.

Destructuring the Response

basePathMapping :: BasePathMapping Source #

Creates a value of BasePathMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bpmStage - The name of the associated stage.
  • bpmBasePath - The base path name that callers of the API must provide as part of the URL after the domain name.
  • bpmRestAPIId - The string identifier of the associated RestApi .

data BasePathMapping Source #

Represents the base path that callers of the API must provide as part of the URL after the domain name.

A custom domain name plus a BasePathMapping specification identifies a deployed RestApi in a given stage of the owner Account .Use Custom Domain Names

See: basePathMapping smart constructor.

Instances
Eq BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Data BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

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

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

toConstr :: BasePathMapping -> Constr #

dataTypeOf :: BasePathMapping -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Show BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Generic BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Associated Types

type Rep BasePathMapping :: Type -> Type #

Hashable BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

FromJSON BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

NFData BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

Methods

rnf :: BasePathMapping -> () #

type Rep BasePathMapping Source # 
Instance details

Defined in Network.AWS.APIGateway.Types.Product

type Rep BasePathMapping = D1 (MetaData "BasePathMapping" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "BasePathMapping'" PrefixI True) (S1 (MetaSel (Just "_bpmStage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bpmBasePath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_bpmRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

Response Lenses

bpmStage :: Lens' BasePathMapping (Maybe Text) Source #

The name of the associated stage.

bpmBasePath :: Lens' BasePathMapping (Maybe Text) Source #

The base path name that callers of the API must provide as part of the URL after the domain name.

bpmRestAPIId :: Lens' BasePathMapping (Maybe Text) Source #

The string identifier of the associated RestApi .