We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Configures Amazon CloudWatch log settings for a channel.
Use a bare-bones client and the command you need to make an API call.
import { MediaTailorClient, ConfigureLogsForChannelCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import// const { MediaTailorClient, ConfigureLogsForChannelCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS importconst client = new MediaTailorClient(config);const input = { // ConfigureLogsForChannelRequest ChannelName: "STRING_VALUE", // required LogTypes: [ // LogTypes // required "AS_RUN", ],};const command = new ConfigureLogsForChannelCommand(input);const response = await client.send(command);// { // ConfigureLogsForChannelResponse// ChannelName: "STRING_VALUE",// LogTypes: [ // LogTypes// "AS_RUN",// ],// };
ConfigureLogsForChannelCommandInput
ConfigureLogsForChannelCommandOutput
input
response
config
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.
Readonly
Static
Configures Amazon CloudWatch log settings for a channel.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ConfigureLogsForChannelCommandInput
Returns
ConfigureLogsForChannelCommandOutput
See
input
shape.response
shape.config
shape.Throws
MediaTailorServiceException
Base exception class for all service exceptions from MediaTailor service.