@aws-sdk/client-cognito-identity-provider 3.693.0 → 3.699.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.
- package/README.md +80 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +20 -0
- package/dist-cjs/index.js +983 -71
- package/dist-es/CognitoIdentityProvider.js +20 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +20 -0
- package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +23 -0
- package/dist-es/commands/ConfirmSignUpCommand.js +2 -2
- package/dist-es/commands/CreateManagedLoginBrandingCommand.js +23 -0
- package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +23 -0
- package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +23 -0
- package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/GetUserAuthFactorsCommand.js +23 -0
- package/dist-es/commands/GlobalSignOutCommand.js +1 -1
- package/dist-es/commands/InitiateAuthCommand.js +1 -1
- package/dist-es/commands/ListDevicesCommand.js +1 -1
- package/dist-es/commands/ListUserPoolClientsCommand.js +1 -1
- package/dist-es/commands/ListUsersCommand.js +1 -1
- package/dist-es/commands/ListUsersInGroupCommand.js +1 -1
- package/dist-es/commands/ListWebAuthnCredentialsCommand.js +23 -0
- package/dist-es/commands/ResendConfirmationCodeCommand.js +1 -1
- package/dist-es/commands/RespondToAuthChallengeCommand.js +1 -2
- package/dist-es/commands/SignUpCommand.js +2 -2
- package/dist-es/commands/StartWebAuthnRegistrationCommand.js +23 -0
- package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +184 -50
- package/dist-es/models/models_1.js +82 -1
- package/dist-es/protocols/Aws_json1_1.js +433 -2
- package/dist-types/CognitoIdentityProvider.d.ts +71 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +12 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -4
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +5 -4
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -2
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +4 -4
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +119 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +5 -2
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +162 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +22 -2
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +8 -1
- package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +113 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +90 -0
- package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +108 -0
- package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +108 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +6 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -2
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -2
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +120 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +6 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +9 -5
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +100 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +3 -3
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +5 -6
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -3
- package/dist-types/commands/SignUpCommand.d.ts +11 -3
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +107 -0
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +150 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -2
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1609 -1660
- package/dist-types/models/models_1.d.ts +1711 -7
- package/dist-types/protocols/Aws_json1_1.d.ts +90 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +177 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CompleteWebAuthnRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteManagedLoginBrandingCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteWebAuthnCredentialCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetUserAuthFactorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWebAuthnCredentialsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartWebAuthnRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateManagedLoginBrandingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +248 -185
- package/dist-types/ts3.4/models/models_1.d.ts +262 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +120 -0
- package/package.json +35 -35
|
@@ -29,11 +29,13 @@ import { AdminUpdateUserAttributesCommandInput, AdminUpdateUserAttributesCommand
|
|
|
29
29
|
import { AdminUserGlobalSignOutCommandInput, AdminUserGlobalSignOutCommandOutput } from "./commands/AdminUserGlobalSignOutCommand";
|
|
30
30
|
import { AssociateSoftwareTokenCommandInput, AssociateSoftwareTokenCommandOutput } from "./commands/AssociateSoftwareTokenCommand";
|
|
31
31
|
import { ChangePasswordCommandInput, ChangePasswordCommandOutput } from "./commands/ChangePasswordCommand";
|
|
32
|
+
import { CompleteWebAuthnRegistrationCommandInput, CompleteWebAuthnRegistrationCommandOutput } from "./commands/CompleteWebAuthnRegistrationCommand";
|
|
32
33
|
import { ConfirmDeviceCommandInput, ConfirmDeviceCommandOutput } from "./commands/ConfirmDeviceCommand";
|
|
33
34
|
import { ConfirmForgotPasswordCommandInput, ConfirmForgotPasswordCommandOutput } from "./commands/ConfirmForgotPasswordCommand";
|
|
34
35
|
import { ConfirmSignUpCommandInput, ConfirmSignUpCommandOutput } from "./commands/ConfirmSignUpCommand";
|
|
35
36
|
import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
|
|
36
37
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
38
|
+
import { CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput } from "./commands/CreateManagedLoginBrandingCommand";
|
|
37
39
|
import { CreateResourceServerCommandInput, CreateResourceServerCommandOutput } from "./commands/CreateResourceServerCommand";
|
|
38
40
|
import { CreateUserImportJobCommandInput, CreateUserImportJobCommandOutput } from "./commands/CreateUserImportJobCommand";
|
|
39
41
|
import { CreateUserPoolClientCommandInput, CreateUserPoolClientCommandOutput } from "./commands/CreateUserPoolClientCommand";
|
|
@@ -41,13 +43,17 @@ import { CreateUserPoolCommandInput, CreateUserPoolCommandOutput } from "./comma
|
|
|
41
43
|
import { CreateUserPoolDomainCommandInput, CreateUserPoolDomainCommandOutput } from "./commands/CreateUserPoolDomainCommand";
|
|
42
44
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
43
45
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
46
|
+
import { DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput } from "./commands/DeleteManagedLoginBrandingCommand";
|
|
44
47
|
import { DeleteResourceServerCommandInput, DeleteResourceServerCommandOutput } from "./commands/DeleteResourceServerCommand";
|
|
45
48
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
46
49
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
47
50
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
48
51
|
import { DeleteUserPoolCommandInput, DeleteUserPoolCommandOutput } from "./commands/DeleteUserPoolCommand";
|
|
49
52
|
import { DeleteUserPoolDomainCommandInput, DeleteUserPoolDomainCommandOutput } from "./commands/DeleteUserPoolDomainCommand";
|
|
53
|
+
import { DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput } from "./commands/DeleteWebAuthnCredentialCommand";
|
|
50
54
|
import { DescribeIdentityProviderCommandInput, DescribeIdentityProviderCommandOutput } from "./commands/DescribeIdentityProviderCommand";
|
|
55
|
+
import { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput } from "./commands/DescribeManagedLoginBrandingByClientCommand";
|
|
56
|
+
import { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
51
57
|
import { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
52
58
|
import { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
53
59
|
import { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
@@ -64,6 +70,7 @@ import { GetLogDeliveryConfigurationCommandInput, GetLogDeliveryConfigurationCom
|
|
|
64
70
|
import { GetSigningCertificateCommandInput, GetSigningCertificateCommandOutput } from "./commands/GetSigningCertificateCommand";
|
|
65
71
|
import { GetUICustomizationCommandInput, GetUICustomizationCommandOutput } from "./commands/GetUICustomizationCommand";
|
|
66
72
|
import { GetUserAttributeVerificationCodeCommandInput, GetUserAttributeVerificationCodeCommandOutput } from "./commands/GetUserAttributeVerificationCodeCommand";
|
|
73
|
+
import { GetUserAuthFactorsCommandInput, GetUserAuthFactorsCommandOutput } from "./commands/GetUserAuthFactorsCommand";
|
|
67
74
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
68
75
|
import { GetUserPoolMfaConfigCommandInput, GetUserPoolMfaConfigCommandOutput } from "./commands/GetUserPoolMfaConfigCommand";
|
|
69
76
|
import { GlobalSignOutCommandInput, GlobalSignOutCommandOutput } from "./commands/GlobalSignOutCommand";
|
|
@@ -78,6 +85,7 @@ import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } fro
|
|
|
78
85
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
79
86
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
80
87
|
import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "./commands/ListUsersInGroupCommand";
|
|
88
|
+
import { ListWebAuthnCredentialsCommandInput, ListWebAuthnCredentialsCommandOutput } from "./commands/ListWebAuthnCredentialsCommand";
|
|
81
89
|
import { ResendConfirmationCodeCommandInput, ResendConfirmationCodeCommandOutput } from "./commands/ResendConfirmationCodeCommand";
|
|
82
90
|
import { RespondToAuthChallengeCommandInput, RespondToAuthChallengeCommandOutput } from "./commands/RespondToAuthChallengeCommand";
|
|
83
91
|
import { RevokeTokenCommandInput, RevokeTokenCommandOutput } from "./commands/RevokeTokenCommand";
|
|
@@ -89,6 +97,7 @@ import { SetUserPoolMfaConfigCommandInput, SetUserPoolMfaConfigCommandOutput } f
|
|
|
89
97
|
import { SetUserSettingsCommandInput, SetUserSettingsCommandOutput } from "./commands/SetUserSettingsCommand";
|
|
90
98
|
import { SignUpCommandInput, SignUpCommandOutput } from "./commands/SignUpCommand";
|
|
91
99
|
import { StartUserImportJobCommandInput, StartUserImportJobCommandOutput } from "./commands/StartUserImportJobCommand";
|
|
100
|
+
import { StartWebAuthnRegistrationCommandInput, StartWebAuthnRegistrationCommandOutput } from "./commands/StartWebAuthnRegistrationCommand";
|
|
92
101
|
import { StopUserImportJobCommandInput, StopUserImportJobCommandOutput } from "./commands/StopUserImportJobCommand";
|
|
93
102
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
94
103
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -96,6 +105,7 @@ import { UpdateAuthEventFeedbackCommandInput, UpdateAuthEventFeedbackCommandOutp
|
|
|
96
105
|
import { UpdateDeviceStatusCommandInput, UpdateDeviceStatusCommandOutput } from "./commands/UpdateDeviceStatusCommand";
|
|
97
106
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
98
107
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
108
|
+
import { UpdateManagedLoginBrandingCommandInput, UpdateManagedLoginBrandingCommandOutput } from "./commands/UpdateManagedLoginBrandingCommand";
|
|
99
109
|
import { UpdateResourceServerCommandInput, UpdateResourceServerCommandOutput } from "./commands/UpdateResourceServerCommand";
|
|
100
110
|
import { UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput } from "./commands/UpdateUserAttributesCommand";
|
|
101
111
|
import { UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput } from "./commands/UpdateUserPoolClientCommand";
|
|
@@ -279,6 +289,12 @@ export interface CognitoIdentityProvider {
|
|
|
279
289
|
changePassword(args: ChangePasswordCommandInput, options?: __HttpHandlerOptions): Promise<ChangePasswordCommandOutput>;
|
|
280
290
|
changePassword(args: ChangePasswordCommandInput, cb: (err: any, data?: ChangePasswordCommandOutput) => void): void;
|
|
281
291
|
changePassword(args: ChangePasswordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangePasswordCommandOutput) => void): void;
|
|
292
|
+
/**
|
|
293
|
+
* @see {@link CompleteWebAuthnRegistrationCommand}
|
|
294
|
+
*/
|
|
295
|
+
completeWebAuthnRegistration(args: CompleteWebAuthnRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<CompleteWebAuthnRegistrationCommandOutput>;
|
|
296
|
+
completeWebAuthnRegistration(args: CompleteWebAuthnRegistrationCommandInput, cb: (err: any, data?: CompleteWebAuthnRegistrationCommandOutput) => void): void;
|
|
297
|
+
completeWebAuthnRegistration(args: CompleteWebAuthnRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteWebAuthnRegistrationCommandOutput) => void): void;
|
|
282
298
|
/**
|
|
283
299
|
* @see {@link ConfirmDeviceCommand}
|
|
284
300
|
*/
|
|
@@ -309,6 +325,12 @@ export interface CognitoIdentityProvider {
|
|
|
309
325
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<CreateIdentityProviderCommandOutput>;
|
|
310
326
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void): void;
|
|
311
327
|
createIdentityProvider(args: CreateIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIdentityProviderCommandOutput) => void): void;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link CreateManagedLoginBrandingCommand}
|
|
330
|
+
*/
|
|
331
|
+
createManagedLoginBranding(args: CreateManagedLoginBrandingCommandInput, options?: __HttpHandlerOptions): Promise<CreateManagedLoginBrandingCommandOutput>;
|
|
332
|
+
createManagedLoginBranding(args: CreateManagedLoginBrandingCommandInput, cb: (err: any, data?: CreateManagedLoginBrandingCommandOutput) => void): void;
|
|
333
|
+
createManagedLoginBranding(args: CreateManagedLoginBrandingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateManagedLoginBrandingCommandOutput) => void): void;
|
|
312
334
|
/**
|
|
313
335
|
* @see {@link CreateResourceServerCommand}
|
|
314
336
|
*/
|
|
@@ -351,6 +373,12 @@ export interface CognitoIdentityProvider {
|
|
|
351
373
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIdentityProviderCommandOutput>;
|
|
352
374
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void): void;
|
|
353
375
|
deleteIdentityProvider(args: DeleteIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIdentityProviderCommandOutput) => void): void;
|
|
376
|
+
/**
|
|
377
|
+
* @see {@link DeleteManagedLoginBrandingCommand}
|
|
378
|
+
*/
|
|
379
|
+
deleteManagedLoginBranding(args: DeleteManagedLoginBrandingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteManagedLoginBrandingCommandOutput>;
|
|
380
|
+
deleteManagedLoginBranding(args: DeleteManagedLoginBrandingCommandInput, cb: (err: any, data?: DeleteManagedLoginBrandingCommandOutput) => void): void;
|
|
381
|
+
deleteManagedLoginBranding(args: DeleteManagedLoginBrandingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteManagedLoginBrandingCommandOutput) => void): void;
|
|
354
382
|
/**
|
|
355
383
|
* @see {@link DeleteResourceServerCommand}
|
|
356
384
|
*/
|
|
@@ -387,12 +415,30 @@ export interface CognitoIdentityProvider {
|
|
|
387
415
|
deleteUserPoolDomain(args: DeleteUserPoolDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserPoolDomainCommandOutput>;
|
|
388
416
|
deleteUserPoolDomain(args: DeleteUserPoolDomainCommandInput, cb: (err: any, data?: DeleteUserPoolDomainCommandOutput) => void): void;
|
|
389
417
|
deleteUserPoolDomain(args: DeleteUserPoolDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserPoolDomainCommandOutput) => void): void;
|
|
418
|
+
/**
|
|
419
|
+
* @see {@link DeleteWebAuthnCredentialCommand}
|
|
420
|
+
*/
|
|
421
|
+
deleteWebAuthnCredential(args: DeleteWebAuthnCredentialCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWebAuthnCredentialCommandOutput>;
|
|
422
|
+
deleteWebAuthnCredential(args: DeleteWebAuthnCredentialCommandInput, cb: (err: any, data?: DeleteWebAuthnCredentialCommandOutput) => void): void;
|
|
423
|
+
deleteWebAuthnCredential(args: DeleteWebAuthnCredentialCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWebAuthnCredentialCommandOutput) => void): void;
|
|
390
424
|
/**
|
|
391
425
|
* @see {@link DescribeIdentityProviderCommand}
|
|
392
426
|
*/
|
|
393
427
|
describeIdentityProvider(args: DescribeIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIdentityProviderCommandOutput>;
|
|
394
428
|
describeIdentityProvider(args: DescribeIdentityProviderCommandInput, cb: (err: any, data?: DescribeIdentityProviderCommandOutput) => void): void;
|
|
395
429
|
describeIdentityProvider(args: DescribeIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIdentityProviderCommandOutput) => void): void;
|
|
430
|
+
/**
|
|
431
|
+
* @see {@link DescribeManagedLoginBrandingCommand}
|
|
432
|
+
*/
|
|
433
|
+
describeManagedLoginBranding(args: DescribeManagedLoginBrandingCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedLoginBrandingCommandOutput>;
|
|
434
|
+
describeManagedLoginBranding(args: DescribeManagedLoginBrandingCommandInput, cb: (err: any, data?: DescribeManagedLoginBrandingCommandOutput) => void): void;
|
|
435
|
+
describeManagedLoginBranding(args: DescribeManagedLoginBrandingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedLoginBrandingCommandOutput) => void): void;
|
|
436
|
+
/**
|
|
437
|
+
* @see {@link DescribeManagedLoginBrandingByClientCommand}
|
|
438
|
+
*/
|
|
439
|
+
describeManagedLoginBrandingByClient(args: DescribeManagedLoginBrandingByClientCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedLoginBrandingByClientCommandOutput>;
|
|
440
|
+
describeManagedLoginBrandingByClient(args: DescribeManagedLoginBrandingByClientCommandInput, cb: (err: any, data?: DescribeManagedLoginBrandingByClientCommandOutput) => void): void;
|
|
441
|
+
describeManagedLoginBrandingByClient(args: DescribeManagedLoginBrandingByClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedLoginBrandingByClientCommandOutput) => void): void;
|
|
396
442
|
/**
|
|
397
443
|
* @see {@link DescribeResourceServerCommand}
|
|
398
444
|
*/
|
|
@@ -495,6 +541,12 @@ export interface CognitoIdentityProvider {
|
|
|
495
541
|
getUserAttributeVerificationCode(args: GetUserAttributeVerificationCodeCommandInput, options?: __HttpHandlerOptions): Promise<GetUserAttributeVerificationCodeCommandOutput>;
|
|
496
542
|
getUserAttributeVerificationCode(args: GetUserAttributeVerificationCodeCommandInput, cb: (err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void): void;
|
|
497
543
|
getUserAttributeVerificationCode(args: GetUserAttributeVerificationCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserAttributeVerificationCodeCommandOutput) => void): void;
|
|
544
|
+
/**
|
|
545
|
+
* @see {@link GetUserAuthFactorsCommand}
|
|
546
|
+
*/
|
|
547
|
+
getUserAuthFactors(args: GetUserAuthFactorsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserAuthFactorsCommandOutput>;
|
|
548
|
+
getUserAuthFactors(args: GetUserAuthFactorsCommandInput, cb: (err: any, data?: GetUserAuthFactorsCommandOutput) => void): void;
|
|
549
|
+
getUserAuthFactors(args: GetUserAuthFactorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserAuthFactorsCommandOutput) => void): void;
|
|
498
550
|
/**
|
|
499
551
|
* @see {@link GetUserPoolMfaConfigCommand}
|
|
500
552
|
*/
|
|
@@ -573,6 +625,12 @@ export interface CognitoIdentityProvider {
|
|
|
573
625
|
listUsersInGroup(args: ListUsersInGroupCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersInGroupCommandOutput>;
|
|
574
626
|
listUsersInGroup(args: ListUsersInGroupCommandInput, cb: (err: any, data?: ListUsersInGroupCommandOutput) => void): void;
|
|
575
627
|
listUsersInGroup(args: ListUsersInGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUsersInGroupCommandOutput) => void): void;
|
|
628
|
+
/**
|
|
629
|
+
* @see {@link ListWebAuthnCredentialsCommand}
|
|
630
|
+
*/
|
|
631
|
+
listWebAuthnCredentials(args: ListWebAuthnCredentialsCommandInput, options?: __HttpHandlerOptions): Promise<ListWebAuthnCredentialsCommandOutput>;
|
|
632
|
+
listWebAuthnCredentials(args: ListWebAuthnCredentialsCommandInput, cb: (err: any, data?: ListWebAuthnCredentialsCommandOutput) => void): void;
|
|
633
|
+
listWebAuthnCredentials(args: ListWebAuthnCredentialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebAuthnCredentialsCommandOutput) => void): void;
|
|
576
634
|
/**
|
|
577
635
|
* @see {@link ResendConfirmationCodeCommand}
|
|
578
636
|
*/
|
|
@@ -639,6 +697,12 @@ export interface CognitoIdentityProvider {
|
|
|
639
697
|
startUserImportJob(args: StartUserImportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartUserImportJobCommandOutput>;
|
|
640
698
|
startUserImportJob(args: StartUserImportJobCommandInput, cb: (err: any, data?: StartUserImportJobCommandOutput) => void): void;
|
|
641
699
|
startUserImportJob(args: StartUserImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartUserImportJobCommandOutput) => void): void;
|
|
700
|
+
/**
|
|
701
|
+
* @see {@link StartWebAuthnRegistrationCommand}
|
|
702
|
+
*/
|
|
703
|
+
startWebAuthnRegistration(args: StartWebAuthnRegistrationCommandInput, options?: __HttpHandlerOptions): Promise<StartWebAuthnRegistrationCommandOutput>;
|
|
704
|
+
startWebAuthnRegistration(args: StartWebAuthnRegistrationCommandInput, cb: (err: any, data?: StartWebAuthnRegistrationCommandOutput) => void): void;
|
|
705
|
+
startWebAuthnRegistration(args: StartWebAuthnRegistrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWebAuthnRegistrationCommandOutput) => void): void;
|
|
642
706
|
/**
|
|
643
707
|
* @see {@link StopUserImportJobCommand}
|
|
644
708
|
*/
|
|
@@ -681,6 +745,13 @@ export interface CognitoIdentityProvider {
|
|
|
681
745
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityProviderCommandOutput>;
|
|
682
746
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void): void;
|
|
683
747
|
updateIdentityProvider(args: UpdateIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityProviderCommandOutput) => void): void;
|
|
748
|
+
/**
|
|
749
|
+
* @see {@link UpdateManagedLoginBrandingCommand}
|
|
750
|
+
*/
|
|
751
|
+
updateManagedLoginBranding(): Promise<UpdateManagedLoginBrandingCommandOutput>;
|
|
752
|
+
updateManagedLoginBranding(args: UpdateManagedLoginBrandingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateManagedLoginBrandingCommandOutput>;
|
|
753
|
+
updateManagedLoginBranding(args: UpdateManagedLoginBrandingCommandInput, cb: (err: any, data?: UpdateManagedLoginBrandingCommandOutput) => void): void;
|
|
754
|
+
updateManagedLoginBranding(args: UpdateManagedLoginBrandingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateManagedLoginBrandingCommandOutput) => void): void;
|
|
684
755
|
/**
|
|
685
756
|
* @see {@link UpdateResourceServerCommand}
|
|
686
757
|
*/
|
|
@@ -36,11 +36,13 @@ import { AdminUpdateUserAttributesCommandInput, AdminUpdateUserAttributesCommand
|
|
|
36
36
|
import { AdminUserGlobalSignOutCommandInput, AdminUserGlobalSignOutCommandOutput } from "./commands/AdminUserGlobalSignOutCommand";
|
|
37
37
|
import { AssociateSoftwareTokenCommandInput, AssociateSoftwareTokenCommandOutput } from "./commands/AssociateSoftwareTokenCommand";
|
|
38
38
|
import { ChangePasswordCommandInput, ChangePasswordCommandOutput } from "./commands/ChangePasswordCommand";
|
|
39
|
+
import { CompleteWebAuthnRegistrationCommandInput, CompleteWebAuthnRegistrationCommandOutput } from "./commands/CompleteWebAuthnRegistrationCommand";
|
|
39
40
|
import { ConfirmDeviceCommandInput, ConfirmDeviceCommandOutput } from "./commands/ConfirmDeviceCommand";
|
|
40
41
|
import { ConfirmForgotPasswordCommandInput, ConfirmForgotPasswordCommandOutput } from "./commands/ConfirmForgotPasswordCommand";
|
|
41
42
|
import { ConfirmSignUpCommandInput, ConfirmSignUpCommandOutput } from "./commands/ConfirmSignUpCommand";
|
|
42
43
|
import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
|
|
43
44
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
45
|
+
import { CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput } from "./commands/CreateManagedLoginBrandingCommand";
|
|
44
46
|
import { CreateResourceServerCommandInput, CreateResourceServerCommandOutput } from "./commands/CreateResourceServerCommand";
|
|
45
47
|
import { CreateUserImportJobCommandInput, CreateUserImportJobCommandOutput } from "./commands/CreateUserImportJobCommand";
|
|
46
48
|
import { CreateUserPoolClientCommandInput, CreateUserPoolClientCommandOutput } from "./commands/CreateUserPoolClientCommand";
|
|
@@ -48,13 +50,17 @@ import { CreateUserPoolCommandInput, CreateUserPoolCommandOutput } from "./comma
|
|
|
48
50
|
import { CreateUserPoolDomainCommandInput, CreateUserPoolDomainCommandOutput } from "./commands/CreateUserPoolDomainCommand";
|
|
49
51
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
50
52
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
53
|
+
import { DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput } from "./commands/DeleteManagedLoginBrandingCommand";
|
|
51
54
|
import { DeleteResourceServerCommandInput, DeleteResourceServerCommandOutput } from "./commands/DeleteResourceServerCommand";
|
|
52
55
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
53
56
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
54
57
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
55
58
|
import { DeleteUserPoolCommandInput, DeleteUserPoolCommandOutput } from "./commands/DeleteUserPoolCommand";
|
|
56
59
|
import { DeleteUserPoolDomainCommandInput, DeleteUserPoolDomainCommandOutput } from "./commands/DeleteUserPoolDomainCommand";
|
|
60
|
+
import { DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput } from "./commands/DeleteWebAuthnCredentialCommand";
|
|
57
61
|
import { DescribeIdentityProviderCommandInput, DescribeIdentityProviderCommandOutput } from "./commands/DescribeIdentityProviderCommand";
|
|
62
|
+
import { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginBrandingByClientCommandOutput } from "./commands/DescribeManagedLoginBrandingByClientCommand";
|
|
63
|
+
import { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
58
64
|
import { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
59
65
|
import { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
60
66
|
import { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
@@ -71,6 +77,7 @@ import { GetLogDeliveryConfigurationCommandInput, GetLogDeliveryConfigurationCom
|
|
|
71
77
|
import { GetSigningCertificateCommandInput, GetSigningCertificateCommandOutput } from "./commands/GetSigningCertificateCommand";
|
|
72
78
|
import { GetUICustomizationCommandInput, GetUICustomizationCommandOutput } from "./commands/GetUICustomizationCommand";
|
|
73
79
|
import { GetUserAttributeVerificationCodeCommandInput, GetUserAttributeVerificationCodeCommandOutput } from "./commands/GetUserAttributeVerificationCodeCommand";
|
|
80
|
+
import { GetUserAuthFactorsCommandInput, GetUserAuthFactorsCommandOutput } from "./commands/GetUserAuthFactorsCommand";
|
|
74
81
|
import { GetUserCommandInput, GetUserCommandOutput } from "./commands/GetUserCommand";
|
|
75
82
|
import { GetUserPoolMfaConfigCommandInput, GetUserPoolMfaConfigCommandOutput } from "./commands/GetUserPoolMfaConfigCommand";
|
|
76
83
|
import { GlobalSignOutCommandInput, GlobalSignOutCommandOutput } from "./commands/GlobalSignOutCommand";
|
|
@@ -85,6 +92,7 @@ import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } fro
|
|
|
85
92
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
86
93
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
87
94
|
import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "./commands/ListUsersInGroupCommand";
|
|
95
|
+
import { ListWebAuthnCredentialsCommandInput, ListWebAuthnCredentialsCommandOutput } from "./commands/ListWebAuthnCredentialsCommand";
|
|
88
96
|
import { ResendConfirmationCodeCommandInput, ResendConfirmationCodeCommandOutput } from "./commands/ResendConfirmationCodeCommand";
|
|
89
97
|
import { RespondToAuthChallengeCommandInput, RespondToAuthChallengeCommandOutput } from "./commands/RespondToAuthChallengeCommand";
|
|
90
98
|
import { RevokeTokenCommandInput, RevokeTokenCommandOutput } from "./commands/RevokeTokenCommand";
|
|
@@ -96,6 +104,7 @@ import { SetUserPoolMfaConfigCommandInput, SetUserPoolMfaConfigCommandOutput } f
|
|
|
96
104
|
import { SetUserSettingsCommandInput, SetUserSettingsCommandOutput } from "./commands/SetUserSettingsCommand";
|
|
97
105
|
import { SignUpCommandInput, SignUpCommandOutput } from "./commands/SignUpCommand";
|
|
98
106
|
import { StartUserImportJobCommandInput, StartUserImportJobCommandOutput } from "./commands/StartUserImportJobCommand";
|
|
107
|
+
import { StartWebAuthnRegistrationCommandInput, StartWebAuthnRegistrationCommandOutput } from "./commands/StartWebAuthnRegistrationCommand";
|
|
99
108
|
import { StopUserImportJobCommandInput, StopUserImportJobCommandOutput } from "./commands/StopUserImportJobCommand";
|
|
100
109
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
101
110
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -103,6 +112,7 @@ import { UpdateAuthEventFeedbackCommandInput, UpdateAuthEventFeedbackCommandOutp
|
|
|
103
112
|
import { UpdateDeviceStatusCommandInput, UpdateDeviceStatusCommandOutput } from "./commands/UpdateDeviceStatusCommand";
|
|
104
113
|
import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand";
|
|
105
114
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
115
|
+
import { UpdateManagedLoginBrandingCommandInput, UpdateManagedLoginBrandingCommandOutput } from "./commands/UpdateManagedLoginBrandingCommand";
|
|
106
116
|
import { UpdateResourceServerCommandInput, UpdateResourceServerCommandOutput } from "./commands/UpdateResourceServerCommand";
|
|
107
117
|
import { UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput } from "./commands/UpdateUserAttributesCommand";
|
|
108
118
|
import { UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput } from "./commands/UpdateUserPoolClientCommand";
|
|
@@ -116,11 +126,11 @@ export { __Client };
|
|
|
116
126
|
/**
|
|
117
127
|
* @public
|
|
118
128
|
*/
|
|
119
|
-
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateResourceServerCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteResourceServerCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DescribeIdentityProviderCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateResourceServerCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
129
|
+
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | CompleteWebAuthnRegistrationCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateManagedLoginBrandingCommandInput | CreateResourceServerCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateResourceServerCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
120
130
|
/**
|
|
121
131
|
* @public
|
|
122
132
|
*/
|
|
123
|
-
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateResourceServerCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteResourceServerCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DescribeIdentityProviderCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateResourceServerCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
133
|
+
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | CompleteWebAuthnRegistrationCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateManagedLoginBrandingCommandOutput | CreateResourceServerCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateResourceServerCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
124
134
|
/**
|
|
125
135
|
* @public
|
|
126
136
|
*/
|
|
@@ -38,7 +38,7 @@ declare const AdminCreateUserCommand_base: {
|
|
|
38
38
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
39
39
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
40
40
|
* in.</p>
|
|
41
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
41
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
42
42
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
43
43
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
44
44
|
* mode</a>
|
|
@@ -52,8 +52,13 @@ declare const AdminCreateUserCommand_base: {
|
|
|
52
52
|
* placeholders for user name and temporary password.</p>
|
|
53
53
|
* <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code>
|
|
54
54
|
* for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
|
|
55
|
-
* <p>In either case, the user will be in the
|
|
56
|
-
*
|
|
55
|
+
* <p>In either case, if the user has a password, they will be in the
|
|
56
|
+
* <code>FORCE_CHANGE_PASSWORD</code> state until they sign in and set their password.
|
|
57
|
+
* Your invitation message template must have the <code>\{####\}</code> password placeholder
|
|
58
|
+
* if your users have passwords. If your template doesn't have this placeholder, Amazon Cognito
|
|
59
|
+
* doesn't deliver the invitation message. In this case, you must update your message
|
|
60
|
+
* template and resend the password with a new <code>AdminCreateUser</code> request with a
|
|
61
|
+
* <code>MessageAction</code> value of <code>RESEND</code>.</p>
|
|
57
62
|
* <note>
|
|
58
63
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
59
64
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -161,7 +166,7 @@ declare const AdminCreateUserCommand_base: {
|
|
|
161
166
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
162
167
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
163
168
|
* provided for SMS configuration. This can happen if you don't trust
|
|
164
|
-
*
|
|
169
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
165
170
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
166
171
|
*
|
|
167
172
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
@@ -28,7 +28,8 @@ declare const AdminGetUserCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Gets the specified user by user name in a user pool as an administrator. Works on any
|
|
31
|
-
* user
|
|
31
|
+
* user. This operation contributes to your monthly active user (MAU) count for the purpose
|
|
32
|
+
* of billing.</p>
|
|
32
33
|
* <note>
|
|
33
34
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
34
35
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -36,7 +36,7 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
36
36
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
37
37
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
38
38
|
* in.</p>
|
|
39
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
39
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
40
40
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
41
41
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
42
42
|
* mode</a>
|
|
@@ -74,7 +74,7 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
74
74
|
* const input = { // AdminInitiateAuthRequest
|
|
75
75
|
* UserPoolId: "STRING_VALUE", // required
|
|
76
76
|
* ClientId: "STRING_VALUE", // required
|
|
77
|
-
* AuthFlow: "USER_SRP_AUTH" || "REFRESH_TOKEN_AUTH" || "REFRESH_TOKEN" || "CUSTOM_AUTH" || "ADMIN_NO_SRP_AUTH" || "USER_PASSWORD_AUTH" || "ADMIN_USER_PASSWORD_AUTH", // required
|
|
77
|
+
* AuthFlow: "USER_SRP_AUTH" || "REFRESH_TOKEN_AUTH" || "REFRESH_TOKEN" || "CUSTOM_AUTH" || "ADMIN_NO_SRP_AUTH" || "USER_PASSWORD_AUTH" || "ADMIN_USER_PASSWORD_AUTH" || "USER_AUTH", // required
|
|
78
78
|
* AuthParameters: { // AuthParametersType
|
|
79
79
|
* "<keys>": "STRING_VALUE",
|
|
80
80
|
* },
|
|
@@ -96,11 +96,12 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
96
96
|
* ],
|
|
97
97
|
* EncodedData: "STRING_VALUE",
|
|
98
98
|
* },
|
|
99
|
+
* Session: "STRING_VALUE",
|
|
99
100
|
* };
|
|
100
101
|
* const command = new AdminInitiateAuthCommand(input);
|
|
101
102
|
* const response = await client.send(command);
|
|
102
103
|
* // { // AdminInitiateAuthResponse
|
|
103
|
-
* // ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED",
|
|
104
|
+
* // ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "SELECT_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED" || "SMS_OTP" || "PASSWORD" || "WEB_AUTHN" || "PASSWORD_SRP",
|
|
104
105
|
* // Session: "STRING_VALUE",
|
|
105
106
|
* // ChallengeParameters: { // ChallengeParametersType
|
|
106
107
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -147,7 +148,7 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
147
148
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
148
149
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
149
150
|
* provided for SMS configuration. This can happen if you don't trust
|
|
150
|
-
*
|
|
151
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
151
152
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
152
153
|
*
|
|
153
154
|
* @throws {@link InvalidUserPoolConfigurationException} (client fault)
|
|
@@ -27,7 +27,7 @@ declare const AdminListDevicesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists
|
|
30
|
+
* <p>Lists a user's registered devices.</p>
|
|
31
31
|
* <note>
|
|
32
32
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
33
33
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
@@ -39,7 +39,7 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
39
39
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
40
40
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
41
41
|
* in.</p>
|
|
42
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
42
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
43
43
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
44
44
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
45
45
|
* mode</a>
|
|
@@ -122,7 +122,7 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
122
122
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
123
123
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
124
124
|
* provided for SMS configuration. This can happen if you don't trust
|
|
125
|
-
*
|
|
125
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
126
126
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
127
127
|
*
|
|
128
128
|
* @throws {@link LimitExceededException} (client fault)
|
|
@@ -42,7 +42,7 @@ declare const AdminRespondToAuthChallengeCommand_base: {
|
|
|
42
42
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
43
43
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
44
44
|
* in.</p>
|
|
45
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
45
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
46
46
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
47
47
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
48
48
|
* mode</a>
|
|
@@ -80,7 +80,7 @@ declare const AdminRespondToAuthChallengeCommand_base: {
|
|
|
80
80
|
* const input = { // AdminRespondToAuthChallengeRequest
|
|
81
81
|
* UserPoolId: "STRING_VALUE", // required
|
|
82
82
|
* ClientId: "STRING_VALUE", // required
|
|
83
|
-
* ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED", // required
|
|
83
|
+
* ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "SELECT_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED" || "SMS_OTP" || "PASSWORD" || "WEB_AUTHN" || "PASSWORD_SRP", // required
|
|
84
84
|
* ChallengeResponses: { // ChallengeResponsesType
|
|
85
85
|
* "<keys>": "STRING_VALUE",
|
|
86
86
|
* },
|
|
@@ -107,7 +107,7 @@ declare const AdminRespondToAuthChallengeCommand_base: {
|
|
|
107
107
|
* const command = new AdminRespondToAuthChallengeCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
109
|
* // { // AdminRespondToAuthChallengeResponse
|
|
110
|
-
* // ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED",
|
|
110
|
+
* // ChallengeName: "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "SELECT_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED" || "SMS_OTP" || "PASSWORD" || "WEB_AUTHN" || "PASSWORD_SRP",
|
|
111
111
|
* // Session: "STRING_VALUE",
|
|
112
112
|
* // ChallengeParameters: { // ChallengeParametersType
|
|
113
113
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -171,7 +171,7 @@ declare const AdminRespondToAuthChallengeCommand_base: {
|
|
|
171
171
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
172
172
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
173
173
|
* provided for SMS configuration. This can happen if you don't trust
|
|
174
|
-
*
|
|
174
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
175
175
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
176
176
|
*
|
|
177
177
|
* @throws {@link InvalidUserPoolConfigurationException} (client fault)
|
|
@@ -35,7 +35,7 @@ declare const AdminUpdateUserAttributesCommand_base: {
|
|
|
35
35
|
* Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must
|
|
36
36
|
* receive SMS messages might not be able to sign up, activate their accounts, or sign
|
|
37
37
|
* in.</p>
|
|
38
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web
|
|
38
|
+
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service,
|
|
39
39
|
* Amazon Simple Notification Service might place your account in the SMS sandbox. In <i>
|
|
40
40
|
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
41
41
|
* mode</a>
|
|
@@ -130,7 +130,7 @@ declare const AdminUpdateUserAttributesCommand_base: {
|
|
|
130
130
|
* @throws {@link InvalidSmsRoleTrustRelationshipException} (client fault)
|
|
131
131
|
* <p>This exception is thrown when the trust relationship is not valid for the role
|
|
132
132
|
* provided for SMS configuration. This can happen if you don't trust
|
|
133
|
-
*
|
|
133
|
+
* <code>cognito-idp.amazonaws.com</code> or the external ID provided in the role does
|
|
134
134
|
* not match what is provided in the SMS configuration for the user pool.</p>
|
|
135
135
|
*
|
|
136
136
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
@@ -42,7 +42,7 @@ declare const ChangePasswordCommand_base: {
|
|
|
42
42
|
* // const { CognitoIdentityProviderClient, ChangePasswordCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
43
43
|
* const client = new CognitoIdentityProviderClient(config);
|
|
44
44
|
* const input = { // ChangePasswordRequest
|
|
45
|
-
* PreviousPassword: "STRING_VALUE",
|
|
45
|
+
* PreviousPassword: "STRING_VALUE",
|
|
46
46
|
* ProposedPassword: "STRING_VALUE", // required
|
|
47
47
|
* AccessToken: "STRING_VALUE", // required
|
|
48
48
|
* };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import { CompleteWebAuthnRegistrationRequest, CompleteWebAuthnRegistrationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CompleteWebAuthnRegistrationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CompleteWebAuthnRegistrationCommandInput extends CompleteWebAuthnRegistrationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CompleteWebAuthnRegistrationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteWebAuthnRegistrationCommandOutput extends CompleteWebAuthnRegistrationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CompleteWebAuthnRegistrationCommand_base: {
|
|
25
|
+
new (input: CompleteWebAuthnRegistrationCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteWebAuthnRegistrationCommandInput, CompleteWebAuthnRegistrationCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CompleteWebAuthnRegistrationCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteWebAuthnRegistrationCommandInput, CompleteWebAuthnRegistrationCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Completes registration of a passkey authenticator for the current user. Your
|
|
31
|
+
* application provides data from a successful registration request with the data from the
|
|
32
|
+
* output of a <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_StartWebAuthnRegistration.html"> StartWebAuthnRegistration</a>.</p>
|
|
33
|
+
* <p>Authorize this action with a signed-in user's access token. It must include the scope <code>aws.cognito.signin.user.admin</code>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { CognitoIdentityProviderClient, CompleteWebAuthnRegistrationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
38
|
+
* // const { CognitoIdentityProviderClient, CompleteWebAuthnRegistrationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
39
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
40
|
+
* const input = { // CompleteWebAuthnRegistrationRequest
|
|
41
|
+
* AccessToken: "STRING_VALUE", // required
|
|
42
|
+
* Credential: "DOCUMENT_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CompleteWebAuthnRegistrationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param CompleteWebAuthnRegistrationCommandInput - {@link CompleteWebAuthnRegistrationCommandInput}
|
|
51
|
+
* @returns {@link CompleteWebAuthnRegistrationCommandOutput}
|
|
52
|
+
* @see {@link CompleteWebAuthnRegistrationCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link CompleteWebAuthnRegistrationCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
* <p>This exception is thrown when WAF doesn't allow your request based on a web
|
|
58
|
+
* ACL that's associated with your user pool.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
61
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
64
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
65
|
+
* parameter.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
68
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
69
|
+
* resource.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
75
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
76
|
+
* operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WebAuthnChallengeNotFoundException} (client fault)
|
|
79
|
+
* <p>This exception is thrown when the challenge from <code>StartWebAuthn</code>
|
|
80
|
+
* registration has expired.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link WebAuthnClientMismatchException} (client fault)
|
|
83
|
+
* <p>This exception is thrown when the access token is for a different client than the one
|
|
84
|
+
* in the original <code>StartWebAuthnRegistration</code> request.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link WebAuthnCredentialNotSupportedException} (client fault)
|
|
87
|
+
* <p>This exception is thrown when a user presents passkey credentials from an unsupported
|
|
88
|
+
* device or provider.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link WebAuthnNotEnabledException} (client fault)
|
|
91
|
+
* <p>This exception is thrown when the passkey feature isn't enabled for the user
|
|
92
|
+
* pool.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link WebAuthnOriginNotAllowedException} (client fault)
|
|
95
|
+
* <p>This exception is thrown when the passkey credential's registration origin does not
|
|
96
|
+
* align with the user pool relying party id.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link WebAuthnRelyingPartyMismatchException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when the given passkey credential is associated with a
|
|
100
|
+
* different relying party ID than the user pool relying party ID.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class CompleteWebAuthnRegistrationCommand extends CompleteWebAuthnRegistrationCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: CompleteWebAuthnRegistrationRequest;
|
|
112
|
+
output: {};
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: CompleteWebAuthnRegistrationCommandInput;
|
|
116
|
+
output: CompleteWebAuthnRegistrationCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|