ConfigureLogsForChannel
Configures Amazon CloudWatch log settings for a channel.
Request Syntax
PUT /configureLogs/channel HTTP/1.1
Content-type: application/json
{
"ChannelName": "string
",
"LogTypes": [ "string
" ]
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- ChannelName
-
The name of the channel.
Type: String
Required: Yes
- LogTypes
-
The types of logs to collect.
Type: Array of strings
Valid Values:
AS_RUN
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"ChannelName": "string",
"LogTypes": [ "string" ]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ChannelName
-
The name of the channel.
Type: String
- LogTypes
-
The types of logs collected.
Type: Array of strings
Valid Values:
AS_RUN
Errors
For information about the errors that are common to all actions, see Common Errors.
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: