1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! # faucet-common-redshift
//!
//! Shared connection, credentials, and connection-pool types for the
//! [`faucet-stream`](https://crates.io/crates/faucet-stream) Amazon Redshift
//! source and sink connectors.
//!
//! - [`RedshiftCredentials`] — `password`, `iam` (temporary credentials from
//! `GetClusterCredentials` / serverless `GetCredentials`, refreshed before
//! they expire) and `redshift_data_api` (statements over HTTPS through the
//! Redshift Data API).
//! - [`RedshiftConnection`] — host / port / database / user + TLS; flattened
//! into both end configs so the wire shape matches the other SQL connectors.
//! - [`connect_lazy`] / [`RedshiftPool`] — the PostgreSQL wire pool for
//! `password` and `iam` (Redshift is wire-compatible with PostgreSQL, so both
//! connectors use `sqlx`'s Postgres driver); [`build_connect_options`] /
//! [`build_pool`] / [`build_pool_lazy`] for `password`.
//! - [`DataApiClient`] — submit, poll and page statements through the Data
//! API, with [`data_api::field_to_json`] rendering its typed fields.
pub use ;
pub use ;
pub use DataApiClient;
pub use ;