Function aws_util::aws::account[][src]

pub async fn account(
    provider: impl ProvideAwsCredentials + Send + Sync + 'static,
    region: Region,
    timeout: Duration
) -> Result<String, Error>
Expand description

Fetches the AWS account number of the caller via AWS Security Token Service.

For details about STS, see AWS documentation.