@aws-sdk/client-kafkaconnect 3.521.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 (39) 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-es/KafkaConnect.js +8 -0
  8. package/dist-es/commands/DeleteWorkerConfigurationCommand.js +24 -0
  9. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  10. package/dist-es/commands/TagResourceCommand.js +24 -0
  11. package/dist-es/commands/UntagResourceCommand.js +24 -0
  12. package/dist-es/commands/index.js +4 -0
  13. package/dist-es/models/models_0.js +4 -0
  14. package/dist-es/protocols/Aws_restJson1.js +106 -0
  15. package/dist-types/KafkaConnect.d.ts +28 -0
  16. package/dist-types/KafkaConnectClient.d.ts +6 -2
  17. package/dist-types/commands/CreateConnectorCommand.d.ts +4 -1
  18. package/dist-types/commands/CreateCustomPluginCommand.d.ts +3 -0
  19. package/dist-types/commands/CreateWorkerConfigurationCommand.d.ts +4 -0
  20. package/dist-types/commands/DeleteWorkerConfigurationCommand.d.ts +86 -0
  21. package/dist-types/commands/DescribeWorkerConfigurationCommand.d.ts +1 -0
  22. package/dist-types/commands/ListCustomPluginsCommand.d.ts +1 -0
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +87 -0
  24. package/dist-types/commands/ListWorkerConfigurationsCommand.d.ts +2 -0
  25. package/dist-types/commands/TagResourceCommand.d.ts +90 -0
  26. package/dist-types/commands/UntagResourceCommand.d.ts +86 -0
  27. package/dist-types/commands/index.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +143 -5
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  30. package/dist-types/ts3.4/KafkaConnect.d.ts +68 -0
  31. package/dist-types/ts3.4/KafkaConnectClient.d.ts +24 -0
  32. package/dist-types/ts3.4/commands/DeleteWorkerConfigurationCommand.d.ts +30 -0
  33. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
  34. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +26 -0
  35. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +29 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +37 -0
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  39. package/package.json +1 -1
@@ -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
  */
@@ -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
@@ -65,6 +65,10 @@ import {
65
65
  DeleteCustomPluginCommandInput,
66
66
  DeleteCustomPluginCommandOutput,
67
67
  } from "./commands/DeleteCustomPluginCommand";
68
+ import {
69
+ DeleteWorkerConfigurationCommandInput,
70
+ DeleteWorkerConfigurationCommandOutput,
71
+ } from "./commands/DeleteWorkerConfigurationCommand";
68
72
  import {
69
73
  DescribeConnectorCommandInput,
70
74
  DescribeConnectorCommandOutput,
@@ -85,10 +89,22 @@ import {
85
89
  ListCustomPluginsCommandInput,
86
90
  ListCustomPluginsCommandOutput,
87
91
  } from "./commands/ListCustomPluginsCommand";
92
+ import {
93
+ ListTagsForResourceCommandInput,
94
+ ListTagsForResourceCommandOutput,
95
+ } from "./commands/ListTagsForResourceCommand";
88
96
  import {
89
97
  ListWorkerConfigurationsCommandInput,
90
98
  ListWorkerConfigurationsCommandOutput,
91
99
  } from "./commands/ListWorkerConfigurationsCommand";
100
+ import {
101
+ TagResourceCommandInput,
102
+ TagResourceCommandOutput,
103
+ } from "./commands/TagResourceCommand";
104
+ import {
105
+ UntagResourceCommandInput,
106
+ UntagResourceCommandOutput,
107
+ } from "./commands/UntagResourceCommand";
92
108
  import {
93
109
  UpdateConnectorCommandInput,
94
110
  UpdateConnectorCommandOutput,
@@ -106,12 +122,16 @@ export type ServiceInputTypes =
106
122
  | CreateWorkerConfigurationCommandInput
107
123
  | DeleteConnectorCommandInput
108
124
  | DeleteCustomPluginCommandInput
125
+ | DeleteWorkerConfigurationCommandInput
109
126
  | DescribeConnectorCommandInput
110
127
  | DescribeCustomPluginCommandInput
111
128
  | DescribeWorkerConfigurationCommandInput
112
129
  | ListConnectorsCommandInput
113
130
  | ListCustomPluginsCommandInput
131
+ | ListTagsForResourceCommandInput
114
132
  | ListWorkerConfigurationsCommandInput
133
+ | TagResourceCommandInput
134
+ | UntagResourceCommandInput
115
135
  | UpdateConnectorCommandInput;
116
136
  export type ServiceOutputTypes =
117
137
  | CreateConnectorCommandOutput
@@ -119,12 +139,16 @@ export type ServiceOutputTypes =
119
139
  | CreateWorkerConfigurationCommandOutput
120
140
  | DeleteConnectorCommandOutput
121
141
  | DeleteCustomPluginCommandOutput
142
+ | DeleteWorkerConfigurationCommandOutput
122
143
  | DescribeConnectorCommandOutput
123
144
  | DescribeCustomPluginCommandOutput
124
145
  | DescribeWorkerConfigurationCommandOutput
125
146
  | ListConnectorsCommandOutput
126
147
  | ListCustomPluginsCommandOutput
148
+ | ListTagsForResourceCommandOutput
127
149
  | ListWorkerConfigurationsCommandOutput
150
+ | TagResourceCommandOutput
151
+ | UntagResourceCommandOutput
128
152
  | UpdateConnectorCommandOutput;
129
153
  export interface ClientDefaults
130
154
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KafkaConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KafkaConnectClient";
8
+ import {
9
+ DeleteWorkerConfigurationRequest,
10
+ DeleteWorkerConfigurationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DeleteWorkerConfigurationCommandInput
14
+ extends DeleteWorkerConfigurationRequest {}
15
+ export interface DeleteWorkerConfigurationCommandOutput
16
+ extends DeleteWorkerConfigurationResponse,
17
+ __MetadataBearer {}
18
+ declare const DeleteWorkerConfigurationCommand_base: {
19
+ new (
20
+ input: DeleteWorkerConfigurationCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteWorkerConfigurationCommandInput,
23
+ DeleteWorkerConfigurationCommandOutput,
24
+ KafkaConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class DeleteWorkerConfigurationCommand extends DeleteWorkerConfigurationCommand_base {}
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ KafkaConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../KafkaConnectClient";
8
+ import {
9
+ ListTagsForResourceRequest,
10
+ ListTagsForResourceResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface ListTagsForResourceCommandInput
14
+ extends ListTagsForResourceRequest {}
15
+ export interface ListTagsForResourceCommandOutput
16
+ extends ListTagsForResourceResponse,
17
+ __MetadataBearer {}
18
+ declare const ListTagsForResourceCommand_base: {
19
+ new (
20
+ input: ListTagsForResourceCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListTagsForResourceCommandInput,
23
+ ListTagsForResourceCommandOutput,
24
+ KafkaConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}