Class: Aws::APIGateway::Types::DeleteModelRequest

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

Overview

Note:

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

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

Request to delete an existing model in an existing RestApi resource.

Instance Attribute Summary collapse

Instance Attribute Details

#model_nameString

The name of the model to delete.

Returns:

  • (String)


1591
1592
1593
1594
1595
# File 'lib/aws-sdk-apigateway/types.rb', line 1591

class DeleteModelRequest < Struct.new(
  :rest_api_id,
  :model_name)
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


1591
1592
1593
1594
1595
# File 'lib/aws-sdk-apigateway/types.rb', line 1591

class DeleteModelRequest < Struct.new(
  :rest_api_id,
  :model_name)
  include Aws::Structure
end