Configuration for accessing Amazon Lambda service
Inheritance: Amazon.Runtime.ClientConfig
Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }
Esempio n. 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)
 {
 }
Esempio n. 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)
 {
 }
Esempio n. 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) { }
Esempio n. 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)
 {
 }
Esempio n. 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);
 }
Esempio n. 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)
 {
 }