|
| 1 | +// This file contains auto-generated code. |
| 2 | +// Generated from `Amazon.Lambda.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604`. |
| 3 | +namespace Amazon |
| 4 | +{ |
| 5 | + namespace Lambda |
| 6 | + { |
| 7 | + namespace Core |
| 8 | + { |
| 9 | + public interface IClientApplication |
| 10 | + { |
| 11 | + string AppPackageName { get; } |
| 12 | + string AppTitle { get; } |
| 13 | + string AppVersionCode { get; } |
| 14 | + string AppVersionName { get; } |
| 15 | + string InstallationId { get; } |
| 16 | + } |
| 17 | + public interface IClientContext |
| 18 | + { |
| 19 | + Amazon.Lambda.Core.IClientApplication Client { get; } |
| 20 | + System.Collections.Generic.IDictionary<string, string> Custom { get; } |
| 21 | + System.Collections.Generic.IDictionary<string, string> Environment { get; } |
| 22 | + } |
| 23 | + public interface ICognitoIdentity |
| 24 | + { |
| 25 | + string IdentityId { get; } |
| 26 | + string IdentityPoolId { get; } |
| 27 | + } |
| 28 | + public interface ILambdaContext |
| 29 | + { |
| 30 | + string AwsRequestId { get; } |
| 31 | + Amazon.Lambda.Core.IClientContext ClientContext { get; } |
| 32 | + string FunctionName { get; } |
| 33 | + string FunctionVersion { get; } |
| 34 | + Amazon.Lambda.Core.ICognitoIdentity Identity { get; } |
| 35 | + string InvokedFunctionArn { get; } |
| 36 | + Amazon.Lambda.Core.ILambdaLogger Logger { get; } |
| 37 | + string LogGroupName { get; } |
| 38 | + string LogStreamName { get; } |
| 39 | + int MemoryLimitInMB { get; } |
| 40 | + System.TimeSpan RemainingTime { get; } |
| 41 | + } |
| 42 | + public interface ILambdaLogger |
| 43 | + { |
| 44 | + void Log(string message); |
| 45 | + virtual void Log(string level, string message) => throw null; |
| 46 | + virtual void Log(Amazon.Lambda.Core.LogLevel level, string message) => throw null; |
| 47 | + virtual void LogCritical(string message) => throw null; |
| 48 | + virtual void LogDebug(string message) => throw null; |
| 49 | + virtual void LogError(string message) => throw null; |
| 50 | + virtual void LogInformation(string message) => throw null; |
| 51 | + void LogLine(string message); |
| 52 | + virtual void LogTrace(string message) => throw null; |
| 53 | + virtual void LogWarning(string message) => throw null; |
| 54 | + } |
| 55 | + public interface ILambdaSerializer |
| 56 | + { |
| 57 | + T Deserialize<T>(System.IO.Stream requestStream); |
| 58 | + void Serialize<T>(T response, System.IO.Stream responseStream); |
| 59 | + } |
| 60 | + public static class LambdaLogger |
| 61 | + { |
| 62 | + public static void Log(string message) => throw null; |
| 63 | + } |
| 64 | + [System.AttributeUsage((System.AttributeTargets)65, AllowMultiple = false)] |
| 65 | + public sealed class LambdaSerializerAttribute : System.Attribute |
| 66 | + { |
| 67 | + public LambdaSerializerAttribute(System.Type serializerType) => throw null; |
| 68 | + public System.Type SerializerType { get => throw null; set { } } |
| 69 | + } |
| 70 | + public enum LogLevel |
| 71 | + { |
| 72 | + Trace = 0, |
| 73 | + Debug = 1, |
| 74 | + Information = 2, |
| 75 | + Warning = 3, |
| 76 | + Error = 4, |
| 77 | + Critical = 5, |
| 78 | + } |
| 79 | + } |
| 80 | + } |
| 81 | +} |
0 commit comments