Skip to main content

stages

Retrieves a list of stages in a region

Overview

Namestages
TypeResource
Descriptionstages
Idawscc.apigateway.stages

Fields

NameDatatypeDescription
rest_api_idstringThe string identifier of the associated RestApi.
stage_namestringThe name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
rest_api_id,
stage_name
FROM awscc.apigateway.stages
WHERE region = 'us-east-1'

Permissions

To operate on the stages resource, the following permissions are required:

Create

apigateway:POST,
apigateway:PATCH,
apigateway:GET,
apigateway:PUT

List

apigateway:GET