pub struct ExportS3<'a> {Show 16 fields
pub input: Input<'a, 'a>,
pub bucket: Cow<'a, str>,
pub region: Cow<'a, str>,
pub access_key_id: Cow<'a, str>,
pub secret_access_key: Cow<'a, str>,
pub endpoint: Option<Cow<'a, str>>,
pub key: Option<Cow<'a, str>>,
pub key_prefix: Option<Cow<'a, str>>,
pub session_token: Option<Cow<'a, str>>,
pub acl: Option<Cow<'a, str>>,
pub cache_control: Option<Cow<'a, str>>,
pub content_disposition: Option<Cow<'a, str>>,
pub content_type: Option<Cow<'a, str>>,
pub metadata: Option<Value>,
pub server_side_encrpytion: Option<Cow<'a, str>>,
pub tagging: Option<Value>,
}Expand description
Export files to an S3 compatible bucket.
Fields§
§input: Input<'a, 'a>The ID of the task, or tasks, to export.
bucket: Cow<'a, str>§region: Cow<'a, str>§access_key_id: Cow<'a, str>§secret_access_key: Cow<'a, str>§endpoint: Option<Cow<'a, str>>§key: Option<Cow<'a, str>>§key_prefix: Option<Cow<'a, str>>§session_token: Option<Cow<'a, str>>§acl: Option<Cow<'a, str>>§cache_control: Option<Cow<'a, str>>§content_disposition: Option<Cow<'a, str>>§content_type: Option<Cow<'a, str>>§metadata: Option<Value>§server_side_encrpytion: Option<Cow<'a, str>>§tagging: Option<Value>Implementations§
Trait Implementations§
Source§impl<'a> JsonApiCall for ExportS3<'a>
impl<'a> JsonApiCall for ExportS3<'a>
Source§type JsonResponse = TasksOutput
type JsonResponse = TasksOutput
The response type of the call, as is returned by the server. Read more
Source§type JsonRequest = ExportS3<'a>
type JsonRequest = ExportS3<'a>
The request that is sent to the server.
self is converted to this type, using
Self::try_into_request before making the API call.Source§fn try_into_request(self) -> Result<ExportS3<'a>, Error>
fn try_into_request(self) -> Result<ExportS3<'a>, Error>
Convert
self to a Self::JsonRequest. This is called before making the HTTP POST
request.Source§fn parse_json_response(
status: StatusCode,
content_type: Option<HeaderValue>,
raw_resp: Vec<u8>,
resp: Result<Self::JsonResponse>,
) -> Result<Status, Error>
fn parse_json_response( status: StatusCode, content_type: Option<HeaderValue>, raw_resp: Vec<u8>, resp: Result<Self::JsonResponse>, ) -> Result<Status, Error>
Convert a
Self::JsonResponse, as received from the server, into Self::Output.Source§fn modify_request(&self, request_builder: Builder) -> Builder
fn modify_request(&self, request_builder: Builder) -> Builder
A hook used to modify the request before it’s finalised. This is called directly before the
body method on the builder is called.impl<'a> ApiCall for ExportS3<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExportS3<'a>
impl<'a> RefUnwindSafe for ExportS3<'a>
impl<'a> Send for ExportS3<'a>
impl<'a> Sync for ExportS3<'a>
impl<'a> Unpin for ExportS3<'a>
impl<'a> UnwindSafe for ExportS3<'a>
Blanket Implementations§
Source§impl<T> ApiCall for Twhere
T: JsonApiCall,
impl<T> ApiCall for Twhere
T: JsonApiCall,
Source§type Output = <T as JsonApiCall>::Output
type Output = <T as JsonApiCall>::Output
The output type of the call.
Source§type RequestBody = Vec<u8>
type RequestBody = Vec<u8>
The type of the request body.
Source§fn modify_request(&self, request_builder: Builder) -> Builder
fn modify_request(&self, request_builder: Builder) -> Builder
A hook used to modify the request before it’s finalised. This is called directly before the
body method on the builder is called.Source§fn request_body(self) -> Result<<T as ApiCall>::RequestBody, Error>
fn request_body(self) -> Result<<T as ApiCall>::RequestBody, Error>
Convert
self to a Self::RequestBody. This is called before making the HTTP POST
request.Source§fn response<'async_trait, B>(
resp: Response<B>,
) -> Pin<Box<dyn Future<Output = Result<<T as ApiCall>::Output, Error>> + Send + 'async_trait>>where
B: 'async_trait + ResponseBody,
T: 'async_trait,
fn response<'async_trait, B>(
resp: Response<B>,
) -> Pin<Box<dyn Future<Output = Result<<T as ApiCall>::Output, Error>> + Send + 'async_trait>>where
B: 'async_trait + ResponseBody,
T: 'async_trait,
Convert a
http::Response, as received from the server, into Self::Output.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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<C> RawApiCall for Cwhere
C: ApiCall,
impl<C> RawApiCall for Cwhere
C: ApiCall,
Source§type RequestBody = <C as ApiCall>::RequestBody
type RequestBody = <C as ApiCall>::RequestBody
The type of the request body.
Source§fn request<'life0, 'async_trait, B, T>(
self,
client: &'life0 Client<B, T>,
) -> Pin<Box<dyn Future<Output = Result<<C as RawApiCall>::Output, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
B: From<<C as RawApiCall>::RequestBody> + Sync + 'async_trait + Send,
T: 'async_trait + Transport<B>,
C: 'async_trait,
fn request<'life0, 'async_trait, B, T>(
self,
client: &'life0 Client<B, T>,
) -> Pin<Box<dyn Future<Output = Result<<C as RawApiCall>::Output, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
B: From<<C as RawApiCall>::RequestBody> + Sync + 'async_trait + Send,
T: 'async_trait + Transport<B>,
C: 'async_trait,
Make a request using a client. Read more