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)


4463
4464
4465
4466
4467
4468
4469
4470
4471
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4463

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)


4463
4464
4465
4466
4467
4468
4469
4470
4471
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4463

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)


4463
4464
4465
4466
4467
4468
4469
4470
4471
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4463

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)


4463
4464
4465
4466
4467
4468
4469
4470
4471
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4463

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:



4463
4464
4465
4466
4467
4468
4469
4470
4471
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4463

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