Struct aws_sdk_s3::presigning::config::PresigningConfig [−][src]
#[non_exhaustive]pub struct PresigningConfig { /* fields omitted */ }
Expand description
Presigning config values required for creating a presigned request.
Implementations
Creates a PresigningConfig
with the given expires_in
duration.
The expires_in
duration is the total amount of time the presigned request should
be valid for. Other config values are defaulted.
Credential expiration time takes priority over the expires_in
value.
If the credentials used to sign the request expire before the presigned request is
set to expire, then the presigned request will become invalid.
Returns the amount of time the presigned request should be valid for.
Returns the start time. The presigned request will be valid between this and the end
time produced by adding the expires()
value to it.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PresigningConfig
impl Send for PresigningConfig
impl Sync for PresigningConfig
impl Unpin for PresigningConfig
impl UnwindSafe for PresigningConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more