import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Awss3Config, Awss3Config$Outbound } from "./awss3config.js"; import { Awss3Credentials, Awss3Credentials$Outbound } from "./awss3credentials.js"; import { Topics, Topics$Outbound } from "./topics.js"; export type DestinationCreateAwss3 = { /** * Optional user-provided ID. A UUID will be generated if empty. */ id?: string | undefined; /** * Type of the destination. Must be 'aws_s3'. */ type: "aws_s3"; /** * "*" or an array of enabled topics. */ topics: Topics; /** * Optional JSON schema filter for event matching. Events must match this filter to be delivered to this destination. * * @remarks * Supports operators: $eq, $neq, $gt, $gte, $lt, $lte, $in, $nin, $startsWith, $endsWith, $exist, $or, $and, $not. * If null or empty, all events matching the topic filter will be delivered. * To remove an existing filter when updating a destination, set filter to an empty object `{}`. */ filter?: { [k: string]: any; } | null | undefined; config: Awss3Config; credentials: Awss3Credentials; /** * Static key-value pairs merged into event metadata on every attempt. */ deliveryMetadata?: { [k: string]: string; } | null | undefined; /** * Arbitrary contextual information stored with the destination. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const DestinationCreateAwss3$inboundSchema: z.ZodType; /** @internal */ export type DestinationCreateAwss3$Outbound = { id?: string | undefined; type: "aws_s3"; topics: Topics$Outbound; filter?: { [k: string]: any; } | null | undefined; config: Awss3Config$Outbound; credentials: Awss3Credentials$Outbound; delivery_metadata?: { [k: string]: string; } | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const DestinationCreateAwss3$outboundSchema: z.ZodType; export declare function destinationCreateAwss3ToJSON(destinationCreateAwss3: DestinationCreateAwss3): string; export declare function destinationCreateAwss3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=destinationcreateawss3.d.ts.map