Attaches APIs to a specified API product. If the specified API product does not exist, it is automatically created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:AttachApiProduct |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApiProductId |
string |
Yes |
The ID of the API product. |
117b7a64a8b3f064eaa4a47ac62aac5e |
| Apis |
array<object> |
Yes |
The list of APIs to attach. |
|
|
object |
No |
|||
| ApiId |
string |
Yes |
The API ID. |
551877242a4b4f3a84a56b7c3570e4a7 |
| StageName |
string |
Yes |
The environment in which the API is published. Valid values:
|
RELEASE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BA20890E-75C7-41BC-9C8B-73276B58F550 |
Examples
Success response
JSON format
{
"RequestId": "BA20890E-75C7-41BC-9C8B-73276B58F550"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.