Skip to main content

models

Retrieves a list of models in a region

Overview

Namemodels
TypeResource
Descriptionmodels
Idawscc.apigateway.models

Fields

NameDatatypeDescription
rest_api_idstringThe string identifier of the associated RestApi.
namestringA 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.
regionstringAWS 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