Beispiel #1
0
 /// <summary>
 /// Constructs AmazonAccountClient with AWS Credentials and an
 /// AmazonAccountClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonAccountClient Configuration Object</param>
 public AmazonAccountClient(AWSCredentials credentials, AmazonAccountConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Constructs AmazonAccountClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonAccountClient Configuration object.
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonAccountClient Configuration Object</param>
 public AmazonAccountClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAccountConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Constructs AmazonAccountClient with the credentials loaded from the application's
 /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
 ///
 /// Example App.config with credentials set.
 /// <code>
 /// &lt;?xml version="1.0" encoding="utf-8" ?&gt;
 /// &lt;configuration&gt;
 ///     &lt;appSettings&gt;
 ///         &lt;add key="AWSProfileName" value="AWS Default"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 ///
 /// </summary>
 /// <param name="config">The AmazonAccountClient Configuration Object</param>
 public AmazonAccountClient(AmazonAccountConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config)
 {
 }