@aws-sdk/client-cloudtrail 3.477.0 → 3.478.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/pagination/GetQueryResultsPaginator.js +2 -23
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventDataStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportFailuresPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPublicKeysPaginator.js +2 -23
- package/dist-cjs/pagination/ListQueriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsPaginator.js +2 -23
- package/dist-cjs/pagination/ListTrailsPaginator.js +2 -23
- package/dist-cjs/pagination/LookupEventsPaginator.js +2 -24
- package/dist-es/pagination/GetQueryResultsPaginator.js +2 -22
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListEventDataStoresPaginator.js +2 -23
- package/dist-es/pagination/ListImportFailuresPaginator.js +2 -23
- package/dist-es/pagination/ListImportsPaginator.js +2 -23
- package/dist-es/pagination/ListPublicKeysPaginator.js +2 -22
- package/dist-es/pagination/ListQueriesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsPaginator.js +2 -22
- package/dist-es/pagination/ListTrailsPaginator.js +2 -22
- package/dist-es/pagination/LookupEventsPaginator.js +2 -23
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportFailuresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPublicKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrailsPaginator.d.ts +1 -1
- package/dist-types/pagination/LookupEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetQueryResults = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const GetQueryResultsCommand_1 = require("../commands/GetQueryResultsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetQueryResultsCommand_1.GetQueryResultsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetQueryResults(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateGetQueryResults = paginateGetQueryResults;
|
|
7
|
+
exports.paginateGetQueryResults = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, GetQueryResultsCommand_1.GetQueryResultsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListChannels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListChannelsCommand_1 = require("../commands/ListChannelsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListChannelsCommand_1.ListChannelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListChannels = paginateListChannels;
|
|
7
|
+
exports.paginateListChannels = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListChannelsCommand_1.ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListEventDataStores = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListEventDataStoresCommand_1 = require("../commands/ListEventDataStoresCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListEventDataStoresCommand_1.ListEventDataStoresCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListEventDataStores(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListEventDataStores = paginateListEventDataStores;
|
|
7
|
+
exports.paginateListEventDataStores = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListEventDataStoresCommand_1.ListEventDataStoresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImportFailures = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListImportFailuresCommand_1 = require("../commands/ListImportFailuresCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImportFailuresCommand_1.ListImportFailuresCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImportFailures(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImportFailures = paginateListImportFailures;
|
|
7
|
+
exports.paginateListImportFailures = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListImportFailuresCommand_1.ListImportFailuresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImports = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListImportsCommand_1 = require("../commands/ListImportsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImportsCommand_1.ListImportsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImports(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImports = paginateListImports;
|
|
7
|
+
exports.paginateListImports = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListImportsCommand_1.ListImportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPublicKeys = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListPublicKeysCommand_1 = require("../commands/ListPublicKeysCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPublicKeysCommand_1.ListPublicKeysCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPublicKeys(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListPublicKeys = paginateListPublicKeys;
|
|
7
|
+
exports.paginateListPublicKeys = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListPublicKeysCommand_1.ListPublicKeysCommand, "NextToken", "NextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQueries = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListQueriesCommand_1 = require("../commands/ListQueriesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQueriesCommand_1.ListQueriesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQueries(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListQueries = paginateListQueries;
|
|
7
|
+
exports.paginateListQueries = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListQueriesCommand_1.ListQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTags = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListTagsCommand_1 = require("../commands/ListTagsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTagsCommand_1.ListTagsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTags(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListTags = paginateListTags;
|
|
7
|
+
exports.paginateListTags = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListTagsCommand_1.ListTagsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTrails = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const ListTrailsCommand_1 = require("../commands/ListTrailsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTrailsCommand_1.ListTrailsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTrails(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.NextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListTrails = paginateListTrails;
|
|
7
|
+
exports.paginateListTrails = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, ListTrailsCommand_1.ListTrailsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateLookupEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CloudTrailClient_1 = require("../CloudTrailClient");
|
|
5
6
|
const LookupEventsCommand_1 = require("../commands/LookupEventsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new LookupEventsCommand_1.LookupEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateLookupEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CloudTrailClient_1.CloudTrailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateLookupEvents = paginateLookupEvents;
|
|
7
|
+
exports.paginateLookupEvents = (0, core_1.createPaginator)(CloudTrailClient_1.CloudTrailClient, LookupEventsCommand_1.LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { GetQueryResultsCommand, } from "../commands/GetQueryResultsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetQueryResultsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetQueryResults(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateGetQueryResults = createPaginator(CloudTrailClient, GetQueryResultsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChannels = createPaginator(CloudTrailClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListEventDataStoresCommand, } from "../commands/ListEventDataStoresCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventDataStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEventDataStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEventDataStores = createPaginator(CloudTrailClient, ListEventDataStoresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListImportFailuresCommand, } from "../commands/ListImportFailuresCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImportFailuresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImportFailures(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListImportFailures = createPaginator(CloudTrailClient, ListImportFailuresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListImportsCommand } from "../commands/ListImportsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImports(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListImports = createPaginator(CloudTrailClient, ListImportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListPublicKeysCommand, } from "../commands/ListPublicKeysCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPublicKeysCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPublicKeys(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListPublicKeys = createPaginator(CloudTrailClient, ListPublicKeysCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListQueriesCommand } from "../commands/ListQueriesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQueriesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQueries(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListQueries = createPaginator(CloudTrailClient, ListQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListTagsCommand } from "../commands/ListTagsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTags(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTags = createPaginator(CloudTrailClient, ListTagsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListTrailsCommand } from "../commands/ListTrailsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrailsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrails(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTrails = createPaginator(CloudTrailClient, ListTrailsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { LookupEventsCommand, } from "../commands/LookupEventsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new LookupEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateLookupEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateLookupEvents = createPaginator(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetQueryResults: (config: CloudTrailPaginationConfiguration, input: GetQueryResultsCommandInput, ...rest: any[]) => Paginator<GetQueryResultsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListChannels: (config: CloudTrailPaginationConfiguration, input: ListChannelsCommandInput, ...rest: any[]) => Paginator<ListChannelsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventDataStores: (config: CloudTrailPaginationConfiguration, input: ListEventDataStoresCommandInput, ...rest: any[]) => Paginator<ListEventDataStoresCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportFailures: (config: CloudTrailPaginationConfiguration, input: ListImportFailuresCommandInput, ...rest: any[]) => Paginator<ListImportFailuresCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImports: (config: CloudTrailPaginationConfiguration, input: ListImportsCommandInput, ...rest: any[]) => Paginator<ListImportsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPublicKeys: (config: CloudTrailPaginationConfiguration, input: ListPublicKeysCommandInput, ...rest: any[]) => Paginator<ListPublicKeysCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListQueries: (config: CloudTrailPaginationConfiguration, input: ListQueriesCommandInput, ...rest: any[]) => Paginator<ListQueriesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTags: (config: CloudTrailPaginationConfiguration, input: ListTagsCommandInput, ...rest: any[]) => Paginator<ListTagsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTrails: (config: CloudTrailPaginationConfiguration, input: ListTrailsCommandInput, ...rest: any[]) => Paginator<ListTrailsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateLookupEvents: (config: CloudTrailPaginationConfiguration, input: LookupEventsCommandInput, ...rest: any[]) => Paginator<LookupEventsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetQueryResultsCommandOutput,
|
|
5
5
|
} from "../commands/GetQueryResultsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetQueryResults: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: GetQueryResultsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetQueryResultsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListChannelsCommandOutput,
|
|
5
5
|
} from "../commands/ListChannelsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListChannels: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListChannelsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListChannelsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListEventDataStoresCommandOutput,
|
|
5
5
|
} from "../commands/ListEventDataStoresCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventDataStores: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListEventDataStoresCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListEventDataStoresCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListImportFailuresCommandOutput,
|
|
5
5
|
} from "../commands/ListImportFailuresCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImportFailures: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListImportFailuresCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListImportFailuresCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListImportsCommandOutput,
|
|
5
5
|
} from "../commands/ListImportsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListImports: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListImportsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListImportsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPublicKeysCommandOutput,
|
|
5
5
|
} from "../commands/ListPublicKeysCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPublicKeys: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListPublicKeysCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPublicKeysCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListQueriesCommandOutput,
|
|
5
5
|
} from "../commands/ListQueriesCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListQueries: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListQueriesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListQueriesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListTagsCommandOutput,
|
|
5
5
|
} from "../commands/ListTagsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTags: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListTagsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTagsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListTrailsCommandOutput,
|
|
5
5
|
} from "../commands/ListTrailsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTrails: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: ListTrailsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTrailsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
LookupEventsCommandOutput,
|
|
5
5
|
} from "../commands/LookupEventsCommand";
|
|
6
6
|
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateLookupEvents: (
|
|
8
8
|
config: CloudTrailPaginationConfiguration,
|
|
9
9
|
input: LookupEventsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<LookupEventsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,20 +20,21 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|