@aws-sdk/client-kafkaconnect 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 +15 -9
- package/dist-es/KafkaConnect.js +11 -1
- package/dist-types/KafkaConnect.d.ts +29 -1
- package/dist-types/ts3.4/KafkaConnect.d.ts +33 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -1246,6 +1246,14 @@ class UpdateConnectorCommand extends smithyClient.Command
|
|
|
1246
1246
|
.build() {
|
|
1247
1247
|
}
|
|
1248
1248
|
|
|
1249
|
+
const paginateListConnectorOperations = core.createPaginator(KafkaConnectClient, ListConnectorOperationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1250
|
+
|
|
1251
|
+
const paginateListConnectors = core.createPaginator(KafkaConnectClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1252
|
+
|
|
1253
|
+
const paginateListCustomPlugins = core.createPaginator(KafkaConnectClient, ListCustomPluginsCommand, "nextToken", "nextToken", "maxResults");
|
|
1254
|
+
|
|
1255
|
+
const paginateListWorkerConfigurations = core.createPaginator(KafkaConnectClient, ListWorkerConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1256
|
+
|
|
1249
1257
|
const commands = {
|
|
1250
1258
|
CreateConnectorCommand,
|
|
1251
1259
|
CreateCustomPluginCommand,
|
|
@@ -1266,17 +1274,15 @@ const commands = {
|
|
|
1266
1274
|
UntagResourceCommand,
|
|
1267
1275
|
UpdateConnectorCommand,
|
|
1268
1276
|
};
|
|
1277
|
+
const paginators = {
|
|
1278
|
+
paginateListConnectorOperations,
|
|
1279
|
+
paginateListConnectors,
|
|
1280
|
+
paginateListCustomPlugins,
|
|
1281
|
+
paginateListWorkerConfigurations,
|
|
1282
|
+
};
|
|
1269
1283
|
class KafkaConnect extends KafkaConnectClient {
|
|
1270
1284
|
}
|
|
1271
|
-
smithyClient.createAggregatedClient(commands, KafkaConnect);
|
|
1272
|
-
|
|
1273
|
-
const paginateListConnectorOperations = core.createPaginator(KafkaConnectClient, ListConnectorOperationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1274
|
-
|
|
1275
|
-
const paginateListConnectors = core.createPaginator(KafkaConnectClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1276
|
-
|
|
1277
|
-
const paginateListCustomPlugins = core.createPaginator(KafkaConnectClient, ListCustomPluginsCommand, "nextToken", "nextToken", "maxResults");
|
|
1278
|
-
|
|
1279
|
-
const paginateListWorkerConfigurations = core.createPaginator(KafkaConnectClient, ListWorkerConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1285
|
+
smithyClient.createAggregatedClient(commands, KafkaConnect, { paginators });
|
|
1280
1286
|
|
|
1281
1287
|
const ConnectorOperationStepState = {
|
|
1282
1288
|
CANCELLED: "CANCELLED",
|
package/dist-es/KafkaConnect.js
CHANGED
|
@@ -18,6 +18,10 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
18
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
|
|
20
20
|
import { KafkaConnectClient } from "./KafkaConnectClient";
|
|
21
|
+
import { paginateListConnectorOperations } from "./pagination/ListConnectorOperationsPaginator";
|
|
22
|
+
import { paginateListConnectors } from "./pagination/ListConnectorsPaginator";
|
|
23
|
+
import { paginateListCustomPlugins } from "./pagination/ListCustomPluginsPaginator";
|
|
24
|
+
import { paginateListWorkerConfigurations } from "./pagination/ListWorkerConfigurationsPaginator";
|
|
21
25
|
const commands = {
|
|
22
26
|
CreateConnectorCommand,
|
|
23
27
|
CreateCustomPluginCommand,
|
|
@@ -38,6 +42,12 @@ const commands = {
|
|
|
38
42
|
UntagResourceCommand,
|
|
39
43
|
UpdateConnectorCommand,
|
|
40
44
|
};
|
|
45
|
+
const paginators = {
|
|
46
|
+
paginateListConnectorOperations,
|
|
47
|
+
paginateListConnectors,
|
|
48
|
+
paginateListCustomPlugins,
|
|
49
|
+
paginateListWorkerConfigurations,
|
|
50
|
+
};
|
|
41
51
|
export class KafkaConnect extends KafkaConnectClient {
|
|
42
52
|
}
|
|
43
|
-
createAggregatedClient(commands, KafkaConnect);
|
|
53
|
+
createAggregatedClient(commands, KafkaConnect, { 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 { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
3
3
|
import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
|
|
4
4
|
import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
|
|
@@ -130,6 +130,34 @@ export interface KafkaConnect {
|
|
|
130
130
|
updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
|
|
131
131
|
updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
132
132
|
updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link ListConnectorOperationsCommand}
|
|
135
|
+
* @param args - command input.
|
|
136
|
+
* @param paginationConfig - optional pagination config.
|
|
137
|
+
* @returns AsyncIterable of {@link ListConnectorOperationsCommandOutput}.
|
|
138
|
+
*/
|
|
139
|
+
paginateListConnectorOperations(args: ListConnectorOperationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorOperationsCommandOutput>;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link ListConnectorsCommand}
|
|
142
|
+
* @param args - command input.
|
|
143
|
+
* @param paginationConfig - optional pagination config.
|
|
144
|
+
* @returns AsyncIterable of {@link ListConnectorsCommandOutput}.
|
|
145
|
+
*/
|
|
146
|
+
paginateListConnectors(args?: ListConnectorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConnectorsCommandOutput>;
|
|
147
|
+
/**
|
|
148
|
+
* @see {@link ListCustomPluginsCommand}
|
|
149
|
+
* @param args - command input.
|
|
150
|
+
* @param paginationConfig - optional pagination config.
|
|
151
|
+
* @returns AsyncIterable of {@link ListCustomPluginsCommandOutput}.
|
|
152
|
+
*/
|
|
153
|
+
paginateListCustomPlugins(args?: ListCustomPluginsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCustomPluginsCommandOutput>;
|
|
154
|
+
/**
|
|
155
|
+
* @see {@link ListWorkerConfigurationsCommand}
|
|
156
|
+
* @param args - command input.
|
|
157
|
+
* @param paginationConfig - optional pagination config.
|
|
158
|
+
* @returns AsyncIterable of {@link ListWorkerConfigurationsCommandOutput}.
|
|
159
|
+
*/
|
|
160
|
+
paginateListWorkerConfigurations(args?: ListWorkerConfigurationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkerConfigurationsCommandOutput>;
|
|
133
161
|
}
|
|
134
162
|
/**
|
|
135
163
|
* <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
|
CreateConnectorCommandInput,
|
|
4
8
|
CreateConnectorCommandOutput,
|
|
@@ -310,6 +314,34 @@ export interface KafkaConnect {
|
|
|
310
314
|
options: __HttpHandlerOptions,
|
|
311
315
|
cb: (err: any, data?: UpdateConnectorCommandOutput) => void
|
|
312
316
|
): void;
|
|
317
|
+
paginateListConnectorOperations(
|
|
318
|
+
args: ListConnectorOperationsCommandInput,
|
|
319
|
+
paginationConfig?: Pick<
|
|
320
|
+
PaginationConfiguration,
|
|
321
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
322
|
+
>
|
|
323
|
+
): Paginator<ListConnectorOperationsCommandOutput>;
|
|
324
|
+
paginateListConnectors(
|
|
325
|
+
args?: ListConnectorsCommandInput,
|
|
326
|
+
paginationConfig?: Pick<
|
|
327
|
+
PaginationConfiguration,
|
|
328
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
329
|
+
>
|
|
330
|
+
): Paginator<ListConnectorsCommandOutput>;
|
|
331
|
+
paginateListCustomPlugins(
|
|
332
|
+
args?: ListCustomPluginsCommandInput,
|
|
333
|
+
paginationConfig?: Pick<
|
|
334
|
+
PaginationConfiguration,
|
|
335
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
336
|
+
>
|
|
337
|
+
): Paginator<ListCustomPluginsCommandOutput>;
|
|
338
|
+
paginateListWorkerConfigurations(
|
|
339
|
+
args?: ListWorkerConfigurationsCommandInput,
|
|
340
|
+
paginationConfig?: Pick<
|
|
341
|
+
PaginationConfiguration,
|
|
342
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
343
|
+
>
|
|
344
|
+
): Paginator<ListWorkerConfigurationsCommandOutput>;
|
|
313
345
|
}
|
|
314
346
|
export declare class KafkaConnect
|
|
315
347
|
extends KafkaConnectClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafkaconnect 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-kafkaconnect",
|
|
@@ -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",
|