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)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2907

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)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 2907

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