repo_name stringlengths 1 52 | repo_creator stringclasses 6
values | programming_language stringclasses 4
values | code stringlengths 0 9.68M | num_lines int64 1 234k |
|---|---|---|---|---|
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... | 411 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... | 295 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 692 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 44 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 48 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 71 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 103 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 154 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 63 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 51 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 57 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 45 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 30 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 50 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 84 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 102 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 41 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 92 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 92 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 118 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 79 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... | 198 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 51 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 174 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 73 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 54 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 501 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 24 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licens... | 189 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 87 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 24 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... | 82 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 33 |
aws-lambda-dotnet | aws | C# | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 72 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 93 |
aws-lambda-dotnet | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 65 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.S3Events
{
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
/// <summary>
/// AWS S3 event
/// http://docs.aws.amazon.com/lambda/latest/dg/with-s3.html
/// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-s... | 227 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Lambda.S3Events
{
/// <summary>
/// Class representing the S3 Object Lambda event.
///
/// S3 Developer Guide explaining the event data.
/// https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-writing-lam... | 219 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Amazon.Lambda.S3Events")]
[assembly: AssemblyDescription("Lambda event interfaces for S3 event source.")]
[assembly: AssemblyProduct("Amazon Web Services Lambda Interface for .NET")]
[assembl... | 13 |
aws-lambda-dotnet | aws | C# | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Custom contract resolver for handling special event cases.
/// </summary>
internal class AwsResolver : Defa... | 153 |
aws-lambda-dotnet | aws | C# | using System;
using System.IO;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Common logic.
/// </summary>
internal static class Common
{
public static MemoryStream Base64ToMemoryStream(string dataBase64)
{
var dataBytes = Convert.FromBase64String(data... | 19 |
aws-lambda-dotnet | aws | C# | using Newtonsoft.Json;
using System;
using System.IO;
using System.Reflection;
using System.Text;
using NewtonsoftJsonSerializer = Newtonsoft.Json.JsonSerializer;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Custom JSON converter for handling special event cases.
/// </summary>
intern... | 51 |
aws-lambda-dotnet | aws | C# | using System;
using System.IO;
using System.Collections.Generic;
using Amazon.Lambda.Core;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Custom ILambdaSerializer implementation which uses Newtonsoft.Json 9.0.1
/// for serializatio... | 164 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Exception thrown when errors occur serializing and deserializng JSON documents from the Lambda service
/// </summary>
public class JsonSerializerException : Exception
... | 26 |
aws-lambda-dotnet | aws | C# | using Newtonsoft.Json;
using System;
using System.IO;
using System.Reflection;
using System.Text;
using NewtonsoftJsonSerializer = Newtonsoft.Json.JsonSerializer;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Custom JSON converter for handling special event cases.
/// </summary>
intern... | 39 |
aws-lambda-dotnet | aws | C# | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using NewtonsoftJsonSerializer = Newtonsoft.Json.JsonSerializer;
namespace Amazon.Lambda.Serialization.Json
{
/// <summary>
/// Custom JSON converter for handling special event ca... | 51 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Amazon.Lambda.Serialization.Json")]
[assembly: AssemblyDescription("Default serializer implementation for Lambda event sources.")]
[assembly: AssemblyProduct("Amazon Web Services Lambda Inter... | 13 |
aws-lambda-dotnet | aws | C# | using Amazon.Lambda.Serialization.SystemTextJson.Converters;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Base class of serializers us... | 169 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text.Json;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Custom AWS naming policy
/// </summary>
public class AwsNamingPolicy : JsonNamingPolicy
{
readonly IDictionary<string, string> _customNameMappi... | 57 |
aws-lambda-dotnet | aws | C# | using System.Text.Json;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Custom ILambdaSerializer implementation which uses System.Text.Json
/// for serialization.
///
/// <para>
/// When serializing objects to JSON camel casing will be used for JSON property names.
... | 33 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.Serialization.SystemTextJson.Converters;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Custom ILambdaSerializer implementation whi... | 74 |
aws-lambda-dotnet | aws | C# | using System;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Exception thrown when errors occur serializing and deserializng JSON documents from the Lambda service
/// </summary>
public class JsonSerializerException : Exception
{
/// <summary>
/// Construct... | 23 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.Json;
using Amazon.Lambda.Core;
using Amazon.Lambda.Serialization.SystemTextJson.Converters;
namespace Amazon.Lambda.Serialization.SystemTextJson
{
/// <summary>
/// Custom ILambdaSerializer implementation ... | 175 |
aws-lambda-dotnet | aws | C# | #if NET6_0_OR_GREATER
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization.Metadata;
using Amazon.Lambda.Core;
using Amazon.Lambda.Serialization.SystemTextJson.Converters;
namespace Amazon.Lam... | 118 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// ByteArrayConverter for converting an JSON array of number from and to byte[].
/// </summary>
public class ... | 59 |
aws-lambda-dotnet | aws | C# | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Collections.Generic;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// JsonConvert to handle the AWS SDK for .NET custom enum classes that derive from the class ... | 62 |
aws-lambda-dotnet | aws | C# | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// DateTime converter that handles the JSON read for deserialization might use an epoch time.
/// </summary>
public class DateTimeConverter : J... | 54 |
aws-lambda-dotnet | aws | C# | using System;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// Handles converting MemoryStreams from and to base 64 strings.
/// </summary>
public class MemoryStr... | 41 |
aws-lambda-dotnet | aws | C# | using Amazon.Lambda.SimpleEmailEvents.Actions;
using System;
using System.Collections.Generic;
namespace Amazon.Lambda.SimpleEmailEvents
{
/// <summary>
/// Simple Email Service event
/// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-ses-email-receiving
/// </summary>
... | 233 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.SimpleEmailEvents.Actions
{
public interface IReceiptAction
{
string Type { get; set; }
}
} | 7 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.SimpleEmailEvents.Actions
{
/// <summary>
/// The lambda receipt's action.
/// </summary>
public class LambdaReceiptAction : IReceiptAction
{
/// <summary>
/// The type of the action, e.g. "Lambda", "S3"
/// </summary>
public string Type { g... | 24 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.SimpleEmailEvents.Actions
{
/// <summary>
/// The S3 action's receipt
/// </summary>
public class S3ReceiptAction : IReceiptAction
{
/// <summary>
/// The type of the action, e.g. "Lambda", "S3"
/// </summary>
public string Type { get; set; ... | 34 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Amazon.Lambda.SimpleEmailEvents")]
[assembly: AssemblyDescription("Lambda event interfaces for Simple Email Service (SES) event source.")]
[assembly: AssemblyProduct("Amazon Web Services L... | 13 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.SNSEvents
{
using System;
using System.Collections.Generic;
/// <summary>
/// Simple Notification Service event
/// http://docs.aws.amazon.com/lambda/latest/dg/with-sns.html
/// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-sns
/// </summ... | 122 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Amazon.Lambda.SNSEvents")]
[assembly: AssemblyDescription("Lambda event interfaces for SNS event source.")]
[assembly: AssemblyProduct("Amazon Web Services Lambda Interface for .NET")]
[assem... | 13 |
aws-lambda-dotnet | aws | C# | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.SQSEvents
{
/// This class can be used as the return type for Lambda functions that have partially
/// succeeded by supplying a list of message IDs that have failed to process.
/// https://docs.aws.amazon.com/l... | 55 |
aws-lambda-dotnet | aws | C# | namespace Amazon.Lambda.SQSEvents
{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// Simple Queue Service event
/// </summary>
public class SQSEvent
{
/// <summary>
/// Get and sets the Records
/// </summary>
public List... | 107 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Amazon.Lambda.SQSEvents")]
[assembly: AssemblyDescription("Lambda event interfaces for SQS event source.")]
[assembly: AssemblyProduct("Amazon Web Services Lambda Interface for .NET")]
[assem... | 13 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// A test implementation of the IClientApplication interface used for writing local tests of Lambda Functions.
/// </summary>... | 41 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// A test implementation of the IClientContext interface used for writing local tests of Lambda Functions.
/// </summary>
... | 31 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// A test implementation of the ICognitoIdentity interface used for writing local tests of Lambda Functions.
/// </summary>
... | 26 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// A test implementation of the ILambdaContext interface used for writing local tests of Lambda Functions.
/// </summary>
... | 75 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// An implementation if ILambdaLogger that stores all the messages in a buffer and writes the messages to the ... | 42 |
aws-lambda-dotnet | aws | C# | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Amazon.Lambda.TestUtilities")]
[assembly: AssemblyDescription("Amazon.Lambda.TestUtilties includes stub implementations of interfaces defined in Amazon.Lambda.Core and helper methods.")... | 13 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using Amazon.Lambda.Annotations;
using Amazon.Lambda.Annotations.APIGateway;
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.Core;
// This file is used to test the Lambda Annotations source generator does no... | 22 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Immutable;
using Amazon.Lambda.Annotations.APIGateway;
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.Core;
using Amazon.Lambda.Serialization.SystemTextJson;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Testin... | 87 |
aws-lambda-dotnet | aws | C# | using System;
using System.Net;
using System.Collections.Generic;
using System.Text.Json;
using Amazon.Lambda.Annotations.APIGateway;
using Xunit;
using System.IO;
using System.Linq;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests
{
public class HttpResultsTest
{
[Fact]
public voi... | 459 |
aws-lambda-dotnet | aws | C# | using System.Net;
using Amazon.Lambda.Annotations.APIGateway;
using Amazon.Lambda.Core;
using Xunit;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests
{
public class HtttpResultsStatusCodeUsage
{
[Fact]
public void UsageOfIHttpResultStatusCode()
{
var sut = new F... | 37 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using Amazon.Lambda.Annotations.APIGateway;
using Amazon.Lambda.Annotations.SourceGenerator;
using Amazon.Lambda.Annotations.SourceGenerator.Models;
using Amazon.Lambda.Annotations.SourceGenerator.Models.Attributes;
using Amazon.Lambda.Annotations.SourceGenerator.Validati... | 109 |
aws-lambda-dotnet | aws | C# | using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Amazon.Lambda.Annotations.SourceGenerator.Extensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using Microsoft.CodeAnalysis.Text;
using Xunit;
using VerifyCS = Amazon.Lambda.Annotations.SourceGenerators.Test... | 694 |
aws-lambda-dotnet | aws | C# | using System.IO;
using Amazon.Lambda.Annotations.SourceGenerator;
using Amazon.Lambda.Annotations.SourceGenerator.FileIO;
using Xunit;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests.CloudFormationTemplateHandlerTests
{
public class DetermineProjectPathTests
{
/// <summary>
/// Te... | 30 |
aws-lambda-dotnet | aws | C# | using System.IO;
using Amazon.Lambda.Annotations.SourceGenerator;
using Amazon.Lambda.Annotations.SourceGenerator.FileIO;
using Xunit;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests.CloudFormationTemplateHandlerTests
{
public class DetermineTemplateFormatTests
{
[Fact]
public voi... | 101 |
aws-lambda-dotnet | aws | C# | using System.IO;
using Amazon.Lambda.Annotations.SourceGenerator;
using Amazon.Lambda.Annotations.SourceGenerator.FileIO;
using Xunit;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests.CloudFormationTemplateHandlerTests
{
public class FindTemplateTests
{
[Fact]
public void FindTempl... | 124 |
aws-lambda-dotnet | aws | C# | using System;
using System.IO;
using System.Linq;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests.CloudFormationTemplateHandlerTests
{
public static class Helpers
{
public static void CreateCustomerApplication(string projectRoot)
{
CreateFile(Path.Combine(projectRoot, ... | 35 |
aws-lambda-dotnet | aws | C# | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Amazon.Lambda.Annotations.SourceGenerator.FileIO;
namespace Amazon.Lambda.Annotations.SourceGenerators.Tests.FileIOTests
{
public class DirectoryManagerTests
{
[Theo... | 33 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class ComplexCalculator_Add_Generated
{
private readonly ComplexCalculator complexCalculator;
public ComplexCalculator_Add_Generated()
... | 55 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class ComplexCalculator_Subtract_Generated
{
private readonly ComplexCalculator complexCalculator;
public ComplexCalculator_Subtract_Generated... | 81 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_NotFoundResponseWithHeaderV1Async_Generated
{
private readonly CustomizeRespon... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_NotFoundResponseWithHeaderV1_Generated
{
private readonly CustomizeResponseExa... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_NotFoundResponseWithHeaderV2Async_Generated
{
private readonly CustomizeRespon... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_NotFoundResponseWithHeaderV2_Generated
{
private readonly CustomizeResponseExa... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_OkResponseWithHeaderAsync_Generated
{
private readonly CustomizeResponseExampl... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
using Amazon.Lambda.Annotations.APIGateway;
namespace TestServerlessApp
{
public class CustomizeResponseExamples_OkResponseWithHeader_Generated
{
private readonly CustomizeResponseExamples cu... | 80 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class DynamicExample_DynamicInput_Generated
{
private readonly DynamicExample dynamicExample;
public DynamicExample_DynamicInput_Generated()
... | 41 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class DynamicExample_DynamicReturn_Generated
{
private readonly DynamicExample dynamicExample;
public DynamicExample_DynamicReturn_Generated()
... | 41 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp.Sub1
{
public class Functions_ToUpper_Generated
{
private readonly Functions functions;
public Functions_ToUpper_Generated()
{
SetExec... | 41 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class Greeter_SayHelloAsync_Generated
{
private readonly Greeter greeter;
public Greeter_SayHelloAsync_Generated()
{
SetEx... | 83 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class Greeter_SayHello_Generated
{
private readonly Greeter greeter;
public Greeter_SayHello_Generated()
{
SetExecutionEnv... | 83 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class IntrinsicExample_HasIntrinsic_Generated
{
private readonly IntrinsicExample intrinsicExample;
public IntrinsicExample_HasIntrinsic_Gener... | 41 |
aws-lambda-dotnet | aws | C# | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Amazon.Lambda.Core;
namespace TestServerlessApp
{
public class NullableReferenceTypeExample_NullableHeaderHttpApi_Generated
{
private readonly NullableReferenceTypeExample nullableReferenceTypeExample;
... | 77 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.