pub struct PresignedUrlConfig {
pub expires_in_sec: Option<i64>,
pub role_arn: Option<String>,
}Expand description
Configuration for pre-signed S3 URLs.
Fields§
§expires_in_sec: Option<i64>How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 3600 seconds. Pre-signed URLs are generated when Jobs receives an MQTT request for the job document.
role_arn: Option<String>The ARN of an IAM role that grants grants permission to download files from the S3 bucket where the job data/updates are stored. The role must also grant permission for IoT to download the files.
Trait Implementations§
Source§impl Clone for PresignedUrlConfig
impl Clone for PresignedUrlConfig
Source§fn clone(&self) -> PresignedUrlConfig
fn clone(&self) -> PresignedUrlConfig
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 PresignedUrlConfig
impl Debug for PresignedUrlConfig
Source§impl Default for PresignedUrlConfig
impl Default for PresignedUrlConfig
Source§fn default() -> PresignedUrlConfig
fn default() -> PresignedUrlConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresignedUrlConfig
impl<'de> Deserialize<'de> for PresignedUrlConfig
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 PresignedUrlConfig
impl PartialEq for PresignedUrlConfig
Source§impl Serialize for PresignedUrlConfig
impl Serialize for PresignedUrlConfig
impl StructuralPartialEq for PresignedUrlConfig
Auto Trait Implementations§
impl Freeze for PresignedUrlConfig
impl RefUnwindSafe for PresignedUrlConfig
impl Send for PresignedUrlConfig
impl Sync for PresignedUrlConfig
impl Unpin for PresignedUrlConfig
impl UnwindSafe for PresignedUrlConfig
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