@aws-sdk/client-opensearchserverless 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 (25) hide show
  1. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -23
  2. package/dist-cjs/pagination/ListCollectionsPaginator.js +2 -23
  3. package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +2 -23
  4. package/dist-cjs/pagination/ListSecurityConfigsPaginator.js +2 -23
  5. package/dist-cjs/pagination/ListSecurityPoliciesPaginator.js +2 -23
  6. package/dist-cjs/pagination/ListVpcEndpointsPaginator.js +2 -23
  7. package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -22
  8. package/dist-es/pagination/ListCollectionsPaginator.js +2 -22
  9. package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +2 -22
  10. package/dist-es/pagination/ListSecurityConfigsPaginator.js +2 -22
  11. package/dist-es/pagination/ListSecurityPoliciesPaginator.js +2 -22
  12. package/dist-es/pagination/ListVpcEndpointsPaginator.js +2 -22
  13. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
  14. package/dist-types/pagination/ListCollectionsPaginator.d.ts +1 -1
  15. package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +1 -1
  16. package/dist-types/pagination/ListSecurityConfigsPaginator.d.ts +1 -1
  17. package/dist-types/pagination/ListSecurityPoliciesPaginator.d.ts +1 -1
  18. package/dist-types/pagination/ListVpcEndpointsPaginator.d.ts +1 -1
  19. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
  20. package/dist-types/ts3.4/pagination/ListCollectionsPaginator.d.ts +3 -3
  21. package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +3 -3
  22. package/dist-types/ts3.4/pagination/ListSecurityConfigsPaginator.d.ts +3 -3
  23. package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +3 -3
  24. package/dist-types/ts3.4/pagination/ListVpcEndpointsPaginator.d.ts +3 -3
  25. package/package.json +6 -5
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccessPolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccessPoliciesCommand_1 = require("../commands/ListAccessPoliciesCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccessPoliciesCommand_1.ListAccessPoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListAccessPolicies(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListAccessPolicies = paginateListAccessPolicies;
7
+ exports.paginateListAccessPolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListAccessPoliciesCommand_1.ListAccessPoliciesCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCollections = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListCollectionsCommand_1 = require("../commands/ListCollectionsCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListCollectionsCommand_1.ListCollectionsCommand(input), ...args);
8
- };
9
- async function* paginateListCollections(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListCollections = paginateListCollections;
7
+ exports.paginateListCollections = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListCollectionsCommand_1.ListCollectionsCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListLifecyclePolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListLifecyclePoliciesCommand_1 = require("../commands/ListLifecyclePoliciesCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListLifecyclePolicies(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
7
+ exports.paginateListLifecyclePolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSecurityConfigs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSecurityConfigsCommand_1 = require("../commands/ListSecurityConfigsCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSecurityConfigsCommand_1.ListSecurityConfigsCommand(input), ...args);
8
- };
9
- async function* paginateListSecurityConfigs(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListSecurityConfigs = paginateListSecurityConfigs;
7
+ exports.paginateListSecurityConfigs = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListSecurityConfigsCommand_1.ListSecurityConfigsCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSecurityPolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSecurityPoliciesCommand_1 = require("../commands/ListSecurityPoliciesCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListSecurityPolicies(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListSecurityPolicies = paginateListSecurityPolicies;
7
+ exports.paginateListSecurityPolicies = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListSecurityPoliciesCommand_1.ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListVpcEndpoints = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListVpcEndpointsCommand_1 = require("../commands/ListVpcEndpointsCommand");
5
6
  const OpenSearchServerlessClient_1 = require("../OpenSearchServerlessClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListVpcEndpointsCommand_1.ListVpcEndpointsCommand(input), ...args);
8
- };
9
- async function* paginateListVpcEndpoints(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 OpenSearchServerlessClient_1.OpenSearchServerlessClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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.paginateListVpcEndpoints = paginateListVpcEndpoints;
7
+ exports.paginateListVpcEndpoints = (0, core_1.createPaginator)(OpenSearchServerlessClient_1.OpenSearchServerlessClient, ListVpcEndpointsCommand_1.ListVpcEndpointsCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAccessPoliciesCommand, } from "../commands/ListAccessPoliciesCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAccessPoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateListAccessPolicies(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListAccessPolicies = createPaginator(OpenSearchServerlessClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCollectionsCommand, } from "../commands/ListCollectionsCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCollectionsCommand(input), ...args);
5
- };
6
- export async function* paginateListCollections(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListCollections = createPaginator(OpenSearchServerlessClient, ListCollectionsCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLifecyclePoliciesCommand, } from "../commands/ListLifecyclePoliciesCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLifecyclePoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateListLifecyclePolicies(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListLifecyclePolicies = createPaginator(OpenSearchServerlessClient, ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSecurityConfigsCommand, } from "../commands/ListSecurityConfigsCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSecurityConfigsCommand(input), ...args);
5
- };
6
- export async function* paginateListSecurityConfigs(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListSecurityConfigs = createPaginator(OpenSearchServerlessClient, ListSecurityConfigsCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSecurityPoliciesCommand, } from "../commands/ListSecurityPoliciesCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSecurityPoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateListSecurityPolicies(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListSecurityPolicies = createPaginator(OpenSearchServerlessClient, ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVpcEndpointsCommand, } from "../commands/ListVpcEndpointsCommand";
2
3
  import { OpenSearchServerlessClient } from "../OpenSearchServerlessClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVpcEndpointsCommand(input), ...args);
5
- };
6
- export async function* paginateListVpcEndpoints(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 OpenSearchServerlessClient) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected OpenSearchServerless | OpenSearchServerlessClient");
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 paginateListVpcEndpoints = createPaginator(OpenSearchServerlessClient, ListVpcEndpointsCommand, "nextToken", "nextToken", "");
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAccessPolicies(config: OpenSearchServerlessPaginationConfiguration, input: ListAccessPoliciesCommandInput, ...additionalArguments: any): Paginator<ListAccessPoliciesCommandOutput>;
7
+ export declare const paginateListAccessPolicies: (config: OpenSearchServerlessPaginationConfiguration, input: ListAccessPoliciesCommandInput, ...rest: any[]) => Paginator<ListAccessPoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListCollections(config: OpenSearchServerlessPaginationConfiguration, input: ListCollectionsCommandInput, ...additionalArguments: any): Paginator<ListCollectionsCommandOutput>;
7
+ export declare const paginateListCollections: (config: OpenSearchServerlessPaginationConfiguration, input: ListCollectionsCommandInput, ...rest: any[]) => Paginator<ListCollectionsCommandOutput>;
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListLifecyclePolicies(config: OpenSearchServerlessPaginationConfiguration, input: ListLifecyclePoliciesCommandInput, ...additionalArguments: any): Paginator<ListLifecyclePoliciesCommandOutput>;
7
+ export declare const paginateListLifecyclePolicies: (config: OpenSearchServerlessPaginationConfiguration, input: ListLifecyclePoliciesCommandInput, ...rest: any[]) => Paginator<ListLifecyclePoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSecurityConfigs(config: OpenSearchServerlessPaginationConfiguration, input: ListSecurityConfigsCommandInput, ...additionalArguments: any): Paginator<ListSecurityConfigsCommandOutput>;
7
+ export declare const paginateListSecurityConfigs: (config: OpenSearchServerlessPaginationConfiguration, input: ListSecurityConfigsCommandInput, ...rest: any[]) => Paginator<ListSecurityConfigsCommandOutput>;
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSecurityPolicies(config: OpenSearchServerlessPaginationConfiguration, input: ListSecurityPoliciesCommandInput, ...additionalArguments: any): Paginator<ListSecurityPoliciesCommandOutput>;
7
+ export declare const paginateListSecurityPolicies: (config: OpenSearchServerlessPaginationConfiguration, input: ListSecurityPoliciesCommandInput, ...rest: any[]) => Paginator<ListSecurityPoliciesCommandOutput>;
@@ -4,4 +4,4 @@ import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVpcEndpoints(config: OpenSearchServerlessPaginationConfiguration, input: ListVpcEndpointsCommandInput, ...additionalArguments: any): Paginator<ListVpcEndpointsCommandOutput>;
7
+ export declare const paginateListVpcEndpoints: (config: OpenSearchServerlessPaginationConfiguration, input: ListVpcEndpointsCommandInput, ...rest: any[]) => Paginator<ListVpcEndpointsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAccessPoliciesCommandOutput,
5
5
  } from "../commands/ListAccessPoliciesCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAccessPolicies(
7
+ export declare const paginateListAccessPolicies: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListAccessPoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAccessPoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAccessPoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListCollectionsCommandOutput,
5
5
  } from "../commands/ListCollectionsCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListCollections(
7
+ export declare const paginateListCollections: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListCollectionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListCollectionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListCollectionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListLifecyclePoliciesCommandOutput,
5
5
  } from "../commands/ListLifecyclePoliciesCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListLifecyclePolicies(
7
+ export declare const paginateListLifecyclePolicies: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListLifecyclePoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListLifecyclePoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListLifecyclePoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSecurityConfigsCommandOutput,
5
5
  } from "../commands/ListSecurityConfigsCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSecurityConfigs(
7
+ export declare const paginateListSecurityConfigs: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListSecurityConfigsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSecurityConfigsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSecurityConfigsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListSecurityPoliciesCommandOutput,
5
5
  } from "../commands/ListSecurityPoliciesCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListSecurityPolicies(
7
+ export declare const paginateListSecurityPolicies: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListSecurityPoliciesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListSecurityPoliciesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListSecurityPoliciesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVpcEndpointsCommandOutput,
5
5
  } from "../commands/ListVpcEndpointsCommand";
6
6
  import { OpenSearchServerlessPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVpcEndpoints(
7
+ export declare const paginateListVpcEndpoints: (
8
8
  config: OpenSearchServerlessPaginationConfiguration,
9
9
  input: ListVpcEndpointsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVpcEndpointsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVpcEndpointsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearchserverless",
3
3
  "description": "AWS SDK for JavaScript Opensearchserverless 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,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.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",
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",