aws.apigateway.get_model
Example SQL Queries
SELECT * FROMaws.apigateway.get_modelWHERE"rest_api_id" = 'VALUE'AND "model_name" = 'VALUE';Description
Describes an existing model defined for a RestApi resource.
Table Definition
| Column Name | Column Data Type |
|---|---|
| model_name Required Input Column The name of the model as an identifier. | VARCHAR |
| rest_api_id Required Input Column The RestApi identifier under which the Model exists. | VARCHAR |
| flatten Input Column A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false. | BOOLEAN |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| content_type The content-type for the model. | VARCHAR |
| description The description of the model. | VARCHAR |
| id The identifier for the model resource. | VARCHAR |
| name The name of the model. Must be an alphanumeric string. | VARCHAR |
| schema The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail. | VARCHAR |