Class: Aws::APIGateway::Types::Resource

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

Overview

Represents an API resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The resource's identifier.

Returns:

  • (String)


5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5544

class Resource < Struct.new(
  :id,
  :parent_id,
  :path_part,
  :path,
  :resource_methods)
  SENSITIVE = []
  include Aws::Structure
end

#parent_idString

The parent resource's identifier.

Returns:

  • (String)


5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5544

class Resource < Struct.new(
  :id,
  :parent_id,
  :path_part,
  :path,
  :resource_methods)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The full path for this resource.

Returns:

  • (String)


5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5544

class Resource < Struct.new(
  :id,
  :parent_id,
  :path_part,
  :path,
  :resource_methods)
  SENSITIVE = []
  include Aws::Structure
end

#path_partString

The last path segment for this resource.

Returns:

  • (String)


5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5544

class Resource < Struct.new(
  :id,
  :parent_id,
  :path_part,
  :path,
  :resource_methods)
  SENSITIVE = []
  include Aws::Structure
end

#resource_methodsHash<String,Types::Method>

Gets an API resource's method of a given HTTP verb.

Returns:



5544
5545
5546
5547
5548
5549
5550
5551
5552
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 5544

class Resource < Struct.new(
  :id,
  :parent_id,
  :path_part,
  :path,
  :resource_methods)
  SENSITIVE = []
  include Aws::Structure
end