Skip to content

Commit d425d1a

Browse files
Update generated code (#1846)
* update generated code * Update src/Service/LocationService/CHANGELOG.md --------- Co-authored-by: Jérémy Derussé <jeremy@derusse.com>
1 parent 5e7fda7 commit d425d1a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Added
6+
7+
- AWS api-change: Added `UNKNOWN_FIELD` constant in `ValidationExceptionReason`
8+
59
## 1.0.4
610

711
### Changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"extra": {
3030
"branch-alias": {
31-
"dev-master": "1.0-dev"
31+
"dev-master": "1.1-dev"
3232
}
3333
}
3434
}

src/Enum/ValidationExceptionReason.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ final class ValidationExceptionReason
88
public const FIELD_VALIDATION_FAILED = 'FieldValidationFailed';
99
public const MISSING = 'Missing';
1010
public const OTHER = 'Other';
11+
public const UNKNOWN_FIELD = 'UnknownField';
1112
public const UNKNOWN_OPERATION = 'UnknownOperation';
1213

1314
public static function exists(string $value): bool
@@ -17,6 +18,7 @@ public static function exists(string $value): bool
1718
self::FIELD_VALIDATION_FAILED => true,
1819
self::MISSING => true,
1920
self::OTHER => true,
21+
self::UNKNOWN_FIELD => true,
2022
self::UNKNOWN_OPERATION => true,
2123
][$value]);
2224
}

0 commit comments

Comments
 (0)