Configuration for AWS jobs using a specific client type.
More...
#include <AWSApiClientJobConfig.h>
Inherits AWSCore::AwsApiJobConfig, and AWSCore::IAwsApiClientJobConfig< ClientType >.
|
using | AwsApiClientJobConfigType = AwsApiClientJobConfig< ClientType > |
|
using | InitializerFunction = AZStd::function< void(AwsApiClientJobConfigType &config)> |
|
using | InitializerFunction = AZStd::function< void(AwsApiJobConfig &config)> |
|
template<typename T > |
using | Override = AZStd::optional< T > |
| Type used to encapsulate override values.
|
|
|
void | ApplySettings () override |
| Applies settings changes made after first use.
|
|
std::shared_ptr< ClientType > | CreateClient () const |
|
void | EnsureSettingsApplied () |
| Ensures that ApplySettings has been called.
|
|
template<class ConfigType > |
void | Visit (AZStd::function< void(const ConfigType &)> visitor) const |
|
std::shared_ptr< Aws::Auth::AWSCredentialsProvider > | GetCredentialsProvider () const |
|
|
Override< AZ::JobContext * > | jobContext |
|
Override< std::shared_ptr< Aws::Auth::AWSCredentialsProvider > > | credentialsProvider |
|
Override< Aws::String > | userAgent |
|
Override< Aws::Http::Scheme > | scheme |
|
Override< Aws::String > | region |
|
Override< unsigned > | maxConnections |
|
Override< long > | requestTimeoutMs |
|
Override< long > | connectTimeoutMs |
|
Override< std::shared_ptr< Aws::Client::RetryStrategy > > | retryStrategy |
|
Override< Aws::String > | endpointOverride |
|
Override< Aws::String > | proxyHost |
|
Override< unsigned > | proxyPort |
|
Override< Aws::String > | proxyUserName |
|
Override< Aws::String > | proxyPassword |
|
Override< std::shared_ptr< Aws::Utils::Threading::Executor > > | executor |
|
Override< bool > | verifySSL |
|
Override< std::shared_ptr< Aws::Utils::RateLimits::RateLimiterInterface > > | writeRateLimiter |
|
Override< std::shared_ptr< Aws::Utils::RateLimits::RateLimiterInterface > > | readRateLimiter |
|
Override< Aws::Http::TransferLibType > | httpLibOverride |
|
Override< bool > | followRedirects |
|
Override< Aws::String > | caFile |
|
template<typename T > |
static void | CheckAndSet (const Override< T > &src, T &dst) |
| Helper function for applying Override typed members.
|
|
template<class ClientType>
class AWSCore::AwsApiClientJobConfig< ClientType >
Configuration for AWS jobs using a specific client type.
◆ AwsApiClientJobConfig()
template<class ClientType >
Initialize an AwsApiClientJobConfig object.
- Parameters
-
defaultConfig | - the config object that provides values when no override has been set in this object. The default is nullptr, which will cause a default value to be used. |
initializer | - a function called to initialize this object. This simplifies the initialization of static instances. The default value is nullptr, in which case no initializer will be called. |
◆ ApplySettings()
template<class ClientType >
|
inlineoverrideprotectedvirtual |
◆ CreateClient()
template<class ClientType >
Create a client configured using this object's settings. ClientType can be any of the AWS API service clients (e.g. LambdaClient, etc.).
◆ GetClient()
template<class ClientType >
The documentation for this class was generated from the following file:
- Gems/AWSCore/Code/Include/Framework/AWSApiClientJobConfig.h