@aws-sdk/client-ssm-incidents 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 (29) hide show
  1. package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +2 -24
  2. package/dist-cjs/pagination/ListIncidentFindingsPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListIncidentRecordsPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListRelatedItemsPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListReplicationSetsPaginator.js +2 -24
  6. package/dist-cjs/pagination/ListResponsePlansPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListTimelineEventsPaginator.js +2 -24
  8. package/dist-es/pagination/GetResourcePoliciesPaginator.js +2 -23
  9. package/dist-es/pagination/ListIncidentFindingsPaginator.js +2 -23
  10. package/dist-es/pagination/ListIncidentRecordsPaginator.js +2 -23
  11. package/dist-es/pagination/ListRelatedItemsPaginator.js +2 -23
  12. package/dist-es/pagination/ListReplicationSetsPaginator.js +2 -23
  13. package/dist-es/pagination/ListResponsePlansPaginator.js +2 -23
  14. package/dist-es/pagination/ListTimelineEventsPaginator.js +2 -23
  15. package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
  16. package/dist-types/pagination/ListIncidentFindingsPaginator.d.ts +1 -1
  17. package/dist-types/pagination/ListIncidentRecordsPaginator.d.ts +1 -1
  18. package/dist-types/pagination/ListRelatedItemsPaginator.d.ts +1 -1
  19. package/dist-types/pagination/ListReplicationSetsPaginator.d.ts +1 -1
  20. package/dist-types/pagination/ListResponsePlansPaginator.d.ts +1 -1
  21. package/dist-types/pagination/ListTimelineEventsPaginator.d.ts +1 -1
  22. package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts +3 -3
  23. package/dist-types/ts3.4/pagination/ListIncidentFindingsPaginator.d.ts +3 -3
  24. package/dist-types/ts3.4/pagination/ListIncidentRecordsPaginator.d.ts +3 -3
  25. package/dist-types/ts3.4/pagination/ListRelatedItemsPaginator.d.ts +3 -3
  26. package/dist-types/ts3.4/pagination/ListReplicationSetsPaginator.d.ts +3 -3
  27. package/dist-types/ts3.4/pagination/ListResponsePlansPaginator.d.ts +3 -3
  28. package/dist-types/ts3.4/pagination/ListTimelineEventsPaginator.d.ts +3 -3
  29. package/package.json +5 -5
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetResourcePolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetResourcePoliciesCommand_1 = require("../commands/GetResourcePoliciesCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetResourcePoliciesCommand_1.GetResourcePoliciesCommand(input), ...args);
8
- };
9
- async function* paginateGetResourcePolicies(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateGetResourcePolicies = paginateGetResourcePolicies;
7
+ exports.paginateGetResourcePolicies = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, GetResourcePoliciesCommand_1.GetResourcePoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIncidentFindings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIncidentFindingsCommand_1 = require("../commands/ListIncidentFindingsCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIncidentFindingsCommand_1.ListIncidentFindingsCommand(input), ...args);
8
- };
9
- async function* paginateListIncidentFindings(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListIncidentFindings = paginateListIncidentFindings;
7
+ exports.paginateListIncidentFindings = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListIncidentFindingsCommand_1.ListIncidentFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIncidentRecords = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListIncidentRecordsCommand_1 = require("../commands/ListIncidentRecordsCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIncidentRecordsCommand_1.ListIncidentRecordsCommand(input), ...args);
8
- };
9
- async function* paginateListIncidentRecords(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListIncidentRecords = paginateListIncidentRecords;
7
+ exports.paginateListIncidentRecords = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListIncidentRecordsCommand_1.ListIncidentRecordsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListRelatedItems = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListRelatedItemsCommand_1 = require("../commands/ListRelatedItemsCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListRelatedItemsCommand_1.ListRelatedItemsCommand(input), ...args);
8
- };
9
- async function* paginateListRelatedItems(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListRelatedItems = paginateListRelatedItems;
7
+ exports.paginateListRelatedItems = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListRelatedItemsCommand_1.ListRelatedItemsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListReplicationSets = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListReplicationSetsCommand_1 = require("../commands/ListReplicationSetsCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListReplicationSetsCommand_1.ListReplicationSetsCommand(input), ...args);
8
- };
9
- async function* paginateListReplicationSets(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListReplicationSets = paginateListReplicationSets;
7
+ exports.paginateListReplicationSets = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListReplicationSetsCommand_1.ListReplicationSetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListResponsePlans = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListResponsePlansCommand_1 = require("../commands/ListResponsePlansCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListResponsePlansCommand_1.ListResponsePlansCommand(input), ...args);
8
- };
9
- async function* paginateListResponsePlans(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListResponsePlans = paginateListResponsePlans;
7
+ exports.paginateListResponsePlans = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListResponsePlansCommand_1.ListResponsePlansCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTimelineEvents = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTimelineEventsCommand_1 = require("../commands/ListTimelineEventsCommand");
5
6
  const SSMIncidentsClient_1 = require("../SSMIncidentsClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTimelineEventsCommand_1.ListTimelineEventsCommand(input), ...args);
8
- };
9
- async function* paginateListTimelineEvents(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 SSMIncidentsClient_1.SSMIncidentsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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.paginateListTimelineEvents = paginateListTimelineEvents;
7
+ exports.paginateListTimelineEvents = (0, core_1.createPaginator)(SSMIncidentsClient_1.SSMIncidentsClient, ListTimelineEventsCommand_1.ListTimelineEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetResourcePoliciesCommand, } from "../commands/GetResourcePoliciesCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetResourcePoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateGetResourcePolicies(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateGetResourcePolicies = createPaginator(SSMIncidentsClient, GetResourcePoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListIncidentFindingsCommand, } from "../commands/ListIncidentFindingsCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListIncidentFindingsCommand(input), ...args);
5
- };
6
- export async function* paginateListIncidentFindings(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListIncidentFindings = createPaginator(SSMIncidentsClient, ListIncidentFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListIncidentRecordsCommand, } from "../commands/ListIncidentRecordsCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListIncidentRecordsCommand(input), ...args);
5
- };
6
- export async function* paginateListIncidentRecords(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListIncidentRecords = createPaginator(SSMIncidentsClient, ListIncidentRecordsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRelatedItemsCommand, } from "../commands/ListRelatedItemsCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRelatedItemsCommand(input), ...args);
5
- };
6
- export async function* paginateListRelatedItems(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListRelatedItems = createPaginator(SSMIncidentsClient, ListRelatedItemsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListReplicationSetsCommand, } from "../commands/ListReplicationSetsCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReplicationSetsCommand(input), ...args);
5
- };
6
- export async function* paginateListReplicationSets(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListReplicationSets = createPaginator(SSMIncidentsClient, ListReplicationSetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListResponsePlansCommand, } from "../commands/ListResponsePlansCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListResponsePlansCommand(input), ...args);
5
- };
6
- export async function* paginateListResponsePlans(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListResponsePlans = createPaginator(SSMIncidentsClient, ListResponsePlansCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTimelineEventsCommand, } from "../commands/ListTimelineEventsCommand";
2
3
  import { SSMIncidentsClient } from "../SSMIncidentsClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTimelineEventsCommand(input), ...args);
5
- };
6
- export async function* paginateListTimelineEvents(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 SSMIncidentsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected SSMIncidents | SSMIncidentsClient");
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 paginateListTimelineEvents = createPaginator(SSMIncidentsClient, ListTimelineEventsCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetResourcePolicies(config: SSMIncidentsPaginationConfiguration, input: GetResourcePoliciesCommandInput, ...additionalArguments: any): Paginator<GetResourcePoliciesCommandOutput>;
7
+ export declare const paginateGetResourcePolicies: (config: SSMIncidentsPaginationConfiguration, input: GetResourcePoliciesCommandInput, ...rest: any[]) => Paginator<GetResourcePoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListIncidentFindings(config: SSMIncidentsPaginationConfiguration, input: ListIncidentFindingsCommandInput, ...additionalArguments: any): Paginator<ListIncidentFindingsCommandOutput>;
7
+ export declare const paginateListIncidentFindings: (config: SSMIncidentsPaginationConfiguration, input: ListIncidentFindingsCommandInput, ...rest: any[]) => Paginator<ListIncidentFindingsCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListIncidentRecords(config: SSMIncidentsPaginationConfiguration, input: ListIncidentRecordsCommandInput, ...additionalArguments: any): Paginator<ListIncidentRecordsCommandOutput>;
7
+ export declare const paginateListIncidentRecords: (config: SSMIncidentsPaginationConfiguration, input: ListIncidentRecordsCommandInput, ...rest: any[]) => Paginator<ListIncidentRecordsCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListRelatedItems(config: SSMIncidentsPaginationConfiguration, input: ListRelatedItemsCommandInput, ...additionalArguments: any): Paginator<ListRelatedItemsCommandOutput>;
7
+ export declare const paginateListRelatedItems: (config: SSMIncidentsPaginationConfiguration, input: ListRelatedItemsCommandInput, ...rest: any[]) => Paginator<ListRelatedItemsCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListReplicationSets(config: SSMIncidentsPaginationConfiguration, input: ListReplicationSetsCommandInput, ...additionalArguments: any): Paginator<ListReplicationSetsCommandOutput>;
7
+ export declare const paginateListReplicationSets: (config: SSMIncidentsPaginationConfiguration, input: ListReplicationSetsCommandInput, ...rest: any[]) => Paginator<ListReplicationSetsCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListResponsePlans(config: SSMIncidentsPaginationConfiguration, input: ListResponsePlansCommandInput, ...additionalArguments: any): Paginator<ListResponsePlansCommandOutput>;
7
+ export declare const paginateListResponsePlans: (config: SSMIncidentsPaginationConfiguration, input: ListResponsePlansCommandInput, ...rest: any[]) => Paginator<ListResponsePlansCommandOutput>;
@@ -4,4 +4,4 @@ import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListTimelineEvents(config: SSMIncidentsPaginationConfiguration, input: ListTimelineEventsCommandInput, ...additionalArguments: any): Paginator<ListTimelineEventsCommandOutput>;
7
+ export declare const paginateListTimelineEvents: (config: SSMIncidentsPaginationConfiguration, input: ListTimelineEventsCommandInput, ...rest: any[]) => Paginator<ListTimelineEventsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetResourcePoliciesCommandOutput,
5
5
  } from "../commands/GetResourcePoliciesCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetResourcePolicies(
7
+ export declare const paginateGetResourcePolicies: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: GetResourcePoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetResourcePoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetResourcePoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListIncidentFindingsCommandOutput,
5
5
  } from "../commands/ListIncidentFindingsCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListIncidentFindings(
7
+ export declare const paginateListIncidentFindings: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListIncidentFindingsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListIncidentFindingsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListIncidentFindingsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListIncidentRecordsCommandOutput,
5
5
  } from "../commands/ListIncidentRecordsCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListIncidentRecords(
7
+ export declare const paginateListIncidentRecords: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListIncidentRecordsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListIncidentRecordsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListIncidentRecordsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListRelatedItemsCommandOutput,
5
5
  } from "../commands/ListRelatedItemsCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListRelatedItems(
7
+ export declare const paginateListRelatedItems: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListRelatedItemsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListRelatedItemsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListRelatedItemsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListReplicationSetsCommandOutput,
5
5
  } from "../commands/ListReplicationSetsCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListReplicationSets(
7
+ export declare const paginateListReplicationSets: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListReplicationSetsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListReplicationSetsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListReplicationSetsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListResponsePlansCommandOutput,
5
5
  } from "../commands/ListResponsePlansCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListResponsePlans(
7
+ export declare const paginateListResponsePlans: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListResponsePlansCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListResponsePlansCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListResponsePlansCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListTimelineEventsCommandOutput,
5
5
  } from "../commands/ListTimelineEventsCommand";
6
6
  import { SSMIncidentsPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListTimelineEvents(
7
+ export declare const paginateListTimelineEvents: (
8
8
  config: SSMIncidentsPaginationConfiguration,
9
9
  input: ListTimelineEventsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListTimelineEventsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListTimelineEventsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm-incidents",
3
3
  "description": "AWS SDK for JavaScript Ssm Incidents 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",