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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


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

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)


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

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