Class: Aws::APIGateway::Types::CreateResourceRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#parent_idString

[Required] The parent resource’s identifier.

Returns:

  • (String)


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_partString

The last path segment for this resource.

Returns:

  • (String)


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_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


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