pub struct CreateS3CredentialDto {
pub provider: ProviderTrue,
pub aws_access_key_id: String,
pub aws_secret_access_key: String,
pub region: String,
pub s3_bucket_name: String,
pub s3_path_prefix: String,
pub fallback_index: Option<f64>,
pub name: Option<String>,
}
Fields§
§provider: ProviderTrue
Credential provider. Only allowed value is s3
aws_access_key_id: String
AWS access key ID.
aws_secret_access_key: String
AWS access key secret. This is not returned in the API.
region: String
AWS region in which the S3 bucket is located.
s3_bucket_name: String
AWS S3 bucket name.
s3_path_prefix: String
The path prefix for the uploaded recording. Ex. "recordings/"
fallback_index: Option<f64>
This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
name: Option<String>
This is the name of credential. This is just for your reference.
Implementations§
Source§impl CreateS3CredentialDto
impl CreateS3CredentialDto
pub fn new( provider: ProviderTrue, aws_access_key_id: String, aws_secret_access_key: String, region: String, s3_bucket_name: String, s3_path_prefix: String, ) -> CreateS3CredentialDto
Trait Implementations§
Source§impl Clone for CreateS3CredentialDto
impl Clone for CreateS3CredentialDto
Source§fn clone(&self) -> CreateS3CredentialDto
fn clone(&self) -> CreateS3CredentialDto
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateS3CredentialDto
impl Debug for CreateS3CredentialDto
Source§impl Default for CreateS3CredentialDto
impl Default for CreateS3CredentialDto
Source§fn default() -> CreateS3CredentialDto
fn default() -> CreateS3CredentialDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateS3CredentialDto
impl<'de> Deserialize<'de> for CreateS3CredentialDto
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
Source§impl PartialEq for CreateS3CredentialDto
impl PartialEq for CreateS3CredentialDto
Source§impl Serialize for CreateS3CredentialDto
impl Serialize for CreateS3CredentialDto
impl StructuralPartialEq for CreateS3CredentialDto
Auto Trait Implementations§
impl Freeze for CreateS3CredentialDto
impl RefUnwindSafe for CreateS3CredentialDto
impl Send for CreateS3CredentialDto
impl Sync for CreateS3CredentialDto
impl Unpin for CreateS3CredentialDto
impl UnwindSafe for CreateS3CredentialDto
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