Struct aws_sdk_gamelift::types::AwsCredentials
source · #[non_exhaustive]pub struct AwsCredentials {
pub access_key_id: Option<String>,
pub secret_access_key: Option<String>,
pub session_token: Option<String>,
}Expand description
Temporary access credentials used for uploading game build files to Amazon GameLift. They are valid for a limited time. If they expire before you upload your game build, get a new set by calling RequestUploadCredentials.
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: Option<String>Temporary key allowing access to the Amazon GameLift S3 account.
secret_access_key: Option<String>Temporary secret key allowing access to the Amazon GameLift S3 account.
session_token: Option<String>Token used to associate a specific build ID with the files uploaded using these credentials.
Implementations§
source§impl AwsCredentials
impl AwsCredentials
sourcepub fn access_key_id(&self) -> Option<&str>
pub fn access_key_id(&self) -> Option<&str>
Temporary key allowing access to the Amazon GameLift S3 account.
sourcepub fn secret_access_key(&self) -> Option<&str>
pub fn secret_access_key(&self) -> Option<&str>
Temporary secret key allowing access to the Amazon GameLift S3 account.
sourcepub fn session_token(&self) -> Option<&str>
pub fn session_token(&self) -> Option<&str>
Token used to associate a specific build ID with the files uploaded using these credentials.
source§impl AwsCredentials
impl AwsCredentials
sourcepub fn builder() -> AwsCredentialsBuilder
pub fn builder() -> AwsCredentialsBuilder
Creates a new builder-style object to manufacture AwsCredentials.
Trait Implementations§
source§impl Clone for AwsCredentials
impl Clone for AwsCredentials
source§fn clone(&self) -> AwsCredentials
fn clone(&self) -> AwsCredentials
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 AwsCredentials
impl Debug for AwsCredentials
source§impl PartialEq<AwsCredentials> for AwsCredentials
impl PartialEq<AwsCredentials> for AwsCredentials
source§fn eq(&self, other: &AwsCredentials) -> bool
fn eq(&self, other: &AwsCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsCredentials
Auto Trait Implementations§
impl RefUnwindSafe for AwsCredentials
impl Send for AwsCredentials
impl Sync for AwsCredentials
impl Unpin for AwsCredentials
impl UnwindSafe for AwsCredentials
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