1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

//! IMDSv2 Client, credential, and region provider
//!
//! See [`client`] for more information.
//!
//! _Note: An IMDS credentials provider is not currently implemented. This module currently only
//! contains an IMDS client._
//!
pub mod client;

pub mod credentials;
pub mod region;

mod env {
    pub(crate) const EC2_METADATA_DISABLED: &str = "AWS_EC2_METADATA_DISABLED";
}

#[doc(inline)]
pub use client::Client;