Skip to content

Commit

Permalink
Update generated code (#1710)
Browse files Browse the repository at this point in the history
* update generated code

* Fix test

---------

Co-authored-by: Jérémy Derussé <[email protected]>
  • Loading branch information
async-aws-bot and jderusse authored May 10, 2024
1 parent 21f710c commit d507740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- AWS api-change: Add LimitExceededException to SignUp errors
- AWS api-change: Add EXTERNAL_PROVIDER enum value to UserStatusType.

### Changed

Expand Down
2 changes: 2 additions & 0 deletions src/Enum/UserStatusType.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ final class UserStatusType
public const ARCHIVED = 'ARCHIVED';
public const COMPROMISED = 'COMPROMISED';
public const CONFIRMED = 'CONFIRMED';
public const EXTERNAL_PROVIDER = 'EXTERNAL_PROVIDER';
public const FORCE_CHANGE_PASSWORD = 'FORCE_CHANGE_PASSWORD';
public const RESET_REQUIRED = 'RESET_REQUIRED';
public const UNCONFIRMED = 'UNCONFIRMED';
Expand All @@ -18,6 +19,7 @@ public static function exists(string $value): bool
self::ARCHIVED => true,
self::COMPROMISED => true,
self::CONFIRMED => true,
self::EXTERNAL_PROVIDER => true,
self::FORCE_CHANGE_PASSWORD => true,
self::RESET_REQUIRED => true,
self::UNCONFIRMED => true,
Expand Down

0 comments on commit d507740

Please sign in to comment.