You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::APIGateway::Types::DeleteResourceRequest

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

Overview

Note:

When making an API call, you may pass DeleteResourceRequest data as a hash:

{
  rest_api_id: "String", # required
  resource_id: "String", # required
}

Request to delete a Resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The identifier of the Resource resource.

Returns:

  • (String)


1802
1803
1804
1805
1806
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1802

class DeleteResourceRequest < Struct.new(
  :rest_api_id,
  :resource_id)
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


1802
1803
1804
1805
1806
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1802

class DeleteResourceRequest < Struct.new(
  :rest_api_id,
  :resource_id)
  include Aws::Structure
end