Class: Aws::APIGateway::Types::CreateResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CreateResourceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Note:
When making an API call, you may pass CreateResourceRequest data as a hash:
{
rest_api_id: "String", # required
parent_id: "String", # required
path_part: "String", # required
}
Requests API Gateway to create a Resource resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#parent_id ⇒ String
[Required] The parent resource’s identifier.
-
#path_part ⇒ String
The last path segment for this resource.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
Instance Attribute Details
#parent_id ⇒ String
[Required] The parent resource’s identifier.
1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1259 class CreateResourceRequest < Struct.new( :rest_api_id, :parent_id, :path_part) SENSITIVE = [] include Aws::Structure end |
#path_part ⇒ String
The last path segment for this resource.
1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1259 class CreateResourceRequest < Struct.new( :rest_api_id, :parent_id, :path_part) SENSITIVE = [] include Aws::Structure end |
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
1259 1260 1261 1262 1263 1264 1265 |
# File 'lib/aws-sdk-apigateway/types.rb', line 1259 class CreateResourceRequest < Struct.new( :rest_api_id, :parent_id, :path_part) SENSITIVE = [] include Aws::Structure end |