@aws-sdk/client-cognito-identity-provider 3.141.0 → 3.145.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.
@@ -483,7 +483,7 @@ export declare class CognitoIdentityProvider extends CognitoIdentityProviderClie
483
483
  adminUserGlobalSignOut(args: AdminUserGlobalSignOutCommandInput, cb: (err: any, data?: AdminUserGlobalSignOutCommandOutput) => void): void;
484
484
  adminUserGlobalSignOut(args: AdminUserGlobalSignOutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminUserGlobalSignOutCommandOutput) => void): void;
485
485
  /**
486
- * <p>Begins setup of time-based one-time password multi-factor authentication (TOTP MFA)
486
+ * <p>Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA)
487
487
  * for a user, with a unique private key that Amazon Cognito generates and returns in the API
488
488
  * response. You can authorize an <code>AssociateSoftwareToken</code> request with either
489
489
  * the user's access token, or a session string from a challenge response that you received
@@ -7,7 +7,7 @@ export interface AssociateSoftwareTokenCommandInput extends AssociateSoftwareTok
7
7
  export interface AssociateSoftwareTokenCommandOutput extends AssociateSoftwareTokenResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Begins setup of time-based one-time password multi-factor authentication (TOTP MFA)
10
+ * <p>Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA)
11
11
  * for a user, with a unique private key that Amazon Cognito generates and returns in the API
12
12
  * response. You can authorize an <code>AssociateSoftwareToken</code> request with either
13
13
  * the user's access token, or a session string from a challenge response that you received
@@ -1,7 +1,8 @@
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 { SignUpRequest, SignUpResponse } from "../models/models_0";
4
+ import { SignUpRequest } from "../models/models_0";
5
+ import { SignUpResponse } from "../models/models_1";
5
6
  export interface SignUpCommandInput extends SignUpRequest {
6
7
  }
7
8
  export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {
@@ -749,7 +749,7 @@ export declare class InvalidSmsRoleAccessPolicyException extends __BaseException
749
749
  /**
750
750
  * <p>This exception is thrown when the trust relationship is not valid for the role
751
751
  * provided for SMS configuration. This can happen if you don't trust
752
- * <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
752
+ * <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
753
753
  * not match what is provided in the SMS configuration for the user pool.</p>
754
754
  */
755
755
  export declare class InvalidSmsRoleTrustRelationshipException extends __BaseException {
@@ -2523,8 +2523,8 @@ export interface AssociateSoftwareTokenRequest {
2523
2523
  }
2524
2524
  export interface AssociateSoftwareTokenResponse {
2525
2525
  /**
2526
- * <p>A unique generated shared secret code that is used in the time-based one-time password
2527
- * (TOTP) algorithm to generate a one-time code.</p>
2526
+ * <p>A unique generated shared secret code that is used in the
2527
+ * TOTP algorithm to generate a one-time code.</p>
2528
2528
  */
2529
2529
  SecretCode?: string;
2530
2530
  /**
@@ -2545,6 +2545,17 @@ export declare class ConcurrentModificationException extends __BaseException {
2545
2545
  */
2546
2546
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
2547
2547
  }
2548
+ /**
2549
+ * <p>This exception is thrown when WAF doesn't allow your request based on a web ACL that's associated with your user pool.</p>
2550
+ */
2551
+ export declare class ForbiddenException extends __BaseException {
2552
+ readonly name: "ForbiddenException";
2553
+ readonly $fault: "client";
2554
+ /**
2555
+ * @internal
2556
+ */
2557
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
2558
+ }
2548
2559
  export declare enum VerifiedAttributeType {
2549
2560
  EMAIL = "email",
2550
2561
  PHONE_NUMBER = "phone_number"
@@ -2652,12 +2663,12 @@ export interface ConfirmForgotPasswordRequest {
2652
2663
  */
2653
2664
  Username: string | undefined;
2654
2665
  /**
2655
- * <p>The confirmation code sent by a user's request to retrieve a forgotten password. For
2666
+ * <p>The confirmation code from your user's request to reset their password. For
2656
2667
  * more information, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html">ForgotPassword</a>.</p>
2657
2668
  */
2658
2669
  ConfirmationCode: string | undefined;
2659
2670
  /**
2660
- * <p>The password sent by a user's request to retrieve a forgotten password.</p>
2671
+ * <p>The new password that your user wants to set.</p>
2661
2672
  */
2662
2673
  Password: string | undefined;
2663
2674
  /**
@@ -3368,27 +3379,23 @@ export interface CreateUserImportJobResponse {
3368
3379
  UserImportJob?: UserImportJobType;
3369
3380
  }
3370
3381
  /**
3371
- * <p>The device tracking configuration for a user pool. A user pool with device tracking
3372
- * deactivated returns a null value.</p>
3373
- * <note>
3374
- * <p>When you provide values for any DeviceConfiguration field, you activate device
3375
- * tracking.</p>
3376
- * </note>
3382
+ * <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
3383
+ * <note>
3384
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
3385
+ * </note>
3377
3386
  */
3378
3387
  export interface DeviceConfigurationType {
3379
3388
  /**
3380
- * <p>When true, device authentication can replace SMS and time-based one-time password
3381
- * (TOTP) factors for multi-factor authentication (MFA).</p>
3382
- * <note>
3383
- * <p>Users that sign in with devices that have not been confirmed or remembered will
3384
- * still have to provide a second factor, whether or not ChallengeRequiredOnNewDevice
3385
- * is true, when your user pool requires MFA.</p>
3386
- * </note>
3389
+ * <p>When true, device authentication can replace SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).</p>
3390
+ * <note>
3391
+ * <p>Regardless of the value of this field, users that sign in with new devices that have not been confirmed or remembered must provide a second factor if your user pool requires MFA.</p>
3392
+ * </note>
3387
3393
  */
3388
3394
  ChallengeRequiredOnNewDevice?: boolean;
3389
3395
  /**
3390
- * <p>When true, users can opt in to remembering their device. Your app code must use
3391
- * callback functions to return the user's choice.</p>
3396
+ * <p>When true, Amazon Cognito doesn't remember newly-confirmed devices. Users who want to authenticate with their device
3397
+ * can instead opt in to remembering their device. To collect a choice from your user, create an input prompt
3398
+ * in your app and return the value that the user chooses in an <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateDeviceStatus.html">UpdateDeviceStatus</a> API request.</p>
3392
3399
  */
3393
3400
  DeviceOnlyRememberedOnUserPrompt?: boolean;
3394
3401
  }
@@ -3695,7 +3702,7 @@ export interface SmsConfigurationType {
3695
3702
  * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
3696
3703
  * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
3697
3704
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
3698
- * Verifying updates to to email addresses and phone numbers</a>.</p>
3705
+ * Verifying updates to email addresses and phone numbers</a>.</p>
3699
3706
  */
3700
3707
  export interface UserAttributeUpdateSettingsType {
3701
3708
  /**
@@ -3841,13 +3848,13 @@ export interface CreateUserPoolRequest {
3841
3848
  */
3842
3849
  SmsVerificationMessage?: string;
3843
3850
  /**
3844
- * <p>A string representing the email verification message. EmailVerificationMessage is
3845
- * allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
3851
+ * <p>A string representing the email verification message.
3852
+ * <code>EmailVerificationMessage</code> is allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
3846
3853
  */
3847
3854
  EmailVerificationMessage?: string;
3848
3855
  /**
3849
- * <p>A string representing the email verification subject. EmailVerificationSubject is
3850
- * allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
3856
+ * <p>A string representing the email verification subject.
3857
+ * <code>EmailVerificationSubject</code> is allowed only if <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_EmailConfigurationType.html#CognitoUserPools-Type-EmailConfigurationType-EmailSendingAccount">EmailSendingAccount</a> is DEVELOPER. </p>
3851
3858
  */
3852
3859
  EmailVerificationSubject?: string;
3853
3860
  /**
@@ -3867,11 +3874,14 @@ export interface CreateUserPoolRequest {
3867
3874
  * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
3868
3875
  * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
3869
3876
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
3870
- * Verifying updates to to email addresses and phone numbers</a>.</p>
3877
+ * Verifying updates to email addresses and phone numbers</a>.</p>
3871
3878
  */
3872
3879
  UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
3873
3880
  /**
3874
- * <p>The device configuration.</p>
3881
+ * <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
3882
+ * <note>
3883
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
3884
+ * </note>
3875
3885
  */
3876
3886
  DeviceConfiguration?: DeviceConfigurationType;
3877
3887
  /**
@@ -4001,7 +4011,7 @@ export interface UserPoolType {
4001
4011
  * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
4002
4012
  * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
4003
4013
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
4004
- * Verifying updates to to email addresses and phone numbers</a>.</p>
4014
+ * Verifying updates to email addresses and phone numbers</a>.</p>
4005
4015
  */
4006
4016
  UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
4007
4017
  /**
@@ -4026,7 +4036,10 @@ export interface UserPoolType {
4026
4036
  */
4027
4037
  MfaConfiguration?: UserPoolMfaType | string;
4028
4038
  /**
4029
- * <p>The device configuration.</p>
4039
+ * <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
4040
+ * <note>
4041
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
4042
+ * </note>
4030
4043
  */
4031
4044
  DeviceConfiguration?: DeviceConfigurationType;
4032
4045
  /**
@@ -4273,45 +4286,44 @@ export interface CreateUserPoolClientRequest {
4273
4286
  * <code>ALLOW_</code> prefix.</p>
4274
4287
  * </note>
4275
4288
  * <p>Valid values include:</p>
4276
- * <ul>
4277
- * <li>
4278
- * <p>
4279
- * <code>ALLOW_ADMIN_USER_PASSWORD_AUTH</code>: Enable admin based user password
4289
+ * <dl>
4290
+ * <dt>ALLOW_ADMIN_USER_PASSWORD_AUTH</dt>
4291
+ * <dd>
4292
+ * <p>Enable admin based user password
4280
4293
  * authentication flow <code>ADMIN_USER_PASSWORD_AUTH</code>. This setting replaces
4281
4294
  * the <code>ADMIN_NO_SRP_AUTH</code> setting. With this authentication flow, Amazon Cognito
4282
4295
  * receives the password in the request instead of using the Secure Remote Password
4283
4296
  * (SRP) protocol to verify passwords.</p>
4284
- * </li>
4285
- * <li>
4286
- * <p>
4287
- * <code>ALLOW_CUSTOM_AUTH</code>: Enable Lambda trigger based
4288
- * authentication.</p>
4289
- * </li>
4290
- * <li>
4291
- * <p>
4292
- * <code>ALLOW_USER_PASSWORD_AUTH</code>: Enable user password-based
4297
+ * </dd>
4298
+ * <dt>ALLOW_CUSTOM_AUTH</dt>
4299
+ * <dd>
4300
+ * <p>Enable Lambda trigger based authentication.</p>
4301
+ * </dd>
4302
+ * <dt>ALLOW_USER_PASSWORD_AUTH</dt>
4303
+ * <dd>
4304
+ * <p>Enable user password-based
4293
4305
  * authentication. In this flow, Amazon Cognito receives the password in the request instead
4294
4306
  * of using the SRP protocol to verify passwords.</p>
4295
- * </li>
4296
- * <li>
4297
- * <p>
4298
- * <code>ALLOW_USER_SRP_AUTH</code>: Enable SRP-based authentication.</p>
4299
- * </li>
4300
- * <li>
4301
- * <p>
4302
- * <code>ALLOW_REFRESH_TOKEN_AUTH</code>: Enable authflow to refresh
4303
- * tokens.</p>
4304
- * </li>
4305
- * </ul>
4306
- * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your app client
4307
- * activates the <code>ALLOW_USER_SRP_AUTH</code> and <code>ALLOW_CUSTOM_AUTH</code>
4308
- * authentication flows.</p>
4307
+ * </dd>
4308
+ * <dt>ALLOW_USER_SRP_AUTH</dt>
4309
+ * <dd>
4310
+ * <p>Enable SRP-based authentication.</p>
4311
+ * </dd>
4312
+ * <dt>ALLOW_REFRESH_TOKEN_AUTH</dt>
4313
+ * <dd>
4314
+ * <p>Enable the authflow that refreshes tokens.</p>
4315
+ * </dd>
4316
+ * </dl>
4317
+ * <p>If you don't specify a value for <code>ExplicitAuthFlows</code>, your user client
4318
+ * supports <code>ALLOW_USER_SRP_AUTH</code> and <code>ALLOW_CUSTOM_AUTH</code>.</p>
4309
4319
  */
4310
4320
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
4311
4321
  /**
4312
- * <p>A list of provider names for the IdPs that this client supports. The following are
4313
- * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>
4314
- * <code>LoginWithAmazon</code>, and the names of your own SAML and OIDC providers.</p>
4322
+ * <p>A list of provider names for the identity providers (IdPs) that are supported on this
4323
+ * client. The following are supported: <code>COGNITO</code>, <code>Facebook</code>,
4324
+ * <code>Google</code>, <code>SignInWithApple</code>, and <code>LoginWithAmazon</code>. You can also specify the names
4325
+ * that you configured for the SAML and OIDC IdPs in your user pool, for example
4326
+ * <code>MySAMLIdP</code> or <code>MyOIDCIdP</code>.</p>
4315
4327
  */
4316
4328
  SupportedIdentityProviders?: string[];
4317
4329
  /**
@@ -4565,7 +4577,7 @@ export interface UserPoolClientType {
4565
4577
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
4566
4578
  /**
4567
4579
  * <p>A list of provider names for the IdPs that this client supports. The following are
4568
- * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>
4580
+ * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>, <code>SignInWithApple</code>,
4569
4581
  * <code>LoginWithAmazon</code>, and the names of your own SAML and OIDC providers.</p>
4570
4582
  */
4571
4583
  SupportedIdentityProviders?: string[];
@@ -5536,15 +5548,15 @@ export interface SoftwareTokenMfaConfigType {
5536
5548
  }
5537
5549
  export interface GetUserPoolMfaConfigResponse {
5538
5550
  /**
5539
- * <p>The SMS text message multi-factor (MFA) configuration.</p>
5551
+ * <p>The SMS text message multi-factor authentication (MFA) configuration.</p>
5540
5552
  */
5541
5553
  SmsMfaConfiguration?: SmsMfaConfigType;
5542
5554
  /**
5543
- * <p>The software token multi-factor (MFA) configuration.</p>
5555
+ * <p>The software token multi-factor authentication (MFA) configuration.</p>
5544
5556
  */
5545
5557
  SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
5546
5558
  /**
5547
- * <p>The multi-factor (MFA) configuration. Valid values include:</p>
5559
+ * <p>The multi-factor authentication (MFA) configuration. Valid values include:</p>
5548
5560
  * <ul>
5549
5561
  * <li>
5550
5562
  * <p>
@@ -6644,7 +6656,7 @@ export interface SetUserMFAPreferenceRequest {
6644
6656
  */
6645
6657
  SMSMfaSettings?: SMSMfaSettingsType;
6646
6658
  /**
6647
- * <p>The time-based one-time password software token MFA settings.</p>
6659
+ * <p>The time-based one-time password (TOTP) software token MFA settings.</p>
6648
6660
  */
6649
6661
  SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
6650
6662
  /**
@@ -6819,26 +6831,6 @@ export interface SignUpRequest {
6819
6831
  */
6820
6832
  ClientMetadata?: Record<string, string>;
6821
6833
  }
6822
- /**
6823
- * <p>The response from the server for a registration request.</p>
6824
- */
6825
- export interface SignUpResponse {
6826
- /**
6827
- * <p>A response from the server indicating that a user registration has been
6828
- * confirmed.</p>
6829
- */
6830
- UserConfirmed: boolean | undefined;
6831
- /**
6832
- * <p>The code delivery details returned by the server response to the user registration
6833
- * request.</p>
6834
- */
6835
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
6836
- /**
6837
- * <p>The UUID of the authenticated user. This isn't the same as
6838
- * <code>username</code>.</p>
6839
- */
6840
- UserSub: string | undefined;
6841
- }
6842
6834
  /**
6843
6835
  * @internal
6844
6836
  */
@@ -7739,7 +7731,3 @@ export declare const SetUserSettingsResponseFilterSensitiveLog: (obj: SetUserSet
7739
7731
  * @internal
7740
7732
  */
7741
7733
  export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
7742
- /**
7743
- * @internal
7744
- */
7745
- export declare const SignUpResponseFilterSensitiveLog: (obj: SignUpResponse) => any;
@@ -1,6 +1,26 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
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
+ * <p>The response from the server for a registration request.</p>
6
+ */
7
+ export interface SignUpResponse {
8
+ /**
9
+ * <p>A response from the server indicating that a user registration has been
10
+ * confirmed.</p>
11
+ */
12
+ UserConfirmed: boolean | undefined;
13
+ /**
14
+ * <p>The code delivery details returned by the server response to the user registration
15
+ * request.</p>
16
+ */
17
+ CodeDeliveryDetails?: CodeDeliveryDetailsType;
18
+ /**
19
+ * <p>The UUID of the authenticated user. This isn't the same as
20
+ * <code>username</code>.</p>
21
+ */
22
+ UserSub: string | undefined;
23
+ }
4
24
  /**
5
25
  * <p>Represents the request to start the user import job.</p>
6
26
  */
@@ -315,7 +335,7 @@ export interface UpdateUserPoolRequest {
315
335
  * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
316
336
  * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
317
337
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
318
- * Verifying updates to to email addresses and phone numbers</a>.</p>
338
+ * Verifying updates to email addresses and phone numbers</a>.</p>
319
339
  */
320
340
  UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
321
341
  /**
@@ -342,7 +362,10 @@ export interface UpdateUserPoolRequest {
342
362
  */
343
363
  MfaConfiguration?: UserPoolMfaType | string;
344
364
  /**
345
- * <p>Device configuration.</p>
365
+ * <p>The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.</p>
366
+ * <note>
367
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you activate the Amazon Cognito device-remembering feature.</p>
368
+ * </note>
346
369
  */
347
370
  DeviceConfiguration?: DeviceConfigurationType;
348
371
  /**
@@ -497,7 +520,7 @@ export interface UpdateUserPoolClientRequest {
497
520
  ExplicitAuthFlows?: (ExplicitAuthFlowsType | string)[];
498
521
  /**
499
522
  * <p>A list of provider names for the IdPs that this client supports. The following are
500
- * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>
523
+ * supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>, <code>SignInWithApple</code>,
501
524
  * <code>LoginWithAmazon</code>, and the names of your own SAML and OIDC providers.</p>
502
525
  */
503
526
  SupportedIdentityProviders?: string[];
@@ -745,6 +768,10 @@ export interface VerifyUserAttributeRequest {
745
768
  */
746
769
  export interface VerifyUserAttributeResponse {
747
770
  }
771
+ /**
772
+ * @internal
773
+ */
774
+ export declare const SignUpResponseFilterSensitiveLog: (obj: SignUpResponse) => any;
748
775
  /**
749
776
  * @internal
750
777
  */
@@ -1,7 +1,8 @@
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 { SignUpRequest, SignUpResponse } from "../models/models_0";
4
+ import { SignUpRequest } from "../models/models_0";
5
+ import { SignUpResponse } from "../models/models_1";
5
6
  export interface SignUpCommandInput extends SignUpRequest {
6
7
  }
7
8
  export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {
@@ -1009,6 +1009,13 @@ export declare class ConcurrentModificationException extends __BaseException {
1009
1009
 
1010
1010
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
1011
1011
  }
1012
+
1013
+ export declare class ForbiddenException extends __BaseException {
1014
+ readonly name: "ForbiddenException";
1015
+ readonly $fault: "client";
1016
+
1017
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
1018
+ }
1012
1019
  export declare enum VerifiedAttributeType {
1013
1020
  EMAIL = "email",
1014
1021
  PHONE_NUMBER = "phone_number"
@@ -2460,15 +2467,6 @@ export interface SignUpRequest {
2460
2467
  ClientMetadata?: Record<string, string>;
2461
2468
  }
2462
2469
 
2463
- export interface SignUpResponse {
2464
-
2465
- UserConfirmed: boolean | undefined;
2466
-
2467
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
2468
-
2469
- UserSub: string | undefined;
2470
- }
2471
-
2472
2470
  export declare const RecoveryOptionTypeFilterSensitiveLog: (obj: RecoveryOptionType) => any;
2473
2471
 
2474
2472
  export declare const AccountRecoverySettingTypeFilterSensitiveLog: (obj: AccountRecoverySettingType) => any;
@@ -2918,5 +2916,3 @@ export declare const SetUserSettingsRequestFilterSensitiveLog: (obj: SetUserSett
2918
2916
  export declare const SetUserSettingsResponseFilterSensitiveLog: (obj: SetUserSettingsResponse) => any;
2919
2917
 
2920
2918
  export declare const SignUpRequestFilterSensitiveLog: (obj: SignUpRequest) => any;
2921
-
2922
- export declare const SignUpResponseFilterSensitiveLog: (obj: SignUpResponse) => any;
@@ -2,6 +2,15 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
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
4
 
5
+ export interface SignUpResponse {
6
+
7
+ UserConfirmed: boolean | undefined;
8
+
9
+ CodeDeliveryDetails?: CodeDeliveryDetailsType;
10
+
11
+ UserSub: string | undefined;
12
+ }
13
+
5
14
  export interface StartUserImportJobRequest {
6
15
 
7
16
  UserPoolId: string | undefined;
@@ -273,6 +282,8 @@ export interface VerifyUserAttributeRequest {
273
282
  export interface VerifyUserAttributeResponse {
274
283
  }
275
284
 
285
+ export declare const SignUpResponseFilterSensitiveLog: (obj: SignUpResponse) => any;
286
+
276
287
  export declare const StartUserImportJobRequestFilterSensitiveLog: (obj: StartUserImportJobRequest) => any;
277
288
 
278
289
  export declare const StartUserImportJobResponseFilterSensitiveLog: (obj: StartUserImportJobResponse) => any;
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.141.0",
4
+ "version": "3.145.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.141.0",
21
+ "@aws-sdk/client-sts": "3.145.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.141.0",
23
+ "@aws-sdk/credential-provider-node": "3.145.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.137.0",
39
+ "@aws-sdk/smithy-client": "3.142.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.137.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.142.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
@@ -61,6 +61,11 @@
61
61
  "typedoc": "0.19.2",
62
62
  "typescript": "~4.6.2"
63
63
  },
64
+ "overrides": {
65
+ "typedoc": {
66
+ "typescript": "~4.6.2"
67
+ }
68
+ },
64
69
  "engines": {
65
70
  "node": ">=12.0.0"
66
71
  },