You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/keystore/model/CreateKeyStoreOutput.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,16 @@ public CreateKeyStoreOutput build() {
73
73
"Missing value for required field `tableArn`"
74
74
);
75
75
}
76
+
if (Objects.nonNull(this.tableArn()) && this.tableArn().length() < 1) {
77
+
thrownewIllegalArgumentException(
78
+
"The size of `tableArn` must be greater than or equal to 1"
79
+
);
80
+
}
81
+
if (Objects.nonNull(this.tableArn()) && this.tableArn().length() > 1024) {
82
+
thrownewIllegalArgumentException(
83
+
"The size of `tableArn` must be less than or equal to 1024"
Copy file name to clipboardExpand all lines: AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_keystore/models.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -292,6 +292,12 @@ def __init__(
292
292
:param table_arn: The ARN of the DynamoDB table that backs this
293
293
Key Store.
294
294
"""
295
+
if (table_arnisnotNone) and (len(table_arn) <1):
296
+
raiseValueError("The size of table_arn must be greater than or equal to 1")
297
+
298
+
if (table_arnisnotNone) and (len(table_arn) >1024):
299
+
raiseValueError("The size of table_arn must be less than or equal to 1024")
Copy file name to clipboardExpand all lines: AwsCryptographyPrimitives/runtimes/python/src/aws_cryptography_primitives/internaldafny/generated/dafny_src-py.dtr
public static Amazon.DynamoDBv2.Model.ConditionalCheckFailedException FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException(software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException value)
7
+
{
8
+
- return new Amazon.DynamoDBv2.Model.ConditionalCheckFailedException(
public static software.amazon.cryptography.services.dynamodb.internaldafny.types.Error_ConditionalCheckFailedException ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S31_ConditionalCheckFailedException(Amazon.DynamoDBv2.Model.ConditionalCheckFailedException value)
21
+
{
22
+
@@ -5848,7 +5849,7 @@
6
23
public static System.DateTime FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime(Dafny.ISequence<char> value)
7
24
{
8
25
string timestampString = new string(value.Elements);
@@ -11,7 +28,7 @@ index e35ad3d2..9f375b21 100644
11
28
12
29
}
13
30
public static Dafny.ISequence<char> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S18_LastUpdateDateTime(System.DateTime value)
public static Wrappers_Compile._IOption<Dafny.ISequence<Dafny.ISequence<char>>> ToDafny_N3_com__N9_amazonaws__N8_dynamodb__S10_Projection__M16_NonKeyAttributes(System.Collections.Generic.List<string> value)
107
124
{
@@ -116,3 +133,24 @@ index e35ad3d2..9f375b21 100644
116
133
}
117
134
public static string FromDafny_N3_com__N9_amazonaws__N8_dynamodb__S30_LocalSecondaryIndexDescription__M9_IndexName(Wrappers_Compile._IOption<Dafny.ISequence<char>> value)
0 commit comments