AWSFacade 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package AWSFacade --version 1.0.3                
NuGet\Install-Package AWSFacade -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AWSFacade" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AWSFacade --version 1.0.3                
#r "nuget: AWSFacade, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AWSFacade as a Cake Addin
#addin nuget:?package=AWSFacade&version=1.0.3

// Install AWSFacade as a Cake Tool
#tool nuget:?package=AWSFacade&version=1.0.3                

AWSFacade

AWSFacade is a face of AWSSDK.

Package Version Downloads
AWSFacade NuGet Nuget

Dependencies

.NET Standard 2.1

You can check supported frameworks here:

https://learn.microsoft.com/pt-br/dotnet/standard/net-standard?tabs=net-standard-2-1

Instalation

This package is available through Nuget Packages: https://www.nuget.org/packages/AWSFacade

Nuget

Install-Package AWSFacade

.NET CLI

dotnet add package AWSFacade

How to use

SQS

Basic


using AWSFacade.SQS.Contracts;
using AWSFacade.SQS.Extensions;

services.AddSqsFacade(config =>
{
    config.MessageGroupId = "YOUR_GROUP_ID";
    config.QueueUrl = "YOUR_QUEUE_URL";
    config.RegionEndpoint = RegionEndpoint.SAEast1;
});

With Identification Name


using AWSFacade.SQS.Contracts;
using AWSFacade.SQS.Extensions;

services.AddSqsFacade("SQS_CUSTOMER", config =>
{
    config.MessageGroupId = "YOUR_GROUP_ID";
    config.QueueUrl = "YOUR_QUEUE_URL";
    config.RegionEndpoint = RegionEndpoint.SAEast1;
});
services.AddSqsFacade("SQS_SALES", config =>
{
    config.MessageGroupId = "YOUR_GROUP_ID";
    config.QueueUrl = "YOUR_QUEUE_URL";
    config.RegionEndpoint = RegionEndpoint.SAEast1;
});

Usage example A


var sqsFacadeFactory = serviceProvider.GetService<ISqsFacadeFactory>();
var sqsFacade = sqsFacadeFactory!.Create();

Usage example B


public class Customer
{
    private readonly ISqsFacade _sqsFacade;
    public Customer(ISqsFacadeFactory sqsFacadeFactory)
    {
        _sqsFacade = sqsFacadeFactory.Create();
    }
}

Usage example C


public class Customer
{
    private readonly ISqsFacade _customerSqs;
    private readonly ISqsFacade _salesSqs;
    public Customer(ISqsFacadeFactory sqsFacadeFactory)
    {
        _customerSqs = sqsFacadeFactory.Create("SQS_CUSTOMER");
        _salesSqs = sqsFacadeFactory.Create("SQS_SALES");
    }
}

SecretsManager


using AWSFacade.SecretsManager.Contracts;
using AWSFacade.SecretsManager.Extensions;

services.AddSecretsManagerCache((sp) => new AmazonSecretsManagerClient(new AmazonSecretsManagerConfig { RegionEndpoint = RegionEndpoint.SAEast1 }));

Usage example


var secretsCache = serviceProvider.GetService<ISecretsCache>();
string secretValue = secretsCache!.GetSecretValueAsync("YOUR_KEY");

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 110 7/12/2024
1.1.1 91 7/12/2024
1.1.0 264 12/5/2023
1.0.9 148 12/5/2023
1.0.8 185 10/10/2023
1.0.7 199 8/31/2023
1.0.6 240 8/21/2023
1.0.5 195 8/18/2023
1.0.4 227 8/13/2023
1.0.3 179 8/10/2023
1.0.2 209 8/9/2023
1.0.1 222 8/9/2023
1.0.0 208 8/6/2023