diff --git a/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts b/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts index 6fe060cc74496..047ca84cb7a91 100644 --- a/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/AdminCreateUserCommand.ts @@ -128,7 +128,7 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _ * // UserCreateDate: new Date("TIMESTAMP"), * // UserLastModifiedDate: new Date("TIMESTAMP"), * // Enabled: true || false, - * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD", + * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER", * // MFAOptions: [ // MFAOptionListType * // { // MFAOptionType * // DeliveryMedium: "SMS" || "EMAIL", diff --git a/clients/client-cognito-identity-provider/src/commands/AdminGetUserCommand.ts b/clients/client-cognito-identity-provider/src/commands/AdminGetUserCommand.ts index 973969aacf310..57894874d3aa8 100644 --- a/clients/client-cognito-identity-provider/src/commands/AdminGetUserCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/AdminGetUserCommand.ts @@ -81,7 +81,7 @@ export interface AdminGetUserCommandOutput extends AdminGetUserResponse, __Metad * // UserCreateDate: new Date("TIMESTAMP"), * // UserLastModifiedDate: new Date("TIMESTAMP"), * // Enabled: true || false, - * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD", + * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER", * // MFAOptions: [ // MFAOptionListType * // { // MFAOptionType * // DeliveryMedium: "SMS" || "EMAIL", diff --git a/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts b/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts index b5b8ba276eca4..d5db3e11b24bc 100644 --- a/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/ListUsersCommand.ts @@ -82,7 +82,7 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea * // UserCreateDate: new Date("TIMESTAMP"), * // UserLastModifiedDate: new Date("TIMESTAMP"), * // Enabled: true || false, - * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD", + * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER", * // MFAOptions: [ // MFAOptionListType * // { // MFAOptionType * // DeliveryMedium: "SMS" || "EMAIL", diff --git a/clients/client-cognito-identity-provider/src/commands/ListUsersInGroupCommand.ts b/clients/client-cognito-identity-provider/src/commands/ListUsersInGroupCommand.ts index 18c3d29ffe0f7..19db0b836b992 100644 --- a/clients/client-cognito-identity-provider/src/commands/ListUsersInGroupCommand.ts +++ b/clients/client-cognito-identity-provider/src/commands/ListUsersInGroupCommand.ts @@ -83,7 +83,7 @@ export interface ListUsersInGroupCommandOutput extends ListUsersInGroupResponse, * // UserCreateDate: new Date("TIMESTAMP"), * // UserLastModifiedDate: new Date("TIMESTAMP"), * // Enabled: true || false, - * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD", + * // UserStatus: "UNCONFIRMED" || "CONFIRMED" || "ARCHIVED" || "COMPROMISED" || "UNKNOWN" || "RESET_REQUIRED" || "FORCE_CHANGE_PASSWORD" || "EXTERNAL_PROVIDER", * // MFAOptions: [ // MFAOptionListType * // { // MFAOptionType * // DeliveryMedium: "SMS" || "EMAIL", diff --git a/clients/client-cognito-identity-provider/src/models/models_0.ts b/clients/client-cognito-identity-provider/src/models/models_0.ts index b98aa174b81c3..973c425707652 100644 --- a/clients/client-cognito-identity-provider/src/models/models_0.ts +++ b/clients/client-cognito-identity-provider/src/models/models_0.ts @@ -967,6 +967,7 @@ export const UserStatusType = { ARCHIVED: "ARCHIVED", COMPROMISED: "COMPROMISED", CONFIRMED: "CONFIRMED", + EXTERNAL_PROVIDER: "EXTERNAL_PROVIDER", FORCE_CHANGE_PASSWORD: "FORCE_CHANGE_PASSWORD", RESET_REQUIRED: "RESET_REQUIRED", UNCONFIRMED: "UNCONFIRMED", diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json index a4f98fa4e1853..fc2a08683f93e 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json @@ -358,7 +358,7 @@ "sdkId": "Cognito Identity Provider", "arnNamespace": "cognito-idp", "cloudFormationName": "Cognito", - "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", + "cloudTrailEventSource": "cognito-idp.amazonaws.com", "docId": "cognito-idp-2016-04-18", "endpointPrefix": "cognito-idp" }, @@ -15641,6 +15641,12 @@ "traits": { "smithy.api#enumValue": "FORCE_CHANGE_PASSWORD" } + }, + "EXTERNAL_PROVIDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXTERNAL_PROVIDER" + } } } },