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 DestinationAwss3 = { /** * Control plane generated ID or user provided ID for the destination. */ id: string; /** * Type of the destination. */ 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; /** * ISO Date when the destination was disabled, or null if enabled. */ disabledAt: Date | null; /** * ISO Date when the destination was created. */ createdAt: Date; /** * ISO Date when the destination was last updated. */ updatedAt: Date; 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; /** * A human-readable representation of the destination target (bucket and region). Read-only. */ target?: string | undefined; /** * A URL link to the destination target (AWS Console link to the bucket). Read-only. */ targetUrl?: string | null | undefined; }; /** @internal */ export declare const DestinationAwss3$inboundSchema: z.ZodType; /** @internal */ export type DestinationAwss3$Outbound = { id: string; type: "aws_s3"; topics: Topics$Outbound; filter?: { [k: string]: any; } | null | undefined; disabled_at: string | null; created_at: string; updated_at: string; config: Awss3Config$Outbound; credentials: Awss3Credentials$Outbound; delivery_metadata?: { [k: string]: string; } | null | undefined; metadata?: { [k: string]: string; } | null | undefined; target?: string | undefined; target_url?: string | null | undefined; }; /** @internal */ export declare const DestinationAwss3$outboundSchema: z.ZodType; export declare function destinationAwss3ToJSON(destinationAwss3: DestinationAwss3): string; export declare function destinationAwss3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=destinationawss3.d.ts.map