@aws-sdk/client-cognito-identity-provider 3.1119.0 → 3.1121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +94 -13
  3. package/dist-es/CognitoIdentityProvider.js +6 -0
  4. package/dist-es/commands/AdminDeleteSoftwareTokenCommand.js +4 -0
  5. package/dist-es/commands/DescribeTermsByClientCommand.js +4 -0
  6. package/dist-es/commands/GetClientTokenCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/errors.js +12 -12
  9. package/dist-es/schemas/schemas_0.js +56 -0
  10. package/dist-types/CognitoIdentityProvider.d.ts +21 -0
  11. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
  12. package/dist-types/commands/AdminDeleteSoftwareTokenCommand.d.ts +122 -0
  13. package/dist-types/commands/DescribeTermsByClientCommand.d.ts +134 -0
  14. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +6 -0
  15. package/dist-types/commands/GetClientTokenCommand.d.ts +144 -0
  16. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
  17. package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
  18. package/dist-types/commands/SignUpCommand.d.ts +1 -1
  19. package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/models/errors.d.ts +12 -12
  22. package/dist-types/models/models_0.d.ts +147 -237
  23. package/dist-types/models/models_1.d.ts +233 -1
  24. package/dist-types/schemas/schemas_0.d.ts +10 -0
  25. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +51 -0
  26. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +18 -0
  27. package/dist-types/ts3.4/commands/AdminDeleteSoftwareTokenCommand.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/DescribeTermsByClientCommand.d.ts +39 -0
  29. package/dist-types/ts3.4/commands/GetClientTokenCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
  31. package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/SignUpCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  35. package/dist-types/ts3.4/models/errors.d.ts +5 -5
  36. package/dist-types/ts3.4/models/models_0.d.ts +27 -36
  37. package/dist-types/ts3.4/models/models_1.d.ts +43 -0
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  39. package/package.json +1 -1
@@ -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;
@@ -137,6 +139,7 @@ export declare var AuthEventType$: StaticStructureSchema;
137
139
  export declare var ChallengeResponseType$: StaticStructureSchema;
138
140
  export declare var ChangePasswordRequest$: StaticStructureSchema;
139
141
  export declare var ChangePasswordResponse$: StaticStructureSchema;
142
+ export declare var ClientAuthenticationResultType$: StaticStructureSchema;
140
143
  export declare var ClientSecretDescriptorType$: StaticStructureSchema;
141
144
  export declare var CloudWatchLogsConfigurationType$: StaticStructureSchema;
142
145
  export declare var CodeDeliveryDetailsType$: StaticStructureSchema;
@@ -202,6 +205,8 @@ export declare var DescribeResourceServerRequest$: StaticStructureSchema;
202
205
  export declare var DescribeResourceServerResponse$: StaticStructureSchema;
203
206
  export declare var DescribeRiskConfigurationRequest$: StaticStructureSchema;
204
207
  export declare var DescribeRiskConfigurationResponse$: StaticStructureSchema;
208
+ export declare var DescribeTermsByClientRequest$: StaticStructureSchema;
209
+ export declare var DescribeTermsByClientResponse$: StaticStructureSchema;
205
210
  export declare var DescribeTermsRequest$: StaticStructureSchema;
206
211
  export declare var DescribeTermsResponse$: StaticStructureSchema;
207
212
  export declare var DescribeUserImportJobRequest$: StaticStructureSchema;
@@ -228,6 +233,8 @@ export declare var FirehoseConfigurationType$: StaticStructureSchema;
228
233
  export declare var ForgetDeviceRequest$: StaticStructureSchema;
229
234
  export declare var ForgotPasswordRequest$: StaticStructureSchema;
230
235
  export declare var ForgotPasswordResponse$: StaticStructureSchema;
236
+ export declare var GetClientTokenRequest$: StaticStructureSchema;
237
+ export declare var GetClientTokenResponse$: StaticStructureSchema;
231
238
  export declare var GetCSVHeaderRequest$: StaticStructureSchema;
232
239
  export declare var GetCSVHeaderResponse$: StaticStructureSchema;
233
240
  export declare var GetDeviceRequest$: StaticStructureSchema;
@@ -409,6 +416,7 @@ export declare var AddUserPoolClientSecret$: StaticOperationSchema;
409
416
  export declare var AdminAddUserToGroup$: StaticOperationSchema;
410
417
  export declare var AdminConfirmSignUp$: StaticOperationSchema;
411
418
  export declare var AdminCreateUser$: StaticOperationSchema;
419
+ export declare var AdminDeleteSoftwareToken$: StaticOperationSchema;
412
420
  export declare var AdminDeleteUser$: StaticOperationSchema;
413
421
  export declare var AdminDeleteUserAttributes$: StaticOperationSchema;
414
422
  export declare var AdminDisableProviderForUser$: StaticOperationSchema;
@@ -468,12 +476,14 @@ export declare var DescribeManagedLoginBrandingByClient$: StaticOperationSchema;
468
476
  export declare var DescribeResourceServer$: StaticOperationSchema;
469
477
  export declare var DescribeRiskConfiguration$: StaticOperationSchema;
470
478
  export declare var DescribeTerms$: StaticOperationSchema;
479
+ export declare var DescribeTermsByClient$: StaticOperationSchema;
471
480
  export declare var DescribeUserImportJob$: StaticOperationSchema;
472
481
  export declare var DescribeUserPool$: StaticOperationSchema;
473
482
  export declare var DescribeUserPoolClient$: StaticOperationSchema;
474
483
  export declare var DescribeUserPoolDomain$: StaticOperationSchema;
475
484
  export declare var ForgetDevice$: StaticOperationSchema;
476
485
  export declare var ForgotPassword$: StaticOperationSchema;
486
+ export declare var GetClientToken$: StaticOperationSchema;
477
487
  export declare var GetCSVHeader$: StaticOperationSchema;
478
488
  export declare var GetDevice$: StaticOperationSchema;
479
489
  export declare var GetGroup$: 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,
@@ -241,6 +245,10 @@ import {
241
245
  DescribeRiskConfigurationCommandInput,
242
246
  DescribeRiskConfigurationCommandOutput,
243
247
  } from "./commands/DescribeRiskConfigurationCommand";
248
+ import {
249
+ DescribeTermsByClientCommandInput,
250
+ DescribeTermsByClientCommandOutput,
251
+ } from "./commands/DescribeTermsByClientCommand";
244
252
  import {
245
253
  DescribeTermsCommandInput,
246
254
  DescribeTermsCommandOutput,
@@ -269,6 +277,10 @@ import {
269
277
  ForgotPasswordCommandInput,
270
278
  ForgotPasswordCommandOutput,
271
279
  } from "./commands/ForgotPasswordCommand";
280
+ import {
281
+ GetClientTokenCommandInput,
282
+ GetClientTokenCommandOutput,
283
+ } from "./commands/GetClientTokenCommand";
272
284
  import {
273
285
  GetCSVHeaderCommandInput,
274
286
  GetCSVHeaderCommandOutput,
@@ -535,6 +547,19 @@ export interface CognitoIdentityProvider {
535
547
  options: __HttpHandlerOptions,
536
548
  cb: (err: any, data?: AdminCreateUserCommandOutput) => void,
537
549
  ): void;
550
+ adminDeleteSoftwareToken(
551
+ args: AdminDeleteSoftwareTokenCommandInput,
552
+ options?: __HttpHandlerOptions,
553
+ ): Promise<AdminDeleteSoftwareTokenCommandOutput>;
554
+ adminDeleteSoftwareToken(
555
+ args: AdminDeleteSoftwareTokenCommandInput,
556
+ cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void,
557
+ ): void;
558
+ adminDeleteSoftwareToken(
559
+ args: AdminDeleteSoftwareTokenCommandInput,
560
+ options: __HttpHandlerOptions,
561
+ cb: (err: any, data?: AdminDeleteSoftwareTokenCommandOutput) => void,
562
+ ): void;
538
563
  adminDeleteUser(
539
564
  args: AdminDeleteUserCommandInput,
540
565
  options?: __HttpHandlerOptions,
@@ -1303,6 +1328,19 @@ export interface CognitoIdentityProvider {
1303
1328
  options: __HttpHandlerOptions,
1304
1329
  cb: (err: any, data?: DescribeTermsCommandOutput) => void,
1305
1330
  ): void;
1331
+ describeTermsByClient(
1332
+ args: DescribeTermsByClientCommandInput,
1333
+ options?: __HttpHandlerOptions,
1334
+ ): Promise<DescribeTermsByClientCommandOutput>;
1335
+ describeTermsByClient(
1336
+ args: DescribeTermsByClientCommandInput,
1337
+ cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void,
1338
+ ): void;
1339
+ describeTermsByClient(
1340
+ args: DescribeTermsByClientCommandInput,
1341
+ options: __HttpHandlerOptions,
1342
+ cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void,
1343
+ ): void;
1306
1344
  describeUserImportJob(
1307
1345
  args: DescribeUserImportJobCommandInput,
1308
1346
  options?: __HttpHandlerOptions,
@@ -1381,6 +1419,19 @@ export interface CognitoIdentityProvider {
1381
1419
  options: __HttpHandlerOptions,
1382
1420
  cb: (err: any, data?: ForgotPasswordCommandOutput) => void,
1383
1421
  ): void;
1422
+ getClientToken(
1423
+ args: GetClientTokenCommandInput,
1424
+ options?: __HttpHandlerOptions,
1425
+ ): Promise<GetClientTokenCommandOutput>;
1426
+ getClientToken(
1427
+ args: GetClientTokenCommandInput,
1428
+ cb: (err: any, data?: GetClientTokenCommandOutput) => void,
1429
+ ): void;
1430
+ getClientToken(
1431
+ args: GetClientTokenCommandInput,
1432
+ options: __HttpHandlerOptions,
1433
+ cb: (err: any, data?: GetClientTokenCommandOutput) => void,
1434
+ ): void;
1384
1435
  getCSVHeader(
1385
1436
  args: GetCSVHeaderCommandInput,
1386
1437
  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,
@@ -270,6 +274,10 @@ import {
270
274
  DescribeRiskConfigurationCommandInput,
271
275
  DescribeRiskConfigurationCommandOutput,
272
276
  } from "./commands/DescribeRiskConfigurationCommand";
277
+ import {
278
+ DescribeTermsByClientCommandInput,
279
+ DescribeTermsByClientCommandOutput,
280
+ } from "./commands/DescribeTermsByClientCommand";
273
281
  import {
274
282
  DescribeTermsCommandInput,
275
283
  DescribeTermsCommandOutput,
@@ -298,6 +306,10 @@ import {
298
306
  ForgotPasswordCommandInput,
299
307
  ForgotPasswordCommandOutput,
300
308
  } from "./commands/ForgotPasswordCommand";
309
+ import {
310
+ GetClientTokenCommandInput,
311
+ GetClientTokenCommandOutput,
312
+ } from "./commands/GetClientTokenCommand";
301
313
  import {
302
314
  GetCSVHeaderCommandInput,
303
315
  GetCSVHeaderCommandOutput,
@@ -511,6 +523,7 @@ export type ServiceInputTypes =
511
523
  | AdminAddUserToGroupCommandInput
512
524
  | AdminConfirmSignUpCommandInput
513
525
  | AdminCreateUserCommandInput
526
+ | AdminDeleteSoftwareTokenCommandInput
514
527
  | AdminDeleteUserAttributesCommandInput
515
528
  | AdminDeleteUserCommandInput
516
529
  | AdminDisableProviderForUserCommandInput
@@ -569,6 +582,7 @@ export type ServiceInputTypes =
569
582
  | DescribeManagedLoginBrandingCommandInput
570
583
  | DescribeResourceServerCommandInput
571
584
  | DescribeRiskConfigurationCommandInput
585
+ | DescribeTermsByClientCommandInput
572
586
  | DescribeTermsCommandInput
573
587
  | DescribeUserImportJobCommandInput
574
588
  | DescribeUserPoolClientCommandInput
@@ -577,6 +591,7 @@ export type ServiceInputTypes =
577
591
  | ForgetDeviceCommandInput
578
592
  | ForgotPasswordCommandInput
579
593
  | GetCSVHeaderCommandInput
594
+ | GetClientTokenCommandInput
580
595
  | GetDeviceCommandInput
581
596
  | GetGroupCommandInput
582
597
  | GetIdentityProviderByIdentifierCommandInput
@@ -641,6 +656,7 @@ export type ServiceOutputTypes =
641
656
  | AdminAddUserToGroupCommandOutput
642
657
  | AdminConfirmSignUpCommandOutput
643
658
  | AdminCreateUserCommandOutput
659
+ | AdminDeleteSoftwareTokenCommandOutput
644
660
  | AdminDeleteUserAttributesCommandOutput
645
661
  | AdminDeleteUserCommandOutput
646
662
  | AdminDisableProviderForUserCommandOutput
@@ -699,6 +715,7 @@ export type ServiceOutputTypes =
699
715
  | DescribeManagedLoginBrandingCommandOutput
700
716
  | DescribeResourceServerCommandOutput
701
717
  | DescribeRiskConfigurationCommandOutput
718
+ | DescribeTermsByClientCommandOutput
702
719
  | DescribeTermsCommandOutput
703
720
  | DescribeUserImportJobCommandOutput
704
721
  | DescribeUserPoolClientCommandOutput
@@ -707,6 +724,7 @@ export type ServiceOutputTypes =
707
724
  | ForgetDeviceCommandOutput
708
725
  | ForgotPasswordCommandOutput
709
726
  | GetCSVHeaderCommandOutput
727
+ | GetClientTokenCommandOutput
710
728
  | GetDeviceCommandOutput
711
729
  | GetGroupCommandOutput
712
730
  | GetIdentityProviderByIdentifierCommandOutput
@@ -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
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { DescribeTermsByClientRequest, DescribeTermsByClientResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface DescribeTermsByClientCommandInput extends DescribeTermsByClientRequest {}
5
+ export interface DescribeTermsByClientCommandOutput
6
+ extends DescribeTermsByClientResponse, __MetadataBearer {}
7
+ declare const DescribeTermsByClientCommand_base: {
8
+ new (
9
+ input: DescribeTermsByClientCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ DescribeTermsByClientCommandInput,
12
+ DescribeTermsByClientCommandOutput,
13
+ import("..").CognitoIdentityProviderClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: DescribeTermsByClientCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ DescribeTermsByClientCommandInput,
21
+ DescribeTermsByClientCommandOutput,
22
+ import("..").CognitoIdentityProviderClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class DescribeTermsByClientCommand extends DescribeTermsByClientCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: DescribeTermsByClientRequest;
32
+ output: DescribeTermsByClientResponse;
33
+ };
34
+ sdk: {
35
+ input: DescribeTermsByClientCommandInput;
36
+ output: DescribeTermsByClientCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetClientTokenRequest, GetClientTokenResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetClientTokenCommandInput extends GetClientTokenRequest {}
5
+ export interface GetClientTokenCommandOutput extends GetClientTokenResponse, __MetadataBearer {}
6
+ declare const GetClientTokenCommand_base: {
7
+ new (
8
+ input: GetClientTokenCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetClientTokenCommandInput,
11
+ GetClientTokenCommandOutput,
12
+ import("..").CognitoIdentityProviderClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetClientTokenCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetClientTokenCommandInput,
20
+ GetClientTokenCommandOutput,
21
+ import("..").CognitoIdentityProviderClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetClientTokenCommand extends GetClientTokenCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetClientTokenRequest;
31
+ output: GetClientTokenResponse;
32
+ };
33
+ sdk: {
34
+ input: GetClientTokenCommandInput;
35
+ output: GetClientTokenCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SetUserPoolMfaConfigRequest, SetUserPoolMfaConfigResponse } from "../models/models_0";
2
+ import { SetUserPoolMfaConfigRequest } from "../models/models_0";
3
+ import { SetUserPoolMfaConfigResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface SetUserPoolMfaConfigCommandInput extends SetUserPoolMfaConfigRequest {}
5
6
  export interface SetUserPoolMfaConfigCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SetUserSettingsRequest, SetUserSettingsResponse } from "../models/models_0";
2
+ import { SetUserSettingsRequest, SetUserSettingsResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface SetUserSettingsCommandInput extends SetUserSettingsRequest {}
5
5
  export interface SetUserSettingsCommandOutput extends SetUserSettingsResponse, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SignUpRequest, SignUpResponse } from "../models/models_0";
2
+ import { SignUpRequest, SignUpResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface SignUpCommandInput extends SignUpRequest {}
5
5
  export interface SignUpCommandOutput extends SignUpResponse, __MetadataBearer {}
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_0";
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";
@@ -61,6 +62,7 @@ export * from "./DescribeManagedLoginBrandingByClientCommand";
61
62
  export * from "./DescribeManagedLoginBrandingCommand";
62
63
  export * from "./DescribeResourceServerCommand";
63
64
  export * from "./DescribeRiskConfigurationCommand";
65
+ export * from "./DescribeTermsByClientCommand";
64
66
  export * from "./DescribeTermsCommand";
65
67
  export * from "./DescribeUserImportJobCommand";
66
68
  export * from "./DescribeUserPoolClientCommand";
@@ -69,6 +71,7 @@ export * from "./DescribeUserPoolDomainCommand";
69
71
  export * from "./ForgetDeviceCommand";
70
72
  export * from "./ForgotPasswordCommand";
71
73
  export * from "./GetCSVHeaderCommand";
74
+ export * from "./GetClientTokenCommand";
72
75
  export * from "./GetDeviceCommand";
73
76
  export * from "./GetGroupCommand";
74
77
  export * from "./GetIdentityProviderByIdentifierCommand";
@@ -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;
@@ -1050,6 +1055,14 @@ export interface DescribeTermsRequest {
1050
1055
  export interface DescribeTermsResponse {
1051
1056
  Terms?: TermsType | undefined;
1052
1057
  }
1058
+ export interface DescribeTermsByClientRequest {
1059
+ ClientId: string | undefined;
1060
+ UserPoolId: string | undefined;
1061
+ TermsName: string | undefined;
1062
+ }
1063
+ export interface DescribeTermsByClientResponse {
1064
+ Terms?: TermsType | undefined;
1065
+ }
1053
1066
  export interface DescribeUserImportJobRequest {
1054
1067
  UserPoolId: string | undefined;
1055
1068
  JobId: string | undefined;
@@ -1108,6 +1121,20 @@ export interface CodeDeliveryDetailsType {
1108
1121
  export interface ForgotPasswordResponse {
1109
1122
  CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1110
1123
  }
1124
+ export interface GetClientTokenRequest {
1125
+ ClientId: string | undefined;
1126
+ Secret: string | undefined;
1127
+ Scopes?: string[] | undefined;
1128
+ ClientMetadata?: Record<string, string> | undefined;
1129
+ }
1130
+ export interface ClientAuthenticationResultType {
1131
+ AccessToken?: string | undefined;
1132
+ ExpiresIn?: number | undefined;
1133
+ TokenType?: string | undefined;
1134
+ }
1135
+ export interface GetClientTokenResponse {
1136
+ ClientAuthenticationResult?: ClientAuthenticationResultType | undefined;
1137
+ }
1111
1138
  export interface GetCSVHeaderRequest {
1112
1139
  UserPoolId: string | undefined;
1113
1140
  }
@@ -1515,39 +1542,3 @@ export interface SetUserPoolMfaConfigRequest {
1515
1542
  MfaConfiguration?: UserPoolMfaType | undefined;
1516
1543
  WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
1517
1544
  }
1518
- export interface SetUserPoolMfaConfigResponse {
1519
- SmsMfaConfiguration?: SmsMfaConfigType | undefined;
1520
- SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
1521
- EmailMfaConfiguration?: EmailMfaConfigType | undefined;
1522
- MfaConfiguration?: UserPoolMfaType | undefined;
1523
- WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
1524
- }
1525
- export interface SetUserSettingsRequest {
1526
- AccessToken: string | undefined;
1527
- MFAOptions: MFAOptionType[] | undefined;
1528
- }
1529
- export interface SetUserSettingsResponse {}
1530
- export interface SignUpRequest {
1531
- ClientId: string | undefined;
1532
- SecretHash?: string | undefined;
1533
- Username: string | undefined;
1534
- Password?: string | undefined;
1535
- UserAttributes?: AttributeType[] | undefined;
1536
- ValidationData?: AttributeType[] | undefined;
1537
- AnalyticsMetadata?: AnalyticsMetadataType | undefined;
1538
- UserContextData?: UserContextDataType | undefined;
1539
- ClientMetadata?: Record<string, string> | undefined;
1540
- }
1541
- export interface SignUpResponse {
1542
- UserConfirmed: boolean | undefined;
1543
- CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
1544
- UserSub: string | undefined;
1545
- Session?: string | undefined;
1546
- }
1547
- export interface StartUserImportJobRequest {
1548
- UserPoolId: string | undefined;
1549
- JobId: string | undefined;
1550
- }
1551
- export interface StartUserImportJobResponse {
1552
- UserImportJob?: UserImportJobType | undefined;
1553
- }
@@ -18,12 +18,14 @@ import {
18
18
  AccountRecoverySettingType,
19
19
  AdminCreateUserConfigType,
20
20
  AnalyticsConfigurationType,
21
+ AnalyticsMetadataType,
21
22
  AssetType,
22
23
  AttributeType,
23
24
  CodeDeliveryDetailsType,
24
25
  CustomDomainConfigType,
25
26
  DeviceConfigurationType,
26
27
  EmailConfigurationType,
28
+ EmailMfaConfigType,
27
29
  GroupType,
28
30
  IdentityProviderType,
29
31
  IssuerConfigurationType,
@@ -32,21 +34,62 @@ import {
32
34
  LimitDefinitionType,
33
35
  LimitType,
34
36
  ManagedLoginBrandingType,
37
+ MFAOptionType,
35
38
  RefreshTokenRotationType,
36
39
  ResourceServerScopeType,
37
40
  ResourceServerType,
38
41
  RoutingType,
39
42
  SmsConfigurationType,
43
+ SmsMfaConfigType,
44
+ SoftwareTokenMfaConfigType,
40
45
  TermsType,
41
46
  TokenValidityUnitsType,
42
47
  UserAttributeUpdateSettingsType,
48
+ UserContextDataType,
43
49
  UserImportJobType,
44
50
  UserPoolAddOnsType,
45
51
  UserPoolClientType,
46
52
  UserPoolPolicyType,
47
53
  UserPoolReplicaType,
48
54
  VerificationMessageTemplateType,
55
+ WebAuthnConfigurationType,
49
56
  } from "./models_0";
57
+ export interface SetUserPoolMfaConfigResponse {
58
+ SmsMfaConfiguration?: SmsMfaConfigType | undefined;
59
+ SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
60
+ EmailMfaConfiguration?: EmailMfaConfigType | undefined;
61
+ MfaConfiguration?: UserPoolMfaType | undefined;
62
+ WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
63
+ }
64
+ export interface SetUserSettingsRequest {
65
+ AccessToken: string | undefined;
66
+ MFAOptions: MFAOptionType[] | undefined;
67
+ }
68
+ export interface SetUserSettingsResponse {}
69
+ export interface SignUpRequest {
70
+ ClientId: string | undefined;
71
+ SecretHash?: string | undefined;
72
+ Username: string | undefined;
73
+ Password?: string | undefined;
74
+ UserAttributes?: AttributeType[] | undefined;
75
+ ValidationData?: AttributeType[] | undefined;
76
+ AnalyticsMetadata?: AnalyticsMetadataType | undefined;
77
+ UserContextData?: UserContextDataType | undefined;
78
+ ClientMetadata?: Record<string, string> | undefined;
79
+ }
80
+ export interface SignUpResponse {
81
+ UserConfirmed: boolean | undefined;
82
+ CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
83
+ UserSub: string | undefined;
84
+ Session?: string | undefined;
85
+ }
86
+ export interface StartUserImportJobRequest {
87
+ UserPoolId: string | undefined;
88
+ JobId: string | undefined;
89
+ }
90
+ export interface StartUserImportJobResponse {
91
+ UserImportJob?: UserImportJobType | undefined;
92
+ }
50
93
  export interface StartWebAuthnRegistrationRequest {
51
94
  AccessToken: string | undefined;
52
95
  }
@@ -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;
@@ -132,6 +134,7 @@ export declare var AuthEventType$: StaticStructureSchema;
132
134
  export declare var ChallengeResponseType$: StaticStructureSchema;
133
135
  export declare var ChangePasswordRequest$: StaticStructureSchema;
134
136
  export declare var ChangePasswordResponse$: StaticStructureSchema;
137
+ export declare var ClientAuthenticationResultType$: StaticStructureSchema;
135
138
  export declare var ClientSecretDescriptorType$: StaticStructureSchema;
136
139
  export declare var CloudWatchLogsConfigurationType$: StaticStructureSchema;
137
140
  export declare var CodeDeliveryDetailsType$: StaticStructureSchema;
@@ -197,6 +200,8 @@ export declare var DescribeResourceServerRequest$: StaticStructureSchema;
197
200
  export declare var DescribeResourceServerResponse$: StaticStructureSchema;
198
201
  export declare var DescribeRiskConfigurationRequest$: StaticStructureSchema;
199
202
  export declare var DescribeRiskConfigurationResponse$: StaticStructureSchema;
203
+ export declare var DescribeTermsByClientRequest$: StaticStructureSchema;
204
+ export declare var DescribeTermsByClientResponse$: StaticStructureSchema;
200
205
  export declare var DescribeTermsRequest$: StaticStructureSchema;
201
206
  export declare var DescribeTermsResponse$: StaticStructureSchema;
202
207
  export declare var DescribeUserImportJobRequest$: StaticStructureSchema;
@@ -223,6 +228,8 @@ export declare var FirehoseConfigurationType$: StaticStructureSchema;
223
228
  export declare var ForgetDeviceRequest$: StaticStructureSchema;
224
229
  export declare var ForgotPasswordRequest$: StaticStructureSchema;
225
230
  export declare var ForgotPasswordResponse$: StaticStructureSchema;
231
+ export declare var GetClientTokenRequest$: StaticStructureSchema;
232
+ export declare var GetClientTokenResponse$: StaticStructureSchema;
226
233
  export declare var GetCSVHeaderRequest$: StaticStructureSchema;
227
234
  export declare var GetCSVHeaderResponse$: StaticStructureSchema;
228
235
  export declare var GetDeviceRequest$: StaticStructureSchema;
@@ -404,6 +411,7 @@ export declare var AddUserPoolClientSecret$: StaticOperationSchema;
404
411
  export declare var AdminAddUserToGroup$: StaticOperationSchema;
405
412
  export declare var AdminConfirmSignUp$: StaticOperationSchema;
406
413
  export declare var AdminCreateUser$: StaticOperationSchema;
414
+ export declare var AdminDeleteSoftwareToken$: StaticOperationSchema;
407
415
  export declare var AdminDeleteUser$: StaticOperationSchema;
408
416
  export declare var AdminDeleteUserAttributes$: StaticOperationSchema;
409
417
  export declare var AdminDisableProviderForUser$: StaticOperationSchema;
@@ -463,12 +471,14 @@ export declare var DescribeManagedLoginBrandingByClient$: StaticOperationSchema;
463
471
  export declare var DescribeResourceServer$: StaticOperationSchema;
464
472
  export declare var DescribeRiskConfiguration$: StaticOperationSchema;
465
473
  export declare var DescribeTerms$: StaticOperationSchema;
474
+ export declare var DescribeTermsByClient$: StaticOperationSchema;
466
475
  export declare var DescribeUserImportJob$: StaticOperationSchema;
467
476
  export declare var DescribeUserPool$: StaticOperationSchema;
468
477
  export declare var DescribeUserPoolClient$: StaticOperationSchema;
469
478
  export declare var DescribeUserPoolDomain$: StaticOperationSchema;
470
479
  export declare var ForgetDevice$: StaticOperationSchema;
471
480
  export declare var ForgotPassword$: StaticOperationSchema;
481
+ export declare var GetClientToken$: StaticOperationSchema;
472
482
  export declare var GetCSVHeader$: StaticOperationSchema;
473
483
  export declare var GetDevice$: StaticOperationSchema;
474
484
  export declare var GetGroup$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
- "version": "3.1119.0",
3
+ "version": "3.1121.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",