Struct aws_sdk_codepipeline::types::AwsSessionCredentials
source · #[non_exhaustive]pub struct AwsSessionCredentials {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: String,
}
Expand description
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.access_key_id: String
The access key for the session.
secret_access_key: String
The secret access key for the session.
session_token: String
The token for the session.
Implementations§
source§impl AwsSessionCredentials
impl AwsSessionCredentials
sourcepub fn access_key_id(&self) -> &str
pub fn access_key_id(&self) -> &str
The access key for the session.
sourcepub fn secret_access_key(&self) -> &str
pub fn secret_access_key(&self) -> &str
The secret access key for the session.
sourcepub fn session_token(&self) -> &str
pub fn session_token(&self) -> &str
The token for the session.
source§impl AwsSessionCredentials
impl AwsSessionCredentials
sourcepub fn builder() -> AwsSessionCredentialsBuilder
pub fn builder() -> AwsSessionCredentialsBuilder
Creates a new builder-style object to manufacture AwsSessionCredentials
.
Trait Implementations§
source§impl Clone for AwsSessionCredentials
impl Clone for AwsSessionCredentials
source§fn clone(&self) -> AwsSessionCredentials
fn clone(&self) -> AwsSessionCredentials
Returns a copy 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 AwsSessionCredentials
impl Debug for AwsSessionCredentials
source§impl PartialEq for AwsSessionCredentials
impl PartialEq for AwsSessionCredentials
source§fn eq(&self, other: &AwsSessionCredentials) -> bool
fn eq(&self, other: &AwsSessionCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsSessionCredentials
Auto Trait Implementations§
impl Freeze for AwsSessionCredentials
impl RefUnwindSafe for AwsSessionCredentials
impl Send for AwsSessionCredentials
impl Sync for AwsSessionCredentials
impl Unpin for AwsSessionCredentials
impl UnwindSafe for AwsSessionCredentials
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.