Configuration for accessing Amazon XRay service
Inheritance: Amazon.Runtime.ClientConfig
Exemplo n.º 1
0
 /// <summary>
 /// Constructs AmazonXRayClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonXRayClient 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 AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonXRayConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs AmazonXRayClient with AWS Credentials and an
 /// AmazonXRayClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(AWSCredentials credentials, AmazonXRayConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs AmazonXRayClient 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 AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(AmazonXRayConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructs AmazonXRayClient 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 AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(AmazonXRayConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
Exemplo n.º 5
0
 /// <summary>
 /// Constructs AmazonXRayClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonXRayClient 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 AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonXRayConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructs AmazonXRayClient with AWS Credentials and an
 /// AmazonXRayClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonXRayClient Configuration Object</param>
 public AmazonXRayClient(AWSCredentials credentials, AmazonXRayConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }