Class: Aws::APIGateway::Types::GetModelTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::GetModelTemplateRequest
- 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
-
#model_name ⇒ String
[Required] The name of the model for which to generate a template.
-
#rest_api_id ⇒ String
[Required] The string identifier of the associated RestApi.
Instance Attribute Details
#model_name ⇒ String
[Required] The name of the model for which to generate a template.
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_id ⇒ String
[Required] The string identifier of the associated RestApi.
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 |