Class: Aws::APIGateway::Types::CreateBasePathMappingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateBasePathMappingRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass CreateBasePathMappingRequest data as a hash:
{
domain_name: "String", # required
base_path: "String",
rest_api_id: "String", # required
stage: "String",
}
Requests API Gateway to create a new BasePathMapping resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#base_path ⇒ String
The base path name that callers of the API must provide as part of the URL after the domain name.
-
#domain_name ⇒ String
[Required] The domain name of the BasePathMapping resource to create.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
-
#stage ⇒ String
The name of the API’s stage that you want to use for this mapping.
Instance Attribute Details
#base_path ⇒ String
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.
852 853 854 855 856 857 858 859 |
# File 'lib/aws-sdk-apigateway/types.rb', line 852 class CreateBasePathMappingRequest < Struct.new( :domain_name, :base_path, :rest_api_id, :stage) SENSITIVE = [] include Aws::Structure end |
#domain_name ⇒ String
[Required] The domain name of the BasePathMapping resource to create.
852 853 854 855 856 857 858 859 |
# File 'lib/aws-sdk-apigateway/types.rb', line 852 class CreateBasePathMappingRequest < Struct.new( :domain_name, :base_path, :rest_api_id, :stage) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
852 853 854 855 856 857 858 859 |
# File 'lib/aws-sdk-apigateway/types.rb', line 852 class CreateBasePathMappingRequest < Struct.new( :domain_name, :base_path, :rest_api_id, :stage) SENSITIVE = [] include Aws::Structure end |
#stage ⇒ String
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.
852 853 854 855 856 857 858 859 |
# File 'lib/aws-sdk-apigateway/types.rb', line 852 class CreateBasePathMappingRequest < Struct.new( :domain_name, :base_path, :rest_api_id, :stage) SENSITIVE = [] include Aws::Structure end |