@aws-sdk/client-cognito-identity-provider 3.686.0 → 3.691.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.
@@ -12,7 +12,7 @@ export interface RecoveryOptionType {
12
12
  Name: RecoveryOptionNameType | undefined;
13
13
  }
14
14
  export interface AccountRecoverySettingType {
15
- RecoveryMechanisms?: RecoveryOptionType[];
15
+ RecoveryMechanisms?: RecoveryOptionType[] | undefined;
16
16
  }
17
17
  export declare const AccountTakeoverEventActionType: {
18
18
  readonly BLOCK: "BLOCK";
@@ -27,25 +27,25 @@ export interface AccountTakeoverActionType {
27
27
  EventAction: AccountTakeoverEventActionType | undefined;
28
28
  }
29
29
  export interface AccountTakeoverActionsType {
30
- LowAction?: AccountTakeoverActionType;
31
- MediumAction?: AccountTakeoverActionType;
32
- HighAction?: AccountTakeoverActionType;
30
+ LowAction?: AccountTakeoverActionType | undefined;
31
+ MediumAction?: AccountTakeoverActionType | undefined;
32
+ HighAction?: AccountTakeoverActionType | undefined;
33
33
  }
34
34
  export interface NotifyEmailType {
35
35
  Subject: string | undefined;
36
- HtmlBody?: string;
37
- TextBody?: string;
36
+ HtmlBody?: string | undefined;
37
+ TextBody?: string | undefined;
38
38
  }
39
39
  export interface NotifyConfigurationType {
40
- From?: string;
41
- ReplyTo?: string;
40
+ From?: string | undefined;
41
+ ReplyTo?: string | undefined;
42
42
  SourceArn: string | undefined;
43
- BlockEmail?: NotifyEmailType;
44
- NoActionEmail?: NotifyEmailType;
45
- MfaEmail?: NotifyEmailType;
43
+ BlockEmail?: NotifyEmailType | undefined;
44
+ NoActionEmail?: NotifyEmailType | undefined;
45
+ MfaEmail?: NotifyEmailType | undefined;
46
46
  }
47
47
  export interface AccountTakeoverRiskConfigurationType {
48
- NotifyConfiguration?: NotifyConfigurationType;
48
+ NotifyConfiguration?: NotifyConfigurationType | undefined;
49
49
  Actions: AccountTakeoverActionsType | undefined;
50
50
  }
51
51
  export declare const AttributeDataType: {
@@ -57,21 +57,21 @@ export declare const AttributeDataType: {
57
57
  export type AttributeDataType =
58
58
  (typeof AttributeDataType)[keyof typeof AttributeDataType];
59
59
  export interface NumberAttributeConstraintsType {
60
- MinValue?: string;
61
- MaxValue?: string;
60
+ MinValue?: string | undefined;
61
+ MaxValue?: string | undefined;
62
62
  }
63
63
  export interface StringAttributeConstraintsType {
64
- MinLength?: string;
65
- MaxLength?: string;
64
+ MinLength?: string | undefined;
65
+ MaxLength?: string | undefined;
66
66
  }
67
67
  export interface SchemaAttributeType {
68
- Name?: string;
69
- AttributeDataType?: AttributeDataType;
70
- DeveloperOnlyAttribute?: boolean;
71
- Mutable?: boolean;
72
- Required?: boolean;
73
- NumberAttributeConstraints?: NumberAttributeConstraintsType;
74
- StringAttributeConstraints?: StringAttributeConstraintsType;
68
+ Name?: string | undefined;
69
+ AttributeDataType?: AttributeDataType | undefined;
70
+ DeveloperOnlyAttribute?: boolean | undefined;
71
+ Mutable?: boolean | undefined;
72
+ Required?: boolean | undefined;
73
+ NumberAttributeConstraints?: NumberAttributeConstraintsType | undefined;
74
+ StringAttributeConstraints?: StringAttributeConstraintsType | undefined;
75
75
  }
76
76
  export interface AddCustomAttributesRequest {
77
77
  UserPoolId: string | undefined;
@@ -135,7 +135,7 @@ export declare class UserNotFoundException extends __BaseException {
135
135
  export interface AdminConfirmSignUpRequest {
136
136
  UserPoolId: string | undefined;
137
137
  Username: string | undefined;
138
- ClientMetadata?: Record<string, string>;
138
+ ClientMetadata?: Record<string, string> | undefined;
139
139
  }
140
140
  export interface AdminConfirmSignUpResponse {}
141
141
  export declare class InvalidLambdaResponseException extends __BaseException {
@@ -187,22 +187,22 @@ export type MessageActionType =
187
187
  (typeof MessageActionType)[keyof typeof MessageActionType];
188
188
  export interface AttributeType {
189
189
  Name: string | undefined;
190
- Value?: string;
190
+ Value?: string | undefined;
191
191
  }
192
192
  export interface AdminCreateUserRequest {
193
193
  UserPoolId: string | undefined;
194
194
  Username: string | undefined;
195
- UserAttributes?: AttributeType[];
196
- ValidationData?: AttributeType[];
197
- TemporaryPassword?: string;
198
- ForceAliasCreation?: boolean;
199
- MessageAction?: MessageActionType;
200
- DesiredDeliveryMediums?: DeliveryMediumType[];
201
- ClientMetadata?: Record<string, string>;
195
+ UserAttributes?: AttributeType[] | undefined;
196
+ ValidationData?: AttributeType[] | undefined;
197
+ TemporaryPassword?: string | undefined;
198
+ ForceAliasCreation?: boolean | undefined;
199
+ MessageAction?: MessageActionType | undefined;
200
+ DesiredDeliveryMediums?: DeliveryMediumType[] | undefined;
201
+ ClientMetadata?: Record<string, string> | undefined;
202
202
  }
203
203
  export interface MFAOptionType {
204
- DeliveryMedium?: DeliveryMediumType;
205
- AttributeName?: string;
204
+ DeliveryMedium?: DeliveryMediumType | undefined;
205
+ AttributeName?: string | undefined;
206
206
  }
207
207
  export declare const UserStatusType: {
208
208
  readonly ARCHIVED: "ARCHIVED";
@@ -217,16 +217,16 @@ export declare const UserStatusType: {
217
217
  export type UserStatusType =
218
218
  (typeof UserStatusType)[keyof typeof UserStatusType];
219
219
  export interface UserType {
220
- Username?: string;
221
- Attributes?: AttributeType[];
222
- UserCreateDate?: Date;
223
- UserLastModifiedDate?: Date;
224
- Enabled?: boolean;
225
- UserStatus?: UserStatusType;
226
- MFAOptions?: MFAOptionType[];
220
+ Username?: string | undefined;
221
+ Attributes?: AttributeType[] | undefined;
222
+ UserCreateDate?: Date | undefined;
223
+ UserLastModifiedDate?: Date | undefined;
224
+ Enabled?: boolean | undefined;
225
+ UserStatus?: UserStatusType | undefined;
226
+ MFAOptions?: MFAOptionType[] | undefined;
227
227
  }
228
228
  export interface AdminCreateUserResponse {
229
- User?: UserType;
229
+ User?: UserType | undefined;
230
230
  }
231
231
  export declare class CodeDeliveryFailureException extends __BaseException {
232
232
  readonly name: "CodeDeliveryFailureException";
@@ -284,14 +284,14 @@ export declare class UsernameExistsException extends __BaseException {
284
284
  );
285
285
  }
286
286
  export interface MessageTemplateType {
287
- SMSMessage?: string;
288
- EmailMessage?: string;
289
- EmailSubject?: string;
287
+ SMSMessage?: string | undefined;
288
+ EmailMessage?: string | undefined;
289
+ EmailSubject?: string | undefined;
290
290
  }
291
291
  export interface AdminCreateUserConfigType {
292
- AllowAdminCreateUserOnly?: boolean;
293
- UnusedAccountValidityDays?: number;
294
- InviteMessageTemplate?: MessageTemplateType;
292
+ AllowAdminCreateUserOnly?: boolean | undefined;
293
+ UnusedAccountValidityDays?: number | undefined;
294
+ InviteMessageTemplate?: MessageTemplateType | undefined;
295
295
  }
296
296
  export interface AdminDeleteUserRequest {
297
297
  UserPoolId: string | undefined;
@@ -304,9 +304,9 @@ export interface AdminDeleteUserAttributesRequest {
304
304
  }
305
305
  export interface AdminDeleteUserAttributesResponse {}
306
306
  export interface ProviderUserIdentifierType {
307
- ProviderName?: string;
308
- ProviderAttributeName?: string;
309
- ProviderAttributeValue?: string;
307
+ ProviderName?: string | undefined;
308
+ ProviderAttributeName?: string | undefined;
309
+ ProviderAttributeValue?: string | undefined;
310
310
  }
311
311
  export interface AdminDisableProviderForUserRequest {
312
312
  UserPoolId: string | undefined;
@@ -351,11 +351,11 @@ export interface AdminGetDeviceRequest {
351
351
  Username: string | undefined;
352
352
  }
353
353
  export interface DeviceType {
354
- DeviceKey?: string;
355
- DeviceAttributes?: AttributeType[];
356
- DeviceCreateDate?: Date;
357
- DeviceLastModifiedDate?: Date;
358
- DeviceLastAuthenticatedDate?: Date;
354
+ DeviceKey?: string | undefined;
355
+ DeviceAttributes?: AttributeType[] | undefined;
356
+ DeviceCreateDate?: Date | undefined;
357
+ DeviceLastModifiedDate?: Date | undefined;
358
+ DeviceLastAuthenticatedDate?: Date | undefined;
359
359
  }
360
360
  export interface AdminGetDeviceResponse {
361
361
  Device: DeviceType | undefined;
@@ -366,17 +366,17 @@ export interface AdminGetUserRequest {
366
366
  }
367
367
  export interface AdminGetUserResponse {
368
368
  Username: string | undefined;
369
- UserAttributes?: AttributeType[];
370
- UserCreateDate?: Date;
371
- UserLastModifiedDate?: Date;
372
- Enabled?: boolean;
373
- UserStatus?: UserStatusType;
374
- MFAOptions?: MFAOptionType[];
375
- PreferredMfaSetting?: string;
376
- UserMFASettingList?: string[];
369
+ UserAttributes?: AttributeType[] | undefined;
370
+ UserCreateDate?: Date | undefined;
371
+ UserLastModifiedDate?: Date | undefined;
372
+ Enabled?: boolean | undefined;
373
+ UserStatus?: UserStatusType | undefined;
374
+ MFAOptions?: MFAOptionType[] | undefined;
375
+ PreferredMfaSetting?: string | undefined;
376
+ UserMFASettingList?: string[] | undefined;
377
377
  }
378
378
  export interface AnalyticsMetadataType {
379
- AnalyticsEndpointId?: string;
379
+ AnalyticsEndpointId?: string | undefined;
380
380
  }
381
381
  export declare const AuthFlowType: {
382
382
  readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
@@ -389,36 +389,36 @@ export declare const AuthFlowType: {
389
389
  };
390
390
  export type AuthFlowType = (typeof AuthFlowType)[keyof typeof AuthFlowType];
391
391
  export interface HttpHeader {
392
- headerName?: string;
393
- headerValue?: string;
392
+ headerName?: string | undefined;
393
+ headerValue?: string | undefined;
394
394
  }
395
395
  export interface ContextDataType {
396
396
  IpAddress: string | undefined;
397
397
  ServerName: string | undefined;
398
398
  ServerPath: string | undefined;
399
399
  HttpHeaders: HttpHeader[] | undefined;
400
- EncodedData?: string;
400
+ EncodedData?: string | undefined;
401
401
  }
402
402
  export interface AdminInitiateAuthRequest {
403
403
  UserPoolId: string | undefined;
404
404
  ClientId: string | undefined;
405
405
  AuthFlow: AuthFlowType | undefined;
406
- AuthParameters?: Record<string, string>;
407
- ClientMetadata?: Record<string, string>;
408
- AnalyticsMetadata?: AnalyticsMetadataType;
409
- ContextData?: ContextDataType;
406
+ AuthParameters?: Record<string, string> | undefined;
407
+ ClientMetadata?: Record<string, string> | undefined;
408
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
409
+ ContextData?: ContextDataType | undefined;
410
410
  }
411
411
  export interface NewDeviceMetadataType {
412
- DeviceKey?: string;
413
- DeviceGroupKey?: string;
412
+ DeviceKey?: string | undefined;
413
+ DeviceGroupKey?: string | undefined;
414
414
  }
415
415
  export interface AuthenticationResultType {
416
- AccessToken?: string;
417
- ExpiresIn?: number;
418
- TokenType?: string;
419
- RefreshToken?: string;
420
- IdToken?: string;
421
- NewDeviceMetadata?: NewDeviceMetadataType;
416
+ AccessToken?: string | undefined;
417
+ ExpiresIn?: number | undefined;
418
+ TokenType?: string | undefined;
419
+ RefreshToken?: string | undefined;
420
+ IdToken?: string | undefined;
421
+ NewDeviceMetadata?: NewDeviceMetadataType | undefined;
422
422
  }
423
423
  export declare const ChallengeNameType: {
424
424
  readonly ADMIN_NO_SRP_AUTH: "ADMIN_NO_SRP_AUTH";
@@ -436,10 +436,10 @@ export declare const ChallengeNameType: {
436
436
  export type ChallengeNameType =
437
437
  (typeof ChallengeNameType)[keyof typeof ChallengeNameType];
438
438
  export interface AdminInitiateAuthResponse {
439
- ChallengeName?: ChallengeNameType;
440
- Session?: string;
441
- ChallengeParameters?: Record<string, string>;
442
- AuthenticationResult?: AuthenticationResultType;
439
+ ChallengeName?: ChallengeNameType | undefined;
440
+ Session?: string | undefined;
441
+ ChallengeParameters?: Record<string, string> | undefined;
442
+ AuthenticationResult?: AuthenticationResultType | undefined;
443
443
  }
444
444
  export declare class InvalidEmailRoleAccessPolicyException extends __BaseException {
445
445
  readonly name: "InvalidEmailRoleAccessPolicyException";
@@ -481,37 +481,37 @@ export interface AdminLinkProviderForUserResponse {}
481
481
  export interface AdminListDevicesRequest {
482
482
  UserPoolId: string | undefined;
483
483
  Username: string | undefined;
484
- Limit?: number;
485
- PaginationToken?: string;
484
+ Limit?: number | undefined;
485
+ PaginationToken?: string | undefined;
486
486
  }
487
487
  export interface AdminListDevicesResponse {
488
- Devices?: DeviceType[];
489
- PaginationToken?: string;
488
+ Devices?: DeviceType[] | undefined;
489
+ PaginationToken?: string | undefined;
490
490
  }
491
491
  export interface AdminListGroupsForUserRequest {
492
492
  Username: string | undefined;
493
493
  UserPoolId: string | undefined;
494
- Limit?: number;
495
- NextToken?: string;
494
+ Limit?: number | undefined;
495
+ NextToken?: string | undefined;
496
496
  }
497
497
  export interface GroupType {
498
- GroupName?: string;
499
- UserPoolId?: string;
500
- Description?: string;
501
- RoleArn?: string;
502
- Precedence?: number;
503
- LastModifiedDate?: Date;
504
- CreationDate?: Date;
498
+ GroupName?: string | undefined;
499
+ UserPoolId?: string | undefined;
500
+ Description?: string | undefined;
501
+ RoleArn?: string | undefined;
502
+ Precedence?: number | undefined;
503
+ LastModifiedDate?: Date | undefined;
504
+ CreationDate?: Date | undefined;
505
505
  }
506
506
  export interface AdminListGroupsForUserResponse {
507
- Groups?: GroupType[];
508
- NextToken?: string;
507
+ Groups?: GroupType[] | undefined;
508
+ NextToken?: string | undefined;
509
509
  }
510
510
  export interface AdminListUserAuthEventsRequest {
511
511
  UserPoolId: string | undefined;
512
512
  Username: string | undefined;
513
- MaxResults?: number;
514
- NextToken?: string;
513
+ MaxResults?: number | undefined;
514
+ NextToken?: string | undefined;
515
515
  }
516
516
  export declare const ChallengeName: {
517
517
  readonly Mfa: "Mfa";
@@ -525,15 +525,15 @@ export declare const ChallengeResponse: {
525
525
  export type ChallengeResponse =
526
526
  (typeof ChallengeResponse)[keyof typeof ChallengeResponse];
527
527
  export interface ChallengeResponseType {
528
- ChallengeName?: ChallengeName;
529
- ChallengeResponse?: ChallengeResponse;
528
+ ChallengeName?: ChallengeName | undefined;
529
+ ChallengeResponse?: ChallengeResponse | undefined;
530
530
  }
531
531
  export interface EventContextDataType {
532
- IpAddress?: string;
533
- DeviceName?: string;
534
- Timezone?: string;
535
- City?: string;
536
- Country?: string;
532
+ IpAddress?: string | undefined;
533
+ DeviceName?: string | undefined;
534
+ Timezone?: string | undefined;
535
+ City?: string | undefined;
536
+ Country?: string | undefined;
537
537
  }
538
538
  export declare const FeedbackValueType: {
539
539
  readonly INVALID: "Invalid";
@@ -544,7 +544,7 @@ export type FeedbackValueType =
544
544
  export interface EventFeedbackType {
545
545
  FeedbackValue: FeedbackValueType | undefined;
546
546
  Provider: string | undefined;
547
- FeedbackDate?: Date;
547
+ FeedbackDate?: Date | undefined;
548
548
  }
549
549
  export declare const EventResponseType: {
550
550
  readonly Fail: "Fail";
@@ -567,9 +567,9 @@ export declare const RiskLevelType: {
567
567
  };
568
568
  export type RiskLevelType = (typeof RiskLevelType)[keyof typeof RiskLevelType];
569
569
  export interface EventRiskType {
570
- RiskDecision?: RiskDecisionType;
571
- RiskLevel?: RiskLevelType;
572
- CompromisedCredentialsDetected?: boolean;
570
+ RiskDecision?: RiskDecisionType | undefined;
571
+ RiskLevel?: RiskLevelType | undefined;
572
+ CompromisedCredentialsDetected?: boolean | undefined;
573
573
  }
574
574
  export declare const EventType: {
575
575
  readonly ForgotPassword: "ForgotPassword";
@@ -580,18 +580,18 @@ export declare const EventType: {
580
580
  };
581
581
  export type EventType = (typeof EventType)[keyof typeof EventType];
582
582
  export interface AuthEventType {
583
- EventId?: string;
584
- EventType?: EventType;
585
- CreationDate?: Date;
586
- EventResponse?: EventResponseType;
587
- EventRisk?: EventRiskType;
588
- ChallengeResponses?: ChallengeResponseType[];
589
- EventContextData?: EventContextDataType;
590
- EventFeedback?: EventFeedbackType;
583
+ EventId?: string | undefined;
584
+ EventType?: EventType | undefined;
585
+ CreationDate?: Date | undefined;
586
+ EventResponse?: EventResponseType | undefined;
587
+ EventRisk?: EventRiskType | undefined;
588
+ ChallengeResponses?: ChallengeResponseType[] | undefined;
589
+ EventContextData?: EventContextDataType | undefined;
590
+ EventFeedback?: EventFeedbackType | undefined;
591
591
  }
592
592
  export interface AdminListUserAuthEventsResponse {
593
- AuthEvents?: AuthEventType[];
594
- NextToken?: string;
593
+ AuthEvents?: AuthEventType[] | undefined;
594
+ NextToken?: string | undefined;
595
595
  }
596
596
  export declare class UserPoolAddOnNotEnabledException extends __BaseException {
597
597
  readonly name: "UserPoolAddOnNotEnabledException";
@@ -611,24 +611,24 @@ export interface AdminRemoveUserFromGroupRequest {
611
611
  export interface AdminResetUserPasswordRequest {
612
612
  UserPoolId: string | undefined;
613
613
  Username: string | undefined;
614
- ClientMetadata?: Record<string, string>;
614
+ ClientMetadata?: Record<string, string> | undefined;
615
615
  }
616
616
  export interface AdminResetUserPasswordResponse {}
617
617
  export interface AdminRespondToAuthChallengeRequest {
618
618
  UserPoolId: string | undefined;
619
619
  ClientId: string | undefined;
620
620
  ChallengeName: ChallengeNameType | undefined;
621
- ChallengeResponses?: Record<string, string>;
622
- Session?: string;
623
- AnalyticsMetadata?: AnalyticsMetadataType;
624
- ContextData?: ContextDataType;
625
- ClientMetadata?: Record<string, string>;
621
+ ChallengeResponses?: Record<string, string> | undefined;
622
+ Session?: string | undefined;
623
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
624
+ ContextData?: ContextDataType | undefined;
625
+ ClientMetadata?: Record<string, string> | undefined;
626
626
  }
627
627
  export interface AdminRespondToAuthChallengeResponse {
628
- ChallengeName?: ChallengeNameType;
629
- Session?: string;
630
- ChallengeParameters?: Record<string, string>;
631
- AuthenticationResult?: AuthenticationResultType;
628
+ ChallengeName?: ChallengeNameType | undefined;
629
+ Session?: string | undefined;
630
+ ChallengeParameters?: Record<string, string> | undefined;
631
+ AuthenticationResult?: AuthenticationResultType | undefined;
632
632
  }
633
633
  export declare class CodeMismatchException extends __BaseException {
634
634
  readonly name: "CodeMismatchException";
@@ -665,21 +665,21 @@ export declare class SoftwareTokenMFANotFoundException extends __BaseException {
665
665
  );
666
666
  }
667
667
  export interface EmailMfaSettingsType {
668
- Enabled?: boolean;
669
- PreferredMfa?: boolean;
668
+ Enabled?: boolean | undefined;
669
+ PreferredMfa?: boolean | undefined;
670
670
  }
671
671
  export interface SMSMfaSettingsType {
672
- Enabled?: boolean;
673
- PreferredMfa?: boolean;
672
+ Enabled?: boolean | undefined;
673
+ PreferredMfa?: boolean | undefined;
674
674
  }
675
675
  export interface SoftwareTokenMfaSettingsType {
676
- Enabled?: boolean;
677
- PreferredMfa?: boolean;
676
+ Enabled?: boolean | undefined;
677
+ PreferredMfa?: boolean | undefined;
678
678
  }
679
679
  export interface AdminSetUserMFAPreferenceRequest {
680
- SMSMfaSettings?: SMSMfaSettingsType;
681
- SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
682
- EmailMfaSettings?: EmailMfaSettingsType;
680
+ SMSMfaSettings?: SMSMfaSettingsType | undefined;
681
+ SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
682
+ EmailMfaSettings?: EmailMfaSettingsType | undefined;
683
683
  Username: string | undefined;
684
684
  UserPoolId: string | undefined;
685
685
  }
@@ -688,7 +688,7 @@ export interface AdminSetUserPasswordRequest {
688
688
  UserPoolId: string | undefined;
689
689
  Username: string | undefined;
690
690
  Password: string | undefined;
691
- Permanent?: boolean;
691
+ Permanent?: boolean | undefined;
692
692
  }
693
693
  export interface AdminSetUserPasswordResponse {}
694
694
  export interface AdminSetUserSettingsRequest {
@@ -714,14 +714,14 @@ export interface AdminUpdateDeviceStatusRequest {
714
714
  UserPoolId: string | undefined;
715
715
  Username: string | undefined;
716
716
  DeviceKey: string | undefined;
717
- DeviceRememberedStatus?: DeviceRememberedStatusType;
717
+ DeviceRememberedStatus?: DeviceRememberedStatusType | undefined;
718
718
  }
719
719
  export interface AdminUpdateDeviceStatusResponse {}
720
720
  export interface AdminUpdateUserAttributesRequest {
721
721
  UserPoolId: string | undefined;
722
722
  Username: string | undefined;
723
723
  UserAttributes: AttributeType[] | undefined;
724
- ClientMetadata?: Record<string, string>;
724
+ ClientMetadata?: Record<string, string> | undefined;
725
725
  }
726
726
  export interface AdminUpdateUserAttributesResponse {}
727
727
  export interface AdminUserGlobalSignOutRequest {
@@ -736,7 +736,7 @@ export declare const AdvancedSecurityEnabledModeType: {
736
736
  export type AdvancedSecurityEnabledModeType =
737
737
  (typeof AdvancedSecurityEnabledModeType)[keyof typeof AdvancedSecurityEnabledModeType];
738
738
  export interface AdvancedSecurityAdditionalFlowsType {
739
- CustomAuthMode?: AdvancedSecurityEnabledModeType;
739
+ CustomAuthMode?: AdvancedSecurityEnabledModeType | undefined;
740
740
  }
741
741
  export declare const AdvancedSecurityModeType: {
742
742
  readonly AUDIT: "AUDIT";
@@ -753,19 +753,19 @@ export declare const AliasAttributeType: {
753
753
  export type AliasAttributeType =
754
754
  (typeof AliasAttributeType)[keyof typeof AliasAttributeType];
755
755
  export interface AnalyticsConfigurationType {
756
- ApplicationId?: string;
757
- ApplicationArn?: string;
758
- RoleArn?: string;
759
- ExternalId?: string;
760
- UserDataShared?: boolean;
756
+ ApplicationId?: string | undefined;
757
+ ApplicationArn?: string | undefined;
758
+ RoleArn?: string | undefined;
759
+ ExternalId?: string | undefined;
760
+ UserDataShared?: boolean | undefined;
761
761
  }
762
762
  export interface AssociateSoftwareTokenRequest {
763
- AccessToken?: string;
764
- Session?: string;
763
+ AccessToken?: string | undefined;
764
+ Session?: string | undefined;
765
765
  }
766
766
  export interface AssociateSoftwareTokenResponse {
767
- SecretCode?: string;
768
- Session?: string;
767
+ SecretCode?: string | undefined;
768
+ Session?: string | undefined;
769
769
  }
770
770
  export declare class ConcurrentModificationException extends __BaseException {
771
771
  readonly name: "ConcurrentModificationException";
@@ -795,53 +795,53 @@ export interface ChangePasswordRequest {
795
795
  }
796
796
  export interface ChangePasswordResponse {}
797
797
  export interface DeviceSecretVerifierConfigType {
798
- PasswordVerifier?: string;
799
- Salt?: string;
798
+ PasswordVerifier?: string | undefined;
799
+ Salt?: string | undefined;
800
800
  }
801
801
  export interface ConfirmDeviceRequest {
802
802
  AccessToken: string | undefined;
803
803
  DeviceKey: string | undefined;
804
- DeviceSecretVerifierConfig?: DeviceSecretVerifierConfigType;
805
- DeviceName?: string;
804
+ DeviceSecretVerifierConfig?: DeviceSecretVerifierConfigType | undefined;
805
+ DeviceName?: string | undefined;
806
806
  }
807
807
  export interface ConfirmDeviceResponse {
808
- UserConfirmationNecessary?: boolean;
808
+ UserConfirmationNecessary?: boolean | undefined;
809
809
  }
810
810
  export interface UserContextDataType {
811
- IpAddress?: string;
812
- EncodedData?: string;
811
+ IpAddress?: string | undefined;
812
+ EncodedData?: string | undefined;
813
813
  }
814
814
  export interface ConfirmForgotPasswordRequest {
815
815
  ClientId: string | undefined;
816
- SecretHash?: string;
816
+ SecretHash?: string | undefined;
817
817
  Username: string | undefined;
818
818
  ConfirmationCode: string | undefined;
819
819
  Password: string | undefined;
820
- AnalyticsMetadata?: AnalyticsMetadataType;
821
- UserContextData?: UserContextDataType;
822
- ClientMetadata?: Record<string, string>;
820
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
821
+ UserContextData?: UserContextDataType | undefined;
822
+ ClientMetadata?: Record<string, string> | undefined;
823
823
  }
824
824
  export interface ConfirmForgotPasswordResponse {}
825
825
  export interface ConfirmSignUpRequest {
826
826
  ClientId: string | undefined;
827
- SecretHash?: string;
827
+ SecretHash?: string | undefined;
828
828
  Username: string | undefined;
829
829
  ConfirmationCode: string | undefined;
830
- ForceAliasCreation?: boolean;
831
- AnalyticsMetadata?: AnalyticsMetadataType;
832
- UserContextData?: UserContextDataType;
833
- ClientMetadata?: Record<string, string>;
830
+ ForceAliasCreation?: boolean | undefined;
831
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
832
+ UserContextData?: UserContextDataType | undefined;
833
+ ClientMetadata?: Record<string, string> | undefined;
834
834
  }
835
835
  export interface ConfirmSignUpResponse {}
836
836
  export interface CreateGroupRequest {
837
837
  GroupName: string | undefined;
838
838
  UserPoolId: string | undefined;
839
- Description?: string;
840
- RoleArn?: string;
841
- Precedence?: number;
839
+ Description?: string | undefined;
840
+ RoleArn?: string | undefined;
841
+ Precedence?: number | undefined;
842
842
  }
843
843
  export interface CreateGroupResponse {
844
- Group?: GroupType;
844
+ Group?: GroupType | undefined;
845
845
  }
846
846
  export declare class GroupExistsException extends __BaseException {
847
847
  readonly name: "GroupExistsException";
@@ -865,18 +865,18 @@ export interface CreateIdentityProviderRequest {
865
865
  ProviderName: string | undefined;
866
866
  ProviderType: IdentityProviderTypeType | undefined;
867
867
  ProviderDetails: Record<string, string> | undefined;
868
- AttributeMapping?: Record<string, string>;
869
- IdpIdentifiers?: string[];
868
+ AttributeMapping?: Record<string, string> | undefined;
869
+ IdpIdentifiers?: string[] | undefined;
870
870
  }
871
871
  export interface IdentityProviderType {
872
- UserPoolId?: string;
873
- ProviderName?: string;
874
- ProviderType?: IdentityProviderTypeType;
875
- ProviderDetails?: Record<string, string>;
876
- AttributeMapping?: Record<string, string>;
877
- IdpIdentifiers?: string[];
878
- LastModifiedDate?: Date;
879
- CreationDate?: Date;
872
+ UserPoolId?: string | undefined;
873
+ ProviderName?: string | undefined;
874
+ ProviderType?: IdentityProviderTypeType | undefined;
875
+ ProviderDetails?: Record<string, string> | undefined;
876
+ AttributeMapping?: Record<string, string> | undefined;
877
+ IdpIdentifiers?: string[] | undefined;
878
+ LastModifiedDate?: Date | undefined;
879
+ CreationDate?: Date | undefined;
880
880
  }
881
881
  export interface CreateIdentityProviderResponse {
882
882
  IdentityProvider: IdentityProviderType | undefined;
@@ -896,13 +896,13 @@ export interface CreateResourceServerRequest {
896
896
  UserPoolId: string | undefined;
897
897
  Identifier: string | undefined;
898
898
  Name: string | undefined;
899
- Scopes?: ResourceServerScopeType[];
899
+ Scopes?: ResourceServerScopeType[] | undefined;
900
900
  }
901
901
  export interface ResourceServerType {
902
- UserPoolId?: string;
903
- Identifier?: string;
904
- Name?: string;
905
- Scopes?: ResourceServerScopeType[];
902
+ UserPoolId?: string | undefined;
903
+ Identifier?: string | undefined;
904
+ Name?: string | undefined;
905
+ Scopes?: ResourceServerScopeType[] | undefined;
906
906
  }
907
907
  export interface CreateResourceServerResponse {
908
908
  ResourceServer: ResourceServerType | undefined;
@@ -925,22 +925,22 @@ export declare const UserImportJobStatusType: {
925
925
  export type UserImportJobStatusType =
926
926
  (typeof UserImportJobStatusType)[keyof typeof UserImportJobStatusType];
927
927
  export interface UserImportJobType {
928
- JobName?: string;
929
- JobId?: string;
930
- UserPoolId?: string;
931
- PreSignedUrl?: string;
932
- CreationDate?: Date;
933
- StartDate?: Date;
934
- CompletionDate?: Date;
935
- Status?: UserImportJobStatusType;
936
- CloudWatchLogsRoleArn?: string;
937
- ImportedUsers?: number;
938
- SkippedUsers?: number;
939
- FailedUsers?: number;
940
- CompletionMessage?: string;
928
+ JobName?: string | undefined;
929
+ JobId?: string | undefined;
930
+ UserPoolId?: string | undefined;
931
+ PreSignedUrl?: string | undefined;
932
+ CreationDate?: Date | undefined;
933
+ StartDate?: Date | undefined;
934
+ CompletionDate?: Date | undefined;
935
+ Status?: UserImportJobStatusType | undefined;
936
+ CloudWatchLogsRoleArn?: string | undefined;
937
+ ImportedUsers?: number | undefined;
938
+ SkippedUsers?: number | undefined;
939
+ FailedUsers?: number | undefined;
940
+ CompletionMessage?: string | undefined;
941
941
  }
942
942
  export interface CreateUserImportJobResponse {
943
- UserImportJob?: UserImportJobType;
943
+ UserImportJob?: UserImportJobType | undefined;
944
944
  }
945
945
  export declare const DeletionProtectionType: {
946
946
  readonly ACTIVE: "ACTIVE";
@@ -949,8 +949,8 @@ export declare const DeletionProtectionType: {
949
949
  export type DeletionProtectionType =
950
950
  (typeof DeletionProtectionType)[keyof typeof DeletionProtectionType];
951
951
  export interface DeviceConfigurationType {
952
- ChallengeRequiredOnNewDevice?: boolean;
953
- DeviceOnlyRememberedOnUserPrompt?: boolean;
952
+ ChallengeRequiredOnNewDevice?: boolean | undefined;
953
+ DeviceOnlyRememberedOnUserPrompt?: boolean | undefined;
954
954
  }
955
955
  export declare const EmailSendingAccountType: {
956
956
  readonly COGNITO_DEFAULT: "COGNITO_DEFAULT";
@@ -959,11 +959,11 @@ export declare const EmailSendingAccountType: {
959
959
  export type EmailSendingAccountType =
960
960
  (typeof EmailSendingAccountType)[keyof typeof EmailSendingAccountType];
961
961
  export interface EmailConfigurationType {
962
- SourceArn?: string;
963
- ReplyToEmailAddress?: string;
964
- EmailSendingAccount?: EmailSendingAccountType;
965
- From?: string;
966
- ConfigurationSet?: string;
962
+ SourceArn?: string | undefined;
963
+ ReplyToEmailAddress?: string | undefined;
964
+ EmailSendingAccount?: EmailSendingAccountType | undefined;
965
+ From?: string | undefined;
966
+ ConfigurationSet?: string | undefined;
967
967
  }
968
968
  export declare const CustomEmailSenderLambdaVersionType: {
969
969
  readonly V1_0: "V1_0";
@@ -994,20 +994,20 @@ export interface PreTokenGenerationVersionConfigType {
994
994
  LambdaArn: string | undefined;
995
995
  }
996
996
  export interface LambdaConfigType {
997
- PreSignUp?: string;
998
- CustomMessage?: string;
999
- PostConfirmation?: string;
1000
- PreAuthentication?: string;
1001
- PostAuthentication?: string;
1002
- DefineAuthChallenge?: string;
1003
- CreateAuthChallenge?: string;
1004
- VerifyAuthChallengeResponse?: string;
1005
- PreTokenGeneration?: string;
1006
- UserMigration?: string;
1007
- PreTokenGenerationConfig?: PreTokenGenerationVersionConfigType;
1008
- CustomSMSSender?: CustomSMSLambdaVersionConfigType;
1009
- CustomEmailSender?: CustomEmailLambdaVersionConfigType;
1010
- KMSKeyID?: string;
997
+ PreSignUp?: string | undefined;
998
+ CustomMessage?: string | undefined;
999
+ PostConfirmation?: string | undefined;
1000
+ PreAuthentication?: string | undefined;
1001
+ PostAuthentication?: string | undefined;
1002
+ DefineAuthChallenge?: string | undefined;
1003
+ CreateAuthChallenge?: string | undefined;
1004
+ VerifyAuthChallengeResponse?: string | undefined;
1005
+ PreTokenGeneration?: string | undefined;
1006
+ UserMigration?: string | undefined;
1007
+ PreTokenGenerationConfig?: PreTokenGenerationVersionConfigType | undefined;
1008
+ CustomSMSSender?: CustomSMSLambdaVersionConfigType | undefined;
1009
+ CustomEmailSender?: CustomEmailLambdaVersionConfigType | undefined;
1010
+ KMSKeyID?: string | undefined;
1011
1011
  }
1012
1012
  export declare const UserPoolMfaType: {
1013
1013
  readonly OFF: "OFF";
@@ -1017,24 +1017,26 @@ export declare const UserPoolMfaType: {
1017
1017
  export type UserPoolMfaType =
1018
1018
  (typeof UserPoolMfaType)[keyof typeof UserPoolMfaType];
1019
1019
  export interface PasswordPolicyType {
1020
- MinimumLength?: number;
1021
- RequireUppercase?: boolean;
1022
- RequireLowercase?: boolean;
1023
- RequireNumbers?: boolean;
1024
- RequireSymbols?: boolean;
1025
- PasswordHistorySize?: number;
1026
- TemporaryPasswordValidityDays?: number;
1020
+ MinimumLength?: number | undefined;
1021
+ RequireUppercase?: boolean | undefined;
1022
+ RequireLowercase?: boolean | undefined;
1023
+ RequireNumbers?: boolean | undefined;
1024
+ RequireSymbols?: boolean | undefined;
1025
+ PasswordHistorySize?: number | undefined;
1026
+ TemporaryPasswordValidityDays?: number | undefined;
1027
1027
  }
1028
1028
  export interface UserPoolPolicyType {
1029
- PasswordPolicy?: PasswordPolicyType;
1029
+ PasswordPolicy?: PasswordPolicyType | undefined;
1030
1030
  }
1031
1031
  export interface SmsConfigurationType {
1032
1032
  SnsCallerArn: string | undefined;
1033
- ExternalId?: string;
1034
- SnsRegion?: string;
1033
+ ExternalId?: string | undefined;
1034
+ SnsRegion?: string | undefined;
1035
1035
  }
1036
1036
  export interface UserAttributeUpdateSettingsType {
1037
- AttributesRequireVerificationBeforeUpdate?: VerifiedAttributeType[];
1037
+ AttributesRequireVerificationBeforeUpdate?:
1038
+ | VerifiedAttributeType[]
1039
+ | undefined;
1038
1040
  }
1039
1041
  export declare const UsernameAttributeType: {
1040
1042
  readonly EMAIL: "email";
@@ -1047,7 +1049,9 @@ export interface UsernameConfigurationType {
1047
1049
  }
1048
1050
  export interface UserPoolAddOnsType {
1049
1051
  AdvancedSecurityMode: AdvancedSecurityModeType | undefined;
1050
- AdvancedSecurityAdditionalFlows?: AdvancedSecurityAdditionalFlowsType;
1052
+ AdvancedSecurityAdditionalFlows?:
1053
+ | AdvancedSecurityAdditionalFlowsType
1054
+ | undefined;
1051
1055
  }
1052
1056
  export declare const DefaultEmailOptionType: {
1053
1057
  readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
@@ -1056,37 +1060,37 @@ export declare const DefaultEmailOptionType: {
1056
1060
  export type DefaultEmailOptionType =
1057
1061
  (typeof DefaultEmailOptionType)[keyof typeof DefaultEmailOptionType];
1058
1062
  export interface VerificationMessageTemplateType {
1059
- SmsMessage?: string;
1060
- EmailMessage?: string;
1061
- EmailSubject?: string;
1062
- EmailMessageByLink?: string;
1063
- EmailSubjectByLink?: string;
1064
- DefaultEmailOption?: DefaultEmailOptionType;
1063
+ SmsMessage?: string | undefined;
1064
+ EmailMessage?: string | undefined;
1065
+ EmailSubject?: string | undefined;
1066
+ EmailMessageByLink?: string | undefined;
1067
+ EmailSubjectByLink?: string | undefined;
1068
+ DefaultEmailOption?: DefaultEmailOptionType | undefined;
1065
1069
  }
1066
1070
  export interface CreateUserPoolRequest {
1067
1071
  PoolName: string | undefined;
1068
- Policies?: UserPoolPolicyType;
1069
- DeletionProtection?: DeletionProtectionType;
1070
- LambdaConfig?: LambdaConfigType;
1071
- AutoVerifiedAttributes?: VerifiedAttributeType[];
1072
- AliasAttributes?: AliasAttributeType[];
1073
- UsernameAttributes?: UsernameAttributeType[];
1074
- SmsVerificationMessage?: string;
1075
- EmailVerificationMessage?: string;
1076
- EmailVerificationSubject?: string;
1077
- VerificationMessageTemplate?: VerificationMessageTemplateType;
1078
- SmsAuthenticationMessage?: string;
1079
- MfaConfiguration?: UserPoolMfaType;
1080
- UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
1081
- DeviceConfiguration?: DeviceConfigurationType;
1082
- EmailConfiguration?: EmailConfigurationType;
1083
- SmsConfiguration?: SmsConfigurationType;
1084
- UserPoolTags?: Record<string, string>;
1085
- AdminCreateUserConfig?: AdminCreateUserConfigType;
1086
- Schema?: SchemaAttributeType[];
1087
- UserPoolAddOns?: UserPoolAddOnsType;
1088
- UsernameConfiguration?: UsernameConfigurationType;
1089
- AccountRecoverySetting?: AccountRecoverySettingType;
1072
+ Policies?: UserPoolPolicyType | undefined;
1073
+ DeletionProtection?: DeletionProtectionType | undefined;
1074
+ LambdaConfig?: LambdaConfigType | undefined;
1075
+ AutoVerifiedAttributes?: VerifiedAttributeType[] | undefined;
1076
+ AliasAttributes?: AliasAttributeType[] | undefined;
1077
+ UsernameAttributes?: UsernameAttributeType[] | undefined;
1078
+ SmsVerificationMessage?: string | undefined;
1079
+ EmailVerificationMessage?: string | undefined;
1080
+ EmailVerificationSubject?: string | undefined;
1081
+ VerificationMessageTemplate?: VerificationMessageTemplateType | undefined;
1082
+ SmsAuthenticationMessage?: string | undefined;
1083
+ MfaConfiguration?: UserPoolMfaType | undefined;
1084
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType | undefined;
1085
+ DeviceConfiguration?: DeviceConfigurationType | undefined;
1086
+ EmailConfiguration?: EmailConfigurationType | undefined;
1087
+ SmsConfiguration?: SmsConfigurationType | undefined;
1088
+ UserPoolTags?: Record<string, string> | undefined;
1089
+ AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
1090
+ Schema?: SchemaAttributeType[] | undefined;
1091
+ UserPoolAddOns?: UserPoolAddOnsType | undefined;
1092
+ UsernameConfiguration?: UsernameConfigurationType | undefined;
1093
+ AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1090
1094
  }
1091
1095
  export declare const StatusType: {
1092
1096
  readonly Disabled: "Disabled";
@@ -1094,42 +1098,42 @@ export declare const StatusType: {
1094
1098
  };
1095
1099
  export type StatusType = (typeof StatusType)[keyof typeof StatusType];
1096
1100
  export interface UserPoolType {
1097
- Id?: string;
1098
- Name?: string;
1099
- Policies?: UserPoolPolicyType;
1100
- DeletionProtection?: DeletionProtectionType;
1101
- LambdaConfig?: LambdaConfigType;
1102
- Status?: StatusType;
1103
- LastModifiedDate?: Date;
1104
- CreationDate?: Date;
1105
- SchemaAttributes?: SchemaAttributeType[];
1106
- AutoVerifiedAttributes?: VerifiedAttributeType[];
1107
- AliasAttributes?: AliasAttributeType[];
1108
- UsernameAttributes?: UsernameAttributeType[];
1109
- SmsVerificationMessage?: string;
1110
- EmailVerificationMessage?: string;
1111
- EmailVerificationSubject?: string;
1112
- VerificationMessageTemplate?: VerificationMessageTemplateType;
1113
- SmsAuthenticationMessage?: string;
1114
- UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
1115
- MfaConfiguration?: UserPoolMfaType;
1116
- DeviceConfiguration?: DeviceConfigurationType;
1117
- EstimatedNumberOfUsers?: number;
1118
- EmailConfiguration?: EmailConfigurationType;
1119
- SmsConfiguration?: SmsConfigurationType;
1120
- UserPoolTags?: Record<string, string>;
1121
- SmsConfigurationFailure?: string;
1122
- EmailConfigurationFailure?: string;
1123
- Domain?: string;
1124
- CustomDomain?: string;
1125
- AdminCreateUserConfig?: AdminCreateUserConfigType;
1126
- UserPoolAddOns?: UserPoolAddOnsType;
1127
- UsernameConfiguration?: UsernameConfigurationType;
1128
- Arn?: string;
1129
- AccountRecoverySetting?: AccountRecoverySettingType;
1101
+ Id?: string | undefined;
1102
+ Name?: string | undefined;
1103
+ Policies?: UserPoolPolicyType | undefined;
1104
+ DeletionProtection?: DeletionProtectionType | undefined;
1105
+ LambdaConfig?: LambdaConfigType | undefined;
1106
+ Status?: StatusType | undefined;
1107
+ LastModifiedDate?: Date | undefined;
1108
+ CreationDate?: Date | undefined;
1109
+ SchemaAttributes?: SchemaAttributeType[] | undefined;
1110
+ AutoVerifiedAttributes?: VerifiedAttributeType[] | undefined;
1111
+ AliasAttributes?: AliasAttributeType[] | undefined;
1112
+ UsernameAttributes?: UsernameAttributeType[] | undefined;
1113
+ SmsVerificationMessage?: string | undefined;
1114
+ EmailVerificationMessage?: string | undefined;
1115
+ EmailVerificationSubject?: string | undefined;
1116
+ VerificationMessageTemplate?: VerificationMessageTemplateType | undefined;
1117
+ SmsAuthenticationMessage?: string | undefined;
1118
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType | undefined;
1119
+ MfaConfiguration?: UserPoolMfaType | undefined;
1120
+ DeviceConfiguration?: DeviceConfigurationType | undefined;
1121
+ EstimatedNumberOfUsers?: number | undefined;
1122
+ EmailConfiguration?: EmailConfigurationType | undefined;
1123
+ SmsConfiguration?: SmsConfigurationType | undefined;
1124
+ UserPoolTags?: Record<string, string> | undefined;
1125
+ SmsConfigurationFailure?: string | undefined;
1126
+ EmailConfigurationFailure?: string | undefined;
1127
+ Domain?: string | undefined;
1128
+ CustomDomain?: string | undefined;
1129
+ AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
1130
+ UserPoolAddOns?: UserPoolAddOnsType | undefined;
1131
+ UsernameConfiguration?: UsernameConfigurationType | undefined;
1132
+ Arn?: string | undefined;
1133
+ AccountRecoverySetting?: AccountRecoverySettingType | undefined;
1130
1134
  }
1131
1135
  export interface CreateUserPoolResponse {
1132
- UserPool?: UserPoolType;
1136
+ UserPool?: UserPoolType | undefined;
1133
1137
  }
1134
1138
  export declare class UserPoolTaggingException extends __BaseException {
1135
1139
  readonly name: "UserPoolTaggingException";
@@ -1170,63 +1174,63 @@ export declare const TimeUnitsType: {
1170
1174
  };
1171
1175
  export type TimeUnitsType = (typeof TimeUnitsType)[keyof typeof TimeUnitsType];
1172
1176
  export interface TokenValidityUnitsType {
1173
- AccessToken?: TimeUnitsType;
1174
- IdToken?: TimeUnitsType;
1175
- RefreshToken?: TimeUnitsType;
1177
+ AccessToken?: TimeUnitsType | undefined;
1178
+ IdToken?: TimeUnitsType | undefined;
1179
+ RefreshToken?: TimeUnitsType | undefined;
1176
1180
  }
1177
1181
  export interface CreateUserPoolClientRequest {
1178
1182
  UserPoolId: string | undefined;
1179
1183
  ClientName: string | undefined;
1180
- GenerateSecret?: boolean;
1181
- RefreshTokenValidity?: number;
1182
- AccessTokenValidity?: number;
1183
- IdTokenValidity?: number;
1184
- TokenValidityUnits?: TokenValidityUnitsType;
1185
- ReadAttributes?: string[];
1186
- WriteAttributes?: string[];
1187
- ExplicitAuthFlows?: ExplicitAuthFlowsType[];
1188
- SupportedIdentityProviders?: string[];
1189
- CallbackURLs?: string[];
1190
- LogoutURLs?: string[];
1191
- DefaultRedirectURI?: string;
1192
- AllowedOAuthFlows?: OAuthFlowType[];
1193
- AllowedOAuthScopes?: string[];
1194
- AllowedOAuthFlowsUserPoolClient?: boolean;
1195
- AnalyticsConfiguration?: AnalyticsConfigurationType;
1196
- PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
1197
- EnableTokenRevocation?: boolean;
1198
- EnablePropagateAdditionalUserContextData?: boolean;
1199
- AuthSessionValidity?: number;
1184
+ GenerateSecret?: boolean | undefined;
1185
+ RefreshTokenValidity?: number | undefined;
1186
+ AccessTokenValidity?: number | undefined;
1187
+ IdTokenValidity?: number | undefined;
1188
+ TokenValidityUnits?: TokenValidityUnitsType | undefined;
1189
+ ReadAttributes?: string[] | undefined;
1190
+ WriteAttributes?: string[] | undefined;
1191
+ ExplicitAuthFlows?: ExplicitAuthFlowsType[] | undefined;
1192
+ SupportedIdentityProviders?: string[] | undefined;
1193
+ CallbackURLs?: string[] | undefined;
1194
+ LogoutURLs?: string[] | undefined;
1195
+ DefaultRedirectURI?: string | undefined;
1196
+ AllowedOAuthFlows?: OAuthFlowType[] | undefined;
1197
+ AllowedOAuthScopes?: string[] | undefined;
1198
+ AllowedOAuthFlowsUserPoolClient?: boolean | undefined;
1199
+ AnalyticsConfiguration?: AnalyticsConfigurationType | undefined;
1200
+ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | undefined;
1201
+ EnableTokenRevocation?: boolean | undefined;
1202
+ EnablePropagateAdditionalUserContextData?: boolean | undefined;
1203
+ AuthSessionValidity?: number | undefined;
1200
1204
  }
1201
1205
  export interface UserPoolClientType {
1202
- UserPoolId?: string;
1203
- ClientName?: string;
1204
- ClientId?: string;
1205
- ClientSecret?: string;
1206
- LastModifiedDate?: Date;
1207
- CreationDate?: Date;
1208
- RefreshTokenValidity?: number;
1209
- AccessTokenValidity?: number;
1210
- IdTokenValidity?: number;
1211
- TokenValidityUnits?: TokenValidityUnitsType;
1212
- ReadAttributes?: string[];
1213
- WriteAttributes?: string[];
1214
- ExplicitAuthFlows?: ExplicitAuthFlowsType[];
1215
- SupportedIdentityProviders?: string[];
1216
- CallbackURLs?: string[];
1217
- LogoutURLs?: string[];
1218
- DefaultRedirectURI?: string;
1219
- AllowedOAuthFlows?: OAuthFlowType[];
1220
- AllowedOAuthScopes?: string[];
1221
- AllowedOAuthFlowsUserPoolClient?: boolean;
1222
- AnalyticsConfiguration?: AnalyticsConfigurationType;
1223
- PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
1224
- EnableTokenRevocation?: boolean;
1225
- EnablePropagateAdditionalUserContextData?: boolean;
1226
- AuthSessionValidity?: number;
1206
+ UserPoolId?: string | undefined;
1207
+ ClientName?: string | undefined;
1208
+ ClientId?: string | undefined;
1209
+ ClientSecret?: string | undefined;
1210
+ LastModifiedDate?: Date | undefined;
1211
+ CreationDate?: Date | undefined;
1212
+ RefreshTokenValidity?: number | undefined;
1213
+ AccessTokenValidity?: number | undefined;
1214
+ IdTokenValidity?: number | undefined;
1215
+ TokenValidityUnits?: TokenValidityUnitsType | undefined;
1216
+ ReadAttributes?: string[] | undefined;
1217
+ WriteAttributes?: string[] | undefined;
1218
+ ExplicitAuthFlows?: ExplicitAuthFlowsType[] | undefined;
1219
+ SupportedIdentityProviders?: string[] | undefined;
1220
+ CallbackURLs?: string[] | undefined;
1221
+ LogoutURLs?: string[] | undefined;
1222
+ DefaultRedirectURI?: string | undefined;
1223
+ AllowedOAuthFlows?: OAuthFlowType[] | undefined;
1224
+ AllowedOAuthScopes?: string[] | undefined;
1225
+ AllowedOAuthFlowsUserPoolClient?: boolean | undefined;
1226
+ AnalyticsConfiguration?: AnalyticsConfigurationType | undefined;
1227
+ PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | undefined;
1228
+ EnableTokenRevocation?: boolean | undefined;
1229
+ EnablePropagateAdditionalUserContextData?: boolean | undefined;
1230
+ AuthSessionValidity?: number | undefined;
1227
1231
  }
1228
1232
  export interface CreateUserPoolClientResponse {
1229
- UserPoolClient?: UserPoolClientType;
1233
+ UserPoolClient?: UserPoolClientType | undefined;
1230
1234
  }
1231
1235
  export declare class InvalidOAuthFlowException extends __BaseException {
1232
1236
  readonly name: "InvalidOAuthFlowException";
@@ -1248,10 +1252,10 @@ export interface CustomDomainConfigType {
1248
1252
  export interface CreateUserPoolDomainRequest {
1249
1253
  Domain: string | undefined;
1250
1254
  UserPoolId: string | undefined;
1251
- CustomDomainConfig?: CustomDomainConfigType;
1255
+ CustomDomainConfig?: CustomDomainConfigType | undefined;
1252
1256
  }
1253
1257
  export interface CreateUserPoolDomainResponse {
1254
- CloudFrontDomain?: string;
1258
+ CloudFrontDomain?: string | undefined;
1255
1259
  }
1256
1260
  export interface DeleteGroupRequest {
1257
1261
  GroupName: string | undefined;
@@ -1311,7 +1315,7 @@ export interface DescribeResourceServerResponse {
1311
1315
  }
1312
1316
  export interface DescribeRiskConfigurationRequest {
1313
1317
  UserPoolId: string | undefined;
1314
- ClientId?: string;
1318
+ ClientId?: string | undefined;
1315
1319
  }
1316
1320
  export declare const CompromisedCredentialsEventActionType: {
1317
1321
  readonly BLOCK: "BLOCK";
@@ -1330,20 +1334,24 @@ export declare const EventFilterType: {
1330
1334
  export type EventFilterType =
1331
1335
  (typeof EventFilterType)[keyof typeof EventFilterType];
1332
1336
  export interface CompromisedCredentialsRiskConfigurationType {
1333
- EventFilter?: EventFilterType[];
1337
+ EventFilter?: EventFilterType[] | undefined;
1334
1338
  Actions: CompromisedCredentialsActionsType | undefined;
1335
1339
  }
1336
1340
  export interface RiskExceptionConfigurationType {
1337
- BlockedIPRangeList?: string[];
1338
- SkippedIPRangeList?: string[];
1341
+ BlockedIPRangeList?: string[] | undefined;
1342
+ SkippedIPRangeList?: string[] | undefined;
1339
1343
  }
1340
1344
  export interface RiskConfigurationType {
1341
- UserPoolId?: string;
1342
- ClientId?: string;
1343
- CompromisedCredentialsRiskConfiguration?: CompromisedCredentialsRiskConfigurationType;
1344
- AccountTakeoverRiskConfiguration?: AccountTakeoverRiskConfigurationType;
1345
- RiskExceptionConfiguration?: RiskExceptionConfigurationType;
1346
- LastModifiedDate?: Date;
1345
+ UserPoolId?: string | undefined;
1346
+ ClientId?: string | undefined;
1347
+ CompromisedCredentialsRiskConfiguration?:
1348
+ | CompromisedCredentialsRiskConfigurationType
1349
+ | undefined;
1350
+ AccountTakeoverRiskConfiguration?:
1351
+ | AccountTakeoverRiskConfigurationType
1352
+ | undefined;
1353
+ RiskExceptionConfiguration?: RiskExceptionConfigurationType | undefined;
1354
+ LastModifiedDate?: Date | undefined;
1347
1355
  }
1348
1356
  export interface DescribeRiskConfigurationResponse {
1349
1357
  RiskConfiguration: RiskConfigurationType | undefined;
@@ -1353,20 +1361,20 @@ export interface DescribeUserImportJobRequest {
1353
1361
  JobId: string | undefined;
1354
1362
  }
1355
1363
  export interface DescribeUserImportJobResponse {
1356
- UserImportJob?: UserImportJobType;
1364
+ UserImportJob?: UserImportJobType | undefined;
1357
1365
  }
1358
1366
  export interface DescribeUserPoolRequest {
1359
1367
  UserPoolId: string | undefined;
1360
1368
  }
1361
1369
  export interface DescribeUserPoolResponse {
1362
- UserPool?: UserPoolType;
1370
+ UserPool?: UserPoolType | undefined;
1363
1371
  }
1364
1372
  export interface DescribeUserPoolClientRequest {
1365
1373
  UserPoolId: string | undefined;
1366
1374
  ClientId: string | undefined;
1367
1375
  }
1368
1376
  export interface DescribeUserPoolClientResponse {
1369
- UserPoolClient?: UserPoolClientType;
1377
+ UserPoolClient?: UserPoolClientType | undefined;
1370
1378
  }
1371
1379
  export interface DescribeUserPoolDomainRequest {
1372
1380
  Domain: string | undefined;
@@ -1381,48 +1389,48 @@ export declare const DomainStatusType: {
1381
1389
  export type DomainStatusType =
1382
1390
  (typeof DomainStatusType)[keyof typeof DomainStatusType];
1383
1391
  export interface DomainDescriptionType {
1384
- UserPoolId?: string;
1385
- AWSAccountId?: string;
1386
- Domain?: string;
1387
- S3Bucket?: string;
1388
- CloudFrontDistribution?: string;
1389
- Version?: string;
1390
- Status?: DomainStatusType;
1391
- CustomDomainConfig?: CustomDomainConfigType;
1392
+ UserPoolId?: string | undefined;
1393
+ AWSAccountId?: string | undefined;
1394
+ Domain?: string | undefined;
1395
+ S3Bucket?: string | undefined;
1396
+ CloudFrontDistribution?: string | undefined;
1397
+ Version?: string | undefined;
1398
+ Status?: DomainStatusType | undefined;
1399
+ CustomDomainConfig?: CustomDomainConfigType | undefined;
1392
1400
  }
1393
1401
  export interface DescribeUserPoolDomainResponse {
1394
- DomainDescription?: DomainDescriptionType;
1402
+ DomainDescription?: DomainDescriptionType | undefined;
1395
1403
  }
1396
1404
  export interface ForgetDeviceRequest {
1397
- AccessToken?: string;
1405
+ AccessToken?: string | undefined;
1398
1406
  DeviceKey: string | undefined;
1399
1407
  }
1400
1408
  export interface ForgotPasswordRequest {
1401
1409
  ClientId: string | undefined;
1402
- SecretHash?: string;
1403
- UserContextData?: UserContextDataType;
1410
+ SecretHash?: string | undefined;
1411
+ UserContextData?: UserContextDataType | undefined;
1404
1412
  Username: string | undefined;
1405
- AnalyticsMetadata?: AnalyticsMetadataType;
1406
- ClientMetadata?: Record<string, string>;
1413
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1414
+ ClientMetadata?: Record<string, string> | undefined;
1407
1415
  }
1408
1416
  export interface CodeDeliveryDetailsType {
1409
- Destination?: string;
1410
- DeliveryMedium?: DeliveryMediumType;
1411
- AttributeName?: string;
1417
+ Destination?: string | undefined;
1418
+ DeliveryMedium?: DeliveryMediumType | undefined;
1419
+ AttributeName?: string | undefined;
1412
1420
  }
1413
1421
  export interface ForgotPasswordResponse {
1414
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
1422
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1415
1423
  }
1416
1424
  export interface GetCSVHeaderRequest {
1417
1425
  UserPoolId: string | undefined;
1418
1426
  }
1419
1427
  export interface GetCSVHeaderResponse {
1420
- UserPoolId?: string;
1421
- CSVHeader?: string[];
1428
+ UserPoolId?: string | undefined;
1429
+ CSVHeader?: string[] | undefined;
1422
1430
  }
1423
1431
  export interface GetDeviceRequest {
1424
1432
  DeviceKey: string | undefined;
1425
- AccessToken?: string;
1433
+ AccessToken?: string | undefined;
1426
1434
  }
1427
1435
  export interface GetDeviceResponse {
1428
1436
  Device: DeviceType | undefined;
@@ -1432,7 +1440,7 @@ export interface GetGroupRequest {
1432
1440
  UserPoolId: string | undefined;
1433
1441
  }
1434
1442
  export interface GetGroupResponse {
1435
- Group?: GroupType;
1443
+ Group?: GroupType | undefined;
1436
1444
  }
1437
1445
  export interface GetIdentityProviderByIdentifierRequest {
1438
1446
  UserPoolId: string | undefined;
@@ -1445,7 +1453,7 @@ export interface GetLogDeliveryConfigurationRequest {
1445
1453
  UserPoolId: string | undefined;
1446
1454
  }
1447
1455
  export interface CloudWatchLogsConfigurationType {
1448
- LogGroupArn?: string;
1456
+ LogGroupArn?: string | undefined;
1449
1457
  }
1450
1458
  export declare const EventSourceName: {
1451
1459
  readonly USER_AUTH_EVENTS: "userAuthEvents";
@@ -1454,7 +1462,7 @@ export declare const EventSourceName: {
1454
1462
  export type EventSourceName =
1455
1463
  (typeof EventSourceName)[keyof typeof EventSourceName];
1456
1464
  export interface FirehoseConfigurationType {
1457
- StreamArn?: string;
1465
+ StreamArn?: string | undefined;
1458
1466
  }
1459
1467
  export declare const LogLevel: {
1460
1468
  readonly ERROR: "ERROR";
@@ -1462,40 +1470,40 @@ export declare const LogLevel: {
1462
1470
  };
1463
1471
  export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
1464
1472
  export interface S3ConfigurationType {
1465
- BucketArn?: string;
1473
+ BucketArn?: string | undefined;
1466
1474
  }
1467
1475
  export interface LogConfigurationType {
1468
1476
  LogLevel: LogLevel | undefined;
1469
1477
  EventSource: EventSourceName | undefined;
1470
- CloudWatchLogsConfiguration?: CloudWatchLogsConfigurationType;
1471
- S3Configuration?: S3ConfigurationType;
1472
- FirehoseConfiguration?: FirehoseConfigurationType;
1478
+ CloudWatchLogsConfiguration?: CloudWatchLogsConfigurationType | undefined;
1479
+ S3Configuration?: S3ConfigurationType | undefined;
1480
+ FirehoseConfiguration?: FirehoseConfigurationType | undefined;
1473
1481
  }
1474
1482
  export interface LogDeliveryConfigurationType {
1475
1483
  UserPoolId: string | undefined;
1476
1484
  LogConfigurations: LogConfigurationType[] | undefined;
1477
1485
  }
1478
1486
  export interface GetLogDeliveryConfigurationResponse {
1479
- LogDeliveryConfiguration?: LogDeliveryConfigurationType;
1487
+ LogDeliveryConfiguration?: LogDeliveryConfigurationType | undefined;
1480
1488
  }
1481
1489
  export interface GetSigningCertificateRequest {
1482
1490
  UserPoolId: string | undefined;
1483
1491
  }
1484
1492
  export interface GetSigningCertificateResponse {
1485
- Certificate?: string;
1493
+ Certificate?: string | undefined;
1486
1494
  }
1487
1495
  export interface GetUICustomizationRequest {
1488
1496
  UserPoolId: string | undefined;
1489
- ClientId?: string;
1497
+ ClientId?: string | undefined;
1490
1498
  }
1491
1499
  export interface UICustomizationType {
1492
- UserPoolId?: string;
1493
- ClientId?: string;
1494
- ImageUrl?: string;
1495
- CSS?: string;
1496
- CSSVersion?: string;
1497
- LastModifiedDate?: Date;
1498
- CreationDate?: Date;
1500
+ UserPoolId?: string | undefined;
1501
+ ClientId?: string | undefined;
1502
+ ImageUrl?: string | undefined;
1503
+ CSS?: string | undefined;
1504
+ CSSVersion?: string | undefined;
1505
+ LastModifiedDate?: Date | undefined;
1506
+ CreationDate?: Date | undefined;
1499
1507
  }
1500
1508
  export interface GetUICustomizationResponse {
1501
1509
  UICustomization: UICustomizationType | undefined;
@@ -1506,37 +1514,37 @@ export interface GetUserRequest {
1506
1514
  export interface GetUserResponse {
1507
1515
  Username: string | undefined;
1508
1516
  UserAttributes: AttributeType[] | undefined;
1509
- MFAOptions?: MFAOptionType[];
1510
- PreferredMfaSetting?: string;
1511
- UserMFASettingList?: string[];
1517
+ MFAOptions?: MFAOptionType[] | undefined;
1518
+ PreferredMfaSetting?: string | undefined;
1519
+ UserMFASettingList?: string[] | undefined;
1512
1520
  }
1513
1521
  export interface GetUserAttributeVerificationCodeRequest {
1514
1522
  AccessToken: string | undefined;
1515
1523
  AttributeName: string | undefined;
1516
- ClientMetadata?: Record<string, string>;
1524
+ ClientMetadata?: Record<string, string> | undefined;
1517
1525
  }
1518
1526
  export interface GetUserAttributeVerificationCodeResponse {
1519
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
1527
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1520
1528
  }
1521
1529
  export interface GetUserPoolMfaConfigRequest {
1522
1530
  UserPoolId: string | undefined;
1523
1531
  }
1524
1532
  export interface EmailMfaConfigType {
1525
- Message?: string;
1526
- Subject?: string;
1533
+ Message?: string | undefined;
1534
+ Subject?: string | undefined;
1527
1535
  }
1528
1536
  export interface SmsMfaConfigType {
1529
- SmsAuthenticationMessage?: string;
1530
- SmsConfiguration?: SmsConfigurationType;
1537
+ SmsAuthenticationMessage?: string | undefined;
1538
+ SmsConfiguration?: SmsConfigurationType | undefined;
1531
1539
  }
1532
1540
  export interface SoftwareTokenMfaConfigType {
1533
- Enabled?: boolean;
1541
+ Enabled?: boolean | undefined;
1534
1542
  }
1535
1543
  export interface GetUserPoolMfaConfigResponse {
1536
- SmsMfaConfiguration?: SmsMfaConfigType;
1537
- SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
1538
- EmailMfaConfiguration?: EmailMfaConfigType;
1539
- MfaConfiguration?: UserPoolMfaType;
1544
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1545
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1546
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1547
+ MfaConfiguration?: UserPoolMfaType | undefined;
1540
1548
  }
1541
1549
  export interface GlobalSignOutRequest {
1542
1550
  AccessToken: string | undefined;
@@ -1544,145 +1552,145 @@ export interface GlobalSignOutRequest {
1544
1552
  export interface GlobalSignOutResponse {}
1545
1553
  export interface InitiateAuthRequest {
1546
1554
  AuthFlow: AuthFlowType | undefined;
1547
- AuthParameters?: Record<string, string>;
1548
- ClientMetadata?: Record<string, string>;
1555
+ AuthParameters?: Record<string, string> | undefined;
1556
+ ClientMetadata?: Record<string, string> | undefined;
1549
1557
  ClientId: string | undefined;
1550
- AnalyticsMetadata?: AnalyticsMetadataType;
1551
- UserContextData?: UserContextDataType;
1558
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1559
+ UserContextData?: UserContextDataType | undefined;
1552
1560
  }
1553
1561
  export interface InitiateAuthResponse {
1554
- ChallengeName?: ChallengeNameType;
1555
- Session?: string;
1556
- ChallengeParameters?: Record<string, string>;
1557
- AuthenticationResult?: AuthenticationResultType;
1562
+ ChallengeName?: ChallengeNameType | undefined;
1563
+ Session?: string | undefined;
1564
+ ChallengeParameters?: Record<string, string> | undefined;
1565
+ AuthenticationResult?: AuthenticationResultType | undefined;
1558
1566
  }
1559
1567
  export interface ListDevicesRequest {
1560
1568
  AccessToken: string | undefined;
1561
- Limit?: number;
1562
- PaginationToken?: string;
1569
+ Limit?: number | undefined;
1570
+ PaginationToken?: string | undefined;
1563
1571
  }
1564
1572
  export interface ListDevicesResponse {
1565
- Devices?: DeviceType[];
1566
- PaginationToken?: string;
1573
+ Devices?: DeviceType[] | undefined;
1574
+ PaginationToken?: string | undefined;
1567
1575
  }
1568
1576
  export interface ListGroupsRequest {
1569
1577
  UserPoolId: string | undefined;
1570
- Limit?: number;
1571
- NextToken?: string;
1578
+ Limit?: number | undefined;
1579
+ NextToken?: string | undefined;
1572
1580
  }
1573
1581
  export interface ListGroupsResponse {
1574
- Groups?: GroupType[];
1575
- NextToken?: string;
1582
+ Groups?: GroupType[] | undefined;
1583
+ NextToken?: string | undefined;
1576
1584
  }
1577
1585
  export interface ListIdentityProvidersRequest {
1578
1586
  UserPoolId: string | undefined;
1579
- MaxResults?: number;
1580
- NextToken?: string;
1587
+ MaxResults?: number | undefined;
1588
+ NextToken?: string | undefined;
1581
1589
  }
1582
1590
  export interface ProviderDescription {
1583
- ProviderName?: string;
1584
- ProviderType?: IdentityProviderTypeType;
1585
- LastModifiedDate?: Date;
1586
- CreationDate?: Date;
1591
+ ProviderName?: string | undefined;
1592
+ ProviderType?: IdentityProviderTypeType | undefined;
1593
+ LastModifiedDate?: Date | undefined;
1594
+ CreationDate?: Date | undefined;
1587
1595
  }
1588
1596
  export interface ListIdentityProvidersResponse {
1589
1597
  Providers: ProviderDescription[] | undefined;
1590
- NextToken?: string;
1598
+ NextToken?: string | undefined;
1591
1599
  }
1592
1600
  export interface ListResourceServersRequest {
1593
1601
  UserPoolId: string | undefined;
1594
- MaxResults?: number;
1595
- NextToken?: string;
1602
+ MaxResults?: number | undefined;
1603
+ NextToken?: string | undefined;
1596
1604
  }
1597
1605
  export interface ListResourceServersResponse {
1598
1606
  ResourceServers: ResourceServerType[] | undefined;
1599
- NextToken?: string;
1607
+ NextToken?: string | undefined;
1600
1608
  }
1601
1609
  export interface ListTagsForResourceRequest {
1602
1610
  ResourceArn: string | undefined;
1603
1611
  }
1604
1612
  export interface ListTagsForResourceResponse {
1605
- Tags?: Record<string, string>;
1613
+ Tags?: Record<string, string> | undefined;
1606
1614
  }
1607
1615
  export interface ListUserImportJobsRequest {
1608
1616
  UserPoolId: string | undefined;
1609
1617
  MaxResults: number | undefined;
1610
- PaginationToken?: string;
1618
+ PaginationToken?: string | undefined;
1611
1619
  }
1612
1620
  export interface ListUserImportJobsResponse {
1613
- UserImportJobs?: UserImportJobType[];
1614
- PaginationToken?: string;
1621
+ UserImportJobs?: UserImportJobType[] | undefined;
1622
+ PaginationToken?: string | undefined;
1615
1623
  }
1616
1624
  export interface ListUserPoolClientsRequest {
1617
1625
  UserPoolId: string | undefined;
1618
- MaxResults?: number;
1619
- NextToken?: string;
1626
+ MaxResults?: number | undefined;
1627
+ NextToken?: string | undefined;
1620
1628
  }
1621
1629
  export interface UserPoolClientDescription {
1622
- ClientId?: string;
1623
- UserPoolId?: string;
1624
- ClientName?: string;
1630
+ ClientId?: string | undefined;
1631
+ UserPoolId?: string | undefined;
1632
+ ClientName?: string | undefined;
1625
1633
  }
1626
1634
  export interface ListUserPoolClientsResponse {
1627
- UserPoolClients?: UserPoolClientDescription[];
1628
- NextToken?: string;
1635
+ UserPoolClients?: UserPoolClientDescription[] | undefined;
1636
+ NextToken?: string | undefined;
1629
1637
  }
1630
1638
  export interface ListUserPoolsRequest {
1631
- NextToken?: string;
1639
+ NextToken?: string | undefined;
1632
1640
  MaxResults: number | undefined;
1633
1641
  }
1634
1642
  export interface UserPoolDescriptionType {
1635
- Id?: string;
1636
- Name?: string;
1637
- LambdaConfig?: LambdaConfigType;
1638
- Status?: StatusType;
1639
- LastModifiedDate?: Date;
1640
- CreationDate?: Date;
1643
+ Id?: string | undefined;
1644
+ Name?: string | undefined;
1645
+ LambdaConfig?: LambdaConfigType | undefined;
1646
+ Status?: StatusType | undefined;
1647
+ LastModifiedDate?: Date | undefined;
1648
+ CreationDate?: Date | undefined;
1641
1649
  }
1642
1650
  export interface ListUserPoolsResponse {
1643
- UserPools?: UserPoolDescriptionType[];
1644
- NextToken?: string;
1651
+ UserPools?: UserPoolDescriptionType[] | undefined;
1652
+ NextToken?: string | undefined;
1645
1653
  }
1646
1654
  export interface ListUsersRequest {
1647
1655
  UserPoolId: string | undefined;
1648
- AttributesToGet?: string[];
1649
- Limit?: number;
1650
- PaginationToken?: string;
1651
- Filter?: string;
1656
+ AttributesToGet?: string[] | undefined;
1657
+ Limit?: number | undefined;
1658
+ PaginationToken?: string | undefined;
1659
+ Filter?: string | undefined;
1652
1660
  }
1653
1661
  export interface ListUsersResponse {
1654
- Users?: UserType[];
1655
- PaginationToken?: string;
1662
+ Users?: UserType[] | undefined;
1663
+ PaginationToken?: string | undefined;
1656
1664
  }
1657
1665
  export interface ListUsersInGroupRequest {
1658
1666
  UserPoolId: string | undefined;
1659
1667
  GroupName: string | undefined;
1660
- Limit?: number;
1661
- NextToken?: string;
1668
+ Limit?: number | undefined;
1669
+ NextToken?: string | undefined;
1662
1670
  }
1663
1671
  export interface ListUsersInGroupResponse {
1664
- Users?: UserType[];
1665
- NextToken?: string;
1672
+ Users?: UserType[] | undefined;
1673
+ NextToken?: string | undefined;
1666
1674
  }
1667
1675
  export interface ResendConfirmationCodeRequest {
1668
1676
  ClientId: string | undefined;
1669
- SecretHash?: string;
1670
- UserContextData?: UserContextDataType;
1677
+ SecretHash?: string | undefined;
1678
+ UserContextData?: UserContextDataType | undefined;
1671
1679
  Username: string | undefined;
1672
- AnalyticsMetadata?: AnalyticsMetadataType;
1673
- ClientMetadata?: Record<string, string>;
1680
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1681
+ ClientMetadata?: Record<string, string> | undefined;
1674
1682
  }
1675
1683
  export interface ResendConfirmationCodeResponse {
1676
- CodeDeliveryDetails?: CodeDeliveryDetailsType;
1684
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1677
1685
  }
1678
1686
  export interface RespondToAuthChallengeRequest {
1679
1687
  ClientId: string | undefined;
1680
1688
  ChallengeName: ChallengeNameType | undefined;
1681
- Session?: string;
1682
- ChallengeResponses?: Record<string, string>;
1683
- AnalyticsMetadata?: AnalyticsMetadataType;
1684
- UserContextData?: UserContextDataType;
1685
- ClientMetadata?: Record<string, string>;
1689
+ Session?: string | undefined;
1690
+ ChallengeResponses?: Record<string, string> | undefined;
1691
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1692
+ UserContextData?: UserContextDataType | undefined;
1693
+ ClientMetadata?: Record<string, string> | undefined;
1686
1694
  }
1687
1695
  export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
1688
1696
  obj: AdminAddUserToGroupRequest