1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* Automatically managed default lints */
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
/* End of automatically managed default lints */
//! `aws-credential-types` provides types concerned with AWS SDK credentials including:
//! * Traits for credentials providers and for credentials caching
//! * An opaque struct representing credentials
//! * Concrete implementations of credentials caching
#![allow(clippy::derive_partial_eq_without_eq)]
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
rustdoc::missing_crate_level_docs,
unreachable_pub
)]
pub mod attributes;
pub mod credential_fn;
mod credentials_impl;
pub mod provider;
pub mod token_fn;
pub use credentials_impl::{Credentials, CredentialsBuilder};
/// AWS Access Token
///
/// This access token type is used to authenticate to AWS services that use HTTP Bearer
/// Auth with an AWS Builder ID such as CodeCatalyst.
///
/// For more details on tokens, see: <https://oauth.net/2/access-tokens>
pub type Token = aws_smithy_runtime_api::client::identity::http::Token;