AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Client::GenericClientConfiguration Struct Reference

#include <GenericClientConfiguration.h>

Inheritance diagram for Aws::Client::GenericClientConfiguration:
[legend]

Public Member Functions

 
 GenericClientConfiguration (const char *inputProfileName, bool shouldDisableIMDS=false)
 
 GenericClientConfiguration (bool useSmartDefaults, const char *defaultMode="legacy", bool shouldDisableIMDS=false)
 
 

Public Member Functions inherited from Aws::Client::ClientConfiguration

 
 
 ClientConfiguration (const char *profileName, bool shouldDisableIMDS=false)
 
 ClientConfiguration (bool useSmartDefaults, const char *defaultMode="legacy", bool shouldDisableIMDS=false)
 
virtual ~ClientConfiguration ()=default
 
 

Additional Inherited Members

Static Public Member Functions inherited from Aws::Client::ClientConfiguration

static Aws::String LoadConfigFromEnvOrProfile (const Aws::String &envKey, const Aws::String &profile, const Aws::String &profileProperty, const Aws::Vector< Aws::String > &allowedValues, const Aws::String &defaultValue)
 
static Aws::String LoadConfigFromEnvOrProfileCaseSensitive (const Aws::String &envKey, const Aws::String &profile, const Aws::String &profileProperty, const Aws::Vector< Aws::String > &allowedValues, const Aws::String &defaultValue, const std::function< Aws::String(const char *)> &envValueMapping=Utils::StringUtils::ToLower)
 

Public Attributes inherited from Aws::Client::ClientConfiguration

 
 
 
 
bool useDualStack = false
 
bool useFIPS = false
 
unsigned maxConnections = 25
 
 
 
long connectTimeoutMs = 1000
 
bool enableTcpKeepAlive = true
 
unsigned long tcpKeepAliveIntervalMs = 30000
 
unsigned long lowSpeedLimit = 1
 
std::shared_ptr< RetryStrategyretryStrategy = nullptr
 
 
bool allowSystemProxy = false
 
 
 
unsigned proxyPort = 0
 
 
 
 
 
 
 
 
 
std::shared_ptr< Aws::Utils::Threading::Executorexecutor = nullptr
 
bool verifySSL = true
 
 
 
 
 
 
 
 
 
 
bool disableExpectHeader = false
 
 
 
Aws::Crt::Optional< bool > enableEndpointDiscovery
 
bool enableHttpClientTrace = false
 
 
 
bool disableIMDS = false
 
 
bool disableImdsV1 = false
 
 
struct { 
 
 
 
 
 
 
 
 
 
 
 
 
 
size_t awsChunkedBufferSize = 64UL * 1024
 

Detailed Description

This mutable structure is used to configure a regular AWS client.

Definition at line 18 of file GenericClientConfiguration.h.

Constructor & Destructor Documentation

◆ GenericClientConfiguration() [1/4]

Aws::Client::GenericClientConfiguration::GenericClientConfiguration ( const ClientConfigurationInitValues configuration = {})
inline

Definition at line 20 of file GenericClientConfiguration.h.

◆ GenericClientConfiguration() [2/4]

Aws::Client::GenericClientConfiguration::GenericClientConfiguration ( const char *  inputProfileName,
bool  shouldDisableIMDS = false 
)
inline

Create a configuration based on settings in the aws configuration file for the given profile name. The configuration file location can be set via the environment variable AWS_CONFIG_FILE

Parameters
profileNamethe aws profile name.
shouldDisableIMDSwhether or not to disable IMDS calls.

Definition at line 30 of file GenericClientConfiguration.h.

◆ GenericClientConfiguration() [3/4]

Aws::Client::GenericClientConfiguration::GenericClientConfiguration ( bool  useSmartDefaults,
const char *  defaultMode = "legacy",
bool  shouldDisableIMDS = false 
)
inlineexplicit

Create a configuration with a predefined smart defaults

Parameters
useSmartDefaults,requiredto differentiate c-tors
defaultMode,defaultmode to use
shouldDisableIMDSwhether or not to disable IMDS calls.

Definition at line 40 of file GenericClientConfiguration.h.

◆ GenericClientConfiguration() [4/4]

Aws::Client::GenericClientConfiguration::GenericClientConfiguration ( const ClientConfiguration config)
inline

Definition at line 44 of file GenericClientConfiguration.h.


The documentation for this struct was generated from the following file: