@aws-sdk/client-kafkaconnect 3.515.0 → 3.522.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.
Files changed (49) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/commands/DeleteWorkerConfigurationCommand.js +1 -0
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -0
  4. package/dist-cjs/commands/TagResourceCommand.js +1 -0
  5. package/dist-cjs/commands/UntagResourceCommand.js +1 -0
  6. package/dist-cjs/index.js +201 -7
  7. package/dist-cjs/runtimeConfig.browser.js +1 -1
  8. package/dist-cjs/runtimeConfig.js +1 -1
  9. package/dist-es/KafkaConnect.js +8 -0
  10. package/dist-es/commands/DeleteWorkerConfigurationCommand.js +24 -0
  11. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  12. package/dist-es/commands/TagResourceCommand.js +24 -0
  13. package/dist-es/commands/UntagResourceCommand.js +24 -0
  14. package/dist-es/commands/index.js +4 -0
  15. package/dist-es/models/models_0.js +4 -0
  16. package/dist-es/protocols/Aws_restJson1.js +106 -0
  17. package/dist-es/runtimeConfig.browser.js +1 -1
  18. package/dist-es/runtimeConfig.js +1 -1
  19. package/dist-types/KafkaConnect.d.ts +28 -0
  20. package/dist-types/KafkaConnectClient.d.ts +10 -6
  21. package/dist-types/commands/CreateConnectorCommand.d.ts +4 -1
  22. package/dist-types/commands/CreateCustomPluginCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteWorkerConfigurationCommand.d.ts +86 -0
  25. package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +1 -0
  26. package/dist-types/commands/ListCustomPluginsCommand.d.ts +1 -0
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +87 -0
  28. package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +2 -0
  29. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  30. package/dist-types/commands/UntagResourceCommand.d.ts +86 -0
  31. package/dist-types/commands/index.d.ts +4 -0
  32. package/dist-types/models/models_0.d.ts +143 -5
  33. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -4
  35. package/dist-types/runtimeConfig.d.ts +1 -4
  36. package/dist-types/runtimeConfig.native.d.ts +1 -4
  37. package/dist-types/ts3.4/KafkaConnect.d.ts +68 -0
  38. package/dist-types/ts3.4/KafkaConnectClient.d.ts +27 -3
  39. package/dist-types/ts3.4/commands/DeleteWorkerConfigurationCommand.d.ts +30 -0
  40. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
  41. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +26 -0
  42. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +29 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +37 -0
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  49. package/package.json +34 -34
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link TagResourceCommand}.
13
+ */
14
+ export interface TagResourceCommandInput extends TagResourceRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link TagResourceCommand}.
20
+ */
21
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
22
+ }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Attaches tags to the specified resource.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KafkaConnectClient, TagResourceCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
34
+ * // const { KafkaConnectClient, TagResourceCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
35
+ * const client = new KafkaConnectClient(config);
36
+ * const input = { // TagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: { // Tags // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} 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
56
+ * retry it.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your
60
+ * request with another name.</p>
61
+ *
62
+ * @throws {@link ForbiddenException} (client fault)
63
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
64
+ * request.</p>
65
+ *
66
+ * @throws {@link InternalServerErrorException} (server fault)
67
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
68
+ * resolve the issue.</p>
69
+ *
70
+ * @throws {@link NotFoundException} (client fault)
71
+ * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request
72
+ * and then retry it.</p>
73
+ *
74
+ * @throws {@link ServiceUnavailableException} (server fault)
75
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
76
+ * resolve the issue.</p>
77
+ *
78
+ * @throws {@link TooManyRequestsException} (client fault)
79
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
80
+ *
81
+ * @throws {@link UnauthorizedException} (client fault)
82
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
83
+ * validated.</p>
84
+ *
85
+ * @throws {@link KafkaConnectServiceException}
86
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
87
+ *
88
+ */
89
+ export declare class TagResourceCommand extends TagResourceCommand_base {
90
+ }
@@ -0,0 +1,86 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link UntagResourceCommand}.
13
+ */
14
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link UntagResourceCommand}.
20
+ */
21
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
22
+ }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Removes tags from the specified resource.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { KafkaConnectClient, UntagResourceCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
34
+ * // const { KafkaConnectClient, UntagResourceCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
35
+ * const client = new KafkaConnectClient(config);
36
+ * const input = { // UntagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeyList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} 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
56
+ * retry it.</p>
57
+ *
58
+ * @throws {@link ForbiddenException} (client fault)
59
+ * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your
60
+ * request.</p>
61
+ *
62
+ * @throws {@link InternalServerErrorException} (server fault)
63
+ * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might
64
+ * 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
68
+ * and then retry it.</p>
69
+ *
70
+ * @throws {@link ServiceUnavailableException} (server fault)
71
+ * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might
72
+ * resolve the issue.</p>
73
+ *
74
+ * @throws {@link TooManyRequestsException} (client fault)
75
+ * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
76
+ *
77
+ * @throws {@link UnauthorizedException} (client fault)
78
+ * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be
79
+ * validated.</p>
80
+ *
81
+ * @throws {@link KafkaConnectServiceException}
82
+ * <p>Base exception class for all service exceptions from KafkaConnect service.</p>
83
+ *
84
+ */
85
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
86
+ }
@@ -3,10 +3,14 @@ export * from "./CreateCustomPluginCommand";
3
3
  export * from "./CreateWorkerConfigurationCommand";
4
4
  export * from "./DeleteConnectorCommand";
5
5
  export * from "./DeleteCustomPluginCommand";
6
+ export * from "./DeleteWorkerConfigurationCommand";
6
7
  export * from "./DescribeConnectorCommand";
7
8
  export * from "./DescribeCustomPluginCommand";
8
9
  export * from "./DescribeWorkerConfigurationCommand";
9
10
  export * from "./ListConnectorsCommand";
10
11
  export * from "./ListCustomPluginsCommand";
12
+ export * from "./ListTagsForResourceCommand";
11
13
  export * from "./ListWorkerConfigurationsCommand";
14
+ export * from "./TagResourceCommand";
15
+ export * from "./UntagResourceCommand";
12
16
  export * from "./UpdateConnectorCommand";
@@ -564,8 +564,7 @@ export interface CustomPluginSummary {
564
564
  }
565
565
  /**
566
566
  * @public
567
- * <p>A plugin is an AWS resource that contains the code that defines a connector's
568
- * logic.</p>
567
+ * <p>A plugin is an Amazon Web Services resource that contains the code that defines a connector's logic.</p>
569
568
  */
570
569
  export interface CustomPlugin {
571
570
  /**
@@ -581,8 +580,7 @@ export interface CustomPlugin {
581
580
  }
582
581
  /**
583
582
  * @public
584
- * <p>A plugin is an AWS resource that contains the code that defines your connector logic.
585
- * </p>
583
+ * <p>A plugin is an Amazon Web Services resource that contains the code that defines your connector logic. </p>
586
584
  */
587
585
  export interface Plugin {
588
586
  /**
@@ -612,6 +610,18 @@ export interface WorkerConfigurationRevisionSummary {
612
610
  */
613
611
  revision?: number;
614
612
  }
613
+ /**
614
+ * @public
615
+ * @enum
616
+ */
617
+ export declare const WorkerConfigurationState: {
618
+ readonly ACTIVE: "ACTIVE";
619
+ readonly DELETING: "DELETING";
620
+ };
621
+ /**
622
+ * @public
623
+ */
624
+ export type WorkerConfigurationState = (typeof WorkerConfigurationState)[keyof typeof WorkerConfigurationState];
615
625
  /**
616
626
  * @public
617
627
  * <p>The summary of a worker configuration.</p>
@@ -642,6 +652,11 @@ export interface WorkerConfigurationSummary {
642
652
  * <p>The Amazon Resource Name (ARN) of the worker configuration.</p>
643
653
  */
644
654
  workerConfigurationArn?: string;
655
+ /**
656
+ * @public
657
+ * <p>The state of the worker configuration.</p>
658
+ */
659
+ workerConfigurationState?: WorkerConfigurationState;
645
660
  }
646
661
  /**
647
662
  * @public
@@ -1075,7 +1090,10 @@ export interface CreateConnectorRequest {
1075
1090
  logDelivery?: LogDelivery;
1076
1091
  /**
1077
1092
  * @public
1078
- * <p>Specifies which plugins to use for the connector.</p>
1093
+ * <important>
1094
+ * <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>
1095
+ * </important>
1096
+ * <p>Specifies which plugin to use for the connector. You must specify a single-element list containing one <code>customPlugin</code> object.</p>
1079
1097
  */
1080
1098
  plugins: Plugin[] | undefined;
1081
1099
  /**
@@ -1091,6 +1109,11 @@ export interface CreateConnectorRequest {
1091
1109
  * <p>Specifies which worker configuration to use with the connector.</p>
1092
1110
  */
1093
1111
  workerConfiguration?: WorkerConfiguration;
1112
+ /**
1113
+ * @public
1114
+ * <p>The tags you want to attach to the connector.</p>
1115
+ */
1116
+ tags?: Record<string, string>;
1094
1117
  }
1095
1118
  /**
1096
1119
  * @public
@@ -1246,6 +1269,11 @@ export interface CreateCustomPluginRequest {
1246
1269
  * <p>The name of the custom plugin.</p>
1247
1270
  */
1248
1271
  name: string | undefined;
1272
+ /**
1273
+ * @public
1274
+ * <p>The tags you want to attach to the custom plugin.</p>
1275
+ */
1276
+ tags?: Record<string, string>;
1249
1277
  }
1250
1278
  /**
1251
1279
  * @public
@@ -1291,6 +1319,11 @@ export interface CreateWorkerConfigurationRequest {
1291
1319
  * <p>Base64 encoded contents of connect-distributed.properties file.</p>
1292
1320
  */
1293
1321
  propertiesFileContent: string | undefined;
1322
+ /**
1323
+ * @public
1324
+ * <p>The tags you want to attach to the worker configuration.</p>
1325
+ */
1326
+ tags?: Record<string, string>;
1294
1327
  }
1295
1328
  /**
1296
1329
  * @public
@@ -1316,6 +1349,11 @@ export interface CreateWorkerConfigurationResponse {
1316
1349
  * <p>The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.</p>
1317
1350
  */
1318
1351
  workerConfigurationArn?: string;
1352
+ /**
1353
+ * @public
1354
+ * <p>The state of the worker configuration.</p>
1355
+ */
1356
+ workerConfigurationState?: WorkerConfigurationState;
1319
1357
  }
1320
1358
  /**
1321
1359
  * @public
@@ -1372,6 +1410,31 @@ export interface DeleteCustomPluginResponse {
1372
1410
  */
1373
1411
  customPluginState?: CustomPluginState;
1374
1412
  }
1413
+ /**
1414
+ * @public
1415
+ */
1416
+ export interface DeleteWorkerConfigurationRequest {
1417
+ /**
1418
+ * @public
1419
+ * <p>The Amazon Resource Name (ARN) of the worker configuration that you want to delete.</p>
1420
+ */
1421
+ workerConfigurationArn: string | undefined;
1422
+ }
1423
+ /**
1424
+ * @public
1425
+ */
1426
+ export interface DeleteWorkerConfigurationResponse {
1427
+ /**
1428
+ * @public
1429
+ * <p>The Amazon Resource Name (ARN) of the worker configuration that you requested to delete.</p>
1430
+ */
1431
+ workerConfigurationArn?: string;
1432
+ /**
1433
+ * @public
1434
+ * <p>The state of the worker configuration.</p>
1435
+ */
1436
+ workerConfigurationState?: WorkerConfigurationState;
1437
+ }
1375
1438
  /**
1376
1439
  * @public
1377
1440
  */
@@ -1609,6 +1672,11 @@ export interface DescribeWorkerConfigurationResponse {
1609
1672
  * <p>The Amazon Resource Name (ARN) of the custom configuration.</p>
1610
1673
  */
1611
1674
  workerConfigurationArn?: string;
1675
+ /**
1676
+ * @public
1677
+ * <p>The state of the worker configuration.</p>
1678
+ */
1679
+ workerConfigurationState?: WorkerConfigurationState;
1612
1680
  }
1613
1681
  /**
1614
1682
  * @public
@@ -1665,6 +1733,11 @@ export interface ListCustomPluginsRequest {
1665
1733
  * previous operation left off.</p>
1666
1734
  */
1667
1735
  nextToken?: string;
1736
+ /**
1737
+ * @public
1738
+ * <p>Lists custom plugin names that start with the specified text string.</p>
1739
+ */
1740
+ namePrefix?: string;
1668
1741
  }
1669
1742
  /**
1670
1743
  * @public
@@ -1683,6 +1756,26 @@ export interface ListCustomPluginsResponse {
1683
1756
  */
1684
1757
  nextToken?: string;
1685
1758
  }
1759
+ /**
1760
+ * @public
1761
+ */
1762
+ export interface ListTagsForResourceRequest {
1763
+ /**
1764
+ * @public
1765
+ * <p>The Amazon Resource Name (ARN) of the resource for which you want to list all attached tags.</p>
1766
+ */
1767
+ resourceArn: string | undefined;
1768
+ }
1769
+ /**
1770
+ * @public
1771
+ */
1772
+ export interface ListTagsForResourceResponse {
1773
+ /**
1774
+ * @public
1775
+ * <p>Lists the tags attached to the specified resource in the corresponding request.</p>
1776
+ */
1777
+ tags?: Record<string, string>;
1778
+ }
1686
1779
  /**
1687
1780
  * @public
1688
1781
  */
@@ -1699,6 +1792,11 @@ export interface ListWorkerConfigurationsRequest {
1699
1792
  * previous operation left off.</p>
1700
1793
  */
1701
1794
  nextToken?: string;
1795
+ /**
1796
+ * @public
1797
+ * <p>Lists worker configuration names that start with the specified text string.</p>
1798
+ */
1799
+ namePrefix?: string;
1702
1800
  }
1703
1801
  /**
1704
1802
  * @public
@@ -1717,6 +1815,46 @@ export interface ListWorkerConfigurationsResponse {
1717
1815
  */
1718
1816
  workerConfigurations?: WorkerConfigurationSummary[];
1719
1817
  }
1818
+ /**
1819
+ * @public
1820
+ */
1821
+ export interface TagResourceRequest {
1822
+ /**
1823
+ * @public
1824
+ * <p>The Amazon Resource Name (ARN) of the resource to which you want to attach tags.</p>
1825
+ */
1826
+ resourceArn: string | undefined;
1827
+ /**
1828
+ * @public
1829
+ * <p>The tags that you want to attach to the resource.</p>
1830
+ */
1831
+ tags: Record<string, string> | undefined;
1832
+ }
1833
+ /**
1834
+ * @public
1835
+ */
1836
+ export interface TagResourceResponse {
1837
+ }
1838
+ /**
1839
+ * @public
1840
+ */
1841
+ export interface UntagResourceRequest {
1842
+ /**
1843
+ * @public
1844
+ * <p>The Amazon Resource Name (ARN) of the resource from which you want to remove tags.</p>
1845
+ */
1846
+ resourceArn: string | undefined;
1847
+ /**
1848
+ * @public
1849
+ * <p>The keys of the tags that you want to remove from the resource.</p>
1850
+ */
1851
+ tagKeys: string[] | undefined;
1852
+ }
1853
+ /**
1854
+ * @public
1855
+ */
1856
+ export interface UntagResourceResponse {
1857
+ }
1720
1858
  /**
1721
1859
  * @public
1722
1860
  */
@@ -5,12 +5,16 @@ import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from
5
5
  import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "../commands/CreateWorkerConfigurationCommand";
6
6
  import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "../commands/DeleteConnectorCommand";
7
7
  import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "../commands/DeleteCustomPluginCommand";
8
+ import { DeleteWorkerConfigurationCommandInput, DeleteWorkerConfigurationCommandOutput } from "../commands/DeleteWorkerConfigurationCommand";
8
9
  import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "../commands/DescribeConnectorCommand";
9
10
  import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "../commands/DescribeCustomPluginCommand";
10
11
  import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "../commands/DescribeWorkerConfigurationCommand";
11
12
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
12
13
  import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "../commands/ListCustomPluginsCommand";
14
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
13
15
  import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "../commands/ListWorkerConfigurationsCommand";
16
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
17
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
14
18
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "../commands/UpdateConnectorCommand";
15
19
  /**
16
20
  * serializeAws_restJson1CreateConnectorCommand
@@ -32,6 +36,10 @@ export declare const se_DeleteConnectorCommand: (input: DeleteConnectorCommandIn
32
36
  * serializeAws_restJson1DeleteCustomPluginCommand
33
37
  */
34
38
  export declare const se_DeleteCustomPluginCommand: (input: DeleteCustomPluginCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1DeleteWorkerConfigurationCommand
41
+ */
42
+ export declare const se_DeleteWorkerConfigurationCommand: (input: DeleteWorkerConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
43
  /**
36
44
  * serializeAws_restJson1DescribeConnectorCommand
37
45
  */
@@ -52,10 +60,22 @@ export declare const se_ListConnectorsCommand: (input: ListConnectorsCommandInpu
52
60
  * serializeAws_restJson1ListCustomPluginsCommand
53
61
  */
54
62
  export declare const se_ListCustomPluginsCommand: (input: ListCustomPluginsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ /**
64
+ * serializeAws_restJson1ListTagsForResourceCommand
65
+ */
66
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
67
  /**
56
68
  * serializeAws_restJson1ListWorkerConfigurationsCommand
57
69
  */
58
70
  export declare const se_ListWorkerConfigurationsCommand: (input: ListWorkerConfigurationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
71
+ /**
72
+ * serializeAws_restJson1TagResourceCommand
73
+ */
74
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
+ /**
76
+ * serializeAws_restJson1UntagResourceCommand
77
+ */
78
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
59
79
  /**
60
80
  * serializeAws_restJson1UpdateConnectorCommand
61
81
  */
@@ -80,6 +100,10 @@ export declare const de_DeleteConnectorCommand: (output: __HttpResponse, context
80
100
  * deserializeAws_restJson1DeleteCustomPluginCommand
81
101
  */
82
102
  export declare const de_DeleteCustomPluginCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomPluginCommandOutput>;
103
+ /**
104
+ * deserializeAws_restJson1DeleteWorkerConfigurationCommand
105
+ */
106
+ export declare const de_DeleteWorkerConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkerConfigurationCommandOutput>;
83
107
  /**
84
108
  * deserializeAws_restJson1DescribeConnectorCommand
85
109
  */
@@ -100,10 +124,22 @@ export declare const de_ListConnectorsCommand: (output: __HttpResponse, context:
100
124
  * deserializeAws_restJson1ListCustomPluginsCommand
101
125
  */
102
126
  export declare const de_ListCustomPluginsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCustomPluginsCommandOutput>;
127
+ /**
128
+ * deserializeAws_restJson1ListTagsForResourceCommand
129
+ */
130
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
103
131
  /**
104
132
  * deserializeAws_restJson1ListWorkerConfigurationsCommand
105
133
  */
106
134
  export declare const de_ListWorkerConfigurationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkerConfigurationsCommandOutput>;
135
+ /**
136
+ * deserializeAws_restJson1TagResourceCommand
137
+ */
138
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
139
+ /**
140
+ * deserializeAws_restJson1UntagResourceCommand
141
+ */
142
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
107
143
  /**
108
144
  * deserializeAws_restJson1UpdateConnectorCommand
109
145
  */
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,10 +5,7 @@ import { KafkaConnectClientConfig } from "./KafkaConnectClient";
5
5
  export declare const getRuntimeConfig: (config: KafkaConnectClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
- updateHttpClientConfig(key: never, value: never): void;
10
- httpHandlerConfigs(): {};
11
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
9
  apiVersion: string;
13
10
  urlParser: import("@smithy/types").UrlParser;
14
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -19,6 +19,10 @@ import {
19
19
  DeleteCustomPluginCommandInput,
20
20
  DeleteCustomPluginCommandOutput,
21
21
  } from "./commands/DeleteCustomPluginCommand";
22
+ import {
23
+ DeleteWorkerConfigurationCommandInput,
24
+ DeleteWorkerConfigurationCommandOutput,
25
+ } from "./commands/DeleteWorkerConfigurationCommand";
22
26
  import {
23
27
  DescribeConnectorCommandInput,
24
28
  DescribeConnectorCommandOutput,
@@ -39,10 +43,22 @@ import {
39
43
  ListCustomPluginsCommandInput,
40
44
  ListCustomPluginsCommandOutput,
41
45
  } from "./commands/ListCustomPluginsCommand";
46
+ import {
47
+ ListTagsForResourceCommandInput,
48
+ ListTagsForResourceCommandOutput,
49
+ } from "./commands/ListTagsForResourceCommand";
42
50
  import {
43
51
  ListWorkerConfigurationsCommandInput,
44
52
  ListWorkerConfigurationsCommandOutput,
45
53
  } from "./commands/ListWorkerConfigurationsCommand";
54
+ import {
55
+ TagResourceCommandInput,
56
+ TagResourceCommandOutput,
57
+ } from "./commands/TagResourceCommand";
58
+ import {
59
+ UntagResourceCommandInput,
60
+ UntagResourceCommandOutput,
61
+ } from "./commands/UntagResourceCommand";
46
62
  import {
47
63
  UpdateConnectorCommandInput,
48
64
  UpdateConnectorCommandOutput,
@@ -114,6 +130,19 @@ export interface KafkaConnect {
114
130
  options: __HttpHandlerOptions,
115
131
  cb: (err: any, data?: DeleteCustomPluginCommandOutput) => void
116
132
  ): void;
133
+ deleteWorkerConfiguration(
134
+ args: DeleteWorkerConfigurationCommandInput,
135
+ options?: __HttpHandlerOptions
136
+ ): Promise<DeleteWorkerConfigurationCommandOutput>;
137
+ deleteWorkerConfiguration(
138
+ args: DeleteWorkerConfigurationCommandInput,
139
+ cb: (err: any, data?: DeleteWorkerConfigurationCommandOutput) => void
140
+ ): void;
141
+ deleteWorkerConfiguration(
142
+ args: DeleteWorkerConfigurationCommandInput,
143
+ options: __HttpHandlerOptions,
144
+ cb: (err: any, data?: DeleteWorkerConfigurationCommandOutput) => void
145
+ ): void;
117
146
  describeConnector(
118
147
  args: DescribeConnectorCommandInput,
119
148
  options?: __HttpHandlerOptions
@@ -179,6 +208,19 @@ export interface KafkaConnect {
179
208
  options: __HttpHandlerOptions,
180
209
  cb: (err: any, data?: ListCustomPluginsCommandOutput) => void
181
210
  ): void;
211
+ listTagsForResource(
212
+ args: ListTagsForResourceCommandInput,
213
+ options?: __HttpHandlerOptions
214
+ ): Promise<ListTagsForResourceCommandOutput>;
215
+ listTagsForResource(
216
+ args: ListTagsForResourceCommandInput,
217
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
218
+ ): void;
219
+ listTagsForResource(
220
+ args: ListTagsForResourceCommandInput,
221
+ options: __HttpHandlerOptions,
222
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
223
+ ): void;
182
224
  listWorkerConfigurations(
183
225
  args: ListWorkerConfigurationsCommandInput,
184
226
  options?: __HttpHandlerOptions
@@ -192,6 +234,32 @@ export interface KafkaConnect {
192
234
  options: __HttpHandlerOptions,
193
235
  cb: (err: any, data?: ListWorkerConfigurationsCommandOutput) => void
194
236
  ): void;
237
+ tagResource(
238
+ args: TagResourceCommandInput,
239
+ options?: __HttpHandlerOptions
240
+ ): Promise<TagResourceCommandOutput>;
241
+ tagResource(
242
+ args: TagResourceCommandInput,
243
+ cb: (err: any, data?: TagResourceCommandOutput) => void
244
+ ): void;
245
+ tagResource(
246
+ args: TagResourceCommandInput,
247
+ options: __HttpHandlerOptions,
248
+ cb: (err: any, data?: TagResourceCommandOutput) => void
249
+ ): void;
250
+ untagResource(
251
+ args: UntagResourceCommandInput,
252
+ options?: __HttpHandlerOptions
253
+ ): Promise<UntagResourceCommandOutput>;
254
+ untagResource(
255
+ args: UntagResourceCommandInput,
256
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
257
+ ): void;
258
+ untagResource(
259
+ args: UntagResourceCommandInput,
260
+ options: __HttpHandlerOptions,
261
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
262
+ ): void;
195
263
  updateConnector(
196
264
  args: UpdateConnectorCommandInput,
197
265
  options?: __HttpHandlerOptions