protected AmazonServiceClient(AWSCredentials credentials, ClientConfig config) { if (config.DisableLogging) { _logger = Logger.EmptyLogger; } else { _logger = Logger.GetLogger(GetType()); } config.Validate(); Config = config; Credentials = credentials; Signer = CreateSigner(); Initialize(); BuildRuntimePipeline(); }
internal AbstractWebServiceClient(AWSCredentials credentials, ClientConfig config, AuthenticationTypes authenticationType) { if (config.DisableLogging) { this.logger = Logger.EmptyLogger; } else { this.logger = Logger.GetLogger(this.GetType()); } config.Validate(); this.Config = config; this.AuthenticationType = authenticationType; this.Credentials = credentials; Initialize(); }
protected AmazonServiceClient(AWSCredentials credentials, ClientConfig config) { if (config.DisableLogging) { _logger = Logger.EmptyLogger; } else { _logger = Logger.GetLogger(this.GetType()); } config.Validate(); this.Credentials = credentials; _config = config; Signer = CreateSigner(); EndpointDiscoveryResolver = new EndpointDiscoveryResolver(config, _logger); Initialize(); BuildRuntimePipeline(); }