Configuration for accessing Amazon Budgets service
Наследование: Amazon.Runtime.ClientConfig
Пример #1
0
 /// <summary>
 /// Constructs AmazonBudgetsClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonBudgetsClient 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 AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonBudgetsConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Пример #2
0
 /// <summary>
 /// Constructs AmazonBudgetsClient with AWS Credentials and an
 /// AmazonBudgetsClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(AWSCredentials credentials, AmazonBudgetsConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
Пример #3
0
 /// <summary>
 /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(AmazonBudgetsConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config)
 {
 }
Пример #4
0
 /// <summary>
 /// Constructs AmazonBudgetsClient 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 AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(AmazonBudgetsConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
Пример #5
0
 /// <summary>
 /// Constructs AmazonBudgetsClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonBudgetsClient 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 AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonBudgetsConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Пример #6
0
 /// <summary>
 /// Constructs AmazonBudgetsClient with AWS Credentials and an
 /// AmazonBudgetsClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonBudgetsClient Configuration Object</param>
 public AmazonBudgetsClient(AWSCredentials credentials, AmazonBudgetsConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }