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

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

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 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)


1521
1522
1523
1524
1525
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1521

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)


1521
1522
1523
1524
1525
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 1521

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