Abbotware.Interop.Aws.Timestream
5.0.78
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Abbotware.Interop.Aws.Timestream --version 5.0.78
NuGet\Install-Package Abbotware.Interop.Aws.Timestream -Version 5.0.78
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="Abbotware.Interop.Aws.Timestream" Version="5.0.78" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Abbotware.Interop.Aws.Timestream --version 5.0.78
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Abbotware.Interop.Aws.Timestream, 5.0.78"
#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 Abbotware.Interop.Aws.Timestream as a Cake Addin #addin nuget:?package=Abbotware.Interop.Aws.Timestream&version=5.0.78 // Install Abbotware.Interop.Aws.Timestream as a Cake Tool #tool nuget:?package=Abbotware.Interop.Aws.Timestream&version=5.0.78
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Abbotware.Interop.Aws.Timestream
C# Fluent and Attribute based publishers for AWS Timestream. Quick and easy support for single measure and multi-measure values based off POCOs
POCO via Attributes
Attributes can be used to define dimensions, measures, and time fields.
[MeasureName("Data")]
public class Poco
{
[Dimension]
public string PropertyA { get; set; }
[Dimension]
public string PropertyB { get; set; }
[MeasureValue]
public int? ValueA { get; set; }
[MeasureValue]
public string ValueB { get; set; }
[MeasureValue]
public decimal? ValueC { get; set; }
[MeasureValue]
public bool? ValueD { get; set; }
[Time]
public DateTimeOffset? Time { get; set; }
}
Poco Publisher Example
// create write options for target database / table
var options = new TimestreamOptions() { Database = "database", Table = "table" };
// create publisher with options + logger
using var c = new PocoPublisher<MultiMeasureTest>(options, NullLogger.Instance);
// create message
var poco = new Poco() { ... }
// publish
var p = await c.PublishAsync(poco, ct);
POCO via Fluent API
The Fluent API requires a little more setup, but can be used on objects you have no control over.
public class Poco
{
public string PropertyA { get; set; }
public string PropertyB { get; set; }
public int? ValueA { get; set; }
public string ValueB { get; set; }
public decimal? ValueC { get; set; }
public bool? ValueD { get; set; }
public DateTimeOffset? Time { get; set; }
}
Define Protocol via Builder
// supply name for multi measure name
var pb = new ProtocolBuilder<Poco>("metrics");
pb.AddDimension(x => x.PropertyA);
pb.AddDimension(x => x.PropertyB);
pb.AddMeasure(x => x.ValueA);
pb.AddMeasure(x => x.ValueB);
pb.AddMeasure(x => x.ValueC);
pb.AddMeasure(x => x.ValueD);
pb.AddTime(x => x.Time, TimeUnitType.Milliseconds);
var protocol = pb.Build();
Create Publisher
// create write options for target database / table
var options = new TimestreamOptions() { Database = "database", Table = "table" };
// create publisher with options + protocol + logger
using var p = new TimestreamPublisher<SingleMeasureTest>(options, protocol, NullLogger.Instance);
// create message
var poco = new Poco() { ... }
// publish
var p = await c.PublishAsync(poco, ct);
Settings File
var options = ConfigurationHelper.AppSettingsJson("settings.json").BindSection<TimestreamOptions>(TimestreamOptions.DefaultSection);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.
-
.NETStandard 2.0
- Abbotware.Interop.Aws (>= 5.0.78)
- AWSSDK.TimestreamQuery (>= 3.7.100.146)
- AWSSDK.TimestreamWrite (>= 3.7.102.3)
-
.NETStandard 2.1
- Abbotware.Interop.Aws (>= 5.0.78)
- AWSSDK.TimestreamQuery (>= 3.7.100.146)
- AWSSDK.TimestreamWrite (>= 3.7.102.3)
-
net6.0
- Abbotware.Interop.Aws (>= 5.0.78)
- AWSSDK.TimestreamQuery (>= 3.7.100.146)
- AWSSDK.TimestreamWrite (>= 3.7.102.3)
-
net7.0
- Abbotware.Interop.Aws (>= 5.0.78)
- AWSSDK.TimestreamQuery (>= 3.7.100.146)
- AWSSDK.TimestreamWrite (>= 3.7.102.3)
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 |
---|---|---|
5.0.141 | 119 | 3/19/2024 |
5.0.140 | 98 | 3/18/2024 |
5.0.130 | 102 | 2/18/2024 |
5.0.127 | 90 | 2/17/2024 |
5.0.123 | 128 | 2/14/2024 |
5.0.107 | 859 | 10/22/2023 |
5.0.93 | 1,499 | 9/8/2023 |
5.0.92 | 157 | 9/8/2023 |
5.0.91 | 175 | 8/31/2023 |
5.0.89 | 198 | 8/31/2023 |
5.0.88 | 167 | 8/30/2023 |
5.0.87 | 365 | 8/21/2023 |
5.0.82 | 659 | 7/9/2023 |
5.0.81 | 531 | 6/20/2023 |
5.0.78 | 214 | 6/19/2023 |
5.0.71 | 193 | 6/16/2023 |
5.0.69 | 241 | 6/13/2023 |
5.0.68 | 189 | 6/11/2023 |
5.0.66 | 189 | 6/10/2023 |
5.0.62 | 209 | 6/9/2023 |
5.0.59 | 173 | 6/9/2023 |
5.0.58 | 182 | 6/8/2023 |
5.0.56 | 185 | 6/6/2023 |
5.0.54 | 177 | 6/6/2023 |
5.0.53 | 185 | 6/5/2023 |
5.0.51 | 176 | 6/5/2023 |
5.0.47 | 194 | 6/2/2023 |
5.0.44 | 185 | 6/2/2023 |