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

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


4665
4666
4667
4668
4669
4670
4671
4672
4673
# File 'lib/aws-sdk-apigateway/types.rb', line 4665

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)


4665
4666
4667
4668
4669
4670
4671
4672
4673
# File 'lib/aws-sdk-apigateway/types.rb', line 4665

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)


4665
4666
4667
4668
4669
4670
4671
4672
4673
# File 'lib/aws-sdk-apigateway/types.rb', line 4665

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)


4665
4666
4667
4668
4669
4670
4671
4672
4673
# File 'lib/aws-sdk-apigateway/types.rb', line 4665

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:



4665
4666
4667
4668
4669
4670
4671
4672
4673
# File 'lib/aws-sdk-apigateway/types.rb', line 4665

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