pub struct RdsClient<'a> { /* private fields */ }Implementations§
Source§impl RdsClient<'_>
impl RdsClient<'_>
Sourcepub async fn get_instances(&self) -> Result<RdsInstancesResponse, Error>
pub async fn get_instances(&self) -> Result<RdsInstancesResponse, Error>
List fakecloud-managed RDS DB instances with runtime metadata.
Sourcepub async fn lambda_invoke(
&self,
req: &RdsLambdaInvokeRequest,
) -> Result<RdsLambdaInvokeResponse, Error>
pub async fn lambda_invoke( &self, req: &RdsLambdaInvokeRequest, ) -> Result<RdsLambdaInvokeResponse, Error>
Bridge endpoint used by the PostgreSQL aws_lambda extension
running inside an RDS container to invoke a Lambda function. A
status_code of 502 is returned (with the response body still
JSON-decodable) when the target Lambda is unavailable.
Sourcepub async fn s3_import(
&self,
req: &RdsS3ImportRequest,
) -> Result<RdsS3ImportResponse, Error>
pub async fn s3_import( &self, req: &RdsS3ImportRequest, ) -> Result<RdsS3ImportResponse, Error>
Bridge endpoint for the PostgreSQL aws_s3 extension’s import
path. Mirrors aws_s3.table_import_from_s3 at the transport layer.
Sourcepub async fn s3_export(
&self,
req: &RdsS3ExportRequest,
) -> Result<RdsS3ExportResponse, Error>
pub async fn s3_export( &self, req: &RdsS3ExportRequest, ) -> Result<RdsS3ExportResponse, Error>
Bridge endpoint for the PostgreSQL aws_s3 extension’s export
path. Mirrors aws_s3.query_export_to_s3 at the transport layer.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RdsClient<'a>
impl<'a> !UnwindSafe for RdsClient<'a>
impl<'a> Freeze for RdsClient<'a>
impl<'a> Send for RdsClient<'a>
impl<'a> Sync for RdsClient<'a>
impl<'a> Unpin for RdsClient<'a>
impl<'a> UnsafeUnpin for RdsClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more