import TOSBase from '../base'; export interface NotificationFilter { TOSKey?: { FilterRules: { Name: string; Value: string; }[]; }; } export interface DestinationRocketMQ { Role: string; InstanceId: string; Topic: string; AccessKeyId: string; Region?: string; } /** * @private unstable */ export interface DestinationKafka { Role: string; InstanceId: string; Topic: string; User: string; Region?: string; } interface DestinationHttpServer { Url: string; } export interface NotificationDestination { RocketMQ?: DestinationRocketMQ[]; VeFaaS?: { FunctionId: string; }[]; Kafka?: DestinationKafka[]; HttpServer?: DestinationHttpServer[]; } export interface NotificationRule { RuleId: string; Events: string[]; Filter?: NotificationFilter; Destination: NotificationDestination; } export interface PutBucketNotificationInput { bucket: string; Rules: NotificationRule[]; Version?: string; } export interface PutBucketNotificationOutput { } export declare function putBucketNotificationType2(this: TOSBase, input: PutBucketNotificationInput): Promise>; export interface GetBucketNotificationInput { bucket: string; } export interface GetBucketNotificationOutput { Rules: NotificationRule[]; Version?: string; } export declare function getBucketNotificationType2(this: TOSBase, input: GetBucketNotificationInput): Promise>; export {};