@aws-sdk/client-cognito-identity-provider 3.1118.0 → 3.1120.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 +7 -0
- package/dist-cjs/index.js +37 -13
- package/dist-es/CognitoIdentityProvider.js +2 -0
- package/dist-es/commands/AdminDeleteSoftwareTokenCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/errors.js +12 -12
- package/dist-es/schemas/schemas_0.js +16 -0
- package/dist-types/CognitoIdentityProvider.d.ts +7 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +3 -2
- package/dist-types/commands/AdminDeleteSoftwareTokenCommand.d.ts +122 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +6 -0
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/errors.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +25 -34
- package/dist-types/models/models_1.d.ts +29 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +17 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/AdminDeleteSoftwareTokenCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -5
- package/dist-types/ts3.4/models/models_0.d.ts +5 -7
- package/dist-types/ts3.4/models/models_1.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -246,6 +246,13 @@ AdminCreateUser
|
|
|
246
246
|
</details>
|
|
247
247
|
<details>
|
|
248
248
|
<summary>
|
|
249
|
+
AdminDeleteSoftwareToken
|
|
250
|
+
</summary>
|
|
251
|
+
|
|
252
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/AdminDeleteSoftwareTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/AdminDeleteSoftwareTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/AdminDeleteSoftwareTokenCommandOutput/)
|
|
253
|
+
</details>
|
|
254
|
+
<details>
|
|
255
|
+
<summary>
|
|
249
256
|
AdminDeleteUser
|
|
250
257
|
</summary>
|
|
251
258
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -234,7 +234,7 @@ const commonParams = {
|
|
|
234
234
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var version = "3.
|
|
237
|
+
var version = "3.1119.0";
|
|
238
238
|
var packageInfo = {
|
|
239
239
|
version: version};
|
|
240
240
|
|
|
@@ -584,6 +584,18 @@ class UsernameExistsException extends CognitoIdentityProviderServiceException {
|
|
|
584
584
|
Object.setPrototypeOf(this, UsernameExistsException.prototype);
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
+
class UserNotConfirmedException extends CognitoIdentityProviderServiceException {
|
|
588
|
+
name = "UserNotConfirmedException";
|
|
589
|
+
$fault = "client";
|
|
590
|
+
constructor(opts) {
|
|
591
|
+
super({
|
|
592
|
+
name: "UserNotConfirmedException",
|
|
593
|
+
$fault: "client",
|
|
594
|
+
...opts,
|
|
595
|
+
});
|
|
596
|
+
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
587
599
|
class AliasExistsException extends CognitoIdentityProviderServiceException {
|
|
588
600
|
name = "AliasExistsException";
|
|
589
601
|
$fault = "client";
|
|
@@ -656,18 +668,6 @@ class UnsupportedOperationException extends CognitoIdentityProviderServiceExcept
|
|
|
656
668
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
657
669
|
}
|
|
658
670
|
}
|
|
659
|
-
class UserNotConfirmedException extends CognitoIdentityProviderServiceException {
|
|
660
|
-
name = "UserNotConfirmedException";
|
|
661
|
-
$fault = "client";
|
|
662
|
-
constructor(opts) {
|
|
663
|
-
super({
|
|
664
|
-
name: "UserNotConfirmedException",
|
|
665
|
-
$fault: "client",
|
|
666
|
-
...opts,
|
|
667
|
-
});
|
|
668
|
-
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
671
|
class UserPoolAddOnNotEnabledException extends CognitoIdentityProviderServiceException {
|
|
672
672
|
name = "UserPoolAddOnNotEnabledException";
|
|
673
673
|
$fault = "client";
|
|
@@ -1054,6 +1054,9 @@ const _ADE = "AccessDeniedException";
|
|
|
1054
1054
|
const _ADPFU = "AdminDisableProviderForUser";
|
|
1055
1055
|
const _ADPFUR = "AdminDisableProviderForUserRequest";
|
|
1056
1056
|
const _ADPFURd = "AdminDisableProviderForUserResponse";
|
|
1057
|
+
const _ADST = "AdminDeleteSoftwareToken";
|
|
1058
|
+
const _ADSTR = "AdminDeleteSoftwareTokenRequest";
|
|
1059
|
+
const _ADSTRd = "AdminDeleteSoftwareTokenResponse";
|
|
1057
1060
|
const _ADT = "AttributeDataType";
|
|
1058
1061
|
const _ADU = "AdminDeleteUser";
|
|
1059
1062
|
const _ADUA = "AdminDeleteUserAttributes";
|
|
@@ -2436,6 +2439,16 @@ var AdminCreateUserResponse$ = [3, n0, _ACURd,
|
|
|
2436
2439
|
[_Us],
|
|
2437
2440
|
[[() => UserType$, 0]]
|
|
2438
2441
|
];
|
|
2442
|
+
var AdminDeleteSoftwareTokenRequest$ = [3, n0, _ADSTR,
|
|
2443
|
+
0,
|
|
2444
|
+
[_UPI, _U],
|
|
2445
|
+
[0, [() => UsernameType, 0]], 2
|
|
2446
|
+
];
|
|
2447
|
+
var AdminDeleteSoftwareTokenResponse$ = [3, n0, _ADSTRd,
|
|
2448
|
+
0,
|
|
2449
|
+
[],
|
|
2450
|
+
[]
|
|
2451
|
+
];
|
|
2439
2452
|
var AdminDeleteUserAttributesRequest$ = [3, n0, _ADUAR,
|
|
2440
2453
|
0,
|
|
2441
2454
|
[_UPI, _U, _UAN],
|
|
@@ -4155,6 +4168,9 @@ var AdminConfirmSignUp$ = [9, n0, _ACSU,
|
|
|
4155
4168
|
var AdminCreateUser$ = [9, n0, _ACU,
|
|
4156
4169
|
0, () => AdminCreateUserRequest$, () => AdminCreateUserResponse$
|
|
4157
4170
|
];
|
|
4171
|
+
var AdminDeleteSoftwareToken$ = [9, n0, _ADST,
|
|
4172
|
+
0, () => AdminDeleteSoftwareTokenRequest$, () => AdminDeleteSoftwareTokenResponse$
|
|
4173
|
+
];
|
|
4158
4174
|
var AdminDeleteUser$ = [9, n0, _ADU,
|
|
4159
4175
|
0, () => AdminDeleteUserRequest$, () => __Unit
|
|
4160
4176
|
];
|
|
@@ -4699,6 +4715,9 @@ class AdminConfirmSignUpCommand extends command(_ep0, _mw0, "AdminConfirmSignUp"
|
|
|
4699
4715
|
class AdminCreateUserCommand extends command(_ep0, _mw0, "AdminCreateUser", AdminCreateUser$) {
|
|
4700
4716
|
}
|
|
4701
4717
|
|
|
4718
|
+
class AdminDeleteSoftwareTokenCommand extends command(_ep0, _mw0, "AdminDeleteSoftwareToken", AdminDeleteSoftwareToken$) {
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4702
4721
|
class AdminDeleteUserAttributesCommand extends command(_ep0, _mw0, "AdminDeleteUserAttributes", AdminDeleteUserAttributes$) {
|
|
4703
4722
|
}
|
|
4704
4723
|
|
|
@@ -5095,6 +5114,7 @@ const commands = {
|
|
|
5095
5114
|
AdminAddUserToGroupCommand,
|
|
5096
5115
|
AdminConfirmSignUpCommand,
|
|
5097
5116
|
AdminCreateUserCommand,
|
|
5117
|
+
AdminDeleteSoftwareTokenCommand,
|
|
5098
5118
|
AdminDeleteUserCommand,
|
|
5099
5119
|
AdminDeleteUserAttributesCommand,
|
|
5100
5120
|
AdminDisableProviderForUserCommand,
|
|
@@ -5588,6 +5608,10 @@ exports.AdminCreateUserCommand = AdminCreateUserCommand;
|
|
|
5588
5608
|
exports.AdminCreateUserConfigType$ = AdminCreateUserConfigType$;
|
|
5589
5609
|
exports.AdminCreateUserRequest$ = AdminCreateUserRequest$;
|
|
5590
5610
|
exports.AdminCreateUserResponse$ = AdminCreateUserResponse$;
|
|
5611
|
+
exports.AdminDeleteSoftwareToken$ = AdminDeleteSoftwareToken$;
|
|
5612
|
+
exports.AdminDeleteSoftwareTokenCommand = AdminDeleteSoftwareTokenCommand;
|
|
5613
|
+
exports.AdminDeleteSoftwareTokenRequest$ = AdminDeleteSoftwareTokenRequest$;
|
|
5614
|
+
exports.AdminDeleteSoftwareTokenResponse$ = AdminDeleteSoftwareTokenResponse$;
|
|
5591
5615
|
exports.AdminDeleteUser$ = AdminDeleteUser$;
|
|
5592
5616
|
exports.AdminDeleteUserAttributes$ = AdminDeleteUserAttributes$;
|
|
5593
5617
|
exports.AdminDeleteUserAttributesCommand = AdminDeleteUserAttributesCommand;
|
|
@@ -5,6 +5,7 @@ import { AddUserPoolClientSecretCommand, } from "./commands/AddUserPoolClientSec
|
|
|
5
5
|
import { AdminAddUserToGroupCommand, } from "./commands/AdminAddUserToGroupCommand";
|
|
6
6
|
import { AdminConfirmSignUpCommand, } from "./commands/AdminConfirmSignUpCommand";
|
|
7
7
|
import { AdminCreateUserCommand, } from "./commands/AdminCreateUserCommand";
|
|
8
|
+
import { AdminDeleteSoftwareTokenCommand, } from "./commands/AdminDeleteSoftwareTokenCommand";
|
|
8
9
|
import { AdminDeleteUserAttributesCommand, } from "./commands/AdminDeleteUserAttributesCommand";
|
|
9
10
|
import { AdminDeleteUserCommand, } from "./commands/AdminDeleteUserCommand";
|
|
10
11
|
import { AdminDisableProviderForUserCommand, } from "./commands/AdminDisableProviderForUserCommand";
|
|
@@ -144,6 +145,7 @@ const commands = {
|
|
|
144
145
|
AdminAddUserToGroupCommand,
|
|
145
146
|
AdminConfirmSignUpCommand,
|
|
146
147
|
AdminCreateUserCommand,
|
|
148
|
+
AdminDeleteSoftwareTokenCommand,
|
|
147
149
|
AdminDeleteUserCommand,
|
|
148
150
|
AdminDeleteUserAttributesCommand,
|
|
149
151
|
AdminDisableProviderForUserCommand,
|
|
@@ -3,6 +3,7 @@ export * from "./AddUserPoolClientSecretCommand";
|
|
|
3
3
|
export * from "./AdminAddUserToGroupCommand";
|
|
4
4
|
export * from "./AdminConfirmSignUpCommand";
|
|
5
5
|
export * from "./AdminCreateUserCommand";
|
|
6
|
+
export * from "./AdminDeleteSoftwareTokenCommand";
|
|
6
7
|
export * from "./AdminDeleteUserAttributesCommand";
|
|
7
8
|
export * from "./AdminDeleteUserCommand";
|
|
8
9
|
export * from "./AdminDisableProviderForUserCommand";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -265,6 +265,18 @@ export class UsernameExistsException extends __BaseException {
|
|
|
265
265
|
Object.setPrototypeOf(this, UsernameExistsException.prototype);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
+
export class UserNotConfirmedException extends __BaseException {
|
|
269
|
+
name = "UserNotConfirmedException";
|
|
270
|
+
$fault = "client";
|
|
271
|
+
constructor(opts) {
|
|
272
|
+
super({
|
|
273
|
+
name: "UserNotConfirmedException",
|
|
274
|
+
$fault: "client",
|
|
275
|
+
...opts,
|
|
276
|
+
});
|
|
277
|
+
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
268
280
|
export class AliasExistsException extends __BaseException {
|
|
269
281
|
name = "AliasExistsException";
|
|
270
282
|
$fault = "client";
|
|
@@ -337,18 +349,6 @@ export class UnsupportedOperationException extends __BaseException {
|
|
|
337
349
|
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
338
350
|
}
|
|
339
351
|
}
|
|
340
|
-
export class UserNotConfirmedException extends __BaseException {
|
|
341
|
-
name = "UserNotConfirmedException";
|
|
342
|
-
$fault = "client";
|
|
343
|
-
constructor(opts) {
|
|
344
|
-
super({
|
|
345
|
-
name: "UserNotConfirmedException",
|
|
346
|
-
$fault: "client",
|
|
347
|
-
...opts,
|
|
348
|
-
});
|
|
349
|
-
Object.setPrototypeOf(this, UserNotConfirmedException.prototype);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
352
|
export class UserPoolAddOnNotEnabledException extends __BaseException {
|
|
353
353
|
name = "UserPoolAddOnNotEnabledException";
|
|
354
354
|
$fault = "client";
|
|
@@ -23,6 +23,9 @@ const _ADE = "AccessDeniedException";
|
|
|
23
23
|
const _ADPFU = "AdminDisableProviderForUser";
|
|
24
24
|
const _ADPFUR = "AdminDisableProviderForUserRequest";
|
|
25
25
|
const _ADPFURd = "AdminDisableProviderForUserResponse";
|
|
26
|
+
const _ADST = "AdminDeleteSoftwareToken";
|
|
27
|
+
const _ADSTR = "AdminDeleteSoftwareTokenRequest";
|
|
28
|
+
const _ADSTRd = "AdminDeleteSoftwareTokenResponse";
|
|
26
29
|
const _ADT = "AttributeDataType";
|
|
27
30
|
const _ADU = "AdminDeleteUser";
|
|
28
31
|
const _ADUA = "AdminDeleteUserAttributes";
|
|
@@ -1408,6 +1411,16 @@ export var AdminCreateUserResponse$ = [3, n0, _ACURd,
|
|
|
1408
1411
|
[_Us],
|
|
1409
1412
|
[[() => UserType$, 0]]
|
|
1410
1413
|
];
|
|
1414
|
+
export var AdminDeleteSoftwareTokenRequest$ = [3, n0, _ADSTR,
|
|
1415
|
+
0,
|
|
1416
|
+
[_UPI, _U],
|
|
1417
|
+
[0, [() => UsernameType, 0]], 2
|
|
1418
|
+
];
|
|
1419
|
+
export var AdminDeleteSoftwareTokenResponse$ = [3, n0, _ADSTRd,
|
|
1420
|
+
0,
|
|
1421
|
+
[],
|
|
1422
|
+
[]
|
|
1423
|
+
];
|
|
1411
1424
|
export var AdminDeleteUserAttributesRequest$ = [3, n0, _ADUAR,
|
|
1412
1425
|
0,
|
|
1413
1426
|
[_UPI, _U, _UAN],
|
|
@@ -3160,6 +3173,9 @@ export var AdminConfirmSignUp$ = [9, n0, _ACSU,
|
|
|
3160
3173
|
export var AdminCreateUser$ = [9, n0, _ACU,
|
|
3161
3174
|
0, () => AdminCreateUserRequest$, () => AdminCreateUserResponse$
|
|
3162
3175
|
];
|
|
3176
|
+
export var AdminDeleteSoftwareToken$ = [9, n0, _ADST,
|
|
3177
|
+
0, () => AdminDeleteSoftwareTokenRequest$, () => AdminDeleteSoftwareTokenResponse$
|
|
3178
|
+
];
|
|
3163
3179
|
export var AdminDeleteUser$ = [9, n0, _ADU,
|
|
3164
3180
|
0, () => AdminDeleteUserRequest$, () => __Unit
|
|
3165
3181
|
];
|
|
@@ -5,6 +5,7 @@ import { type AddUserPoolClientSecretCommandInput, type AddUserPoolClientSecretC
|
|
|
5
5
|
import { type AdminAddUserToGroupCommandInput, type AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
|
|
6
6
|
import { type AdminConfirmSignUpCommandInput, type AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
|
|
7
7
|
import { type AdminCreateUserCommandInput, type AdminCreateUserCommandOutput } from "./commands/AdminCreateUserCommand";
|
|
8
|
+
import { type AdminDeleteSoftwareTokenCommandInput, type AdminDeleteSoftwareTokenCommandOutput } from "./commands/AdminDeleteSoftwareTokenCommand";
|
|
8
9
|
import { type AdminDeleteUserAttributesCommandInput, type AdminDeleteUserAttributesCommandOutput } from "./commands/AdminDeleteUserAttributesCommand";
|
|
9
10
|
import { type AdminDeleteUserCommandInput, type AdminDeleteUserCommandOutput } from "./commands/AdminDeleteUserCommand";
|
|
10
11
|
import { type AdminDisableProviderForUserCommandInput, type AdminDisableProviderForUserCommandOutput } from "./commands/AdminDisableProviderForUserCommand";
|
|
@@ -160,6 +161,12 @@ export interface CognitoIdentityProvider {
|
|
|
160
161
|
adminCreateUser(args: AdminCreateUserCommandInput, options?: __HttpHandlerOptions): Promise<AdminCreateUserCommandOutput>;
|
|
161
162
|
adminCreateUser(args: AdminCreateUserCommandInput, cb: (err: any, data?: AdminCreateUserCommandOutput) => void): void;
|
|
162
163
|
adminCreateUser(args: AdminCreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminCreateUserCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* @see {@link AdminDeleteSoftwareTokenCommand}
|
|
166
|
+
*/
|
|
167
|
+
adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, options?: __HttpHandlerOptions): Promise<AdminDeleteSoftwareTokenCommandOutput>;
|
|
168
|
+
adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void): void;
|
|
169
|
+
adminDeleteSoftwareToken(args: AdminDeleteSoftwareTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void): void;
|
|
163
170
|
/**
|
|
164
171
|
* @see {@link AdminDeleteUserCommand}
|
|
165
172
|
*/
|
|
@@ -11,6 +11,7 @@ import type { AddUserPoolClientSecretCommandInput, AddUserPoolClientSecretComman
|
|
|
11
11
|
import type { AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
|
|
12
12
|
import type { AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
|
|
13
13
|
import type { AdminCreateUserCommandInput, AdminCreateUserCommandOutput } from "./commands/AdminCreateUserCommand";
|
|
14
|
+
import type { AdminDeleteSoftwareTokenCommandInput, AdminDeleteSoftwareTokenCommandOutput } from "./commands/AdminDeleteSoftwareTokenCommand";
|
|
14
15
|
import type { AdminDeleteUserAttributesCommandInput, AdminDeleteUserAttributesCommandOutput } from "./commands/AdminDeleteUserAttributesCommand";
|
|
15
16
|
import type { AdminDeleteUserCommandInput, AdminDeleteUserCommandOutput } from "./commands/AdminDeleteUserCommand";
|
|
16
17
|
import type { AdminDisableProviderForUserCommandInput, AdminDisableProviderForUserCommandOutput } from "./commands/AdminDisableProviderForUserCommand";
|
|
@@ -141,11 +142,11 @@ export { __Client };
|
|
|
141
142
|
/**
|
|
142
143
|
* @public
|
|
143
144
|
*/
|
|
144
|
-
export type ServiceInputTypes = AddCustomAttributesCommandInput | AddUserPoolClientSecretCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserAuthFactorsCommandInput | 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 | CreateTermsCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | CreateUserPoolReplicaCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolClientSecretCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteUserPoolReplicaCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetProvisionedLimitCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientSecretsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolReplicasCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateProvisionedLimitCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | UpdateUserPoolReplicaCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
145
|
+
export type ServiceInputTypes = AddCustomAttributesCommandInput | AddUserPoolClientSecretCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteSoftwareTokenCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserAuthFactorsCommandInput | 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 | CreateTermsCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | CreateUserPoolReplicaCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolClientSecretCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteUserPoolReplicaCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetProvisionedLimitCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientSecretsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolReplicasCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateProvisionedLimitCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | UpdateUserPoolReplicaCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
145
146
|
/**
|
|
146
147
|
* @public
|
|
147
148
|
*/
|
|
148
|
-
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AddUserPoolClientSecretCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserAuthFactorsCommandOutput | 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 | CreateTermsCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | CreateUserPoolReplicaCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolClientSecretCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteUserPoolReplicaCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetProvisionedLimitCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientSecretsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolReplicasCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateProvisionedLimitCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | UpdateUserPoolReplicaCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
149
|
+
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AddUserPoolClientSecretCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteSoftwareTokenCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserAuthFactorsCommandOutput | 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 | CreateTermsCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | CreateUserPoolReplicaCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolClientSecretCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteUserPoolReplicaCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetProvisionedLimitCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientSecretsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolReplicasCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateProvisionedLimitCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | UpdateUserPoolReplicaCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
149
150
|
/**
|
|
150
151
|
* @public
|
|
151
152
|
*/
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { AdminDeleteSoftwareTokenRequest, AdminDeleteSoftwareTokenResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link AdminDeleteSoftwareTokenCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface AdminDeleteSoftwareTokenCommandInput extends AdminDeleteSoftwareTokenRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link AdminDeleteSoftwareTokenCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface AdminDeleteSoftwareTokenCommandOutput extends AdminDeleteSoftwareTokenResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const AdminDeleteSoftwareTokenCommand_base: {
|
|
22
|
+
new (input: AdminDeleteSoftwareTokenCommandInput): import("@smithy/core/client").CommandImpl<AdminDeleteSoftwareTokenCommandInput, AdminDeleteSoftwareTokenCommandOutput, import("..").CognitoIdentityProviderClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AdminDeleteSoftwareTokenCommandInput): import("@smithy/core/client").CommandImpl<AdminDeleteSoftwareTokenCommandInput, AdminDeleteSoftwareTokenCommandOutput, import("..").CognitoIdentityProviderClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a user's registered time-based one-time password (TOTP) multi-factor
|
|
28
|
+
* authentication (MFA) factor, also known as a software token. After this operation, the
|
|
29
|
+
* user can no longer sign in with TOTP MFA, and can register a new TOTP factor with
|
|
30
|
+
* <code>AssociateSoftwareToken</code>. Use this operation when a user loses access to
|
|
31
|
+
* their TOTP-generating device, for example, a lost or reset phone, and needs to register
|
|
32
|
+
* a new one.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
35
|
+
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
36
|
+
* grant yourself the corresponding IAM permission in a policy.</p>
|
|
37
|
+
* <p class="title">
|
|
38
|
+
* <b>Learn more</b>
|
|
39
|
+
* </p>
|
|
40
|
+
* <ul>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html">Signing Amazon Web Services API Requests</a>
|
|
44
|
+
* </p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
|
|
49
|
+
* </p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* </note>
|
|
53
|
+
* @example
|
|
54
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
+
* ```javascript
|
|
56
|
+
* import { CognitoIdentityProviderClient, AdminDeleteSoftwareTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
57
|
+
* // const { CognitoIdentityProviderClient, AdminDeleteSoftwareTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
58
|
+
* // import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
|
|
59
|
+
* const config = {}; // type is CognitoIdentityProviderClientConfig
|
|
60
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
61
|
+
* const input = { // AdminDeleteSoftwareTokenRequest
|
|
62
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
63
|
+
* Username: "STRING_VALUE", // required
|
|
64
|
+
* };
|
|
65
|
+
* const command = new AdminDeleteSoftwareTokenCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // {};
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param AdminDeleteSoftwareTokenCommandInput - {@link AdminDeleteSoftwareTokenCommandInput}
|
|
72
|
+
* @returns {@link AdminDeleteSoftwareTokenCommandOutput}
|
|
73
|
+
* @see {@link AdminDeleteSoftwareTokenCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link AdminDeleteSoftwareTokenCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
78
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
82
|
+
* parameter.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
85
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link OperationNotEnabledException} (client fault)
|
|
88
|
+
* <p>This exception is thrown when an operation is not available in the current region or for the current user pool configuration. This can occur when attempting to perform operations that are not supported in secondary replica regions.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
92
|
+
* resource.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
95
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
96
|
+
* operation.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link UserNotConfirmedException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when a user isn't confirmed successfully.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link UserNotFoundException} (client fault)
|
|
102
|
+
* <p>This exception is thrown when a user isn't found.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class AdminDeleteSoftwareTokenCommand extends AdminDeleteSoftwareTokenCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: AdminDeleteSoftwareTokenRequest;
|
|
115
|
+
output: {};
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: AdminDeleteSoftwareTokenCommandInput;
|
|
119
|
+
output: AdminDeleteSoftwareTokenCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -27,6 +27,12 @@ declare const DescribeUserPoolDomainCommand_base: {
|
|
|
27
27
|
* <p>Given a user pool domain name, returns information about the domain
|
|
28
28
|
* configuration.</p>
|
|
29
29
|
* <note>
|
|
30
|
+
* <p>This operation doesn't return results when you query a prefix domain in a
|
|
31
|
+
* secondary Region. Prefix domains are Region-specific and can only be described in
|
|
32
|
+
* the Region where they were created. To describe a prefix domain for a replica user
|
|
33
|
+
* pool, make the request to the primary Region's endpoint.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* <note>
|
|
30
36
|
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
31
37
|
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
32
38
|
* grant yourself the corresponding IAM permission in a policy.</p>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/
|
|
2
|
+
import type { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -3,6 +3,7 @@ export * from "./AddUserPoolClientSecretCommand";
|
|
|
3
3
|
export * from "./AdminAddUserToGroupCommand";
|
|
4
4
|
export * from "./AdminConfirmSignUpCommand";
|
|
5
5
|
export * from "./AdminCreateUserCommand";
|
|
6
|
+
export * from "./AdminDeleteSoftwareTokenCommand";
|
|
6
7
|
export * from "./AdminDeleteUserAttributesCommand";
|
|
7
8
|
export * from "./AdminDeleteUserCommand";
|
|
8
9
|
export * from "./AdminDisableProviderForUserCommand";
|
|
@@ -283,6 +283,18 @@ export declare class UsernameExistsException extends __BaseException {
|
|
|
283
283
|
*/
|
|
284
284
|
constructor(opts: __ExceptionOptionType<UsernameExistsException, __BaseException>);
|
|
285
285
|
}
|
|
286
|
+
/**
|
|
287
|
+
* <p>This exception is thrown when a user isn't confirmed successfully.</p>
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export declare class UserNotConfirmedException extends __BaseException {
|
|
291
|
+
readonly name: "UserNotConfirmedException";
|
|
292
|
+
readonly $fault: "client";
|
|
293
|
+
/**
|
|
294
|
+
* @internal
|
|
295
|
+
*/
|
|
296
|
+
constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
|
|
297
|
+
}
|
|
286
298
|
/**
|
|
287
299
|
* <p>This exception is thrown when a user tries to confirm the account with an email
|
|
288
300
|
* address or phone number that has already been supplied as an alias for a different user
|
|
@@ -362,18 +374,6 @@ export declare class UnsupportedOperationException extends __BaseException {
|
|
|
362
374
|
*/
|
|
363
375
|
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
364
376
|
}
|
|
365
|
-
/**
|
|
366
|
-
* <p>This exception is thrown when a user isn't confirmed successfully.</p>
|
|
367
|
-
* @public
|
|
368
|
-
*/
|
|
369
|
-
export declare class UserNotConfirmedException extends __BaseException {
|
|
370
|
-
readonly name: "UserNotConfirmedException";
|
|
371
|
-
readonly $fault: "client";
|
|
372
|
-
/**
|
|
373
|
-
* @internal
|
|
374
|
-
*/
|
|
375
|
-
constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
|
|
376
|
-
}
|
|
377
377
|
/**
|
|
378
378
|
* <p>This exception is thrown when user pool add-ons aren't enabled.</p>
|
|
379
379
|
* @public
|
|
@@ -862,6 +862,31 @@ export interface AdminCreateUserConfigType {
|
|
|
862
862
|
*/
|
|
863
863
|
InviteMessageTemplate?: MessageTemplateType | undefined;
|
|
864
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
export interface AdminDeleteSoftwareTokenRequest {
|
|
869
|
+
/**
|
|
870
|
+
* <p>The ID of the user pool where you want to delete the user's software
|
|
871
|
+
* token.</p>
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
874
|
+
UserPoolId: string | undefined;
|
|
875
|
+
/**
|
|
876
|
+
* <p>The name of the user that you want to query or modify. The value of this parameter
|
|
877
|
+
* is typically your user's username, but it can be any of their alias attributes. If
|
|
878
|
+
* <code>username</code> isn't an alias attribute in your user pool, this value
|
|
879
|
+
* must be the <code>sub</code> of a local user or the username of a user from a
|
|
880
|
+
* third-party IdP.</p>
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
883
|
+
Username: string | undefined;
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
export interface AdminDeleteSoftwareTokenResponse {
|
|
889
|
+
}
|
|
865
890
|
/**
|
|
866
891
|
* <p>Represents the request to delete a user as an administrator.</p>
|
|
867
892
|
* @public
|
|
@@ -1825,11 +1850,6 @@ export interface AdminLinkProviderForUserRequest {
|
|
|
1825
1850
|
* ignored.</p>
|
|
1826
1851
|
* <p>The <code>ProviderName</code> should be set to <code>Cognito</code> for users in
|
|
1827
1852
|
* Cognito user pools.</p>
|
|
1828
|
-
* <important>
|
|
1829
|
-
* <p>All attributes in the DestinationUser profile must be mutable. If you have
|
|
1830
|
-
* assigned the user any immutable custom attributes, the operation won't
|
|
1831
|
-
* succeed.</p>
|
|
1832
|
-
* </important>
|
|
1833
1853
|
* @public
|
|
1834
1854
|
*/
|
|
1835
1855
|
DestinationUser: ProviderUserIdentifierType | undefined;
|
|
@@ -11169,32 +11189,3 @@ export interface SignUpResponse {
|
|
|
11169
11189
|
*/
|
|
11170
11190
|
Session?: string | undefined;
|
|
11171
11191
|
}
|
|
11172
|
-
/**
|
|
11173
|
-
* <p>Represents the request to start the user import job.</p>
|
|
11174
|
-
* @public
|
|
11175
|
-
*/
|
|
11176
|
-
export interface StartUserImportJobRequest {
|
|
11177
|
-
/**
|
|
11178
|
-
* <p>The ID of the user pool that you want to start importing users into.</p>
|
|
11179
|
-
* @public
|
|
11180
|
-
*/
|
|
11181
|
-
UserPoolId: string | undefined;
|
|
11182
|
-
/**
|
|
11183
|
-
* <p>The ID of a user import job that you previously created.</p>
|
|
11184
|
-
* @public
|
|
11185
|
-
*/
|
|
11186
|
-
JobId: string | undefined;
|
|
11187
|
-
}
|
|
11188
|
-
/**
|
|
11189
|
-
* <p>Represents the response from the server to the request to start the user import
|
|
11190
|
-
* job.</p>
|
|
11191
|
-
* @public
|
|
11192
|
-
*/
|
|
11193
|
-
export interface StartUserImportJobResponse {
|
|
11194
|
-
/**
|
|
11195
|
-
* <p>The details of the user import job. Includes logging destination, status, and the Amazon S3
|
|
11196
|
-
* pre-signed URL for CSV upload.</p>
|
|
11197
|
-
* @public
|
|
11198
|
-
*/
|
|
11199
|
-
UserImportJob?: UserImportJobType | undefined;
|
|
11200
|
-
}
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
2
|
import type { DeletionProtectionType, DeviceRememberedStatusType, ExplicitAuthFlowsType, FeedbackValueType, OAuthFlowType, PreventUserExistenceErrorTypes, TermsEnforcementType, TermsSourceType, UpdateReplicaStatusType, UserPoolMfaType, UserPoolTierType, VerifiedAttributeType, VerifySoftwareTokenResponseType } from "./enums";
|
|
3
3
|
import type { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AssetType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, EmailConfigurationType, GroupType, IdentityProviderType, IssuerConfigurationType, KeyConfigurationType, LambdaConfigType, LimitDefinitionType, LimitType, ManagedLoginBrandingType, RefreshTokenRotationType, ResourceServerScopeType, ResourceServerType, RoutingType, SmsConfigurationType, TermsType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolPolicyType, UserPoolReplicaType, VerificationMessageTemplateType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Represents the request to start the user import job.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface StartUserImportJobRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the user pool that you want to start importing users into.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
UserPoolId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The ID of a user import job that you previously created.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
JobId: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>Represents the response from the server to the request to start the user import
|
|
22
|
+
* job.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export interface StartUserImportJobResponse {
|
|
26
|
+
/**
|
|
27
|
+
* <p>The details of the user import job. Includes logging destination, status, and the Amazon S3
|
|
28
|
+
* pre-signed URL for CSV upload.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
UserImportJob?: UserImportJobType | undefined;
|
|
32
|
+
}
|
|
4
33
|
/**
|
|
5
34
|
* @public
|
|
6
35
|
*/
|
|
@@ -80,6 +80,8 @@ export declare var AdminConfirmSignUpResponse$: StaticStructureSchema;
|
|
|
80
80
|
export declare var AdminCreateUserConfigType$: StaticStructureSchema;
|
|
81
81
|
export declare var AdminCreateUserRequest$: StaticStructureSchema;
|
|
82
82
|
export declare var AdminCreateUserResponse$: StaticStructureSchema;
|
|
83
|
+
export declare var AdminDeleteSoftwareTokenRequest$: StaticStructureSchema;
|
|
84
|
+
export declare var AdminDeleteSoftwareTokenResponse$: StaticStructureSchema;
|
|
83
85
|
export declare var AdminDeleteUserAttributesRequest$: StaticStructureSchema;
|
|
84
86
|
export declare var AdminDeleteUserAttributesResponse$: StaticStructureSchema;
|
|
85
87
|
export declare var AdminDeleteUserRequest$: StaticStructureSchema;
|
|
@@ -409,6 +411,7 @@ export declare var AddUserPoolClientSecret$: StaticOperationSchema;
|
|
|
409
411
|
export declare var AdminAddUserToGroup$: StaticOperationSchema;
|
|
410
412
|
export declare var AdminConfirmSignUp$: StaticOperationSchema;
|
|
411
413
|
export declare var AdminCreateUser$: StaticOperationSchema;
|
|
414
|
+
export declare var AdminDeleteSoftwareToken$: StaticOperationSchema;
|
|
412
415
|
export declare var AdminDeleteUser$: StaticOperationSchema;
|
|
413
416
|
export declare var AdminDeleteUserAttributes$: StaticOperationSchema;
|
|
414
417
|
export declare var AdminDisableProviderForUser$: StaticOperationSchema;
|
|
@@ -24,6 +24,10 @@ import {
|
|
|
24
24
|
AdminCreateUserCommandInput,
|
|
25
25
|
AdminCreateUserCommandOutput,
|
|
26
26
|
} from "./commands/AdminCreateUserCommand";
|
|
27
|
+
import {
|
|
28
|
+
AdminDeleteSoftwareTokenCommandInput,
|
|
29
|
+
AdminDeleteSoftwareTokenCommandOutput,
|
|
30
|
+
} from "./commands/AdminDeleteSoftwareTokenCommand";
|
|
27
31
|
import {
|
|
28
32
|
AdminDeleteUserAttributesCommandInput,
|
|
29
33
|
AdminDeleteUserAttributesCommandOutput,
|
|
@@ -535,6 +539,19 @@ export interface CognitoIdentityProvider {
|
|
|
535
539
|
options: __HttpHandlerOptions,
|
|
536
540
|
cb: (err: any, data?: AdminCreateUserCommandOutput) => void,
|
|
537
541
|
): void;
|
|
542
|
+
adminDeleteSoftwareToken(
|
|
543
|
+
args: AdminDeleteSoftwareTokenCommandInput,
|
|
544
|
+
options?: __HttpHandlerOptions,
|
|
545
|
+
): Promise<AdminDeleteSoftwareTokenCommandOutput>;
|
|
546
|
+
adminDeleteSoftwareToken(
|
|
547
|
+
args: AdminDeleteSoftwareTokenCommandInput,
|
|
548
|
+
cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void,
|
|
549
|
+
): void;
|
|
550
|
+
adminDeleteSoftwareToken(
|
|
551
|
+
args: AdminDeleteSoftwareTokenCommandInput,
|
|
552
|
+
options: __HttpHandlerOptions,
|
|
553
|
+
cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void,
|
|
554
|
+
): void;
|
|
538
555
|
adminDeleteUser(
|
|
539
556
|
args: AdminDeleteUserCommandInput,
|
|
540
557
|
options?: __HttpHandlerOptions,
|
|
@@ -53,6 +53,10 @@ import {
|
|
|
53
53
|
AdminCreateUserCommandInput,
|
|
54
54
|
AdminCreateUserCommandOutput,
|
|
55
55
|
} from "./commands/AdminCreateUserCommand";
|
|
56
|
+
import {
|
|
57
|
+
AdminDeleteSoftwareTokenCommandInput,
|
|
58
|
+
AdminDeleteSoftwareTokenCommandOutput,
|
|
59
|
+
} from "./commands/AdminDeleteSoftwareTokenCommand";
|
|
56
60
|
import {
|
|
57
61
|
AdminDeleteUserAttributesCommandInput,
|
|
58
62
|
AdminDeleteUserAttributesCommandOutput,
|
|
@@ -511,6 +515,7 @@ export type ServiceInputTypes =
|
|
|
511
515
|
| AdminAddUserToGroupCommandInput
|
|
512
516
|
| AdminConfirmSignUpCommandInput
|
|
513
517
|
| AdminCreateUserCommandInput
|
|
518
|
+
| AdminDeleteSoftwareTokenCommandInput
|
|
514
519
|
| AdminDeleteUserAttributesCommandInput
|
|
515
520
|
| AdminDeleteUserCommandInput
|
|
516
521
|
| AdminDisableProviderForUserCommandInput
|
|
@@ -641,6 +646,7 @@ export type ServiceOutputTypes =
|
|
|
641
646
|
| AdminAddUserToGroupCommandOutput
|
|
642
647
|
| AdminConfirmSignUpCommandOutput
|
|
643
648
|
| AdminCreateUserCommandOutput
|
|
649
|
+
| AdminDeleteSoftwareTokenCommandOutput
|
|
644
650
|
| AdminDeleteUserAttributesCommandOutput
|
|
645
651
|
| AdminDeleteUserCommandOutput
|
|
646
652
|
| AdminDisableProviderForUserCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
AdminDeleteSoftwareTokenRequest,
|
|
4
|
+
AdminDeleteSoftwareTokenResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface AdminDeleteSoftwareTokenCommandInput extends AdminDeleteSoftwareTokenRequest {}
|
|
8
|
+
export interface AdminDeleteSoftwareTokenCommandOutput
|
|
9
|
+
extends AdminDeleteSoftwareTokenResponse, __MetadataBearer {}
|
|
10
|
+
declare const AdminDeleteSoftwareTokenCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: AdminDeleteSoftwareTokenCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
AdminDeleteSoftwareTokenCommandInput,
|
|
15
|
+
AdminDeleteSoftwareTokenCommandOutput,
|
|
16
|
+
import("..").CognitoIdentityProviderClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: AdminDeleteSoftwareTokenCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
AdminDeleteSoftwareTokenCommandInput,
|
|
24
|
+
AdminDeleteSoftwareTokenCommandOutput,
|
|
25
|
+
import("..").CognitoIdentityProviderClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class AdminDeleteSoftwareTokenCommand extends AdminDeleteSoftwareTokenCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: AdminDeleteSoftwareTokenRequest;
|
|
35
|
+
output: {};
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: AdminDeleteSoftwareTokenCommandInput;
|
|
39
|
+
output: AdminDeleteSoftwareTokenCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/
|
|
2
|
+
import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StartUserImportJobCommandInput extends StartUserImportJobRequest {}
|
|
5
5
|
export interface StartUserImportJobCommandOutput
|
|
@@ -3,6 +3,7 @@ export * from "./AddUserPoolClientSecretCommand";
|
|
|
3
3
|
export * from "./AdminAddUserToGroupCommand";
|
|
4
4
|
export * from "./AdminConfirmSignUpCommand";
|
|
5
5
|
export * from "./AdminCreateUserCommand";
|
|
6
|
+
export * from "./AdminDeleteSoftwareTokenCommand";
|
|
6
7
|
export * from "./AdminDeleteUserAttributesCommand";
|
|
7
8
|
export * from "./AdminDeleteUserCommand";
|
|
8
9
|
export * from "./AdminDisableProviderForUserCommand";
|
|
@@ -113,6 +113,11 @@ export declare class UsernameExistsException extends __BaseException {
|
|
|
113
113
|
readonly $fault: "client";
|
|
114
114
|
constructor(opts: __ExceptionOptionType<UsernameExistsException, __BaseException>);
|
|
115
115
|
}
|
|
116
|
+
export declare class UserNotConfirmedException extends __BaseException {
|
|
117
|
+
readonly name: "UserNotConfirmedException";
|
|
118
|
+
readonly $fault: "client";
|
|
119
|
+
constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
|
|
120
|
+
}
|
|
116
121
|
export declare class AliasExistsException extends __BaseException {
|
|
117
122
|
readonly name: "AliasExistsException";
|
|
118
123
|
readonly $fault: "client";
|
|
@@ -143,11 +148,6 @@ export declare class UnsupportedOperationException extends __BaseException {
|
|
|
143
148
|
readonly $fault: "client";
|
|
144
149
|
constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
|
|
145
150
|
}
|
|
146
|
-
export declare class UserNotConfirmedException extends __BaseException {
|
|
147
|
-
readonly name: "UserNotConfirmedException";
|
|
148
|
-
readonly $fault: "client";
|
|
149
|
-
constructor(opts: __ExceptionOptionType<UserNotConfirmedException, __BaseException>);
|
|
150
|
-
}
|
|
151
151
|
export declare class UserPoolAddOnNotEnabledException extends __BaseException {
|
|
152
152
|
readonly name: "UserPoolAddOnNotEnabledException";
|
|
153
153
|
readonly $fault: "client";
|
|
@@ -179,6 +179,11 @@ export interface AdminCreateUserConfigType {
|
|
|
179
179
|
UnusedAccountValidityDays?: number | undefined;
|
|
180
180
|
InviteMessageTemplate?: MessageTemplateType | undefined;
|
|
181
181
|
}
|
|
182
|
+
export interface AdminDeleteSoftwareTokenRequest {
|
|
183
|
+
UserPoolId: string | undefined;
|
|
184
|
+
Username: string | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface AdminDeleteSoftwareTokenResponse {}
|
|
182
187
|
export interface AdminDeleteUserRequest {
|
|
183
188
|
UserPoolId: string | undefined;
|
|
184
189
|
Username: string | undefined;
|
|
@@ -1544,10 +1549,3 @@ export interface SignUpResponse {
|
|
|
1544
1549
|
UserSub: string | undefined;
|
|
1545
1550
|
Session?: string | undefined;
|
|
1546
1551
|
}
|
|
1547
|
-
export interface StartUserImportJobRequest {
|
|
1548
|
-
UserPoolId: string | undefined;
|
|
1549
|
-
JobId: string | undefined;
|
|
1550
|
-
}
|
|
1551
|
-
export interface StartUserImportJobResponse {
|
|
1552
|
-
UserImportJob?: UserImportJobType | undefined;
|
|
1553
|
-
}
|
|
@@ -47,6 +47,13 @@ import {
|
|
|
47
47
|
UserPoolReplicaType,
|
|
48
48
|
VerificationMessageTemplateType,
|
|
49
49
|
} from "./models_0";
|
|
50
|
+
export interface StartUserImportJobRequest {
|
|
51
|
+
UserPoolId: string | undefined;
|
|
52
|
+
JobId: string | undefined;
|
|
53
|
+
}
|
|
54
|
+
export interface StartUserImportJobResponse {
|
|
55
|
+
UserImportJob?: UserImportJobType | undefined;
|
|
56
|
+
}
|
|
50
57
|
export interface StartWebAuthnRegistrationRequest {
|
|
51
58
|
AccessToken: string | undefined;
|
|
52
59
|
}
|
|
@@ -75,6 +75,8 @@ export declare var AdminConfirmSignUpResponse$: StaticStructureSchema;
|
|
|
75
75
|
export declare var AdminCreateUserConfigType$: StaticStructureSchema;
|
|
76
76
|
export declare var AdminCreateUserRequest$: StaticStructureSchema;
|
|
77
77
|
export declare var AdminCreateUserResponse$: StaticStructureSchema;
|
|
78
|
+
export declare var AdminDeleteSoftwareTokenRequest$: StaticStructureSchema;
|
|
79
|
+
export declare var AdminDeleteSoftwareTokenResponse$: StaticStructureSchema;
|
|
78
80
|
export declare var AdminDeleteUserAttributesRequest$: StaticStructureSchema;
|
|
79
81
|
export declare var AdminDeleteUserAttributesResponse$: StaticStructureSchema;
|
|
80
82
|
export declare var AdminDeleteUserRequest$: StaticStructureSchema;
|
|
@@ -404,6 +406,7 @@ export declare var AddUserPoolClientSecret$: StaticOperationSchema;
|
|
|
404
406
|
export declare var AdminAddUserToGroup$: StaticOperationSchema;
|
|
405
407
|
export declare var AdminConfirmSignUp$: StaticOperationSchema;
|
|
406
408
|
export declare var AdminCreateUser$: StaticOperationSchema;
|
|
409
|
+
export declare var AdminDeleteSoftwareToken$: StaticOperationSchema;
|
|
407
410
|
export declare var AdminDeleteUser$: StaticOperationSchema;
|
|
408
411
|
export declare var AdminDeleteUserAttributes$: StaticOperationSchema;
|
|
409
412
|
export declare var AdminDisableProviderForUser$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1120.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider",
|
|
6
6
|
"license": "Apache-2.0",
|