Skip to content

Commit 157fd45

Browse files
feat(aws-android-sdk-cognitoidentityprovider): update models to latest (#2984)
Co-authored-by: Tyler Roach <[email protected]>
1 parent f94bed1 commit 157fd45

File tree

3 files changed

+29
-17
lines changed

3 files changed

+29
-17
lines changed

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/AuthEventType.java

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public class AuthEventType implements Serializable {
3636
* </p>
3737
* <p>
3838
* <b>Constraints:</b><br/>
39-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
39+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
40+
* ResendCode
4041
*/
4142
private String eventType;
4243

@@ -53,7 +54,7 @@ public class AuthEventType implements Serializable {
5354
* </p>
5455
* <p>
5556
* <b>Constraints:</b><br/>
56-
* <b>Allowed Values: </b>Success, Failure
57+
* <b>Allowed Values: </b>Pass, Fail, InProgress
5758
*/
5859
private String eventResponse;
5960

@@ -139,7 +140,8 @@ public AuthEventType withEventId(String eventId) {
139140
* </p>
140141
* <p>
141142
* <b>Constraints:</b><br/>
142-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
143+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
144+
* ResendCode
143145
*
144146
* @return <p>
145147
* The event type.
@@ -156,7 +158,8 @@ public String getEventType() {
156158
* </p>
157159
* <p>
158160
* <b>Constraints:</b><br/>
159-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
161+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
162+
* ResendCode
160163
*
161164
* @param eventType <p>
162165
* The event type.
@@ -176,7 +179,8 @@ public void setEventType(String eventType) {
176179
* together.
177180
* <p>
178181
* <b>Constraints:</b><br/>
179-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
182+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
183+
* ResendCode
180184
*
181185
* @param eventType <p>
182186
* The event type.
@@ -196,7 +200,8 @@ public AuthEventType withEventType(String eventType) {
196200
* </p>
197201
* <p>
198202
* <b>Constraints:</b><br/>
199-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
203+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
204+
* ResendCode
200205
*
201206
* @param eventType <p>
202207
* The event type.
@@ -216,7 +221,8 @@ public void setEventType(EventType eventType) {
216221
* together.
217222
* <p>
218223
* <b>Constraints:</b><br/>
219-
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword
224+
* <b>Allowed Values: </b>SignIn, SignUp, ForgotPassword, PasswordChange,
225+
* ResendCode
220226
*
221227
* @param eventType <p>
222228
* The event type.
@@ -281,7 +287,7 @@ public AuthEventType withCreationDate(java.util.Date creationDate) {
281287
* </p>
282288
* <p>
283289
* <b>Constraints:</b><br/>
284-
* <b>Allowed Values: </b>Success, Failure
290+
* <b>Allowed Values: </b>Pass, Fail, InProgress
285291
*
286292
* @return <p>
287293
* The event response.
@@ -298,7 +304,7 @@ public String getEventResponse() {
298304
* </p>
299305
* <p>
300306
* <b>Constraints:</b><br/>
301-
* <b>Allowed Values: </b>Success, Failure
307+
* <b>Allowed Values: </b>Pass, Fail, InProgress
302308
*
303309
* @param eventResponse <p>
304310
* The event response.
@@ -318,7 +324,7 @@ public void setEventResponse(String eventResponse) {
318324
* together.
319325
* <p>
320326
* <b>Constraints:</b><br/>
321-
* <b>Allowed Values: </b>Success, Failure
327+
* <b>Allowed Values: </b>Pass, Fail, InProgress
322328
*
323329
* @param eventResponse <p>
324330
* The event response.
@@ -338,7 +344,7 @@ public AuthEventType withEventResponse(String eventResponse) {
338344
* </p>
339345
* <p>
340346
* <b>Constraints:</b><br/>
341-
* <b>Allowed Values: </b>Success, Failure
347+
* <b>Allowed Values: </b>Pass, Fail, InProgress
342348
*
343349
* @param eventResponse <p>
344350
* The event response.
@@ -358,7 +364,7 @@ public void setEventResponse(EventResponseType eventResponse) {
358364
* together.
359365
* <p>
360366
* <b>Constraints:</b><br/>
361-
* <b>Allowed Values: </b>Success, Failure
367+
* <b>Allowed Values: </b>Pass, Fail, InProgress
362368
*
363369
* @param eventResponse <p>
364370
* The event response.

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventResponseType.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
*/
2424
public enum EventResponseType {
2525

26-
Success("Success"),
27-
Failure("Failure");
26+
Pass("Pass"),
27+
Fail("Fail"),
28+
InProgress("InProgress");
2829

2930
private String value;
3031

@@ -40,8 +41,9 @@ public String toString() {
4041
private static final Map<String, EventResponseType> enumMap;
4142
static {
4243
enumMap = new HashMap<String, EventResponseType>();
43-
enumMap.put("Success", Success);
44-
enumMap.put("Failure", Failure);
44+
enumMap.put("Pass", Pass);
45+
enumMap.put("Fail", Fail);
46+
enumMap.put("InProgress", InProgress);
4547
}
4648

4749
/**

aws-android-sdk-cognitoidentityprovider/src/main/java/com/amazonaws/services/cognitoidentityprovider/model/EventType.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ public enum EventType {
2525

2626
SignIn("SignIn"),
2727
SignUp("SignUp"),
28-
ForgotPassword("ForgotPassword");
28+
ForgotPassword("ForgotPassword"),
29+
PasswordChange("PasswordChange"),
30+
ResendCode("ResendCode");
2931

3032
private String value;
3133

@@ -44,6 +46,8 @@ public String toString() {
4446
enumMap.put("SignIn", SignIn);
4547
enumMap.put("SignUp", SignUp);
4648
enumMap.put("ForgotPassword", ForgotPassword);
49+
enumMap.put("PasswordChange", PasswordChange);
50+
enumMap.put("ResendCode", ResendCode);
4751
}
4852

4953
/**

0 commit comments

Comments
 (0)