pub struct DatasetCredentialsResponse {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: String,
pub expiration: Option<DateTime<Utc>>,
pub s3_uri: String,
pub user_s3_uri: Option<String>,
pub region: Option<String>,
}Expand description
Response of POST /datasets/credentials: temporary, read-only credentials
plus a path, so a caller doesn’t need to reconstruct the S3 layout.
Fields§
§access_key_id: String§secret_access_key: String§session_token: String§expiration: Option<DateTime<Utc>>§s3_uri: String§user_s3_uri: Option<String>Where this key’s own runs publish, when its name can be a prefix segment.
None leaves the caller the shared dataset only.
region: Option<String>Trait Implementations§
Source§impl Clone for DatasetCredentialsResponse
impl Clone for DatasetCredentialsResponse
Source§impl Debug for DatasetCredentialsResponse
impl Debug for DatasetCredentialsResponse
Source§impl<'de> Deserialize<'de> for DatasetCredentialsResponse
impl<'de> Deserialize<'de> for DatasetCredentialsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DatasetCredentialsResponse
impl RefUnwindSafe for DatasetCredentialsResponse
impl Send for DatasetCredentialsResponse
impl Sync for DatasetCredentialsResponse
impl Unpin for DatasetCredentialsResponse
impl UnsafeUnpin for DatasetCredentialsResponse
impl UnwindSafe for DatasetCredentialsResponse
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