@aws-sdk/client-securitylake 3.1076.0 → 3.1078.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 (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAwsLogSourceCommand.js +2 -14
  4. package/dist-es/commands/CreateCustomLogSourceCommand.js +2 -14
  5. package/dist-es/commands/CreateDataLakeCommand.js +2 -14
  6. package/dist-es/commands/CreateDataLakeExceptionSubscriptionCommand.js +2 -14
  7. package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +2 -14
  8. package/dist-es/commands/CreateSubscriberCommand.js +2 -14
  9. package/dist-es/commands/CreateSubscriberNotificationCommand.js +2 -14
  10. package/dist-es/commands/DeleteAwsLogSourceCommand.js +2 -14
  11. package/dist-es/commands/DeleteCustomLogSourceCommand.js +2 -14
  12. package/dist-es/commands/DeleteDataLakeCommand.js +2 -14
  13. package/dist-es/commands/DeleteDataLakeExceptionSubscriptionCommand.js +2 -14
  14. package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +2 -14
  15. package/dist-es/commands/DeleteSubscriberCommand.js +2 -14
  16. package/dist-es/commands/DeleteSubscriberNotificationCommand.js +2 -14
  17. package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +2 -14
  18. package/dist-es/commands/GetDataLakeExceptionSubscriptionCommand.js +2 -14
  19. package/dist-es/commands/GetDataLakeOrganizationConfigurationCommand.js +2 -14
  20. package/dist-es/commands/GetDataLakeSourcesCommand.js +2 -14
  21. package/dist-es/commands/GetSubscriberCommand.js +2 -14
  22. package/dist-es/commands/ListDataLakeExceptionsCommand.js +2 -14
  23. package/dist-es/commands/ListDataLakesCommand.js +2 -14
  24. package/dist-es/commands/ListLogSourcesCommand.js +2 -14
  25. package/dist-es/commands/ListSubscribersCommand.js +2 -14
  26. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  27. package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateDataLakeCommand.js +2 -14
  31. package/dist-es/commands/UpdateDataLakeExceptionSubscriptionCommand.js +2 -14
  32. package/dist-es/commands/UpdateSubscriberCommand.js +2 -14
  33. package/dist-es/commands/UpdateSubscriberNotificationCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateDataLakeCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateSubscriberCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteDataLakeCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteSubscriberCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +3 -8
  55. package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  56. package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +3 -8
  57. package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +3 -8
  58. package/dist-types/commands/GetSubscriberCommand.d.ts +3 -8
  59. package/dist-types/commands/ListDataLakeExceptionsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListDataLakesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListLogSourcesCommand.d.ts +3 -8
  62. package/dist-types/commands/ListSubscribersCommand.d.ts +3 -8
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +3 -8
  65. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  66. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateDataLakeCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateSubscriberCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/CreateAwsLogSourceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateCustomLogSourceCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateDataLakeCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateSubscriberNotificationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteAwsLogSourceCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteCustomLogSourceCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteDataLakeCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteSubscriberNotificationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetSubscriberCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListDataLakeExceptionsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListDataLakesCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListLogSourcesCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateDataLakeCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateSubscriberNotificationCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDataLake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDataLakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteDataLake", {})
13
- .n("SecurityLakeClient", "DeleteDataLakeCommand")
14
- .sc(DeleteDataLake$)
15
- .build() {
3
+ export class DeleteDataLakeCommand extends command(_ep0, _mw0, "DeleteDataLake", DeleteDataLake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDataLakeExceptionSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDataLakeExceptionSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteDataLakeExceptionSubscription", {})
13
- .n("SecurityLakeClient", "DeleteDataLakeExceptionSubscriptionCommand")
14
- .sc(DeleteDataLakeExceptionSubscription$)
15
- .build() {
3
+ export class DeleteDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "DeleteDataLakeExceptionSubscription", DeleteDataLakeExceptionSubscription$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteDataLakeOrganizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDataLakeOrganizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteDataLakeOrganizationConfiguration", {})
13
- .n("SecurityLakeClient", "DeleteDataLakeOrganizationConfigurationCommand")
14
- .sc(DeleteDataLakeOrganizationConfiguration$)
15
- .build() {
3
+ export class DeleteDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "DeleteDataLakeOrganizationConfiguration", DeleteDataLakeOrganizationConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteSubscriber", {})
13
- .n("SecurityLakeClient", "DeleteSubscriberCommand")
14
- .sc(DeleteSubscriber$)
15
- .build() {
3
+ export class DeleteSubscriberCommand extends command(_ep0, _mw0, "DeleteSubscriber", DeleteSubscriber$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSubscriberNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSubscriberNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeleteSubscriberNotification", {})
13
- .n("SecurityLakeClient", "DeleteSubscriberNotificationCommand")
14
- .sc(DeleteSubscriberNotification$)
15
- .build() {
3
+ export class DeleteSubscriberNotificationCommand extends command(_ep0, _mw0, "DeleteSubscriberNotification", DeleteSubscriberNotification$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeregisterDataLakeDelegatedAdministrator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeregisterDataLakeDelegatedAdministratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "DeregisterDataLakeDelegatedAdministrator", {})
13
- .n("SecurityLakeClient", "DeregisterDataLakeDelegatedAdministratorCommand")
14
- .sc(DeregisterDataLakeDelegatedAdministrator$)
15
- .build() {
3
+ export class DeregisterDataLakeDelegatedAdministratorCommand extends command(_ep0, _mw0, "DeregisterDataLakeDelegatedAdministrator", DeregisterDataLakeDelegatedAdministrator$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataLakeExceptionSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataLakeExceptionSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "GetDataLakeExceptionSubscription", {})
13
- .n("SecurityLakeClient", "GetDataLakeExceptionSubscriptionCommand")
14
- .sc(GetDataLakeExceptionSubscription$)
15
- .build() {
3
+ export class GetDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "GetDataLakeExceptionSubscription", GetDataLakeExceptionSubscription$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataLakeOrganizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataLakeOrganizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "GetDataLakeOrganizationConfiguration", {})
13
- .n("SecurityLakeClient", "GetDataLakeOrganizationConfigurationCommand")
14
- .sc(GetDataLakeOrganizationConfiguration$)
15
- .build() {
3
+ export class GetDataLakeOrganizationConfigurationCommand extends command(_ep0, _mw0, "GetDataLakeOrganizationConfiguration", GetDataLakeOrganizationConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataLakeSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataLakeSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "GetDataLakeSources", {})
13
- .n("SecurityLakeClient", "GetDataLakeSourcesCommand")
14
- .sc(GetDataLakeSources$)
15
- .build() {
3
+ export class GetDataLakeSourcesCommand extends command(_ep0, _mw0, "GetDataLakeSources", GetDataLakeSources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "GetSubscriber", {})
13
- .n("SecurityLakeClient", "GetSubscriberCommand")
14
- .sc(GetSubscriber$)
15
- .build() {
3
+ export class GetSubscriberCommand extends command(_ep0, _mw0, "GetSubscriber", GetSubscriber$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataLakeExceptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataLakeExceptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "ListDataLakeExceptions", {})
13
- .n("SecurityLakeClient", "ListDataLakeExceptionsCommand")
14
- .sc(ListDataLakeExceptions$)
15
- .build() {
3
+ export class ListDataLakeExceptionsCommand extends command(_ep0, _mw0, "ListDataLakeExceptions", ListDataLakeExceptions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataLakes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataLakesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "ListDataLakes", {})
13
- .n("SecurityLakeClient", "ListDataLakesCommand")
14
- .sc(ListDataLakes$)
15
- .build() {
3
+ export class ListDataLakesCommand extends command(_ep0, _mw0, "ListDataLakes", ListDataLakes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLogSources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLogSourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "ListLogSources", {})
13
- .n("SecurityLakeClient", "ListLogSourcesCommand")
14
- .sc(ListLogSources$)
15
- .build() {
3
+ export class ListLogSourcesCommand extends command(_ep0, _mw0, "ListLogSources", ListLogSources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSubscribers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSubscribersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "ListSubscribers", {})
13
- .n("SecurityLakeClient", "ListSubscribersCommand")
14
- .sc(ListSubscribers$)
15
- .build() {
3
+ export class ListSubscribersCommand extends command(_ep0, _mw0, "ListSubscribers", ListSubscribers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "ListTagsForResource", {})
13
- .n("SecurityLakeClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RegisterDataLakeDelegatedAdministrator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterDataLakeDelegatedAdministratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
13
- .n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
14
- .sc(RegisterDataLakeDelegatedAdministrator$)
15
- .build() {
3
+ export class RegisterDataLakeDelegatedAdministratorCommand extends command(_ep0, _mw0, "RegisterDataLakeDelegatedAdministrator", RegisterDataLakeDelegatedAdministrator$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "TagResource", {})
13
- .n("SecurityLakeClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "UntagResource", {})
13
- .n("SecurityLakeClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataLake$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDataLakeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "UpdateDataLake", {})
13
- .n("SecurityLakeClient", "UpdateDataLakeCommand")
14
- .sc(UpdateDataLake$)
15
- .build() {
3
+ export class UpdateDataLakeCommand extends command(_ep0, _mw0, "UpdateDataLake", UpdateDataLake$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataLakeExceptionSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDataLakeExceptionSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
13
- .n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
14
- .sc(UpdateDataLakeExceptionSubscription$)
15
- .build() {
3
+ export class UpdateDataLakeExceptionSubscriptionCommand extends command(_ep0, _mw0, "UpdateDataLakeExceptionSubscription", UpdateDataLakeExceptionSubscription$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateSubscriber$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSubscriberCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "UpdateSubscriber", {})
13
- .n("SecurityLakeClient", "UpdateSubscriberCommand")
14
- .sc(UpdateSubscriber$)
15
- .build() {
3
+ export class UpdateSubscriberCommand extends command(_ep0, _mw0, "UpdateSubscriber", UpdateSubscriber$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateSubscriberNotification$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSubscriberNotificationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SecurityLake", "UpdateSubscriberNotification", {})
13
- .n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
14
- .sc(UpdateSubscriberNotification$)
15
- .build() {
3
+ export class UpdateSubscriberNotificationCommand extends command(_ep0, _mw0, "UpdateSubscriberNotification", UpdateSubscriberNotification$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SecurityLakeClient";
2
2
  export * from "./SecurityLake";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "SecurityLake",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "SecurityLake",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SecurityLakeClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateAwsLogSourceRequest, CreateAwsLogSourceResponse } from "../models/models_0";
4
- import type { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAwsLogSourceCommandInput extends CreateAwsLogSourceReques
22
19
  export interface CreateAwsLogSourceCommandOutput extends CreateAwsLogSourceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAwsLogSourceCommand_base: {
25
- new (input: CreateAwsLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAwsLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAwsLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAwsLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds a natively supported Amazon Web Services service as an Amazon Security Lake source. Enables
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateCustomLogSourceRequest, CreateCustomLogSourceResponse } from "../models/models_0";
4
- import type { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateCustomLogSourceCommandInput extends CreateCustomLogSource
22
19
  export interface CreateCustomLogSourceCommandOutput extends CreateCustomLogSourceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateCustomLogSourceCommand_base: {
25
- new (input: CreateCustomLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateCustomLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateCustomLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateCustomLogSourceCommandInput): import("@smithy/core/client").CommandImpl<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { CreateDataLakeRequest, CreateDataLakeResponse } from "../models/models_0";
4
- import type { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDataLakeCommandInput extends CreateDataLakeRequest {
22
19
  export interface CreateDataLakeCommandOutput extends CreateDataLakeResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDataLakeCommand_base: {
25
- new (input: CreateDataLakeCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeCommandInput, CreateDataLakeCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDataLakeCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeCommandInput, CreateDataLakeCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDataLakeCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeCommandInput, CreateDataLakeCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDataLakeCommandInput): import("@smithy/core/client").CommandImpl<CreateDataLakeCommandInput, CreateDataLakeCommandOutput, import("..").SecurityLakeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Initializes an Amazon Security Lake instance with the provided (or default) configuration. You