Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StartAccessLoggingCommand

Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.

example

Use a bare-bones client and the command you need to make an API call.

import { MediaStoreClient, StartAccessLoggingCommand } from "@aws-sdk/client-mediastore"; // ES Modules import
// const { MediaStoreClient, StartAccessLoggingCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import
const client = new MediaStoreClient(config);
const command = new StartAccessLoggingCommand(input);
const response = await client.send(command);
see

StartAccessLoggingCommandInput for command's input shape.

see

StartAccessLoggingCommandOutput for command's response shape.

see

config for MediaStoreClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: StartAccessLoggingCommandInput

Readonly middlewareStack