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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#model_nameString

[Required] The name of the model to delete.

Returns:

  • (String)


1997
1998
1999
2000
2001
2002
# File 'lib/aws-sdk-apigateway/types.rb', line 1997

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


1997
1998
1999
2000
2001
2002
# File 'lib/aws-sdk-apigateway/types.rb', line 1997

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