Jump to Content

New API Documentation - Developer Preview Available

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.

Class UpdateProjectDataDeliveryCommandProtected

Updates the data storage options for this project. If you store evaluation events, you an keep them and analyze them on your own. If you choose not to store evaluation events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.

You can't specify both cloudWatchLogs and s3Destination in the same operation.

Example

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

import { EvidentlyClient, UpdateProjectDataDeliveryCommand } from "@aws-sdk/client-evidently"; // ES Modules import
// const { EvidentlyClient, UpdateProjectDataDeliveryCommand } = require("@aws-sdk/client-evidently"); // CommonJS import
const client = new EvidentlyClient(config);
const input = { // UpdateProjectDataDeliveryRequest
project: "STRING_VALUE", // required
s3Destination: { // S3DestinationConfig
bucket: "STRING_VALUE",
prefix: "STRING_VALUE",
},
cloudWatchLogs: { // CloudWatchLogsDestinationConfig
logGroup: "STRING_VALUE",
},
};
const command = new UpdateProjectDataDeliveryCommand(input);
const response = await client.send(command);
// { // UpdateProjectDataDeliveryResponse
// project: { // Project
// arn: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// status: "STRING_VALUE", // required
// description: "STRING_VALUE",
// createdTime: new Date("TIMESTAMP"), // required
// lastUpdatedTime: new Date("TIMESTAMP"), // required
// featureCount: Number("long"),
// launchCount: Number("long"),
// activeLaunchCount: Number("long"),
// experimentCount: Number("long"),
// activeExperimentCount: Number("long"),
// dataDelivery: { // ProjectDataDelivery
// s3Destination: { // S3Destination
// bucket: "STRING_VALUE",
// prefix: "STRING_VALUE",
// },
// cloudWatchLogs: { // CloudWatchLogsDestination
// logGroup: "STRING_VALUE",
// },
// },
// appConfigResource: { // ProjectAppConfigResource
// applicationId: "STRING_VALUE", // required
// environmentId: "STRING_VALUE", // required
// configurationProfileId: "STRING_VALUE", // required
// },
// tags: { // TagMap
// "<keys>": "STRING_VALUE",
// },
// },
// };

Param

UpdateProjectDataDeliveryCommandInput

Returns

UpdateProjectDataDeliveryCommandOutput

See

Throws

AccessDeniedException (client fault)

You do not have sufficient permissions to perform this action.

Throws

ConflictException (client fault)

A resource was in an inconsistent state during an update or a deletion.

Throws

ResourceNotFoundException (client fault)

The request references a resource that does not exist.

Throws

ServiceQuotaExceededException (client fault)

The request would cause a service quota to be exceeded.

Throws

ValidationException (client fault)

The value of a parameter in the request caused an error.

Throws

EvidentlyServiceException

Base exception class for all service exceptions from Evidently service.

Hierarchy

Constructors

Properties

Methods