stages
Retrieves a list of stages
in a region
Overview
Name | stages |
Type | Resource |
Description | stages |
Id | awscc.apigateway.stages |
Fields
Name | Datatype | Description |
---|---|---|
rest_api_id | string | The string identifier of the associated RestApi. |
stage_name | string | The 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. |
region | string | AWS 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