Skip to content

Commit 1efffd9

Browse files
author
awstools
committed
docs(client-cognito-identity-provider): This change is being made simply to fix the public documentation based on the models. We have included the PasswordChange and ResendCode events, along with the Pass, Fail and InProgress status. We have removed the Success and Failure status which are never returned by our APIs.
1 parent 7d27593 commit 1efffd9

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

clients/client-cognito-identity-provider/src/models/models_0.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,8 +2191,9 @@ export interface EventFeedbackType {
21912191
}
21922192

21932193
export enum EventResponseType {
2194-
Failure = "Failure",
2195-
Success = "Success",
2194+
Fail = "Fail",
2195+
InProgress = "InProgress",
2196+
Pass = "Pass",
21962197
}
21972198

21982199
export enum RiskDecisionType {
@@ -2230,6 +2231,8 @@ export interface EventRiskType {
22302231

22312232
export enum EventType {
22322233
ForgotPassword = "ForgotPassword",
2234+
PasswordChange = "PasswordChange",
2235+
ResendCode = "ResendCode",
22332236
SignIn = "SignIn",
22342237
SignUp = "SignUp",
22352238
}

codegen/sdk-codegen/aws-models/cognito-identity-provider.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6245,12 +6245,16 @@
62456245
"traits": {
62466246
"smithy.api#enum": [
62476247
{
6248-
"value": "Success",
6249-
"name": "Success"
6248+
"value": "Pass",
6249+
"name": "Pass"
62506250
},
62516251
{
6252-
"value": "Failure",
6253-
"name": "Failure"
6252+
"value": "Fail",
6253+
"name": "Fail"
6254+
},
6255+
{
6256+
"value": "InProgress",
6257+
"name": "InProgress"
62546258
}
62556259
]
62566260
}
@@ -6296,6 +6300,14 @@
62966300
{
62976301
"value": "ForgotPassword",
62986302
"name": "ForgotPassword"
6303+
},
6304+
{
6305+
"value": "PasswordChange",
6306+
"name": "PasswordChange"
6307+
},
6308+
{
6309+
"value": "ResendCode",
6310+
"name": "ResendCode"
62996311
}
63006312
]
63016313
}

0 commit comments

Comments
 (0)