@aws-sdk/client-cloudtrail 3.693.0 → 3.698.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 (62) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +346 -44
  3. package/dist-es/CloudTrail.js +12 -0
  4. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  5. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  6. package/dist-es/commands/GetDashboardCommand.js +22 -0
  7. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  8. package/dist-es/commands/StartDashboardRefreshCommand.js +22 -0
  9. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_0.js +58 -26
  12. package/dist-es/protocols/Aws_json1_1.js +160 -7
  13. package/dist-types/CloudTrail.d.ts +43 -0
  14. package/dist-types/CloudTrailClient.d.ts +8 -2
  15. package/dist-types/commands/AddTagsCommand.d.ts +4 -2
  16. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateChannelCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateDashboardCommand.d.ts +189 -0
  19. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +5 -1
  20. package/dist-types/commands/CreateTrailCommand.d.ts +6 -2
  21. package/dist-types/commands/DeleteDashboardCommand.d.ts +83 -0
  22. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -3
  23. package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeQueryCommand.d.ts +7 -3
  25. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
  26. package/dist-types/commands/GenerateQueryCommand.d.ts +1 -0
  27. package/dist-types/commands/GetDashboardCommand.d.ts +106 -0
  28. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
  29. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
  30. package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -1
  31. package/dist-types/commands/GetResourcePolicyCommand.d.ts +11 -3
  32. package/dist-types/commands/GetTrailCommand.d.ts +2 -0
  33. package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
  34. package/dist-types/commands/ListDashboardsCommand.d.ts +85 -0
  35. package/dist-types/commands/ListTagsCommand.d.ts +3 -1
  36. package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
  37. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +7 -1
  38. package/dist-types/commands/PutResourcePolicyCommand.d.ts +17 -21
  39. package/dist-types/commands/RemoveTagsCommand.d.ts +3 -1
  40. package/dist-types/commands/StartDashboardRefreshCommand.d.ts +98 -0
  41. package/dist-types/commands/StartImportCommand.d.ts +5 -1
  42. package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
  43. package/dist-types/commands/StartQueryCommand.d.ts +7 -1
  44. package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
  45. package/dist-types/commands/UpdateDashboardCommand.d.ts +164 -0
  46. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +5 -1
  47. package/dist-types/commands/UpdateTrailCommand.d.ts +7 -1
  48. package/dist-types/commands/index.d.ts +6 -0
  49. package/dist-types/models/models_0.d.ts +823 -116
  50. package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
  51. package/dist-types/ts3.4/CloudTrail.d.ts +103 -0
  52. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/StartDashboardRefreshCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +156 -19
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  62. package/package.json +35 -35
@@ -3,9 +3,11 @@ import { CloudTrailClient } from "./CloudTrailClient";
3
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
4
4
  import { CancelQueryCommand } from "./commands/CancelQueryCommand";
5
5
  import { CreateChannelCommand, } from "./commands/CreateChannelCommand";
6
+ import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
6
7
  import { CreateEventDataStoreCommand, } from "./commands/CreateEventDataStoreCommand";
7
8
  import { CreateTrailCommand } from "./commands/CreateTrailCommand";
8
9
  import { DeleteChannelCommand, } from "./commands/DeleteChannelCommand";
10
+ import { DeleteDashboardCommand, } from "./commands/DeleteDashboardCommand";
9
11
  import { DeleteEventDataStoreCommand, } from "./commands/DeleteEventDataStoreCommand";
10
12
  import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
11
13
  import { DeleteTrailCommand } from "./commands/DeleteTrailCommand";
@@ -16,6 +18,7 @@ import { DisableFederationCommand, } from "./commands/DisableFederationCommand";
16
18
  import { EnableFederationCommand, } from "./commands/EnableFederationCommand";
17
19
  import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
18
20
  import { GetChannelCommand } from "./commands/GetChannelCommand";
21
+ import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
19
22
  import { GetEventDataStoreCommand, } from "./commands/GetEventDataStoreCommand";
20
23
  import { GetEventSelectorsCommand, } from "./commands/GetEventSelectorsCommand";
21
24
  import { GetImportCommand } from "./commands/GetImportCommand";
@@ -25,6 +28,7 @@ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
25
28
  import { GetTrailCommand } from "./commands/GetTrailCommand";
26
29
  import { GetTrailStatusCommand, } from "./commands/GetTrailStatusCommand";
27
30
  import { ListChannelsCommand, } from "./commands/ListChannelsCommand";
31
+ import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
28
32
  import { ListEventDataStoresCommand, } from "./commands/ListEventDataStoresCommand";
29
33
  import { ListImportFailuresCommand, } from "./commands/ListImportFailuresCommand";
30
34
  import { ListImportsCommand } from "./commands/ListImportsCommand";
@@ -40,6 +44,7 @@ import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
40
44
  import { RegisterOrganizationDelegatedAdminCommand, } from "./commands/RegisterOrganizationDelegatedAdminCommand";
41
45
  import { RemoveTagsCommand } from "./commands/RemoveTagsCommand";
42
46
  import { RestoreEventDataStoreCommand, } from "./commands/RestoreEventDataStoreCommand";
47
+ import { StartDashboardRefreshCommand, } from "./commands/StartDashboardRefreshCommand";
43
48
  import { StartEventDataStoreIngestionCommand, } from "./commands/StartEventDataStoreIngestionCommand";
44
49
  import { StartImportCommand } from "./commands/StartImportCommand";
45
50
  import { StartLoggingCommand, } from "./commands/StartLoggingCommand";
@@ -48,15 +53,18 @@ import { StopEventDataStoreIngestionCommand, } from "./commands/StopEventDataSto
48
53
  import { StopImportCommand } from "./commands/StopImportCommand";
49
54
  import { StopLoggingCommand } from "./commands/StopLoggingCommand";
50
55
  import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
56
+ import { UpdateDashboardCommand, } from "./commands/UpdateDashboardCommand";
51
57
  import { UpdateEventDataStoreCommand, } from "./commands/UpdateEventDataStoreCommand";
52
58
  import { UpdateTrailCommand } from "./commands/UpdateTrailCommand";
53
59
  const commands = {
54
60
  AddTagsCommand,
55
61
  CancelQueryCommand,
56
62
  CreateChannelCommand,
63
+ CreateDashboardCommand,
57
64
  CreateEventDataStoreCommand,
58
65
  CreateTrailCommand,
59
66
  DeleteChannelCommand,
67
+ DeleteDashboardCommand,
60
68
  DeleteEventDataStoreCommand,
61
69
  DeleteResourcePolicyCommand,
62
70
  DeleteTrailCommand,
@@ -67,6 +75,7 @@ const commands = {
67
75
  EnableFederationCommand,
68
76
  GenerateQueryCommand,
69
77
  GetChannelCommand,
78
+ GetDashboardCommand,
70
79
  GetEventDataStoreCommand,
71
80
  GetEventSelectorsCommand,
72
81
  GetImportCommand,
@@ -76,6 +85,7 @@ const commands = {
76
85
  GetTrailCommand,
77
86
  GetTrailStatusCommand,
78
87
  ListChannelsCommand,
88
+ ListDashboardsCommand,
79
89
  ListEventDataStoresCommand,
80
90
  ListImportFailuresCommand,
81
91
  ListImportsCommand,
@@ -91,6 +101,7 @@ const commands = {
91
101
  RegisterOrganizationDelegatedAdminCommand,
92
102
  RemoveTagsCommand,
93
103
  RestoreEventDataStoreCommand,
104
+ StartDashboardRefreshCommand,
94
105
  StartEventDataStoreIngestionCommand,
95
106
  StartImportCommand,
96
107
  StartLoggingCommand,
@@ -99,6 +110,7 @@ const commands = {
99
110
  StopImportCommand,
100
111
  StopLoggingCommand,
101
112
  UpdateChannelCommand,
113
+ UpdateDashboardCommand,
102
114
  UpdateEventDataStoreCommand,
103
115
  UpdateTrailCommand,
104
116
  };
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateDashboardCommand, se_CreateDashboardCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "CreateDashboard", {})
17
+ .n("CloudTrailClient", "CreateDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateDashboardCommand)
20
+ .de(de_CreateDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteDashboardCommand, se_DeleteDashboardCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DeleteDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "DeleteDashboard", {})
17
+ .n("CloudTrailClient", "DeleteDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteDashboardCommand)
20
+ .de(de_DeleteDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDashboardCommand, se_GetDashboardCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class GetDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "GetDashboard", {})
17
+ .n("CloudTrailClient", "GetDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetDashboardCommand)
20
+ .de(de_GetDashboardCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDashboardsCommand, se_ListDashboardsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListDashboardsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "ListDashboards", {})
17
+ .n("CloudTrailClient", "ListDashboardsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDashboardsCommand)
20
+ .de(de_ListDashboardsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartDashboardRefreshCommand, se_StartDashboardRefreshCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StartDashboardRefreshCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "StartDashboardRefresh", {})
17
+ .n("CloudTrailClient", "StartDashboardRefreshCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartDashboardRefreshCommand)
20
+ .de(de_StartDashboardRefreshCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateDashboardCommand, se_UpdateDashboardCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class UpdateDashboardCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudTrail_20131101", "UpdateDashboard", {})
17
+ .n("CloudTrailClient", "UpdateDashboardCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateDashboardCommand)
20
+ .de(de_UpdateDashboardCommand)
21
+ .build() {
22
+ }
@@ -1,9 +1,11 @@
1
1
  export * from "./AddTagsCommand";
2
2
  export * from "./CancelQueryCommand";
3
3
  export * from "./CreateChannelCommand";
4
+ export * from "./CreateDashboardCommand";
4
5
  export * from "./CreateEventDataStoreCommand";
5
6
  export * from "./CreateTrailCommand";
6
7
  export * from "./DeleteChannelCommand";
8
+ export * from "./DeleteDashboardCommand";
7
9
  export * from "./DeleteEventDataStoreCommand";
8
10
  export * from "./DeleteResourcePolicyCommand";
9
11
  export * from "./DeleteTrailCommand";
@@ -14,6 +16,7 @@ export * from "./DisableFederationCommand";
14
16
  export * from "./EnableFederationCommand";
15
17
  export * from "./GenerateQueryCommand";
16
18
  export * from "./GetChannelCommand";
19
+ export * from "./GetDashboardCommand";
17
20
  export * from "./GetEventDataStoreCommand";
18
21
  export * from "./GetEventSelectorsCommand";
19
22
  export * from "./GetImportCommand";
@@ -23,6 +26,7 @@ export * from "./GetResourcePolicyCommand";
23
26
  export * from "./GetTrailCommand";
24
27
  export * from "./GetTrailStatusCommand";
25
28
  export * from "./ListChannelsCommand";
29
+ export * from "./ListDashboardsCommand";
26
30
  export * from "./ListEventDataStoresCommand";
27
31
  export * from "./ListImportFailuresCommand";
28
32
  export * from "./ListImportsCommand";
@@ -38,6 +42,7 @@ export * from "./PutResourcePolicyCommand";
38
42
  export * from "./RegisterOrganizationDelegatedAdminCommand";
39
43
  export * from "./RemoveTagsCommand";
40
44
  export * from "./RestoreEventDataStoreCommand";
45
+ export * from "./StartDashboardRefreshCommand";
41
46
  export * from "./StartEventDataStoreIngestionCommand";
42
47
  export * from "./StartImportCommand";
43
48
  export * from "./StartLoggingCommand";
@@ -46,5 +51,6 @@ export * from "./StopEventDataStoreIngestionCommand";
46
51
  export * from "./StopImportCommand";
47
52
  export * from "./StopLoggingCommand";
48
53
  export * from "./UpdateChannelCommand";
54
+ export * from "./UpdateDashboardCommand";
49
55
  export * from "./UpdateEventDataStoreCommand";
50
56
  export * from "./UpdateTrailCommand";
@@ -405,6 +405,57 @@ export class InvalidSourceException extends __BaseException {
405
405
  this.Message = opts.Message;
406
406
  }
407
407
  }
408
+ export const RefreshScheduleFrequencyUnit = {
409
+ DAYS: "DAYS",
410
+ HOURS: "HOURS",
411
+ };
412
+ export const RefreshScheduleStatus = {
413
+ DISABLED: "DISABLED",
414
+ ENABLED: "ENABLED",
415
+ };
416
+ export const DashboardType = {
417
+ CUSTOM: "CUSTOM",
418
+ MANAGED: "MANAGED",
419
+ };
420
+ export class InsufficientEncryptionPolicyException extends __BaseException {
421
+ constructor(opts) {
422
+ super({
423
+ name: "InsufficientEncryptionPolicyException",
424
+ $fault: "client",
425
+ ...opts,
426
+ });
427
+ this.name = "InsufficientEncryptionPolicyException";
428
+ this.$fault = "client";
429
+ Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
430
+ this.Message = opts.Message;
431
+ }
432
+ }
433
+ export class InvalidQueryStatementException extends __BaseException {
434
+ constructor(opts) {
435
+ super({
436
+ name: "InvalidQueryStatementException",
437
+ $fault: "client",
438
+ ...opts,
439
+ });
440
+ this.name = "InvalidQueryStatementException";
441
+ this.$fault = "client";
442
+ Object.setPrototypeOf(this, InvalidQueryStatementException.prototype);
443
+ this.Message = opts.Message;
444
+ }
445
+ }
446
+ export class ServiceQuotaExceededException extends __BaseException {
447
+ constructor(opts) {
448
+ super({
449
+ name: "ServiceQuotaExceededException",
450
+ $fault: "client",
451
+ ...opts,
452
+ });
453
+ this.name = "ServiceQuotaExceededException";
454
+ this.$fault = "client";
455
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
456
+ this.Message = opts.Message;
457
+ }
458
+ }
408
459
  export class CloudTrailAccessNotEnabledException extends __BaseException {
409
460
  constructor(opts) {
410
461
  super({
@@ -465,19 +516,6 @@ export class InsufficientDependencyServiceAccessPermissionException extends __Ba
465
516
  this.Message = opts.Message;
466
517
  }
467
518
  }
468
- export class InsufficientEncryptionPolicyException extends __BaseException {
469
- constructor(opts) {
470
- super({
471
- name: "InsufficientEncryptionPolicyException",
472
- $fault: "client",
473
- ...opts,
474
- });
475
- this.name = "InsufficientEncryptionPolicyException";
476
- this.$fault = "client";
477
- Object.setPrototypeOf(this, InsufficientEncryptionPolicyException.prototype);
478
- this.Message = opts.Message;
479
- }
480
- }
481
519
  export class InvalidEventSelectorsException extends __BaseException {
482
520
  constructor(opts) {
483
521
  super({
@@ -911,6 +949,13 @@ export class GenerateResponseException extends __BaseException {
911
949
  this.Message = opts.Message;
912
950
  }
913
951
  }
952
+ export const DashboardStatus = {
953
+ CREATED: "CREATED",
954
+ CREATING: "CREATING",
955
+ DELETING: "DELETING",
956
+ UPDATED: "UPDATED",
957
+ UPDATING: "UPDATING",
958
+ };
914
959
  export const ReadWriteType = {
915
960
  All: "All",
916
961
  ReadOnly: "ReadOnly",
@@ -1144,19 +1189,6 @@ export class InvalidImportSourceException extends __BaseException {
1144
1189
  this.Message = opts.Message;
1145
1190
  }
1146
1191
  }
1147
- export class InvalidQueryStatementException extends __BaseException {
1148
- constructor(opts) {
1149
- super({
1150
- name: "InvalidQueryStatementException",
1151
- $fault: "client",
1152
- ...opts,
1153
- });
1154
- this.name = "InvalidQueryStatementException";
1155
- this.$fault = "client";
1156
- Object.setPrototypeOf(this, InvalidQueryStatementException.prototype);
1157
- this.Message = opts.Message;
1158
- }
1159
- }
1160
1192
  export class MaxConcurrentQueriesException extends __BaseException {
1161
1193
  constructor(opts) {
1162
1194
  super({