aws_config/imds/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 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.
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;