@aws-sdk/client-securitylake 3.490.0 → 3.495.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 (49) hide show
  1. package/dist-cjs/SecurityLake.js +1 -73
  2. package/dist-cjs/SecurityLakeClient.js +1 -43
  3. package/dist-cjs/commands/CreateAwsLogSourceCommand.js +1 -28
  4. package/dist-cjs/commands/CreateCustomLogSourceCommand.js +1 -28
  5. package/dist-cjs/commands/CreateDataLakeCommand.js +1 -28
  6. package/dist-cjs/commands/CreateDataLakeExceptionSubscriptionCommand.js +1 -28
  7. package/dist-cjs/commands/CreateDataLakeOrganizationConfigurationCommand.js +1 -28
  8. package/dist-cjs/commands/CreateSubscriberCommand.js +1 -28
  9. package/dist-cjs/commands/CreateSubscriberNotificationCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteAwsLogSourceCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteCustomLogSourceCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteDataLakeCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteDataLakeExceptionSubscriptionCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteDataLakeOrganizationConfigurationCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteSubscriberCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteSubscriberNotificationCommand.js +1 -28
  17. package/dist-cjs/commands/DeregisterDataLakeDelegatedAdministratorCommand.js +1 -28
  18. package/dist-cjs/commands/GetDataLakeExceptionSubscriptionCommand.js +1 -28
  19. package/dist-cjs/commands/GetDataLakeOrganizationConfigurationCommand.js +1 -28
  20. package/dist-cjs/commands/GetDataLakeSourcesCommand.js +1 -28
  21. package/dist-cjs/commands/GetSubscriberCommand.js +1 -28
  22. package/dist-cjs/commands/ListDataLakeExceptionsCommand.js +1 -28
  23. package/dist-cjs/commands/ListDataLakesCommand.js +1 -28
  24. package/dist-cjs/commands/ListLogSourcesCommand.js +1 -28
  25. package/dist-cjs/commands/ListSubscribersCommand.js +1 -28
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  27. package/dist-cjs/commands/RegisterDataLakeDelegatedAdministratorCommand.js +1 -28
  28. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  29. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  30. package/dist-cjs/commands/UpdateDataLakeCommand.js +1 -28
  31. package/dist-cjs/commands/UpdateDataLakeExceptionSubscriptionCommand.js +1 -28
  32. package/dist-cjs/commands/UpdateSubscriberCommand.js +1 -28
  33. package/dist-cjs/commands/UpdateSubscriberNotificationCommand.js +1 -28
  34. package/dist-cjs/commands/index.js +1 -34
  35. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  36. package/dist-cjs/extensionConfiguration.js +1 -2
  37. package/dist-cjs/index.js +3066 -11
  38. package/dist-cjs/models/SecurityLakeServiceException.js +1 -12
  39. package/dist-cjs/models/index.js +1 -4
  40. package/dist-cjs/models/models_0.js +1 -147
  41. package/dist-cjs/pagination/GetDataLakeSourcesPaginator.js +1 -7
  42. package/dist-cjs/pagination/Interfaces.js +1 -2
  43. package/dist-cjs/pagination/ListDataLakeExceptionsPaginator.js +1 -7
  44. package/dist-cjs/pagination/ListLogSourcesPaginator.js +1 -7
  45. package/dist-cjs/pagination/ListSubscribersPaginator.js +1 -7
  46. package/dist-cjs/pagination/index.js +1 -8
  47. package/dist-cjs/protocols/Aws_restJson1.js +1 -2109
  48. package/dist-cjs/runtimeExtensions.js +1 -22
  49. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecurityLakeServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SecurityLakeServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SecurityLakeServiceException.prototype);
10
- }
11
- }
12
- exports.SecurityLakeServiceException = SecurityLakeServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,147 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SourceCollectionStatus = exports.NotificationConfiguration = exports.HttpMethod = exports.SubscriberStatus = exports.LogSourceResource = exports.DataLakeStatus = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.BadRequestException = exports.AwsLogSourceName = exports.AccessType = exports.AccessDeniedException = void 0;
4
- const SecurityLakeServiceException_1 = require("./SecurityLakeServiceException");
5
- class AccessDeniedException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- this.errorCode = opts.errorCode;
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.AccessType = {
20
- LAKEFORMATION: "LAKEFORMATION",
21
- S3: "S3",
22
- };
23
- exports.AwsLogSourceName = {
24
- CLOUD_TRAIL_MGMT: "CLOUD_TRAIL_MGMT",
25
- LAMBDA_EXECUTION: "LAMBDA_EXECUTION",
26
- ROUTE53: "ROUTE53",
27
- S3_DATA: "S3_DATA",
28
- SH_FINDINGS: "SH_FINDINGS",
29
- VPC_FLOW: "VPC_FLOW",
30
- };
31
- class BadRequestException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
32
- constructor(opts) {
33
- super({
34
- name: "BadRequestException",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- this.name = "BadRequestException";
39
- this.$fault = "client";
40
- Object.setPrototypeOf(this, BadRequestException.prototype);
41
- }
42
- }
43
- exports.BadRequestException = BadRequestException;
44
- class ConflictException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
45
- constructor(opts) {
46
- super({
47
- name: "ConflictException",
48
- $fault: "client",
49
- ...opts,
50
- });
51
- this.name = "ConflictException";
52
- this.$fault = "client";
53
- Object.setPrototypeOf(this, ConflictException.prototype);
54
- this.resourceName = opts.resourceName;
55
- this.resourceType = opts.resourceType;
56
- }
57
- }
58
- exports.ConflictException = ConflictException;
59
- class InternalServerException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
60
- constructor(opts) {
61
- super({
62
- name: "InternalServerException",
63
- $fault: "server",
64
- ...opts,
65
- });
66
- this.name = "InternalServerException";
67
- this.$fault = "server";
68
- this.$retryable = {};
69
- Object.setPrototypeOf(this, InternalServerException.prototype);
70
- }
71
- }
72
- exports.InternalServerException = InternalServerException;
73
- class ResourceNotFoundException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
74
- constructor(opts) {
75
- super({
76
- name: "ResourceNotFoundException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- this.name = "ResourceNotFoundException";
81
- this.$fault = "client";
82
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
- this.resourceName = opts.resourceName;
84
- this.resourceType = opts.resourceType;
85
- }
86
- }
87
- exports.ResourceNotFoundException = ResourceNotFoundException;
88
- class ThrottlingException extends SecurityLakeServiceException_1.SecurityLakeServiceException {
89
- constructor(opts) {
90
- super({
91
- name: "ThrottlingException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- this.name = "ThrottlingException";
96
- this.$fault = "client";
97
- this.$retryable = {
98
- throttling: true,
99
- };
100
- Object.setPrototypeOf(this, ThrottlingException.prototype);
101
- this.serviceCode = opts.serviceCode;
102
- this.quotaCode = opts.quotaCode;
103
- this.retryAfterSeconds = opts.retryAfterSeconds;
104
- }
105
- }
106
- exports.ThrottlingException = ThrottlingException;
107
- exports.DataLakeStatus = {
108
- COMPLETED: "COMPLETED",
109
- FAILED: "FAILED",
110
- INITIALIZED: "INITIALIZED",
111
- PENDING: "PENDING",
112
- };
113
- var LogSourceResource;
114
- (function (LogSourceResource) {
115
- LogSourceResource.visit = (value, visitor) => {
116
- if (value.awsLogSource !== undefined)
117
- return visitor.awsLogSource(value.awsLogSource);
118
- if (value.customLogSource !== undefined)
119
- return visitor.customLogSource(value.customLogSource);
120
- return visitor._(value.$unknown[0], value.$unknown[1]);
121
- };
122
- })(LogSourceResource = exports.LogSourceResource || (exports.LogSourceResource = {}));
123
- exports.SubscriberStatus = {
124
- ACTIVE: "ACTIVE",
125
- DEACTIVATED: "DEACTIVATED",
126
- PENDING: "PENDING",
127
- READY: "READY",
128
- };
129
- exports.HttpMethod = {
130
- POST: "POST",
131
- PUT: "PUT",
132
- };
133
- var NotificationConfiguration;
134
- (function (NotificationConfiguration) {
135
- NotificationConfiguration.visit = (value, visitor) => {
136
- if (value.sqsNotificationConfiguration !== undefined)
137
- return visitor.sqsNotificationConfiguration(value.sqsNotificationConfiguration);
138
- if (value.httpsNotificationConfiguration !== undefined)
139
- return visitor.httpsNotificationConfiguration(value.httpsNotificationConfiguration);
140
- return visitor._(value.$unknown[0], value.$unknown[1]);
141
- };
142
- })(NotificationConfiguration = exports.NotificationConfiguration || (exports.NotificationConfiguration = {}));
143
- exports.SourceCollectionStatus = {
144
- COLLECTING: "COLLECTING",
145
- MISCONFIGURED: "MISCONFIGURED",
146
- NOT_COLLECTING: "NOT_COLLECTING",
147
- };
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetDataLakeSources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetDataLakeSourcesCommand_1 = require("../commands/GetDataLakeSourcesCommand");
6
- const SecurityLakeClient_1 = require("../SecurityLakeClient");
7
- exports.paginateGetDataLakeSources = (0, core_1.createPaginator)(SecurityLakeClient_1.SecurityLakeClient, GetDataLakeSourcesCommand_1.GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDataLakeExceptions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListDataLakeExceptionsCommand_1 = require("../commands/ListDataLakeExceptionsCommand");
6
- const SecurityLakeClient_1 = require("../SecurityLakeClient");
7
- exports.paginateListDataLakeExceptions = (0, core_1.createPaginator)(SecurityLakeClient_1.SecurityLakeClient, ListDataLakeExceptionsCommand_1.ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListLogSources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListLogSourcesCommand_1 = require("../commands/ListLogSourcesCommand");
6
- const SecurityLakeClient_1 = require("../SecurityLakeClient");
7
- exports.paginateListLogSources = (0, core_1.createPaginator)(SecurityLakeClient_1.SecurityLakeClient, ListLogSourcesCommand_1.ListLogSourcesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSubscribers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSubscribersCommand_1 = require("../commands/ListSubscribersCommand");
6
- const SecurityLakeClient_1 = require("../SecurityLakeClient");
7
- exports.paginateListSubscribers = (0, core_1.createPaginator)(SecurityLakeClient_1.SecurityLakeClient, ListSubscribersCommand_1.ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GetDataLakeSourcesPaginator"), exports);
5
- tslib_1.__exportStar(require("./Interfaces"), exports);
6
- tslib_1.__exportStar(require("./ListDataLakeExceptionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListLogSourcesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListSubscribersPaginator"), exports);
1
+ module.exports = require("../index.js");