@aws-sdk/client-kafkaconnect 3.1154.0 → 3.1156.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/README.md CHANGED
@@ -286,6 +286,13 @@ ListWorkerConfigurations
286
286
  </details>
287
287
  <details>
288
288
  <summary>
289
+ PauseConnector
290
+ </summary>
291
+
292
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafkaconnect/command/PauseConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafkaconnect/Interface/PauseConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafkaconnect/Interface/PauseConnectorCommandOutput/)
293
+ </details>
294
+ <details>
295
+ <summary>
289
296
  RestartConnector
290
297
  </summary>
291
298
 
@@ -293,6 +300,13 @@ RestartConnector
293
300
  </details>
294
301
  <details>
295
302
  <summary>
303
+ ResumeConnector
304
+ </summary>
305
+
306
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kafkaconnect/command/ResumeConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafkaconnect/Interface/ResumeConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kafkaconnect/Interface/ResumeConnectorCommandOutput/)
307
+ </details>
308
+ <details>
309
+ <summary>
296
310
  TagResource
297
311
  </summary>
298
312
 
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.1153.0";
72
+ var version = "3.1155.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -332,11 +332,17 @@ const _NFE = "NotFoundException";
332
332
  const _P = "Plugin";
333
333
  const _PC = "ProvisionedCapacity";
334
334
  const _PCD = "ProvisionedCapacityDescription";
335
+ const _PCR = "PauseConnectorRequest";
336
+ const _PCRa = "PauseConnectorResponse";
335
337
  const _PCU = "ProvisionedCapacityUpdate";
338
+ const _PCa = "PauseConnector";
336
339
  const _PD = "PluginDescription";
337
340
  const _RC = "RestartConnector";
338
341
  const _RCR = "RestartConnectorRequest";
339
342
  const _RCRe = "RestartConnectorResponse";
343
+ const _RCRes = "ResumeConnectorRequest";
344
+ const _RCResu = "ResumeConnectorResponse";
345
+ const _RCe = "ResumeConnector";
340
346
  const _SD = "StateDescription";
341
347
  const _SIP = "ScaleInPolicy";
342
348
  const _SIPD = "ScaleInPolicyDescription";
@@ -454,6 +460,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kafkaconnect";
454
460
  const _sD = "stateDescription";
455
461
  const _sERA = "serviceExecutionRoleArn";
456
462
  const _sG = "securityGroups";
463
+ const _sHV = "skipHealthValidation";
457
464
  const _sIP = "scaleInPolicy";
458
465
  const _sL = "s3Location";
459
466
  const _sOP = "scaleOutPolicy";
@@ -832,6 +839,16 @@ var LogDeliveryDescription$ = [3, n0, _LDD,
832
839
  [_wLD],
833
840
  [() => WorkerLogDeliveryDescription$]
834
841
  ];
842
+ var PauseConnectorRequest$ = [3, n0, _PCR,
843
+ 0,
844
+ [_cA],
845
+ [[0, 1]], 1
846
+ ];
847
+ var PauseConnectorResponse$ = [3, n0, _PCRa,
848
+ 0,
849
+ [_cA, _cOA],
850
+ [0, 0]
851
+ ];
835
852
  var Plugin$ = [3, n0, _P,
836
853
  0,
837
854
  [_cPu],
@@ -867,6 +884,16 @@ var RestartConnectorResponse$ = [3, n0, _RCRe,
867
884
  [_cA, _cOA],
868
885
  [0, 0]
869
886
  ];
887
+ var ResumeConnectorRequest$ = [3, n0, _RCRes,
888
+ 0,
889
+ [_cA],
890
+ [[0, 1]], 1
891
+ ];
892
+ var ResumeConnectorResponse$ = [3, n0, _RCResu,
893
+ 0,
894
+ [_cA, _cOA],
895
+ [0, 0]
896
+ ];
870
897
  var S3Location$ = [3, n0, _SL,
871
898
  0,
872
899
  [_bA, _fK, _oV],
@@ -944,8 +971,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
944
971
  ];
945
972
  var UpdateConnectorRequest$ = [3, n0, _UCR,
946
973
  0,
947
- [_cA, _cV, _ca, _cC],
948
- [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0]], 2
974
+ [_cA, _cV, _ca, _cC, _sHV],
975
+ [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2], 2
949
976
  ];
950
977
  var UpdateConnectorResponse$ = [3, n0, _UCRp,
951
978
  0,
@@ -1074,9 +1101,15 @@ var ListTagsForResource$ = [9, n0, _LTFR,
1074
1101
  var ListWorkerConfigurations$ = [9, n0, _LWC,
1075
1102
  { [_h]: ["GET", "/v1/worker-configurations", 200] }, () => ListWorkerConfigurationsRequest$, () => ListWorkerConfigurationsResponse$
1076
1103
  ];
1104
+ var PauseConnector$ = [9, n0, _PCa,
1105
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}/pause", 200] }, () => PauseConnectorRequest$, () => PauseConnectorResponse$
1106
+ ];
1077
1107
  var RestartConnector$ = [9, n0, _RC,
1078
1108
  { [_h]: ["POST", "/v1/connectors/{connectorArn}/restart", 200] }, () => RestartConnectorRequest$, () => RestartConnectorResponse$
1079
1109
  ];
1110
+ var ResumeConnector$ = [9, n0, _RCe,
1111
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}/resume", 200] }, () => ResumeConnectorRequest$, () => ResumeConnectorResponse$
1112
+ ];
1080
1113
  var TagResource$ = [9, n0, _TR,
1081
1114
  { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1082
1115
  ];
@@ -1282,9 +1315,15 @@ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResourc
1282
1315
  class ListWorkerConfigurationsCommand extends command(_ep0, _mw0, "ListWorkerConfigurations", ListWorkerConfigurations$) {
1283
1316
  }
1284
1317
 
1318
+ class PauseConnectorCommand extends command(_ep0, _mw0, "PauseConnector", PauseConnector$) {
1319
+ }
1320
+
1285
1321
  class RestartConnectorCommand extends command(_ep0, _mw0, "RestartConnector", RestartConnector$) {
1286
1322
  }
1287
1323
 
1324
+ class ResumeConnectorCommand extends command(_ep0, _mw0, "ResumeConnector", ResumeConnector$) {
1325
+ }
1326
+
1288
1327
  class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1289
1328
  }
1290
1329
 
@@ -1318,7 +1357,9 @@ const commands = {
1318
1357
  ListCustomPluginsCommand,
1319
1358
  ListTagsForResourceCommand,
1320
1359
  ListWorkerConfigurationsCommand,
1360
+ PauseConnectorCommand,
1321
1361
  RestartConnectorCommand,
1362
+ ResumeConnectorCommand,
1322
1363
  TagResourceCommand,
1323
1364
  UntagResourceCommand,
1324
1365
  UpdateConnectorCommand,
@@ -1348,10 +1389,16 @@ const ConnectorOperationStepType = {
1348
1389
  VALIDATE_UPDATE: "VALIDATE_UPDATE",
1349
1390
  };
1350
1391
  const ConnectorOperationState = {
1392
+ PAUSE_COMPLETE: "PAUSE_COMPLETE",
1393
+ PAUSE_FAILED: "PAUSE_FAILED",
1394
+ PAUSE_IN_PROGRESS: "PAUSE_IN_PROGRESS",
1351
1395
  PENDING: "PENDING",
1352
1396
  RESTART_COMPLETE: "RESTART_COMPLETE",
1353
1397
  RESTART_FAILED: "RESTART_FAILED",
1354
1398
  RESTART_IN_PROGRESS: "RESTART_IN_PROGRESS",
1399
+ RESUME_COMPLETE: "RESUME_COMPLETE",
1400
+ RESUME_FAILED: "RESUME_FAILED",
1401
+ RESUME_IN_PROGRESS: "RESUME_IN_PROGRESS",
1355
1402
  ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
1356
1403
  ROLLBACK_FAILED: "ROLLBACK_FAILED",
1357
1404
  ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
@@ -1361,8 +1408,10 @@ const ConnectorOperationState = {
1361
1408
  };
1362
1409
  const ConnectorOperationType = {
1363
1410
  ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR",
1411
+ PAUSE_CONNECTOR: "PAUSE_CONNECTOR",
1364
1412
  RESTART_CONNECTOR: "RESTART_CONNECTOR",
1365
1413
  RESTORE_CONNECTOR: "RESTORE_CONNECTOR",
1414
+ RESUME_CONNECTOR: "RESUME_CONNECTOR",
1366
1415
  UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",
1367
1416
  UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",
1368
1417
  };
@@ -1370,7 +1419,10 @@ const ConnectorState = {
1370
1419
  CREATING: "CREATING",
1371
1420
  DELETING: "DELETING",
1372
1421
  FAILED: "FAILED",
1422
+ PAUSED: "PAUSED",
1423
+ PAUSING: "PAUSING",
1373
1424
  RESTARTING: "RESTARTING",
1425
+ RESUMING: "RESUMING",
1374
1426
  RUNNING: "RUNNING",
1375
1427
  UPDATING: "UPDATING",
1376
1428
  };
@@ -1517,6 +1569,10 @@ exports.LogDeliveryDescription$ = LogDeliveryDescription$;
1517
1569
  exports.NetworkType = NetworkType;
1518
1570
  exports.NotFoundException = NotFoundException;
1519
1571
  exports.NotFoundException$ = NotFoundException$;
1572
+ exports.PauseConnector$ = PauseConnector$;
1573
+ exports.PauseConnectorCommand = PauseConnectorCommand;
1574
+ exports.PauseConnectorRequest$ = PauseConnectorRequest$;
1575
+ exports.PauseConnectorResponse$ = PauseConnectorResponse$;
1520
1576
  exports.Plugin$ = Plugin$;
1521
1577
  exports.PluginDescription$ = PluginDescription$;
1522
1578
  exports.ProvisionedCapacity$ = ProvisionedCapacity$;
@@ -1526,6 +1582,10 @@ exports.RestartConnector$ = RestartConnector$;
1526
1582
  exports.RestartConnectorCommand = RestartConnectorCommand;
1527
1583
  exports.RestartConnectorRequest$ = RestartConnectorRequest$;
1528
1584
  exports.RestartConnectorResponse$ = RestartConnectorResponse$;
1585
+ exports.ResumeConnector$ = ResumeConnector$;
1586
+ exports.ResumeConnectorCommand = ResumeConnectorCommand;
1587
+ exports.ResumeConnectorRequest$ = ResumeConnectorRequest$;
1588
+ exports.ResumeConnectorResponse$ = ResumeConnectorResponse$;
1529
1589
  exports.S3Location$ = S3Location$;
1530
1590
  exports.S3LocationDescription$ = S3LocationDescription$;
1531
1591
  exports.S3LogDelivery$ = S3LogDelivery$;
@@ -14,7 +14,9 @@ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
14
14
  import { ListCustomPluginsCommand, } from "./commands/ListCustomPluginsCommand";
15
15
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
16
16
  import { ListWorkerConfigurationsCommand, } from "./commands/ListWorkerConfigurationsCommand";
17
+ import { PauseConnectorCommand, } from "./commands/PauseConnectorCommand";
17
18
  import { RestartConnectorCommand, } from "./commands/RestartConnectorCommand";
19
+ import { ResumeConnectorCommand, } from "./commands/ResumeConnectorCommand";
18
20
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
19
21
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
20
22
  import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
@@ -39,7 +41,9 @@ const commands = {
39
41
  ListCustomPluginsCommand,
40
42
  ListTagsForResourceCommand,
41
43
  ListWorkerConfigurationsCommand,
44
+ PauseConnectorCommand,
42
45
  RestartConnectorCommand,
46
+ ResumeConnectorCommand,
43
47
  TagResourceCommand,
44
48
  UntagResourceCommand,
45
49
  UpdateConnectorCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PauseConnector$ } from "../schemas/schemas_0";
3
+ export class PauseConnectorCommand extends command(_ep0, _mw0, "PauseConnector", PauseConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ResumeConnector$ } from "../schemas/schemas_0";
3
+ export class ResumeConnectorCommand extends command(_ep0, _mw0, "ResumeConnector", ResumeConnector$) {
4
+ }
@@ -13,7 +13,9 @@ export * from "./ListConnectorsCommand";
13
13
  export * from "./ListCustomPluginsCommand";
14
14
  export * from "./ListTagsForResourceCommand";
15
15
  export * from "./ListWorkerConfigurationsCommand";
16
+ export * from "./PauseConnectorCommand";
16
17
  export * from "./RestartConnectorCommand";
18
+ export * from "./ResumeConnectorCommand";
17
19
  export * from "./TagResourceCommand";
18
20
  export * from "./UntagResourceCommand";
19
21
  export * from "./UpdateConnectorCommand";
@@ -13,10 +13,16 @@ export const ConnectorOperationStepType = {
13
13
  VALIDATE_UPDATE: "VALIDATE_UPDATE",
14
14
  };
15
15
  export const ConnectorOperationState = {
16
+ PAUSE_COMPLETE: "PAUSE_COMPLETE",
17
+ PAUSE_FAILED: "PAUSE_FAILED",
18
+ PAUSE_IN_PROGRESS: "PAUSE_IN_PROGRESS",
16
19
  PENDING: "PENDING",
17
20
  RESTART_COMPLETE: "RESTART_COMPLETE",
18
21
  RESTART_FAILED: "RESTART_FAILED",
19
22
  RESTART_IN_PROGRESS: "RESTART_IN_PROGRESS",
23
+ RESUME_COMPLETE: "RESUME_COMPLETE",
24
+ RESUME_FAILED: "RESUME_FAILED",
25
+ RESUME_IN_PROGRESS: "RESUME_IN_PROGRESS",
20
26
  ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
21
27
  ROLLBACK_FAILED: "ROLLBACK_FAILED",
22
28
  ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
@@ -26,8 +32,10 @@ export const ConnectorOperationState = {
26
32
  };
27
33
  export const ConnectorOperationType = {
28
34
  ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR",
35
+ PAUSE_CONNECTOR: "PAUSE_CONNECTOR",
29
36
  RESTART_CONNECTOR: "RESTART_CONNECTOR",
30
37
  RESTORE_CONNECTOR: "RESTORE_CONNECTOR",
38
+ RESUME_CONNECTOR: "RESUME_CONNECTOR",
31
39
  UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION",
32
40
  UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING",
33
41
  };
@@ -35,7 +43,10 @@ export const ConnectorState = {
35
43
  CREATING: "CREATING",
36
44
  DELETING: "DELETING",
37
45
  FAILED: "FAILED",
46
+ PAUSED: "PAUSED",
47
+ PAUSING: "PAUSING",
38
48
  RESTARTING: "RESTARTING",
49
+ RESUMING: "RESUMING",
39
50
  RUNNING: "RUNNING",
40
51
  UPDATING: "UPDATING",
41
52
  };
@@ -83,11 +83,17 @@ const _NFE = "NotFoundException";
83
83
  const _P = "Plugin";
84
84
  const _PC = "ProvisionedCapacity";
85
85
  const _PCD = "ProvisionedCapacityDescription";
86
+ const _PCR = "PauseConnectorRequest";
87
+ const _PCRa = "PauseConnectorResponse";
86
88
  const _PCU = "ProvisionedCapacityUpdate";
89
+ const _PCa = "PauseConnector";
87
90
  const _PD = "PluginDescription";
88
91
  const _RC = "RestartConnector";
89
92
  const _RCR = "RestartConnectorRequest";
90
93
  const _RCRe = "RestartConnectorResponse";
94
+ const _RCRes = "ResumeConnectorRequest";
95
+ const _RCResu = "ResumeConnectorResponse";
96
+ const _RCe = "ResumeConnector";
91
97
  const _SD = "StateDescription";
92
98
  const _SIP = "ScaleInPolicy";
93
99
  const _SIPD = "ScaleInPolicyDescription";
@@ -205,6 +211,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kafkaconnect";
205
211
  const _sD = "stateDescription";
206
212
  const _sERA = "serviceExecutionRoleArn";
207
213
  const _sG = "securityGroups";
214
+ const _sHV = "skipHealthValidation";
208
215
  const _sIP = "scaleInPolicy";
209
216
  const _sL = "s3Location";
210
217
  const _sOP = "scaleOutPolicy";
@@ -586,6 +593,16 @@ export var LogDeliveryDescription$ = [3, n0, _LDD,
586
593
  [_wLD],
587
594
  [() => WorkerLogDeliveryDescription$]
588
595
  ];
596
+ export var PauseConnectorRequest$ = [3, n0, _PCR,
597
+ 0,
598
+ [_cA],
599
+ [[0, 1]], 1
600
+ ];
601
+ export var PauseConnectorResponse$ = [3, n0, _PCRa,
602
+ 0,
603
+ [_cA, _cOA],
604
+ [0, 0]
605
+ ];
589
606
  export var Plugin$ = [3, n0, _P,
590
607
  0,
591
608
  [_cPu],
@@ -621,6 +638,16 @@ export var RestartConnectorResponse$ = [3, n0, _RCRe,
621
638
  [_cA, _cOA],
622
639
  [0, 0]
623
640
  ];
641
+ export var ResumeConnectorRequest$ = [3, n0, _RCRes,
642
+ 0,
643
+ [_cA],
644
+ [[0, 1]], 1
645
+ ];
646
+ export var ResumeConnectorResponse$ = [3, n0, _RCResu,
647
+ 0,
648
+ [_cA, _cOA],
649
+ [0, 0]
650
+ ];
624
651
  export var S3Location$ = [3, n0, _SL,
625
652
  0,
626
653
  [_bA, _fK, _oV],
@@ -698,8 +725,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
698
725
  ];
699
726
  export var UpdateConnectorRequest$ = [3, n0, _UCR,
700
727
  0,
701
- [_cA, _cV, _ca, _cC],
702
- [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0]], 2
728
+ [_cA, _cV, _ca, _cC, _sHV],
729
+ [[0, 1], [0, { [_hQ]: _cV }], () => CapacityUpdate$, [() => ConnectorConfigurationUpdate, 0], 2], 2
703
730
  ];
704
731
  export var UpdateConnectorResponse$ = [3, n0, _UCRp,
705
732
  0,
@@ -831,9 +858,15 @@ export var ListTagsForResource$ = [9, n0, _LTFR,
831
858
  export var ListWorkerConfigurations$ = [9, n0, _LWC,
832
859
  { [_h]: ["GET", "/v1/worker-configurations", 200] }, () => ListWorkerConfigurationsRequest$, () => ListWorkerConfigurationsResponse$
833
860
  ];
861
+ export var PauseConnector$ = [9, n0, _PCa,
862
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}/pause", 200] }, () => PauseConnectorRequest$, () => PauseConnectorResponse$
863
+ ];
834
864
  export var RestartConnector$ = [9, n0, _RC,
835
865
  { [_h]: ["POST", "/v1/connectors/{connectorArn}/restart", 200] }, () => RestartConnectorRequest$, () => RestartConnectorResponse$
836
866
  ];
867
+ export var ResumeConnector$ = [9, n0, _RCe,
868
+ { [_h]: ["PUT", "/v1/connectors/{connectorArn}/resume", 200] }, () => ResumeConnectorRequest$, () => ResumeConnectorResponse$
869
+ ];
837
870
  export var TagResource$ = [9, n0, _TR,
838
871
  { [_h]: ["POST", "/v1/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
839
872
  ];
@@ -14,7 +14,9 @@ import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } fro
14
14
  import { type ListCustomPluginsCommandInput, type ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
15
15
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
16
16
  import { type ListWorkerConfigurationsCommandInput, type ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
17
+ import { type PauseConnectorCommandInput, type PauseConnectorCommandOutput } from "./commands/PauseConnectorCommand";
17
18
  import { type RestartConnectorCommandInput, type RestartConnectorCommandOutput } from "./commands/RestartConnectorCommand";
19
+ import { type ResumeConnectorCommandInput, type ResumeConnectorCommandOutput } from "./commands/ResumeConnectorCommand";
18
20
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
21
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
22
  import { type UpdateConnectorCommandInput, type UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
@@ -119,12 +121,24 @@ export interface KafkaConnect {
119
121
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options?: KafkaConnectRequestOptions): Promise<ListWorkerConfigurationsCommandOutput>;
120
122
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
121
123
  listWorkerConfigurations(args: ListWorkerConfigurationsCommandInput, options: KafkaConnectRequestOptions, cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void): void;
124
+ /**
125
+ * @see {@link PauseConnectorCommand}
126
+ */
127
+ pauseConnector(args: PauseConnectorCommandInput, options?: KafkaConnectRequestOptions): Promise<PauseConnectorCommandOutput>;
128
+ pauseConnector(args: PauseConnectorCommandInput, cb: (err: any, data?: PauseConnectorCommandOutput) => void): void;
129
+ pauseConnector(args: PauseConnectorCommandInput, options: KafkaConnectRequestOptions, cb: (err: any, data?: PauseConnectorCommandOutput) => void): void;
122
130
  /**
123
131
  * @see {@link RestartConnectorCommand}
124
132
  */
125
133
  restartConnector(args: RestartConnectorCommandInput, options?: KafkaConnectRequestOptions): Promise<RestartConnectorCommandOutput>;
126
134
  restartConnector(args: RestartConnectorCommandInput, cb: (err: any, data?: RestartConnectorCommandOutput) => void): void;
127
135
  restartConnector(args: RestartConnectorCommandInput, options: KafkaConnectRequestOptions, cb: (err: any, data?: RestartConnectorCommandOutput) => void): void;
136
+ /**
137
+ * @see {@link ResumeConnectorCommand}
138
+ */
139
+ resumeConnector(args: ResumeConnectorCommandInput, options?: KafkaConnectRequestOptions): Promise<ResumeConnectorCommandOutput>;
140
+ resumeConnector(args: ResumeConnectorCommandInput, cb: (err: any, data?: ResumeConnectorCommandOutput) => void): void;
141
+ resumeConnector(args: ResumeConnectorCommandInput, options: KafkaConnectRequestOptions, cb: (err: any, data?: ResumeConnectorCommandOutput) => void): void;
128
142
  /**
129
143
  * @see {@link TagResourceCommand}
130
144
  */
@@ -21,7 +21,9 @@ import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./
21
21
  import type { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
22
22
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
23
  import type { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
24
+ import type { PauseConnectorCommandInput, PauseConnectorCommandOutput } from "./commands/PauseConnectorCommand";
24
25
  import type { RestartConnectorCommandInput, RestartConnectorCommandOutput } from "./commands/RestartConnectorCommand";
26
+ import type { ResumeConnectorCommandInput, ResumeConnectorCommandOutput } from "./commands/ResumeConnectorCommand";
25
27
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
26
28
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
27
29
  import type { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
@@ -31,11 +33,11 @@ export { __Client };
31
33
  /**
32
34
  * @public
33
35
  */
34
- export type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DeleteCustomPluginCommandInput | DeleteWorkerConfigurationCommandInput | DescribeConnectorCommandInput | DescribeConnectorOperationCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorOperationsCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListTagsForResourceCommandInput | ListWorkerConfigurationsCommandInput | RestartConnectorCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectorCommandInput;
36
+ export type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DeleteCustomPluginCommandInput | DeleteWorkerConfigurationCommandInput | DescribeConnectorCommandInput | DescribeConnectorOperationCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorOperationsCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListTagsForResourceCommandInput | ListWorkerConfigurationsCommandInput | PauseConnectorCommandInput | RestartConnectorCommandInput | ResumeConnectorCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectorCommandInput;
35
37
  /**
36
38
  * @public
37
39
  */
38
- export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteCustomPluginCommandOutput | DeleteWorkerConfigurationCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorOperationCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorOperationsCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListTagsForResourceCommandOutput | ListWorkerConfigurationsCommandOutput | RestartConnectorCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectorCommandOutput;
40
+ export type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteCustomPluginCommandOutput | DeleteWorkerConfigurationCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorOperationCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorOperationsCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListTagsForResourceCommandOutput | ListWorkerConfigurationsCommandOutput | PauseConnectorCommandOutput | RestartConnectorCommandOutput | ResumeConnectorCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectorCommandOutput;
39
41
  /**
40
42
  * @public
41
43
  */
@@ -147,7 +149,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
147
149
  maxAttempts?: number | __Provider<number>;
148
150
  /**
149
151
  * Specifies which retry algorithm to use.
150
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
152
+ * Accepted values are "standard" and "adaptive".
153
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
151
154
  *
152
155
  */
153
156
  retryMode?: string | __Provider<string>;
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PauseConnectorRequest, PauseConnectorResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PauseConnectorCommand}.
11
+ */
12
+ export interface PauseConnectorCommandInput extends PauseConnectorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PauseConnectorCommand}.
18
+ */
19
+ export interface PauseConnectorCommandOutput extends PauseConnectorResponse, __MetadataBearer {
20
+ }
21
+ declare const PauseConnectorCommand_base: {
22
+ new (input: PauseConnectorCommandInput): import("@smithy/core/client").CommandImpl<PauseConnectorCommandInput, PauseConnectorCommandOutput, import("..").KafkaConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PauseConnectorCommandInput): import("@smithy/core/client").CommandImpl<PauseConnectorCommandInput, PauseConnectorCommandOutput, import("..").KafkaConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Pauses the specified connector. The operation runs asynchronously. To track the pause, pass the connector operation ARN from the response to <code>DescribeConnectorOperation</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaConnectClient, PauseConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
32
+ * // const { KafkaConnectClient, PauseConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
33
+ * // import type { KafkaConnectClientConfig } from "@aws-sdk/client-kafkaconnect";
34
+ * const config = {}; // type is KafkaConnectClientConfig
35
+ * const client = new KafkaConnectClient(config);
36
+ * const input = { // PauseConnectorRequest
37
+ * connectorArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new PauseConnectorCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // PauseConnectorResponse
42
+ * // connectorArn: "STRING_VALUE",
43
+ * // connectorOperationArn: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param PauseConnectorCommandInput - {@link PauseConnectorCommandInput}
49
+ * @returns {@link PauseConnectorCommandOutput}
50
+ * @see {@link PauseConnectorCommandInput} for command's `input` shape.
51
+ * @see {@link PauseConnectorCommandOutput} for command's `response` shape.
52
+ * @see {@link KafkaConnectClientResolvedConfig | config} for KafkaConnectClient's `config` shape.
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.</p>
59
+ *
60
+ * @throws {@link ForbiddenException} (client fault)
61
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>
62
+ *
63
+ * @throws {@link InternalServerErrorException} (server fault)
64
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>
68
+ *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.</p>
71
+ *
72
+ * @throws {@link TooManyRequestsException} (client fault)
73
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
74
+ *
75
+ * @throws {@link UnauthorizedException} (client fault)
76
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.</p>
77
+ *
78
+ * @throws {@link KafkaConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class PauseConnectorCommand extends PauseConnectorCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: PauseConnectorRequest;
89
+ output: PauseConnectorResponse;
90
+ };
91
+ sdk: {
92
+ input: PauseConnectorCommandInput;
93
+ output: PauseConnectorCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,96 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ResumeConnectorRequest, ResumeConnectorResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ResumeConnectorCommand}.
11
+ */
12
+ export interface ResumeConnectorCommandInput extends ResumeConnectorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ResumeConnectorCommand}.
18
+ */
19
+ export interface ResumeConnectorCommandOutput extends ResumeConnectorResponse, __MetadataBearer {
20
+ }
21
+ declare const ResumeConnectorCommand_base: {
22
+ new (input: ResumeConnectorCommandInput): import("@smithy/core/client").CommandImpl<ResumeConnectorCommandInput, ResumeConnectorCommandOutput, import("..").KafkaConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ResumeConnectorCommandInput): import("@smithy/core/client").CommandImpl<ResumeConnectorCommandInput, ResumeConnectorCommandOutput, import("..").KafkaConnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Resumes the specified paused connector. The operation runs asynchronously. To track the resume, pass the connector operation ARN from the response to <code>DescribeConnectorOperation</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { KafkaConnectClient, ResumeConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
32
+ * // const { KafkaConnectClient, ResumeConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
33
+ * // import type { KafkaConnectClientConfig } from "@aws-sdk/client-kafkaconnect";
34
+ * const config = {}; // type is KafkaConnectClientConfig
35
+ * const client = new KafkaConnectClient(config);
36
+ * const input = { // ResumeConnectorRequest
37
+ * connectorArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ResumeConnectorCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ResumeConnectorResponse
42
+ * // connectorArn: "STRING_VALUE",
43
+ * // connectorOperationArn: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param ResumeConnectorCommandInput - {@link ResumeConnectorCommandInput}
49
+ * @returns {@link ResumeConnectorCommandOutput}
50
+ * @see {@link ResumeConnectorCommandInput} for command's `input` shape.
51
+ * @see {@link ResumeConnectorCommandOutput} for command's `response` shape.
52
+ * @see {@link KafkaConnectClientResolvedConfig | config} for KafkaConnectClient's `config` shape.
53
+ *
54
+ * @throws {@link BadRequestException} (client fault)
55
+ * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.</p>
59
+ *
60
+ * @throws {@link ForbiddenException} (client fault)
61
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>
62
+ *
63
+ * @throws {@link InternalServerErrorException} (server fault)
64
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>
65
+ *
66
+ * @throws {@link NotFoundException} (client fault)
67
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>
68
+ *
69
+ * @throws {@link ServiceUnavailableException} (server fault)
70
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.</p>
71
+ *
72
+ * @throws {@link TooManyRequestsException} (client fault)
73
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
74
+ *
75
+ * @throws {@link UnauthorizedException} (client fault)
76
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.</p>
77
+ *
78
+ * @throws {@link KafkaConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ResumeConnectorCommand extends ResumeConnectorCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ResumeConnectorRequest;
89
+ output: ResumeConnectorResponse;
90
+ };
91
+ sdk: {
92
+ input: ResumeConnectorCommandInput;
93
+ output: ResumeConnectorCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -55,6 +55,7 @@ declare const UpdateConnectorCommand_base: {
55
55
  * connectorConfiguration: { // ConnectorConfigurationUpdate
56
56
  * "<keys>": "STRING_VALUE",
57
57
  * },
58
+ * skipHealthValidation: true || false,
58
59
  * connectorArn: "STRING_VALUE", // required
59
60
  * currentVersion: "STRING_VALUE", // required
60
61
  * };
@@ -13,7 +13,9 @@ export * from "./ListConnectorsCommand";
13
13
  export * from "./ListCustomPluginsCommand";
14
14
  export * from "./ListTagsForResourceCommand";
15
15
  export * from "./ListWorkerConfigurationsCommand";
16
+ export * from "./PauseConnectorCommand";
16
17
  export * from "./RestartConnectorCommand";
18
+ export * from "./ResumeConnectorCommand";
17
19
  export * from "./TagResourceCommand";
18
20
  export * from "./UntagResourceCommand";
19
21
  export * from "./UpdateConnectorCommand";
@@ -33,10 +33,16 @@ export type ConnectorOperationStepType = (typeof ConnectorOperationStepType)[key
33
33
  * @enum
34
34
  */
35
35
  export declare const ConnectorOperationState: {
36
+ readonly PAUSE_COMPLETE: "PAUSE_COMPLETE";
37
+ readonly PAUSE_FAILED: "PAUSE_FAILED";
38
+ readonly PAUSE_IN_PROGRESS: "PAUSE_IN_PROGRESS";
36
39
  readonly PENDING: "PENDING";
37
40
  readonly RESTART_COMPLETE: "RESTART_COMPLETE";
38
41
  readonly RESTART_FAILED: "RESTART_FAILED";
39
42
  readonly RESTART_IN_PROGRESS: "RESTART_IN_PROGRESS";
43
+ readonly RESUME_COMPLETE: "RESUME_COMPLETE";
44
+ readonly RESUME_FAILED: "RESUME_FAILED";
45
+ readonly RESUME_IN_PROGRESS: "RESUME_IN_PROGRESS";
40
46
  readonly ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE";
41
47
  readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
42
48
  readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
@@ -54,8 +60,10 @@ export type ConnectorOperationState = (typeof ConnectorOperationState)[keyof typ
54
60
  */
55
61
  export declare const ConnectorOperationType: {
56
62
  readonly ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR";
63
+ readonly PAUSE_CONNECTOR: "PAUSE_CONNECTOR";
57
64
  readonly RESTART_CONNECTOR: "RESTART_CONNECTOR";
58
65
  readonly RESTORE_CONNECTOR: "RESTORE_CONNECTOR";
66
+ readonly RESUME_CONNECTOR: "RESUME_CONNECTOR";
59
67
  readonly UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION";
60
68
  readonly UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING";
61
69
  };
@@ -71,7 +79,10 @@ export declare const ConnectorState: {
71
79
  readonly CREATING: "CREATING";
72
80
  readonly DELETING: "DELETING";
73
81
  readonly FAILED: "FAILED";
82
+ readonly PAUSED: "PAUSED";
83
+ readonly PAUSING: "PAUSING";
74
84
  readonly RESTARTING: "RESTARTING";
85
+ readonly RESUMING: "RESUMING";
75
86
  readonly RUNNING: "RUNNING";
76
87
  readonly UPDATING: "UPDATING";
77
88
  };
@@ -1770,6 +1770,31 @@ export interface ListWorkerConfigurationsResponse {
1770
1770
  */
1771
1771
  workerConfigurations?: WorkerConfigurationSummary[] | undefined;
1772
1772
  }
1773
+ /**
1774
+ * @public
1775
+ */
1776
+ export interface PauseConnectorRequest {
1777
+ /**
1778
+ * <p>The Amazon Resource Name (ARN) of the connector that you want to pause.</p>
1779
+ * @public
1780
+ */
1781
+ connectorArn: string | undefined;
1782
+ }
1783
+ /**
1784
+ * @public
1785
+ */
1786
+ export interface PauseConnectorResponse {
1787
+ /**
1788
+ * <p>The Amazon Resource Name (ARN) of the connector.</p>
1789
+ * @public
1790
+ */
1791
+ connectorArn?: string | undefined;
1792
+ /**
1793
+ * <p>The Amazon Resource Name (ARN) of the connector operation created to perform the pause.</p>
1794
+ * @public
1795
+ */
1796
+ connectorOperationArn?: string | undefined;
1797
+ }
1773
1798
  /**
1774
1799
  * @public
1775
1800
  */
@@ -1800,6 +1825,31 @@ export interface RestartConnectorResponse {
1800
1825
  */
1801
1826
  connectorOperationArn?: string | undefined;
1802
1827
  }
1828
+ /**
1829
+ * @public
1830
+ */
1831
+ export interface ResumeConnectorRequest {
1832
+ /**
1833
+ * <p>The Amazon Resource Name (ARN) of the connector that you want to resume.</p>
1834
+ * @public
1835
+ */
1836
+ connectorArn: string | undefined;
1837
+ }
1838
+ /**
1839
+ * @public
1840
+ */
1841
+ export interface ResumeConnectorResponse {
1842
+ /**
1843
+ * <p>The Amazon Resource Name (ARN) of the connector.</p>
1844
+ * @public
1845
+ */
1846
+ connectorArn?: string | undefined;
1847
+ /**
1848
+ * <p>The Amazon Resource Name (ARN) of the connector operation created to perform the resume.</p>
1849
+ * @public
1850
+ */
1851
+ connectorOperationArn?: string | undefined;
1852
+ }
1803
1853
  /**
1804
1854
  * @public
1805
1855
  */
@@ -1854,6 +1904,11 @@ export interface UpdateConnectorRequest {
1854
1904
  * @public
1855
1905
  */
1856
1906
  connectorConfiguration?: Record<string, string> | undefined;
1907
+ /**
1908
+ * <p>Specifies whether the update bypasses connector-level and task-level health checks. If <code>true</code>, the update skips the health checks. The update stays in effect even if the connector or its tasks are unhealthy, and Amazon MSK Connect doesn't roll it back. If <code>false</code> or not specified, the health checks run. If they fail, MSK Connect automatically rolls the connector back to its previous configuration, and the update doesn't take effect. To update a connector that is in the <code>PAUSED</code> state, you must set this parameter to <code>true</code>.</p>
1909
+ * @public
1910
+ */
1911
+ skipHealthValidation?: boolean | undefined;
1857
1912
  /**
1858
1913
  * <p>The Amazon Resource Name (ARN) of the connector that you want to update.</p>
1859
1914
  * @public
@@ -75,6 +75,8 @@ export declare var ListWorkerConfigurationsRequest$: StaticStructureSchema;
75
75
  export declare var ListWorkerConfigurationsResponse$: StaticStructureSchema;
76
76
  export declare var LogDelivery$: StaticStructureSchema;
77
77
  export declare var LogDeliveryDescription$: StaticStructureSchema;
78
+ export declare var PauseConnectorRequest$: StaticStructureSchema;
79
+ export declare var PauseConnectorResponse$: StaticStructureSchema;
78
80
  export declare var Plugin$: StaticStructureSchema;
79
81
  export declare var PluginDescription$: StaticStructureSchema;
80
82
  export declare var ProvisionedCapacity$: StaticStructureSchema;
@@ -82,6 +84,8 @@ export declare var ProvisionedCapacityDescription$: StaticStructureSchema;
82
84
  export declare var ProvisionedCapacityUpdate$: StaticStructureSchema;
83
85
  export declare var RestartConnectorRequest$: StaticStructureSchema;
84
86
  export declare var RestartConnectorResponse$: StaticStructureSchema;
87
+ export declare var ResumeConnectorRequest$: StaticStructureSchema;
88
+ export declare var ResumeConnectorResponse$: StaticStructureSchema;
85
89
  export declare var S3Location$: StaticStructureSchema;
86
90
  export declare var S3LocationDescription$: StaticStructureSchema;
87
91
  export declare var S3LogDelivery$: StaticStructureSchema;
@@ -124,7 +128,9 @@ export declare var ListConnectors$: StaticOperationSchema;
124
128
  export declare var ListCustomPlugins$: StaticOperationSchema;
125
129
  export declare var ListTagsForResource$: StaticOperationSchema;
126
130
  export declare var ListWorkerConfigurations$: StaticOperationSchema;
131
+ export declare var PauseConnector$: StaticOperationSchema;
127
132
  export declare var RestartConnector$: StaticOperationSchema;
133
+ export declare var ResumeConnector$: StaticOperationSchema;
128
134
  export declare var TagResource$: StaticOperationSchema;
129
135
  export declare var UntagResource$: StaticOperationSchema;
130
136
  export declare var UpdateConnector$: StaticOperationSchema;
@@ -64,10 +64,18 @@ import {
64
64
  ListWorkerConfigurationsCommandInput,
65
65
  ListWorkerConfigurationsCommandOutput,
66
66
  } from "./commands/ListWorkerConfigurationsCommand";
67
+ import {
68
+ PauseConnectorCommandInput,
69
+ PauseConnectorCommandOutput,
70
+ } from "./commands/PauseConnectorCommand";
67
71
  import {
68
72
  RestartConnectorCommandInput,
69
73
  RestartConnectorCommandOutput,
70
74
  } from "./commands/RestartConnectorCommand";
75
+ import {
76
+ ResumeConnectorCommandInput,
77
+ ResumeConnectorCommandOutput,
78
+ } from "./commands/ResumeConnectorCommand";
71
79
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
72
80
  import {
73
81
  UntagResourceCommandInput,
@@ -280,6 +288,19 @@ export interface KafkaConnect {
280
288
  options: KafkaConnectRequestOptions,
281
289
  cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void,
282
290
  ): void;
291
+ pauseConnector(
292
+ args: PauseConnectorCommandInput,
293
+ options?: KafkaConnectRequestOptions,
294
+ ): Promise<PauseConnectorCommandOutput>;
295
+ pauseConnector(
296
+ args: PauseConnectorCommandInput,
297
+ cb: (err: any, data?: PauseConnectorCommandOutput) => void,
298
+ ): void;
299
+ pauseConnector(
300
+ args: PauseConnectorCommandInput,
301
+ options: KafkaConnectRequestOptions,
302
+ cb: (err: any, data?: PauseConnectorCommandOutput) => void,
303
+ ): void;
283
304
  restartConnector(
284
305
  args: RestartConnectorCommandInput,
285
306
  options?: KafkaConnectRequestOptions,
@@ -293,6 +314,19 @@ export interface KafkaConnect {
293
314
  options: KafkaConnectRequestOptions,
294
315
  cb: (err: any, data?: RestartConnectorCommandOutput) => void,
295
316
  ): void;
317
+ resumeConnector(
318
+ args: ResumeConnectorCommandInput,
319
+ options?: KafkaConnectRequestOptions,
320
+ ): Promise<ResumeConnectorCommandOutput>;
321
+ resumeConnector(
322
+ args: ResumeConnectorCommandInput,
323
+ cb: (err: any, data?: ResumeConnectorCommandOutput) => void,
324
+ ): void;
325
+ resumeConnector(
326
+ args: ResumeConnectorCommandInput,
327
+ options: KafkaConnectRequestOptions,
328
+ cb: (err: any, data?: ResumeConnectorCommandOutput) => void,
329
+ ): void;
296
330
  tagResource(
297
331
  args: TagResourceCommandInput,
298
332
  options?: KafkaConnectRequestOptions,
@@ -93,10 +93,18 @@ import {
93
93
  ListWorkerConfigurationsCommandInput,
94
94
  ListWorkerConfigurationsCommandOutput,
95
95
  } from "./commands/ListWorkerConfigurationsCommand";
96
+ import {
97
+ PauseConnectorCommandInput,
98
+ PauseConnectorCommandOutput,
99
+ } from "./commands/PauseConnectorCommand";
96
100
  import {
97
101
  RestartConnectorCommandInput,
98
102
  RestartConnectorCommandOutput,
99
103
  } from "./commands/RestartConnectorCommand";
104
+ import {
105
+ ResumeConnectorCommandInput,
106
+ ResumeConnectorCommandOutput,
107
+ } from "./commands/ResumeConnectorCommand";
100
108
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
101
109
  import {
102
110
  UntagResourceCommandInput,
@@ -129,7 +137,9 @@ export type ServiceInputTypes =
129
137
  | ListCustomPluginsCommandInput
130
138
  | ListTagsForResourceCommandInput
131
139
  | ListWorkerConfigurationsCommandInput
140
+ | PauseConnectorCommandInput
132
141
  | RestartConnectorCommandInput
142
+ | ResumeConnectorCommandInput
133
143
  | TagResourceCommandInput
134
144
  | UntagResourceCommandInput
135
145
  | UpdateConnectorCommandInput;
@@ -149,7 +159,9 @@ export type ServiceOutputTypes =
149
159
  | ListCustomPluginsCommandOutput
150
160
  | ListTagsForResourceCommandOutput
151
161
  | ListWorkerConfigurationsCommandOutput
162
+ | PauseConnectorCommandOutput
152
163
  | RestartConnectorCommandOutput
164
+ | ResumeConnectorCommandOutput
153
165
  | TagResourceCommandOutput
154
166
  | UntagResourceCommandOutput
155
167
  | UpdateConnectorCommandOutput;
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { PauseConnectorRequest, PauseConnectorResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface PauseConnectorCommandInput extends PauseConnectorRequest {}
5
+ export interface PauseConnectorCommandOutput extends PauseConnectorResponse, __MetadataBearer {}
6
+ declare const PauseConnectorCommand_base: {
7
+ new (
8
+ input: PauseConnectorCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ PauseConnectorCommandInput,
11
+ PauseConnectorCommandOutput,
12
+ import("..").KafkaConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: PauseConnectorCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ PauseConnectorCommandInput,
20
+ PauseConnectorCommandOutput,
21
+ import("..").KafkaConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class PauseConnectorCommand extends PauseConnectorCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: PauseConnectorRequest;
31
+ output: PauseConnectorResponse;
32
+ };
33
+ sdk: {
34
+ input: PauseConnectorCommandInput;
35
+ output: PauseConnectorCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ResumeConnectorRequest, ResumeConnectorResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ResumeConnectorCommandInput extends ResumeConnectorRequest {}
5
+ export interface ResumeConnectorCommandOutput extends ResumeConnectorResponse, __MetadataBearer {}
6
+ declare const ResumeConnectorCommand_base: {
7
+ new (
8
+ input: ResumeConnectorCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ResumeConnectorCommandInput,
11
+ ResumeConnectorCommandOutput,
12
+ import("..").KafkaConnectClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: ResumeConnectorCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ResumeConnectorCommandInput,
20
+ ResumeConnectorCommandOutput,
21
+ import("..").KafkaConnectClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ResumeConnectorCommand extends ResumeConnectorCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ResumeConnectorRequest;
31
+ output: ResumeConnectorResponse;
32
+ };
33
+ sdk: {
34
+ input: ResumeConnectorCommandInput;
35
+ output: ResumeConnectorCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -13,7 +13,9 @@ export * from "./ListConnectorsCommand";
13
13
  export * from "./ListCustomPluginsCommand";
14
14
  export * from "./ListTagsForResourceCommand";
15
15
  export * from "./ListWorkerConfigurationsCommand";
16
+ export * from "./PauseConnectorCommand";
16
17
  export * from "./RestartConnectorCommand";
18
+ export * from "./ResumeConnectorCommand";
17
19
  export * from "./TagResourceCommand";
18
20
  export * from "./UntagResourceCommand";
19
21
  export * from "./UpdateConnectorCommand";
@@ -17,10 +17,16 @@ export declare const ConnectorOperationStepType: {
17
17
  export type ConnectorOperationStepType =
18
18
  (typeof ConnectorOperationStepType)[keyof typeof ConnectorOperationStepType];
19
19
  export declare const ConnectorOperationState: {
20
+ readonly PAUSE_COMPLETE: "PAUSE_COMPLETE";
21
+ readonly PAUSE_FAILED: "PAUSE_FAILED";
22
+ readonly PAUSE_IN_PROGRESS: "PAUSE_IN_PROGRESS";
20
23
  readonly PENDING: "PENDING";
21
24
  readonly RESTART_COMPLETE: "RESTART_COMPLETE";
22
25
  readonly RESTART_FAILED: "RESTART_FAILED";
23
26
  readonly RESTART_IN_PROGRESS: "RESTART_IN_PROGRESS";
27
+ readonly RESUME_COMPLETE: "RESUME_COMPLETE";
28
+ readonly RESUME_FAILED: "RESUME_FAILED";
29
+ readonly RESUME_IN_PROGRESS: "RESUME_IN_PROGRESS";
24
30
  readonly ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE";
25
31
  readonly ROLLBACK_FAILED: "ROLLBACK_FAILED";
26
32
  readonly ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS";
@@ -32,8 +38,10 @@ export type ConnectorOperationState =
32
38
  (typeof ConnectorOperationState)[keyof typeof ConnectorOperationState];
33
39
  export declare const ConnectorOperationType: {
34
40
  readonly ISOLATE_CONNECTOR: "ISOLATE_CONNECTOR";
41
+ readonly PAUSE_CONNECTOR: "PAUSE_CONNECTOR";
35
42
  readonly RESTART_CONNECTOR: "RESTART_CONNECTOR";
36
43
  readonly RESTORE_CONNECTOR: "RESTORE_CONNECTOR";
44
+ readonly RESUME_CONNECTOR: "RESUME_CONNECTOR";
37
45
  readonly UPDATE_CONNECTOR_CONFIGURATION: "UPDATE_CONNECTOR_CONFIGURATION";
38
46
  readonly UPDATE_WORKER_SETTING: "UPDATE_WORKER_SETTING";
39
47
  };
@@ -43,7 +51,10 @@ export declare const ConnectorState: {
43
51
  readonly CREATING: "CREATING";
44
52
  readonly DELETING: "DELETING";
45
53
  readonly FAILED: "FAILED";
54
+ readonly PAUSED: "PAUSED";
55
+ readonly PAUSING: "PAUSING";
46
56
  readonly RESTARTING: "RESTARTING";
57
+ readonly RESUMING: "RESUMING";
47
58
  readonly RUNNING: "RUNNING";
48
59
  readonly UPDATING: "UPDATING";
49
60
  };
@@ -440,6 +440,13 @@ export interface ListWorkerConfigurationsResponse {
440
440
  nextToken?: string | undefined;
441
441
  workerConfigurations?: WorkerConfigurationSummary[] | undefined;
442
442
  }
443
+ export interface PauseConnectorRequest {
444
+ connectorArn: string | undefined;
445
+ }
446
+ export interface PauseConnectorResponse {
447
+ connectorArn?: string | undefined;
448
+ connectorOperationArn?: string | undefined;
449
+ }
443
450
  export interface RestartConnectorRequest {
444
451
  connectorArn: string | undefined;
445
452
  onlyFailedTasks?: boolean | undefined;
@@ -448,6 +455,13 @@ export interface RestartConnectorResponse {
448
455
  connectorArn?: string | undefined;
449
456
  connectorOperationArn?: string | undefined;
450
457
  }
458
+ export interface ResumeConnectorRequest {
459
+ connectorArn: string | undefined;
460
+ }
461
+ export interface ResumeConnectorResponse {
462
+ connectorArn?: string | undefined;
463
+ connectorOperationArn?: string | undefined;
464
+ }
451
465
  export interface TagResourceRequest {
452
466
  resourceArn: string | undefined;
453
467
  tags: Record<string, string> | undefined;
@@ -461,6 +475,7 @@ export interface UntagResourceResponse {}
461
475
  export interface UpdateConnectorRequest {
462
476
  capacity?: CapacityUpdate | undefined;
463
477
  connectorConfiguration?: Record<string, string> | undefined;
478
+ skipHealthValidation?: boolean | undefined;
464
479
  connectorArn: string | undefined;
465
480
  currentVersion: string | undefined;
466
481
  }
@@ -70,6 +70,8 @@ export declare var ListWorkerConfigurationsRequest$: StaticStructureSchema;
70
70
  export declare var ListWorkerConfigurationsResponse$: StaticStructureSchema;
71
71
  export declare var LogDelivery$: StaticStructureSchema;
72
72
  export declare var LogDeliveryDescription$: StaticStructureSchema;
73
+ export declare var PauseConnectorRequest$: StaticStructureSchema;
74
+ export declare var PauseConnectorResponse$: StaticStructureSchema;
73
75
  export declare var Plugin$: StaticStructureSchema;
74
76
  export declare var PluginDescription$: StaticStructureSchema;
75
77
  export declare var ProvisionedCapacity$: StaticStructureSchema;
@@ -77,6 +79,8 @@ export declare var ProvisionedCapacityDescription$: StaticStructureSchema;
77
79
  export declare var ProvisionedCapacityUpdate$: StaticStructureSchema;
78
80
  export declare var RestartConnectorRequest$: StaticStructureSchema;
79
81
  export declare var RestartConnectorResponse$: StaticStructureSchema;
82
+ export declare var ResumeConnectorRequest$: StaticStructureSchema;
83
+ export declare var ResumeConnectorResponse$: StaticStructureSchema;
80
84
  export declare var S3Location$: StaticStructureSchema;
81
85
  export declare var S3LocationDescription$: StaticStructureSchema;
82
86
  export declare var S3LogDelivery$: StaticStructureSchema;
@@ -119,7 +123,9 @@ export declare var ListConnectors$: StaticOperationSchema;
119
123
  export declare var ListCustomPlugins$: StaticOperationSchema;
120
124
  export declare var ListTagsForResource$: StaticOperationSchema;
121
125
  export declare var ListWorkerConfigurations$: StaticOperationSchema;
126
+ export declare var PauseConnector$: StaticOperationSchema;
122
127
  export declare var RestartConnector$: StaticOperationSchema;
128
+ export declare var ResumeConnector$: StaticOperationSchema;
123
129
  export declare var TagResource$: StaticOperationSchema;
124
130
  export declare var UntagResource$: StaticOperationSchema;
125
131
  export declare var UpdateConnector$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafkaconnect",
3
- "version": "3.1154.0",
3
+ "version": "3.1156.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,10 +46,10 @@
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.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.87",
51
- "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.36.0",
49
+ "@aws-sdk/core": "^3.978.5",
50
+ "@aws-sdk/credential-provider-node": "^3.972.88",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.36.1",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",