AWS SDK for C++

AWS SDK for C++ Version 1.11.928

Loading...
Searching...
No Matches
ConfigAndCredentialsCacheManager.h
1
6#pragma once
7
8#include <aws/core/config/AWSProfileConfigLoader.h>
9
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/auth/AWSCredentials.h>
13#include <aws/core/utils/threading/ReaderWriterLock.h>
14
15namespace Aws
16{
17 namespace Config
18 {
77
79
81
82 AWS_CORE_API void ReloadCachedConfigFile();
83
84 AWS_CORE_API void ReloadCachedCredentialsFile();
85
86 AWS_CORE_API bool HasCachedConfigProfile(const Aws::String& profileName);
87
89
91
92 AWS_CORE_API Aws::String GetCachedConfigValue(const Aws::String& profileName, const Aws::String& key);
93
95
96 AWS_CORE_API bool HasCachedCredentialsProfile(const Aws::String &profileName);
97
99
101
103 }
104}
bool HasCredentialsProfile(const Aws::String &profileName) const
Aws::Map< Aws::String, Aws::Config::Profile > GetCredentialsProfiles() const
Aws::Config::Profile GetConfigProfile(const Aws::String &profileName) const
Aws::Auth::AWSCredentials GetCredentials(const Aws::String &profileName) const
bool HasConfigProfile(const Aws::String &profileName) const
Aws::String GetConfig(const Aws::String &profileName, const Aws::String &key) const
Aws::Map< Aws::String, Aws::Config::Profile > GetConfigProfiles() const
Aws::Config::Profile GetCredentialsProfile(const Aws::String &profileName) const
AWS_CORE_API void InitConfigAndCredentialsCacheManager()
AWS_CORE_API bool HasCachedConfigProfile(const Aws::String &profileName)
AWS_CORE_API bool HasCachedCredentialsProfile(const Aws::String &profileName)
AWS_CORE_API void CleanupConfigAndCredentialsCacheManager()
AWS_CORE_API void ReloadCachedConfigFile()
AWS_CORE_API Aws::Config::Profile GetCachedConfigProfile(const Aws::String &profileName)
AWS_CORE_API Aws::Map< Aws::String, Aws::Config::Profile > GetCachedConfigProfiles()
AWS_CORE_API Aws::String GetCachedConfigValue(const Aws::String &profileName, const Aws::String &key)
AWS_CORE_API void ReloadCachedCredentialsFile()
AWS_CORE_API Aws::Auth::AWSCredentials GetCachedCredentials(const Aws::String &profileName)
AWS_CORE_API Aws::Config::Profile GetCachedCredentialsProfile(const Aws::String &profileName)
AWS_CORE_API Aws::Map< Aws::String, Aws::Config::Profile > GetCachedCredentialsProfiles()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition AWSMap.h:20
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97