@aws-sdk/client-cognito-identity-provider 3.696.0 → 3.708.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/README.md +80 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +20 -0
  3. package/dist-cjs/index.js +983 -71
  4. package/dist-es/CognitoIdentityProvider.js +20 -0
  5. package/dist-es/auth/httpAuthSchemeProvider.js +20 -0
  6. package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +23 -0
  7. package/dist-es/commands/ConfirmSignUpCommand.js +2 -2
  8. package/dist-es/commands/CreateManagedLoginBrandingCommand.js +23 -0
  9. package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +22 -0
  10. package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +23 -0
  11. package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +23 -0
  12. package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +22 -0
  13. package/dist-es/commands/GetUserAuthFactorsCommand.js +23 -0
  14. package/dist-es/commands/GlobalSignOutCommand.js +1 -1
  15. package/dist-es/commands/InitiateAuthCommand.js +1 -1
  16. package/dist-es/commands/ListDevicesCommand.js +1 -1
  17. package/dist-es/commands/ListUserPoolClientsCommand.js +1 -1
  18. package/dist-es/commands/ListUsersCommand.js +1 -1
  19. package/dist-es/commands/ListUsersInGroupCommand.js +1 -1
  20. package/dist-es/commands/ListWebAuthnCredentialsCommand.js +23 -0
  21. package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -1
  22. package/dist-es/commands/RespondToAuthChallengeCommand.js +1 -2
  23. package/dist-es/commands/SignUpCommand.js +2 -2
  24. package/dist-es/commands/StartWebAuthnRegistrationCommand.js +23 -0
  25. package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +22 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +184 -50
  28. package/dist-es/models/models_1.js +82 -1
  29. package/dist-es/protocols/Aws_json1_1.js +433 -2
  30. package/dist-types/CognitoIdentityProvider.d.ts +71 -0
  31. package/dist-types/CognitoIdentityProviderClient.d.ts +12 -2
  32. package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -4
  33. package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
  34. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +5 -4
  35. package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
  36. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
  37. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +4 -4
  38. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -2
  39. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  40. package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +119 -0
  41. package/dist-types/commands/ConfirmSignUpCommand.d.ts +5 -2
  42. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +162 -0
  43. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
  44. package/dist-types/commands/CreateUserPoolCommand.d.ts +22 -2
  45. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +8 -1
  46. package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +113 -0
  47. package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +90 -0
  48. package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +108 -0
  49. package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +108 -0
  50. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeUserPoolCommand.d.ts +6 -0
  52. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
  53. package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -2
  54. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
  55. package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +120 -0
  56. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +6 -1
  57. package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
  58. package/dist-types/commands/InitiateAuthCommand.d.ts +9 -5
  59. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  60. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
  62. package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  64. package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
  66. package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
  67. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  68. package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
  69. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +100 -0
  70. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +3 -3
  71. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -6
  72. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +4 -0
  73. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -3
  74. package/dist-types/commands/SignUpCommand.d.ts +11 -3
  75. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +107 -0
  76. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +150 -0
  77. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -2
  78. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -2
  79. package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -2
  80. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -0
  81. package/dist-types/commands/index.d.ts +10 -0
  82. package/dist-types/models/models_0.d.ts +1609 -1660
  83. package/dist-types/models/models_1.d.ts +1712 -8
  84. package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
  85. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +177 -0
  86. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +60 -0
  87. package/dist-types/ts3.4/commands/CompleteWebAuthnRegistrationCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/CreateManagedLoginBrandingCommand.d.ts +51 -0
  90. package/dist-types/ts3.4/commands/DeleteManagedLoginBrandingCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/DeleteWebAuthnCredentialCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -4
  96. package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  114. package/dist-types/ts3.4/models/models_0.d.ts +248 -185
  115. package/dist-types/ts3.4/models/models_1.d.ts +263 -2
  116. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
  117. package/package.json +4 -4
@@ -1,4 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
2
3
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
4
  import {
4
5
  AccountRecoverySettingType,
@@ -6,8 +7,10 @@ import {
6
7
  AdminCreateUserConfigType,
7
8
  AnalyticsConfigurationType,
8
9
  AnalyticsMetadataType,
10
+ AssetType,
9
11
  AttributeType,
10
12
  AuthenticationResultType,
13
+ AuthFlowType,
11
14
  ChallengeNameType,
12
15
  CodeDeliveryDetailsType,
13
16
  CompromisedCredentialsRiskConfigurationType,
@@ -15,6 +18,7 @@ import {
15
18
  DeletionProtectionType,
16
19
  DeviceConfigurationType,
17
20
  DeviceRememberedStatusType,
21
+ DeviceType,
18
22
  EmailConfigurationType,
19
23
  EmailMfaConfigType,
20
24
  EmailMfaSettingsType,
@@ -22,9 +26,11 @@ import {
22
26
  FeedbackValueType,
23
27
  GroupType,
24
28
  IdentityProviderType,
29
+ IdentityProviderTypeType,
25
30
  LambdaConfigType,
26
31
  LogConfigurationType,
27
32
  LogDeliveryConfigurationType,
33
+ ManagedLoginBrandingType,
28
34
  MFAOptionType,
29
35
  OAuthFlowType,
30
36
  PreventUserExistenceErrorTypes,
@@ -37,6 +43,7 @@ import {
37
43
  SMSMfaSettingsType,
38
44
  SoftwareTokenMfaConfigType,
39
45
  SoftwareTokenMfaSettingsType,
46
+ StatusType,
40
47
  TokenValidityUnitsType,
41
48
  UICustomizationType,
42
49
  UserAttributeUpdateSettingsType,
@@ -46,9 +53,188 @@ import {
46
53
  UserPoolClientType,
47
54
  UserPoolMfaType,
48
55
  UserPoolPolicyType,
56
+ UserPoolTierType,
57
+ UserType,
58
+ UserVerificationType,
49
59
  VerificationMessageTemplateType,
50
60
  VerifiedAttributeType,
51
61
  } from "./models_0";
62
+ export interface WebAuthnConfigurationType {
63
+ RelyingPartyId?: string | undefined;
64
+ UserVerification?: UserVerificationType | undefined;
65
+ }
66
+ export interface GetUserPoolMfaConfigResponse {
67
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
68
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
69
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
70
+ MfaConfiguration?: UserPoolMfaType | undefined;
71
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
72
+ }
73
+ export interface GlobalSignOutRequest {
74
+ AccessToken: string | undefined;
75
+ }
76
+ export interface GlobalSignOutResponse {}
77
+ export interface InitiateAuthRequest {
78
+ AuthFlow: AuthFlowType | undefined;
79
+ AuthParameters?: Record<string, string> | undefined;
80
+ ClientMetadata?: Record<string, string> | undefined;
81
+ ClientId: string | undefined;
82
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
83
+ UserContextData?: UserContextDataType | undefined;
84
+ Session?: string | undefined;
85
+ }
86
+ export interface InitiateAuthResponse {
87
+ ChallengeName?: ChallengeNameType | undefined;
88
+ Session?: string | undefined;
89
+ ChallengeParameters?: Record<string, string> | undefined;
90
+ AuthenticationResult?: AuthenticationResultType | undefined;
91
+ AvailableChallenges?: ChallengeNameType[] | undefined;
92
+ }
93
+ export interface ListDevicesRequest {
94
+ AccessToken: string | undefined;
95
+ Limit?: number | undefined;
96
+ PaginationToken?: string | undefined;
97
+ }
98
+ export interface ListDevicesResponse {
99
+ Devices?: DeviceType[] | undefined;
100
+ PaginationToken?: string | undefined;
101
+ }
102
+ export interface ListGroupsRequest {
103
+ UserPoolId: string | undefined;
104
+ Limit?: number | undefined;
105
+ NextToken?: string | undefined;
106
+ }
107
+ export interface ListGroupsResponse {
108
+ Groups?: GroupType[] | undefined;
109
+ NextToken?: string | undefined;
110
+ }
111
+ export interface ListIdentityProvidersRequest {
112
+ UserPoolId: string | undefined;
113
+ MaxResults?: number | undefined;
114
+ NextToken?: string | undefined;
115
+ }
116
+ export interface ProviderDescription {
117
+ ProviderName?: string | undefined;
118
+ ProviderType?: IdentityProviderTypeType | undefined;
119
+ LastModifiedDate?: Date | undefined;
120
+ CreationDate?: Date | undefined;
121
+ }
122
+ export interface ListIdentityProvidersResponse {
123
+ Providers: ProviderDescription[] | undefined;
124
+ NextToken?: string | undefined;
125
+ }
126
+ export interface ListResourceServersRequest {
127
+ UserPoolId: string | undefined;
128
+ MaxResults?: number | undefined;
129
+ NextToken?: string | undefined;
130
+ }
131
+ export interface ListResourceServersResponse {
132
+ ResourceServers: ResourceServerType[] | undefined;
133
+ NextToken?: string | undefined;
134
+ }
135
+ export interface ListTagsForResourceRequest {
136
+ ResourceArn: string | undefined;
137
+ }
138
+ export interface ListTagsForResourceResponse {
139
+ Tags?: Record<string, string> | undefined;
140
+ }
141
+ export interface ListUserImportJobsRequest {
142
+ UserPoolId: string | undefined;
143
+ MaxResults: number | undefined;
144
+ PaginationToken?: string | undefined;
145
+ }
146
+ export interface ListUserImportJobsResponse {
147
+ UserImportJobs?: UserImportJobType[] | undefined;
148
+ PaginationToken?: string | undefined;
149
+ }
150
+ export interface ListUserPoolClientsRequest {
151
+ UserPoolId: string | undefined;
152
+ MaxResults?: number | undefined;
153
+ NextToken?: string | undefined;
154
+ }
155
+ export interface UserPoolClientDescription {
156
+ ClientId?: string | undefined;
157
+ UserPoolId?: string | undefined;
158
+ ClientName?: string | undefined;
159
+ }
160
+ export interface ListUserPoolClientsResponse {
161
+ UserPoolClients?: UserPoolClientDescription[] | undefined;
162
+ NextToken?: string | undefined;
163
+ }
164
+ export interface ListUserPoolsRequest {
165
+ NextToken?: string | undefined;
166
+ MaxResults: number | undefined;
167
+ }
168
+ export interface UserPoolDescriptionType {
169
+ Id?: string | undefined;
170
+ Name?: string | undefined;
171
+ LambdaConfig?: LambdaConfigType | undefined;
172
+ Status?: StatusType | undefined;
173
+ LastModifiedDate?: Date | undefined;
174
+ CreationDate?: Date | undefined;
175
+ }
176
+ export interface ListUserPoolsResponse {
177
+ UserPools?: UserPoolDescriptionType[] | undefined;
178
+ NextToken?: string | undefined;
179
+ }
180
+ export interface ListUsersRequest {
181
+ UserPoolId: string | undefined;
182
+ AttributesToGet?: string[] | undefined;
183
+ Limit?: number | undefined;
184
+ PaginationToken?: string | undefined;
185
+ Filter?: string | undefined;
186
+ }
187
+ export interface ListUsersResponse {
188
+ Users?: UserType[] | undefined;
189
+ PaginationToken?: string | undefined;
190
+ }
191
+ export interface ListUsersInGroupRequest {
192
+ UserPoolId: string | undefined;
193
+ GroupName: string | undefined;
194
+ Limit?: number | undefined;
195
+ NextToken?: string | undefined;
196
+ }
197
+ export interface ListUsersInGroupResponse {
198
+ Users?: UserType[] | undefined;
199
+ NextToken?: string | undefined;
200
+ }
201
+ export interface ListWebAuthnCredentialsRequest {
202
+ AccessToken: string | undefined;
203
+ NextToken?: string | undefined;
204
+ MaxResults?: number | undefined;
205
+ }
206
+ export interface WebAuthnCredentialDescription {
207
+ CredentialId: string | undefined;
208
+ FriendlyCredentialName: string | undefined;
209
+ RelyingPartyId: string | undefined;
210
+ AuthenticatorAttachment?: string | undefined;
211
+ AuthenticatorTransports: string[] | undefined;
212
+ CreatedAt: Date | undefined;
213
+ }
214
+ export interface ListWebAuthnCredentialsResponse {
215
+ Credentials: WebAuthnCredentialDescription[] | undefined;
216
+ NextToken?: string | undefined;
217
+ }
218
+ export interface ResendConfirmationCodeRequest {
219
+ ClientId: string | undefined;
220
+ SecretHash?: string | undefined;
221
+ UserContextData?: UserContextDataType | undefined;
222
+ Username: string | undefined;
223
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
224
+ ClientMetadata?: Record<string, string> | undefined;
225
+ }
226
+ export interface ResendConfirmationCodeResponse {
227
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
228
+ }
229
+ export interface RespondToAuthChallengeRequest {
230
+ ClientId: string | undefined;
231
+ ChallengeName: ChallengeNameType | undefined;
232
+ Session?: string | undefined;
233
+ ChallengeResponses?: Record<string, string> | undefined;
234
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
235
+ UserContextData?: UserContextDataType | undefined;
236
+ ClientMetadata?: Record<string, string> | undefined;
237
+ }
52
238
  export interface RespondToAuthChallengeResponse {
53
239
  ChallengeName?: ChallengeNameType | undefined;
54
240
  Session?: string | undefined;
@@ -125,12 +311,14 @@ export interface SetUserPoolMfaConfigRequest {
125
311
  SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
126
312
  EmailMfaConfiguration?: EmailMfaConfigType | undefined;
127
313
  MfaConfiguration?: UserPoolMfaType | undefined;
314
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
128
315
  }
129
316
  export interface SetUserPoolMfaConfigResponse {
130
317
  SmsMfaConfiguration?: SmsMfaConfigType | undefined;
131
318
  SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
132
319
  EmailMfaConfiguration?: EmailMfaConfigType | undefined;
133
320
  MfaConfiguration?: UserPoolMfaType | undefined;
321
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
134
322
  }
135
323
  export interface SetUserSettingsRequest {
136
324
  AccessToken: string | undefined;
@@ -141,7 +329,7 @@ export interface SignUpRequest {
141
329
  ClientId: string | undefined;
142
330
  SecretHash?: string | undefined;
143
331
  Username: string | undefined;
144
- Password: string | undefined;
332
+ Password?: string | undefined;
145
333
  UserAttributes?: AttributeType[] | undefined;
146
334
  ValidationData?: AttributeType[] | undefined;
147
335
  AnalyticsMetadata?: AnalyticsMetadataType | undefined;
@@ -152,6 +340,7 @@ export interface SignUpResponse {
152
340
  UserConfirmed: boolean | undefined;
153
341
  CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
154
342
  UserSub: string | undefined;
343
+ Session?: string | undefined;
155
344
  }
156
345
  export interface StartUserImportJobRequest {
157
346
  UserPoolId: string | undefined;
@@ -160,6 +349,22 @@ export interface StartUserImportJobRequest {
160
349
  export interface StartUserImportJobResponse {
161
350
  UserImportJob?: UserImportJobType | undefined;
162
351
  }
352
+ export interface StartWebAuthnRegistrationRequest {
353
+ AccessToken: string | undefined;
354
+ }
355
+ export interface StartWebAuthnRegistrationResponse {
356
+ CredentialCreationOptions: __DocumentType | undefined;
357
+ }
358
+ export declare class WebAuthnConfigurationMissingException extends __BaseException {
359
+ readonly name: "WebAuthnConfigurationMissingException";
360
+ readonly $fault: "client";
361
+ constructor(
362
+ opts: __ExceptionOptionType<
363
+ WebAuthnConfigurationMissingException,
364
+ __BaseException
365
+ >
366
+ );
367
+ }
163
368
  export interface StopUserImportJobRequest {
164
369
  UserPoolId: string | undefined;
165
370
  JobId: string | undefined;
@@ -211,6 +416,16 @@ export interface UpdateIdentityProviderRequest {
211
416
  export interface UpdateIdentityProviderResponse {
212
417
  IdentityProvider: IdentityProviderType | undefined;
213
418
  }
419
+ export interface UpdateManagedLoginBrandingRequest {
420
+ UserPoolId?: string | undefined;
421
+ ManagedLoginBrandingId?: string | undefined;
422
+ UseCognitoProvidedValues?: boolean | undefined;
423
+ Settings?: __DocumentType | undefined;
424
+ Assets?: AssetType[] | undefined;
425
+ }
426
+ export interface UpdateManagedLoginBrandingResponse {
427
+ ManagedLoginBranding?: ManagedLoginBrandingType | undefined;
428
+ }
214
429
  export interface UpdateResourceServerRequest {
215
430
  UserPoolId: string | undefined;
216
431
  Identifier: string | undefined;
@@ -248,6 +463,8 @@ export interface UpdateUserPoolRequest {
248
463
  AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
249
464
  UserPoolAddOns?: UserPoolAddOnsType | undefined;
250
465
  AccountRecoverySetting?: AccountRecoverySettingType | undefined;
466
+ PoolName?: string | undefined;
467
+ UserPoolTier?: UserPoolTierType | undefined;
251
468
  }
252
469
  export interface UpdateUserPoolResponse {}
253
470
  export interface UpdateUserPoolClientRequest {
@@ -280,9 +497,11 @@ export interface UpdateUserPoolClientResponse {
280
497
  export interface UpdateUserPoolDomainRequest {
281
498
  Domain: string | undefined;
282
499
  UserPoolId: string | undefined;
283
- CustomDomainConfig: CustomDomainConfigType | undefined;
500
+ ManagedLoginVersion?: number | undefined;
501
+ CustomDomainConfig?: CustomDomainConfigType | undefined;
284
502
  }
285
503
  export interface UpdateUserPoolDomainResponse {
504
+ ManagedLoginVersion?: number | undefined;
286
505
  CloudFrontDomain?: string | undefined;
287
506
  }
288
507
  export declare class EnableSoftwareTokenMFAException extends __BaseException {
@@ -317,6 +536,42 @@ export interface VerifyUserAttributeRequest {
317
536
  Code: string | undefined;
318
537
  }
319
538
  export interface VerifyUserAttributeResponse {}
539
+ export declare const GlobalSignOutRequestFilterSensitiveLog: (
540
+ obj: GlobalSignOutRequest
541
+ ) => any;
542
+ export declare const InitiateAuthRequestFilterSensitiveLog: (
543
+ obj: InitiateAuthRequest
544
+ ) => any;
545
+ export declare const InitiateAuthResponseFilterSensitiveLog: (
546
+ obj: InitiateAuthResponse
547
+ ) => any;
548
+ export declare const ListDevicesRequestFilterSensitiveLog: (
549
+ obj: ListDevicesRequest
550
+ ) => any;
551
+ export declare const ListDevicesResponseFilterSensitiveLog: (
552
+ obj: ListDevicesResponse
553
+ ) => any;
554
+ export declare const UserPoolClientDescriptionFilterSensitiveLog: (
555
+ obj: UserPoolClientDescription
556
+ ) => any;
557
+ export declare const ListUserPoolClientsResponseFilterSensitiveLog: (
558
+ obj: ListUserPoolClientsResponse
559
+ ) => any;
560
+ export declare const ListUsersResponseFilterSensitiveLog: (
561
+ obj: ListUsersResponse
562
+ ) => any;
563
+ export declare const ListUsersInGroupResponseFilterSensitiveLog: (
564
+ obj: ListUsersInGroupResponse
565
+ ) => any;
566
+ export declare const ListWebAuthnCredentialsRequestFilterSensitiveLog: (
567
+ obj: ListWebAuthnCredentialsRequest
568
+ ) => any;
569
+ export declare const ResendConfirmationCodeRequestFilterSensitiveLog: (
570
+ obj: ResendConfirmationCodeRequest
571
+ ) => any;
572
+ export declare const RespondToAuthChallengeRequestFilterSensitiveLog: (
573
+ obj: RespondToAuthChallengeRequest
574
+ ) => any;
320
575
  export declare const RespondToAuthChallengeResponseFilterSensitiveLog: (
321
576
  obj: RespondToAuthChallengeResponse
322
577
  ) => any;
@@ -344,6 +599,12 @@ export declare const SetUserSettingsRequestFilterSensitiveLog: (
344
599
  export declare const SignUpRequestFilterSensitiveLog: (
345
600
  obj: SignUpRequest
346
601
  ) => any;
602
+ export declare const SignUpResponseFilterSensitiveLog: (
603
+ obj: SignUpResponse
604
+ ) => any;
605
+ export declare const StartWebAuthnRegistrationRequestFilterSensitiveLog: (
606
+ obj: StartWebAuthnRegistrationRequest
607
+ ) => any;
347
608
  export declare const UpdateAuthEventFeedbackRequestFilterSensitiveLog: (
348
609
  obj: UpdateAuthEventFeedbackRequest
349
610
  ) => any;
@@ -119,6 +119,10 @@ import {
119
119
  ChangePasswordCommandInput,
120
120
  ChangePasswordCommandOutput,
121
121
  } from "../commands/ChangePasswordCommand";
122
+ import {
123
+ CompleteWebAuthnRegistrationCommandInput,
124
+ CompleteWebAuthnRegistrationCommandOutput,
125
+ } from "../commands/CompleteWebAuthnRegistrationCommand";
122
126
  import {
123
127
  ConfirmDeviceCommandInput,
124
128
  ConfirmDeviceCommandOutput,
@@ -139,6 +143,10 @@ import {
139
143
  CreateIdentityProviderCommandInput,
140
144
  CreateIdentityProviderCommandOutput,
141
145
  } from "../commands/CreateIdentityProviderCommand";
146
+ import {
147
+ CreateManagedLoginBrandingCommandInput,
148
+ CreateManagedLoginBrandingCommandOutput,
149
+ } from "../commands/CreateManagedLoginBrandingCommand";
142
150
  import {
143
151
  CreateResourceServerCommandInput,
144
152
  CreateResourceServerCommandOutput,
@@ -167,6 +175,10 @@ import {
167
175
  DeleteIdentityProviderCommandInput,
168
176
  DeleteIdentityProviderCommandOutput,
169
177
  } from "../commands/DeleteIdentityProviderCommand";
178
+ import {
179
+ DeleteManagedLoginBrandingCommandInput,
180
+ DeleteManagedLoginBrandingCommandOutput,
181
+ } from "../commands/DeleteManagedLoginBrandingCommand";
170
182
  import {
171
183
  DeleteResourceServerCommandInput,
172
184
  DeleteResourceServerCommandOutput,
@@ -191,10 +203,22 @@ import {
191
203
  DeleteUserPoolDomainCommandInput,
192
204
  DeleteUserPoolDomainCommandOutput,
193
205
  } from "../commands/DeleteUserPoolDomainCommand";
206
+ import {
207
+ DeleteWebAuthnCredentialCommandInput,
208
+ DeleteWebAuthnCredentialCommandOutput,
209
+ } from "../commands/DeleteWebAuthnCredentialCommand";
194
210
  import {
195
211
  DescribeIdentityProviderCommandInput,
196
212
  DescribeIdentityProviderCommandOutput,
197
213
  } from "../commands/DescribeIdentityProviderCommand";
214
+ import {
215
+ DescribeManagedLoginBrandingByClientCommandInput,
216
+ DescribeManagedLoginBrandingByClientCommandOutput,
217
+ } from "../commands/DescribeManagedLoginBrandingByClientCommand";
218
+ import {
219
+ DescribeManagedLoginBrandingCommandInput,
220
+ DescribeManagedLoginBrandingCommandOutput,
221
+ } from "../commands/DescribeManagedLoginBrandingCommand";
198
222
  import {
199
223
  DescribeResourceServerCommandInput,
200
224
  DescribeResourceServerCommandOutput,
@@ -259,6 +283,10 @@ import {
259
283
  GetUserAttributeVerificationCodeCommandInput,
260
284
  GetUserAttributeVerificationCodeCommandOutput,
261
285
  } from "../commands/GetUserAttributeVerificationCodeCommand";
286
+ import {
287
+ GetUserAuthFactorsCommandInput,
288
+ GetUserAuthFactorsCommandOutput,
289
+ } from "../commands/GetUserAuthFactorsCommand";
262
290
  import {
263
291
  GetUserCommandInput,
264
292
  GetUserCommandOutput,
@@ -315,6 +343,10 @@ import {
315
343
  ListUsersInGroupCommandInput,
316
344
  ListUsersInGroupCommandOutput,
317
345
  } from "../commands/ListUsersInGroupCommand";
346
+ import {
347
+ ListWebAuthnCredentialsCommandInput,
348
+ ListWebAuthnCredentialsCommandOutput,
349
+ } from "../commands/ListWebAuthnCredentialsCommand";
318
350
  import {
319
351
  ResendConfirmationCodeCommandInput,
320
352
  ResendConfirmationCodeCommandOutput,
@@ -359,6 +391,10 @@ import {
359
391
  StartUserImportJobCommandInput,
360
392
  StartUserImportJobCommandOutput,
361
393
  } from "../commands/StartUserImportJobCommand";
394
+ import {
395
+ StartWebAuthnRegistrationCommandInput,
396
+ StartWebAuthnRegistrationCommandOutput,
397
+ } from "../commands/StartWebAuthnRegistrationCommand";
362
398
  import {
363
399
  StopUserImportJobCommandInput,
364
400
  StopUserImportJobCommandOutput,
@@ -387,6 +423,10 @@ import {
387
423
  UpdateIdentityProviderCommandInput,
388
424
  UpdateIdentityProviderCommandOutput,
389
425
  } from "../commands/UpdateIdentityProviderCommand";
426
+ import {
427
+ UpdateManagedLoginBrandingCommandInput,
428
+ UpdateManagedLoginBrandingCommandOutput,
429
+ } from "../commands/UpdateManagedLoginBrandingCommand";
390
430
  import {
391
431
  UpdateResourceServerCommandInput,
392
432
  UpdateResourceServerCommandOutput,
@@ -531,6 +571,10 @@ export declare const se_ChangePasswordCommand: (
531
571
  input: ChangePasswordCommandInput,
532
572
  context: __SerdeContext
533
573
  ) => Promise<__HttpRequest>;
574
+ export declare const se_CompleteWebAuthnRegistrationCommand: (
575
+ input: CompleteWebAuthnRegistrationCommandInput,
576
+ context: __SerdeContext
577
+ ) => Promise<__HttpRequest>;
534
578
  export declare const se_ConfirmDeviceCommand: (
535
579
  input: ConfirmDeviceCommandInput,
536
580
  context: __SerdeContext
@@ -551,6 +595,10 @@ export declare const se_CreateIdentityProviderCommand: (
551
595
  input: CreateIdentityProviderCommandInput,
552
596
  context: __SerdeContext
553
597
  ) => Promise<__HttpRequest>;
598
+ export declare const se_CreateManagedLoginBrandingCommand: (
599
+ input: CreateManagedLoginBrandingCommandInput,
600
+ context: __SerdeContext
601
+ ) => Promise<__HttpRequest>;
554
602
  export declare const se_CreateResourceServerCommand: (
555
603
  input: CreateResourceServerCommandInput,
556
604
  context: __SerdeContext
@@ -579,6 +627,10 @@ export declare const se_DeleteIdentityProviderCommand: (
579
627
  input: DeleteIdentityProviderCommandInput,
580
628
  context: __SerdeContext
581
629
  ) => Promise<__HttpRequest>;
630
+ export declare const se_DeleteManagedLoginBrandingCommand: (
631
+ input: DeleteManagedLoginBrandingCommandInput,
632
+ context: __SerdeContext
633
+ ) => Promise<__HttpRequest>;
582
634
  export declare const se_DeleteResourceServerCommand: (
583
635
  input: DeleteResourceServerCommandInput,
584
636
  context: __SerdeContext
@@ -603,10 +655,22 @@ export declare const se_DeleteUserPoolDomainCommand: (
603
655
  input: DeleteUserPoolDomainCommandInput,
604
656
  context: __SerdeContext
605
657
  ) => Promise<__HttpRequest>;
658
+ export declare const se_DeleteWebAuthnCredentialCommand: (
659
+ input: DeleteWebAuthnCredentialCommandInput,
660
+ context: __SerdeContext
661
+ ) => Promise<__HttpRequest>;
606
662
  export declare const se_DescribeIdentityProviderCommand: (
607
663
  input: DescribeIdentityProviderCommandInput,
608
664
  context: __SerdeContext
609
665
  ) => Promise<__HttpRequest>;
666
+ export declare const se_DescribeManagedLoginBrandingCommand: (
667
+ input: DescribeManagedLoginBrandingCommandInput,
668
+ context: __SerdeContext
669
+ ) => Promise<__HttpRequest>;
670
+ export declare const se_DescribeManagedLoginBrandingByClientCommand: (
671
+ input: DescribeManagedLoginBrandingByClientCommandInput,
672
+ context: __SerdeContext
673
+ ) => Promise<__HttpRequest>;
610
674
  export declare const se_DescribeResourceServerCommand: (
611
675
  input: DescribeResourceServerCommandInput,
612
676
  context: __SerdeContext
@@ -675,6 +739,10 @@ export declare const se_GetUserAttributeVerificationCodeCommand: (
675
739
  input: GetUserAttributeVerificationCodeCommandInput,
676
740
  context: __SerdeContext
677
741
  ) => Promise<__HttpRequest>;
742
+ export declare const se_GetUserAuthFactorsCommand: (
743
+ input: GetUserAuthFactorsCommandInput,
744
+ context: __SerdeContext
745
+ ) => Promise<__HttpRequest>;
678
746
  export declare const se_GetUserPoolMfaConfigCommand: (
679
747
  input: GetUserPoolMfaConfigCommandInput,
680
748
  context: __SerdeContext
@@ -727,6 +795,10 @@ export declare const se_ListUsersInGroupCommand: (
727
795
  input: ListUsersInGroupCommandInput,
728
796
  context: __SerdeContext
729
797
  ) => Promise<__HttpRequest>;
798
+ export declare const se_ListWebAuthnCredentialsCommand: (
799
+ input: ListWebAuthnCredentialsCommandInput,
800
+ context: __SerdeContext
801
+ ) => Promise<__HttpRequest>;
730
802
  export declare const se_ResendConfirmationCodeCommand: (
731
803
  input: ResendConfirmationCodeCommandInput,
732
804
  context: __SerdeContext
@@ -771,6 +843,10 @@ export declare const se_StartUserImportJobCommand: (
771
843
  input: StartUserImportJobCommandInput,
772
844
  context: __SerdeContext
773
845
  ) => Promise<__HttpRequest>;
846
+ export declare const se_StartWebAuthnRegistrationCommand: (
847
+ input: StartWebAuthnRegistrationCommandInput,
848
+ context: __SerdeContext
849
+ ) => Promise<__HttpRequest>;
774
850
  export declare const se_StopUserImportJobCommand: (
775
851
  input: StopUserImportJobCommandInput,
776
852
  context: __SerdeContext
@@ -799,6 +875,10 @@ export declare const se_UpdateIdentityProviderCommand: (
799
875
  input: UpdateIdentityProviderCommandInput,
800
876
  context: __SerdeContext
801
877
  ) => Promise<__HttpRequest>;
878
+ export declare const se_UpdateManagedLoginBrandingCommand: (
879
+ input: UpdateManagedLoginBrandingCommandInput,
880
+ context: __SerdeContext
881
+ ) => Promise<__HttpRequest>;
802
882
  export declare const se_UpdateResourceServerCommand: (
803
883
  input: UpdateResourceServerCommandInput,
804
884
  context: __SerdeContext
@@ -943,6 +1023,10 @@ export declare const de_ChangePasswordCommand: (
943
1023
  output: __HttpResponse,
944
1024
  context: __SerdeContext
945
1025
  ) => Promise<ChangePasswordCommandOutput>;
1026
+ export declare const de_CompleteWebAuthnRegistrationCommand: (
1027
+ output: __HttpResponse,
1028
+ context: __SerdeContext
1029
+ ) => Promise<CompleteWebAuthnRegistrationCommandOutput>;
946
1030
  export declare const de_ConfirmDeviceCommand: (
947
1031
  output: __HttpResponse,
948
1032
  context: __SerdeContext
@@ -963,6 +1047,10 @@ export declare const de_CreateIdentityProviderCommand: (
963
1047
  output: __HttpResponse,
964
1048
  context: __SerdeContext
965
1049
  ) => Promise<CreateIdentityProviderCommandOutput>;
1050
+ export declare const de_CreateManagedLoginBrandingCommand: (
1051
+ output: __HttpResponse,
1052
+ context: __SerdeContext
1053
+ ) => Promise<CreateManagedLoginBrandingCommandOutput>;
966
1054
  export declare const de_CreateResourceServerCommand: (
967
1055
  output: __HttpResponse,
968
1056
  context: __SerdeContext
@@ -991,6 +1079,10 @@ export declare const de_DeleteIdentityProviderCommand: (
991
1079
  output: __HttpResponse,
992
1080
  context: __SerdeContext
993
1081
  ) => Promise<DeleteIdentityProviderCommandOutput>;
1082
+ export declare const de_DeleteManagedLoginBrandingCommand: (
1083
+ output: __HttpResponse,
1084
+ context: __SerdeContext
1085
+ ) => Promise<DeleteManagedLoginBrandingCommandOutput>;
994
1086
  export declare const de_DeleteResourceServerCommand: (
995
1087
  output: __HttpResponse,
996
1088
  context: __SerdeContext
@@ -1015,10 +1107,22 @@ export declare const de_DeleteUserPoolDomainCommand: (
1015
1107
  output: __HttpResponse,
1016
1108
  context: __SerdeContext
1017
1109
  ) => Promise<DeleteUserPoolDomainCommandOutput>;
1110
+ export declare const de_DeleteWebAuthnCredentialCommand: (
1111
+ output: __HttpResponse,
1112
+ context: __SerdeContext
1113
+ ) => Promise<DeleteWebAuthnCredentialCommandOutput>;
1018
1114
  export declare const de_DescribeIdentityProviderCommand: (
1019
1115
  output: __HttpResponse,
1020
1116
  context: __SerdeContext
1021
1117
  ) => Promise<DescribeIdentityProviderCommandOutput>;
1118
+ export declare const de_DescribeManagedLoginBrandingCommand: (
1119
+ output: __HttpResponse,
1120
+ context: __SerdeContext
1121
+ ) => Promise<DescribeManagedLoginBrandingCommandOutput>;
1122
+ export declare const de_DescribeManagedLoginBrandingByClientCommand: (
1123
+ output: __HttpResponse,
1124
+ context: __SerdeContext
1125
+ ) => Promise<DescribeManagedLoginBrandingByClientCommandOutput>;
1022
1126
  export declare const de_DescribeResourceServerCommand: (
1023
1127
  output: __HttpResponse,
1024
1128
  context: __SerdeContext
@@ -1087,6 +1191,10 @@ export declare const de_GetUserAttributeVerificationCodeCommand: (
1087
1191
  output: __HttpResponse,
1088
1192
  context: __SerdeContext
1089
1193
  ) => Promise<GetUserAttributeVerificationCodeCommandOutput>;
1194
+ export declare const de_GetUserAuthFactorsCommand: (
1195
+ output: __HttpResponse,
1196
+ context: __SerdeContext
1197
+ ) => Promise<GetUserAuthFactorsCommandOutput>;
1090
1198
  export declare const de_GetUserPoolMfaConfigCommand: (
1091
1199
  output: __HttpResponse,
1092
1200
  context: __SerdeContext
@@ -1139,6 +1247,10 @@ export declare const de_ListUsersInGroupCommand: (
1139
1247
  output: __HttpResponse,
1140
1248
  context: __SerdeContext
1141
1249
  ) => Promise<ListUsersInGroupCommandOutput>;
1250
+ export declare const de_ListWebAuthnCredentialsCommand: (
1251
+ output: __HttpResponse,
1252
+ context: __SerdeContext
1253
+ ) => Promise<ListWebAuthnCredentialsCommandOutput>;
1142
1254
  export declare const de_ResendConfirmationCodeCommand: (
1143
1255
  output: __HttpResponse,
1144
1256
  context: __SerdeContext
@@ -1183,6 +1295,10 @@ export declare const de_StartUserImportJobCommand: (
1183
1295
  output: __HttpResponse,
1184
1296
  context: __SerdeContext
1185
1297
  ) => Promise<StartUserImportJobCommandOutput>;
1298
+ export declare const de_StartWebAuthnRegistrationCommand: (
1299
+ output: __HttpResponse,
1300
+ context: __SerdeContext
1301
+ ) => Promise<StartWebAuthnRegistrationCommandOutput>;
1186
1302
  export declare const de_StopUserImportJobCommand: (
1187
1303
  output: __HttpResponse,
1188
1304
  context: __SerdeContext
@@ -1211,6 +1327,10 @@ export declare const de_UpdateIdentityProviderCommand: (
1211
1327
  output: __HttpResponse,
1212
1328
  context: __SerdeContext
1213
1329
  ) => Promise<UpdateIdentityProviderCommandOutput>;
1330
+ export declare const de_UpdateManagedLoginBrandingCommand: (
1331
+ output: __HttpResponse,
1332
+ context: __SerdeContext
1333
+ ) => Promise<UpdateManagedLoginBrandingCommandOutput>;
1214
1334
  export declare const de_UpdateResourceServerCommand: (
1215
1335
  output: __HttpResponse,
1216
1336
  context: __SerdeContext
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.696.0",
4
+ "version": "3.708.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
23
+ "@aws-sdk/client-sso-oidc": "3.699.0",
24
+ "@aws-sdk/client-sts": "3.699.0",
25
25
  "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.699.0",
27
27
  "@aws-sdk/middleware-host-header": "3.696.0",
28
28
  "@aws-sdk/middleware-logger": "3.696.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.696.0",