@aws-sdk/client-kafkaconnect 3.51.0 → 3.54.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/CHANGELOG.md +30 -0
- package/dist-cjs/KafkaConnect.js +15 -0
- package/dist-cjs/commands/DeleteCustomPluginCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KafkaConnectServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +133 -2
- package/dist-cjs/protocols/Aws_restJson1.js +283 -651
- package/dist-es/KafkaConnect.js +15 -0
- package/dist-es/commands/DeleteCustomPluginCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/KafkaConnectServiceException.js +12 -0
- package/dist-es/models/models_0.js +118 -6
- package/dist-es/protocols/Aws_restJson1.js +466 -704
- package/dist-types/KafkaConnect.d.ts +10 -1
- package/dist-types/KafkaConnectClient.d.ts +5 -4
- package/dist-types/commands/DeleteCustomPluginCommand.d.ts +35 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KafkaConnectServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +237 -91
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KafkaConnect.d.ts +5 -0
- package/dist-types/ts3.4/KafkaConnectClient.d.ts +5 -4
- package/dist-types/ts3.4/commands/DeleteCustomPluginCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/KafkaConnectServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -33
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -3,6 +3,7 @@ import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./com
|
|
|
3
3
|
import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
|
|
4
4
|
import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
|
|
5
5
|
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
6
|
+
import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "./commands/DeleteCustomPluginCommand";
|
|
6
7
|
import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
|
|
7
8
|
import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "./commands/DescribeCustomPluginCommand";
|
|
8
9
|
import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "./commands/DescribeWorkerConfigurationCommand";
|
|
@@ -39,6 +40,12 @@ export declare class KafkaConnect extends KafkaConnectClient {
|
|
|
39
40
|
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
40
41
|
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
41
42
|
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* <p>Deletes a custom plugin.</p>
|
|
45
|
+
*/
|
|
46
|
+
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomPluginCommandOutput>;
|
|
47
|
+
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, cb: (err: any, data?: DeleteCustomPluginCommandOutput) => void): void;
|
|
48
|
+
deleteCustomPlugin(args: DeleteCustomPluginCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomPluginCommandOutput) => void): void;
|
|
42
49
|
/**
|
|
43
50
|
* <p>Returns summary information about the connector.</p>
|
|
44
51
|
*/
|
|
@@ -58,7 +65,9 @@ export declare class KafkaConnect extends KafkaConnectClient {
|
|
|
58
65
|
describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
|
|
59
66
|
describeWorkerConfiguration(args: DescribeWorkerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkerConfigurationCommandOutput) => void): void;
|
|
60
67
|
/**
|
|
61
|
-
* <p>Returns a list of all the connectors in this account and Region. The list is limited to
|
|
68
|
+
* <p>Returns a list of all the connectors in this account and Region. The list is limited to
|
|
69
|
+
* connectors whose name starts with the specified prefix. The response also includes a
|
|
70
|
+
* description of each of the listed connectors.</p>
|
|
62
71
|
*/
|
|
63
72
|
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
64
73
|
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
@@ -5,11 +5,12 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
10
10
|
import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
|
|
11
11
|
import { CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput } from "./commands/CreateWorkerConfigurationCommand";
|
|
12
12
|
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
13
|
+
import { DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput } from "./commands/DeleteCustomPluginCommand";
|
|
13
14
|
import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
|
|
14
15
|
import { DescribeCustomPluginCommandInput, DescribeCustomPluginCommandOutput } from "./commands/DescribeCustomPluginCommand";
|
|
15
16
|
import { DescribeWorkerConfigurationCommandInput, DescribeWorkerConfigurationCommandOutput } from "./commands/DescribeWorkerConfigurationCommand";
|
|
@@ -17,8 +18,8 @@ import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./comma
|
|
|
17
18
|
import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
|
|
18
19
|
import { ListWorkerConfigurationsCommandInput, ListWorkerConfigurationsCommandOutput } from "./commands/ListWorkerConfigurationsCommand";
|
|
19
20
|
import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
20
|
-
export declare type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListWorkerConfigurationsCommandInput | UpdateConnectorCommandInput;
|
|
21
|
-
export declare type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListWorkerConfigurationsCommandOutput | UpdateConnectorCommandOutput;
|
|
21
|
+
export declare type ServiceInputTypes = CreateConnectorCommandInput | CreateCustomPluginCommandInput | CreateWorkerConfigurationCommandInput | DeleteConnectorCommandInput | DeleteCustomPluginCommandInput | DescribeConnectorCommandInput | DescribeCustomPluginCommandInput | DescribeWorkerConfigurationCommandInput | ListConnectorsCommandInput | ListCustomPluginsCommandInput | ListWorkerConfigurationsCommandInput | UpdateConnectorCommandInput;
|
|
22
|
+
export declare type ServiceOutputTypes = CreateConnectorCommandOutput | CreateCustomPluginCommandOutput | CreateWorkerConfigurationCommandOutput | DeleteConnectorCommandOutput | DeleteCustomPluginCommandOutput | DescribeConnectorCommandOutput | DescribeCustomPluginCommandOutput | DescribeWorkerConfigurationCommandOutput | ListConnectorsCommandOutput | ListCustomPluginsCommandOutput | ListWorkerConfigurationsCommandOutput | UpdateConnectorCommandOutput;
|
|
22
23
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
24
|
/**
|
|
24
25
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -39,7 +40,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
39
40
|
* A function that can calculate the length of a request body.
|
|
40
41
|
* @internal
|
|
41
42
|
*/
|
|
42
|
-
bodyLengthChecker?:
|
|
43
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
43
44
|
/**
|
|
44
45
|
* A function that converts a stream into an array of bytes.
|
|
45
46
|
* @internal
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
|
|
4
|
+
import { DeleteCustomPluginRequest, DeleteCustomPluginResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteCustomPluginCommandInput extends DeleteCustomPluginRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteCustomPluginCommandOutput extends DeleteCustomPluginResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a custom plugin.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaConnectClient, DeleteCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
15
|
+
* // const { KafkaConnectClient, DeleteCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
16
|
+
* const client = new KafkaConnectClient(config);
|
|
17
|
+
* const command = new DeleteCustomPluginCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteCustomPluginCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteCustomPluginCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaConnectClientResolvedConfig | config} for KafkaConnectClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteCustomPluginCommand extends $Command<DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput, KafkaConnectClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteCustomPluginCommandInput;
|
|
28
|
+
constructor(input: DeleteCustomPluginCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCustomPluginCommandInput, DeleteCustomPluginCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -7,7 +7,9 @@ export interface ListConnectorsCommandInput extends ListConnectorsRequest {
|
|
|
7
7
|
export interface ListConnectorsCommandOutput extends ListConnectorsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of all the connectors in this account and Region. The list is limited to
|
|
10
|
+
* <p>Returns a list of all the connectors in this account and Region. The list is limited to
|
|
11
|
+
* connectors whose name starts with the specified prefix. The response also includes a
|
|
12
|
+
* description of each of the listed connectors.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -2,6 +2,7 @@ export * from "./CreateConnectorCommand";
|
|
|
2
2
|
export * from "./CreateCustomPluginCommand";
|
|
3
3
|
export * from "./CreateWorkerConfigurationCommand";
|
|
4
4
|
export * from "./DeleteConnectorCommand";
|
|
5
|
+
export * from "./DeleteCustomPluginCommand";
|
|
5
6
|
export * from "./DescribeConnectorCommand";
|
|
6
7
|
export * from "./DescribeCustomPluginCommand";
|
|
7
8
|
export * from "./DescribeWorkerConfigurationCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from KafkaConnect service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class KafkaConnectServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|