Skip to content

feat: repair dotnet build #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
testDotNet:
# Don't run the nightly build on forks
# Disabled until we reintroduce DynamoDbEncryption, since a matrix vector cannot be empty
if: false && (github.event_name != 'schedule' || github.repository_owner == 'aws')
if: (github.event_name != 'schedule' || github.repository_owner == 'aws')
strategy:
matrix:
library: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class AsSet
{


public void Validate()
{

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class BeaconKeySource
{
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore _single;
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore _multi;
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore Single
{
get { return this._single; }
set { this._single = value; }
}
public bool IsSetSingle()
{
return this._single != null;
}
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore Multi
{
get { return this._multi; }
set { this._multi = value; }
}
public bool IsSetMulti()
{
return this._multi != null;
}
public void Validate()
{
var numberOfPropertiesSet = Convert.ToUInt16(IsSetSingle()) +
Convert.ToUInt16(IsSetMulti());
if (numberOfPropertiesSet == 0) throw new System.ArgumentException("No union value set");

if (numberOfPropertiesSet > 1) throw new System.ArgumentException("Multiple union values set");

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class BeaconStyle
{
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.PartOnly _partOnly;
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.Twinned _twinned;
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.AsSet _asSet;
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.TwinnedSet _twinnedSet;
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.PartOnly PartOnly
{
get { return this._partOnly; }
set { this._partOnly = value; }
}
public bool IsSetPartOnly()
{
return this._partOnly != null;
}
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.Twinned Twinned
{
get { return this._twinned; }
set { this._twinned = value; }
}
public bool IsSetTwinned()
{
return this._twinned != null;
}
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.AsSet AsSet
{
get { return this._asSet; }
set { this._asSet = value; }
}
public bool IsSetAsSet()
{
return this._asSet != null;
}
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.TwinnedSet TwinnedSet
{
get { return this._twinnedSet; }
set { this._twinnedSet = value; }
}
public bool IsSetTwinnedSet()
{
return this._twinnedSet != null;
}
public void Validate()
{
var numberOfPropertiesSet = Convert.ToUInt16(IsSetPartOnly()) +
Convert.ToUInt16(IsSetTwinned()) +
Convert.ToUInt16(IsSetAsSet()) +
Convert.ToUInt16(IsSetTwinnedSet());
if (numberOfPropertiesSet == 0) throw new System.ArgumentException("No union value set");

if (numberOfPropertiesSet > 1) throw new System.ArgumentException("Multiple union values set");

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class BeaconVersion
{
private int? _version;
private AWS.Cryptography.KeyStore.KeyStore _keyStore;
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.BeaconKeySource _keySource;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.StandardBeacon> _standardBeacons;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.CompoundBeacon> _compoundBeacons;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.VirtualField> _virtualFields;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> _encryptedParts;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> _signedParts;
public int Version
{
get { return this._version.GetValueOrDefault(); }
set { this._version = value; }
}
public bool IsSetVersion()
{
return this._version.HasValue;
}
public AWS.Cryptography.KeyStore.KeyStore KeyStore
{
get { return this._keyStore; }
set { this._keyStore = value; }
}
public bool IsSetKeyStore()
{
return this._keyStore != null;
}
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.BeaconKeySource KeySource
{
get { return this._keySource; }
set { this._keySource = value; }
}
public bool IsSetKeySource()
{
return this._keySource != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.StandardBeacon> StandardBeacons
{
get { return this._standardBeacons; }
set { this._standardBeacons = value; }
}
public bool IsSetStandardBeacons()
{
return this._standardBeacons != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.CompoundBeacon> CompoundBeacons
{
get { return this._compoundBeacons; }
set { this._compoundBeacons = value; }
}
public bool IsSetCompoundBeacons()
{
return this._compoundBeacons != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.VirtualField> VirtualFields
{
get { return this._virtualFields; }
set { this._virtualFields = value; }
}
public bool IsSetVirtualFields()
{
return this._virtualFields != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> EncryptedParts
{
get { return this._encryptedParts; }
set { this._encryptedParts = value; }
}
public bool IsSetEncryptedParts()
{
return this._encryptedParts != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> SignedParts
{
get { return this._signedParts; }
set { this._signedParts = value; }
}
public bool IsSetSignedParts()
{
return this._signedParts != null;
}
public void Validate()
{
if (!IsSetVersion()) throw new System.ArgumentException("Missing value for required property 'Version'");
if (!IsSetKeyStore()) throw new System.ArgumentException("Missing value for required property 'KeyStore'");
if (!IsSetKeySource()) throw new System.ArgumentException("Missing value for required property 'KeySource'");
if (!IsSetStandardBeacons()) throw new System.ArgumentException("Missing value for required property 'StandardBeacons'");

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class CollectionOfErrors : Exception
{
public readonly System.Collections.Generic.List<Exception> list;
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class CompoundBeacon
{
private string _name;
private string _split;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> _encrypted;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> _signed;
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.Constructor> _constructors;
public string Name
{
get { return this._name; }
set { this._name = value; }
}
public bool IsSetName()
{
return this._name != null;
}
public string Split
{
get { return this._split; }
set { this._split = value; }
}
public bool IsSetSplit()
{
return this._split != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> Encrypted
{
get { return this._encrypted; }
set { this._encrypted = value; }
}
public bool IsSetEncrypted()
{
return this._encrypted != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> Signed
{
get { return this._signed; }
set { this._signed = value; }
}
public bool IsSetSigned()
{
return this._signed != null;
}
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.Constructor> Constructors
{
get { return this._constructors; }
set { this._constructors = value; }
}
public bool IsSetConstructors()
{
return this._constructors != null;
}
public void Validate()
{
if (!IsSetName()) throw new System.ArgumentException("Missing value for required property 'Name'");
if (!IsSetSplit()) throw new System.ArgumentException("Missing value for required property 'Split'");

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class Constructor
{
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.ConstructorPart> _parts;
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.ConstructorPart> Parts
{
get { return this._parts; }
set { this._parts = value; }
}
public bool IsSetParts()
{
return this._parts != null;
}
public void Validate()
{
if (!IsSetParts()) throw new System.ArgumentException("Missing value for required property 'Parts'");

}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
using System;
using AWS.Cryptography.DbEncryptionSDK.DynamoDb;
namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb
{
public class ConstructorPart
{
private string _name;
private bool? _required;
public string Name
{
get { return this._name; }
set { this._name = value; }
}
public bool IsSetName()
{
return this._name != null;
}
public bool Required
{
get { return this._required.GetValueOrDefault(); }
set { this._required = value; }
}
public bool IsSetRequired()
{
return this._required.HasValue;
}
public void Validate()
{
if (!IsSetName()) throw new System.ArgumentException("Missing value for required property 'Name'");
if (!IsSetRequired()) throw new System.ArgumentException("Missing value for required property 'Required'");

}
}
}
Loading