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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetModelTemplateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  rest_api_id: "String", # required
  model_name: "String", # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#model_nameString

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

Returns:

  • (String)

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

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)

    The string identifier of the associated RestApi.