@aws-sdk/client-opensearchserverless 3.975.0 → 3.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -2017,6 +2017,20 @@ class UpdateVpcEndpointCommand extends smithyClient.Command
|
|
|
2017
2017
|
.build() {
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
2020
|
+
const paginateListAccessPolicies = core.createPaginator(OpenSearchServerlessClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "");
|
|
2021
|
+
|
|
2022
|
+
const paginateListCollectionGroups = core.createPaginator(OpenSearchServerlessClient, ListCollectionGroupsCommand, "nextToken", "nextToken", "");
|
|
2023
|
+
|
|
2024
|
+
const paginateListCollections = core.createPaginator(OpenSearchServerlessClient, ListCollectionsCommand, "nextToken", "nextToken", "");
|
|
2025
|
+
|
|
2026
|
+
const paginateListLifecyclePolicies = core.createPaginator(OpenSearchServerlessClient, ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
|
|
2027
|
+
|
|
2028
|
+
const paginateListSecurityConfigs = core.createPaginator(OpenSearchServerlessClient, ListSecurityConfigsCommand, "nextToken", "nextToken", "");
|
|
2029
|
+
|
|
2030
|
+
const paginateListSecurityPolicies = core.createPaginator(OpenSearchServerlessClient, ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
|
|
2031
|
+
|
|
2032
|
+
const paginateListVpcEndpoints = core.createPaginator(OpenSearchServerlessClient, ListVpcEndpointsCommand, "nextToken", "nextToken", "");
|
|
2033
|
+
|
|
2020
2034
|
const commands = {
|
|
2021
2035
|
BatchGetCollectionCommand,
|
|
2022
2036
|
BatchGetCollectionGroupCommand,
|
|
@@ -2065,23 +2079,18 @@ const commands = {
|
|
|
2065
2079
|
UpdateSecurityPolicyCommand,
|
|
2066
2080
|
UpdateVpcEndpointCommand,
|
|
2067
2081
|
};
|
|
2082
|
+
const paginators = {
|
|
2083
|
+
paginateListAccessPolicies,
|
|
2084
|
+
paginateListCollectionGroups,
|
|
2085
|
+
paginateListCollections,
|
|
2086
|
+
paginateListLifecyclePolicies,
|
|
2087
|
+
paginateListSecurityConfigs,
|
|
2088
|
+
paginateListSecurityPolicies,
|
|
2089
|
+
paginateListVpcEndpoints,
|
|
2090
|
+
};
|
|
2068
2091
|
class OpenSearchServerless extends OpenSearchServerlessClient {
|
|
2069
2092
|
}
|
|
2070
|
-
smithyClient.createAggregatedClient(commands, OpenSearchServerless);
|
|
2071
|
-
|
|
2072
|
-
const paginateListAccessPolicies = core.createPaginator(OpenSearchServerlessClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "");
|
|
2073
|
-
|
|
2074
|
-
const paginateListCollectionGroups = core.createPaginator(OpenSearchServerlessClient, ListCollectionGroupsCommand, "nextToken", "nextToken", "");
|
|
2075
|
-
|
|
2076
|
-
const paginateListCollections = core.createPaginator(OpenSearchServerlessClient, ListCollectionsCommand, "nextToken", "nextToken", "");
|
|
2077
|
-
|
|
2078
|
-
const paginateListLifecyclePolicies = core.createPaginator(OpenSearchServerlessClient, ListLifecyclePoliciesCommand, "nextToken", "nextToken", "");
|
|
2079
|
-
|
|
2080
|
-
const paginateListSecurityConfigs = core.createPaginator(OpenSearchServerlessClient, ListSecurityConfigsCommand, "nextToken", "nextToken", "");
|
|
2081
|
-
|
|
2082
|
-
const paginateListSecurityPolicies = core.createPaginator(OpenSearchServerlessClient, ListSecurityPoliciesCommand, "nextToken", "nextToken", "");
|
|
2083
|
-
|
|
2084
|
-
const paginateListVpcEndpoints = core.createPaginator(OpenSearchServerlessClient, ListVpcEndpointsCommand, "nextToken", "nextToken", "");
|
|
2093
|
+
smithyClient.createAggregatedClient(commands, OpenSearchServerless, { paginators });
|
|
2085
2094
|
|
|
2086
2095
|
const AccessPolicyType = {
|
|
2087
2096
|
data: "data",
|
|
@@ -46,6 +46,13 @@ import { UpdateSecurityConfigCommand, } from "./commands/UpdateSecurityConfigCom
|
|
|
46
46
|
import { UpdateSecurityPolicyCommand, } from "./commands/UpdateSecurityPolicyCommand";
|
|
47
47
|
import { UpdateVpcEndpointCommand, } from "./commands/UpdateVpcEndpointCommand";
|
|
48
48
|
import { OpenSearchServerlessClient } from "./OpenSearchServerlessClient";
|
|
49
|
+
import { paginateListAccessPolicies } from "./pagination/ListAccessPoliciesPaginator";
|
|
50
|
+
import { paginateListCollectionGroups } from "./pagination/ListCollectionGroupsPaginator";
|
|
51
|
+
import { paginateListCollections } from "./pagination/ListCollectionsPaginator";
|
|
52
|
+
import { paginateListLifecyclePolicies } from "./pagination/ListLifecyclePoliciesPaginator";
|
|
53
|
+
import { paginateListSecurityConfigs } from "./pagination/ListSecurityConfigsPaginator";
|
|
54
|
+
import { paginateListSecurityPolicies } from "./pagination/ListSecurityPoliciesPaginator";
|
|
55
|
+
import { paginateListVpcEndpoints } from "./pagination/ListVpcEndpointsPaginator";
|
|
49
56
|
const commands = {
|
|
50
57
|
BatchGetCollectionCommand,
|
|
51
58
|
BatchGetCollectionGroupCommand,
|
|
@@ -94,6 +101,15 @@ const commands = {
|
|
|
94
101
|
UpdateSecurityPolicyCommand,
|
|
95
102
|
UpdateVpcEndpointCommand,
|
|
96
103
|
};
|
|
104
|
+
const paginators = {
|
|
105
|
+
paginateListAccessPolicies,
|
|
106
|
+
paginateListCollectionGroups,
|
|
107
|
+
paginateListCollections,
|
|
108
|
+
paginateListLifecyclePolicies,
|
|
109
|
+
paginateListSecurityConfigs,
|
|
110
|
+
paginateListSecurityPolicies,
|
|
111
|
+
paginateListVpcEndpoints,
|
|
112
|
+
};
|
|
97
113
|
export class OpenSearchServerless extends OpenSearchServerlessClient {
|
|
98
114
|
}
|
|
99
|
-
createAggregatedClient(commands, OpenSearchServerless);
|
|
115
|
+
createAggregatedClient(commands, OpenSearchServerless, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BatchGetCollectionCommandInput, BatchGetCollectionCommandOutput } from "./commands/BatchGetCollectionCommand";
|
|
3
3
|
import { BatchGetCollectionGroupCommandInput, BatchGetCollectionGroupCommandOutput } from "./commands/BatchGetCollectionGroupCommand";
|
|
4
4
|
import { BatchGetEffectiveLifecyclePolicyCommandInput, BatchGetEffectiveLifecyclePolicyCommandOutput } from "./commands/BatchGetEffectiveLifecyclePolicyCommand";
|
|
@@ -331,6 +331,55 @@ export interface OpenSearchServerless {
|
|
|
331
331
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVpcEndpointCommandOutput>;
|
|
332
332
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
333
333
|
updateVpcEndpoint(args: UpdateVpcEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void): void;
|
|
334
|
+
/**
|
|
335
|
+
* @see {@link ListAccessPoliciesCommand}
|
|
336
|
+
* @param args - command input.
|
|
337
|
+
* @param paginationConfig - optional pagination config.
|
|
338
|
+
* @returns AsyncIterable of {@link ListAccessPoliciesCommandOutput}.
|
|
339
|
+
*/
|
|
340
|
+
paginateListAccessPolicies(args: ListAccessPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccessPoliciesCommandOutput>;
|
|
341
|
+
/**
|
|
342
|
+
* @see {@link ListCollectionGroupsCommand}
|
|
343
|
+
* @param args - command input.
|
|
344
|
+
* @param paginationConfig - optional pagination config.
|
|
345
|
+
* @returns AsyncIterable of {@link ListCollectionGroupsCommandOutput}.
|
|
346
|
+
*/
|
|
347
|
+
paginateListCollectionGroups(args?: ListCollectionGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCollectionGroupsCommandOutput>;
|
|
348
|
+
/**
|
|
349
|
+
* @see {@link ListCollectionsCommand}
|
|
350
|
+
* @param args - command input.
|
|
351
|
+
* @param paginationConfig - optional pagination config.
|
|
352
|
+
* @returns AsyncIterable of {@link ListCollectionsCommandOutput}.
|
|
353
|
+
*/
|
|
354
|
+
paginateListCollections(args?: ListCollectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCollectionsCommandOutput>;
|
|
355
|
+
/**
|
|
356
|
+
* @see {@link ListLifecyclePoliciesCommand}
|
|
357
|
+
* @param args - command input.
|
|
358
|
+
* @param paginationConfig - optional pagination config.
|
|
359
|
+
* @returns AsyncIterable of {@link ListLifecyclePoliciesCommandOutput}.
|
|
360
|
+
*/
|
|
361
|
+
paginateListLifecyclePolicies(args: ListLifecyclePoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLifecyclePoliciesCommandOutput>;
|
|
362
|
+
/**
|
|
363
|
+
* @see {@link ListSecurityConfigsCommand}
|
|
364
|
+
* @param args - command input.
|
|
365
|
+
* @param paginationConfig - optional pagination config.
|
|
366
|
+
* @returns AsyncIterable of {@link ListSecurityConfigsCommandOutput}.
|
|
367
|
+
*/
|
|
368
|
+
paginateListSecurityConfigs(args: ListSecurityConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecurityConfigsCommandOutput>;
|
|
369
|
+
/**
|
|
370
|
+
* @see {@link ListSecurityPoliciesCommand}
|
|
371
|
+
* @param args - command input.
|
|
372
|
+
* @param paginationConfig - optional pagination config.
|
|
373
|
+
* @returns AsyncIterable of {@link ListSecurityPoliciesCommandOutput}.
|
|
374
|
+
*/
|
|
375
|
+
paginateListSecurityPolicies(args: ListSecurityPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSecurityPoliciesCommandOutput>;
|
|
376
|
+
/**
|
|
377
|
+
* @see {@link ListVpcEndpointsCommand}
|
|
378
|
+
* @param args - command input.
|
|
379
|
+
* @param paginationConfig - optional pagination config.
|
|
380
|
+
* @returns AsyncIterable of {@link ListVpcEndpointsCommandOutput}.
|
|
381
|
+
*/
|
|
382
|
+
paginateListVpcEndpoints(args?: ListVpcEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVpcEndpointsCommandOutput>;
|
|
334
383
|
}
|
|
335
384
|
/**
|
|
336
385
|
* <p>Use the Amazon OpenSearch Serverless API to create, configure, and manage OpenSearch Serverless collections and security policies.</p> <p>OpenSearch Serverless is an on-demand, pre-provisioned serverless configuration for Amazon OpenSearch Service. OpenSearch Serverless removes the operational complexities of provisioning, configuring, and tuning your OpenSearch clusters. It enables you to easily search and analyze petabytes of data without having to worry about the underlying infrastructure and data management.</p> <p>To learn more about OpenSearch Serverless, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-overview.html">What is Amazon OpenSearch Serverless?</a> </p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchGetCollectionCommandInput,
|
|
4
8
|
BatchGetCollectionCommandOutput,
|
|
@@ -791,6 +795,55 @@ export interface OpenSearchServerless {
|
|
|
791
795
|
options: __HttpHandlerOptions,
|
|
792
796
|
cb: (err: any, data?: UpdateVpcEndpointCommandOutput) => void
|
|
793
797
|
): void;
|
|
798
|
+
paginateListAccessPolicies(
|
|
799
|
+
args: ListAccessPoliciesCommandInput,
|
|
800
|
+
paginationConfig?: Pick<
|
|
801
|
+
PaginationConfiguration,
|
|
802
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
803
|
+
>
|
|
804
|
+
): Paginator<ListAccessPoliciesCommandOutput>;
|
|
805
|
+
paginateListCollectionGroups(
|
|
806
|
+
args?: ListCollectionGroupsCommandInput,
|
|
807
|
+
paginationConfig?: Pick<
|
|
808
|
+
PaginationConfiguration,
|
|
809
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
810
|
+
>
|
|
811
|
+
): Paginator<ListCollectionGroupsCommandOutput>;
|
|
812
|
+
paginateListCollections(
|
|
813
|
+
args?: ListCollectionsCommandInput,
|
|
814
|
+
paginationConfig?: Pick<
|
|
815
|
+
PaginationConfiguration,
|
|
816
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
817
|
+
>
|
|
818
|
+
): Paginator<ListCollectionsCommandOutput>;
|
|
819
|
+
paginateListLifecyclePolicies(
|
|
820
|
+
args: ListLifecyclePoliciesCommandInput,
|
|
821
|
+
paginationConfig?: Pick<
|
|
822
|
+
PaginationConfiguration,
|
|
823
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
824
|
+
>
|
|
825
|
+
): Paginator<ListLifecyclePoliciesCommandOutput>;
|
|
826
|
+
paginateListSecurityConfigs(
|
|
827
|
+
args: ListSecurityConfigsCommandInput,
|
|
828
|
+
paginationConfig?: Pick<
|
|
829
|
+
PaginationConfiguration,
|
|
830
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
831
|
+
>
|
|
832
|
+
): Paginator<ListSecurityConfigsCommandOutput>;
|
|
833
|
+
paginateListSecurityPolicies(
|
|
834
|
+
args: ListSecurityPoliciesCommandInput,
|
|
835
|
+
paginationConfig?: Pick<
|
|
836
|
+
PaginationConfiguration,
|
|
837
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
838
|
+
>
|
|
839
|
+
): Paginator<ListSecurityPoliciesCommandOutput>;
|
|
840
|
+
paginateListVpcEndpoints(
|
|
841
|
+
args?: ListVpcEndpointsCommandInput,
|
|
842
|
+
paginationConfig?: Pick<
|
|
843
|
+
PaginationConfiguration,
|
|
844
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
845
|
+
>
|
|
846
|
+
): Paginator<ListVpcEndpointsCommandOutput>;
|
|
794
847
|
}
|
|
795
848
|
export declare class OpenSearchServerless
|
|
796
849
|
extends OpenSearchServerlessClient
|
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.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-opensearchserverless",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|