Creates a Simple Log Service configuration for an API.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateLogConfig |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SlsProject |
string |
Yes |
The name of the Log Service project. |
rec-lq-sls |
| SlsLogStore |
string |
Yes |
slslogstore |
api-gateway |
| LogType |
string |
No |
The log type. Valid values:
|
PROVIDER |
| CreateSlr |
boolean |
No |
Specifies to create a service-linked role. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.