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

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

Returns:

  • (String)

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)

    [Required] The string identifier of the associated RestApi.