@aws-sdk/client-cognito-identity-provider 3.864.0 → 3.872.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 (54) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -0
  3. package/dist-cjs/index.js +361 -58
  4. package/dist-es/CognitoIdentityProvider.js +10 -0
  5. package/dist-es/auth/httpAuthSchemeProvider.js +4 -0
  6. package/dist-es/commands/CreateTermsCommand.js +23 -0
  7. package/dist-es/commands/DeleteTermsCommand.js +22 -0
  8. package/dist-es/commands/DescribeTermsCommand.js +23 -0
  9. package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +2 -1
  10. package/dist-es/commands/GetUICustomizationCommand.js +1 -1
  11. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -1
  12. package/dist-es/commands/GetUserCommand.js +1 -1
  13. package/dist-es/commands/ListTermsCommand.js +22 -0
  14. package/dist-es/commands/UpdateTermsCommand.js +23 -0
  15. package/dist-es/commands/index.js +5 -0
  16. package/dist-es/models/models_0.js +34 -45
  17. package/dist-es/models/models_1.js +50 -1
  18. package/dist-es/protocols/Aws_json1_1.js +157 -2
  19. package/dist-types/CognitoIdentityProvider.d.ts +35 -0
  20. package/dist-types/CognitoIdentityProviderClient.d.ts +7 -2
  21. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +6 -2
  22. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateTermsCommand.d.ts +151 -0
  24. package/dist-types/commands/DeleteTermsCommand.d.ts +113 -0
  25. package/dist-types/commands/DescribeTermsCommand.d.ts +123 -0
  26. package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -3
  27. package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -1
  28. package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
  29. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  30. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTermsCommand.d.ts +121 -0
  32. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateTermsCommand.d.ts +147 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +485 -366
  37. package/dist-types/models/models_1.d.ts +600 -119
  38. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  39. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +85 -0
  40. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/CreateTermsCommand.d.ts +47 -0
  42. package/dist-types/ts3.4/commands/DeleteTermsCommand.d.ts +45 -0
  43. package/dist-types/ts3.4/commands/DescribeTermsCommand.d.ts +50 -0
  44. package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +47 -0
  49. package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +47 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +60 -65
  52. package/dist-types/ts3.4/models/models_1.d.ts +98 -1
  53. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  54. package/package.json +2 -2
@@ -37,6 +37,7 @@ import { CreateGroupCommandInput, CreateGroupCommandOutput } from "../commands/C
37
37
  import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "../commands/CreateIdentityProviderCommand";
38
38
  import { CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput } from "../commands/CreateManagedLoginBrandingCommand";
39
39
  import { CreateResourceServerCommandInput, CreateResourceServerCommandOutput } from "../commands/CreateResourceServerCommand";
40
+ import { CreateTermsCommandInput, CreateTermsCommandOutput } from "../commands/CreateTermsCommand";
40
41
  import { CreateUserImportJobCommandInput, CreateUserImportJobCommandOutput } from "../commands/CreateUserImportJobCommand";
41
42
  import { CreateUserPoolClientCommandInput, CreateUserPoolClientCommandOutput } from "../commands/CreateUserPoolClientCommand";
42
43
  import { CreateUserPoolCommandInput, CreateUserPoolCommandOutput } from "../commands/CreateUserPoolCommand";
@@ -45,6 +46,7 @@ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "../commands/D
45
46
  import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "../commands/DeleteIdentityProviderCommand";
46
47
  import { DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput } from "../commands/DeleteManagedLoginBrandingCommand";
47
48
  import { DeleteResourceServerCommandInput, DeleteResourceServerCommandOutput } from "../commands/DeleteResourceServerCommand";
49
+ import { DeleteTermsCommandInput, DeleteTermsCommandOutput } from "../commands/DeleteTermsCommand";
48
50
  import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "../commands/DeleteUserAttributesCommand";
49
51
  import { DeleteUserCommandInput, DeleteUserCommandOutput } from "../commands/DeleteUserCommand";
50
52
  import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "../commands/DeleteUserPoolClientCommand";
@@ -56,6 +58,7 @@ import { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginB
56
58
  import { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "../commands/DescribeManagedLoginBrandingCommand";
57
59
  import { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "../commands/DescribeResourceServerCommand";
58
60
  import { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "../commands/DescribeRiskConfigurationCommand";
61
+ import { DescribeTermsCommandInput, DescribeTermsCommandOutput } from "../commands/DescribeTermsCommand";
59
62
  import { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "../commands/DescribeUserImportJobCommand";
60
63
  import { DescribeUserPoolClientCommandInput, DescribeUserPoolClientCommandOutput } from "../commands/DescribeUserPoolClientCommand";
61
64
  import { DescribeUserPoolCommandInput, DescribeUserPoolCommandOutput } from "../commands/DescribeUserPoolCommand";
@@ -81,6 +84,7 @@ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "../commands/Lis
81
84
  import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "../commands/ListIdentityProvidersCommand";
82
85
  import { ListResourceServersCommandInput, ListResourceServersCommandOutput } from "../commands/ListResourceServersCommand";
83
86
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
87
+ import { ListTermsCommandInput, ListTermsCommandOutput } from "../commands/ListTermsCommand";
84
88
  import { ListUserImportJobsCommandInput, ListUserImportJobsCommandOutput } from "../commands/ListUserImportJobsCommand";
85
89
  import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } from "../commands/ListUserPoolClientsCommand";
86
90
  import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "../commands/ListUserPoolsCommand";
@@ -108,6 +112,7 @@ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "../commands/U
108
112
  import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "../commands/UpdateIdentityProviderCommand";
109
113
  import { UpdateManagedLoginBrandingCommandInput, UpdateManagedLoginBrandingCommandOutput } from "../commands/UpdateManagedLoginBrandingCommand";
110
114
  import { UpdateResourceServerCommandInput, UpdateResourceServerCommandOutput } from "../commands/UpdateResourceServerCommand";
115
+ import { UpdateTermsCommandInput, UpdateTermsCommandOutput } from "../commands/UpdateTermsCommand";
111
116
  import { UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput } from "../commands/UpdateUserAttributesCommand";
112
117
  import { UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput } from "../commands/UpdateUserPoolClientCommand";
113
118
  import { UpdateUserPoolCommandInput, UpdateUserPoolCommandOutput } from "../commands/UpdateUserPoolCommand";
@@ -262,6 +267,10 @@ export declare const se_CreateManagedLoginBrandingCommand: (input: CreateManaged
262
267
  * serializeAws_json1_1CreateResourceServerCommand
263
268
  */
264
269
  export declare const se_CreateResourceServerCommand: (input: CreateResourceServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
270
+ /**
271
+ * serializeAws_json1_1CreateTermsCommand
272
+ */
273
+ export declare const se_CreateTermsCommand: (input: CreateTermsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
265
274
  /**
266
275
  * serializeAws_json1_1CreateUserImportJobCommand
267
276
  */
@@ -294,6 +303,10 @@ export declare const se_DeleteManagedLoginBrandingCommand: (input: DeleteManaged
294
303
  * serializeAws_json1_1DeleteResourceServerCommand
295
304
  */
296
305
  export declare const se_DeleteResourceServerCommand: (input: DeleteResourceServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
306
+ /**
307
+ * serializeAws_json1_1DeleteTermsCommand
308
+ */
309
+ export declare const se_DeleteTermsCommand: (input: DeleteTermsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
297
310
  /**
298
311
  * serializeAws_json1_1DeleteUserCommand
299
312
  */
@@ -338,6 +351,10 @@ export declare const se_DescribeResourceServerCommand: (input: DescribeResourceS
338
351
  * serializeAws_json1_1DescribeRiskConfigurationCommand
339
352
  */
340
353
  export declare const se_DescribeRiskConfigurationCommand: (input: DescribeRiskConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
354
+ /**
355
+ * serializeAws_json1_1DescribeTermsCommand
356
+ */
357
+ export declare const se_DescribeTermsCommand: (input: DescribeTermsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
341
358
  /**
342
359
  * serializeAws_json1_1DescribeUserImportJobCommand
343
360
  */
@@ -438,6 +455,10 @@ export declare const se_ListResourceServersCommand: (input: ListResourceServersC
438
455
  * serializeAws_json1_1ListTagsForResourceCommand
439
456
  */
440
457
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
458
+ /**
459
+ * serializeAws_json1_1ListTermsCommand
460
+ */
461
+ export declare const se_ListTermsCommand: (input: ListTermsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
441
462
  /**
442
463
  * serializeAws_json1_1ListUserImportJobsCommand
443
464
  */
@@ -546,6 +567,10 @@ export declare const se_UpdateManagedLoginBrandingCommand: (input: UpdateManaged
546
567
  * serializeAws_json1_1UpdateResourceServerCommand
547
568
  */
548
569
  export declare const se_UpdateResourceServerCommand: (input: UpdateResourceServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
570
+ /**
571
+ * serializeAws_json1_1UpdateTermsCommand
572
+ */
573
+ export declare const se_UpdateTermsCommand: (input: UpdateTermsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
549
574
  /**
550
575
  * serializeAws_json1_1UpdateUserAttributesCommand
551
576
  */
@@ -718,6 +743,10 @@ export declare const de_CreateManagedLoginBrandingCommand: (output: __HttpRespon
718
743
  * deserializeAws_json1_1CreateResourceServerCommand
719
744
  */
720
745
  export declare const de_CreateResourceServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateResourceServerCommandOutput>;
746
+ /**
747
+ * deserializeAws_json1_1CreateTermsCommand
748
+ */
749
+ export declare const de_CreateTermsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTermsCommandOutput>;
721
750
  /**
722
751
  * deserializeAws_json1_1CreateUserImportJobCommand
723
752
  */
@@ -750,6 +779,10 @@ export declare const de_DeleteManagedLoginBrandingCommand: (output: __HttpRespon
750
779
  * deserializeAws_json1_1DeleteResourceServerCommand
751
780
  */
752
781
  export declare const de_DeleteResourceServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteResourceServerCommandOutput>;
782
+ /**
783
+ * deserializeAws_json1_1DeleteTermsCommand
784
+ */
785
+ export declare const de_DeleteTermsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTermsCommandOutput>;
753
786
  /**
754
787
  * deserializeAws_json1_1DeleteUserCommand
755
788
  */
@@ -794,6 +827,10 @@ export declare const de_DescribeResourceServerCommand: (output: __HttpResponse,
794
827
  * deserializeAws_json1_1DescribeRiskConfigurationCommand
795
828
  */
796
829
  export declare const de_DescribeRiskConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRiskConfigurationCommandOutput>;
830
+ /**
831
+ * deserializeAws_json1_1DescribeTermsCommand
832
+ */
833
+ export declare const de_DescribeTermsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTermsCommandOutput>;
797
834
  /**
798
835
  * deserializeAws_json1_1DescribeUserImportJobCommand
799
836
  */
@@ -894,6 +931,10 @@ export declare const de_ListResourceServersCommand: (output: __HttpResponse, con
894
931
  * deserializeAws_json1_1ListTagsForResourceCommand
895
932
  */
896
933
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
934
+ /**
935
+ * deserializeAws_json1_1ListTermsCommand
936
+ */
937
+ export declare const de_ListTermsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTermsCommandOutput>;
897
938
  /**
898
939
  * deserializeAws_json1_1ListUserImportJobsCommand
899
940
  */
@@ -1002,6 +1043,10 @@ export declare const de_UpdateManagedLoginBrandingCommand: (output: __HttpRespon
1002
1043
  * deserializeAws_json1_1UpdateResourceServerCommand
1003
1044
  */
1004
1045
  export declare const de_UpdateResourceServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateResourceServerCommandOutput>;
1046
+ /**
1047
+ * deserializeAws_json1_1UpdateTermsCommand
1048
+ */
1049
+ export declare const de_UpdateTermsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTermsCommandOutput>;
1005
1050
  /**
1006
1051
  * deserializeAws_json1_1UpdateUserAttributesCommand
1007
1052
  */
@@ -148,6 +148,10 @@ import {
148
148
  CreateResourceServerCommandInput,
149
149
  CreateResourceServerCommandOutput,
150
150
  } from "./commands/CreateResourceServerCommand";
151
+ import {
152
+ CreateTermsCommandInput,
153
+ CreateTermsCommandOutput,
154
+ } from "./commands/CreateTermsCommand";
151
155
  import {
152
156
  CreateUserImportJobCommandInput,
153
157
  CreateUserImportJobCommandOutput,
@@ -180,6 +184,10 @@ import {
180
184
  DeleteResourceServerCommandInput,
181
185
  DeleteResourceServerCommandOutput,
182
186
  } from "./commands/DeleteResourceServerCommand";
187
+ import {
188
+ DeleteTermsCommandInput,
189
+ DeleteTermsCommandOutput,
190
+ } from "./commands/DeleteTermsCommand";
183
191
  import {
184
192
  DeleteUserAttributesCommandInput,
185
193
  DeleteUserAttributesCommandOutput,
@@ -224,6 +232,10 @@ import {
224
232
  DescribeRiskConfigurationCommandInput,
225
233
  DescribeRiskConfigurationCommandOutput,
226
234
  } from "./commands/DescribeRiskConfigurationCommand";
235
+ import {
236
+ DescribeTermsCommandInput,
237
+ DescribeTermsCommandOutput,
238
+ } from "./commands/DescribeTermsCommand";
227
239
  import {
228
240
  DescribeUserImportJobCommandInput,
229
241
  DescribeUserImportJobCommandOutput,
@@ -324,6 +336,10 @@ import {
324
336
  ListTagsForResourceCommandInput,
325
337
  ListTagsForResourceCommandOutput,
326
338
  } from "./commands/ListTagsForResourceCommand";
339
+ import {
340
+ ListTermsCommandInput,
341
+ ListTermsCommandOutput,
342
+ } from "./commands/ListTermsCommand";
327
343
  import {
328
344
  ListUserImportJobsCommandInput,
329
345
  ListUserImportJobsCommandOutput,
@@ -432,6 +448,10 @@ import {
432
448
  UpdateResourceServerCommandInput,
433
449
  UpdateResourceServerCommandOutput,
434
450
  } from "./commands/UpdateResourceServerCommand";
451
+ import {
452
+ UpdateTermsCommandInput,
453
+ UpdateTermsCommandOutput,
454
+ } from "./commands/UpdateTermsCommand";
435
455
  import {
436
456
  UpdateUserAttributesCommandInput,
437
457
  UpdateUserAttributesCommandOutput,
@@ -939,6 +959,19 @@ export interface CognitoIdentityProvider {
939
959
  options: __HttpHandlerOptions,
940
960
  cb: (err: any, data?: CreateResourceServerCommandOutput) => void
941
961
  ): void;
962
+ createTerms(
963
+ args: CreateTermsCommandInput,
964
+ options?: __HttpHandlerOptions
965
+ ): Promise<CreateTermsCommandOutput>;
966
+ createTerms(
967
+ args: CreateTermsCommandInput,
968
+ cb: (err: any, data?: CreateTermsCommandOutput) => void
969
+ ): void;
970
+ createTerms(
971
+ args: CreateTermsCommandInput,
972
+ options: __HttpHandlerOptions,
973
+ cb: (err: any, data?: CreateTermsCommandOutput) => void
974
+ ): void;
942
975
  createUserImportJob(
943
976
  args: CreateUserImportJobCommandInput,
944
977
  options?: __HttpHandlerOptions
@@ -1043,6 +1076,19 @@ export interface CognitoIdentityProvider {
1043
1076
  options: __HttpHandlerOptions,
1044
1077
  cb: (err: any, data?: DeleteResourceServerCommandOutput) => void
1045
1078
  ): void;
1079
+ deleteTerms(
1080
+ args: DeleteTermsCommandInput,
1081
+ options?: __HttpHandlerOptions
1082
+ ): Promise<DeleteTermsCommandOutput>;
1083
+ deleteTerms(
1084
+ args: DeleteTermsCommandInput,
1085
+ cb: (err: any, data?: DeleteTermsCommandOutput) => void
1086
+ ): void;
1087
+ deleteTerms(
1088
+ args: DeleteTermsCommandInput,
1089
+ options: __HttpHandlerOptions,
1090
+ cb: (err: any, data?: DeleteTermsCommandOutput) => void
1091
+ ): void;
1046
1092
  deleteUser(
1047
1093
  args: DeleteUserCommandInput,
1048
1094
  options?: __HttpHandlerOptions
@@ -1192,6 +1238,19 @@ export interface CognitoIdentityProvider {
1192
1238
  options: __HttpHandlerOptions,
1193
1239
  cb: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void
1194
1240
  ): void;
1241
+ describeTerms(
1242
+ args: DescribeTermsCommandInput,
1243
+ options?: __HttpHandlerOptions
1244
+ ): Promise<DescribeTermsCommandOutput>;
1245
+ describeTerms(
1246
+ args: DescribeTermsCommandInput,
1247
+ cb: (err: any, data?: DescribeTermsCommandOutput) => void
1248
+ ): void;
1249
+ describeTerms(
1250
+ args: DescribeTermsCommandInput,
1251
+ options: __HttpHandlerOptions,
1252
+ cb: (err: any, data?: DescribeTermsCommandOutput) => void
1253
+ ): void;
1195
1254
  describeUserImportJob(
1196
1255
  args: DescribeUserImportJobCommandInput,
1197
1256
  options?: __HttpHandlerOptions
@@ -1517,6 +1576,19 @@ export interface CognitoIdentityProvider {
1517
1576
  options: __HttpHandlerOptions,
1518
1577
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1519
1578
  ): void;
1579
+ listTerms(
1580
+ args: ListTermsCommandInput,
1581
+ options?: __HttpHandlerOptions
1582
+ ): Promise<ListTermsCommandOutput>;
1583
+ listTerms(
1584
+ args: ListTermsCommandInput,
1585
+ cb: (err: any, data?: ListTermsCommandOutput) => void
1586
+ ): void;
1587
+ listTerms(
1588
+ args: ListTermsCommandInput,
1589
+ options: __HttpHandlerOptions,
1590
+ cb: (err: any, data?: ListTermsCommandOutput) => void
1591
+ ): void;
1520
1592
  listUserImportJobs(
1521
1593
  args: ListUserImportJobsCommandInput,
1522
1594
  options?: __HttpHandlerOptions
@@ -1869,6 +1941,19 @@ export interface CognitoIdentityProvider {
1869
1941
  options: __HttpHandlerOptions,
1870
1942
  cb: (err: any, data?: UpdateResourceServerCommandOutput) => void
1871
1943
  ): void;
1944
+ updateTerms(
1945
+ args: UpdateTermsCommandInput,
1946
+ options?: __HttpHandlerOptions
1947
+ ): Promise<UpdateTermsCommandOutput>;
1948
+ updateTerms(
1949
+ args: UpdateTermsCommandInput,
1950
+ cb: (err: any, data?: UpdateTermsCommandOutput) => void
1951
+ ): void;
1952
+ updateTerms(
1953
+ args: UpdateTermsCommandInput,
1954
+ options: __HttpHandlerOptions,
1955
+ cb: (err: any, data?: UpdateTermsCommandOutput) => void
1956
+ ): void;
1872
1957
  updateUserAttributes(
1873
1958
  args: UpdateUserAttributesCommandInput,
1874
1959
  options?: __HttpHandlerOptions
@@ -193,6 +193,10 @@ import {
193
193
  CreateResourceServerCommandInput,
194
194
  CreateResourceServerCommandOutput,
195
195
  } from "./commands/CreateResourceServerCommand";
196
+ import {
197
+ CreateTermsCommandInput,
198
+ CreateTermsCommandOutput,
199
+ } from "./commands/CreateTermsCommand";
196
200
  import {
197
201
  CreateUserImportJobCommandInput,
198
202
  CreateUserImportJobCommandOutput,
@@ -225,6 +229,10 @@ import {
225
229
  DeleteResourceServerCommandInput,
226
230
  DeleteResourceServerCommandOutput,
227
231
  } from "./commands/DeleteResourceServerCommand";
232
+ import {
233
+ DeleteTermsCommandInput,
234
+ DeleteTermsCommandOutput,
235
+ } from "./commands/DeleteTermsCommand";
228
236
  import {
229
237
  DeleteUserAttributesCommandInput,
230
238
  DeleteUserAttributesCommandOutput,
@@ -269,6 +277,10 @@ import {
269
277
  DescribeRiskConfigurationCommandInput,
270
278
  DescribeRiskConfigurationCommandOutput,
271
279
  } from "./commands/DescribeRiskConfigurationCommand";
280
+ import {
281
+ DescribeTermsCommandInput,
282
+ DescribeTermsCommandOutput,
283
+ } from "./commands/DescribeTermsCommand";
272
284
  import {
273
285
  DescribeUserImportJobCommandInput,
274
286
  DescribeUserImportJobCommandOutput,
@@ -369,6 +381,10 @@ import {
369
381
  ListTagsForResourceCommandInput,
370
382
  ListTagsForResourceCommandOutput,
371
383
  } from "./commands/ListTagsForResourceCommand";
384
+ import {
385
+ ListTermsCommandInput,
386
+ ListTermsCommandOutput,
387
+ } from "./commands/ListTermsCommand";
372
388
  import {
373
389
  ListUserImportJobsCommandInput,
374
390
  ListUserImportJobsCommandOutput,
@@ -477,6 +493,10 @@ import {
477
493
  UpdateResourceServerCommandInput,
478
494
  UpdateResourceServerCommandOutput,
479
495
  } from "./commands/UpdateResourceServerCommand";
496
+ import {
497
+ UpdateTermsCommandInput,
498
+ UpdateTermsCommandOutput,
499
+ } from "./commands/UpdateTermsCommand";
480
500
  import {
481
501
  UpdateUserAttributesCommandInput,
482
502
  UpdateUserAttributesCommandOutput,
@@ -546,6 +566,7 @@ export type ServiceInputTypes =
546
566
  | CreateIdentityProviderCommandInput
547
567
  | CreateManagedLoginBrandingCommandInput
548
568
  | CreateResourceServerCommandInput
569
+ | CreateTermsCommandInput
549
570
  | CreateUserImportJobCommandInput
550
571
  | CreateUserPoolClientCommandInput
551
572
  | CreateUserPoolCommandInput
@@ -554,6 +575,7 @@ export type ServiceInputTypes =
554
575
  | DeleteIdentityProviderCommandInput
555
576
  | DeleteManagedLoginBrandingCommandInput
556
577
  | DeleteResourceServerCommandInput
578
+ | DeleteTermsCommandInput
557
579
  | DeleteUserAttributesCommandInput
558
580
  | DeleteUserCommandInput
559
581
  | DeleteUserPoolClientCommandInput
@@ -565,6 +587,7 @@ export type ServiceInputTypes =
565
587
  | DescribeManagedLoginBrandingCommandInput
566
588
  | DescribeResourceServerCommandInput
567
589
  | DescribeRiskConfigurationCommandInput
590
+ | DescribeTermsCommandInput
568
591
  | DescribeUserImportJobCommandInput
569
592
  | DescribeUserPoolClientCommandInput
570
593
  | DescribeUserPoolCommandInput
@@ -590,6 +613,7 @@ export type ServiceInputTypes =
590
613
  | ListIdentityProvidersCommandInput
591
614
  | ListResourceServersCommandInput
592
615
  | ListTagsForResourceCommandInput
616
+ | ListTermsCommandInput
593
617
  | ListUserImportJobsCommandInput
594
618
  | ListUserPoolClientsCommandInput
595
619
  | ListUserPoolsCommandInput
@@ -617,6 +641,7 @@ export type ServiceInputTypes =
617
641
  | UpdateIdentityProviderCommandInput
618
642
  | UpdateManagedLoginBrandingCommandInput
619
643
  | UpdateResourceServerCommandInput
644
+ | UpdateTermsCommandInput
620
645
  | UpdateUserAttributesCommandInput
621
646
  | UpdateUserPoolClientCommandInput
622
647
  | UpdateUserPoolCommandInput
@@ -661,6 +686,7 @@ export type ServiceOutputTypes =
661
686
  | CreateIdentityProviderCommandOutput
662
687
  | CreateManagedLoginBrandingCommandOutput
663
688
  | CreateResourceServerCommandOutput
689
+ | CreateTermsCommandOutput
664
690
  | CreateUserImportJobCommandOutput
665
691
  | CreateUserPoolClientCommandOutput
666
692
  | CreateUserPoolCommandOutput
@@ -669,6 +695,7 @@ export type ServiceOutputTypes =
669
695
  | DeleteIdentityProviderCommandOutput
670
696
  | DeleteManagedLoginBrandingCommandOutput
671
697
  | DeleteResourceServerCommandOutput
698
+ | DeleteTermsCommandOutput
672
699
  | DeleteUserAttributesCommandOutput
673
700
  | DeleteUserCommandOutput
674
701
  | DeleteUserPoolClientCommandOutput
@@ -680,6 +707,7 @@ export type ServiceOutputTypes =
680
707
  | DescribeManagedLoginBrandingCommandOutput
681
708
  | DescribeResourceServerCommandOutput
682
709
  | DescribeRiskConfigurationCommandOutput
710
+ | DescribeTermsCommandOutput
683
711
  | DescribeUserImportJobCommandOutput
684
712
  | DescribeUserPoolClientCommandOutput
685
713
  | DescribeUserPoolCommandOutput
@@ -705,6 +733,7 @@ export type ServiceOutputTypes =
705
733
  | ListIdentityProvidersCommandOutput
706
734
  | ListResourceServersCommandOutput
707
735
  | ListTagsForResourceCommandOutput
736
+ | ListTermsCommandOutput
708
737
  | ListUserImportJobsCommandOutput
709
738
  | ListUserPoolClientsCommandOutput
710
739
  | ListUserPoolsCommandOutput
@@ -732,6 +761,7 @@ export type ServiceOutputTypes =
732
761
  | UpdateIdentityProviderCommandOutput
733
762
  | UpdateManagedLoginBrandingCommandOutput
734
763
  | UpdateResourceServerCommandOutput
764
+ | UpdateTermsCommandOutput
735
765
  | UpdateUserAttributesCommandOutput
736
766
  | UpdateUserPoolClientCommandOutput
737
767
  | UpdateUserPoolCommandOutput
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import { CreateTermsRequest, CreateTermsResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CreateTermsCommandInput extends CreateTermsRequest {}
12
+ export interface CreateTermsCommandOutput
13
+ extends CreateTermsResponse,
14
+ __MetadataBearer {}
15
+ declare const CreateTermsCommand_base: {
16
+ new (
17
+ input: CreateTermsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ CreateTermsCommandInput,
20
+ CreateTermsCommandOutput,
21
+ CognitoIdentityProviderClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: CreateTermsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ CreateTermsCommandInput,
29
+ CreateTermsCommandOutput,
30
+ CognitoIdentityProviderClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class CreateTermsCommand extends CreateTermsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateTermsRequest;
40
+ output: CreateTermsResponse;
41
+ };
42
+ sdk: {
43
+ input: CreateTermsCommandInput;
44
+ output: CreateTermsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,45 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import { DeleteTermsRequest } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteTermsCommandInput extends DeleteTermsRequest {}
12
+ export interface DeleteTermsCommandOutput extends __MetadataBearer {}
13
+ declare const DeleteTermsCommand_base: {
14
+ new (
15
+ input: DeleteTermsCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
17
+ DeleteTermsCommandInput,
18
+ DeleteTermsCommandOutput,
19
+ CognitoIdentityProviderClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
22
+ >;
23
+ new (
24
+ input: DeleteTermsCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ DeleteTermsCommandInput,
27
+ DeleteTermsCommandOutput,
28
+ CognitoIdentityProviderClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class DeleteTermsCommand extends DeleteTermsCommand_base {
35
+ protected static __types: {
36
+ api: {
37
+ input: DeleteTermsRequest;
38
+ output: {};
39
+ };
40
+ sdk: {
41
+ input: DeleteTermsCommandInput;
42
+ output: DeleteTermsCommandOutput;
43
+ };
44
+ };
45
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import {
9
+ DescribeTermsRequest,
10
+ DescribeTermsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeTermsCommandInput extends DescribeTermsRequest {}
15
+ export interface DescribeTermsCommandOutput
16
+ extends DescribeTermsResponse,
17
+ __MetadataBearer {}
18
+ declare const DescribeTermsCommand_base: {
19
+ new (
20
+ input: DescribeTermsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DescribeTermsCommandInput,
23
+ DescribeTermsCommandOutput,
24
+ CognitoIdentityProviderClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: DescribeTermsCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeTermsCommandInput,
32
+ DescribeTermsCommandOutput,
33
+ CognitoIdentityProviderClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DescribeTermsCommand extends DescribeTermsCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: DescribeTermsRequest;
43
+ output: DescribeTermsResponse;
44
+ };
45
+ sdk: {
46
+ input: DescribeTermsCommandInput;
47
+ output: DescribeTermsCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../CognitoIdentityProviderClient";
8
- import {
9
- GetTokensFromRefreshTokenRequest,
10
- GetTokensFromRefreshTokenResponse,
11
- } from "../models/models_0";
8
+ import { GetTokensFromRefreshTokenRequest } from "../models/models_0";
9
+ import { GetTokensFromRefreshTokenResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetTokensFromRefreshTokenCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetUICustomizationRequest,
10
10
  GetUICustomizationResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetUICustomizationCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetUserAttributeVerificationCodeRequest,
10
10
  GetUserAttributeVerificationCodeResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetUserAttributeVerificationCodeCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../CognitoIdentityProviderClient";
8
- import { GetUserRequest, GetUserResponse } from "../models/models_0";
8
+ import { GetUserRequest, GetUserResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface GetUserCommandInput extends GetUserRequest {}
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import { ListTermsRequest, ListTermsResponse } from "../models/models_1";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListTermsCommandInput extends ListTermsRequest {}
12
+ export interface ListTermsCommandOutput
13
+ extends ListTermsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListTermsCommand_base: {
16
+ new (
17
+ input: ListTermsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListTermsCommandInput,
20
+ ListTermsCommandOutput,
21
+ CognitoIdentityProviderClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: ListTermsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListTermsCommandInput,
29
+ ListTermsCommandOutput,
30
+ CognitoIdentityProviderClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListTermsCommand extends ListTermsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListTermsRequest;
40
+ output: ListTermsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListTermsCommandInput;
44
+ output: ListTermsCommandOutput;
45
+ };
46
+ };
47
+ }