CreateStageModel
Creates an environment model.
Operation description
The model definition follows the JSON Schema Draft 4 specification.
Json Schema supports only element properties of the Object type.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateStageModel |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StageAlias |
string |
Yes |
The environment alias. |
Production environment |
| StageName |
string |
Yes |
The environment name. |
RELEASE |
| Description |
string |
No |
The environment description. |
Model Description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| StageModelId |
string |
The environment configuration ID. |
39sdfjsd8fudsfxxx |
| RequestId |
string |
The request ID. |
EF924FE4-2EDD-4CD3-89EC-34E4708xxxx |
Examples
Success response
JSON format
{
"StageModelId": "39sdfjsd8fudsfxxx",
"RequestId": "EF924FE4-2EDD-4CD3-89EC-34E4708xxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.