@aws-sdk/client-osis 3.974.0 → 3.978.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 +12 -7
- package/dist-es/OSIS.js +9 -1
- package/dist-types/OSIS.d.ts +22 -1
- package/dist-types/ts3.4/OSIS.d.ts +26 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1152,6 +1152,12 @@ class ValidatePipelineCommand extends smithyClient.Command
|
|
|
1152
1152
|
.build() {
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
|
+
const paginateListPipelineEndpointConnections = core.createPaginator(OSISClient, ListPipelineEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1156
|
+
|
|
1157
|
+
const paginateListPipelineEndpoints = core.createPaginator(OSISClient, ListPipelineEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1158
|
+
|
|
1159
|
+
const paginateListPipelines = core.createPaginator(OSISClient, ListPipelinesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1160
|
+
|
|
1155
1161
|
const commands = {
|
|
1156
1162
|
CreatePipelineCommand,
|
|
1157
1163
|
CreatePipelineEndpointCommand,
|
|
@@ -1176,15 +1182,14 @@ const commands = {
|
|
|
1176
1182
|
UpdatePipelineCommand,
|
|
1177
1183
|
ValidatePipelineCommand,
|
|
1178
1184
|
};
|
|
1185
|
+
const paginators = {
|
|
1186
|
+
paginateListPipelineEndpointConnections,
|
|
1187
|
+
paginateListPipelineEndpoints,
|
|
1188
|
+
paginateListPipelines,
|
|
1189
|
+
};
|
|
1179
1190
|
class OSIS extends OSISClient {
|
|
1180
1191
|
}
|
|
1181
|
-
smithyClient.createAggregatedClient(commands, OSIS);
|
|
1182
|
-
|
|
1183
|
-
const paginateListPipelineEndpointConnections = core.createPaginator(OSISClient, ListPipelineEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1184
|
-
|
|
1185
|
-
const paginateListPipelineEndpoints = core.createPaginator(OSISClient, ListPipelineEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1186
|
-
|
|
1187
|
-
const paginateListPipelines = core.createPaginator(OSISClient, ListPipelinesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1192
|
+
smithyClient.createAggregatedClient(commands, OSIS, { paginators });
|
|
1188
1193
|
|
|
1189
1194
|
const VpcEndpointManagement = {
|
|
1190
1195
|
CUSTOMER: "CUSTOMER",
|
package/dist-es/OSIS.js
CHANGED
|
@@ -22,6 +22,9 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
22
22
|
import { UpdatePipelineCommand, } from "./commands/UpdatePipelineCommand";
|
|
23
23
|
import { ValidatePipelineCommand, } from "./commands/ValidatePipelineCommand";
|
|
24
24
|
import { OSISClient } from "./OSISClient";
|
|
25
|
+
import { paginateListPipelineEndpointConnections } from "./pagination/ListPipelineEndpointConnectionsPaginator";
|
|
26
|
+
import { paginateListPipelineEndpoints } from "./pagination/ListPipelineEndpointsPaginator";
|
|
27
|
+
import { paginateListPipelines } from "./pagination/ListPipelinesPaginator";
|
|
25
28
|
const commands = {
|
|
26
29
|
CreatePipelineCommand,
|
|
27
30
|
CreatePipelineEndpointCommand,
|
|
@@ -46,6 +49,11 @@ const commands = {
|
|
|
46
49
|
UpdatePipelineCommand,
|
|
47
50
|
ValidatePipelineCommand,
|
|
48
51
|
};
|
|
52
|
+
const paginators = {
|
|
53
|
+
paginateListPipelineEndpointConnections,
|
|
54
|
+
paginateListPipelineEndpoints,
|
|
55
|
+
paginateListPipelines,
|
|
56
|
+
};
|
|
49
57
|
export class OSIS extends OSISClient {
|
|
50
58
|
}
|
|
51
|
-
createAggregatedClient(commands, OSIS);
|
|
59
|
+
createAggregatedClient(commands, OSIS, { paginators });
|
package/dist-types/OSIS.d.ts
CHANGED
|
@@ -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 { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
|
|
3
3
|
import { CreatePipelineEndpointCommandInput, CreatePipelineEndpointCommandOutput } from "./commands/CreatePipelineEndpointCommand";
|
|
4
4
|
import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
|
|
@@ -159,6 +159,27 @@ export interface OSIS {
|
|
|
159
159
|
validatePipeline(args: ValidatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePipelineCommandOutput>;
|
|
160
160
|
validatePipeline(args: ValidatePipelineCommandInput, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
|
|
161
161
|
validatePipeline(args: ValidatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
|
|
162
|
+
/**
|
|
163
|
+
* @see {@link ListPipelineEndpointConnectionsCommand}
|
|
164
|
+
* @param args - command input.
|
|
165
|
+
* @param paginationConfig - optional pagination config.
|
|
166
|
+
* @returns AsyncIterable of {@link ListPipelineEndpointConnectionsCommandOutput}.
|
|
167
|
+
*/
|
|
168
|
+
paginateListPipelineEndpointConnections(args?: ListPipelineEndpointConnectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelineEndpointConnectionsCommandOutput>;
|
|
169
|
+
/**
|
|
170
|
+
* @see {@link ListPipelineEndpointsCommand}
|
|
171
|
+
* @param args - command input.
|
|
172
|
+
* @param paginationConfig - optional pagination config.
|
|
173
|
+
* @returns AsyncIterable of {@link ListPipelineEndpointsCommandOutput}.
|
|
174
|
+
*/
|
|
175
|
+
paginateListPipelineEndpoints(args?: ListPipelineEndpointsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelineEndpointsCommandOutput>;
|
|
176
|
+
/**
|
|
177
|
+
* @see {@link ListPipelinesCommand}
|
|
178
|
+
* @param args - command input.
|
|
179
|
+
* @param paginationConfig - optional pagination config.
|
|
180
|
+
* @returns AsyncIterable of {@link ListPipelinesCommandOutput}.
|
|
181
|
+
*/
|
|
182
|
+
paginateListPipelines(args?: ListPipelinesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelinesCommandOutput>;
|
|
162
183
|
}
|
|
163
184
|
/**
|
|
164
185
|
* <p>Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a
|
|
@@ -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
|
CreatePipelineCommandInput,
|
|
4
8
|
CreatePipelineCommandOutput,
|
|
@@ -385,5 +389,26 @@ export interface OSIS {
|
|
|
385
389
|
options: __HttpHandlerOptions,
|
|
386
390
|
cb: (err: any, data?: ValidatePipelineCommandOutput) => void
|
|
387
391
|
): void;
|
|
392
|
+
paginateListPipelineEndpointConnections(
|
|
393
|
+
args?: ListPipelineEndpointConnectionsCommandInput,
|
|
394
|
+
paginationConfig?: Pick<
|
|
395
|
+
PaginationConfiguration,
|
|
396
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
397
|
+
>
|
|
398
|
+
): Paginator<ListPipelineEndpointConnectionsCommandOutput>;
|
|
399
|
+
paginateListPipelineEndpoints(
|
|
400
|
+
args?: ListPipelineEndpointsCommandInput,
|
|
401
|
+
paginationConfig?: Pick<
|
|
402
|
+
PaginationConfiguration,
|
|
403
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
404
|
+
>
|
|
405
|
+
): Paginator<ListPipelineEndpointsCommandOutput>;
|
|
406
|
+
paginateListPipelines(
|
|
407
|
+
args?: ListPipelinesCommandInput,
|
|
408
|
+
paginationConfig?: Pick<
|
|
409
|
+
PaginationConfiguration,
|
|
410
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
411
|
+
>
|
|
412
|
+
): Paginator<ListPipelinesCommandOutput>;
|
|
388
413
|
}
|
|
389
414
|
export declare class OSIS extends OSISClient implements OSIS {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-osis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Osis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.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-osis",
|
|
@@ -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.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
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",
|