using System; using System.Collections.Generic; using Amazon.Lambda.Model; namespace Amazon.Lambda { /// /// Interface for accessing Lambda /// /// /// public partial interface IAmazonLambda : IDisposable { #if BCL /// /// Submits an invocation request to Lambda. Upon receiving the request, Lambda executes /// the specified cloud function asynchronously. To see the logs generated by the cloud /// function execution, see the CloudWatch logs console. /// /// This operation requires permission for the lambda:InvokeAsync action. /// /// /// The InvokeArgs will be set to an empty json document. /// /// /// The cloud function to invoke. /// The response from the InvokeAsync service method, as returned by Lambda. /// /// /// InvokeAsyncResponse InvokeAsync(string functionName); /// /// Submits an invocation request to Lambda. Upon receiving the request, Lambda executes /// the specified cloud function asynchronously. To see the logs generated by the cloud /// function execution, see the CloudWatch logs console. /// /// This operation requires permission for the lambda:InvokeAsync action. /// /// /// The cloud function to invoke. /// A Json document that will be passed to the cloud function. /// The response from the InvokeAsync service method, as returned by Lambda. /// /// /// InvokeAsyncResponse InvokeAsync(string functionName, string invokeArgs); #endif } }