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