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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


996
997
998
999
1000
1001
1002
# File 'lib/aws-sdk-apigateway/types.rb', line 996

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)


996
997
998
999
1000
1001
1002
# File 'lib/aws-sdk-apigateway/types.rb', line 996

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)


996
997
998
999
1000
1001
1002
# File 'lib/aws-sdk-apigateway/types.rb', line 996

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