apigateway_create_base_path_mapping: Creates a new BasePathMapping resource

Description Usage Arguments Value Request syntax

View source: R/apigateway_operations.R

Description

Creates a new BasePathMapping resource.

Usage

1
2
apigateway_create_base_path_mapping(domainName, basePath, restApiId,
  stage)

Arguments

domainName

[required] [Required] The domain name of the BasePathMapping resource to create.

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 a base path name after the domain name.

restApiId

[required] [Required] The string identifier of the associated RestApi.

stage

The name of the API's stage that you want to use for this mapping. Specify '(none)' if you want callers to explicitly specify the stage name after any base path name.

Value

A list with the following syntax:

1
2
3
4
5
list(
  basePath = "string",
  restApiId = "string",
  stage = "string"
)

Request syntax

1
2
3
4
5
6
svc$create_base_path_mapping(
  domainName = "string",
  basePath = "string",
  restApiId = "string",
  stage = "string"
)

paws.networking documentation built on Aug. 23, 2021, 9:07 a.m.