import type * as DynamoDB from "@distilled.cloud/aws/dynamodb"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Table } from "./Table.ts"; export interface DescribeExportRequest extends DynamoDB.DescribeExportInput { } /** * Runtime binding for `dynamodb:DescribeExport`. * * Bind this operation to a `Table` inside a function runtime to get a callable * that reads the status of one of the bound table's S3 exports by ARN. The * IAM grant covers every export of the bound table (`{tableArn}/export/*`). * Provide the `DescribeExportHttp` layer on the Function to satisfy the * binding. * ### Exporting to S3 * **Example:** Poll an Export Until It Completes * ```typescript * const describeExport = yield* AWS.DynamoDB.DescribeExport(table); * * const response = yield* describeExport({ ExportArn: exportArn }); * const status = response.ExportDescription?.ExportStatus; * ``` * * @binding */ export interface DescribeExport extends Binding.Service(table: T) => Effect.Effect<(request: DescribeExportRequest) => Effect.Effect>> { } export declare const DescribeExport: DescribeExport; //# sourceMappingURL=DescribeExport.d.ts.map