spiral-sdk 0.1.11

Rust SDK for Spiral resource and table APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Connections that resolve scoped access to external storage.

use uuid::Uuid;

pub use crate::api::connections::objects::*;
pub use crate::api::connections::{
    Connection as ExternalConnection, ConnectionResponse as ReadExternalConnectionResponse,
    CreateConnectionRequest as CreateExternalConnectionRequest,
    CreateConnectionResponse as CreateExternalConnectionResponse,
    DropResponse as DropExternalConnectionResponse, TestResponse as TestExternalConnectionResponse,
    VendRequest as VendCredentialRequest, VendResponse as VendCredentialResponse,
};

/// A Connection's stable resource identifier.
pub type ExternalConnectionId = Uuid;

/// Authenticated operations generated from the service contract.
pub use super::generated::connections::AuthenticatedClient as HttpExternalConnectionClient;