Configuration for accessing Amazon Lambda service
Inheritance: Amazon.Runtime.ClientConfig
 /// <summary>
 /// Create a client for the Amazon Lambda Service with the specified configuration
 /// </summary>
 /// <param name="awsAccessKey">The AWS Access Key associated with the account</param>
 /// <param name="awsSecretAccessKey">The AWS Secret Access Key associated with the account</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc
 /// </param>
 /// <returns>An Amazon Lambda client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonLambda CreateAmazonLambdaClient(
     string awsAccessKey,
     string awsSecretAccessKey, AmazonLambdaConfig config
     )
 {
     return new AmazonLambdaClient(awsAccessKey, awsSecretAccessKey, config);
 }
 /// <summary>
 /// Create a client for the Amazon Lambda Service with AWSCredentials and an AmazonLambda Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon Lambda client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonLambda CreateAmazonLambdaClient(AWSCredentials credentials, AmazonLambdaConfig config)
 {
     return new AmazonLambdaClient(credentials, config);
 }
Example #3
0
 /// <summary>
 /// Constructs AmazonLambdaClient with AWS Credentials and an
 /// AmazonLambdaClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(AWSCredentials credentials, AmazonLambdaConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
Example #4
0
 /// <summary>
 /// Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonLambdaClient 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 AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLambdaConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
Example #5
0
 /// <summary>
 /// Constructs AmazonLambdaClient 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 AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(AmazonLambdaConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
Example #6
0
 /// <summary>
 /// Constructs AmazonLambdaClient with AWS Credentials and an
 /// AmazonLambdaClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(AWSCredentials credentials, AmazonLambdaConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
Example #7
0
 /// <summary>
 /// Constructs AmazonLambdaClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonLambdaClient 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 AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonLambdaConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
 /// <summary>
 /// Create a client for the Amazon Lambda Service 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">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon Lambda client</returns>
 public static IAmazonLambda CreateAmazonLambdaClient(AmazonLambdaConfig config)
 {
     return new AmazonLambdaClient(config);
 }
Example #9
0
 /// <summary>
 /// Constructs AmazonLambdaClient 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 AmazonLambdaClient Configuration Object</param>
 public AmazonLambdaClient(AmazonLambdaConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config)
 {
 }