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

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

Overview

Requests API Gateway to create a Resource resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#parent_idString

The parent resource's identifier.

Returns:

  • (String)


954
955
956
957
958
959
960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 954

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)


954
955
956
957
958
959
960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 954

class CreateResourceRequest < Struct.new(
  :rest_api_id,
  :parent_id,
  :path_part)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


954
955
956
957
958
959
960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 954

class CreateResourceRequest < Struct.new(
  :rest_api_id,
  :parent_id,
  :path_part)
  SENSITIVE = []
  include Aws::Structure
end