Struct aws_sdk_rust::aws::common::credentials::AwsCredentials [] [src]

pub struct AwsCredentials {
    // some fields omitted
}

AwsCredentials - Base struct for AWS

access_key_id - Can be &str or String. Represents AWS Access Key. secret_key - Can be &str or String. Represents AWS Secret Key. token - None or String. Represents AWS Token for IAM credentials. expires_at - Default to 10 minutes.

Methods

impl AwsCredentials
[src]

First method to be called. Creates the AWS credentials.

Get a reference to the access key ID.

Get a reference to the secret key.

Get a reference to the expiration time.

Get a reference to the access token.

Trait Implementations

impl Debug for AwsCredentials
[src]

Formats the value using the given formatter.

impl Clone for AwsCredentials
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more