/// <summary> /// Constructs AmazonCloudWatchRUMClient with AWS Credentials and an /// AmazonCloudWatchRUMClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonCloudWatchRUMClient Configuration Object</param> public AmazonCloudWatchRUMClient(AWSCredentials credentials, AmazonCloudWatchRUMConfig clientConfig) : base(credentials, clientConfig) { }
/// <summary> /// Constructs AmazonCloudWatchRUMClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudWatchRUMClient 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 AmazonCloudWatchRUMClient Configuration Object</param> public AmazonCloudWatchRUMClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudWatchRUMConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { }
/// <summary> /// Constructs AmazonCloudWatchRUMClient 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> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonCloudWatchRUMClient Configuration Object</param> public AmazonCloudWatchRUMClient(AmazonCloudWatchRUMConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { }