models
Retrieves a list of models
in a region
Overview
Name | models |
Type | Resource |
Description | models |
Id | awscc.apigateway.models |
Fields
Name | Datatype | Description |
---|---|---|
rest_api_id | string | The string identifier of the associated RestApi. |
name | string | A name for the model. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the model name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).<br/> If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
rest_api_id,
name
FROM awscc.apigateway.models
WHERE region = 'us-east-1'
Permissions
To operate on the models
resource, the following permissions are required:
Create
apigateway:POST,
apigateway:GET
List
apigateway:GET