Skip to content

Commit 0189ee3

Browse files
author
awstools
committed
feat(client-cognito-identity-provider): Add EXTERNAL_PROVIDER enum value to UserStatusType.
1 parent a05338f commit 0189ee3

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _
128128
* // UserCreateDate: new Date("TIMESTAMP"),
129129
* // UserLastModifiedDate: new Date("TIMESTAMP"),
130130
* // Enabled: true || false,
131-
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD",
131+
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER",
132132
* // MFAOptions: [ // MFAOptionListType
133133
* // { // MFAOptionType
134134
* // DeliveryMedium: "SMS" || "EMAIL",

clients/client-cognito-identity-provider/src/commands/AdminGetUserCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export interface AdminGetUserCommandOutput extends AdminGetUserResponse, __Metad
8181
* // UserCreateDate: new Date("TIMESTAMP"),
8282
* // UserLastModifiedDate: new Date("TIMESTAMP"),
8383
* // Enabled: true || false,
84-
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD",
84+
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER",
8585
* // MFAOptions: [ // MFAOptionListType
8686
* // { // MFAOptionType
8787
* // DeliveryMedium: "SMS" || "EMAIL",

clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
8282
* // UserCreateDate: new Date("TIMESTAMP"),
8383
* // UserLastModifiedDate: new Date("TIMESTAMP"),
8484
* // Enabled: true || false,
85-
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD",
85+
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER",
8686
* // MFAOptions: [ // MFAOptionListType
8787
* // { // MFAOptionType
8888
* // DeliveryMedium: "SMS" || "EMAIL",

clients/client-cognito-identity-provider/src/commands/ListUsersInGroupCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface ListUsersInGroupCommandOutput extends ListUsersInGroupResponse,
8383
* // UserCreateDate: new Date("TIMESTAMP"),
8484
* // UserLastModifiedDate: new Date("TIMESTAMP"),
8585
* // Enabled: true || false,
86-
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD",
86+
* // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER",
8787
* // MFAOptions: [ // MFAOptionListType
8888
* // { // MFAOptionType
8989
* // DeliveryMedium: "SMS" || "EMAIL",

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

+1
Original file line numberDiff line numberDiff line change
@@ -967,6 +967,7 @@ export const UserStatusType = {
967967
ARCHIVED: "ARCHIVED",
968968
COMPROMISED: "COMPROMISED",
969969
CONFIRMED: "CONFIRMED",
970+
EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER",
970971
FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD",
971972
RESET_REQUIRED: "RESET_REQUIRED",
972973
UNCONFIRMED: "UNCONFIRMED",

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
"sdkId": "Cognito Identity Provider",
359359
"arnNamespace": "cognito-idp",
360360
"cloudFormationName": "Cognito",
361-
"cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com",
361+
"cloudTrailEventSource": "cognito-idp.amazonaws.com",
362362
"docId": "cognito-idp-2016-04-18",
363363
"endpointPrefix": "cognito-idp"
364364
},
@@ -15641,6 +15641,12 @@
1564115641
"traits": {
1564215642
"smithy.api#enumValue": "FORCE_CHANGE_PASSWORD"
1564315643
}
15644+
},
15645+
"EXTERNAL_PROVIDER": {
15646+
"target": "smithy.api#Unit",
15647+
"traits": {
15648+
"smithy.api#enumValue": "EXTERNAL_PROVIDER"
15649+
}
1564415650
}
1564515651
}
1564615652
},

0 commit comments

Comments
 (0)