import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateEventActionRequest, UpdateEventActionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateEventActionCommand}. */ export interface UpdateEventActionCommandInput extends UpdateEventActionRequest { } /** * @public * * The output of {@link UpdateEventActionCommand}. */ export interface UpdateEventActionCommandOutput extends UpdateEventActionResponse, __MetadataBearer { } declare const UpdateEventActionCommand_base: { new (input: UpdateEventActionCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateEventActionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation updates the event action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, UpdateEventActionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, UpdateEventActionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import * // import type { DataExchangeClientConfig } from "@aws-sdk/client-dataexchange"; * const config = {}; // type is DataExchangeClientConfig * const client = new DataExchangeClient(config); * const input = { // UpdateEventActionRequest * Action: { // Action * ExportRevisionToS3: { // AutoExportRevisionToS3RequestDetails * Encryption: { // ExportServerSideEncryption * KmsKeyArn: "STRING_VALUE", * Type: "STRING_VALUE", // required * }, * RevisionDestination: { // AutoExportRevisionDestinationEntry * Bucket: "STRING_VALUE", // required * KeyPattern: "STRING_VALUE", * }, * }, * }, * EventActionId: "STRING_VALUE", // required * }; * const command = new UpdateEventActionCommand(input); * const response = await client.send(command); * // { // UpdateEventActionResponse * // Action: { // Action * // ExportRevisionToS3: { // AutoExportRevisionToS3RequestDetails * // Encryption: { // ExportServerSideEncryption * // KmsKeyArn: "STRING_VALUE", * // Type: "STRING_VALUE", // required * // }, * // RevisionDestination: { // AutoExportRevisionDestinationEntry * // Bucket: "STRING_VALUE", // required * // KeyPattern: "STRING_VALUE", * // }, * // }, * // }, * // Arn: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // Event: { // Event * // RevisionPublished: { // RevisionPublished * // DataSetId: "STRING_VALUE", // required * // }, * // }, * // Id: "STRING_VALUE", * // UpdatedAt: new Date("TIMESTAMP"), * // }; * * ``` * * @param UpdateEventActionCommandInput - {@link UpdateEventActionCommandInput} * @returns {@link UpdateEventActionCommandOutput} * @see {@link UpdateEventActionCommandInput} for command's `input` shape. * @see {@link UpdateEventActionCommandOutput} for command's `response` shape. * @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to the resource is denied.

* * @throws {@link InternalServerException} (server fault) *

An exception occurred with the service.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource couldn't be found.

* * @throws {@link ThrottlingException} (client fault) *

The limit on the number of requests per second was exceeded.

* * @throws {@link ValidationException} (client fault) *

The request was invalid.

* * @throws {@link DataExchangeServiceException} *

Base exception class for all service exceptions from DataExchange service.

* * * @public */ export declare class UpdateEventActionCommand extends UpdateEventActionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateEventActionRequest; output: UpdateEventActionResponse; }; sdk: { input: UpdateEventActionCommandInput; output: UpdateEventActionCommandOutput; }; }; }