Struct aws_sdk_iot::model::PresignedUrlConfig
source · [−]#[non_exhaustive]pub struct PresignedUrlConfig { /* private fields */ }
Expand description
Configuration for pre-signed S3 URLs.
Implementations
sourceimpl PresignedUrlConfig
impl PresignedUrlConfig
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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.
For information about addressing the confused deputy problem, see cross-service confused deputy prevention in the Amazon Web Services IoT Core developer guide.
sourcepub fn expires_in_sec(&self) -> Option<i64>
pub fn expires_in_sec(&self) -> 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.
sourceimpl PresignedUrlConfig
impl PresignedUrlConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PresignedUrlConfig
.
Trait Implementations
sourceimpl Clone for PresignedUrlConfig
impl Clone for PresignedUrlConfig
sourcefn clone(&self) -> PresignedUrlConfig
fn clone(&self) -> PresignedUrlConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PresignedUrlConfig
impl Debug for PresignedUrlConfig
sourceimpl PartialEq<PresignedUrlConfig> for PresignedUrlConfig
impl PartialEq<PresignedUrlConfig> for PresignedUrlConfig
sourcefn eq(&self, other: &PresignedUrlConfig) -> bool
fn eq(&self, other: &PresignedUrlConfig) -> bool
impl StructuralPartialEq for PresignedUrlConfig
Auto Trait Implementations
impl RefUnwindSafe for PresignedUrlConfig
impl Send for PresignedUrlConfig
impl Sync for PresignedUrlConfig
impl Unpin for PresignedUrlConfig
impl UnwindSafe for PresignedUrlConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more