├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── DotnetToLambda.sln ├── LICENSE ├── README.md ├── docker-compose.yml ├── global.json └── src ├── DotnetToLambda.Api ├── DotnetToLambda.Api │ ├── Controllers │ │ └── BookingController.cs │ ├── DotnetToLambda.Api.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json └── DotnetToLambda.Core │ ├── DotnetToLambda.Core.csproj │ ├── Exceptions │ └── DuplicateRequestException.cs │ ├── Infrastructure │ ├── BookingContext.cs │ ├── BookingRepository.cs │ ├── CustomerService.cs │ ├── DatabaseConnection.cs │ └── Migrations │ │ ├── 20220131202551_InitialCreate.Designer.cs │ │ ├── 20220131202551_InitialCreate.cs │ │ └── BookingContextModelSnapshot.cs │ ├── Models │ ├── Booking.cs │ ├── BookingStatus.cs │ └── IBookingRepository.cs │ ├── Services │ └── ICustomerService.cs │ └── ViewModels │ ├── CancelBookingDTO.cs │ ├── ConfirmBookingDTO.cs │ └── ReserveBookingDTO.cs ├── infrastructure ├── README.md ├── cdk.json └── src │ ├── Infrastructure.sln │ └── Infrastructure │ ├── GlobalSuppressions.cs │ ├── Infrastructure.csproj │ ├── InfrastructureStack.cs │ └── Program.cs └── serverless ├── DotnetToLambda.Serverless.Config ├── DotnetToLambda.Serverless.Config.csproj └── ServerlessConfig.cs └── DotnetToLambda.Serverless ├── .gitignore ├── README.md ├── omnisharp.json ├── src ├── ApplyDatabaseMigrations │ ├── ApplyDatabaseMigrations.csproj │ ├── Function.cs │ └── aws-lambda-tools-defaults.json ├── CancelBooking │ ├── CancelBooking.csproj │ ├── Function.cs │ └── aws-lambda-tools-defaults.json ├── ConfirmBooking │ ├── ConfirmBooking.csproj │ ├── Function.cs │ └── aws-lambda-tools-defaults.json ├── ListForCustomer │ ├── Function.cs │ ├── ListForCustomer.csproj │ └── aws-lambda-tools-defaults.json ├── ReserveBooking │ ├── Function.cs │ ├── ReserveBooking.csproj │ └── aws-lambda-tools-defaults.json └── Retrieve │ ├── Function.cs │ ├── Retrieve.csproj │ └── aws-lambda-tools-defaults.json └── template.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /DotnetToLambda.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/DotnetToLambda.sln -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/global.json -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/Controllers/BookingController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/Controllers/BookingController.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/DotnetToLambda.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/DotnetToLambda.Api.csproj -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/Program.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/Startup.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/appsettings.Development.json -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Api/appsettings.json -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/DotnetToLambda.Core.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/DotnetToLambda.Core.csproj -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Exceptions/DuplicateRequestException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Exceptions/DuplicateRequestException.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/BookingContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/BookingContext.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/BookingRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/BookingRepository.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/CustomerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/CustomerService.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/DatabaseConnection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/DatabaseConnection.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/20220131202551_InitialCreate.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/20220131202551_InitialCreate.Designer.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/20220131202551_InitialCreate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/20220131202551_InitialCreate.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/BookingContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Infrastructure/Migrations/BookingContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Models/Booking.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Models/Booking.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Models/BookingStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Models/BookingStatus.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Models/IBookingRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Models/IBookingRepository.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/Services/ICustomerService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/Services/ICustomerService.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/CancelBookingDTO.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/CancelBookingDTO.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/ConfirmBookingDTO.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/ConfirmBookingDTO.cs -------------------------------------------------------------------------------- /src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/ReserveBookingDTO.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/DotnetToLambda.Api/DotnetToLambda.Core/ViewModels/ReserveBookingDTO.cs -------------------------------------------------------------------------------- /src/infrastructure/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/README.md -------------------------------------------------------------------------------- /src/infrastructure/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/cdk.json -------------------------------------------------------------------------------- /src/infrastructure/src/Infrastructure.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/src/Infrastructure.sln -------------------------------------------------------------------------------- /src/infrastructure/src/Infrastructure/GlobalSuppressions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/src/Infrastructure/GlobalSuppressions.cs -------------------------------------------------------------------------------- /src/infrastructure/src/Infrastructure/Infrastructure.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/src/Infrastructure/Infrastructure.csproj -------------------------------------------------------------------------------- /src/infrastructure/src/Infrastructure/InfrastructureStack.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/src/Infrastructure/InfrastructureStack.cs -------------------------------------------------------------------------------- /src/infrastructure/src/Infrastructure/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/infrastructure/src/Infrastructure/Program.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless.Config/DotnetToLambda.Serverless.Config.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless.Config/DotnetToLambda.Serverless.Config.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless.Config/ServerlessConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless.Config/ServerlessConfig.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/.gitignore -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/README.md -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/omnisharp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/omnisharp.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/ApplyDatabaseMigrations.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/ApplyDatabaseMigrations.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ApplyDatabaseMigrations/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/CancelBooking/CancelBooking.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/CancelBooking/CancelBooking.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/CancelBooking/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/CancelBooking/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/CancelBooking/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/CancelBooking/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/ConfirmBooking.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/ConfirmBooking.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ConfirmBooking/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/ListForCustomer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/ListForCustomer.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ListForCustomer/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/ReserveBooking.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/ReserveBooking.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/ReserveBooking/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/Retrieve/Function.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/Retrieve/Function.cs -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/Retrieve/Retrieve.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/Retrieve/Retrieve.csproj -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/src/Retrieve/aws-lambda-tools-defaults.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/src/Retrieve/aws-lambda-tools-defaults.json -------------------------------------------------------------------------------- /src/serverless/DotnetToLambda.Serverless/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/amazon-dotnet-api-to-lambda/HEAD/src/serverless/DotnetToLambda.Serverless/template.yaml --------------------------------------------------------------------------------