@aws-sdk/client-securitylake 3.974.0 → 3.978.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.
- package/dist-cjs/index.js +15 -9
- package/dist-es/SecurityLake.js +11 -1
- package/dist-types/SecurityLake.d.ts +29 -1
- package/dist-types/ts3.4/SecurityLake.d.ts +33 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1443,6 +1443,14 @@ class UpdateSubscriberNotificationCommand extends smithyClient.Command
|
|
|
1443
1443
|
.build() {
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
1446
|
+
const paginateGetDataLakeSources = core.createPaginator(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1447
|
+
|
|
1448
|
+
const paginateListDataLakeExceptions = core.createPaginator(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1449
|
+
|
|
1450
|
+
const paginateListLogSources = core.createPaginator(SecurityLakeClient, ListLogSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1451
|
+
|
|
1452
|
+
const paginateListSubscribers = core.createPaginator(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
|
|
1453
|
+
|
|
1446
1454
|
const commands = {
|
|
1447
1455
|
CreateAwsLogSourceCommand,
|
|
1448
1456
|
CreateCustomLogSourceCommand,
|
|
@@ -1476,17 +1484,15 @@ const commands = {
|
|
|
1476
1484
|
UpdateSubscriberCommand,
|
|
1477
1485
|
UpdateSubscriberNotificationCommand,
|
|
1478
1486
|
};
|
|
1487
|
+
const paginators = {
|
|
1488
|
+
paginateGetDataLakeSources,
|
|
1489
|
+
paginateListDataLakeExceptions,
|
|
1490
|
+
paginateListLogSources,
|
|
1491
|
+
paginateListSubscribers,
|
|
1492
|
+
};
|
|
1479
1493
|
class SecurityLake extends SecurityLakeClient {
|
|
1480
1494
|
}
|
|
1481
|
-
smithyClient.createAggregatedClient(commands, SecurityLake);
|
|
1482
|
-
|
|
1483
|
-
const paginateGetDataLakeSources = core.createPaginator(SecurityLakeClient, GetDataLakeSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1484
|
-
|
|
1485
|
-
const paginateListDataLakeExceptions = core.createPaginator(SecurityLakeClient, ListDataLakeExceptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1486
|
-
|
|
1487
|
-
const paginateListLogSources = core.createPaginator(SecurityLakeClient, ListLogSourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1488
|
-
|
|
1489
|
-
const paginateListSubscribers = core.createPaginator(SecurityLakeClient, ListSubscribersCommand, "nextToken", "nextToken", "maxResults");
|
|
1495
|
+
smithyClient.createAggregatedClient(commands, SecurityLake, { paginators });
|
|
1490
1496
|
|
|
1491
1497
|
const AccessType = {
|
|
1492
1498
|
LAKEFORMATION: "LAKEFORMATION",
|
package/dist-es/SecurityLake.js
CHANGED
|
@@ -30,6 +30,10 @@ import { UpdateDataLakeCommand, } from "./commands/UpdateDataLakeCommand";
|
|
|
30
30
|
import { UpdateDataLakeExceptionSubscriptionCommand, } from "./commands/UpdateDataLakeExceptionSubscriptionCommand";
|
|
31
31
|
import { UpdateSubscriberCommand, } from "./commands/UpdateSubscriberCommand";
|
|
32
32
|
import { UpdateSubscriberNotificationCommand, } from "./commands/UpdateSubscriberNotificationCommand";
|
|
33
|
+
import { paginateGetDataLakeSources } from "./pagination/GetDataLakeSourcesPaginator";
|
|
34
|
+
import { paginateListDataLakeExceptions } from "./pagination/ListDataLakeExceptionsPaginator";
|
|
35
|
+
import { paginateListLogSources } from "./pagination/ListLogSourcesPaginator";
|
|
36
|
+
import { paginateListSubscribers } from "./pagination/ListSubscribersPaginator";
|
|
33
37
|
import { SecurityLakeClient } from "./SecurityLakeClient";
|
|
34
38
|
const commands = {
|
|
35
39
|
CreateAwsLogSourceCommand,
|
|
@@ -64,6 +68,12 @@ const commands = {
|
|
|
64
68
|
UpdateSubscriberCommand,
|
|
65
69
|
UpdateSubscriberNotificationCommand,
|
|
66
70
|
};
|
|
71
|
+
const paginators = {
|
|
72
|
+
paginateGetDataLakeSources,
|
|
73
|
+
paginateListDataLakeExceptions,
|
|
74
|
+
paginateListLogSources,
|
|
75
|
+
paginateListSubscribers,
|
|
76
|
+
};
|
|
67
77
|
export class SecurityLake extends SecurityLakeClient {
|
|
68
78
|
}
|
|
69
|
-
createAggregatedClient(commands, SecurityLake);
|
|
79
|
+
createAggregatedClient(commands, SecurityLake, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateAwsLogSourceCommandInput, CreateAwsLogSourceCommandOutput } from "./commands/CreateAwsLogSourceCommand";
|
|
3
3
|
import { CreateCustomLogSourceCommandInput, CreateCustomLogSourceCommandOutput } from "./commands/CreateCustomLogSourceCommand";
|
|
4
4
|
import { CreateDataLakeCommandInput, CreateDataLakeCommandOutput } from "./commands/CreateDataLakeCommand";
|
|
@@ -229,6 +229,34 @@ export interface SecurityLake {
|
|
|
229
229
|
updateSubscriberNotification(args: UpdateSubscriberNotificationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSubscriberNotificationCommandOutput>;
|
|
230
230
|
updateSubscriberNotification(args: UpdateSubscriberNotificationCommandInput, cb: (err: any, data?: UpdateSubscriberNotificationCommandOutput) => void): void;
|
|
231
231
|
updateSubscriberNotification(args: UpdateSubscriberNotificationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSubscriberNotificationCommandOutput) => void): void;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link GetDataLakeSourcesCommand}
|
|
234
|
+
* @param args - command input.
|
|
235
|
+
* @param paginationConfig - optional pagination config.
|
|
236
|
+
* @returns AsyncIterable of {@link GetDataLakeSourcesCommandOutput}.
|
|
237
|
+
*/
|
|
238
|
+
paginateGetDataLakeSources(args?: GetDataLakeSourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetDataLakeSourcesCommandOutput>;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link ListDataLakeExceptionsCommand}
|
|
241
|
+
* @param args - command input.
|
|
242
|
+
* @param paginationConfig - optional pagination config.
|
|
243
|
+
* @returns AsyncIterable of {@link ListDataLakeExceptionsCommandOutput}.
|
|
244
|
+
*/
|
|
245
|
+
paginateListDataLakeExceptions(args?: ListDataLakeExceptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataLakeExceptionsCommandOutput>;
|
|
246
|
+
/**
|
|
247
|
+
* @see {@link ListLogSourcesCommand}
|
|
248
|
+
* @param args - command input.
|
|
249
|
+
* @param paginationConfig - optional pagination config.
|
|
250
|
+
* @returns AsyncIterable of {@link ListLogSourcesCommandOutput}.
|
|
251
|
+
*/
|
|
252
|
+
paginateListLogSources(args?: ListLogSourcesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogSourcesCommandOutput>;
|
|
253
|
+
/**
|
|
254
|
+
* @see {@link ListSubscribersCommand}
|
|
255
|
+
* @param args - command input.
|
|
256
|
+
* @param paginationConfig - optional pagination config.
|
|
257
|
+
* @returns AsyncIterable of {@link ListSubscribersCommandOutput}.
|
|
258
|
+
*/
|
|
259
|
+
paginateListSubscribers(args?: ListSubscribersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSubscribersCommandOutput>;
|
|
232
260
|
}
|
|
233
261
|
/**
|
|
234
262
|
* <p>Amazon Security Lake is a fully managed security data lake service. You can use Security Lake to
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateAwsLogSourceCommandInput,
|
|
4
8
|
CreateAwsLogSourceCommandOutput,
|
|
@@ -587,6 +591,34 @@ export interface SecurityLake {
|
|
|
587
591
|
options: __HttpHandlerOptions,
|
|
588
592
|
cb: (err: any, data?: UpdateSubscriberNotificationCommandOutput) => void
|
|
589
593
|
): void;
|
|
594
|
+
paginateGetDataLakeSources(
|
|
595
|
+
args?: GetDataLakeSourcesCommandInput,
|
|
596
|
+
paginationConfig?: Pick<
|
|
597
|
+
PaginationConfiguration,
|
|
598
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
599
|
+
>
|
|
600
|
+
): Paginator<GetDataLakeSourcesCommandOutput>;
|
|
601
|
+
paginateListDataLakeExceptions(
|
|
602
|
+
args?: ListDataLakeExceptionsCommandInput,
|
|
603
|
+
paginationConfig?: Pick<
|
|
604
|
+
PaginationConfiguration,
|
|
605
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
606
|
+
>
|
|
607
|
+
): Paginator<ListDataLakeExceptionsCommandOutput>;
|
|
608
|
+
paginateListLogSources(
|
|
609
|
+
args?: ListLogSourcesCommandInput,
|
|
610
|
+
paginationConfig?: Pick<
|
|
611
|
+
PaginationConfiguration,
|
|
612
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
613
|
+
>
|
|
614
|
+
): Paginator<ListLogSourcesCommandOutput>;
|
|
615
|
+
paginateListSubscribers(
|
|
616
|
+
args?: ListSubscribersCommandInput,
|
|
617
|
+
paginationConfig?: Pick<
|
|
618
|
+
PaginationConfiguration,
|
|
619
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
620
|
+
>
|
|
621
|
+
): Paginator<ListSubscribersCommandOutput>;
|
|
590
622
|
}
|
|
591
623
|
export declare class SecurityLake
|
|
592
624
|
extends SecurityLakeClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securitylake",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securitylake Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securitylake",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|