@aws-sdk/client-kafkaconnect 3.53.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 +11 -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/models/models_0.js +27 -1
- package/dist-cjs/protocols/Aws_restJson1.js +100 -1
- 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/models/models_0.js +20 -5
- package/dist-es/protocols/Aws_restJson1.js +129 -0
- 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/models/models_0.d.ts +179 -58
- 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/models/models_0.d.ts +33 -0
- 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 +27 -27
|
@@ -129,6 +129,37 @@ export var serializeAws_restJson1DeleteConnectorCommand = function (input, conte
|
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
131
|
}); };
|
|
132
|
+
export var serializeAws_restJson1DeleteCustomPluginCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
133
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
134
|
+
return __generator(this, function (_c) {
|
|
135
|
+
switch (_c.label) {
|
|
136
|
+
case 0: return [4, context.endpoint()];
|
|
137
|
+
case 1:
|
|
138
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
139
|
+
headers = {};
|
|
140
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/custom-plugins/{customPluginArn}";
|
|
141
|
+
if (input.customPluginArn !== undefined) {
|
|
142
|
+
labelValue = input.customPluginArn;
|
|
143
|
+
if (labelValue.length <= 0) {
|
|
144
|
+
throw new Error("Empty value provided for input HTTP label: customPluginArn.");
|
|
145
|
+
}
|
|
146
|
+
resolvedPath = resolvedPath.replace("{customPluginArn}", __extendedEncodeURIComponent(labelValue));
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
throw new Error("No value provided for input HTTP label: customPluginArn.");
|
|
150
|
+
}
|
|
151
|
+
return [2, new __HttpRequest({
|
|
152
|
+
protocol: protocol,
|
|
153
|
+
hostname: hostname,
|
|
154
|
+
port: port,
|
|
155
|
+
method: "DELETE",
|
|
156
|
+
headers: headers,
|
|
157
|
+
path: resolvedPath,
|
|
158
|
+
body: body,
|
|
159
|
+
})];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}); };
|
|
132
163
|
export var serializeAws_restJson1DescribeConnectorCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
133
164
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
134
165
|
return __generator(this, function (_c) {
|
|
@@ -697,6 +728,90 @@ var deserializeAws_restJson1DeleteConnectorCommandError = function (output, cont
|
|
|
697
728
|
}
|
|
698
729
|
});
|
|
699
730
|
}); };
|
|
731
|
+
export var deserializeAws_restJson1DeleteCustomPluginCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
732
|
+
var contents, data, _a, _b;
|
|
733
|
+
return __generator(this, function (_c) {
|
|
734
|
+
switch (_c.label) {
|
|
735
|
+
case 0:
|
|
736
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
737
|
+
return [2, deserializeAws_restJson1DeleteCustomPluginCommandError(output, context)];
|
|
738
|
+
}
|
|
739
|
+
contents = {
|
|
740
|
+
$metadata: deserializeMetadata(output),
|
|
741
|
+
customPluginArn: undefined,
|
|
742
|
+
customPluginState: undefined,
|
|
743
|
+
};
|
|
744
|
+
_a = __expectNonNull;
|
|
745
|
+
_b = __expectObject;
|
|
746
|
+
return [4, parseBody(output.body, context)];
|
|
747
|
+
case 1:
|
|
748
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
749
|
+
if (data.customPluginArn !== undefined && data.customPluginArn !== null) {
|
|
750
|
+
contents.customPluginArn = __expectString(data.customPluginArn);
|
|
751
|
+
}
|
|
752
|
+
if (data.customPluginState !== undefined && data.customPluginState !== null) {
|
|
753
|
+
contents.customPluginState = __expectString(data.customPluginState);
|
|
754
|
+
}
|
|
755
|
+
return [2, Promise.resolve(contents)];
|
|
756
|
+
}
|
|
757
|
+
});
|
|
758
|
+
}); };
|
|
759
|
+
var deserializeAws_restJson1DeleteCustomPluginCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
760
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
761
|
+
var _c;
|
|
762
|
+
return __generator(this, function (_d) {
|
|
763
|
+
switch (_d.label) {
|
|
764
|
+
case 0:
|
|
765
|
+
_a = [__assign({}, output)];
|
|
766
|
+
_c = {};
|
|
767
|
+
return [4, parseBody(output.body, context)];
|
|
768
|
+
case 1:
|
|
769
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
770
|
+
errorCode = "UnknownError";
|
|
771
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
772
|
+
_b = errorCode;
|
|
773
|
+
switch (_b) {
|
|
774
|
+
case "BadRequestException": return [3, 2];
|
|
775
|
+
case "com.amazonaws.kafkaconnect#BadRequestException": return [3, 2];
|
|
776
|
+
case "ForbiddenException": return [3, 4];
|
|
777
|
+
case "com.amazonaws.kafkaconnect#ForbiddenException": return [3, 4];
|
|
778
|
+
case "InternalServerErrorException": return [3, 6];
|
|
779
|
+
case "com.amazonaws.kafkaconnect#InternalServerErrorException": return [3, 6];
|
|
780
|
+
case "NotFoundException": return [3, 8];
|
|
781
|
+
case "com.amazonaws.kafkaconnect#NotFoundException": return [3, 8];
|
|
782
|
+
case "ServiceUnavailableException": return [3, 10];
|
|
783
|
+
case "com.amazonaws.kafkaconnect#ServiceUnavailableException": return [3, 10];
|
|
784
|
+
case "TooManyRequestsException": return [3, 12];
|
|
785
|
+
case "com.amazonaws.kafkaconnect#TooManyRequestsException": return [3, 12];
|
|
786
|
+
case "UnauthorizedException": return [3, 14];
|
|
787
|
+
case "com.amazonaws.kafkaconnect#UnauthorizedException": return [3, 14];
|
|
788
|
+
}
|
|
789
|
+
return [3, 16];
|
|
790
|
+
case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
|
|
791
|
+
case 3: throw _d.sent();
|
|
792
|
+
case 4: return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
|
|
793
|
+
case 5: throw _d.sent();
|
|
794
|
+
case 6: return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
|
|
795
|
+
case 7: throw _d.sent();
|
|
796
|
+
case 8: return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
|
|
797
|
+
case 9: throw _d.sent();
|
|
798
|
+
case 10: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
799
|
+
case 11: throw _d.sent();
|
|
800
|
+
case 12: return [4, deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)];
|
|
801
|
+
case 13: throw _d.sent();
|
|
802
|
+
case 14: return [4, deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context)];
|
|
803
|
+
case 15: throw _d.sent();
|
|
804
|
+
case 16:
|
|
805
|
+
parsedBody = parsedOutput.body;
|
|
806
|
+
response = new __BaseException({
|
|
807
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
808
|
+
$fault: "client",
|
|
809
|
+
$metadata: deserializeMetadata(output),
|
|
810
|
+
});
|
|
811
|
+
throw __decorateServiceException(response, parsedBody);
|
|
812
|
+
}
|
|
813
|
+
});
|
|
814
|
+
}); };
|
|
700
815
|
export var deserializeAws_restJson1DescribeConnectorCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
701
816
|
var contents, data, _a, _b;
|
|
702
817
|
return __generator(this, function (_c) {
|
|
@@ -722,6 +837,7 @@ export var deserializeAws_restJson1DescribeConnectorCommand = function (output,
|
|
|
722
837
|
logDelivery: undefined,
|
|
723
838
|
plugins: undefined,
|
|
724
839
|
serviceExecutionRoleArn: undefined,
|
|
840
|
+
stateDescription: undefined,
|
|
725
841
|
workerConfiguration: undefined,
|
|
726
842
|
};
|
|
727
843
|
_a = __expectNonNull;
|
|
@@ -774,6 +890,9 @@ export var deserializeAws_restJson1DescribeConnectorCommand = function (output,
|
|
|
774
890
|
if (data.serviceExecutionRoleArn !== undefined && data.serviceExecutionRoleArn !== null) {
|
|
775
891
|
contents.serviceExecutionRoleArn = __expectString(data.serviceExecutionRoleArn);
|
|
776
892
|
}
|
|
893
|
+
if (data.stateDescription !== undefined && data.stateDescription !== null) {
|
|
894
|
+
contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
|
|
895
|
+
}
|
|
777
896
|
if (data.workerConfiguration !== undefined && data.workerConfiguration !== null) {
|
|
778
897
|
contents.workerConfiguration = deserializeAws_restJson1WorkerConfigurationDescription(data.workerConfiguration, context);
|
|
779
898
|
}
|
|
@@ -853,6 +972,7 @@ export var deserializeAws_restJson1DescribeCustomPluginCommand = function (outpu
|
|
|
853
972
|
description: undefined,
|
|
854
973
|
latestRevision: undefined,
|
|
855
974
|
name: undefined,
|
|
975
|
+
stateDescription: undefined,
|
|
856
976
|
};
|
|
857
977
|
_a = __expectNonNull;
|
|
858
978
|
_b = __expectObject;
|
|
@@ -877,6 +997,9 @@ export var deserializeAws_restJson1DescribeCustomPluginCommand = function (outpu
|
|
|
877
997
|
if (data.name !== undefined && data.name !== null) {
|
|
878
998
|
contents.name = __expectString(data.name);
|
|
879
999
|
}
|
|
1000
|
+
if (data.stateDescription !== undefined && data.stateDescription !== null) {
|
|
1001
|
+
contents.stateDescription = deserializeAws_restJson1StateDescription(data.stateDescription, context);
|
|
1002
|
+
}
|
|
880
1003
|
return [2, Promise.resolve(contents)];
|
|
881
1004
|
}
|
|
882
1005
|
});
|
|
@@ -1875,6 +1998,12 @@ var deserializeAws_restJson1ScaleOutPolicyDescription = function (output, contex
|
|
|
1875
1998
|
cpuUtilizationPercentage: __expectInt32(output.cpuUtilizationPercentage),
|
|
1876
1999
|
};
|
|
1877
2000
|
};
|
|
2001
|
+
var deserializeAws_restJson1StateDescription = function (output, context) {
|
|
2002
|
+
return {
|
|
2003
|
+
code: __expectString(output.code),
|
|
2004
|
+
message: __expectString(output.message),
|
|
2005
|
+
};
|
|
2006
|
+
};
|
|
1878
2007
|
var deserializeAws_restJson1VpcDescription = function (output, context) {
|
|
1879
2008
|
return {
|
|
1880
2009
|
securityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
@@ -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";
|