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)


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

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)


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

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)


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

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)


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

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:



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

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