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

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

Overview

Note:

When making an API call, you may pass GetModelTemplateRequest data as a hash:

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

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

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

Returns:

  • (String)


3822
3823
3824
3825
3826
3827
# File 'lib/aws-sdk-apigateway/types.rb', line 3822

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

#rest_api_idString

[Required] The string identifier of the associated RestApi.

Returns:

  • (String)


3822
3823
3824
3825
3826
3827
# File 'lib/aws-sdk-apigateway/types.rb', line 3822

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