amazonka-apigateway-1.3.7: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.CreateBasePathMapping

Contents

Description

Creates a new BasePathMapping resource.

See: AWS API Reference for CreateBasePathMapping.

Synopsis

Creating a Request

createBasePathMapping Source

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

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

Request Lenses

cbpmStage :: Lens' CreateBasePathMapping (Maybe Text) Source

The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.

cbpmBasePath :: Lens' CreateBasePathMapping (Maybe Text) Source

The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Leave this blank if you do not want callers to specify a base path name after the domain name.

cbpmDomainName :: Lens' CreateBasePathMapping Text Source

The domain name of the BasePathMapping resource to create.

cbpmRestAPIId :: Lens' CreateBasePathMapping Text Source

The name of the API that you want to apply this mapping to.

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:

data BasePathMapping Source

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

See: basePathMapping smart constructor.

Response Lenses

bpmStage :: Lens' BasePathMapping (Maybe Text) Source

The name of the API's 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.