@aws-sdk/client-kafkaconnect 3.299.0 → 3.300.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-types/commands/CreateConnectorCommand.d.ts +74 -0
- package/dist-types/commands/CreateCustomPluginCommand.d.ts +12 -0
- package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCustomPluginCommand.d.ts +3 -0
- package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCustomPluginCommand.d.ts +3 -0
- package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +5 -0
- package/dist-types/commands/ListCustomPluginsCommand.d.ts +4 -0
- package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +21 -0
- package/package.json +8 -8
|
@@ -26,6 +26,80 @@ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, _
|
|
|
26
26
|
* import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* capacity: {
|
|
31
|
+
* autoScaling: {
|
|
32
|
+
* maxWorkerCount: Number("int"), // required
|
|
33
|
+
* mcuCount: Number("int"), // required
|
|
34
|
+
* minWorkerCount: Number("int"), // required
|
|
35
|
+
* scaleInPolicy: {
|
|
36
|
+
* cpuUtilizationPercentage: Number("int"), // required
|
|
37
|
+
* },
|
|
38
|
+
* scaleOutPolicy: {
|
|
39
|
+
* cpuUtilizationPercentage: Number("int"), // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* provisionedCapacity: {
|
|
43
|
+
* mcuCount: Number("int"), // required
|
|
44
|
+
* workerCount: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* connectorConfiguration: { // required
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* connectorDescription: "STRING_VALUE",
|
|
51
|
+
* connectorName: "STRING_VALUE", // required
|
|
52
|
+
* kafkaCluster: {
|
|
53
|
+
* apacheKafkaCluster: {
|
|
54
|
+
* bootstrapServers: "STRING_VALUE", // required
|
|
55
|
+
* vpc: {
|
|
56
|
+
* securityGroups: [
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* subnets: [ // required
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* kafkaClusterClientAuthentication: {
|
|
66
|
+
* authenticationType: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
68
|
+
* kafkaClusterEncryptionInTransit: {
|
|
69
|
+
* encryptionType: "STRING_VALUE", // required
|
|
70
|
+
* },
|
|
71
|
+
* kafkaConnectVersion: "STRING_VALUE", // required
|
|
72
|
+
* logDelivery: {
|
|
73
|
+
* workerLogDelivery: {
|
|
74
|
+
* cloudWatchLogs: {
|
|
75
|
+
* enabled: true || false, // required
|
|
76
|
+
* logGroup: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* firehose: {
|
|
79
|
+
* deliveryStream: "STRING_VALUE",
|
|
80
|
+
* enabled: true || false, // required
|
|
81
|
+
* },
|
|
82
|
+
* s3: {
|
|
83
|
+
* bucket: "STRING_VALUE",
|
|
84
|
+
* enabled: true || false, // required
|
|
85
|
+
* prefix: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* plugins: [ // required
|
|
90
|
+
* {
|
|
91
|
+
* customPlugin: {
|
|
92
|
+
* customPluginArn: "STRING_VALUE", // required
|
|
93
|
+
* revision: Number("long"), // required
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* serviceExecutionRoleArn: "STRING_VALUE", // required
|
|
98
|
+
* workerConfiguration: {
|
|
99
|
+
* revision: Number("long"), // required
|
|
100
|
+
* workerConfigurationArn: "STRING_VALUE", // required
|
|
101
|
+
* },
|
|
102
|
+
* };
|
|
29
103
|
* const command = new CreateConnectorCommand(input);
|
|
30
104
|
* const response = await client.send(command);
|
|
31
105
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface CreateCustomPluginCommandOutput extends CreateCustomPluginRespo
|
|
|
26
26
|
* import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* contentType: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* location: {
|
|
33
|
+
* s3Location: {
|
|
34
|
+
* bucketArn: "STRING_VALUE", // required
|
|
35
|
+
* fileKey: "STRING_VALUE", // required
|
|
36
|
+
* objectVersion: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreateCustomPluginCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface CreateWorkerConfigurationCommandOutput extends CreateWorkerConf
|
|
|
26
26
|
* import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* description: "STRING_VALUE",
|
|
31
|
+
* name: "STRING_VALUE", // required
|
|
32
|
+
* propertiesFileContent: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new CreateWorkerConfigurationCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, _
|
|
|
26
26
|
* import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* connectorArn: "STRING_VALUE", // required
|
|
31
|
+
* currentVersion: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteConnectorCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteCustomPluginCommandOutput extends DeleteCustomPluginRespo
|
|
|
26
26
|
* import { KafkaConnectClient, DeleteCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, DeleteCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* customPluginArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteCustomPluginCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeConnectorCommandOutput extends DescribeConnectorRespons
|
|
|
26
26
|
* import { KafkaConnectClient, DescribeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, DescribeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* connectorArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeConnectorCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeCustomPluginCommandOutput extends DescribeCustomPluginR
|
|
|
26
26
|
* import { KafkaConnectClient, DescribeCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, DescribeCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* customPluginArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeCustomPluginCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeWorkerConfigurationCommandOutput extends DescribeWorker
|
|
|
26
26
|
* import { KafkaConnectClient, DescribeWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, DescribeWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workerConfigurationArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeWorkerConfigurationCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __M
|
|
|
28
28
|
* import { KafkaConnectClient, ListConnectorsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
29
29
|
* // const { KafkaConnectClient, ListConnectorsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
30
30
|
* const client = new KafkaConnectClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* connectorNamePrefix: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListConnectorsCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListCustomPluginsCommandOutput extends ListCustomPluginsRespons
|
|
|
26
26
|
* import { KafkaConnectClient, ListCustomPluginsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, ListCustomPluginsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListCustomPluginsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListWorkerConfigurationsCommandOutput extends ListWorkerConfigu
|
|
|
26
26
|
* import { KafkaConnectClient, ListWorkerConfigurationsCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, ListWorkerConfigurationsCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListWorkerConfigurationsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface UpdateConnectorCommandOutput extends UpdateConnectorResponse, _
|
|
|
26
26
|
* import { KafkaConnectClient, UpdateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
27
27
|
* // const { KafkaConnectClient, UpdateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
28
28
|
* const client = new KafkaConnectClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* capacity: {
|
|
31
|
+
* autoScaling: {
|
|
32
|
+
* maxWorkerCount: Number("int"), // required
|
|
33
|
+
* mcuCount: Number("int"), // required
|
|
34
|
+
* minWorkerCount: Number("int"), // required
|
|
35
|
+
* scaleInPolicy: {
|
|
36
|
+
* cpuUtilizationPercentage: Number("int"), // required
|
|
37
|
+
* },
|
|
38
|
+
* scaleOutPolicy: {
|
|
39
|
+
* cpuUtilizationPercentage: Number("int"), // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* provisionedCapacity: {
|
|
43
|
+
* mcuCount: Number("int"), // required
|
|
44
|
+
* workerCount: Number("int"), // required
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* connectorArn: "STRING_VALUE", // required
|
|
48
|
+
* currentVersion: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
29
50
|
* const command = new UpdateConnectorCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
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.300.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|