@aws-sdk/client-kafka 3.321.1 → 3.322.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/README.md +72 -0
- package/dist-cjs/Kafka.js +18 -0
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/GetClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/PutClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +769 -48
- package/dist-es/Kafka.js +18 -0
- package/dist-es/commands/CreateVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DeleteClusterPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DescribeVpcConnectionCommand.js +41 -0
- package/dist-es/commands/GetClusterPolicyCommand.js +41 -0
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/ListVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/PutClusterPolicyCommand.js +41 -0
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +747 -44
- package/dist-types/Kafka.d.ts +63 -0
- package/dist-types/KafkaClient.d.ts +11 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +18 -0
- package/dist-types/commands/CreateClusterV2Command.d.ts +19 -3
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +75 -0
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +81 -0
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +80 -0
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +79 -0
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +74 -0
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +79 -0
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +492 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Kafka.d.ts +153 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +149 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
package/dist-types/Kafka.d.ts
CHANGED
|
@@ -4,15 +4,21 @@ import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretC
|
|
|
4
4
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
5
5
|
import { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
|
|
6
6
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
7
|
+
import { CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput } from "./commands/CreateVpcConnectionCommand";
|
|
7
8
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
9
|
+
import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
8
10
|
import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
|
|
11
|
+
import { DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput } from "./commands/DeleteVpcConnectionCommand";
|
|
9
12
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
10
13
|
import { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
|
|
11
14
|
import { DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput } from "./commands/DescribeClusterV2Command";
|
|
12
15
|
import { DescribeConfigurationCommandInput, DescribeConfigurationCommandOutput } from "./commands/DescribeConfigurationCommand";
|
|
13
16
|
import { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRevisionCommandOutput } from "./commands/DescribeConfigurationRevisionCommand";
|
|
17
|
+
import { DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput } from "./commands/DescribeVpcConnectionCommand";
|
|
14
18
|
import { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
|
|
19
|
+
import { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
|
|
15
20
|
import { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
21
|
+
import { ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput } from "./commands/ListClientVpcConnectionsCommand";
|
|
16
22
|
import { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
|
|
17
23
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
18
24
|
import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "./commands/ListClustersV2Command";
|
|
@@ -22,7 +28,10 @@ import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from ".
|
|
|
22
28
|
import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
|
|
23
29
|
import { ListScramSecretsCommandInput, ListScramSecretsCommandOutput } from "./commands/ListScramSecretsCommand";
|
|
24
30
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
31
|
+
import { ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput } from "./commands/ListVpcConnectionsCommand";
|
|
32
|
+
import { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
|
|
25
33
|
import { RebootBrokerCommandInput, RebootBrokerCommandOutput } from "./commands/RebootBrokerCommand";
|
|
34
|
+
import { RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput } from "./commands/RejectClientVpcConnectionCommand";
|
|
26
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
27
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
28
37
|
import { UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput } from "./commands/UpdateBrokerCountCommand";
|
|
@@ -67,18 +76,36 @@ export interface Kafka {
|
|
|
67
76
|
createConfiguration(args: CreateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationCommandOutput>;
|
|
68
77
|
createConfiguration(args: CreateConfigurationCommandInput, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
|
|
69
78
|
createConfiguration(args: CreateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link CreateVpcConnectionCommand}
|
|
81
|
+
*/
|
|
82
|
+
createVpcConnection(args: CreateVpcConnectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcConnectionCommandOutput>;
|
|
83
|
+
createVpcConnection(args: CreateVpcConnectionCommandInput, cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void): void;
|
|
84
|
+
createVpcConnection(args: CreateVpcConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcConnectionCommandOutput) => void): void;
|
|
70
85
|
/**
|
|
71
86
|
* @see {@link DeleteClusterCommand}
|
|
72
87
|
*/
|
|
73
88
|
deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
|
|
74
89
|
deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
75
90
|
deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link DeleteClusterPolicyCommand}
|
|
93
|
+
*/
|
|
94
|
+
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterPolicyCommandOutput>;
|
|
95
|
+
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
|
|
96
|
+
deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void;
|
|
76
97
|
/**
|
|
77
98
|
* @see {@link DeleteConfigurationCommand}
|
|
78
99
|
*/
|
|
79
100
|
deleteConfiguration(args: DeleteConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationCommandOutput>;
|
|
80
101
|
deleteConfiguration(args: DeleteConfigurationCommandInput, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
|
|
81
102
|
deleteConfiguration(args: DeleteConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link DeleteVpcConnectionCommand}
|
|
105
|
+
*/
|
|
106
|
+
deleteVpcConnection(args: DeleteVpcConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcConnectionCommandOutput>;
|
|
107
|
+
deleteVpcConnection(args: DeleteVpcConnectionCommandInput, cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void): void;
|
|
108
|
+
deleteVpcConnection(args: DeleteVpcConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcConnectionCommandOutput) => void): void;
|
|
82
109
|
/**
|
|
83
110
|
* @see {@link DescribeClusterCommand}
|
|
84
111
|
*/
|
|
@@ -109,18 +136,36 @@ export interface Kafka {
|
|
|
109
136
|
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConfigurationRevisionCommandOutput>;
|
|
110
137
|
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
|
|
111
138
|
describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void): void;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link DescribeVpcConnectionCommand}
|
|
141
|
+
*/
|
|
142
|
+
describeVpcConnection(args: DescribeVpcConnectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVpcConnectionCommandOutput>;
|
|
143
|
+
describeVpcConnection(args: DescribeVpcConnectionCommandInput, cb: (err: any, data?: DescribeVpcConnectionCommandOutput) => void): void;
|
|
144
|
+
describeVpcConnection(args: DescribeVpcConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVpcConnectionCommandOutput) => void): void;
|
|
112
145
|
/**
|
|
113
146
|
* @see {@link GetBootstrapBrokersCommand}
|
|
114
147
|
*/
|
|
115
148
|
getBootstrapBrokers(args: GetBootstrapBrokersCommandInput, options?: __HttpHandlerOptions): Promise<GetBootstrapBrokersCommandOutput>;
|
|
116
149
|
getBootstrapBrokers(args: GetBootstrapBrokersCommandInput, cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void): void;
|
|
117
150
|
getBootstrapBrokers(args: GetBootstrapBrokersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void): void;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link GetClusterPolicyCommand}
|
|
153
|
+
*/
|
|
154
|
+
getClusterPolicy(args: GetClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetClusterPolicyCommandOutput>;
|
|
155
|
+
getClusterPolicy(args: GetClusterPolicyCommandInput, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
|
|
156
|
+
getClusterPolicy(args: GetClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void;
|
|
118
157
|
/**
|
|
119
158
|
* @see {@link GetCompatibleKafkaVersionsCommand}
|
|
120
159
|
*/
|
|
121
160
|
getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, options?: __HttpHandlerOptions): Promise<GetCompatibleKafkaVersionsCommandOutput>;
|
|
122
161
|
getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void): void;
|
|
123
162
|
getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void): void;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link ListClientVpcConnectionsCommand}
|
|
165
|
+
*/
|
|
166
|
+
listClientVpcConnections(args: ListClientVpcConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListClientVpcConnectionsCommandOutput>;
|
|
167
|
+
listClientVpcConnections(args: ListClientVpcConnectionsCommandInput, cb: (err: any, data?: ListClientVpcConnectionsCommandOutput) => void): void;
|
|
168
|
+
listClientVpcConnections(args: ListClientVpcConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClientVpcConnectionsCommandOutput) => void): void;
|
|
124
169
|
/**
|
|
125
170
|
* @see {@link ListClusterOperationsCommand}
|
|
126
171
|
*/
|
|
@@ -175,12 +220,30 @@ export interface Kafka {
|
|
|
175
220
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
176
221
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
177
222
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link ListVpcConnectionsCommand}
|
|
225
|
+
*/
|
|
226
|
+
listVpcConnections(args: ListVpcConnectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListVpcConnectionsCommandOutput>;
|
|
227
|
+
listVpcConnections(args: ListVpcConnectionsCommandInput, cb: (err: any, data?: ListVpcConnectionsCommandOutput) => void): void;
|
|
228
|
+
listVpcConnections(args: ListVpcConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVpcConnectionsCommandOutput) => void): void;
|
|
229
|
+
/**
|
|
230
|
+
* @see {@link PutClusterPolicyCommand}
|
|
231
|
+
*/
|
|
232
|
+
putClusterPolicy(args: PutClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutClusterPolicyCommandOutput>;
|
|
233
|
+
putClusterPolicy(args: PutClusterPolicyCommandInput, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void;
|
|
234
|
+
putClusterPolicy(args: PutClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void;
|
|
178
235
|
/**
|
|
179
236
|
* @see {@link RebootBrokerCommand}
|
|
180
237
|
*/
|
|
181
238
|
rebootBroker(args: RebootBrokerCommandInput, options?: __HttpHandlerOptions): Promise<RebootBrokerCommandOutput>;
|
|
182
239
|
rebootBroker(args: RebootBrokerCommandInput, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
|
|
183
240
|
rebootBroker(args: RebootBrokerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
|
|
241
|
+
/**
|
|
242
|
+
* @see {@link RejectClientVpcConnectionCommand}
|
|
243
|
+
*/
|
|
244
|
+
rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, options?: __HttpHandlerOptions): Promise<RejectClientVpcConnectionCommandOutput>;
|
|
245
|
+
rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void): void;
|
|
246
|
+
rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RejectClientVpcConnectionCommandOutput) => void): void;
|
|
184
247
|
/**
|
|
185
248
|
* @see {@link TagResourceCommand}
|
|
186
249
|
*/
|
|
@@ -12,15 +12,21 @@ import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretC
|
|
|
12
12
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
13
13
|
import { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
|
|
14
14
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
15
|
+
import { CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput } from "./commands/CreateVpcConnectionCommand";
|
|
15
16
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
17
|
+
import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand";
|
|
16
18
|
import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
|
|
19
|
+
import { DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput } from "./commands/DeleteVpcConnectionCommand";
|
|
17
20
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
18
21
|
import { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
|
|
19
22
|
import { DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput } from "./commands/DescribeClusterV2Command";
|
|
20
23
|
import { DescribeConfigurationCommandInput, DescribeConfigurationCommandOutput } from "./commands/DescribeConfigurationCommand";
|
|
21
24
|
import { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRevisionCommandOutput } from "./commands/DescribeConfigurationRevisionCommand";
|
|
25
|
+
import { DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput } from "./commands/DescribeVpcConnectionCommand";
|
|
22
26
|
import { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
|
|
27
|
+
import { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand";
|
|
23
28
|
import { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
29
|
+
import { ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput } from "./commands/ListClientVpcConnectionsCommand";
|
|
24
30
|
import { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
|
|
25
31
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
26
32
|
import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "./commands/ListClustersV2Command";
|
|
@@ -30,7 +36,10 @@ import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from ".
|
|
|
30
36
|
import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
|
|
31
37
|
import { ListScramSecretsCommandInput, ListScramSecretsCommandOutput } from "./commands/ListScramSecretsCommand";
|
|
32
38
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
39
|
+
import { ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput } from "./commands/ListVpcConnectionsCommand";
|
|
40
|
+
import { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand";
|
|
33
41
|
import { RebootBrokerCommandInput, RebootBrokerCommandOutput } from "./commands/RebootBrokerCommand";
|
|
42
|
+
import { RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput } from "./commands/RejectClientVpcConnectionCommand";
|
|
34
43
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
35
44
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
45
|
import { UpdateBrokerCountCommandInput, UpdateBrokerCountCommandOutput } from "./commands/UpdateBrokerCountCommand";
|
|
@@ -47,11 +56,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
47
56
|
/**
|
|
48
57
|
* @public
|
|
49
58
|
*/
|
|
50
|
-
export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput;
|
|
59
|
+
export type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | CreateVpcConnectionCommandInput | DeleteClusterCommandInput | DeleteClusterPolicyCommandInput | DeleteConfigurationCommandInput | DeleteVpcConnectionCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | DescribeVpcConnectionCommandInput | GetBootstrapBrokersCommandInput | GetClusterPolicyCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClientVpcConnectionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | ListVpcConnectionsCommandInput | PutClusterPolicyCommandInput | RebootBrokerCommandInput | RejectClientVpcConnectionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput | UpdateStorageCommandInput;
|
|
51
60
|
/**
|
|
52
61
|
* @public
|
|
53
62
|
*/
|
|
54
|
-
export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput;
|
|
63
|
+
export type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | CreateVpcConnectionCommandOutput | DeleteClusterCommandOutput | DeleteClusterPolicyCommandOutput | DeleteConfigurationCommandOutput | DeleteVpcConnectionCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | DescribeVpcConnectionCommandOutput | GetBootstrapBrokersCommandOutput | GetClusterPolicyCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClientVpcConnectionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | ListVpcConnectionsCommandOutput | PutClusterPolicyCommandOutput | RebootBrokerCommandOutput | RejectClientVpcConnectionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput | UpdateStorageCommandOutput;
|
|
55
64
|
/**
|
|
56
65
|
* @public
|
|
57
66
|
*/
|
|
@@ -49,7 +49,25 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
|
|
|
49
49
|
* PublicAccess: { // PublicAccess
|
|
50
50
|
* Type: "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
+
* VpcConnectivity: { // VpcConnectivity
|
|
53
|
+
* ClientAuthentication: { // VpcConnectivityClientAuthentication
|
|
54
|
+
* Sasl: { // VpcConnectivitySasl
|
|
55
|
+
* Scram: { // VpcConnectivityScram
|
|
56
|
+
* Enabled: true || false,
|
|
57
|
+
* },
|
|
58
|
+
* Iam: { // VpcConnectivityIam
|
|
59
|
+
* Enabled: true || false,
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* Tls: { // VpcConnectivityTls
|
|
63
|
+
* Enabled: true || false,
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
52
67
|
* },
|
|
68
|
+
* ZoneIds: [
|
|
69
|
+
* "STRING_VALUE",
|
|
70
|
+
* ],
|
|
53
71
|
* },
|
|
54
72
|
* ClientAuthentication: { // ClientAuthentication
|
|
55
73
|
* Sasl: { // Sasl
|
|
@@ -54,7 +54,25 @@ export interface CreateClusterV2CommandOutput extends CreateClusterV2Response, _
|
|
|
54
54
|
* PublicAccess: { // PublicAccess
|
|
55
55
|
* Type: "STRING_VALUE",
|
|
56
56
|
* },
|
|
57
|
+
* VpcConnectivity: { // VpcConnectivity
|
|
58
|
+
* ClientAuthentication: { // VpcConnectivityClientAuthentication
|
|
59
|
+
* Sasl: { // VpcConnectivitySasl
|
|
60
|
+
* Scram: { // VpcConnectivityScram
|
|
61
|
+
* Enabled: true || false,
|
|
62
|
+
* },
|
|
63
|
+
* Iam: { // VpcConnectivityIam
|
|
64
|
+
* Enabled: true || false,
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* Tls: { // VpcConnectivityTls
|
|
68
|
+
* Enabled: true || false,
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
57
72
|
* },
|
|
73
|
+
* ZoneIds: [
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
58
76
|
* },
|
|
59
77
|
* ClientAuthentication: { // ClientAuthentication
|
|
60
78
|
* Sasl: { // Sasl
|
|
@@ -126,9 +144,7 @@ export interface CreateClusterV2CommandOutput extends CreateClusterV2Response, _
|
|
|
126
144
|
* SubnetIds: [ // required
|
|
127
145
|
* "STRING_VALUE",
|
|
128
146
|
* ],
|
|
129
|
-
* SecurityGroupIds:
|
|
130
|
-
* "STRING_VALUE",
|
|
131
|
-
* ],
|
|
147
|
+
* SecurityGroupIds: "<__listOf__string>",
|
|
132
148
|
* },
|
|
133
149
|
* ],
|
|
134
150
|
* ClientAuthentication: { // ServerlessClientAuthentication
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { CreateVpcConnectionRequest, CreateVpcConnectionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateVpcConnectionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateVpcConnectionCommandInput extends CreateVpcConnectionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateVpcConnectionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateVpcConnectionCommandOutput extends CreateVpcConnectionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a new MSK VPC connection.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, CreateVpcConnectionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, CreateVpcConnectionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // CreateVpcConnectionRequest
|
|
30
|
+
* TargetClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* Authentication: "STRING_VALUE", // required
|
|
32
|
+
* VpcId: "STRING_VALUE", // required
|
|
33
|
+
* ClientSubnets: [ // __listOf__string // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* SecurityGroups: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* Tags: { // __mapOf__string
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateVpcConnectionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param CreateVpcConnectionCommandInput - {@link CreateVpcConnectionCommandInput}
|
|
48
|
+
* @returns {@link CreateVpcConnectionCommandOutput}
|
|
49
|
+
* @see {@link CreateVpcConnectionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link CreateVpcConnectionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link BadRequestException} (client fault)
|
|
54
|
+
* <p>Returns information about an error.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
57
|
+
* <p>Returns information about an error.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
60
|
+
* <p>Returns information about an error.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
63
|
+
* <p>Returns information about an error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
66
|
+
* <p>Returns information about an error.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
69
|
+
* <p>Returns information about an error.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class CreateVpcConnectionCommand extends $Command<CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput, KafkaClientResolvedConfig> {
|
|
74
|
+
readonly input: CreateVpcConnectionCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: CreateVpcConnectionCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVpcConnectionCommandInput, CreateVpcConnectionCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { DeleteClusterPolicyRequest, DeleteClusterPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteClusterPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteClusterPolicyCommandInput extends DeleteClusterPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteClusterPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteClusterPolicyCommandOutput extends DeleteClusterPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, DeleteClusterPolicyCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, DeleteClusterPolicyCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // DeleteClusterPolicyRequest
|
|
30
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DeleteClusterPolicyCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param DeleteClusterPolicyCommandInput - {@link DeleteClusterPolicyCommandInput}
|
|
37
|
+
* @returns {@link DeleteClusterPolicyCommandOutput}
|
|
38
|
+
* @see {@link DeleteClusterPolicyCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DeleteClusterPolicyCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link BadRequestException} (client fault)
|
|
43
|
+
* <p>Returns information about an error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
46
|
+
* <p>Returns information about an error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
49
|
+
* <p>Returns information about an error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NotFoundException} (client fault)
|
|
52
|
+
* <p>Returns information about an error.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export declare class DeleteClusterPolicyCommand extends $Command<DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput, KafkaClientResolvedConfig> {
|
|
57
|
+
readonly input: DeleteClusterPolicyCommandInput;
|
|
58
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
constructor(input: DeleteClusterPolicyCommandInput);
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
private deserialize;
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { DeleteVpcConnectionRequest, DeleteVpcConnectionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteVpcConnectionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteVpcConnectionCommandInput extends DeleteVpcConnectionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteVpcConnectionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteVpcConnectionCommandOutput extends DeleteVpcConnectionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Deletes a MSK VPC connection.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, DeleteVpcConnectionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, DeleteVpcConnectionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // DeleteVpcConnectionRequest
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DeleteVpcConnectionCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param DeleteVpcConnectionCommandInput - {@link DeleteVpcConnectionCommandInput}
|
|
37
|
+
* @returns {@link DeleteVpcConnectionCommandOutput}
|
|
38
|
+
* @see {@link DeleteVpcConnectionCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DeleteVpcConnectionCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link BadRequestException} (client fault)
|
|
43
|
+
* <p>Returns information about an error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
46
|
+
* <p>Returns information about an error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
49
|
+
* <p>Returns information about an error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NotFoundException} (client fault)
|
|
52
|
+
* <p>Returns information about an error.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export declare class DeleteVpcConnectionCommand extends $Command<DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput, KafkaClientResolvedConfig> {
|
|
57
|
+
readonly input: DeleteVpcConnectionCommandInput;
|
|
58
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
constructor(input: DeleteVpcConnectionCommandInput);
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVpcConnectionCommandInput, DeleteVpcConnectionCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
private deserialize;
|
|
75
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { DescribeVpcConnectionRequest, DescribeVpcConnectionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DescribeVpcConnectionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeVpcConnectionCommandInput extends DescribeVpcConnectionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DescribeVpcConnectionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DescribeVpcConnectionCommandOutput extends DescribeVpcConnectionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns a description of this MSK VPC connection.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, DescribeVpcConnectionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, DescribeVpcConnectionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // DescribeVpcConnectionRequest
|
|
30
|
+
* Arn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new DescribeVpcConnectionCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param DescribeVpcConnectionCommandInput - {@link DescribeVpcConnectionCommandInput}
|
|
37
|
+
* @returns {@link DescribeVpcConnectionCommandOutput}
|
|
38
|
+
* @see {@link DescribeVpcConnectionCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link DescribeVpcConnectionCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link BadRequestException} (client fault)
|
|
43
|
+
* <p>Returns information about an error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
46
|
+
* <p>Returns information about an error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
49
|
+
* <p>Returns information about an error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NotFoundException} (client fault)
|
|
52
|
+
* <p>Returns information about an error.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
55
|
+
* <p>Returns information about an error.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
58
|
+
* <p>Returns information about an error.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DescribeVpcConnectionCommand extends $Command<DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput, KafkaClientResolvedConfig> {
|
|
63
|
+
readonly input: DescribeVpcConnectionCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: DescribeVpcConnectionCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVpcConnectionCommandInput, DescribeVpcConnectionCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|