amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.APIGateway.GetBasePathMapping

Description

Describe a BasePathMapping resource.

Synopsis

Creating a Request

data GetBasePathMapping Source #

Request to describe a BasePathMapping resource.

See: newGetBasePathMapping smart constructor.

Constructors

GetBasePathMapping' 

Fields

  • domainName :: Text

    The domain name of the BasePathMapping resource to be described.

  • basePath :: Text

    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. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

Instances

Instances details
ToHeaders GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

ToPath GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

ToQuery GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

AWSRequest GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Associated Types

type AWSResponse GetBasePathMapping #

Generic GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Associated Types

type Rep GetBasePathMapping :: Type -> Type #

Read GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Show GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

NFData GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Methods

rnf :: GetBasePathMapping -> () #

Eq GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

Hashable GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

type AWSResponse GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

type Rep GetBasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.GetBasePathMapping

type Rep GetBasePathMapping = D1 ('MetaData "GetBasePathMapping" "Amazonka.APIGateway.GetBasePathMapping" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "GetBasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetBasePathMapping Source #

Create a value of GetBasePathMapping with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetBasePathMapping, getBasePathMapping_domainName - The domain name of the BasePathMapping resource to be described.

GetBasePathMapping, getBasePathMapping_basePath - 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. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

Request Lenses

getBasePathMapping_domainName :: Lens' GetBasePathMapping Text Source #

The domain name of the BasePathMapping resource to be described.

getBasePathMapping_basePath :: Lens' GetBasePathMapping 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. Specify '(none)' if you do not want callers to specify any base path name after the domain name.

Destructuring the Response

data BasePathMapping Source #

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

See: newBasePathMapping smart constructor.

Constructors

BasePathMapping' 

Fields

Instances

Instances details
FromJSON BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Generic BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Associated Types

type Rep BasePathMapping :: Type -> Type #

Read BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Show BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

NFData BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Methods

rnf :: BasePathMapping -> () #

Eq BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

Hashable BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping Source # 
Instance details

Defined in Amazonka.APIGateway.Types.BasePathMapping

type Rep BasePathMapping = D1 ('MetaData "BasePathMapping" "Amazonka.APIGateway.Types.BasePathMapping" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "BasePathMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "basePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBasePathMapping :: BasePathMapping Source #

Create a value of BasePathMapping with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:basePath:BasePathMapping', basePathMapping_basePath - The base path name that callers of the API must provide as part of the URL after the domain name.

$sel:restApiId:BasePathMapping', basePathMapping_restApiId - The string identifier of the associated RestApi.

$sel:stage:BasePathMapping', basePathMapping_stage - The name of the associated stage.

Response Lenses

basePathMapping_basePath :: 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.

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

The string identifier of the associated RestApi.

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

The name of the associated stage.