@aws-sdk/client-xray 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.
Files changed (49) hide show
  1. package/dist-cjs/pagination/BatchGetTracesPaginator.js +2 -23
  2. package/dist-cjs/pagination/GetGroupsPaginator.js +2 -23
  3. package/dist-cjs/pagination/GetInsightEventsPaginator.js +2 -24
  4. package/dist-cjs/pagination/GetInsightSummariesPaginator.js +2 -24
  5. package/dist-cjs/pagination/GetSamplingRulesPaginator.js +2 -23
  6. package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js +2 -23
  7. package/dist-cjs/pagination/GetServiceGraphPaginator.js +2 -23
  8. package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js +2 -23
  9. package/dist-cjs/pagination/GetTraceGraphPaginator.js +2 -23
  10. package/dist-cjs/pagination/GetTraceSummariesPaginator.js +2 -23
  11. package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +2 -23
  12. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -23
  13. package/dist-es/pagination/BatchGetTracesPaginator.js +2 -22
  14. package/dist-es/pagination/GetGroupsPaginator.js +2 -22
  15. package/dist-es/pagination/GetInsightEventsPaginator.js +2 -23
  16. package/dist-es/pagination/GetInsightSummariesPaginator.js +2 -23
  17. package/dist-es/pagination/GetSamplingRulesPaginator.js +2 -22
  18. package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +2 -22
  19. package/dist-es/pagination/GetServiceGraphPaginator.js +2 -22
  20. package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +2 -22
  21. package/dist-es/pagination/GetTraceGraphPaginator.js +2 -22
  22. package/dist-es/pagination/GetTraceSummariesPaginator.js +2 -22
  23. package/dist-es/pagination/ListResourcePoliciesPaginator.js +2 -22
  24. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -22
  25. package/dist-types/pagination/BatchGetTracesPaginator.d.ts +1 -1
  26. package/dist-types/pagination/GetGroupsPaginator.d.ts +1 -1
  27. package/dist-types/pagination/GetInsightEventsPaginator.d.ts +1 -1
  28. package/dist-types/pagination/GetInsightSummariesPaginator.d.ts +1 -1
  29. package/dist-types/pagination/GetSamplingRulesPaginator.d.ts +1 -1
  30. package/dist-types/pagination/GetSamplingStatisticSummariesPaginator.d.ts +1 -1
  31. package/dist-types/pagination/GetServiceGraphPaginator.d.ts +1 -1
  32. package/dist-types/pagination/GetTimeSeriesServiceStatisticsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/GetTraceGraphPaginator.d.ts +1 -1
  34. package/dist-types/pagination/GetTraceSummariesPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  37. package/dist-types/ts3.4/pagination/BatchGetTracesPaginator.d.ts +3 -3
  38. package/dist-types/ts3.4/pagination/GetGroupsPaginator.d.ts +3 -3
  39. package/dist-types/ts3.4/pagination/GetInsightEventsPaginator.d.ts +3 -3
  40. package/dist-types/ts3.4/pagination/GetInsightSummariesPaginator.d.ts +3 -3
  41. package/dist-types/ts3.4/pagination/GetSamplingRulesPaginator.d.ts +3 -3
  42. package/dist-types/ts3.4/pagination/GetSamplingStatisticSummariesPaginator.d.ts +3 -3
  43. package/dist-types/ts3.4/pagination/GetServiceGraphPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/GetTimeSeriesServiceStatisticsPaginator.d.ts +3 -3
  45. package/dist-types/ts3.4/pagination/GetTraceGraphPaginator.d.ts +3 -3
  46. package/dist-types/ts3.4/pagination/GetTraceSummariesPaginator.d.ts +3 -3
  47. package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +3 -3
  48. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  49. package/package.json +5 -5
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateBatchGetTraces = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const BatchGetTracesCommand_1 = require("../commands/BatchGetTracesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new BatchGetTracesCommand_1.BatchGetTracesCommand(input), ...args);
8
- };
9
- async function* paginateBatchGetTraces(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateBatchGetTraces = paginateBatchGetTraces;
7
+ exports.paginateBatchGetTraces = (0, core_1.createPaginator)(XRayClient_1.XRayClient, BatchGetTracesCommand_1.BatchGetTracesCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetGroups = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetGroupsCommand_1 = require("../commands/GetGroupsCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetGroupsCommand_1.GetGroupsCommand(input), ...args);
8
- };
9
- async function* paginateGetGroups(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetGroups = paginateGetGroups;
7
+ exports.paginateGetGroups = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetGroupsCommand_1.GetGroupsCommand, "NextToken", "NextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetInsightEvents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetInsightEventsCommand_1 = require("../commands/GetInsightEventsCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetInsightEventsCommand_1.GetInsightEventsCommand(input), ...args);
8
- };
9
- async function* paginateGetInsightEvents(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 XRayClient_1.XRayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetInsightEvents = paginateGetInsightEvents;
7
+ exports.paginateGetInsightEvents = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetInsightEventsCommand_1.GetInsightEventsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetInsightSummaries = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetInsightSummariesCommand_1 = require("../commands/GetInsightSummariesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetInsightSummariesCommand_1.GetInsightSummariesCommand(input), ...args);
8
- };
9
- async function* paginateGetInsightSummaries(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 XRayClient_1.XRayClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetInsightSummaries = paginateGetInsightSummaries;
7
+ exports.paginateGetInsightSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetInsightSummariesCommand_1.GetInsightSummariesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetSamplingRules = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetSamplingRulesCommand_1 = require("../commands/GetSamplingRulesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetSamplingRulesCommand_1.GetSamplingRulesCommand(input), ...args);
8
- };
9
- async function* paginateGetSamplingRules(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetSamplingRules = paginateGetSamplingRules;
7
+ exports.paginateGetSamplingRules = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetSamplingRulesCommand_1.GetSamplingRulesCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetSamplingStatisticSummaries = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetSamplingStatisticSummariesCommand_1 = require("../commands/GetSamplingStatisticSummariesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetSamplingStatisticSummariesCommand_1.GetSamplingStatisticSummariesCommand(input), ...args);
8
- };
9
- async function* paginateGetSamplingStatisticSummaries(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetSamplingStatisticSummaries = paginateGetSamplingStatisticSummaries;
7
+ exports.paginateGetSamplingStatisticSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetSamplingStatisticSummariesCommand_1.GetSamplingStatisticSummariesCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetServiceGraph = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetServiceGraphCommand_1 = require("../commands/GetServiceGraphCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetServiceGraphCommand_1.GetServiceGraphCommand(input), ...args);
8
- };
9
- async function* paginateGetServiceGraph(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetServiceGraph = paginateGetServiceGraph;
7
+ exports.paginateGetServiceGraph = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetServiceGraphCommand_1.GetServiceGraphCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetTimeSeriesServiceStatistics = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetTimeSeriesServiceStatisticsCommand_1 = require("../commands/GetTimeSeriesServiceStatisticsCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetTimeSeriesServiceStatisticsCommand_1.GetTimeSeriesServiceStatisticsCommand(input), ...args);
8
- };
9
- async function* paginateGetTimeSeriesServiceStatistics(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetTimeSeriesServiceStatistics = paginateGetTimeSeriesServiceStatistics;
7
+ exports.paginateGetTimeSeriesServiceStatistics = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTimeSeriesServiceStatisticsCommand_1.GetTimeSeriesServiceStatisticsCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetTraceGraph = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetTraceGraphCommand_1 = require("../commands/GetTraceGraphCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetTraceGraphCommand_1.GetTraceGraphCommand(input), ...args);
8
- };
9
- async function* paginateGetTraceGraph(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetTraceGraph = paginateGetTraceGraph;
7
+ exports.paginateGetTraceGraph = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTraceGraphCommand_1.GetTraceGraphCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetTraceSummaries = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetTraceSummariesCommand_1 = require("../commands/GetTraceSummariesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetTraceSummariesCommand_1.GetTraceSummariesCommand(input), ...args);
8
- };
9
- async function* paginateGetTraceSummaries(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateGetTraceSummaries = paginateGetTraceSummaries;
7
+ exports.paginateGetTraceSummaries = (0, core_1.createPaginator)(XRayClient_1.XRayClient, GetTraceSummariesCommand_1.GetTraceSummariesCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListResourcePolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListResourcePoliciesCommand_1 = require("../commands/ListResourcePoliciesCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListResourcePoliciesCommand_1.ListResourcePoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListResourcePolicies(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateListResourcePolicies = paginateListResourcePolicies;
7
+ exports.paginateListResourcePolicies = (0, core_1.createPaginator)(XRayClient_1.XRayClient, ListResourcePoliciesCommand_1.ListResourcePoliciesCommand, "NextToken", "NextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const XRayClient_1 = require("../XRayClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(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 XRayClient_1.XRayClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected XRay | XRayClient");
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.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(XRayClient_1.XRayClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { BatchGetTracesCommand, } from "../commands/BatchGetTracesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new BatchGetTracesCommand(input), ...args);
5
- };
6
- export async function* paginateBatchGetTraces(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateBatchGetTraces = createPaginator(XRayClient, BatchGetTracesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetGroupsCommand } from "../commands/GetGroupsCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateGetGroups(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetGroups = createPaginator(XRayClient, GetGroupsCommand, "NextToken", "NextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetInsightEventsCommand, } from "../commands/GetInsightEventsCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetInsightEventsCommand(input), ...args);
5
- };
6
- export async function* paginateGetInsightEvents(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 XRayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetInsightEvents = createPaginator(XRayClient, GetInsightEventsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetInsightSummariesCommand, } from "../commands/GetInsightSummariesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetInsightSummariesCommand(input), ...args);
5
- };
6
- export async function* paginateGetInsightSummaries(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 XRayClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetInsightSummaries = createPaginator(XRayClient, GetInsightSummariesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetSamplingRulesCommand, } from "../commands/GetSamplingRulesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetSamplingRulesCommand(input), ...args);
5
- };
6
- export async function* paginateGetSamplingRules(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetSamplingRules = createPaginator(XRayClient, GetSamplingRulesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetSamplingStatisticSummariesCommand, } from "../commands/GetSamplingStatisticSummariesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetSamplingStatisticSummariesCommand(input), ...args);
5
- };
6
- export async function* paginateGetSamplingStatisticSummaries(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetSamplingStatisticSummaries = createPaginator(XRayClient, GetSamplingStatisticSummariesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetServiceGraphCommand, } from "../commands/GetServiceGraphCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetServiceGraphCommand(input), ...args);
5
- };
6
- export async function* paginateGetServiceGraph(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetServiceGraph = createPaginator(XRayClient, GetServiceGraphCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetTimeSeriesServiceStatisticsCommand, } from "../commands/GetTimeSeriesServiceStatisticsCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetTimeSeriesServiceStatisticsCommand(input), ...args);
5
- };
6
- export async function* paginateGetTimeSeriesServiceStatistics(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetTimeSeriesServiceStatistics = createPaginator(XRayClient, GetTimeSeriesServiceStatisticsCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetTraceGraphCommand, } from "../commands/GetTraceGraphCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetTraceGraphCommand(input), ...args);
5
- };
6
- export async function* paginateGetTraceGraph(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetTraceGraph = createPaginator(XRayClient, GetTraceGraphCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetTraceSummariesCommand, } from "../commands/GetTraceSummariesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetTraceSummariesCommand(input), ...args);
5
- };
6
- export async function* paginateGetTraceSummaries(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateGetTraceSummaries = createPaginator(XRayClient, GetTraceSummariesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListResourcePoliciesCommand, } from "../commands/ListResourcePoliciesCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListResourcePoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateListResourcePolicies(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateListResourcePolicies = createPaginator(XRayClient, ListResourcePoliciesCommand, "NextToken", "NextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
2
3
  import { XRayClient } from "../XRayClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTagsForResourceCommand(input), ...args);
5
- };
6
- export async function* paginateListTagsForResource(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 XRayClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected XRay | XRayClient");
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 paginateListTagsForResource = createPaginator(XRayClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateBatchGetTraces(config: XRayPaginationConfiguration, input: BatchGetTracesCommandInput, ...additionalArguments: any): Paginator<BatchGetTracesCommandOutput>;
7
+ export declare const paginateBatchGetTraces: (config: XRayPaginationConfiguration, input: BatchGetTracesCommandInput, ...rest: any[]) => Paginator<BatchGetTracesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetGroups(config: XRayPaginationConfiguration, input: GetGroupsCommandInput, ...additionalArguments: any): Paginator<GetGroupsCommandOutput>;
7
+ export declare const paginateGetGroups: (config: XRayPaginationConfiguration, input: GetGroupsCommandInput, ...rest: any[]) => Paginator<GetGroupsCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetInsightEvents(config: XRayPaginationConfiguration, input: GetInsightEventsCommandInput, ...additionalArguments: any): Paginator<GetInsightEventsCommandOutput>;
7
+ export declare const paginateGetInsightEvents: (config: XRayPaginationConfiguration, input: GetInsightEventsCommandInput, ...rest: any[]) => Paginator<GetInsightEventsCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetInsightSummaries(config: XRayPaginationConfiguration, input: GetInsightSummariesCommandInput, ...additionalArguments: any): Paginator<GetInsightSummariesCommandOutput>;
7
+ export declare const paginateGetInsightSummaries: (config: XRayPaginationConfiguration, input: GetInsightSummariesCommandInput, ...rest: any[]) => Paginator<GetInsightSummariesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetSamplingRules(config: XRayPaginationConfiguration, input: GetSamplingRulesCommandInput, ...additionalArguments: any): Paginator<GetSamplingRulesCommandOutput>;
7
+ export declare const paginateGetSamplingRules: (config: XRayPaginationConfiguration, input: GetSamplingRulesCommandInput, ...rest: any[]) => Paginator<GetSamplingRulesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetSamplingStatisticSummaries(config: XRayPaginationConfiguration, input: GetSamplingStatisticSummariesCommandInput, ...additionalArguments: any): Paginator<GetSamplingStatisticSummariesCommandOutput>;
7
+ export declare const paginateGetSamplingStatisticSummaries: (config: XRayPaginationConfiguration, input: GetSamplingStatisticSummariesCommandInput, ...rest: any[]) => Paginator<GetSamplingStatisticSummariesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetServiceGraph(config: XRayPaginationConfiguration, input: GetServiceGraphCommandInput, ...additionalArguments: any): Paginator<GetServiceGraphCommandOutput>;
7
+ export declare const paginateGetServiceGraph: (config: XRayPaginationConfiguration, input: GetServiceGraphCommandInput, ...rest: any[]) => Paginator<GetServiceGraphCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetTimeSeriesServiceStatistics(config: XRayPaginationConfiguration, input: GetTimeSeriesServiceStatisticsCommandInput, ...additionalArguments: any): Paginator<GetTimeSeriesServiceStatisticsCommandOutput>;
7
+ export declare const paginateGetTimeSeriesServiceStatistics: (config: XRayPaginationConfiguration, input: GetTimeSeriesServiceStatisticsCommandInput, ...rest: any[]) => Paginator<GetTimeSeriesServiceStatisticsCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetTraceGraph(config: XRayPaginationConfiguration, input: GetTraceGraphCommandInput, ...additionalArguments: any): Paginator<GetTraceGraphCommandOutput>;
7
+ export declare const paginateGetTraceGraph: (config: XRayPaginationConfiguration, input: GetTraceGraphCommandInput, ...rest: any[]) => Paginator<GetTraceGraphCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetTraceSummaries(config: XRayPaginationConfiguration, input: GetTraceSummariesCommandInput, ...additionalArguments: any): Paginator<GetTraceSummariesCommandOutput>;
7
+ export declare const paginateGetTraceSummaries: (config: XRayPaginationConfiguration, input: GetTraceSummariesCommandInput, ...rest: any[]) => Paginator<GetTraceSummariesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListResourcePolicies(config: XRayPaginationConfiguration, input: ListResourcePoliciesCommandInput, ...additionalArguments: any): Paginator<ListResourcePoliciesCommandOutput>;
7
+ export declare const paginateListResourcePolicies: (config: XRayPaginationConfiguration, input: ListResourcePoliciesCommandInput, ...rest: any[]) => Paginator<ListResourcePoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { XRayPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTagsForResource(config: XRayPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
7
+ export declare const paginateListTagsForResource: (config: XRayPaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  BatchGetTracesCommandOutput,
5
5
  } from "../commands/BatchGetTracesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateBatchGetTraces(
7
+ export declare const paginateBatchGetTraces: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: BatchGetTracesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<BatchGetTracesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<BatchGetTracesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetGroupsCommandOutput,
5
5
  } from "../commands/GetGroupsCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetGroups(
7
+ export declare const paginateGetGroups: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetGroupsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetGroupsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetGroupsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetInsightEventsCommandOutput,
5
5
  } from "../commands/GetInsightEventsCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetInsightEvents(
7
+ export declare const paginateGetInsightEvents: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetInsightEventsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetInsightEventsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetInsightEventsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetInsightSummariesCommandOutput,
5
5
  } from "../commands/GetInsightSummariesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetInsightSummaries(
7
+ export declare const paginateGetInsightSummaries: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetInsightSummariesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetInsightSummariesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetInsightSummariesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetSamplingRulesCommandOutput,
5
5
  } from "../commands/GetSamplingRulesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetSamplingRules(
7
+ export declare const paginateGetSamplingRules: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetSamplingRulesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetSamplingRulesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetSamplingRulesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetSamplingStatisticSummariesCommandOutput,
5
5
  } from "../commands/GetSamplingStatisticSummariesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetSamplingStatisticSummaries(
7
+ export declare const paginateGetSamplingStatisticSummaries: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetSamplingStatisticSummariesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetSamplingStatisticSummariesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetSamplingStatisticSummariesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetServiceGraphCommandOutput,
5
5
  } from "../commands/GetServiceGraphCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetServiceGraph(
7
+ export declare const paginateGetServiceGraph: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetServiceGraphCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetServiceGraphCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetServiceGraphCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetTimeSeriesServiceStatisticsCommandOutput,
5
5
  } from "../commands/GetTimeSeriesServiceStatisticsCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetTimeSeriesServiceStatistics(
7
+ export declare const paginateGetTimeSeriesServiceStatistics: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetTimeSeriesServiceStatisticsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetTimeSeriesServiceStatisticsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetTimeSeriesServiceStatisticsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetTraceGraphCommandOutput,
5
5
  } from "../commands/GetTraceGraphCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetTraceGraph(
7
+ export declare const paginateGetTraceGraph: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetTraceGraphCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetTraceGraphCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetTraceGraphCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetTraceSummariesCommandOutput,
5
5
  } from "../commands/GetTraceSummariesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetTraceSummaries(
7
+ export declare const paginateGetTraceSummaries: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: GetTraceSummariesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetTraceSummariesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetTraceSummariesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListResourcePoliciesCommandOutput,
5
5
  } from "../commands/ListResourcePoliciesCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListResourcePolicies(
7
+ export declare const paginateListResourcePolicies: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: ListResourcePoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListResourcePoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListResourcePoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTagsForResourceCommandOutput,
5
5
  } from "../commands/ListTagsForResourceCommand";
6
6
  import { XRayPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTagsForResource(
7
+ export declare const paginateListTagsForResource: (
8
8
  config: XRayPaginationConfiguration,
9
9
  input: ListTagsForResourceCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTagsForResourceCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTagsForResourceCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
3
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
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,17 +20,17 @@
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.477.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
24
  "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
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.470.0",
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.470.0",
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",