Class: Aws::APIGateway::Types::CreateBasePathMappingRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

Requests API Gateway to create a new BasePathMapping resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_pathString

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.

Returns:

  • (String)


656
657
658
659
660
661
662
663
664
# File 'lib/aws-sdk-apigateway/types.rb', line 656

class CreateBasePathMappingRequest < Struct.new(
  :domain_name,
  :domain_name_id,
  :base_path,
  :rest_api_id,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

The domain name of the BasePathMapping resource to create.

Returns:

  • (String)


656
657
658
659
660
661
662
663
664
# File 'lib/aws-sdk-apigateway/types.rb', line 656

class CreateBasePathMappingRequest < Struct.new(
  :domain_name,
  :domain_name_id,
  :base_path,
  :rest_api_id,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end

#domain_name_idString

The identifier for the domain name resource. Supported only for private custom domain names.

Returns:

  • (String)


656
657
658
659
660
661
662
663
664
# File 'lib/aws-sdk-apigateway/types.rb', line 656

class CreateBasePathMappingRequest < Struct.new(
  :domain_name,
  :domain_name_id,
  :base_path,
  :rest_api_id,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


656
657
658
659
660
661
662
663
664
# File 'lib/aws-sdk-apigateway/types.rb', line 656

class CreateBasePathMappingRequest < Struct.new(
  :domain_name,
  :domain_name_id,
  :base_path,
  :rest_api_id,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end

#stageString

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.

Returns:

  • (String)


656
657
658
659
660
661
662
663
664
# File 'lib/aws-sdk-apigateway/types.rb', line 656

class CreateBasePathMappingRequest < Struct.new(
  :domain_name,
  :domain_name_id,
  :base_path,
  :rest_api_id,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end