Class: Aws::APIGateway::Types::GetModelTemplateRequest

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

Overview

Request to generate a sample mapping template used to transform the payload.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#model_nameString

The name of the model for which to generate a template.

Returns:

  • (String)


2719
2720
2721
2722
2723
2724
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2719

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

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


2719
2720
2721
2722
2723
2724
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2719

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