Creates a new Stage resource that references a pre-existing Deployment for the API.
Path parameters
The string identifier of the associated RestApi.
Request body
The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
The identifier of the Deployment resource for the Stage resource.
The description of the Stage resource.
Whether cache clustering is enabled for the stage.
Returns the size of the CacheCluster.
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match <code>[A-Za-z0-9-._~:/?#&=,]+</code>.
The version of the associated API documentation.
Specifies whether active tracing with X-ray is enabled for the Stage.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with <code>aws:</code>. The tag value can be up to 256 characters.
Response
Success
The identifier of the Deployment that the stage points to.
The identifier of a client certificate for an API stage.
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.
The stage's description.
Specifies whether a cache cluster is enabled for the stage.
The stage's cache capacity in GB. For more information about choosing a cache size, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html">Enabling API caching to enhance responsiveness</a>.
The status of the cache cluster for the stage, if enabled.
A map that defines the method settings for a Stage resource. Keys (designated as <code>/{method_setting_key</code> below) are method paths defined as <code>{resource_path}/{http_method}</code> for an individual method override, or <code>/*/*</code> for overriding all methods in the stage.
A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and underscore characters, and the values must match <code>[A-Za-z0-9-._~:/?#&=,]+</code>.
The version of the associated API documentation.
Specifies whether active tracing with X-ray is enabled for the Stage.
The ARN of the WebAcl associated with the Stage.
The collection of tags. Each tag element is associated with a given resource.
The timestamp when the stage was created.
The timestamp when the stage last updated.