AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.Runtime
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract class ClientConfig : Object
The ClientConfig type exposes the following members
Name | Description | |
---|---|---|
ClientConfig() |
Name | Type | Description | |
---|---|---|---|
AuthenticationRegion | System.String | Gets and sets the AuthenticationRegion property. Used in AWS4 request signing, this is an optional property; change it only if the region cannot be determined from the service endpoint. | |
AuthenticationServiceName | System.String | Gets and sets the AuthenticationServiceName property. Used in AWS4 request signing, this is the short-form name of the service being called. | |
BufferSize | System.Int32 | Gets and Sets the BufferSize property. The BufferSize controls the buffer used to read in from input streams and write out to the request. | |
ConnectionLimit | System.Int32 | Gets and sets the connection limit set on the ServicePoint for the WebRequest. Default value is 50 connections unless ServicePointManager.DefaultConnectionLimit is set in which case ServicePointManager.DefaultConnectionLimit will be used as the default. | |
LogMetrics | System.Boolean |
Flag on whether to log metrics for service calls.
This can be set in the application's configs, as below:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSLogMetrics" value"true"/> </appSettings> </configuration> |
|
LogResponse | System.Boolean | Gets and sets the LogResponse. If this property is set to true, the service response is read in its entirety and logged. | |
MaxErrorRetry | System.Int32 | Gets and sets of the MaxErrorRetry property. | |
MaxIdleTime | System.Int32 | Gets and sets the max idle time set on the ServicePoint for the WebRequest. Default value is 50 seconds (50,000 ms) unless ServicePointManager.MaxServicePointIdleTime is set, in which case ServicePointManager.MaxServicePointIdleTime will be used as the default. | |
ProgressUpdateInterval | System.Int64 |
Gets or sets the interval at which progress update events are raised for upload operations. By default, the progress update events are raised at every 100KB of data transferred. If the value of this property is set less than ClientConfig.BufferSize, progress updates events will be raised at the interval specified by ClientConfig.BufferSize. |
|
ProxyCredentials | System.Net.ICredentials | Credentials to use with a proxy. | |
ProxyHost | System.String | Gets and sets of the ProxyHost property. | |
ProxyPort | System.Int32 | Gets and sets of the ProxyPort property. | |
ReadEntireResponse | System.Boolean | Gets and sets the ReadEntireResponse. If this property is set to true, the service response is read in its entirety before being processed. | |
ReadWriteTimeout | System.Nullable<System.TimeSpan> | Overrides the default read-write timeout value. | |
RegionEndpoint | Amazon.RegionEndpoint | Gets and sets the RegionEndpoint property. The region constant to use that determines the endpoint to use. If this is not set then the client will fallback to the value of ServiceURL. | |
ServiceURL | System.String | Gets and sets of the ServiceURL property. This is an optional property; change it only if you want to try a different service endpoint. | |
ServiceVersion | System.String | Gets Service Version | |
SignatureMethod | Amazon.Runtime.SigningAlgorithm | Gets and sets of the signatureMethod property. | |
SignatureVersion | System.String | Gets and sets of the SignatureVersion property. | |
Timeout | System.Nullable<System.TimeSpan> | Overrides the default request timeout value. | |
UseHttp | System.Boolean | Gets and sets the UseHttp. If this property is set to true, the client attempts to use HTTP protocol, if the target endpoint supports it. By default, this property is set to false. | |
UseNagleAlgorithm | System.Boolean | Gets or sets a Boolean value that determines whether the Nagle algorithm is used on connections managed by the ServicePoint object used for requests to AWS. This is defaulted to false for lower latency with responses that return small amount of data. This is the opposite default than ServicePoint.UseNagleAlgorithm which is optimized for large responses like web pages or images. | |
UserAgent | System.String | Gets and sets of the UserAgent property. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8