@aws-sdk/client-kafkaconnect 3.33.0 → 3.36.1
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 +47 -0
- package/{dist/cjs → dist-cjs}/KafkaConnect.js +1 -5
- package/{dist/cjs → dist-cjs}/KafkaConnectClient.js +8 -17
- package/{dist/cjs → dist-cjs}/commands/CreateConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateCustomPluginCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateWorkerConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeCustomPluginCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeWorkerConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListConnectorsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListCustomPluginsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListWorkerConfigurationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateConnectorCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -247
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListConnectorsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListCustomPluginsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListWorkerConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/KafkaConnect.js +2 -6
- package/{dist/es → dist-es}/KafkaConnectClient.js +2 -11
- package/{dist/es → dist-es}/commands/CreateConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateCustomPluginCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateWorkerConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeCustomPluginCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeWorkerConfigurationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListConnectorsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListCustomPluginsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListWorkerConfigurationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateConnectorCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -247
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListConnectorsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListCustomPluginsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListWorkerConfigurationsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +427 -433
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/KafkaConnect.d.ts +2 -2
- package/{dist/types → dist-types}/KafkaConnectClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomPluginCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateWorkerConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeCustomPluginCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeWorkerConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConnectorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListCustomPluginsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListWorkerConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConnectorCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListCustomPluginsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/KafkaConnect.d.ts +14 -38
- package/{dist/types → dist-types}/ts3.4/KafkaConnectClient.d.ts +32 -97
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateCustomPluginCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomPluginCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1028 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/KafkaConnect.ts +0 -414
- package/KafkaConnectClient.ts +0 -280
- package/commands/CreateConnectorCommand.ts +0 -94
- package/commands/CreateCustomPluginCommand.ts +0 -94
- package/commands/CreateWorkerConfigurationCommand.ts +0 -97
- package/commands/DeleteConnectorCommand.ts +0 -94
- package/commands/DescribeConnectorCommand.ts +0 -94
- package/commands/DescribeCustomPluginCommand.ts +0 -94
- package/commands/DescribeWorkerConfigurationCommand.ts +0 -99
- package/commands/ListConnectorsCommand.ts +0 -94
- package/commands/ListCustomPluginsCommand.ts +0 -94
- package/commands/ListWorkerConfigurationsCommand.ts +0 -94
- package/commands/UpdateConnectorCommand.ts +0 -94
- package/dist/cjs/KafkaConnect.js.map +0 -1
- package/dist/cjs/KafkaConnectClient.js.map +0 -1
- package/dist/cjs/commands/CreateConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomPluginCommand.js.map +0 -1
- package/dist/cjs/commands/CreateWorkerConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectorCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeCustomPluginCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/ListConnectorsCommand.js.map +0 -1
- package/dist/cjs/commands/ListCustomPluginsCommand.js.map +0 -1
- package/dist/cjs/commands/ListWorkerConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConnectorCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListConnectorsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListCustomPluginsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/KafkaConnect.js.map +0 -1
- package/dist/es/KafkaConnectClient.js.map +0 -1
- package/dist/es/commands/CreateConnectorCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomPluginCommand.js.map +0 -1
- package/dist/es/commands/CreateWorkerConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeleteConnectorCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectorCommand.js.map +0 -1
- package/dist/es/commands/DescribeCustomPluginCommand.js.map +0 -1
- package/dist/es/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
- package/dist/es/commands/ListConnectorsCommand.js.map +0 -1
- package/dist/es/commands/ListCustomPluginsCommand.js.map +0 -1
- package/dist/es/commands/ListWorkerConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/UpdateConnectorCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -19
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListConnectorsPaginator.js.map +0 -1
- package/dist/es/pagination/ListCustomPluginsPaginator.js.map +0 -1
- package/dist/es/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateConnectorCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListConnectorsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListCustomPluginsCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1732
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2197
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListConnectorsPaginator.ts +0 -58
- package/pagination/ListCustomPluginsPaginator.ts +0 -58
- package/pagination/ListWorkerConfigurationsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -2700
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/KafkaConnectClient.ts
DELETED
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
2
|
-
import { CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput } from "./commands/CreateCustomPluginCommand";
|
|
3
|
-
import {
|
|
4
|
-
CreateWorkerConfigurationCommandInput,
|
|
5
|
-
CreateWorkerConfigurationCommandOutput,
|
|
6
|
-
} from "./commands/CreateWorkerConfigurationCommand";
|
|
7
|
-
import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
8
|
-
import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
|
|
9
|
-
import {
|
|
10
|
-
DescribeCustomPluginCommandInput,
|
|
11
|
-
DescribeCustomPluginCommandOutput,
|
|
12
|
-
} from "./commands/DescribeCustomPluginCommand";
|
|
13
|
-
import {
|
|
14
|
-
DescribeWorkerConfigurationCommandInput,
|
|
15
|
-
DescribeWorkerConfigurationCommandOutput,
|
|
16
|
-
} from "./commands/DescribeWorkerConfigurationCommand";
|
|
17
|
-
import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
18
|
-
import { ListCustomPluginsCommandInput, ListCustomPluginsCommandOutput } from "./commands/ListCustomPluginsCommand";
|
|
19
|
-
import {
|
|
20
|
-
ListWorkerConfigurationsCommandInput,
|
|
21
|
-
ListWorkerConfigurationsCommandOutput,
|
|
22
|
-
} from "./commands/ListWorkerConfigurationsCommand";
|
|
23
|
-
import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
24
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
25
|
-
import {
|
|
26
|
-
EndpointsInputConfig,
|
|
27
|
-
EndpointsResolvedConfig,
|
|
28
|
-
RegionInputConfig,
|
|
29
|
-
RegionResolvedConfig,
|
|
30
|
-
resolveEndpointsConfig,
|
|
31
|
-
resolveRegionConfig,
|
|
32
|
-
} from "@aws-sdk/config-resolver";
|
|
33
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
34
|
-
import {
|
|
35
|
-
HostHeaderInputConfig,
|
|
36
|
-
HostHeaderResolvedConfig,
|
|
37
|
-
getHostHeaderPlugin,
|
|
38
|
-
resolveHostHeaderConfig,
|
|
39
|
-
} from "@aws-sdk/middleware-host-header";
|
|
40
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
41
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
42
|
-
import {
|
|
43
|
-
AwsAuthInputConfig,
|
|
44
|
-
AwsAuthResolvedConfig,
|
|
45
|
-
getAwsAuthPlugin,
|
|
46
|
-
resolveAwsAuthConfig,
|
|
47
|
-
} from "@aws-sdk/middleware-signing";
|
|
48
|
-
import {
|
|
49
|
-
UserAgentInputConfig,
|
|
50
|
-
UserAgentResolvedConfig,
|
|
51
|
-
getUserAgentPlugin,
|
|
52
|
-
resolveUserAgentConfig,
|
|
53
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
54
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
55
|
-
import {
|
|
56
|
-
Client as __Client,
|
|
57
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
58
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
59
|
-
} from "@aws-sdk/smithy-client";
|
|
60
|
-
import {
|
|
61
|
-
Provider,
|
|
62
|
-
RegionInfoProvider,
|
|
63
|
-
Credentials as __Credentials,
|
|
64
|
-
Decoder as __Decoder,
|
|
65
|
-
Encoder as __Encoder,
|
|
66
|
-
Hash as __Hash,
|
|
67
|
-
HashConstructor as __HashConstructor,
|
|
68
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
69
|
-
Logger as __Logger,
|
|
70
|
-
Provider as __Provider,
|
|
71
|
-
StreamCollector as __StreamCollector,
|
|
72
|
-
UrlParser as __UrlParser,
|
|
73
|
-
UserAgent as __UserAgent,
|
|
74
|
-
} from "@aws-sdk/types";
|
|
75
|
-
|
|
76
|
-
export type ServiceInputTypes =
|
|
77
|
-
| CreateConnectorCommandInput
|
|
78
|
-
| CreateCustomPluginCommandInput
|
|
79
|
-
| CreateWorkerConfigurationCommandInput
|
|
80
|
-
| DeleteConnectorCommandInput
|
|
81
|
-
| DescribeConnectorCommandInput
|
|
82
|
-
| DescribeCustomPluginCommandInput
|
|
83
|
-
| DescribeWorkerConfigurationCommandInput
|
|
84
|
-
| ListConnectorsCommandInput
|
|
85
|
-
| ListCustomPluginsCommandInput
|
|
86
|
-
| ListWorkerConfigurationsCommandInput
|
|
87
|
-
| UpdateConnectorCommandInput;
|
|
88
|
-
|
|
89
|
-
export type ServiceOutputTypes =
|
|
90
|
-
| CreateConnectorCommandOutput
|
|
91
|
-
| CreateCustomPluginCommandOutput
|
|
92
|
-
| CreateWorkerConfigurationCommandOutput
|
|
93
|
-
| DeleteConnectorCommandOutput
|
|
94
|
-
| DescribeConnectorCommandOutput
|
|
95
|
-
| DescribeCustomPluginCommandOutput
|
|
96
|
-
| DescribeWorkerConfigurationCommandOutput
|
|
97
|
-
| ListConnectorsCommandOutput
|
|
98
|
-
| ListCustomPluginsCommandOutput
|
|
99
|
-
| ListWorkerConfigurationsCommandOutput
|
|
100
|
-
| UpdateConnectorCommandOutput;
|
|
101
|
-
|
|
102
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
103
|
-
/**
|
|
104
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
105
|
-
*/
|
|
106
|
-
requestHandler?: __HttpHandler;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
110
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
sha256?: __HashConstructor;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
urlParser?: __UrlParser;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* A function that can calculate the length of a request body.
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* A function that converts a stream into an array of bytes.
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
streamCollector?: __StreamCollector;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
base64Decoder?: __Decoder;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
base64Encoder?: __Encoder;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
utf8Decoder?: __Decoder;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
utf8Encoder?: __Encoder;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* The runtime environment.
|
|
159
|
-
* @internal
|
|
160
|
-
*/
|
|
161
|
-
runtime?: string;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
165
|
-
* trait of an operation.
|
|
166
|
-
*/
|
|
167
|
-
disableHostPrefix?: boolean;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
171
|
-
*/
|
|
172
|
-
maxAttempts?: number | __Provider<number>;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Specifies which retry algorithm to use.
|
|
176
|
-
*/
|
|
177
|
-
retryMode?: string | __Provider<string>;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Optional logger for logging debug/info/warn/error.
|
|
181
|
-
*/
|
|
182
|
-
logger?: __Logger;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Unique service identifier.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
serviceId?: string;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* The AWS region to which this client will send requests
|
|
192
|
-
*/
|
|
193
|
-
region?: string | __Provider<string>;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Default credentials provider; Not available in browser runtime.
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
type KafkaConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
215
|
-
ClientDefaults &
|
|
216
|
-
RegionInputConfig &
|
|
217
|
-
EndpointsInputConfig &
|
|
218
|
-
RetryInputConfig &
|
|
219
|
-
HostHeaderInputConfig &
|
|
220
|
-
AwsAuthInputConfig &
|
|
221
|
-
UserAgentInputConfig;
|
|
222
|
-
/**
|
|
223
|
-
* The configuration interface of KafkaConnectClient class constructor that set the region, credentials and other options.
|
|
224
|
-
*/
|
|
225
|
-
export interface KafkaConnectClientConfig extends KafkaConnectClientConfigType {}
|
|
226
|
-
|
|
227
|
-
type KafkaConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
228
|
-
Required<ClientDefaults> &
|
|
229
|
-
RegionResolvedConfig &
|
|
230
|
-
EndpointsResolvedConfig &
|
|
231
|
-
RetryResolvedConfig &
|
|
232
|
-
HostHeaderResolvedConfig &
|
|
233
|
-
AwsAuthResolvedConfig &
|
|
234
|
-
UserAgentResolvedConfig;
|
|
235
|
-
/**
|
|
236
|
-
* The resolved configuration interface of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
|
|
237
|
-
*/
|
|
238
|
-
export interface KafkaConnectClientResolvedConfig extends KafkaConnectClientResolvedConfigType {}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* <p/>
|
|
242
|
-
*/
|
|
243
|
-
export class KafkaConnectClient extends __Client<
|
|
244
|
-
__HttpHandlerOptions,
|
|
245
|
-
ServiceInputTypes,
|
|
246
|
-
ServiceOutputTypes,
|
|
247
|
-
KafkaConnectClientResolvedConfig
|
|
248
|
-
> {
|
|
249
|
-
/**
|
|
250
|
-
* The resolved configuration of KafkaConnectClient class. This is resolved and normalized from the {@link KafkaConnectClientConfig | constructor configuration interface}.
|
|
251
|
-
*/
|
|
252
|
-
readonly config: KafkaConnectClientResolvedConfig;
|
|
253
|
-
|
|
254
|
-
constructor(configuration: KafkaConnectClientConfig) {
|
|
255
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
256
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
257
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
258
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
259
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
260
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
261
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
262
|
-
super(_config_6);
|
|
263
|
-
this.config = _config_6;
|
|
264
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
265
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
266
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
267
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
268
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
269
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
274
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
275
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
276
|
-
*/
|
|
277
|
-
destroy(): void {
|
|
278
|
-
super.destroy();
|
|
279
|
-
}
|
|
280
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
|
|
2
|
-
import { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateConnectorCommand,
|
|
5
|
-
serializeAws_restJson1CreateConnectorCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateConnectorCommandInput extends CreateConnectorRequest {}
|
|
21
|
-
export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a connector using the specified properties.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { KafkaConnectClient, CreateConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
29
|
-
* // const { KafkaConnectClient, CreateConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
30
|
-
* const client = new KafkaConnectClient(config);
|
|
31
|
-
* const command = new CreateConnectorCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateConnectorCommand extends $Command<
|
|
41
|
-
CreateConnectorCommandInput,
|
|
42
|
-
CreateConnectorCommandOutput,
|
|
43
|
-
KafkaConnectClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateConnectorCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: KafkaConnectClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateConnectorCommandInput, CreateConnectorCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "KafkaConnectClient";
|
|
68
|
-
const commandName = "CreateConnectorCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateConnectorRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateConnectorResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateConnectorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateConnectorCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateConnectorCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateConnectorCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
|
|
2
|
-
import { CreateCustomPluginRequest, CreateCustomPluginResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateCustomPluginCommand,
|
|
5
|
-
serializeAws_restJson1CreateCustomPluginCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateCustomPluginCommandInput extends CreateCustomPluginRequest {}
|
|
21
|
-
export interface CreateCustomPluginCommandOutput extends CreateCustomPluginResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a custom plugin using the specified properties.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { KafkaConnectClient, CreateCustomPluginCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
29
|
-
* // const { KafkaConnectClient, CreateCustomPluginCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
30
|
-
* const client = new KafkaConnectClient(config);
|
|
31
|
-
* const command = new CreateCustomPluginCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateCustomPluginCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateCustomPluginCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateCustomPluginCommand extends $Command<
|
|
41
|
-
CreateCustomPluginCommandInput,
|
|
42
|
-
CreateCustomPluginCommandOutput,
|
|
43
|
-
KafkaConnectClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateCustomPluginCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: KafkaConnectClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateCustomPluginCommandInput, CreateCustomPluginCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "KafkaConnectClient";
|
|
68
|
-
const commandName = "CreateCustomPluginCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateCustomPluginRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateCustomPluginResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateCustomPluginCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateCustomPluginCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCustomPluginCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateCustomPluginCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
|
|
2
|
-
import { CreateWorkerConfigurationRequest, CreateWorkerConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateWorkerConfigurationCommand,
|
|
5
|
-
serializeAws_restJson1CreateWorkerConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateWorkerConfigurationCommandInput extends CreateWorkerConfigurationRequest {}
|
|
21
|
-
export interface CreateWorkerConfigurationCommandOutput extends CreateWorkerConfigurationResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a worker configuration using the specified properties.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { KafkaConnectClient, CreateWorkerConfigurationCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
29
|
-
* // const { KafkaConnectClient, CreateWorkerConfigurationCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
30
|
-
* const client = new KafkaConnectClient(config);
|
|
31
|
-
* const command = new CreateWorkerConfigurationCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateWorkerConfigurationCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateWorkerConfigurationCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateWorkerConfigurationCommand extends $Command<
|
|
41
|
-
CreateWorkerConfigurationCommandInput,
|
|
42
|
-
CreateWorkerConfigurationCommandOutput,
|
|
43
|
-
KafkaConnectClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateWorkerConfigurationCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: KafkaConnectClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateWorkerConfigurationCommandInput, CreateWorkerConfigurationCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "KafkaConnectClient";
|
|
68
|
-
const commandName = "CreateWorkerConfigurationCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateWorkerConfigurationRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateWorkerConfigurationResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateWorkerConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateWorkerConfigurationCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(
|
|
89
|
-
output: __HttpResponse,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<CreateWorkerConfigurationCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CreateWorkerConfigurationCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { KafkaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaConnectClient";
|
|
2
|
-
import { DeleteConnectorRequest, DeleteConnectorResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteConnectorCommand,
|
|
5
|
-
serializeAws_restJson1DeleteConnectorCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteConnectorCommandInput extends DeleteConnectorRequest {}
|
|
21
|
-
export interface DeleteConnectorCommandOutput extends DeleteConnectorResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified connector.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { KafkaConnectClient, DeleteConnectorCommand } from "@aws-sdk/client-kafkaconnect"; // ES Modules import
|
|
29
|
-
* // const { KafkaConnectClient, DeleteConnectorCommand } = require("@aws-sdk/client-kafkaconnect"); // CommonJS import
|
|
30
|
-
* const client = new KafkaConnectClient(config);
|
|
31
|
-
* const command = new DeleteConnectorCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteConnectorCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteConnectorCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link KafkaConnectClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteConnectorCommand extends $Command<
|
|
41
|
-
DeleteConnectorCommandInput,
|
|
42
|
-
DeleteConnectorCommandOutput,
|
|
43
|
-
KafkaConnectClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteConnectorCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: KafkaConnectClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteConnectorCommandInput, DeleteConnectorCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "KafkaConnectClient";
|
|
68
|
-
const commandName = "DeleteConnectorCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteConnectorRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteConnectorResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteConnectorCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteConnectorCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteConnectorCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteConnectorCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|