@aws-sdk/client-cognito-identity-provider 3.95.0 → 3.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +5 -2
  3. package/dist-cjs/commands/StartUserImportJobCommand.js +1 -2
  4. package/dist-cjs/models/models_0.js +15 -15
  5. package/dist-cjs/models/models_1.js +7 -1
  6. package/dist-cjs/protocols/Aws_json1_1.js +51 -0
  7. package/dist-es/commands/StartUserImportJobCommand.js +1 -2
  8. package/dist-es/models/models_0.js +9 -9
  9. package/dist-es/models/models_1.js +4 -0
  10. package/dist-es/protocols/Aws_json1_1.js +87 -39
  11. package/dist-types/CognitoIdentityProvider.d.ts +261 -157
  12. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
  13. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -1
  14. package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -7
  15. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -1
  16. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +27 -16
  17. package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
  18. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +0 -1
  19. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +17 -12
  20. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -1
  21. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +10 -6
  22. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +5 -3
  23. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +10 -5
  24. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
  25. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +3 -2
  26. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -3
  27. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +6 -2
  28. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +10 -6
  29. package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -1
  30. package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
  33. package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -1
  34. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -1
  37. package/dist-types/commands/ForgotPasswordCommand.d.ts +8 -8
  38. package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -1
  39. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
  40. package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -2
  41. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +3 -1
  42. package/dist-types/commands/GlobalSignOutCommand.d.ts +5 -2
  43. package/dist-types/commands/InitiateAuthCommand.d.ts +2 -1
  44. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  47. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -1
  48. package/dist-types/commands/RevokeTokenCommand.d.ts +3 -1
  49. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +5 -2
  50. package/dist-types/commands/SetUICustomizationCommand.d.ts +13 -7
  51. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +8 -5
  52. package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -2
  53. package/dist-types/commands/SignUpCommand.d.ts +2 -1
  54. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -2
  55. package/dist-types/commands/TagResourceCommand.d.ts +14 -7
  56. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  57. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +3 -2
  58. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateResourceServerCommand.d.ts +4 -3
  60. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +8 -7
  61. package/dist-types/commands/UpdateUserPoolCommand.d.ts +4 -3
  62. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +19 -12
  63. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +3 -2
  64. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +6 -0
  65. package/dist-types/models/models_0.d.ts +1940 -1245
  66. package/dist-types/models/models_1.d.ts +247 -123
  67. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -2
  68. package/dist-types/ts3.4/models/models_0.d.ts +17 -15
  69. package/dist-types/ts3.4/models/models_1.d.ts +14 -1
  70. package/package.json +1 -1
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
4
- import { StartUserImportJobRequest } from "../models/models_0";
5
- import { StartUserImportJobResponse } from "../models/models_1";
4
+ import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_1";
6
5
  export interface StartUserImportJobCommandInput extends StartUserImportJobRequest {
7
6
  }
8
7
  export interface StartUserImportJobCommandOutput extends StartUserImportJobResponse, __MetadataBearer {
@@ -1361,6 +1361,10 @@ export declare class ConcurrentModificationException extends __BaseException {
1361
1361
 
1362
1362
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
1363
1363
  }
1364
+ export declare enum VerifiedAttributeType {
1365
+ EMAIL = "email",
1366
+ PHONE_NUMBER = "phone_number"
1367
+ }
1364
1368
 
1365
1369
  export interface ChangePasswordRequest {
1366
1370
 
@@ -1705,10 +1709,6 @@ export declare namespace CreateUserImportJobResponse {
1705
1709
 
1706
1710
  const filterSensitiveLog: (obj: CreateUserImportJobResponse) => any;
1707
1711
  }
1708
- export declare enum VerifiedAttributeType {
1709
- EMAIL = "email",
1710
- PHONE_NUMBER = "phone_number"
1711
- }
1712
1712
 
1713
1713
  export interface DeviceConfigurationType {
1714
1714
 
@@ -1848,6 +1848,15 @@ export declare namespace SmsConfigurationType {
1848
1848
 
1849
1849
  const filterSensitiveLog: (obj: SmsConfigurationType) => any;
1850
1850
  }
1851
+
1852
+ export interface UserAttributeUpdateSettingsType {
1853
+
1854
+ AttributesRequireVerificationBeforeUpdate?: (VerifiedAttributeType | string)[];
1855
+ }
1856
+ export declare namespace UserAttributeUpdateSettingsType {
1857
+
1858
+ const filterSensitiveLog: (obj: UserAttributeUpdateSettingsType) => any;
1859
+ }
1851
1860
  export declare enum UsernameAttributeType {
1852
1861
  EMAIL = "email",
1853
1862
  PHONE_NUMBER = "phone_number"
@@ -1920,6 +1929,8 @@ export interface CreateUserPoolRequest {
1920
1929
 
1921
1930
  MfaConfiguration?: UserPoolMfaType | string;
1922
1931
 
1932
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
1933
+
1923
1934
  DeviceConfiguration?: DeviceConfigurationType;
1924
1935
 
1925
1936
  EmailConfiguration?: EmailConfigurationType;
@@ -1983,6 +1994,8 @@ export interface UserPoolType {
1983
1994
 
1984
1995
  SmsAuthenticationMessage?: string;
1985
1996
 
1997
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
1998
+
1986
1999
  MfaConfiguration?: UserPoolMfaType | string;
1987
2000
 
1988
2001
  DeviceConfiguration?: DeviceConfigurationType;
@@ -3411,14 +3424,3 @@ export declare namespace SignUpResponse {
3411
3424
 
3412
3425
  const filterSensitiveLog: (obj: SignUpResponse) => any;
3413
3426
  }
3414
-
3415
- export interface StartUserImportJobRequest {
3416
-
3417
- UserPoolId: string | undefined;
3418
-
3419
- JobId: string | undefined;
3420
- }
3421
- export declare namespace StartUserImportJobRequest {
3422
-
3423
- const filterSensitiveLog: (obj: StartUserImportJobRequest) => any;
3424
- }
@@ -1,6 +1,17 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
- import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
3
+ import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
4
+
5
+ export interface StartUserImportJobRequest {
6
+
7
+ UserPoolId: string | undefined;
8
+
9
+ JobId: string | undefined;
10
+ }
11
+ export declare namespace StartUserImportJobRequest {
12
+
13
+ const filterSensitiveLog: (obj: StartUserImportJobRequest) => any;
14
+ }
4
15
 
5
16
  export interface StartUserImportJobResponse {
6
17
 
@@ -225,6 +236,8 @@ export interface UpdateUserPoolRequest {
225
236
 
226
237
  SmsAuthenticationMessage?: string;
227
238
 
239
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
240
+
228
241
  MfaConfiguration?: UserPoolMfaType | string;
229
242
 
230
243
  DeviceConfiguration?: DeviceConfigurationType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.95.0",
4
+ "version": "3.98.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",