@aws-sdk/client-securitylake 3.478.0 → 3.484.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 (129) hide show
  1. package/dist-cjs/commands/CreateAwsLogSourceCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCustomLogSourceCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDataLakeCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +18 -41
  5. package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +18 -41
  6. package/dist-cjs/commands/CreateSubscriberCommand.js +18 -41
  7. package/dist-cjs/commands/CreateSubscriberNotificationCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteDataLakeCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteSubscriberCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteSubscriberNotificationCommand.js +18 -41
  15. package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +18 -41
  16. package/dist-cjs/commands/GetDataLakeExceptionSubscriptionCommand.js +18 -41
  17. package/dist-cjs/commands/GetDataLakeOrganizationConfigurationCommand.js +18 -41
  18. package/dist-cjs/commands/GetDataLakeSourcesCommand.js +18 -41
  19. package/dist-cjs/commands/GetSubscriberCommand.js +18 -41
  20. package/dist-cjs/commands/ListDataLakeExceptionsCommand.js +18 -41
  21. package/dist-cjs/commands/ListDataLakesCommand.js +18 -41
  22. package/dist-cjs/commands/ListLogSourcesCommand.js +18 -41
  23. package/dist-cjs/commands/ListSubscribersCommand.js +18 -41
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  25. package/dist-cjs/commands/RegisterDataLakeDelegatedAdministratorCommand.js +18 -41
  26. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  27. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateDataLakeCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateSubscriberCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateSubscriberNotificationCommand.js +18 -41
  32. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  33. package/dist-es/commands/CreateAwsLogSourceCommand.js +18 -41
  34. package/dist-es/commands/CreateCustomLogSourceCommand.js +18 -41
  35. package/dist-es/commands/CreateDataLakeCommand.js +18 -41
  36. package/dist-es/commands/CreateDataLakeExceptionSubscriptionCommand.js +18 -41
  37. package/dist-es/commands/CreateDataLakeOrganizationConfigurationCommand.js +18 -41
  38. package/dist-es/commands/CreateSubscriberCommand.js +18 -41
  39. package/dist-es/commands/CreateSubscriberNotificationCommand.js +18 -41
  40. package/dist-es/commands/DeleteAwsLogSourceCommand.js +18 -41
  41. package/dist-es/commands/DeleteCustomLogSourceCommand.js +18 -41
  42. package/dist-es/commands/DeleteDataLakeCommand.js +18 -41
  43. package/dist-es/commands/DeleteDataLakeExceptionSubscriptionCommand.js +18 -41
  44. package/dist-es/commands/DeleteDataLakeOrganizationConfigurationCommand.js +18 -41
  45. package/dist-es/commands/DeleteSubscriberCommand.js +18 -41
  46. package/dist-es/commands/DeleteSubscriberNotificationCommand.js +18 -41
  47. package/dist-es/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +18 -41
  48. package/dist-es/commands/GetDataLakeExceptionSubscriptionCommand.js +18 -41
  49. package/dist-es/commands/GetDataLakeOrganizationConfigurationCommand.js +18 -41
  50. package/dist-es/commands/GetDataLakeSourcesCommand.js +18 -41
  51. package/dist-es/commands/GetSubscriberCommand.js +18 -41
  52. package/dist-es/commands/ListDataLakeExceptionsCommand.js +18 -41
  53. package/dist-es/commands/ListDataLakesCommand.js +18 -41
  54. package/dist-es/commands/ListLogSourcesCommand.js +18 -41
  55. package/dist-es/commands/ListSubscribersCommand.js +18 -41
  56. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  57. package/dist-es/commands/RegisterDataLakeDelegatedAdministratorCommand.js +18 -41
  58. package/dist-es/commands/TagResourceCommand.js +18 -41
  59. package/dist-es/commands/UntagResourceCommand.js +18 -41
  60. package/dist-es/commands/UpdateDataLakeCommand.js +18 -41
  61. package/dist-es/commands/UpdateDataLakeExceptionSubscriptionCommand.js +18 -41
  62. package/dist-es/commands/UpdateSubscriberCommand.js +18 -41
  63. package/dist-es/commands/UpdateSubscriberNotificationCommand.js +18 -41
  64. package/dist-es/endpoint/EndpointParameters.js +6 -0
  65. package/dist-types/commands/CreateAwsLogSourceCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateCustomLogSourceCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateDataLakeCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateSubscriberCommand.d.ts +6 -21
  71. package/dist-types/commands/CreateSubscriberNotificationCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteAwsLogSourceCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteCustomLogSourceCommand.d.ts +6 -21
  74. package/dist-types/commands/DeleteDataLakeCommand.d.ts +6 -21
  75. package/dist-types/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +6 -21
  76. package/dist-types/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +6 -21
  77. package/dist-types/commands/DeleteSubscriberCommand.d.ts +6 -21
  78. package/dist-types/commands/DeleteSubscriberNotificationCommand.d.ts +6 -21
  79. package/dist-types/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +6 -21
  80. package/dist-types/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +6 -21
  81. package/dist-types/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +6 -21
  82. package/dist-types/commands/GetDataLakeSourcesCommand.d.ts +6 -21
  83. package/dist-types/commands/GetSubscriberCommand.d.ts +6 -21
  84. package/dist-types/commands/ListDataLakeExceptionsCommand.d.ts +6 -21
  85. package/dist-types/commands/ListDataLakesCommand.d.ts +6 -21
  86. package/dist-types/commands/ListLogSourcesCommand.d.ts +6 -21
  87. package/dist-types/commands/ListSubscribersCommand.d.ts +6 -21
  88. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  89. package/dist-types/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +6 -21
  90. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  91. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  92. package/dist-types/commands/UpdateDataLakeCommand.d.ts +6 -21
  93. package/dist-types/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +6 -21
  94. package/dist-types/commands/UpdateSubscriberCommand.d.ts +6 -21
  95. package/dist-types/commands/UpdateSubscriberNotificationCommand.d.ts +6 -21
  96. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  97. package/dist-types/ts3.4/commands/CreateAwsLogSourceCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/CreateCustomLogSourceCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/CreateDataLakeCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/CreateDataLakeExceptionSubscriptionCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/CreateDataLakeOrganizationConfigurationCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/CreateSubscriberCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/CreateSubscriberNotificationCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/DeleteAwsLogSourceCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeleteCustomLogSourceCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/DeleteDataLakeCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/DeleteDataLakeExceptionSubscriptionCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/DeleteDataLakeOrganizationConfigurationCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/DeleteSubscriberCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/DeleteSubscriberNotificationCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/DeregisterDataLakeDelegatedAdministratorCommand.d.ts +12 -24
  112. package/dist-types/ts3.4/commands/GetDataLakeExceptionSubscriptionCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/GetDataLakeOrganizationConfigurationCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/GetDataLakeSourcesCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/GetSubscriberCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/ListDataLakeExceptionsCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/ListDataLakesCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/ListLogSourcesCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/ListSubscribersCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/RegisterDataLakeDelegatedAdministratorCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/UpdateDataLakeCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/UpdateDataLakeExceptionSubscriptionCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/UpdateSubscriberCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/UpdateSubscriberNotificationCommand.d.ts +12 -24
  128. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  129. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "ListTagsForResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "ListTagsForResource", {})
19
+ .n("SecurityLakeClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_RegisterDataLakeDelegatedAdministratorCommand, se_RegisterDataLakeDelegatedAdministratorCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class RegisterDataLakeDelegatedAdministratorCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, RegisterDataLakeDelegatedAdministratorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "RegisterDataLakeDelegatedAdministratorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "RegisterDataLakeDelegatedAdministrator",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_RegisterDataLakeDelegatedAdministratorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RegisterDataLakeDelegatedAdministratorCommand(output, context);
46
- }
7
+ export class RegisterDataLakeDelegatedAdministratorCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "RegisterDataLakeDelegatedAdministrator", {})
19
+ .n("SecurityLakeClient", "RegisterDataLakeDelegatedAdministratorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RegisterDataLakeDelegatedAdministratorCommand)
22
+ .de(de_RegisterDataLakeDelegatedAdministratorCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "TagResource", {})
19
+ .n("SecurityLakeClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "UntagResource", {})
19
+ .n("SecurityLakeClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDataLakeCommand, se_UpdateDataLakeCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDataLakeCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataLakeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "UpdateDataLakeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "UpdateDataLake",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDataLakeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDataLakeCommand(output, context);
46
- }
7
+ export class UpdateDataLakeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "UpdateDataLake", {})
19
+ .n("SecurityLakeClient", "UpdateDataLakeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDataLakeCommand)
22
+ .de(de_UpdateDataLakeCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDataLakeExceptionSubscriptionCommand, se_UpdateDataLakeExceptionSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateDataLakeExceptionSubscriptionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataLakeExceptionSubscriptionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "UpdateDataLakeExceptionSubscriptionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "UpdateDataLakeExceptionSubscription",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDataLakeExceptionSubscriptionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDataLakeExceptionSubscriptionCommand(output, context);
46
- }
7
+ export class UpdateDataLakeExceptionSubscriptionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "UpdateDataLakeExceptionSubscription", {})
19
+ .n("SecurityLakeClient", "UpdateDataLakeExceptionSubscriptionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDataLakeExceptionSubscriptionCommand)
22
+ .de(de_UpdateDataLakeExceptionSubscriptionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateSubscriberCommand, se_UpdateSubscriberCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateSubscriberCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSubscriberCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "UpdateSubscriberCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "UpdateSubscriber",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateSubscriberCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSubscriberCommand(output, context);
46
- }
7
+ export class UpdateSubscriberCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "UpdateSubscriber", {})
19
+ .n("SecurityLakeClient", "UpdateSubscriberCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSubscriberCommand)
22
+ .de(de_UpdateSubscriberCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateSubscriberNotificationCommand, se_UpdateSubscriberNotificationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateSubscriberNotificationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSubscriberNotificationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "SecurityLakeClient";
26
- const commandName = "UpdateSubscriberNotificationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "SecurityLake",
35
- operation: "UpdateSubscriberNotification",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateSubscriberNotificationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSubscriberNotificationCommand(output, context);
46
- }
7
+ export class UpdateSubscriberNotificationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SecurityLake", "UpdateSubscriberNotification", {})
19
+ .n("SecurityLakeClient", "UpdateSubscriberNotificationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSubscriberNotificationCommand)
22
+ .de(de_UpdateSubscriberNotificationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "securitylake",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateAwsLogSourceRequest, CreateAwsLogSourceResponse } from "../models/models_0";
5
4
  import { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateAwsLogSourceCommandInput extends CreateAwsLogSourceReques
21
20
  */
22
21
  export interface CreateAwsLogSourceCommandOutput extends CreateAwsLogSourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateAwsLogSourceCommand_base: {
24
+ new (input: CreateAwsLogSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a natively supported Amazon Web Service as an Amazon Security Lake source. Enables
@@ -95,23 +98,5 @@ export interface CreateAwsLogSourceCommandOutput extends CreateAwsLogSourceRespo
95
98
  * <p>Base exception class for all service exceptions from SecurityLake service.</p>
96
99
  *
97
100
  */
98
- export declare class CreateAwsLogSourceCommand extends $Command<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput, SecurityLakeClientResolvedConfig> {
99
- readonly input: CreateAwsLogSourceCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: CreateAwsLogSourceCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class CreateAwsLogSourceCommand extends CreateAwsLogSourceCommand_base {
117
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateCustomLogSourceRequest, CreateCustomLogSourceResponse } from "../models/models_0";
5
4
  import { SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityLakeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCustomLogSourceCommandInput extends CreateCustomLogSource
21
20
  */
22
21
  export interface CreateCustomLogSourceCommandOutput extends CreateCustomLogSourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCustomLogSourceCommand_base: {
24
+ new (input: CreateCustomLogSourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, SecurityLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Adds a third-party custom source in Amazon Security Lake, from the Amazon Web Services Region
@@ -107,23 +110,5 @@ export interface CreateCustomLogSourceCommandOutput extends CreateCustomLogSourc
107
110
  * <p>Base exception class for all service exceptions from SecurityLake service.</p>
108
111
  *
109
112
  */
110
- export declare class CreateCustomLogSourceCommand extends $Command<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput, SecurityLakeClientResolvedConfig> {
111
- readonly input: CreateCustomLogSourceCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: CreateCustomLogSourceCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class CreateCustomLogSourceCommand extends CreateCustomLogSourceCommand_base {
129
114
  }