@aws-sdk/client-kafkaconnect 3.1157.0 → 3.1159.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 +31 -5
- package/dist-es/schemas/schemas_0.js +27 -4
- package/dist-types/commands/DescribeConnectorOperationCommand.d.ts +26 -0
- package/dist-types/commands/UpdateConnectorCommand.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +74 -1
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1158.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -273,6 +273,7 @@ const _CPL = "CustomPluginLocation";
|
|
|
273
273
|
const _CPLD = "CustomPluginLocationDescription";
|
|
274
274
|
const _CPRS = "CustomPluginRevisionSummary";
|
|
275
275
|
const _CPS = "CustomPluginSummary";
|
|
276
|
+
const _CPU = "CustomPluginUpdate";
|
|
276
277
|
const _CS = "ConnectorSummary";
|
|
277
278
|
const _CU = "CapacityUpdate";
|
|
278
279
|
const _CWC = "CreateWorkerConfiguration";
|
|
@@ -337,6 +338,7 @@ const _PCRa = "PauseConnectorResponse";
|
|
|
337
338
|
const _PCU = "ProvisionedCapacityUpdate";
|
|
338
339
|
const _PCa = "PauseConnector";
|
|
339
340
|
const _PD = "PluginDescription";
|
|
341
|
+
const _PU = "PluginUpdate";
|
|
340
342
|
const _RC = "RestartConnector";
|
|
341
343
|
const _RCR = "RestartConnectorRequest";
|
|
342
344
|
const _RCRe = "RestartConnectorResponse";
|
|
@@ -373,6 +375,7 @@ const _WCD = "WorkerConfigurationDescription";
|
|
|
373
375
|
const _WCRD = "WorkerConfigurationRevisionDescription";
|
|
374
376
|
const _WCRS = "WorkerConfigurationRevisionSummary";
|
|
375
377
|
const _WCS = "WorkerConfigurationSummary";
|
|
378
|
+
const _WCU = "WorkerConfigurationUpdate";
|
|
376
379
|
const _WLD = "WorkerLogDelivery";
|
|
377
380
|
const _WLDD = "WorkerLogDeliveryDescription";
|
|
378
381
|
const _WS = "WorkerSetting";
|
|
@@ -433,6 +436,7 @@ const _lOCPS = "__listOfCustomPluginSummary";
|
|
|
433
436
|
const _lOCS = "__listOfConnectorSummary";
|
|
434
437
|
const _lOP = "__listOfPlugin";
|
|
435
438
|
const _lOPD = "__listOfPluginDescription";
|
|
439
|
+
const _lOPU = "__listOfPluginUpdate";
|
|
436
440
|
const _lOWCS = "__listOfWorkerConfigurationSummary";
|
|
437
441
|
const _lR = "latestRevision";
|
|
438
442
|
const _m = "message";
|
|
@@ -474,6 +478,7 @@ const _t = "tags";
|
|
|
474
478
|
const _tCC = "targetConnectorConfiguration";
|
|
475
479
|
const _tK = "tagKeys";
|
|
476
480
|
const _tWS = "targetWorkerSetting";
|
|
481
|
+
const _uDWC = "useDefaultWorkerConfiguration";
|
|
477
482
|
const _v = "vpc";
|
|
478
483
|
const _wC = "workerConfiguration";
|
|
479
484
|
const _wCA = "workerConfigurationArn";
|
|
@@ -669,6 +674,11 @@ var CustomPluginSummary$ = [3, n0, _CPS,
|
|
|
669
674
|
[_cT, _cPA, _cPS, _d, _lR, _n],
|
|
670
675
|
[5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0]
|
|
671
676
|
];
|
|
677
|
+
var CustomPluginUpdate$ = [3, n0, _CPU,
|
|
678
|
+
0,
|
|
679
|
+
[_cPA, _r],
|
|
680
|
+
[0, 1], 2
|
|
681
|
+
];
|
|
672
682
|
var DeleteConnectorRequest$ = [3, n0, _DCR,
|
|
673
683
|
0,
|
|
674
684
|
[_cA, _cV],
|
|
@@ -859,6 +869,11 @@ var PluginDescription$ = [3, n0, _PD,
|
|
|
859
869
|
[_cPu],
|
|
860
870
|
[() => CustomPluginDescription$]
|
|
861
871
|
];
|
|
872
|
+
var PluginUpdate$ = [3, n0, _PU,
|
|
873
|
+
0,
|
|
874
|
+
[_cPu],
|
|
875
|
+
[() => CustomPluginUpdate$], 1
|
|
876
|
+
];
|
|
862
877
|
var ProvisionedCapacity$ = [3, n0, _PC,
|
|
863
878
|
0,
|
|
864
879
|
[_mC, _wCor],
|
|
@@ -971,8 +986,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
971
986
|
];
|
|
972
987
|
var UpdateConnectorRequest$ = [3, n0, _UCR,
|
|
973
988
|
0,
|
|
974
|
-
[_cA, _cV, _ca, _cC, _sHV],
|
|
975
|
-
[[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2], 2
|
|
989
|
+
[_cA, _cV, _ca, _cC, _sHV, _p, _wC, _uDWC],
|
|
990
|
+
[[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2, () => __listOfPluginUpdate, () => WorkerConfigurationUpdate$, 2], 2
|
|
976
991
|
];
|
|
977
992
|
var UpdateConnectorResponse$ = [3, n0, _UCRp,
|
|
978
993
|
0,
|
|
@@ -1014,6 +1029,11 @@ var WorkerConfigurationSummary$ = [3, n0, _WCS,
|
|
|
1014
1029
|
[_cT, _d, _lR, _n, _wCA, _wCS],
|
|
1015
1030
|
[5, 0, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]
|
|
1016
1031
|
];
|
|
1032
|
+
var WorkerConfigurationUpdate$ = [3, n0, _WCU,
|
|
1033
|
+
0,
|
|
1034
|
+
[_r, _wCA],
|
|
1035
|
+
[1, 0], 2
|
|
1036
|
+
];
|
|
1017
1037
|
var WorkerLogDelivery$ = [3, n0, _WLD,
|
|
1018
1038
|
0,
|
|
1019
1039
|
[_cWL, _f, _s_],
|
|
@@ -1026,8 +1046,8 @@ var WorkerLogDeliveryDescription$ = [3, n0, _WLDD,
|
|
|
1026
1046
|
];
|
|
1027
1047
|
var WorkerSetting$ = [3, n0, _WS,
|
|
1028
1048
|
0,
|
|
1029
|
-
[_ca],
|
|
1030
|
-
[() => CapacityDescription
|
|
1049
|
+
[_ca, _p, _wC, _uDWC],
|
|
1050
|
+
[() => CapacityDescription$, () => __listOfPluginDescription, () => WorkerConfigurationDescription$, 2]
|
|
1031
1051
|
];
|
|
1032
1052
|
var __listOfConnectorOperationStep = [1, n0, _lOCOS,
|
|
1033
1053
|
0, () => ConnectorOperationStep$
|
|
@@ -1047,6 +1067,9 @@ var __listOfPlugin = [1, n0, _lOP,
|
|
|
1047
1067
|
var __listOfPluginDescription = [1, n0, _lOPD,
|
|
1048
1068
|
0, () => PluginDescription$
|
|
1049
1069
|
];
|
|
1070
|
+
var __listOfPluginUpdate = [1, n0, _lOPU,
|
|
1071
|
+
0, () => PluginUpdate$
|
|
1072
|
+
];
|
|
1050
1073
|
var __listOfWorkerConfigurationSummary = [1, n0, _lOWCS,
|
|
1051
1074
|
0, () => WorkerConfigurationSummary$
|
|
1052
1075
|
];
|
|
@@ -1498,6 +1521,7 @@ exports.CustomPluginLocationDescription$ = CustomPluginLocationDescription$;
|
|
|
1498
1521
|
exports.CustomPluginRevisionSummary$ = CustomPluginRevisionSummary$;
|
|
1499
1522
|
exports.CustomPluginState = CustomPluginState;
|
|
1500
1523
|
exports.CustomPluginSummary$ = CustomPluginSummary$;
|
|
1524
|
+
exports.CustomPluginUpdate$ = CustomPluginUpdate$;
|
|
1501
1525
|
exports.DeleteConnector$ = DeleteConnector$;
|
|
1502
1526
|
exports.DeleteConnectorCommand = DeleteConnectorCommand;
|
|
1503
1527
|
exports.DeleteConnectorRequest$ = DeleteConnectorRequest$;
|
|
@@ -1575,6 +1599,7 @@ exports.PauseConnectorRequest$ = PauseConnectorRequest$;
|
|
|
1575
1599
|
exports.PauseConnectorResponse$ = PauseConnectorResponse$;
|
|
1576
1600
|
exports.Plugin$ = Plugin$;
|
|
1577
1601
|
exports.PluginDescription$ = PluginDescription$;
|
|
1602
|
+
exports.PluginUpdate$ = PluginUpdate$;
|
|
1578
1603
|
exports.ProvisionedCapacity$ = ProvisionedCapacity$;
|
|
1579
1604
|
exports.ProvisionedCapacityDescription$ = ProvisionedCapacityDescription$;
|
|
1580
1605
|
exports.ProvisionedCapacityUpdate$ = ProvisionedCapacityUpdate$;
|
|
@@ -1623,6 +1648,7 @@ exports.WorkerConfigurationRevisionDescription$ = WorkerConfigurationRevisionDes
|
|
|
1623
1648
|
exports.WorkerConfigurationRevisionSummary$ = WorkerConfigurationRevisionSummary$;
|
|
1624
1649
|
exports.WorkerConfigurationState = WorkerConfigurationState;
|
|
1625
1650
|
exports.WorkerConfigurationSummary$ = WorkerConfigurationSummary$;
|
|
1651
|
+
exports.WorkerConfigurationUpdate$ = WorkerConfigurationUpdate$;
|
|
1626
1652
|
exports.WorkerLogDelivery$ = WorkerLogDelivery$;
|
|
1627
1653
|
exports.WorkerLogDeliveryDescription$ = WorkerLogDeliveryDescription$;
|
|
1628
1654
|
exports.WorkerSetting$ = WorkerSetting$;
|
|
@@ -24,6 +24,7 @@ const _CPL = "CustomPluginLocation";
|
|
|
24
24
|
const _CPLD = "CustomPluginLocationDescription";
|
|
25
25
|
const _CPRS = "CustomPluginRevisionSummary";
|
|
26
26
|
const _CPS = "CustomPluginSummary";
|
|
27
|
+
const _CPU = "CustomPluginUpdate";
|
|
27
28
|
const _CS = "ConnectorSummary";
|
|
28
29
|
const _CU = "CapacityUpdate";
|
|
29
30
|
const _CWC = "CreateWorkerConfiguration";
|
|
@@ -88,6 +89,7 @@ const _PCRa = "PauseConnectorResponse";
|
|
|
88
89
|
const _PCU = "ProvisionedCapacityUpdate";
|
|
89
90
|
const _PCa = "PauseConnector";
|
|
90
91
|
const _PD = "PluginDescription";
|
|
92
|
+
const _PU = "PluginUpdate";
|
|
91
93
|
const _RC = "RestartConnector";
|
|
92
94
|
const _RCR = "RestartConnectorRequest";
|
|
93
95
|
const _RCRe = "RestartConnectorResponse";
|
|
@@ -124,6 +126,7 @@ const _WCD = "WorkerConfigurationDescription";
|
|
|
124
126
|
const _WCRD = "WorkerConfigurationRevisionDescription";
|
|
125
127
|
const _WCRS = "WorkerConfigurationRevisionSummary";
|
|
126
128
|
const _WCS = "WorkerConfigurationSummary";
|
|
129
|
+
const _WCU = "WorkerConfigurationUpdate";
|
|
127
130
|
const _WLD = "WorkerLogDelivery";
|
|
128
131
|
const _WLDD = "WorkerLogDeliveryDescription";
|
|
129
132
|
const _WS = "WorkerSetting";
|
|
@@ -184,6 +187,7 @@ const _lOCPS = "__listOfCustomPluginSummary";
|
|
|
184
187
|
const _lOCS = "__listOfConnectorSummary";
|
|
185
188
|
const _lOP = "__listOfPlugin";
|
|
186
189
|
const _lOPD = "__listOfPluginDescription";
|
|
190
|
+
const _lOPU = "__listOfPluginUpdate";
|
|
187
191
|
const _lOWCS = "__listOfWorkerConfigurationSummary";
|
|
188
192
|
const _lR = "latestRevision";
|
|
189
193
|
const _m = "message";
|
|
@@ -225,6 +229,7 @@ const _t = "tags";
|
|
|
225
229
|
const _tCC = "targetConnectorConfiguration";
|
|
226
230
|
const _tK = "tagKeys";
|
|
227
231
|
const _tWS = "targetWorkerSetting";
|
|
232
|
+
const _uDWC = "useDefaultWorkerConfiguration";
|
|
228
233
|
const _v = "vpc";
|
|
229
234
|
const _wC = "workerConfiguration";
|
|
230
235
|
const _wCA = "workerConfigurationArn";
|
|
@@ -423,6 +428,11 @@ export var CustomPluginSummary$ = [3, n0, _CPS,
|
|
|
423
428
|
[_cT, _cPA, _cPS, _d, _lR, _n],
|
|
424
429
|
[5, 0, 0, 0, () => CustomPluginRevisionSummary$, 0]
|
|
425
430
|
];
|
|
431
|
+
export var CustomPluginUpdate$ = [3, n0, _CPU,
|
|
432
|
+
0,
|
|
433
|
+
[_cPA, _r],
|
|
434
|
+
[0, 1], 2
|
|
435
|
+
];
|
|
426
436
|
export var DeleteConnectorRequest$ = [3, n0, _DCR,
|
|
427
437
|
0,
|
|
428
438
|
[_cA, _cV],
|
|
@@ -613,6 +623,11 @@ export var PluginDescription$ = [3, n0, _PD,
|
|
|
613
623
|
[_cPu],
|
|
614
624
|
[() => CustomPluginDescription$]
|
|
615
625
|
];
|
|
626
|
+
export var PluginUpdate$ = [3, n0, _PU,
|
|
627
|
+
0,
|
|
628
|
+
[_cPu],
|
|
629
|
+
[() => CustomPluginUpdate$], 1
|
|
630
|
+
];
|
|
616
631
|
export var ProvisionedCapacity$ = [3, n0, _PC,
|
|
617
632
|
0,
|
|
618
633
|
[_mC, _wCor],
|
|
@@ -725,8 +740,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
725
740
|
];
|
|
726
741
|
export var UpdateConnectorRequest$ = [3, n0, _UCR,
|
|
727
742
|
0,
|
|
728
|
-
[_cA, _cV, _ca, _cC, _sHV],
|
|
729
|
-
[[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2], 2
|
|
743
|
+
[_cA, _cV, _ca, _cC, _sHV, _p, _wC, _uDWC],
|
|
744
|
+
[[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2, () => __listOfPluginUpdate, () => WorkerConfigurationUpdate$, 2], 2
|
|
730
745
|
];
|
|
731
746
|
export var UpdateConnectorResponse$ = [3, n0, _UCRp,
|
|
732
747
|
0,
|
|
@@ -768,6 +783,11 @@ export var WorkerConfigurationSummary$ = [3, n0, _WCS,
|
|
|
768
783
|
[_cT, _d, _lR, _n, _wCA, _wCS],
|
|
769
784
|
[5, 0, () => WorkerConfigurationRevisionSummary$, 0, 0, 0]
|
|
770
785
|
];
|
|
786
|
+
export var WorkerConfigurationUpdate$ = [3, n0, _WCU,
|
|
787
|
+
0,
|
|
788
|
+
[_r, _wCA],
|
|
789
|
+
[1, 0], 2
|
|
790
|
+
];
|
|
771
791
|
export var WorkerLogDelivery$ = [3, n0, _WLD,
|
|
772
792
|
0,
|
|
773
793
|
[_cWL, _f, _s_],
|
|
@@ -780,8 +800,8 @@ export var WorkerLogDeliveryDescription$ = [3, n0, _WLDD,
|
|
|
780
800
|
];
|
|
781
801
|
export var WorkerSetting$ = [3, n0, _WS,
|
|
782
802
|
0,
|
|
783
|
-
[_ca],
|
|
784
|
-
[() => CapacityDescription
|
|
803
|
+
[_ca, _p, _wC, _uDWC],
|
|
804
|
+
[() => CapacityDescription$, () => __listOfPluginDescription, () => WorkerConfigurationDescription$, 2]
|
|
785
805
|
];
|
|
786
806
|
var __listOf__string = 64 | 0;
|
|
787
807
|
var __listOfConnectorOperationStep = [1, n0, _lOCOS,
|
|
@@ -802,6 +822,9 @@ var __listOfPlugin = [1, n0, _lOP,
|
|
|
802
822
|
var __listOfPluginDescription = [1, n0, _lOPD,
|
|
803
823
|
0, () => PluginDescription$
|
|
804
824
|
];
|
|
825
|
+
var __listOfPluginUpdate = [1, n0, _lOPU,
|
|
826
|
+
0, () => PluginUpdate$
|
|
827
|
+
];
|
|
805
828
|
var __listOfWorkerConfigurationSummary = [1, n0, _lOWCS,
|
|
806
829
|
0, () => WorkerConfigurationSummary$
|
|
807
830
|
];
|
|
@@ -68,6 +68,19 @@ declare const DescribeConnectorOperationCommand_base: {
|
|
|
68
68
|
* // workerCount: Number("int"),
|
|
69
69
|
* // },
|
|
70
70
|
* // },
|
|
71
|
+
* // plugins: [ // __listOfPluginDescription
|
|
72
|
+
* // { // PluginDescription
|
|
73
|
+
* // customPlugin: { // CustomPluginDescription
|
|
74
|
+
* // customPluginArn: "STRING_VALUE",
|
|
75
|
+
* // revision: Number("long"),
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // workerConfiguration: { // WorkerConfigurationDescription
|
|
80
|
+
* // revision: Number("long"),
|
|
81
|
+
* // workerConfigurationArn: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // useDefaultWorkerConfiguration: true || false,
|
|
71
84
|
* // },
|
|
72
85
|
* // originConnectorConfiguration: { // ConnectorConfiguration
|
|
73
86
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -91,6 +104,19 @@ declare const DescribeConnectorOperationCommand_base: {
|
|
|
91
104
|
* // workerCount: Number("int"),
|
|
92
105
|
* // },
|
|
93
106
|
* // },
|
|
107
|
+
* // plugins: [
|
|
108
|
+
* // {
|
|
109
|
+
* // customPlugin: {
|
|
110
|
+
* // customPluginArn: "STRING_VALUE",
|
|
111
|
+
* // revision: Number("long"),
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // workerConfiguration: {
|
|
116
|
+
* // revision: Number("long"),
|
|
117
|
+
* // workerConfigurationArn: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // useDefaultWorkerConfiguration: true || false,
|
|
94
120
|
* // },
|
|
95
121
|
* // targetConnectorConfiguration: {
|
|
96
122
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -24,7 +24,7 @@ declare const UpdateConnectorCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates the specified connector.
|
|
27
|
+
* <p>Updates the specified connector. In the request body, you can update either the connector's worker setting or its connector configuration, but not both in the same request. To update the worker setting, specify one or more of <code>capacity</code>, <code>plugins</code>, <code>workerConfiguration</code>, or <code>useDefaultWorkerConfiguration</code>. To update the connector configuration, specify only <code>connectorConfiguration</code>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -58,6 +58,19 @@ declare const UpdateConnectorCommand_base: {
|
|
|
58
58
|
* skipHealthValidation: true || false,
|
|
59
59
|
* connectorArn: "STRING_VALUE", // required
|
|
60
60
|
* currentVersion: "STRING_VALUE", // required
|
|
61
|
+
* plugins: [ // __listOfPluginUpdate
|
|
62
|
+
* { // PluginUpdate
|
|
63
|
+
* customPlugin: { // CustomPluginUpdate
|
|
64
|
+
* customPluginArn: "STRING_VALUE", // required
|
|
65
|
+
* revision: Number("long"), // required
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* workerConfiguration: { // WorkerConfigurationUpdate
|
|
70
|
+
* revision: Number("long"), // required
|
|
71
|
+
* workerConfigurationArn: "STRING_VALUE", // required
|
|
72
|
+
* },
|
|
73
|
+
* useDefaultWorkerConfiguration: true || false,
|
|
61
74
|
* };
|
|
62
75
|
* const command = new UpdateConnectorCommand(input);
|
|
63
76
|
* const response = await client.send(command);
|
|
@@ -562,6 +562,33 @@ export interface Plugin {
|
|
|
562
562
|
*/
|
|
563
563
|
customPlugin: CustomPlugin | undefined;
|
|
564
564
|
}
|
|
565
|
+
/**
|
|
566
|
+
* <p>Details about a custom plugin to use when you update a connector via <code>UpdateConnector</code>.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
export interface CustomPluginUpdate {
|
|
570
|
+
/**
|
|
571
|
+
* <p>The Amazon Resource Name (ARN) of the custom plugin.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
customPluginArn: string | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* <p>The revision of the custom plugin.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
revision: number | undefined;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* <p>A custom plugin to use when you update a connector via <code>UpdateConnector</code>.</p>
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
export interface PluginUpdate {
|
|
586
|
+
/**
|
|
587
|
+
* <p>The custom plugin to use for the connector.</p>
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
590
|
+
customPlugin: CustomPluginUpdate | undefined;
|
|
591
|
+
}
|
|
565
592
|
/**
|
|
566
593
|
* <p>The summary of a worker configuration revision.</p>
|
|
567
594
|
* @public
|
|
@@ -1419,10 +1446,25 @@ export interface DescribeConnectorOperationRequest {
|
|
|
1419
1446
|
*/
|
|
1420
1447
|
export interface WorkerSetting {
|
|
1421
1448
|
/**
|
|
1422
|
-
* <p>
|
|
1449
|
+
* <p>Specifies the compute capacity settings of the connector.</p>
|
|
1423
1450
|
* @public
|
|
1424
1451
|
*/
|
|
1425
1452
|
capacity?: CapacityDescription | undefined;
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>Specifies which plugins the connector uses.</p>
|
|
1455
|
+
* @public
|
|
1456
|
+
*/
|
|
1457
|
+
plugins?: PluginDescription[] | undefined;
|
|
1458
|
+
/**
|
|
1459
|
+
* <p>Specifies which worker configuration the connector uses.</p>
|
|
1460
|
+
* @public
|
|
1461
|
+
*/
|
|
1462
|
+
workerConfiguration?: WorkerConfigurationDescription | undefined;
|
|
1463
|
+
/**
|
|
1464
|
+
* <p>Specifies whether the connector uses the default worker configuration instead of a custom worker configuration.</p>
|
|
1465
|
+
* @public
|
|
1466
|
+
*/
|
|
1467
|
+
useDefaultWorkerConfiguration?: boolean | undefined;
|
|
1426
1468
|
}
|
|
1427
1469
|
/**
|
|
1428
1470
|
* @public
|
|
@@ -1890,6 +1932,22 @@ export interface UntagResourceRequest {
|
|
|
1890
1932
|
*/
|
|
1891
1933
|
export interface UntagResourceResponse {
|
|
1892
1934
|
}
|
|
1935
|
+
/**
|
|
1936
|
+
* <p>The worker configuration to use when you update a connector via <code>UpdateConnector</code>.</p>
|
|
1937
|
+
* @public
|
|
1938
|
+
*/
|
|
1939
|
+
export interface WorkerConfigurationUpdate {
|
|
1940
|
+
/**
|
|
1941
|
+
* <p>The revision of the worker configuration.</p>
|
|
1942
|
+
* @public
|
|
1943
|
+
*/
|
|
1944
|
+
revision: number | undefined;
|
|
1945
|
+
/**
|
|
1946
|
+
* <p>The Amazon Resource Name (ARN) of the worker configuration.</p>
|
|
1947
|
+
* @public
|
|
1948
|
+
*/
|
|
1949
|
+
workerConfigurationArn: string | undefined;
|
|
1950
|
+
}
|
|
1893
1951
|
/**
|
|
1894
1952
|
* @public
|
|
1895
1953
|
*/
|
|
@@ -1919,6 +1977,21 @@ export interface UpdateConnectorRequest {
|
|
|
1919
1977
|
* @public
|
|
1920
1978
|
*/
|
|
1921
1979
|
currentVersion: string | undefined;
|
|
1980
|
+
/**
|
|
1981
|
+
* <important> <p>Amazon MSK Connect does not currently support specifying multiple plugins as a list. To use more than one plugin for your connector, you can create a single custom plugin using a ZIP file that bundles multiple plugins together.</p> </important> <p>Specifies which plugin to use for the connector. You must specify a single-element list containing one <code>customPlugin</code> object. If you don't specify this parameter, the connector keeps its current plugin.</p>
|
|
1982
|
+
* @public
|
|
1983
|
+
*/
|
|
1984
|
+
plugins?: PluginUpdate[] | undefined;
|
|
1985
|
+
/**
|
|
1986
|
+
* <p>The worker configuration to use with the connector. Specify the Amazon Resource Name (ARN) and the revision of the worker configuration. You can't specify both <code>workerConfiguration</code> and <code>useDefaultWorkerConfiguration</code> in the same request. If you specify neither parameter, the connector keeps its current worker configuration.</p>
|
|
1987
|
+
* @public
|
|
1988
|
+
*/
|
|
1989
|
+
workerConfiguration?: WorkerConfigurationUpdate | undefined;
|
|
1990
|
+
/**
|
|
1991
|
+
* <p>Specifies whether to switch the connector to the default worker configuration that Amazon MSK Connect provides. If <code>true</code>, the connector stops using its custom worker configuration and uses the default worker configuration instead. If <code>false</code> or not specified, the connector keeps its current worker configuration. You can't specify both <code>useDefaultWorkerConfiguration</code> and <code>workerConfiguration</code> in the same request.</p>
|
|
1992
|
+
* @public
|
|
1993
|
+
*/
|
|
1994
|
+
useDefaultWorkerConfiguration?: boolean | undefined;
|
|
1922
1995
|
}
|
|
1923
1996
|
/**
|
|
1924
1997
|
* @public
|
|
@@ -41,6 +41,7 @@ export declare var CustomPluginLocation$: StaticStructureSchema;
|
|
|
41
41
|
export declare var CustomPluginLocationDescription$: StaticStructureSchema;
|
|
42
42
|
export declare var CustomPluginRevisionSummary$: StaticStructureSchema;
|
|
43
43
|
export declare var CustomPluginSummary$: StaticStructureSchema;
|
|
44
|
+
export declare var CustomPluginUpdate$: StaticStructureSchema;
|
|
44
45
|
export declare var DeleteConnectorRequest$: StaticStructureSchema;
|
|
45
46
|
export declare var DeleteConnectorResponse$: StaticStructureSchema;
|
|
46
47
|
export declare var DeleteCustomPluginRequest$: StaticStructureSchema;
|
|
@@ -79,6 +80,7 @@ export declare var PauseConnectorRequest$: StaticStructureSchema;
|
|
|
79
80
|
export declare var PauseConnectorResponse$: StaticStructureSchema;
|
|
80
81
|
export declare var Plugin$: StaticStructureSchema;
|
|
81
82
|
export declare var PluginDescription$: StaticStructureSchema;
|
|
83
|
+
export declare var PluginUpdate$: StaticStructureSchema;
|
|
82
84
|
export declare var ProvisionedCapacity$: StaticStructureSchema;
|
|
83
85
|
export declare var ProvisionedCapacityDescription$: StaticStructureSchema;
|
|
84
86
|
export declare var ProvisionedCapacityUpdate$: StaticStructureSchema;
|
|
@@ -110,6 +112,7 @@ export declare var WorkerConfigurationDescription$: StaticStructureSchema;
|
|
|
110
112
|
export declare var WorkerConfigurationRevisionDescription$: StaticStructureSchema;
|
|
111
113
|
export declare var WorkerConfigurationRevisionSummary$: StaticStructureSchema;
|
|
112
114
|
export declare var WorkerConfigurationSummary$: StaticStructureSchema;
|
|
115
|
+
export declare var WorkerConfigurationUpdate$: StaticStructureSchema;
|
|
113
116
|
export declare var WorkerLogDelivery$: StaticStructureSchema;
|
|
114
117
|
export declare var WorkerLogDeliveryDescription$: StaticStructureSchema;
|
|
115
118
|
export declare var WorkerSetting$: StaticStructureSchema;
|
|
@@ -146,6 +146,13 @@ export interface CustomPlugin {
|
|
|
146
146
|
export interface Plugin {
|
|
147
147
|
customPlugin: CustomPlugin | undefined;
|
|
148
148
|
}
|
|
149
|
+
export interface CustomPluginUpdate {
|
|
150
|
+
customPluginArn: string | undefined;
|
|
151
|
+
revision: number | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface PluginUpdate {
|
|
154
|
+
customPlugin: CustomPluginUpdate | undefined;
|
|
155
|
+
}
|
|
149
156
|
export interface WorkerConfigurationRevisionSummary {
|
|
150
157
|
creationTime?: Date | undefined;
|
|
151
158
|
description?: string | undefined;
|
|
@@ -354,6 +361,9 @@ export interface DescribeConnectorOperationRequest {
|
|
|
354
361
|
}
|
|
355
362
|
export interface WorkerSetting {
|
|
356
363
|
capacity?: CapacityDescription | undefined;
|
|
364
|
+
plugins?: PluginDescription[] | undefined;
|
|
365
|
+
workerConfiguration?: WorkerConfigurationDescription | undefined;
|
|
366
|
+
useDefaultWorkerConfiguration?: boolean | undefined;
|
|
357
367
|
}
|
|
358
368
|
export interface DescribeConnectorOperationResponse {
|
|
359
369
|
connectorArn?: string | undefined;
|
|
@@ -472,12 +482,19 @@ export interface UntagResourceRequest {
|
|
|
472
482
|
tagKeys: string[] | undefined;
|
|
473
483
|
}
|
|
474
484
|
export interface UntagResourceResponse {}
|
|
485
|
+
export interface WorkerConfigurationUpdate {
|
|
486
|
+
revision: number | undefined;
|
|
487
|
+
workerConfigurationArn: string | undefined;
|
|
488
|
+
}
|
|
475
489
|
export interface UpdateConnectorRequest {
|
|
476
490
|
capacity?: CapacityUpdate | undefined;
|
|
477
491
|
connectorConfiguration?: Record<string, string> | undefined;
|
|
478
492
|
skipHealthValidation?: boolean | undefined;
|
|
479
493
|
connectorArn: string | undefined;
|
|
480
494
|
currentVersion: string | undefined;
|
|
495
|
+
plugins?: PluginUpdate[] | undefined;
|
|
496
|
+
workerConfiguration?: WorkerConfigurationUpdate | undefined;
|
|
497
|
+
useDefaultWorkerConfiguration?: boolean | undefined;
|
|
481
498
|
}
|
|
482
499
|
export interface UpdateConnectorResponse {
|
|
483
500
|
connectorArn?: string | undefined;
|
|
@@ -36,6 +36,7 @@ export declare var CustomPluginLocation$: StaticStructureSchema;
|
|
|
36
36
|
export declare var CustomPluginLocationDescription$: StaticStructureSchema;
|
|
37
37
|
export declare var CustomPluginRevisionSummary$: StaticStructureSchema;
|
|
38
38
|
export declare var CustomPluginSummary$: StaticStructureSchema;
|
|
39
|
+
export declare var CustomPluginUpdate$: StaticStructureSchema;
|
|
39
40
|
export declare var DeleteConnectorRequest$: StaticStructureSchema;
|
|
40
41
|
export declare var DeleteConnectorResponse$: StaticStructureSchema;
|
|
41
42
|
export declare var DeleteCustomPluginRequest$: StaticStructureSchema;
|
|
@@ -74,6 +75,7 @@ export declare var PauseConnectorRequest$: StaticStructureSchema;
|
|
|
74
75
|
export declare var PauseConnectorResponse$: StaticStructureSchema;
|
|
75
76
|
export declare var Plugin$: StaticStructureSchema;
|
|
76
77
|
export declare var PluginDescription$: StaticStructureSchema;
|
|
78
|
+
export declare var PluginUpdate$: StaticStructureSchema;
|
|
77
79
|
export declare var ProvisionedCapacity$: StaticStructureSchema;
|
|
78
80
|
export declare var ProvisionedCapacityDescription$: StaticStructureSchema;
|
|
79
81
|
export declare var ProvisionedCapacityUpdate$: StaticStructureSchema;
|
|
@@ -105,6 +107,7 @@ export declare var WorkerConfigurationDescription$: StaticStructureSchema;
|
|
|
105
107
|
export declare var WorkerConfigurationRevisionDescription$: StaticStructureSchema;
|
|
106
108
|
export declare var WorkerConfigurationRevisionSummary$: StaticStructureSchema;
|
|
107
109
|
export declare var WorkerConfigurationSummary$: StaticStructureSchema;
|
|
110
|
+
export declare var WorkerConfigurationUpdate$: StaticStructureSchema;
|
|
108
111
|
export declare var WorkerLogDelivery$: StaticStructureSchema;
|
|
109
112
|
export declare var WorkerLogDeliveryDescription$: StaticStructureSchema;
|
|
110
113
|
export declare var WorkerSetting$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafkaconnect",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1159.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Kafkaconnect Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kafkaconnect",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.7",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.90",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
52
|
"@smithy/core": "^3.37.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|