/// <summary>Creates a new instance of <see cref="AmazonS3Client" /></summary> /// <param name="credentials">The credentials to use</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public AmazonS3Client(IAccessKey credentials, AmazonS3Region region, IWebProxy?proxy = null) : this(new AmazonS3Config(credentials, region), proxy) { }
public AmazonS3Config(IAccessKey credentials, AmazonS3Region region) : this() { Credentials = credentials; Region = region; }
/// <summary>Creates a new instance of <see cref="AmazonS3Client" /></summary> /// <param name="keyId">The key id</param> /// <param name="accessKey">The secret access key</param> /// <param name="region">The region you wish to use</param> /// <param name="proxy">A web proxy (optional)</param> public AmazonS3Client(string keyId, string accessKey, AmazonS3Region region, IWebProxy?proxy = null) : this(new AmazonS3Config(new StringAccessKey(keyId, accessKey), region), proxy) { }
public AmazonS3Config(string keyId, string secretKey, AmazonS3Region region) : this(new StringAccessKey(keyId, secretKey), region) { }