import type * as DynamoDB from "@distilled.cloud/aws/dynamodb"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Bucket } from "../S3/Bucket.ts"; import type { Table } from "./Table.ts"; export interface ExportTableToPointInTimeRequest extends Omit { } /** * Runtime binding for `dynamodb:ExportTableToPointInTime`. * * Bind this operation to a `Table` and a destination S3 `Bucket` inside a * function runtime to get a callable that starts a point-in-time export of * the table to the bucket, automatically injecting the table ARN and bucket * name. The table must have point-in-time recovery enabled. The deploy-time * half grants the export action on the table plus the S3 write permissions * the export requires on the bucket. Provide the `ExportTableToPointInTimeHttp` * layer on the Function to satisfy the binding. * ### Exporting to S3 * **Example:** Start a Full Export * ```typescript * const exportTable = yield* AWS.DynamoDB.ExportTableToPointInTime( * table, * bucket, * ); * * const response = yield* exportTable({ ExportFormat: "DYNAMODB_JSON" }); * const exportArn = response.ExportDescription?.ExportArn; * ``` * * @binding */ export interface ExportTableToPointInTime extends Binding.Service(table: T, bucket: B) => Effect.Effect<(request?: ExportTableToPointInTimeRequest) => Effect.Effect>> { } export declare const ExportTableToPointInTime: ExportTableToPointInTime; //# sourceMappingURL=ExportTableToPointInTime.d.ts.map