@aws-sdk/client-kafka 3.928.0 → 3.929.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/dist-cjs/index.js +6421 -3170
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/KafkaClient.js +2 -0
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +3 -9
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -9
- package/dist-es/commands/CreateClusterV2Command.js +3 -9
- package/dist-es/commands/CreateConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateReplicatorCommand.js +3 -9
- package/dist-es/commands/CreateVpcConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteClusterPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteReplicatorCommand.js +3 -9
- package/dist-es/commands/DeleteVpcConnectionCommand.js +3 -9
- package/dist-es/commands/DescribeClusterCommand.js +3 -9
- package/dist-es/commands/DescribeClusterOperationCommand.js +3 -9
- package/dist-es/commands/DescribeClusterOperationV2Command.js +3 -9
- package/dist-es/commands/DescribeClusterV2Command.js +3 -9
- package/dist-es/commands/DescribeConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +3 -9
- package/dist-es/commands/DescribeReplicatorCommand.js +3 -9
- package/dist-es/commands/DescribeVpcConnectionCommand.js +3 -9
- package/dist-es/commands/GetBootstrapBrokersCommand.js +3 -9
- package/dist-es/commands/GetClusterPolicyCommand.js +3 -9
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +3 -9
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +3 -9
- package/dist-es/commands/ListClusterOperationsCommand.js +3 -9
- package/dist-es/commands/ListClusterOperationsV2Command.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListClustersV2Command.js +3 -9
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +3 -9
- package/dist-es/commands/ListConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListKafkaVersionsCommand.js +3 -9
- package/dist-es/commands/ListNodesCommand.js +3 -9
- package/dist-es/commands/ListReplicatorsCommand.js +3 -9
- package/dist-es/commands/ListScramSecretsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVpcConnectionsCommand.js +3 -9
- package/dist-es/commands/PutClusterPolicyCommand.js +3 -9
- package/dist-es/commands/RebootBrokerCommand.js +3 -9
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerCountCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerStorageCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerTypeCommand.js +3 -9
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +3 -9
- package/dist-es/commands/UpdateConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateConnectivityCommand.js +3 -9
- package/dist-es/commands/UpdateMonitoringCommand.js +3 -9
- package/dist-es/commands/UpdateRebalancingCommand.js +3 -9
- package/dist-es/commands/UpdateReplicationInfoCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityCommand.js +3 -9
- package/dist-es/commands/UpdateStorageCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6310 -0
- package/dist-types/KafkaClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +283 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +288 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -2792
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -479
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -641
|
@@ -1,2792 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { KafkaServiceException as __BaseException } from "../models/KafkaServiceException";
|
|
5
|
-
import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
|
|
6
|
-
export const se_BatchAssociateScramSecretCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
"content-type": "application/json",
|
|
10
|
-
};
|
|
11
|
-
b.bp("/v1/clusters/{ClusterArn}/scram-secrets");
|
|
12
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
secretArnList: [, (_) => _json(_), `SecretArnList`],
|
|
16
|
-
}));
|
|
17
|
-
b.m("POST").h(headers).b(body);
|
|
18
|
-
return b.build();
|
|
19
|
-
};
|
|
20
|
-
export const se_BatchDisassociateScramSecretCommand = async (input, context) => {
|
|
21
|
-
const b = rb(input, context);
|
|
22
|
-
const headers = {
|
|
23
|
-
"content-type": "application/json",
|
|
24
|
-
};
|
|
25
|
-
b.bp("/v1/clusters/{ClusterArn}/scram-secrets");
|
|
26
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(take(input, {
|
|
29
|
-
secretArnList: [, (_) => _json(_), `SecretArnList`],
|
|
30
|
-
}));
|
|
31
|
-
b.m("PATCH").h(headers).b(body);
|
|
32
|
-
return b.build();
|
|
33
|
-
};
|
|
34
|
-
export const se_CreateClusterCommand = async (input, context) => {
|
|
35
|
-
const b = rb(input, context);
|
|
36
|
-
const headers = {
|
|
37
|
-
"content-type": "application/json",
|
|
38
|
-
};
|
|
39
|
-
b.bp("/v1/clusters");
|
|
40
|
-
let body;
|
|
41
|
-
body = JSON.stringify(take(input, {
|
|
42
|
-
brokerNodeGroupInfo: [, (_) => se_BrokerNodeGroupInfo(_, context), `BrokerNodeGroupInfo`],
|
|
43
|
-
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
44
|
-
clusterName: [, , `ClusterName`],
|
|
45
|
-
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
46
|
-
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
47
|
-
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
48
|
-
kafkaVersion: [, , `KafkaVersion`],
|
|
49
|
-
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
50
|
-
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
51
|
-
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
52
|
-
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
53
|
-
storageMode: [, , `StorageMode`],
|
|
54
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
55
|
-
}));
|
|
56
|
-
b.m("POST").h(headers).b(body);
|
|
57
|
-
return b.build();
|
|
58
|
-
};
|
|
59
|
-
export const se_CreateClusterV2Command = async (input, context) => {
|
|
60
|
-
const b = rb(input, context);
|
|
61
|
-
const headers = {
|
|
62
|
-
"content-type": "application/json",
|
|
63
|
-
};
|
|
64
|
-
b.bp("/api/v2/clusters");
|
|
65
|
-
let body;
|
|
66
|
-
body = JSON.stringify(take(input, {
|
|
67
|
-
clusterName: [, , `ClusterName`],
|
|
68
|
-
provisioned: [, (_) => se_ProvisionedRequest(_, context), `Provisioned`],
|
|
69
|
-
serverless: [, (_) => se_ServerlessRequest(_, context), `Serverless`],
|
|
70
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
71
|
-
}));
|
|
72
|
-
b.m("POST").h(headers).b(body);
|
|
73
|
-
return b.build();
|
|
74
|
-
};
|
|
75
|
-
export const se_CreateConfigurationCommand = async (input, context) => {
|
|
76
|
-
const b = rb(input, context);
|
|
77
|
-
const headers = {
|
|
78
|
-
"content-type": "application/json",
|
|
79
|
-
};
|
|
80
|
-
b.bp("/v1/configurations");
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(take(input, {
|
|
83
|
-
description: [, , `Description`],
|
|
84
|
-
kafkaVersions: [, (_) => _json(_), `KafkaVersions`],
|
|
85
|
-
name: [, , `Name`],
|
|
86
|
-
serverProperties: [, (_) => context.base64Encoder(_), `ServerProperties`],
|
|
87
|
-
}));
|
|
88
|
-
b.m("POST").h(headers).b(body);
|
|
89
|
-
return b.build();
|
|
90
|
-
};
|
|
91
|
-
export const se_CreateReplicatorCommand = async (input, context) => {
|
|
92
|
-
const b = rb(input, context);
|
|
93
|
-
const headers = {
|
|
94
|
-
"content-type": "application/json",
|
|
95
|
-
};
|
|
96
|
-
b.bp("/replication/v1/replicators");
|
|
97
|
-
let body;
|
|
98
|
-
body = JSON.stringify(take(input, {
|
|
99
|
-
description: [, , `Description`],
|
|
100
|
-
kafkaClusters: [, (_) => se___listOfKafkaCluster(_, context), `KafkaClusters`],
|
|
101
|
-
replicationInfoList: [, (_) => se___listOfReplicationInfo(_, context), `ReplicationInfoList`],
|
|
102
|
-
replicatorName: [, , `ReplicatorName`],
|
|
103
|
-
serviceExecutionRoleArn: [, , `ServiceExecutionRoleArn`],
|
|
104
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
105
|
-
}));
|
|
106
|
-
b.m("POST").h(headers).b(body);
|
|
107
|
-
return b.build();
|
|
108
|
-
};
|
|
109
|
-
export const se_CreateVpcConnectionCommand = async (input, context) => {
|
|
110
|
-
const b = rb(input, context);
|
|
111
|
-
const headers = {
|
|
112
|
-
"content-type": "application/json",
|
|
113
|
-
};
|
|
114
|
-
b.bp("/v1/vpc-connection");
|
|
115
|
-
let body;
|
|
116
|
-
body = JSON.stringify(take(input, {
|
|
117
|
-
authentication: [, , `Authentication`],
|
|
118
|
-
clientSubnets: [, (_) => _json(_), `ClientSubnets`],
|
|
119
|
-
securityGroups: [, (_) => _json(_), `SecurityGroups`],
|
|
120
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
121
|
-
targetClusterArn: [, , `TargetClusterArn`],
|
|
122
|
-
vpcId: [, , `VpcId`],
|
|
123
|
-
}));
|
|
124
|
-
b.m("POST").h(headers).b(body);
|
|
125
|
-
return b.build();
|
|
126
|
-
};
|
|
127
|
-
export const se_DeleteClusterCommand = async (input, context) => {
|
|
128
|
-
const b = rb(input, context);
|
|
129
|
-
const headers = {};
|
|
130
|
-
b.bp("/v1/clusters/{ClusterArn}");
|
|
131
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
132
|
-
const query = map({
|
|
133
|
-
[_cV]: [, input[_CV]],
|
|
134
|
-
});
|
|
135
|
-
let body;
|
|
136
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
137
|
-
return b.build();
|
|
138
|
-
};
|
|
139
|
-
export const se_DeleteClusterPolicyCommand = async (input, context) => {
|
|
140
|
-
const b = rb(input, context);
|
|
141
|
-
const headers = {};
|
|
142
|
-
b.bp("/v1/clusters/{ClusterArn}/policy");
|
|
143
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
144
|
-
let body;
|
|
145
|
-
b.m("DELETE").h(headers).b(body);
|
|
146
|
-
return b.build();
|
|
147
|
-
};
|
|
148
|
-
export const se_DeleteConfigurationCommand = async (input, context) => {
|
|
149
|
-
const b = rb(input, context);
|
|
150
|
-
const headers = {};
|
|
151
|
-
b.bp("/v1/configurations/{Arn}");
|
|
152
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
153
|
-
let body;
|
|
154
|
-
b.m("DELETE").h(headers).b(body);
|
|
155
|
-
return b.build();
|
|
156
|
-
};
|
|
157
|
-
export const se_DeleteReplicatorCommand = async (input, context) => {
|
|
158
|
-
const b = rb(input, context);
|
|
159
|
-
const headers = {};
|
|
160
|
-
b.bp("/replication/v1/replicators/{ReplicatorArn}");
|
|
161
|
-
b.p("ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
|
|
162
|
-
const query = map({
|
|
163
|
-
[_cV]: [, input[_CV]],
|
|
164
|
-
});
|
|
165
|
-
let body;
|
|
166
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
167
|
-
return b.build();
|
|
168
|
-
};
|
|
169
|
-
export const se_DeleteVpcConnectionCommand = async (input, context) => {
|
|
170
|
-
const b = rb(input, context);
|
|
171
|
-
const headers = {};
|
|
172
|
-
b.bp("/v1/vpc-connection/{Arn}");
|
|
173
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
174
|
-
let body;
|
|
175
|
-
b.m("DELETE").h(headers).b(body);
|
|
176
|
-
return b.build();
|
|
177
|
-
};
|
|
178
|
-
export const se_DescribeClusterCommand = async (input, context) => {
|
|
179
|
-
const b = rb(input, context);
|
|
180
|
-
const headers = {};
|
|
181
|
-
b.bp("/v1/clusters/{ClusterArn}");
|
|
182
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
183
|
-
let body;
|
|
184
|
-
b.m("GET").h(headers).b(body);
|
|
185
|
-
return b.build();
|
|
186
|
-
};
|
|
187
|
-
export const se_DescribeClusterOperationCommand = async (input, context) => {
|
|
188
|
-
const b = rb(input, context);
|
|
189
|
-
const headers = {};
|
|
190
|
-
b.bp("/v1/operations/{ClusterOperationArn}");
|
|
191
|
-
b.p("ClusterOperationArn", () => input.ClusterOperationArn, "{ClusterOperationArn}", false);
|
|
192
|
-
let body;
|
|
193
|
-
b.m("GET").h(headers).b(body);
|
|
194
|
-
return b.build();
|
|
195
|
-
};
|
|
196
|
-
export const se_DescribeClusterOperationV2Command = async (input, context) => {
|
|
197
|
-
const b = rb(input, context);
|
|
198
|
-
const headers = {};
|
|
199
|
-
b.bp("/api/v2/operations/{ClusterOperationArn}");
|
|
200
|
-
b.p("ClusterOperationArn", () => input.ClusterOperationArn, "{ClusterOperationArn}", false);
|
|
201
|
-
let body;
|
|
202
|
-
b.m("GET").h(headers).b(body);
|
|
203
|
-
return b.build();
|
|
204
|
-
};
|
|
205
|
-
export const se_DescribeClusterV2Command = async (input, context) => {
|
|
206
|
-
const b = rb(input, context);
|
|
207
|
-
const headers = {};
|
|
208
|
-
b.bp("/api/v2/clusters/{ClusterArn}");
|
|
209
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
210
|
-
let body;
|
|
211
|
-
b.m("GET").h(headers).b(body);
|
|
212
|
-
return b.build();
|
|
213
|
-
};
|
|
214
|
-
export const se_DescribeConfigurationCommand = async (input, context) => {
|
|
215
|
-
const b = rb(input, context);
|
|
216
|
-
const headers = {};
|
|
217
|
-
b.bp("/v1/configurations/{Arn}");
|
|
218
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
219
|
-
let body;
|
|
220
|
-
b.m("GET").h(headers).b(body);
|
|
221
|
-
return b.build();
|
|
222
|
-
};
|
|
223
|
-
export const se_DescribeConfigurationRevisionCommand = async (input, context) => {
|
|
224
|
-
const b = rb(input, context);
|
|
225
|
-
const headers = {};
|
|
226
|
-
b.bp("/v1/configurations/{Arn}/revisions/{Revision}");
|
|
227
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
228
|
-
b.p("Revision", () => input.Revision.toString(), "{Revision}", false);
|
|
229
|
-
let body;
|
|
230
|
-
b.m("GET").h(headers).b(body);
|
|
231
|
-
return b.build();
|
|
232
|
-
};
|
|
233
|
-
export const se_DescribeReplicatorCommand = async (input, context) => {
|
|
234
|
-
const b = rb(input, context);
|
|
235
|
-
const headers = {};
|
|
236
|
-
b.bp("/replication/v1/replicators/{ReplicatorArn}");
|
|
237
|
-
b.p("ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
|
|
238
|
-
let body;
|
|
239
|
-
b.m("GET").h(headers).b(body);
|
|
240
|
-
return b.build();
|
|
241
|
-
};
|
|
242
|
-
export const se_DescribeVpcConnectionCommand = async (input, context) => {
|
|
243
|
-
const b = rb(input, context);
|
|
244
|
-
const headers = {};
|
|
245
|
-
b.bp("/v1/vpc-connection/{Arn}");
|
|
246
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
247
|
-
let body;
|
|
248
|
-
b.m("GET").h(headers).b(body);
|
|
249
|
-
return b.build();
|
|
250
|
-
};
|
|
251
|
-
export const se_GetBootstrapBrokersCommand = async (input, context) => {
|
|
252
|
-
const b = rb(input, context);
|
|
253
|
-
const headers = {};
|
|
254
|
-
b.bp("/v1/clusters/{ClusterArn}/bootstrap-brokers");
|
|
255
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
256
|
-
let body;
|
|
257
|
-
b.m("GET").h(headers).b(body);
|
|
258
|
-
return b.build();
|
|
259
|
-
};
|
|
260
|
-
export const se_GetClusterPolicyCommand = async (input, context) => {
|
|
261
|
-
const b = rb(input, context);
|
|
262
|
-
const headers = {};
|
|
263
|
-
b.bp("/v1/clusters/{ClusterArn}/policy");
|
|
264
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
265
|
-
let body;
|
|
266
|
-
b.m("GET").h(headers).b(body);
|
|
267
|
-
return b.build();
|
|
268
|
-
};
|
|
269
|
-
export const se_GetCompatibleKafkaVersionsCommand = async (input, context) => {
|
|
270
|
-
const b = rb(input, context);
|
|
271
|
-
const headers = {};
|
|
272
|
-
b.bp("/v1/compatible-kafka-versions");
|
|
273
|
-
const query = map({
|
|
274
|
-
[_cA]: [, input[_CA]],
|
|
275
|
-
});
|
|
276
|
-
let body;
|
|
277
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
278
|
-
return b.build();
|
|
279
|
-
};
|
|
280
|
-
export const se_ListClientVpcConnectionsCommand = async (input, context) => {
|
|
281
|
-
const b = rb(input, context);
|
|
282
|
-
const headers = {};
|
|
283
|
-
b.bp("/v1/clusters/{ClusterArn}/client-vpc-connections");
|
|
284
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
285
|
-
const query = map({
|
|
286
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
287
|
-
[_nT]: [, input[_NT]],
|
|
288
|
-
});
|
|
289
|
-
let body;
|
|
290
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
291
|
-
return b.build();
|
|
292
|
-
};
|
|
293
|
-
export const se_ListClusterOperationsCommand = async (input, context) => {
|
|
294
|
-
const b = rb(input, context);
|
|
295
|
-
const headers = {};
|
|
296
|
-
b.bp("/v1/clusters/{ClusterArn}/operations");
|
|
297
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
298
|
-
const query = map({
|
|
299
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
300
|
-
[_nT]: [, input[_NT]],
|
|
301
|
-
});
|
|
302
|
-
let body;
|
|
303
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
304
|
-
return b.build();
|
|
305
|
-
};
|
|
306
|
-
export const se_ListClusterOperationsV2Command = async (input, context) => {
|
|
307
|
-
const b = rb(input, context);
|
|
308
|
-
const headers = {};
|
|
309
|
-
b.bp("/api/v2/clusters/{ClusterArn}/operations");
|
|
310
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
311
|
-
const query = map({
|
|
312
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
313
|
-
[_nT]: [, input[_NT]],
|
|
314
|
-
});
|
|
315
|
-
let body;
|
|
316
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
317
|
-
return b.build();
|
|
318
|
-
};
|
|
319
|
-
export const se_ListClustersCommand = async (input, context) => {
|
|
320
|
-
const b = rb(input, context);
|
|
321
|
-
const headers = {};
|
|
322
|
-
b.bp("/v1/clusters");
|
|
323
|
-
const query = map({
|
|
324
|
-
[_cNF]: [, input[_CNF]],
|
|
325
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
326
|
-
[_nT]: [, input[_NT]],
|
|
327
|
-
});
|
|
328
|
-
let body;
|
|
329
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
330
|
-
return b.build();
|
|
331
|
-
};
|
|
332
|
-
export const se_ListClustersV2Command = async (input, context) => {
|
|
333
|
-
const b = rb(input, context);
|
|
334
|
-
const headers = {};
|
|
335
|
-
b.bp("/api/v2/clusters");
|
|
336
|
-
const query = map({
|
|
337
|
-
[_cNF]: [, input[_CNF]],
|
|
338
|
-
[_cTF]: [, input[_CTF]],
|
|
339
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
340
|
-
[_nT]: [, input[_NT]],
|
|
341
|
-
});
|
|
342
|
-
let body;
|
|
343
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
344
|
-
return b.build();
|
|
345
|
-
};
|
|
346
|
-
export const se_ListConfigurationRevisionsCommand = async (input, context) => {
|
|
347
|
-
const b = rb(input, context);
|
|
348
|
-
const headers = {};
|
|
349
|
-
b.bp("/v1/configurations/{Arn}/revisions");
|
|
350
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
351
|
-
const query = map({
|
|
352
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
353
|
-
[_nT]: [, input[_NT]],
|
|
354
|
-
});
|
|
355
|
-
let body;
|
|
356
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
357
|
-
return b.build();
|
|
358
|
-
};
|
|
359
|
-
export const se_ListConfigurationsCommand = async (input, context) => {
|
|
360
|
-
const b = rb(input, context);
|
|
361
|
-
const headers = {};
|
|
362
|
-
b.bp("/v1/configurations");
|
|
363
|
-
const query = map({
|
|
364
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
365
|
-
[_nT]: [, input[_NT]],
|
|
366
|
-
});
|
|
367
|
-
let body;
|
|
368
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
369
|
-
return b.build();
|
|
370
|
-
};
|
|
371
|
-
export const se_ListKafkaVersionsCommand = async (input, context) => {
|
|
372
|
-
const b = rb(input, context);
|
|
373
|
-
const headers = {};
|
|
374
|
-
b.bp("/v1/kafka-versions");
|
|
375
|
-
const query = map({
|
|
376
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
377
|
-
[_nT]: [, input[_NT]],
|
|
378
|
-
});
|
|
379
|
-
let body;
|
|
380
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
381
|
-
return b.build();
|
|
382
|
-
};
|
|
383
|
-
export const se_ListNodesCommand = async (input, context) => {
|
|
384
|
-
const b = rb(input, context);
|
|
385
|
-
const headers = {};
|
|
386
|
-
b.bp("/v1/clusters/{ClusterArn}/nodes");
|
|
387
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
388
|
-
const query = map({
|
|
389
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
390
|
-
[_nT]: [, input[_NT]],
|
|
391
|
-
});
|
|
392
|
-
let body;
|
|
393
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
394
|
-
return b.build();
|
|
395
|
-
};
|
|
396
|
-
export const se_ListReplicatorsCommand = async (input, context) => {
|
|
397
|
-
const b = rb(input, context);
|
|
398
|
-
const headers = {};
|
|
399
|
-
b.bp("/replication/v1/replicators");
|
|
400
|
-
const query = map({
|
|
401
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
402
|
-
[_nT]: [, input[_NT]],
|
|
403
|
-
[_rNF]: [, input[_RNF]],
|
|
404
|
-
});
|
|
405
|
-
let body;
|
|
406
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
407
|
-
return b.build();
|
|
408
|
-
};
|
|
409
|
-
export const se_ListScramSecretsCommand = async (input, context) => {
|
|
410
|
-
const b = rb(input, context);
|
|
411
|
-
const headers = {};
|
|
412
|
-
b.bp("/v1/clusters/{ClusterArn}/scram-secrets");
|
|
413
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
414
|
-
const query = map({
|
|
415
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
416
|
-
[_nT]: [, input[_NT]],
|
|
417
|
-
});
|
|
418
|
-
let body;
|
|
419
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
420
|
-
return b.build();
|
|
421
|
-
};
|
|
422
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
423
|
-
const b = rb(input, context);
|
|
424
|
-
const headers = {};
|
|
425
|
-
b.bp("/v1/tags/{ResourceArn}");
|
|
426
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
427
|
-
let body;
|
|
428
|
-
b.m("GET").h(headers).b(body);
|
|
429
|
-
return b.build();
|
|
430
|
-
};
|
|
431
|
-
export const se_ListVpcConnectionsCommand = async (input, context) => {
|
|
432
|
-
const b = rb(input, context);
|
|
433
|
-
const headers = {};
|
|
434
|
-
b.bp("/v1/vpc-connections");
|
|
435
|
-
const query = map({
|
|
436
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
437
|
-
[_nT]: [, input[_NT]],
|
|
438
|
-
});
|
|
439
|
-
let body;
|
|
440
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
441
|
-
return b.build();
|
|
442
|
-
};
|
|
443
|
-
export const se_PutClusterPolicyCommand = async (input, context) => {
|
|
444
|
-
const b = rb(input, context);
|
|
445
|
-
const headers = {
|
|
446
|
-
"content-type": "application/json",
|
|
447
|
-
};
|
|
448
|
-
b.bp("/v1/clusters/{ClusterArn}/policy");
|
|
449
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
450
|
-
let body;
|
|
451
|
-
body = JSON.stringify(take(input, {
|
|
452
|
-
currentVersion: [, , `CurrentVersion`],
|
|
453
|
-
policy: [, , `Policy`],
|
|
454
|
-
}));
|
|
455
|
-
b.m("PUT").h(headers).b(body);
|
|
456
|
-
return b.build();
|
|
457
|
-
};
|
|
458
|
-
export const se_RebootBrokerCommand = async (input, context) => {
|
|
459
|
-
const b = rb(input, context);
|
|
460
|
-
const headers = {
|
|
461
|
-
"content-type": "application/json",
|
|
462
|
-
};
|
|
463
|
-
b.bp("/v1/clusters/{ClusterArn}/reboot-broker");
|
|
464
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
465
|
-
let body;
|
|
466
|
-
body = JSON.stringify(take(input, {
|
|
467
|
-
brokerIds: [, (_) => _json(_), `BrokerIds`],
|
|
468
|
-
}));
|
|
469
|
-
b.m("PUT").h(headers).b(body);
|
|
470
|
-
return b.build();
|
|
471
|
-
};
|
|
472
|
-
export const se_RejectClientVpcConnectionCommand = async (input, context) => {
|
|
473
|
-
const b = rb(input, context);
|
|
474
|
-
const headers = {
|
|
475
|
-
"content-type": "application/json",
|
|
476
|
-
};
|
|
477
|
-
b.bp("/v1/clusters/{ClusterArn}/client-vpc-connection");
|
|
478
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
479
|
-
let body;
|
|
480
|
-
body = JSON.stringify(take(input, {
|
|
481
|
-
vpcConnectionArn: [, , `VpcConnectionArn`],
|
|
482
|
-
}));
|
|
483
|
-
b.m("PUT").h(headers).b(body);
|
|
484
|
-
return b.build();
|
|
485
|
-
};
|
|
486
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
487
|
-
const b = rb(input, context);
|
|
488
|
-
const headers = {
|
|
489
|
-
"content-type": "application/json",
|
|
490
|
-
};
|
|
491
|
-
b.bp("/v1/tags/{ResourceArn}");
|
|
492
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
493
|
-
let body;
|
|
494
|
-
body = JSON.stringify(take(input, {
|
|
495
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
496
|
-
}));
|
|
497
|
-
b.m("POST").h(headers).b(body);
|
|
498
|
-
return b.build();
|
|
499
|
-
};
|
|
500
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
501
|
-
const b = rb(input, context);
|
|
502
|
-
const headers = {};
|
|
503
|
-
b.bp("/v1/tags/{ResourceArn}");
|
|
504
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
505
|
-
const query = map({
|
|
506
|
-
[_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
507
|
-
});
|
|
508
|
-
let body;
|
|
509
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
510
|
-
return b.build();
|
|
511
|
-
};
|
|
512
|
-
export const se_UpdateBrokerCountCommand = async (input, context) => {
|
|
513
|
-
const b = rb(input, context);
|
|
514
|
-
const headers = {
|
|
515
|
-
"content-type": "application/json",
|
|
516
|
-
};
|
|
517
|
-
b.bp("/v1/clusters/{ClusterArn}/nodes/count");
|
|
518
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
519
|
-
let body;
|
|
520
|
-
body = JSON.stringify(take(input, {
|
|
521
|
-
currentVersion: [, , `CurrentVersion`],
|
|
522
|
-
targetNumberOfBrokerNodes: [, , `TargetNumberOfBrokerNodes`],
|
|
523
|
-
}));
|
|
524
|
-
b.m("PUT").h(headers).b(body);
|
|
525
|
-
return b.build();
|
|
526
|
-
};
|
|
527
|
-
export const se_UpdateBrokerStorageCommand = async (input, context) => {
|
|
528
|
-
const b = rb(input, context);
|
|
529
|
-
const headers = {
|
|
530
|
-
"content-type": "application/json",
|
|
531
|
-
};
|
|
532
|
-
b.bp("/v1/clusters/{ClusterArn}/nodes/storage");
|
|
533
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
534
|
-
let body;
|
|
535
|
-
body = JSON.stringify(take(input, {
|
|
536
|
-
currentVersion: [, , `CurrentVersion`],
|
|
537
|
-
targetBrokerEBSVolumeInfo: [, (_) => se___listOfBrokerEBSVolumeInfo(_, context), `TargetBrokerEBSVolumeInfo`],
|
|
538
|
-
}));
|
|
539
|
-
b.m("PUT").h(headers).b(body);
|
|
540
|
-
return b.build();
|
|
541
|
-
};
|
|
542
|
-
export const se_UpdateBrokerTypeCommand = async (input, context) => {
|
|
543
|
-
const b = rb(input, context);
|
|
544
|
-
const headers = {
|
|
545
|
-
"content-type": "application/json",
|
|
546
|
-
};
|
|
547
|
-
b.bp("/v1/clusters/{ClusterArn}/nodes/type");
|
|
548
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
549
|
-
let body;
|
|
550
|
-
body = JSON.stringify(take(input, {
|
|
551
|
-
currentVersion: [, , `CurrentVersion`],
|
|
552
|
-
targetInstanceType: [, , `TargetInstanceType`],
|
|
553
|
-
}));
|
|
554
|
-
b.m("PUT").h(headers).b(body);
|
|
555
|
-
return b.build();
|
|
556
|
-
};
|
|
557
|
-
export const se_UpdateClusterConfigurationCommand = async (input, context) => {
|
|
558
|
-
const b = rb(input, context);
|
|
559
|
-
const headers = {
|
|
560
|
-
"content-type": "application/json",
|
|
561
|
-
};
|
|
562
|
-
b.bp("/v1/clusters/{ClusterArn}/configuration");
|
|
563
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
564
|
-
let body;
|
|
565
|
-
body = JSON.stringify(take(input, {
|
|
566
|
-
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
567
|
-
currentVersion: [, , `CurrentVersion`],
|
|
568
|
-
}));
|
|
569
|
-
b.m("PUT").h(headers).b(body);
|
|
570
|
-
return b.build();
|
|
571
|
-
};
|
|
572
|
-
export const se_UpdateClusterKafkaVersionCommand = async (input, context) => {
|
|
573
|
-
const b = rb(input, context);
|
|
574
|
-
const headers = {
|
|
575
|
-
"content-type": "application/json",
|
|
576
|
-
};
|
|
577
|
-
b.bp("/v1/clusters/{ClusterArn}/version");
|
|
578
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
579
|
-
let body;
|
|
580
|
-
body = JSON.stringify(take(input, {
|
|
581
|
-
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
582
|
-
currentVersion: [, , `CurrentVersion`],
|
|
583
|
-
targetKafkaVersion: [, , `TargetKafkaVersion`],
|
|
584
|
-
}));
|
|
585
|
-
b.m("PUT").h(headers).b(body);
|
|
586
|
-
return b.build();
|
|
587
|
-
};
|
|
588
|
-
export const se_UpdateConfigurationCommand = async (input, context) => {
|
|
589
|
-
const b = rb(input, context);
|
|
590
|
-
const headers = {
|
|
591
|
-
"content-type": "application/json",
|
|
592
|
-
};
|
|
593
|
-
b.bp("/v1/configurations/{Arn}");
|
|
594
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
595
|
-
let body;
|
|
596
|
-
body = JSON.stringify(take(input, {
|
|
597
|
-
description: [, , `Description`],
|
|
598
|
-
serverProperties: [, (_) => context.base64Encoder(_), `ServerProperties`],
|
|
599
|
-
}));
|
|
600
|
-
b.m("PUT").h(headers).b(body);
|
|
601
|
-
return b.build();
|
|
602
|
-
};
|
|
603
|
-
export const se_UpdateConnectivityCommand = async (input, context) => {
|
|
604
|
-
const b = rb(input, context);
|
|
605
|
-
const headers = {
|
|
606
|
-
"content-type": "application/json",
|
|
607
|
-
};
|
|
608
|
-
b.bp("/v1/clusters/{ClusterArn}/connectivity");
|
|
609
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
610
|
-
let body;
|
|
611
|
-
body = JSON.stringify(take(input, {
|
|
612
|
-
connectivityInfo: [, (_) => se_ConnectivityInfo(_, context), `ConnectivityInfo`],
|
|
613
|
-
currentVersion: [, , `CurrentVersion`],
|
|
614
|
-
}));
|
|
615
|
-
b.m("PUT").h(headers).b(body);
|
|
616
|
-
return b.build();
|
|
617
|
-
};
|
|
618
|
-
export const se_UpdateMonitoringCommand = async (input, context) => {
|
|
619
|
-
const b = rb(input, context);
|
|
620
|
-
const headers = {
|
|
621
|
-
"content-type": "application/json",
|
|
622
|
-
};
|
|
623
|
-
b.bp("/v1/clusters/{ClusterArn}/monitoring");
|
|
624
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
625
|
-
let body;
|
|
626
|
-
body = JSON.stringify(take(input, {
|
|
627
|
-
currentVersion: [, , `CurrentVersion`],
|
|
628
|
-
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
629
|
-
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
630
|
-
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
631
|
-
}));
|
|
632
|
-
b.m("PUT").h(headers).b(body);
|
|
633
|
-
return b.build();
|
|
634
|
-
};
|
|
635
|
-
export const se_UpdateRebalancingCommand = async (input, context) => {
|
|
636
|
-
const b = rb(input, context);
|
|
637
|
-
const headers = {
|
|
638
|
-
"content-type": "application/json",
|
|
639
|
-
};
|
|
640
|
-
b.bp("/v1/clusters/{ClusterArn}/rebalancing");
|
|
641
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
642
|
-
let body;
|
|
643
|
-
body = JSON.stringify(take(input, {
|
|
644
|
-
currentVersion: [, , `CurrentVersion`],
|
|
645
|
-
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
646
|
-
}));
|
|
647
|
-
b.m("PUT").h(headers).b(body);
|
|
648
|
-
return b.build();
|
|
649
|
-
};
|
|
650
|
-
export const se_UpdateReplicationInfoCommand = async (input, context) => {
|
|
651
|
-
const b = rb(input, context);
|
|
652
|
-
const headers = {
|
|
653
|
-
"content-type": "application/json",
|
|
654
|
-
};
|
|
655
|
-
b.bp("/replication/v1/replicators/{ReplicatorArn}/replication-info");
|
|
656
|
-
b.p("ReplicatorArn", () => input.ReplicatorArn, "{ReplicatorArn}", false);
|
|
657
|
-
let body;
|
|
658
|
-
body = JSON.stringify(take(input, {
|
|
659
|
-
consumerGroupReplication: [, (_) => se_ConsumerGroupReplicationUpdate(_, context), `ConsumerGroupReplication`],
|
|
660
|
-
currentVersion: [, , `CurrentVersion`],
|
|
661
|
-
sourceKafkaClusterArn: [, , `SourceKafkaClusterArn`],
|
|
662
|
-
targetKafkaClusterArn: [, , `TargetKafkaClusterArn`],
|
|
663
|
-
topicReplication: [, (_) => se_TopicReplicationUpdate(_, context), `TopicReplication`],
|
|
664
|
-
}));
|
|
665
|
-
b.m("PUT").h(headers).b(body);
|
|
666
|
-
return b.build();
|
|
667
|
-
};
|
|
668
|
-
export const se_UpdateSecurityCommand = async (input, context) => {
|
|
669
|
-
const b = rb(input, context);
|
|
670
|
-
const headers = {
|
|
671
|
-
"content-type": "application/json",
|
|
672
|
-
};
|
|
673
|
-
b.bp("/v1/clusters/{ClusterArn}/security");
|
|
674
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
675
|
-
let body;
|
|
676
|
-
body = JSON.stringify(take(input, {
|
|
677
|
-
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
678
|
-
currentVersion: [, , `CurrentVersion`],
|
|
679
|
-
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
680
|
-
}));
|
|
681
|
-
b.m("PATCH").h(headers).b(body);
|
|
682
|
-
return b.build();
|
|
683
|
-
};
|
|
684
|
-
export const se_UpdateStorageCommand = async (input, context) => {
|
|
685
|
-
const b = rb(input, context);
|
|
686
|
-
const headers = {
|
|
687
|
-
"content-type": "application/json",
|
|
688
|
-
};
|
|
689
|
-
b.bp("/v1/clusters/{ClusterArn}/storage");
|
|
690
|
-
b.p("ClusterArn", () => input.ClusterArn, "{ClusterArn}", false);
|
|
691
|
-
let body;
|
|
692
|
-
body = JSON.stringify(take(input, {
|
|
693
|
-
currentVersion: [, , `CurrentVersion`],
|
|
694
|
-
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
695
|
-
storageMode: [, , `StorageMode`],
|
|
696
|
-
volumeSizeGB: [, , `VolumeSizeGB`],
|
|
697
|
-
}));
|
|
698
|
-
b.m("PUT").h(headers).b(body);
|
|
699
|
-
return b.build();
|
|
700
|
-
};
|
|
701
|
-
export const de_BatchAssociateScramSecretCommand = async (output, context) => {
|
|
702
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
703
|
-
return de_CommandError(output, context);
|
|
704
|
-
}
|
|
705
|
-
const contents = map({
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
});
|
|
708
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
709
|
-
const doc = take(data, {
|
|
710
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
711
|
-
UnprocessedScramSecrets: [, (_) => de___listOfUnprocessedScramSecret(_, context), `unprocessedScramSecrets`],
|
|
712
|
-
});
|
|
713
|
-
Object.assign(contents, doc);
|
|
714
|
-
return contents;
|
|
715
|
-
};
|
|
716
|
-
export const de_BatchDisassociateScramSecretCommand = async (output, context) => {
|
|
717
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
718
|
-
return de_CommandError(output, context);
|
|
719
|
-
}
|
|
720
|
-
const contents = map({
|
|
721
|
-
$metadata: deserializeMetadata(output),
|
|
722
|
-
});
|
|
723
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
724
|
-
const doc = take(data, {
|
|
725
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
726
|
-
UnprocessedScramSecrets: [, (_) => de___listOfUnprocessedScramSecret(_, context), `unprocessedScramSecrets`],
|
|
727
|
-
});
|
|
728
|
-
Object.assign(contents, doc);
|
|
729
|
-
return contents;
|
|
730
|
-
};
|
|
731
|
-
export const de_CreateClusterCommand = async (output, context) => {
|
|
732
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
733
|
-
return de_CommandError(output, context);
|
|
734
|
-
}
|
|
735
|
-
const contents = map({
|
|
736
|
-
$metadata: deserializeMetadata(output),
|
|
737
|
-
});
|
|
738
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
739
|
-
const doc = take(data, {
|
|
740
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
741
|
-
ClusterName: [, __expectString, `clusterName`],
|
|
742
|
-
State: [, __expectString, `state`],
|
|
743
|
-
});
|
|
744
|
-
Object.assign(contents, doc);
|
|
745
|
-
return contents;
|
|
746
|
-
};
|
|
747
|
-
export const de_CreateClusterV2Command = async (output, context) => {
|
|
748
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
749
|
-
return de_CommandError(output, context);
|
|
750
|
-
}
|
|
751
|
-
const contents = map({
|
|
752
|
-
$metadata: deserializeMetadata(output),
|
|
753
|
-
});
|
|
754
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
755
|
-
const doc = take(data, {
|
|
756
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
757
|
-
ClusterName: [, __expectString, `clusterName`],
|
|
758
|
-
ClusterType: [, __expectString, `clusterType`],
|
|
759
|
-
State: [, __expectString, `state`],
|
|
760
|
-
});
|
|
761
|
-
Object.assign(contents, doc);
|
|
762
|
-
return contents;
|
|
763
|
-
};
|
|
764
|
-
export const de_CreateConfigurationCommand = async (output, context) => {
|
|
765
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
766
|
-
return de_CommandError(output, context);
|
|
767
|
-
}
|
|
768
|
-
const contents = map({
|
|
769
|
-
$metadata: deserializeMetadata(output),
|
|
770
|
-
});
|
|
771
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
772
|
-
const doc = take(data, {
|
|
773
|
-
Arn: [, __expectString, `arn`],
|
|
774
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
775
|
-
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
776
|
-
Name: [, __expectString, `name`],
|
|
777
|
-
State: [, __expectString, `state`],
|
|
778
|
-
});
|
|
779
|
-
Object.assign(contents, doc);
|
|
780
|
-
return contents;
|
|
781
|
-
};
|
|
782
|
-
export const de_CreateReplicatorCommand = async (output, context) => {
|
|
783
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
784
|
-
return de_CommandError(output, context);
|
|
785
|
-
}
|
|
786
|
-
const contents = map({
|
|
787
|
-
$metadata: deserializeMetadata(output),
|
|
788
|
-
});
|
|
789
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
790
|
-
const doc = take(data, {
|
|
791
|
-
ReplicatorArn: [, __expectString, `replicatorArn`],
|
|
792
|
-
ReplicatorName: [, __expectString, `replicatorName`],
|
|
793
|
-
ReplicatorState: [, __expectString, `replicatorState`],
|
|
794
|
-
});
|
|
795
|
-
Object.assign(contents, doc);
|
|
796
|
-
return contents;
|
|
797
|
-
};
|
|
798
|
-
export const de_CreateVpcConnectionCommand = async (output, context) => {
|
|
799
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
-
return de_CommandError(output, context);
|
|
801
|
-
}
|
|
802
|
-
const contents = map({
|
|
803
|
-
$metadata: deserializeMetadata(output),
|
|
804
|
-
});
|
|
805
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
806
|
-
const doc = take(data, {
|
|
807
|
-
Authentication: [, __expectString, `authentication`],
|
|
808
|
-
ClientSubnets: [, _json, `clientSubnets`],
|
|
809
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
810
|
-
SecurityGroups: [, _json, `securityGroups`],
|
|
811
|
-
State: [, __expectString, `state`],
|
|
812
|
-
Tags: [, _json, `tags`],
|
|
813
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
814
|
-
VpcId: [, __expectString, `vpcId`],
|
|
815
|
-
});
|
|
816
|
-
Object.assign(contents, doc);
|
|
817
|
-
return contents;
|
|
818
|
-
};
|
|
819
|
-
export const de_DeleteClusterCommand = async (output, context) => {
|
|
820
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
821
|
-
return de_CommandError(output, context);
|
|
822
|
-
}
|
|
823
|
-
const contents = map({
|
|
824
|
-
$metadata: deserializeMetadata(output),
|
|
825
|
-
});
|
|
826
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
827
|
-
const doc = take(data, {
|
|
828
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
829
|
-
State: [, __expectString, `state`],
|
|
830
|
-
});
|
|
831
|
-
Object.assign(contents, doc);
|
|
832
|
-
return contents;
|
|
833
|
-
};
|
|
834
|
-
export const de_DeleteClusterPolicyCommand = async (output, context) => {
|
|
835
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
836
|
-
return de_CommandError(output, context);
|
|
837
|
-
}
|
|
838
|
-
const contents = map({
|
|
839
|
-
$metadata: deserializeMetadata(output),
|
|
840
|
-
});
|
|
841
|
-
await collectBody(output.body, context);
|
|
842
|
-
return contents;
|
|
843
|
-
};
|
|
844
|
-
export const de_DeleteConfigurationCommand = async (output, context) => {
|
|
845
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
846
|
-
return de_CommandError(output, context);
|
|
847
|
-
}
|
|
848
|
-
const contents = map({
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
});
|
|
851
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
852
|
-
const doc = take(data, {
|
|
853
|
-
Arn: [, __expectString, `arn`],
|
|
854
|
-
State: [, __expectString, `state`],
|
|
855
|
-
});
|
|
856
|
-
Object.assign(contents, doc);
|
|
857
|
-
return contents;
|
|
858
|
-
};
|
|
859
|
-
export const de_DeleteReplicatorCommand = async (output, context) => {
|
|
860
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
861
|
-
return de_CommandError(output, context);
|
|
862
|
-
}
|
|
863
|
-
const contents = map({
|
|
864
|
-
$metadata: deserializeMetadata(output),
|
|
865
|
-
});
|
|
866
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
867
|
-
const doc = take(data, {
|
|
868
|
-
ReplicatorArn: [, __expectString, `replicatorArn`],
|
|
869
|
-
ReplicatorState: [, __expectString, `replicatorState`],
|
|
870
|
-
});
|
|
871
|
-
Object.assign(contents, doc);
|
|
872
|
-
return contents;
|
|
873
|
-
};
|
|
874
|
-
export const de_DeleteVpcConnectionCommand = async (output, context) => {
|
|
875
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
876
|
-
return de_CommandError(output, context);
|
|
877
|
-
}
|
|
878
|
-
const contents = map({
|
|
879
|
-
$metadata: deserializeMetadata(output),
|
|
880
|
-
});
|
|
881
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
882
|
-
const doc = take(data, {
|
|
883
|
-
State: [, __expectString, `state`],
|
|
884
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
885
|
-
});
|
|
886
|
-
Object.assign(contents, doc);
|
|
887
|
-
return contents;
|
|
888
|
-
};
|
|
889
|
-
export const de_DescribeClusterCommand = async (output, context) => {
|
|
890
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
891
|
-
return de_CommandError(output, context);
|
|
892
|
-
}
|
|
893
|
-
const contents = map({
|
|
894
|
-
$metadata: deserializeMetadata(output),
|
|
895
|
-
});
|
|
896
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
897
|
-
const doc = take(data, {
|
|
898
|
-
ClusterInfo: [, (_) => de_ClusterInfo(_, context), `clusterInfo`],
|
|
899
|
-
});
|
|
900
|
-
Object.assign(contents, doc);
|
|
901
|
-
return contents;
|
|
902
|
-
};
|
|
903
|
-
export const de_DescribeClusterOperationCommand = async (output, context) => {
|
|
904
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
905
|
-
return de_CommandError(output, context);
|
|
906
|
-
}
|
|
907
|
-
const contents = map({
|
|
908
|
-
$metadata: deserializeMetadata(output),
|
|
909
|
-
});
|
|
910
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
911
|
-
const doc = take(data, {
|
|
912
|
-
ClusterOperationInfo: [, (_) => de_ClusterOperationInfo(_, context), `clusterOperationInfo`],
|
|
913
|
-
});
|
|
914
|
-
Object.assign(contents, doc);
|
|
915
|
-
return contents;
|
|
916
|
-
};
|
|
917
|
-
export const de_DescribeClusterOperationV2Command = async (output, context) => {
|
|
918
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
919
|
-
return de_CommandError(output, context);
|
|
920
|
-
}
|
|
921
|
-
const contents = map({
|
|
922
|
-
$metadata: deserializeMetadata(output),
|
|
923
|
-
});
|
|
924
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
925
|
-
const doc = take(data, {
|
|
926
|
-
ClusterOperationInfo: [, (_) => de_ClusterOperationV2(_, context), `clusterOperationInfo`],
|
|
927
|
-
});
|
|
928
|
-
Object.assign(contents, doc);
|
|
929
|
-
return contents;
|
|
930
|
-
};
|
|
931
|
-
export const de_DescribeClusterV2Command = async (output, context) => {
|
|
932
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
933
|
-
return de_CommandError(output, context);
|
|
934
|
-
}
|
|
935
|
-
const contents = map({
|
|
936
|
-
$metadata: deserializeMetadata(output),
|
|
937
|
-
});
|
|
938
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
939
|
-
const doc = take(data, {
|
|
940
|
-
ClusterInfo: [, (_) => de_Cluster(_, context), `clusterInfo`],
|
|
941
|
-
});
|
|
942
|
-
Object.assign(contents, doc);
|
|
943
|
-
return contents;
|
|
944
|
-
};
|
|
945
|
-
export const de_DescribeConfigurationCommand = async (output, context) => {
|
|
946
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
947
|
-
return de_CommandError(output, context);
|
|
948
|
-
}
|
|
949
|
-
const contents = map({
|
|
950
|
-
$metadata: deserializeMetadata(output),
|
|
951
|
-
});
|
|
952
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
953
|
-
const doc = take(data, {
|
|
954
|
-
Arn: [, __expectString, `arn`],
|
|
955
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
956
|
-
Description: [, __expectString, `description`],
|
|
957
|
-
KafkaVersions: [, _json, `kafkaVersions`],
|
|
958
|
-
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
959
|
-
Name: [, __expectString, `name`],
|
|
960
|
-
State: [, __expectString, `state`],
|
|
961
|
-
});
|
|
962
|
-
Object.assign(contents, doc);
|
|
963
|
-
return contents;
|
|
964
|
-
};
|
|
965
|
-
export const de_DescribeConfigurationRevisionCommand = async (output, context) => {
|
|
966
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
967
|
-
return de_CommandError(output, context);
|
|
968
|
-
}
|
|
969
|
-
const contents = map({
|
|
970
|
-
$metadata: deserializeMetadata(output),
|
|
971
|
-
});
|
|
972
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
973
|
-
const doc = take(data, {
|
|
974
|
-
Arn: [, __expectString, `arn`],
|
|
975
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
976
|
-
Description: [, __expectString, `description`],
|
|
977
|
-
Revision: [, __expectLong, `revision`],
|
|
978
|
-
ServerProperties: [, context.base64Decoder, `serverProperties`],
|
|
979
|
-
});
|
|
980
|
-
Object.assign(contents, doc);
|
|
981
|
-
return contents;
|
|
982
|
-
};
|
|
983
|
-
export const de_DescribeReplicatorCommand = async (output, context) => {
|
|
984
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
985
|
-
return de_CommandError(output, context);
|
|
986
|
-
}
|
|
987
|
-
const contents = map({
|
|
988
|
-
$metadata: deserializeMetadata(output),
|
|
989
|
-
});
|
|
990
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
991
|
-
const doc = take(data, {
|
|
992
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
993
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
994
|
-
IsReplicatorReference: [, __expectBoolean, `isReplicatorReference`],
|
|
995
|
-
KafkaClusters: [, (_) => de___listOfKafkaClusterDescription(_, context), `kafkaClusters`],
|
|
996
|
-
ReplicationInfoList: [, (_) => de___listOfReplicationInfoDescription(_, context), `replicationInfoList`],
|
|
997
|
-
ReplicatorArn: [, __expectString, `replicatorArn`],
|
|
998
|
-
ReplicatorDescription: [, __expectString, `replicatorDescription`],
|
|
999
|
-
ReplicatorName: [, __expectString, `replicatorName`],
|
|
1000
|
-
ReplicatorResourceArn: [, __expectString, `replicatorResourceArn`],
|
|
1001
|
-
ReplicatorState: [, __expectString, `replicatorState`],
|
|
1002
|
-
ServiceExecutionRoleArn: [, __expectString, `serviceExecutionRoleArn`],
|
|
1003
|
-
StateInfo: [, (_) => de_ReplicationStateInfo(_, context), `stateInfo`],
|
|
1004
|
-
Tags: [, _json, `tags`],
|
|
1005
|
-
});
|
|
1006
|
-
Object.assign(contents, doc);
|
|
1007
|
-
return contents;
|
|
1008
|
-
};
|
|
1009
|
-
export const de_DescribeVpcConnectionCommand = async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = map({
|
|
1014
|
-
$metadata: deserializeMetadata(output),
|
|
1015
|
-
});
|
|
1016
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1017
|
-
const doc = take(data, {
|
|
1018
|
-
Authentication: [, __expectString, `authentication`],
|
|
1019
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
1020
|
-
SecurityGroups: [, _json, `securityGroups`],
|
|
1021
|
-
State: [, __expectString, `state`],
|
|
1022
|
-
Subnets: [, _json, `subnets`],
|
|
1023
|
-
Tags: [, _json, `tags`],
|
|
1024
|
-
TargetClusterArn: [, __expectString, `targetClusterArn`],
|
|
1025
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
1026
|
-
VpcId: [, __expectString, `vpcId`],
|
|
1027
|
-
});
|
|
1028
|
-
Object.assign(contents, doc);
|
|
1029
|
-
return contents;
|
|
1030
|
-
};
|
|
1031
|
-
export const de_GetBootstrapBrokersCommand = async (output, context) => {
|
|
1032
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1033
|
-
return de_CommandError(output, context);
|
|
1034
|
-
}
|
|
1035
|
-
const contents = map({
|
|
1036
|
-
$metadata: deserializeMetadata(output),
|
|
1037
|
-
});
|
|
1038
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1039
|
-
const doc = take(data, {
|
|
1040
|
-
BootstrapBrokerString: [, __expectString, `bootstrapBrokerString`],
|
|
1041
|
-
BootstrapBrokerStringPublicSaslIam: [, __expectString, `bootstrapBrokerStringPublicSaslIam`],
|
|
1042
|
-
BootstrapBrokerStringPublicSaslScram: [, __expectString, `bootstrapBrokerStringPublicSaslScram`],
|
|
1043
|
-
BootstrapBrokerStringPublicTls: [, __expectString, `bootstrapBrokerStringPublicTls`],
|
|
1044
|
-
BootstrapBrokerStringSaslIam: [, __expectString, `bootstrapBrokerStringSaslIam`],
|
|
1045
|
-
BootstrapBrokerStringSaslScram: [, __expectString, `bootstrapBrokerStringSaslScram`],
|
|
1046
|
-
BootstrapBrokerStringTls: [, __expectString, `bootstrapBrokerStringTls`],
|
|
1047
|
-
BootstrapBrokerStringVpcConnectivitySaslIam: [, __expectString, `bootstrapBrokerStringVpcConnectivitySaslIam`],
|
|
1048
|
-
BootstrapBrokerStringVpcConnectivitySaslScram: [, __expectString, `bootstrapBrokerStringVpcConnectivitySaslScram`],
|
|
1049
|
-
BootstrapBrokerStringVpcConnectivityTls: [, __expectString, `bootstrapBrokerStringVpcConnectivityTls`],
|
|
1050
|
-
});
|
|
1051
|
-
Object.assign(contents, doc);
|
|
1052
|
-
return contents;
|
|
1053
|
-
};
|
|
1054
|
-
export const de_GetClusterPolicyCommand = async (output, context) => {
|
|
1055
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1056
|
-
return de_CommandError(output, context);
|
|
1057
|
-
}
|
|
1058
|
-
const contents = map({
|
|
1059
|
-
$metadata: deserializeMetadata(output),
|
|
1060
|
-
});
|
|
1061
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1062
|
-
const doc = take(data, {
|
|
1063
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
1064
|
-
Policy: [, __expectString, `policy`],
|
|
1065
|
-
});
|
|
1066
|
-
Object.assign(contents, doc);
|
|
1067
|
-
return contents;
|
|
1068
|
-
};
|
|
1069
|
-
export const de_GetCompatibleKafkaVersionsCommand = async (output, context) => {
|
|
1070
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1071
|
-
return de_CommandError(output, context);
|
|
1072
|
-
}
|
|
1073
|
-
const contents = map({
|
|
1074
|
-
$metadata: deserializeMetadata(output),
|
|
1075
|
-
});
|
|
1076
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1077
|
-
const doc = take(data, {
|
|
1078
|
-
CompatibleKafkaVersions: [, (_) => de___listOfCompatibleKafkaVersion(_, context), `compatibleKafkaVersions`],
|
|
1079
|
-
});
|
|
1080
|
-
Object.assign(contents, doc);
|
|
1081
|
-
return contents;
|
|
1082
|
-
};
|
|
1083
|
-
export const de_ListClientVpcConnectionsCommand = async (output, context) => {
|
|
1084
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1085
|
-
return de_CommandError(output, context);
|
|
1086
|
-
}
|
|
1087
|
-
const contents = map({
|
|
1088
|
-
$metadata: deserializeMetadata(output),
|
|
1089
|
-
});
|
|
1090
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1091
|
-
const doc = take(data, {
|
|
1092
|
-
ClientVpcConnections: [, (_) => de___listOfClientVpcConnection(_, context), `clientVpcConnections`],
|
|
1093
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1094
|
-
});
|
|
1095
|
-
Object.assign(contents, doc);
|
|
1096
|
-
return contents;
|
|
1097
|
-
};
|
|
1098
|
-
export const de_ListClusterOperationsCommand = async (output, context) => {
|
|
1099
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1100
|
-
return de_CommandError(output, context);
|
|
1101
|
-
}
|
|
1102
|
-
const contents = map({
|
|
1103
|
-
$metadata: deserializeMetadata(output),
|
|
1104
|
-
});
|
|
1105
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1106
|
-
const doc = take(data, {
|
|
1107
|
-
ClusterOperationInfoList: [, (_) => de___listOfClusterOperationInfo(_, context), `clusterOperationInfoList`],
|
|
1108
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1109
|
-
});
|
|
1110
|
-
Object.assign(contents, doc);
|
|
1111
|
-
return contents;
|
|
1112
|
-
};
|
|
1113
|
-
export const de_ListClusterOperationsV2Command = async (output, context) => {
|
|
1114
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1115
|
-
return de_CommandError(output, context);
|
|
1116
|
-
}
|
|
1117
|
-
const contents = map({
|
|
1118
|
-
$metadata: deserializeMetadata(output),
|
|
1119
|
-
});
|
|
1120
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1121
|
-
const doc = take(data, {
|
|
1122
|
-
ClusterOperationInfoList: [, (_) => de___listOfClusterOperationV2Summary(_, context), `clusterOperationInfoList`],
|
|
1123
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1124
|
-
});
|
|
1125
|
-
Object.assign(contents, doc);
|
|
1126
|
-
return contents;
|
|
1127
|
-
};
|
|
1128
|
-
export const de_ListClustersCommand = async (output, context) => {
|
|
1129
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
-
return de_CommandError(output, context);
|
|
1131
|
-
}
|
|
1132
|
-
const contents = map({
|
|
1133
|
-
$metadata: deserializeMetadata(output),
|
|
1134
|
-
});
|
|
1135
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1136
|
-
const doc = take(data, {
|
|
1137
|
-
ClusterInfoList: [, (_) => de___listOfClusterInfo(_, context), `clusterInfoList`],
|
|
1138
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1139
|
-
});
|
|
1140
|
-
Object.assign(contents, doc);
|
|
1141
|
-
return contents;
|
|
1142
|
-
};
|
|
1143
|
-
export const de_ListClustersV2Command = async (output, context) => {
|
|
1144
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1145
|
-
return de_CommandError(output, context);
|
|
1146
|
-
}
|
|
1147
|
-
const contents = map({
|
|
1148
|
-
$metadata: deserializeMetadata(output),
|
|
1149
|
-
});
|
|
1150
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1151
|
-
const doc = take(data, {
|
|
1152
|
-
ClusterInfoList: [, (_) => de___listOfCluster(_, context), `clusterInfoList`],
|
|
1153
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1154
|
-
});
|
|
1155
|
-
Object.assign(contents, doc);
|
|
1156
|
-
return contents;
|
|
1157
|
-
};
|
|
1158
|
-
export const de_ListConfigurationRevisionsCommand = async (output, context) => {
|
|
1159
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
-
return de_CommandError(output, context);
|
|
1161
|
-
}
|
|
1162
|
-
const contents = map({
|
|
1163
|
-
$metadata: deserializeMetadata(output),
|
|
1164
|
-
});
|
|
1165
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1166
|
-
const doc = take(data, {
|
|
1167
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1168
|
-
Revisions: [, (_) => de___listOfConfigurationRevision(_, context), `revisions`],
|
|
1169
|
-
});
|
|
1170
|
-
Object.assign(contents, doc);
|
|
1171
|
-
return contents;
|
|
1172
|
-
};
|
|
1173
|
-
export const de_ListConfigurationsCommand = async (output, context) => {
|
|
1174
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1175
|
-
return de_CommandError(output, context);
|
|
1176
|
-
}
|
|
1177
|
-
const contents = map({
|
|
1178
|
-
$metadata: deserializeMetadata(output),
|
|
1179
|
-
});
|
|
1180
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1181
|
-
const doc = take(data, {
|
|
1182
|
-
Configurations: [, (_) => de___listOfConfiguration(_, context), `configurations`],
|
|
1183
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1184
|
-
});
|
|
1185
|
-
Object.assign(contents, doc);
|
|
1186
|
-
return contents;
|
|
1187
|
-
};
|
|
1188
|
-
export const de_ListKafkaVersionsCommand = async (output, context) => {
|
|
1189
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1190
|
-
return de_CommandError(output, context);
|
|
1191
|
-
}
|
|
1192
|
-
const contents = map({
|
|
1193
|
-
$metadata: deserializeMetadata(output),
|
|
1194
|
-
});
|
|
1195
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1196
|
-
const doc = take(data, {
|
|
1197
|
-
KafkaVersions: [, (_) => de___listOfKafkaVersion(_, context), `kafkaVersions`],
|
|
1198
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1199
|
-
});
|
|
1200
|
-
Object.assign(contents, doc);
|
|
1201
|
-
return contents;
|
|
1202
|
-
};
|
|
1203
|
-
export const de_ListNodesCommand = async (output, context) => {
|
|
1204
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1205
|
-
return de_CommandError(output, context);
|
|
1206
|
-
}
|
|
1207
|
-
const contents = map({
|
|
1208
|
-
$metadata: deserializeMetadata(output),
|
|
1209
|
-
});
|
|
1210
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1211
|
-
const doc = take(data, {
|
|
1212
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1213
|
-
NodeInfoList: [, (_) => de___listOfNodeInfo(_, context), `nodeInfoList`],
|
|
1214
|
-
});
|
|
1215
|
-
Object.assign(contents, doc);
|
|
1216
|
-
return contents;
|
|
1217
|
-
};
|
|
1218
|
-
export const de_ListReplicatorsCommand = async (output, context) => {
|
|
1219
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1220
|
-
return de_CommandError(output, context);
|
|
1221
|
-
}
|
|
1222
|
-
const contents = map({
|
|
1223
|
-
$metadata: deserializeMetadata(output),
|
|
1224
|
-
});
|
|
1225
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1226
|
-
const doc = take(data, {
|
|
1227
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1228
|
-
Replicators: [, (_) => de___listOfReplicatorSummary(_, context), `replicators`],
|
|
1229
|
-
});
|
|
1230
|
-
Object.assign(contents, doc);
|
|
1231
|
-
return contents;
|
|
1232
|
-
};
|
|
1233
|
-
export const de_ListScramSecretsCommand = async (output, context) => {
|
|
1234
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1235
|
-
return de_CommandError(output, context);
|
|
1236
|
-
}
|
|
1237
|
-
const contents = map({
|
|
1238
|
-
$metadata: deserializeMetadata(output),
|
|
1239
|
-
});
|
|
1240
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1241
|
-
const doc = take(data, {
|
|
1242
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1243
|
-
SecretArnList: [, _json, `secretArnList`],
|
|
1244
|
-
});
|
|
1245
|
-
Object.assign(contents, doc);
|
|
1246
|
-
return contents;
|
|
1247
|
-
};
|
|
1248
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1249
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1250
|
-
return de_CommandError(output, context);
|
|
1251
|
-
}
|
|
1252
|
-
const contents = map({
|
|
1253
|
-
$metadata: deserializeMetadata(output),
|
|
1254
|
-
});
|
|
1255
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1256
|
-
const doc = take(data, {
|
|
1257
|
-
Tags: [, _json, `tags`],
|
|
1258
|
-
});
|
|
1259
|
-
Object.assign(contents, doc);
|
|
1260
|
-
return contents;
|
|
1261
|
-
};
|
|
1262
|
-
export const de_ListVpcConnectionsCommand = async (output, context) => {
|
|
1263
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1264
|
-
return de_CommandError(output, context);
|
|
1265
|
-
}
|
|
1266
|
-
const contents = map({
|
|
1267
|
-
$metadata: deserializeMetadata(output),
|
|
1268
|
-
});
|
|
1269
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1270
|
-
const doc = take(data, {
|
|
1271
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1272
|
-
VpcConnections: [, (_) => de___listOfVpcConnection(_, context), `vpcConnections`],
|
|
1273
|
-
});
|
|
1274
|
-
Object.assign(contents, doc);
|
|
1275
|
-
return contents;
|
|
1276
|
-
};
|
|
1277
|
-
export const de_PutClusterPolicyCommand = async (output, context) => {
|
|
1278
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1279
|
-
return de_CommandError(output, context);
|
|
1280
|
-
}
|
|
1281
|
-
const contents = map({
|
|
1282
|
-
$metadata: deserializeMetadata(output),
|
|
1283
|
-
});
|
|
1284
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1285
|
-
const doc = take(data, {
|
|
1286
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
1287
|
-
});
|
|
1288
|
-
Object.assign(contents, doc);
|
|
1289
|
-
return contents;
|
|
1290
|
-
};
|
|
1291
|
-
export const de_RebootBrokerCommand = async (output, context) => {
|
|
1292
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1293
|
-
return de_CommandError(output, context);
|
|
1294
|
-
}
|
|
1295
|
-
const contents = map({
|
|
1296
|
-
$metadata: deserializeMetadata(output),
|
|
1297
|
-
});
|
|
1298
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1299
|
-
const doc = take(data, {
|
|
1300
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1301
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1302
|
-
});
|
|
1303
|
-
Object.assign(contents, doc);
|
|
1304
|
-
return contents;
|
|
1305
|
-
};
|
|
1306
|
-
export const de_RejectClientVpcConnectionCommand = async (output, context) => {
|
|
1307
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1308
|
-
return de_CommandError(output, context);
|
|
1309
|
-
}
|
|
1310
|
-
const contents = map({
|
|
1311
|
-
$metadata: deserializeMetadata(output),
|
|
1312
|
-
});
|
|
1313
|
-
await collectBody(output.body, context);
|
|
1314
|
-
return contents;
|
|
1315
|
-
};
|
|
1316
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1317
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1318
|
-
return de_CommandError(output, context);
|
|
1319
|
-
}
|
|
1320
|
-
const contents = map({
|
|
1321
|
-
$metadata: deserializeMetadata(output),
|
|
1322
|
-
});
|
|
1323
|
-
await collectBody(output.body, context);
|
|
1324
|
-
return contents;
|
|
1325
|
-
};
|
|
1326
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1327
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1328
|
-
return de_CommandError(output, context);
|
|
1329
|
-
}
|
|
1330
|
-
const contents = map({
|
|
1331
|
-
$metadata: deserializeMetadata(output),
|
|
1332
|
-
});
|
|
1333
|
-
await collectBody(output.body, context);
|
|
1334
|
-
return contents;
|
|
1335
|
-
};
|
|
1336
|
-
export const de_UpdateBrokerCountCommand = async (output, context) => {
|
|
1337
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1338
|
-
return de_CommandError(output, context);
|
|
1339
|
-
}
|
|
1340
|
-
const contents = map({
|
|
1341
|
-
$metadata: deserializeMetadata(output),
|
|
1342
|
-
});
|
|
1343
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1344
|
-
const doc = take(data, {
|
|
1345
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1346
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1347
|
-
});
|
|
1348
|
-
Object.assign(contents, doc);
|
|
1349
|
-
return contents;
|
|
1350
|
-
};
|
|
1351
|
-
export const de_UpdateBrokerStorageCommand = async (output, context) => {
|
|
1352
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1353
|
-
return de_CommandError(output, context);
|
|
1354
|
-
}
|
|
1355
|
-
const contents = map({
|
|
1356
|
-
$metadata: deserializeMetadata(output),
|
|
1357
|
-
});
|
|
1358
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1359
|
-
const doc = take(data, {
|
|
1360
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1361
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1362
|
-
});
|
|
1363
|
-
Object.assign(contents, doc);
|
|
1364
|
-
return contents;
|
|
1365
|
-
};
|
|
1366
|
-
export const de_UpdateBrokerTypeCommand = async (output, context) => {
|
|
1367
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1368
|
-
return de_CommandError(output, context);
|
|
1369
|
-
}
|
|
1370
|
-
const contents = map({
|
|
1371
|
-
$metadata: deserializeMetadata(output),
|
|
1372
|
-
});
|
|
1373
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1374
|
-
const doc = take(data, {
|
|
1375
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1376
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1377
|
-
});
|
|
1378
|
-
Object.assign(contents, doc);
|
|
1379
|
-
return contents;
|
|
1380
|
-
};
|
|
1381
|
-
export const de_UpdateClusterConfigurationCommand = async (output, context) => {
|
|
1382
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1383
|
-
return de_CommandError(output, context);
|
|
1384
|
-
}
|
|
1385
|
-
const contents = map({
|
|
1386
|
-
$metadata: deserializeMetadata(output),
|
|
1387
|
-
});
|
|
1388
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1389
|
-
const doc = take(data, {
|
|
1390
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1391
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1392
|
-
});
|
|
1393
|
-
Object.assign(contents, doc);
|
|
1394
|
-
return contents;
|
|
1395
|
-
};
|
|
1396
|
-
export const de_UpdateClusterKafkaVersionCommand = async (output, context) => {
|
|
1397
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1398
|
-
return de_CommandError(output, context);
|
|
1399
|
-
}
|
|
1400
|
-
const contents = map({
|
|
1401
|
-
$metadata: deserializeMetadata(output),
|
|
1402
|
-
});
|
|
1403
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1404
|
-
const doc = take(data, {
|
|
1405
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1406
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1407
|
-
});
|
|
1408
|
-
Object.assign(contents, doc);
|
|
1409
|
-
return contents;
|
|
1410
|
-
};
|
|
1411
|
-
export const de_UpdateConfigurationCommand = async (output, context) => {
|
|
1412
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
-
return de_CommandError(output, context);
|
|
1414
|
-
}
|
|
1415
|
-
const contents = map({
|
|
1416
|
-
$metadata: deserializeMetadata(output),
|
|
1417
|
-
});
|
|
1418
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1419
|
-
const doc = take(data, {
|
|
1420
|
-
Arn: [, __expectString, `arn`],
|
|
1421
|
-
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
1422
|
-
});
|
|
1423
|
-
Object.assign(contents, doc);
|
|
1424
|
-
return contents;
|
|
1425
|
-
};
|
|
1426
|
-
export const de_UpdateConnectivityCommand = async (output, context) => {
|
|
1427
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1428
|
-
return de_CommandError(output, context);
|
|
1429
|
-
}
|
|
1430
|
-
const contents = map({
|
|
1431
|
-
$metadata: deserializeMetadata(output),
|
|
1432
|
-
});
|
|
1433
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1434
|
-
const doc = take(data, {
|
|
1435
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1436
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1437
|
-
});
|
|
1438
|
-
Object.assign(contents, doc);
|
|
1439
|
-
return contents;
|
|
1440
|
-
};
|
|
1441
|
-
export const de_UpdateMonitoringCommand = async (output, context) => {
|
|
1442
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1443
|
-
return de_CommandError(output, context);
|
|
1444
|
-
}
|
|
1445
|
-
const contents = map({
|
|
1446
|
-
$metadata: deserializeMetadata(output),
|
|
1447
|
-
});
|
|
1448
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1449
|
-
const doc = take(data, {
|
|
1450
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1451
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1452
|
-
});
|
|
1453
|
-
Object.assign(contents, doc);
|
|
1454
|
-
return contents;
|
|
1455
|
-
};
|
|
1456
|
-
export const de_UpdateRebalancingCommand = async (output, context) => {
|
|
1457
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1458
|
-
return de_CommandError(output, context);
|
|
1459
|
-
}
|
|
1460
|
-
const contents = map({
|
|
1461
|
-
$metadata: deserializeMetadata(output),
|
|
1462
|
-
});
|
|
1463
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1464
|
-
const doc = take(data, {
|
|
1465
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1466
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1467
|
-
});
|
|
1468
|
-
Object.assign(contents, doc);
|
|
1469
|
-
return contents;
|
|
1470
|
-
};
|
|
1471
|
-
export const de_UpdateReplicationInfoCommand = async (output, context) => {
|
|
1472
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1473
|
-
return de_CommandError(output, context);
|
|
1474
|
-
}
|
|
1475
|
-
const contents = map({
|
|
1476
|
-
$metadata: deserializeMetadata(output),
|
|
1477
|
-
});
|
|
1478
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1479
|
-
const doc = take(data, {
|
|
1480
|
-
ReplicatorArn: [, __expectString, `replicatorArn`],
|
|
1481
|
-
ReplicatorState: [, __expectString, `replicatorState`],
|
|
1482
|
-
});
|
|
1483
|
-
Object.assign(contents, doc);
|
|
1484
|
-
return contents;
|
|
1485
|
-
};
|
|
1486
|
-
export const de_UpdateSecurityCommand = async (output, context) => {
|
|
1487
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1488
|
-
return de_CommandError(output, context);
|
|
1489
|
-
}
|
|
1490
|
-
const contents = map({
|
|
1491
|
-
$metadata: deserializeMetadata(output),
|
|
1492
|
-
});
|
|
1493
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1494
|
-
const doc = take(data, {
|
|
1495
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1496
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1497
|
-
});
|
|
1498
|
-
Object.assign(contents, doc);
|
|
1499
|
-
return contents;
|
|
1500
|
-
};
|
|
1501
|
-
export const de_UpdateStorageCommand = async (output, context) => {
|
|
1502
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1503
|
-
return de_CommandError(output, context);
|
|
1504
|
-
}
|
|
1505
|
-
const contents = map({
|
|
1506
|
-
$metadata: deserializeMetadata(output),
|
|
1507
|
-
});
|
|
1508
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1509
|
-
const doc = take(data, {
|
|
1510
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
1511
|
-
ClusterOperationArn: [, __expectString, `clusterOperationArn`],
|
|
1512
|
-
});
|
|
1513
|
-
Object.assign(contents, doc);
|
|
1514
|
-
return contents;
|
|
1515
|
-
};
|
|
1516
|
-
const de_CommandError = async (output, context) => {
|
|
1517
|
-
const parsedOutput = {
|
|
1518
|
-
...output,
|
|
1519
|
-
body: await parseErrorBody(output.body, context),
|
|
1520
|
-
};
|
|
1521
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1522
|
-
switch (errorCode) {
|
|
1523
|
-
case "BadRequestException":
|
|
1524
|
-
case "com.amazonaws.kafka#BadRequestException":
|
|
1525
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1526
|
-
case "ForbiddenException":
|
|
1527
|
-
case "com.amazonaws.kafka#ForbiddenException":
|
|
1528
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1529
|
-
case "InternalServerErrorException":
|
|
1530
|
-
case "com.amazonaws.kafka#InternalServerErrorException":
|
|
1531
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1532
|
-
case "NotFoundException":
|
|
1533
|
-
case "com.amazonaws.kafka#NotFoundException":
|
|
1534
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1535
|
-
case "ServiceUnavailableException":
|
|
1536
|
-
case "com.amazonaws.kafka#ServiceUnavailableException":
|
|
1537
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1538
|
-
case "TooManyRequestsException":
|
|
1539
|
-
case "com.amazonaws.kafka#TooManyRequestsException":
|
|
1540
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1541
|
-
case "UnauthorizedException":
|
|
1542
|
-
case "com.amazonaws.kafka#UnauthorizedException":
|
|
1543
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1544
|
-
case "ConflictException":
|
|
1545
|
-
case "com.amazonaws.kafka#ConflictException":
|
|
1546
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1547
|
-
default:
|
|
1548
|
-
const parsedBody = parsedOutput.body;
|
|
1549
|
-
return throwDefaultError({
|
|
1550
|
-
output,
|
|
1551
|
-
parsedBody,
|
|
1552
|
-
errorCode,
|
|
1553
|
-
});
|
|
1554
|
-
}
|
|
1555
|
-
};
|
|
1556
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1557
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1558
|
-
const contents = map({});
|
|
1559
|
-
const data = parsedOutput.body;
|
|
1560
|
-
const doc = take(data, {
|
|
1561
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1562
|
-
Message: [, __expectString, `message`],
|
|
1563
|
-
});
|
|
1564
|
-
Object.assign(contents, doc);
|
|
1565
|
-
const exception = new BadRequestException({
|
|
1566
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1567
|
-
...contents,
|
|
1568
|
-
});
|
|
1569
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1570
|
-
};
|
|
1571
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1572
|
-
const contents = map({});
|
|
1573
|
-
const data = parsedOutput.body;
|
|
1574
|
-
const doc = take(data, {
|
|
1575
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1576
|
-
Message: [, __expectString, `message`],
|
|
1577
|
-
});
|
|
1578
|
-
Object.assign(contents, doc);
|
|
1579
|
-
const exception = new ConflictException({
|
|
1580
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1581
|
-
...contents,
|
|
1582
|
-
});
|
|
1583
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1584
|
-
};
|
|
1585
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1586
|
-
const contents = map({});
|
|
1587
|
-
const data = parsedOutput.body;
|
|
1588
|
-
const doc = take(data, {
|
|
1589
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1590
|
-
Message: [, __expectString, `message`],
|
|
1591
|
-
});
|
|
1592
|
-
Object.assign(contents, doc);
|
|
1593
|
-
const exception = new ForbiddenException({
|
|
1594
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1595
|
-
...contents,
|
|
1596
|
-
});
|
|
1597
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1598
|
-
};
|
|
1599
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
1600
|
-
const contents = map({});
|
|
1601
|
-
const data = parsedOutput.body;
|
|
1602
|
-
const doc = take(data, {
|
|
1603
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1604
|
-
Message: [, __expectString, `message`],
|
|
1605
|
-
});
|
|
1606
|
-
Object.assign(contents, doc);
|
|
1607
|
-
const exception = new InternalServerErrorException({
|
|
1608
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1609
|
-
...contents,
|
|
1610
|
-
});
|
|
1611
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1612
|
-
};
|
|
1613
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1614
|
-
const contents = map({});
|
|
1615
|
-
const data = parsedOutput.body;
|
|
1616
|
-
const doc = take(data, {
|
|
1617
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1618
|
-
Message: [, __expectString, `message`],
|
|
1619
|
-
});
|
|
1620
|
-
Object.assign(contents, doc);
|
|
1621
|
-
const exception = new NotFoundException({
|
|
1622
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1623
|
-
...contents,
|
|
1624
|
-
});
|
|
1625
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1626
|
-
};
|
|
1627
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1628
|
-
const contents = map({});
|
|
1629
|
-
const data = parsedOutput.body;
|
|
1630
|
-
const doc = take(data, {
|
|
1631
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1632
|
-
Message: [, __expectString, `message`],
|
|
1633
|
-
});
|
|
1634
|
-
Object.assign(contents, doc);
|
|
1635
|
-
const exception = new ServiceUnavailableException({
|
|
1636
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1637
|
-
...contents,
|
|
1638
|
-
});
|
|
1639
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1640
|
-
};
|
|
1641
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1642
|
-
const contents = map({});
|
|
1643
|
-
const data = parsedOutput.body;
|
|
1644
|
-
const doc = take(data, {
|
|
1645
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1646
|
-
Message: [, __expectString, `message`],
|
|
1647
|
-
});
|
|
1648
|
-
Object.assign(contents, doc);
|
|
1649
|
-
const exception = new TooManyRequestsException({
|
|
1650
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1651
|
-
...contents,
|
|
1652
|
-
});
|
|
1653
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1654
|
-
};
|
|
1655
|
-
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1656
|
-
const contents = map({});
|
|
1657
|
-
const data = parsedOutput.body;
|
|
1658
|
-
const doc = take(data, {
|
|
1659
|
-
InvalidParameter: [, __expectString, `invalidParameter`],
|
|
1660
|
-
Message: [, __expectString, `message`],
|
|
1661
|
-
});
|
|
1662
|
-
Object.assign(contents, doc);
|
|
1663
|
-
const exception = new UnauthorizedException({
|
|
1664
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1665
|
-
...contents,
|
|
1666
|
-
});
|
|
1667
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1668
|
-
};
|
|
1669
|
-
const se___listOfBrokerEBSVolumeInfo = (input, context) => {
|
|
1670
|
-
return input
|
|
1671
|
-
.filter((e) => e != null)
|
|
1672
|
-
.map((entry) => {
|
|
1673
|
-
return se_BrokerEBSVolumeInfo(entry, context);
|
|
1674
|
-
});
|
|
1675
|
-
};
|
|
1676
|
-
const se___listOfKafkaCluster = (input, context) => {
|
|
1677
|
-
return input
|
|
1678
|
-
.filter((e) => e != null)
|
|
1679
|
-
.map((entry) => {
|
|
1680
|
-
return se_KafkaCluster(entry, context);
|
|
1681
|
-
});
|
|
1682
|
-
};
|
|
1683
|
-
const se___listOfReplicationInfo = (input, context) => {
|
|
1684
|
-
return input
|
|
1685
|
-
.filter((e) => e != null)
|
|
1686
|
-
.map((entry) => {
|
|
1687
|
-
return se_ReplicationInfo(entry, context);
|
|
1688
|
-
});
|
|
1689
|
-
};
|
|
1690
|
-
const se___listOfVpcConfig = (input, context) => {
|
|
1691
|
-
return input
|
|
1692
|
-
.filter((e) => e != null)
|
|
1693
|
-
.map((entry) => {
|
|
1694
|
-
return se_VpcConfig(entry, context);
|
|
1695
|
-
});
|
|
1696
|
-
};
|
|
1697
|
-
const se_AmazonMskCluster = (input, context) => {
|
|
1698
|
-
return take(input, {
|
|
1699
|
-
mskClusterArn: [, , `MskClusterArn`],
|
|
1700
|
-
});
|
|
1701
|
-
};
|
|
1702
|
-
const se_BrokerEBSVolumeInfo = (input, context) => {
|
|
1703
|
-
return take(input, {
|
|
1704
|
-
kafkaBrokerNodeId: [, , `KafkaBrokerNodeId`],
|
|
1705
|
-
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
1706
|
-
volumeSizeGB: [, , `VolumeSizeGB`],
|
|
1707
|
-
});
|
|
1708
|
-
};
|
|
1709
|
-
const se_BrokerLogs = (input, context) => {
|
|
1710
|
-
return take(input, {
|
|
1711
|
-
cloudWatchLogs: [, (_) => se_CloudWatchLogs(_, context), `CloudWatchLogs`],
|
|
1712
|
-
firehose: [, (_) => se_Firehose(_, context), `Firehose`],
|
|
1713
|
-
s3: [, (_) => se_S3(_, context), `S3`],
|
|
1714
|
-
});
|
|
1715
|
-
};
|
|
1716
|
-
const se_BrokerNodeGroupInfo = (input, context) => {
|
|
1717
|
-
return take(input, {
|
|
1718
|
-
brokerAZDistribution: [, , `BrokerAZDistribution`],
|
|
1719
|
-
clientSubnets: [, _json, `ClientSubnets`],
|
|
1720
|
-
connectivityInfo: [, (_) => se_ConnectivityInfo(_, context), `ConnectivityInfo`],
|
|
1721
|
-
instanceType: [, , `InstanceType`],
|
|
1722
|
-
securityGroups: [, _json, `SecurityGroups`],
|
|
1723
|
-
storageInfo: [, (_) => se_StorageInfo(_, context), `StorageInfo`],
|
|
1724
|
-
zoneIds: [, _json, `ZoneIds`],
|
|
1725
|
-
});
|
|
1726
|
-
};
|
|
1727
|
-
const se_ClientAuthentication = (input, context) => {
|
|
1728
|
-
return take(input, {
|
|
1729
|
-
sasl: [, (_) => se_Sasl(_, context), `Sasl`],
|
|
1730
|
-
tls: [, (_) => se_Tls(_, context), `Tls`],
|
|
1731
|
-
unauthenticated: [, (_) => se_Unauthenticated(_, context), `Unauthenticated`],
|
|
1732
|
-
});
|
|
1733
|
-
};
|
|
1734
|
-
const se_CloudWatchLogs = (input, context) => {
|
|
1735
|
-
return take(input, {
|
|
1736
|
-
enabled: [, , `Enabled`],
|
|
1737
|
-
logGroup: [, , `LogGroup`],
|
|
1738
|
-
});
|
|
1739
|
-
};
|
|
1740
|
-
const se_ConfigurationInfo = (input, context) => {
|
|
1741
|
-
return take(input, {
|
|
1742
|
-
arn: [, , `Arn`],
|
|
1743
|
-
revision: [, , `Revision`],
|
|
1744
|
-
});
|
|
1745
|
-
};
|
|
1746
|
-
const se_ConnectivityInfo = (input, context) => {
|
|
1747
|
-
return take(input, {
|
|
1748
|
-
publicAccess: [, (_) => se_PublicAccess(_, context), `PublicAccess`],
|
|
1749
|
-
vpcConnectivity: [, (_) => se_VpcConnectivity(_, context), `VpcConnectivity`],
|
|
1750
|
-
});
|
|
1751
|
-
};
|
|
1752
|
-
const se_ConsumerGroupReplication = (input, context) => {
|
|
1753
|
-
return take(input, {
|
|
1754
|
-
consumerGroupsToExclude: [, _json, `ConsumerGroupsToExclude`],
|
|
1755
|
-
consumerGroupsToReplicate: [, _json, `ConsumerGroupsToReplicate`],
|
|
1756
|
-
detectAndCopyNewConsumerGroups: [, , `DetectAndCopyNewConsumerGroups`],
|
|
1757
|
-
synchroniseConsumerGroupOffsets: [, , `SynchroniseConsumerGroupOffsets`],
|
|
1758
|
-
});
|
|
1759
|
-
};
|
|
1760
|
-
const se_ConsumerGroupReplicationUpdate = (input, context) => {
|
|
1761
|
-
return take(input, {
|
|
1762
|
-
consumerGroupsToExclude: [, _json, `ConsumerGroupsToExclude`],
|
|
1763
|
-
consumerGroupsToReplicate: [, _json, `ConsumerGroupsToReplicate`],
|
|
1764
|
-
detectAndCopyNewConsumerGroups: [, , `DetectAndCopyNewConsumerGroups`],
|
|
1765
|
-
synchroniseConsumerGroupOffsets: [, , `SynchroniseConsumerGroupOffsets`],
|
|
1766
|
-
});
|
|
1767
|
-
};
|
|
1768
|
-
const se_EBSStorageInfo = (input, context) => {
|
|
1769
|
-
return take(input, {
|
|
1770
|
-
provisionedThroughput: [, (_) => se_ProvisionedThroughput(_, context), `ProvisionedThroughput`],
|
|
1771
|
-
volumeSize: [, , `VolumeSize`],
|
|
1772
|
-
});
|
|
1773
|
-
};
|
|
1774
|
-
const se_EncryptionAtRest = (input, context) => {
|
|
1775
|
-
return take(input, {
|
|
1776
|
-
dataVolumeKMSKeyId: [, , `DataVolumeKMSKeyId`],
|
|
1777
|
-
});
|
|
1778
|
-
};
|
|
1779
|
-
const se_EncryptionInfo = (input, context) => {
|
|
1780
|
-
return take(input, {
|
|
1781
|
-
encryptionAtRest: [, (_) => se_EncryptionAtRest(_, context), `EncryptionAtRest`],
|
|
1782
|
-
encryptionInTransit: [, (_) => se_EncryptionInTransit(_, context), `EncryptionInTransit`],
|
|
1783
|
-
});
|
|
1784
|
-
};
|
|
1785
|
-
const se_EncryptionInTransit = (input, context) => {
|
|
1786
|
-
return take(input, {
|
|
1787
|
-
clientBroker: [, , `ClientBroker`],
|
|
1788
|
-
inCluster: [, , `InCluster`],
|
|
1789
|
-
});
|
|
1790
|
-
};
|
|
1791
|
-
const se_Firehose = (input, context) => {
|
|
1792
|
-
return take(input, {
|
|
1793
|
-
deliveryStream: [, , `DeliveryStream`],
|
|
1794
|
-
enabled: [, , `Enabled`],
|
|
1795
|
-
});
|
|
1796
|
-
};
|
|
1797
|
-
const se_Iam = (input, context) => {
|
|
1798
|
-
return take(input, {
|
|
1799
|
-
enabled: [, , `Enabled`],
|
|
1800
|
-
});
|
|
1801
|
-
};
|
|
1802
|
-
const se_JmxExporterInfo = (input, context) => {
|
|
1803
|
-
return take(input, {
|
|
1804
|
-
enabledInBroker: [, , `EnabledInBroker`],
|
|
1805
|
-
});
|
|
1806
|
-
};
|
|
1807
|
-
const se_KafkaCluster = (input, context) => {
|
|
1808
|
-
return take(input, {
|
|
1809
|
-
amazonMskCluster: [, (_) => se_AmazonMskCluster(_, context), `AmazonMskCluster`],
|
|
1810
|
-
vpcConfig: [, (_) => se_KafkaClusterClientVpcConfig(_, context), `VpcConfig`],
|
|
1811
|
-
});
|
|
1812
|
-
};
|
|
1813
|
-
const se_KafkaClusterClientVpcConfig = (input, context) => {
|
|
1814
|
-
return take(input, {
|
|
1815
|
-
securityGroupIds: [, _json, `SecurityGroupIds`],
|
|
1816
|
-
subnetIds: [, _json, `SubnetIds`],
|
|
1817
|
-
});
|
|
1818
|
-
};
|
|
1819
|
-
const se_LoggingInfo = (input, context) => {
|
|
1820
|
-
return take(input, {
|
|
1821
|
-
brokerLogs: [, (_) => se_BrokerLogs(_, context), `BrokerLogs`],
|
|
1822
|
-
});
|
|
1823
|
-
};
|
|
1824
|
-
const se_NodeExporterInfo = (input, context) => {
|
|
1825
|
-
return take(input, {
|
|
1826
|
-
enabledInBroker: [, , `EnabledInBroker`],
|
|
1827
|
-
});
|
|
1828
|
-
};
|
|
1829
|
-
const se_OpenMonitoringInfo = (input, context) => {
|
|
1830
|
-
return take(input, {
|
|
1831
|
-
prometheus: [, (_) => se_PrometheusInfo(_, context), `Prometheus`],
|
|
1832
|
-
});
|
|
1833
|
-
};
|
|
1834
|
-
const se_PrometheusInfo = (input, context) => {
|
|
1835
|
-
return take(input, {
|
|
1836
|
-
jmxExporter: [, (_) => se_JmxExporterInfo(_, context), `JmxExporter`],
|
|
1837
|
-
nodeExporter: [, (_) => se_NodeExporterInfo(_, context), `NodeExporter`],
|
|
1838
|
-
});
|
|
1839
|
-
};
|
|
1840
|
-
const se_ProvisionedRequest = (input, context) => {
|
|
1841
|
-
return take(input, {
|
|
1842
|
-
brokerNodeGroupInfo: [, (_) => se_BrokerNodeGroupInfo(_, context), `BrokerNodeGroupInfo`],
|
|
1843
|
-
clientAuthentication: [, (_) => se_ClientAuthentication(_, context), `ClientAuthentication`],
|
|
1844
|
-
configurationInfo: [, (_) => se_ConfigurationInfo(_, context), `ConfigurationInfo`],
|
|
1845
|
-
encryptionInfo: [, (_) => se_EncryptionInfo(_, context), `EncryptionInfo`],
|
|
1846
|
-
enhancedMonitoring: [, , `EnhancedMonitoring`],
|
|
1847
|
-
kafkaVersion: [, , `KafkaVersion`],
|
|
1848
|
-
loggingInfo: [, (_) => se_LoggingInfo(_, context), `LoggingInfo`],
|
|
1849
|
-
numberOfBrokerNodes: [, , `NumberOfBrokerNodes`],
|
|
1850
|
-
openMonitoring: [, (_) => se_OpenMonitoringInfo(_, context), `OpenMonitoring`],
|
|
1851
|
-
rebalancing: [, (_) => se_Rebalancing(_, context), `Rebalancing`],
|
|
1852
|
-
storageMode: [, , `StorageMode`],
|
|
1853
|
-
});
|
|
1854
|
-
};
|
|
1855
|
-
const se_ProvisionedThroughput = (input, context) => {
|
|
1856
|
-
return take(input, {
|
|
1857
|
-
enabled: [, , `Enabled`],
|
|
1858
|
-
volumeThroughput: [, , `VolumeThroughput`],
|
|
1859
|
-
});
|
|
1860
|
-
};
|
|
1861
|
-
const se_PublicAccess = (input, context) => {
|
|
1862
|
-
return take(input, {
|
|
1863
|
-
type: [, , `Type`],
|
|
1864
|
-
});
|
|
1865
|
-
};
|
|
1866
|
-
const se_Rebalancing = (input, context) => {
|
|
1867
|
-
return take(input, {
|
|
1868
|
-
status: [, , `Status`],
|
|
1869
|
-
});
|
|
1870
|
-
};
|
|
1871
|
-
const se_ReplicationInfo = (input, context) => {
|
|
1872
|
-
return take(input, {
|
|
1873
|
-
consumerGroupReplication: [, (_) => se_ConsumerGroupReplication(_, context), `ConsumerGroupReplication`],
|
|
1874
|
-
sourceKafkaClusterArn: [, , `SourceKafkaClusterArn`],
|
|
1875
|
-
targetCompressionType: [, , `TargetCompressionType`],
|
|
1876
|
-
targetKafkaClusterArn: [, , `TargetKafkaClusterArn`],
|
|
1877
|
-
topicReplication: [, (_) => se_TopicReplication(_, context), `TopicReplication`],
|
|
1878
|
-
});
|
|
1879
|
-
};
|
|
1880
|
-
const se_ReplicationStartingPosition = (input, context) => {
|
|
1881
|
-
return take(input, {
|
|
1882
|
-
type: [, , `Type`],
|
|
1883
|
-
});
|
|
1884
|
-
};
|
|
1885
|
-
const se_ReplicationTopicNameConfiguration = (input, context) => {
|
|
1886
|
-
return take(input, {
|
|
1887
|
-
type: [, , `Type`],
|
|
1888
|
-
});
|
|
1889
|
-
};
|
|
1890
|
-
const se_S3 = (input, context) => {
|
|
1891
|
-
return take(input, {
|
|
1892
|
-
bucket: [, , `Bucket`],
|
|
1893
|
-
enabled: [, , `Enabled`],
|
|
1894
|
-
prefix: [, , `Prefix`],
|
|
1895
|
-
});
|
|
1896
|
-
};
|
|
1897
|
-
const se_Sasl = (input, context) => {
|
|
1898
|
-
return take(input, {
|
|
1899
|
-
iam: [, (_) => se_Iam(_, context), `Iam`],
|
|
1900
|
-
scram: [, (_) => se_Scram(_, context), `Scram`],
|
|
1901
|
-
});
|
|
1902
|
-
};
|
|
1903
|
-
const se_Scram = (input, context) => {
|
|
1904
|
-
return take(input, {
|
|
1905
|
-
enabled: [, , `Enabled`],
|
|
1906
|
-
});
|
|
1907
|
-
};
|
|
1908
|
-
const se_ServerlessClientAuthentication = (input, context) => {
|
|
1909
|
-
return take(input, {
|
|
1910
|
-
sasl: [, (_) => se_ServerlessSasl(_, context), `Sasl`],
|
|
1911
|
-
});
|
|
1912
|
-
};
|
|
1913
|
-
const se_ServerlessRequest = (input, context) => {
|
|
1914
|
-
return take(input, {
|
|
1915
|
-
clientAuthentication: [, (_) => se_ServerlessClientAuthentication(_, context), `ClientAuthentication`],
|
|
1916
|
-
vpcConfigs: [, (_) => se___listOfVpcConfig(_, context), `VpcConfigs`],
|
|
1917
|
-
});
|
|
1918
|
-
};
|
|
1919
|
-
const se_ServerlessSasl = (input, context) => {
|
|
1920
|
-
return take(input, {
|
|
1921
|
-
iam: [, (_) => se_Iam(_, context), `Iam`],
|
|
1922
|
-
});
|
|
1923
|
-
};
|
|
1924
|
-
const se_StorageInfo = (input, context) => {
|
|
1925
|
-
return take(input, {
|
|
1926
|
-
ebsStorageInfo: [, (_) => se_EBSStorageInfo(_, context), `EbsStorageInfo`],
|
|
1927
|
-
});
|
|
1928
|
-
};
|
|
1929
|
-
const se_Tls = (input, context) => {
|
|
1930
|
-
return take(input, {
|
|
1931
|
-
certificateAuthorityArnList: [, _json, `CertificateAuthorityArnList`],
|
|
1932
|
-
enabled: [, , `Enabled`],
|
|
1933
|
-
});
|
|
1934
|
-
};
|
|
1935
|
-
const se_TopicReplication = (input, context) => {
|
|
1936
|
-
return take(input, {
|
|
1937
|
-
copyAccessControlListsForTopics: [, , `CopyAccessControlListsForTopics`],
|
|
1938
|
-
copyTopicConfigurations: [, , `CopyTopicConfigurations`],
|
|
1939
|
-
detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
|
|
1940
|
-
startingPosition: [, (_) => se_ReplicationStartingPosition(_, context), `StartingPosition`],
|
|
1941
|
-
topicNameConfiguration: [, (_) => se_ReplicationTopicNameConfiguration(_, context), `TopicNameConfiguration`],
|
|
1942
|
-
topicsToExclude: [, _json, `TopicsToExclude`],
|
|
1943
|
-
topicsToReplicate: [, _json, `TopicsToReplicate`],
|
|
1944
|
-
});
|
|
1945
|
-
};
|
|
1946
|
-
const se_TopicReplicationUpdate = (input, context) => {
|
|
1947
|
-
return take(input, {
|
|
1948
|
-
copyAccessControlListsForTopics: [, , `CopyAccessControlListsForTopics`],
|
|
1949
|
-
copyTopicConfigurations: [, , `CopyTopicConfigurations`],
|
|
1950
|
-
detectAndCopyNewTopics: [, , `DetectAndCopyNewTopics`],
|
|
1951
|
-
topicsToExclude: [, _json, `TopicsToExclude`],
|
|
1952
|
-
topicsToReplicate: [, _json, `TopicsToReplicate`],
|
|
1953
|
-
});
|
|
1954
|
-
};
|
|
1955
|
-
const se_Unauthenticated = (input, context) => {
|
|
1956
|
-
return take(input, {
|
|
1957
|
-
enabled: [, , `Enabled`],
|
|
1958
|
-
});
|
|
1959
|
-
};
|
|
1960
|
-
const se_VpcConfig = (input, context) => {
|
|
1961
|
-
return take(input, {
|
|
1962
|
-
securityGroupIds: [, _json, `SecurityGroupIds`],
|
|
1963
|
-
subnetIds: [, _json, `SubnetIds`],
|
|
1964
|
-
});
|
|
1965
|
-
};
|
|
1966
|
-
const se_VpcConnectivity = (input, context) => {
|
|
1967
|
-
return take(input, {
|
|
1968
|
-
clientAuthentication: [, (_) => se_VpcConnectivityClientAuthentication(_, context), `ClientAuthentication`],
|
|
1969
|
-
});
|
|
1970
|
-
};
|
|
1971
|
-
const se_VpcConnectivityClientAuthentication = (input, context) => {
|
|
1972
|
-
return take(input, {
|
|
1973
|
-
sasl: [, (_) => se_VpcConnectivitySasl(_, context), `Sasl`],
|
|
1974
|
-
tls: [, (_) => se_VpcConnectivityTls(_, context), `Tls`],
|
|
1975
|
-
});
|
|
1976
|
-
};
|
|
1977
|
-
const se_VpcConnectivityIam = (input, context) => {
|
|
1978
|
-
return take(input, {
|
|
1979
|
-
enabled: [, , `Enabled`],
|
|
1980
|
-
});
|
|
1981
|
-
};
|
|
1982
|
-
const se_VpcConnectivitySasl = (input, context) => {
|
|
1983
|
-
return take(input, {
|
|
1984
|
-
iam: [, (_) => se_VpcConnectivityIam(_, context), `Iam`],
|
|
1985
|
-
scram: [, (_) => se_VpcConnectivityScram(_, context), `Scram`],
|
|
1986
|
-
});
|
|
1987
|
-
};
|
|
1988
|
-
const se_VpcConnectivityScram = (input, context) => {
|
|
1989
|
-
return take(input, {
|
|
1990
|
-
enabled: [, , `Enabled`],
|
|
1991
|
-
});
|
|
1992
|
-
};
|
|
1993
|
-
const se_VpcConnectivityTls = (input, context) => {
|
|
1994
|
-
return take(input, {
|
|
1995
|
-
enabled: [, , `Enabled`],
|
|
1996
|
-
});
|
|
1997
|
-
};
|
|
1998
|
-
const de___listOf__double = (output, context) => {
|
|
1999
|
-
const retVal = (output || [])
|
|
2000
|
-
.filter((e) => e != null)
|
|
2001
|
-
.map((entry) => {
|
|
2002
|
-
return __limitedParseDouble(entry);
|
|
2003
|
-
});
|
|
2004
|
-
return retVal;
|
|
2005
|
-
};
|
|
2006
|
-
const de___listOfBrokerEBSVolumeInfo = (output, context) => {
|
|
2007
|
-
const retVal = (output || [])
|
|
2008
|
-
.filter((e) => e != null)
|
|
2009
|
-
.map((entry) => {
|
|
2010
|
-
return de_BrokerEBSVolumeInfo(entry, context);
|
|
2011
|
-
});
|
|
2012
|
-
return retVal;
|
|
2013
|
-
};
|
|
2014
|
-
const de___listOfClientVpcConnection = (output, context) => {
|
|
2015
|
-
const retVal = (output || [])
|
|
2016
|
-
.filter((e) => e != null)
|
|
2017
|
-
.map((entry) => {
|
|
2018
|
-
return de_ClientVpcConnection(entry, context);
|
|
2019
|
-
});
|
|
2020
|
-
return retVal;
|
|
2021
|
-
};
|
|
2022
|
-
const de___listOfCluster = (output, context) => {
|
|
2023
|
-
const retVal = (output || [])
|
|
2024
|
-
.filter((e) => e != null)
|
|
2025
|
-
.map((entry) => {
|
|
2026
|
-
return de_Cluster(entry, context);
|
|
2027
|
-
});
|
|
2028
|
-
return retVal;
|
|
2029
|
-
};
|
|
2030
|
-
const de___listOfClusterInfo = (output, context) => {
|
|
2031
|
-
const retVal = (output || [])
|
|
2032
|
-
.filter((e) => e != null)
|
|
2033
|
-
.map((entry) => {
|
|
2034
|
-
return de_ClusterInfo(entry, context);
|
|
2035
|
-
});
|
|
2036
|
-
return retVal;
|
|
2037
|
-
};
|
|
2038
|
-
const de___listOfClusterOperationInfo = (output, context) => {
|
|
2039
|
-
const retVal = (output || [])
|
|
2040
|
-
.filter((e) => e != null)
|
|
2041
|
-
.map((entry) => {
|
|
2042
|
-
return de_ClusterOperationInfo(entry, context);
|
|
2043
|
-
});
|
|
2044
|
-
return retVal;
|
|
2045
|
-
};
|
|
2046
|
-
const de___listOfClusterOperationStep = (output, context) => {
|
|
2047
|
-
const retVal = (output || [])
|
|
2048
|
-
.filter((e) => e != null)
|
|
2049
|
-
.map((entry) => {
|
|
2050
|
-
return de_ClusterOperationStep(entry, context);
|
|
2051
|
-
});
|
|
2052
|
-
return retVal;
|
|
2053
|
-
};
|
|
2054
|
-
const de___listOfClusterOperationV2Summary = (output, context) => {
|
|
2055
|
-
const retVal = (output || [])
|
|
2056
|
-
.filter((e) => e != null)
|
|
2057
|
-
.map((entry) => {
|
|
2058
|
-
return de_ClusterOperationV2Summary(entry, context);
|
|
2059
|
-
});
|
|
2060
|
-
return retVal;
|
|
2061
|
-
};
|
|
2062
|
-
const de___listOfCompatibleKafkaVersion = (output, context) => {
|
|
2063
|
-
const retVal = (output || [])
|
|
2064
|
-
.filter((e) => e != null)
|
|
2065
|
-
.map((entry) => {
|
|
2066
|
-
return de_CompatibleKafkaVersion(entry, context);
|
|
2067
|
-
});
|
|
2068
|
-
return retVal;
|
|
2069
|
-
};
|
|
2070
|
-
const de___listOfConfiguration = (output, context) => {
|
|
2071
|
-
const retVal = (output || [])
|
|
2072
|
-
.filter((e) => e != null)
|
|
2073
|
-
.map((entry) => {
|
|
2074
|
-
return de_Configuration(entry, context);
|
|
2075
|
-
});
|
|
2076
|
-
return retVal;
|
|
2077
|
-
};
|
|
2078
|
-
const de___listOfConfigurationRevision = (output, context) => {
|
|
2079
|
-
const retVal = (output || [])
|
|
2080
|
-
.filter((e) => e != null)
|
|
2081
|
-
.map((entry) => {
|
|
2082
|
-
return de_ConfigurationRevision(entry, context);
|
|
2083
|
-
});
|
|
2084
|
-
return retVal;
|
|
2085
|
-
};
|
|
2086
|
-
const de___listOfKafkaClusterDescription = (output, context) => {
|
|
2087
|
-
const retVal = (output || [])
|
|
2088
|
-
.filter((e) => e != null)
|
|
2089
|
-
.map((entry) => {
|
|
2090
|
-
return de_KafkaClusterDescription(entry, context);
|
|
2091
|
-
});
|
|
2092
|
-
return retVal;
|
|
2093
|
-
};
|
|
2094
|
-
const de___listOfKafkaClusterSummary = (output, context) => {
|
|
2095
|
-
const retVal = (output || [])
|
|
2096
|
-
.filter((e) => e != null)
|
|
2097
|
-
.map((entry) => {
|
|
2098
|
-
return de_KafkaClusterSummary(entry, context);
|
|
2099
|
-
});
|
|
2100
|
-
return retVal;
|
|
2101
|
-
};
|
|
2102
|
-
const de___listOfKafkaVersion = (output, context) => {
|
|
2103
|
-
const retVal = (output || [])
|
|
2104
|
-
.filter((e) => e != null)
|
|
2105
|
-
.map((entry) => {
|
|
2106
|
-
return de_KafkaVersion(entry, context);
|
|
2107
|
-
});
|
|
2108
|
-
return retVal;
|
|
2109
|
-
};
|
|
2110
|
-
const de___listOfNodeInfo = (output, context) => {
|
|
2111
|
-
const retVal = (output || [])
|
|
2112
|
-
.filter((e) => e != null)
|
|
2113
|
-
.map((entry) => {
|
|
2114
|
-
return de_NodeInfo(entry, context);
|
|
2115
|
-
});
|
|
2116
|
-
return retVal;
|
|
2117
|
-
};
|
|
2118
|
-
const de___listOfReplicationInfoDescription = (output, context) => {
|
|
2119
|
-
const retVal = (output || [])
|
|
2120
|
-
.filter((e) => e != null)
|
|
2121
|
-
.map((entry) => {
|
|
2122
|
-
return de_ReplicationInfoDescription(entry, context);
|
|
2123
|
-
});
|
|
2124
|
-
return retVal;
|
|
2125
|
-
};
|
|
2126
|
-
const de___listOfReplicationInfoSummary = (output, context) => {
|
|
2127
|
-
const retVal = (output || [])
|
|
2128
|
-
.filter((e) => e != null)
|
|
2129
|
-
.map((entry) => {
|
|
2130
|
-
return de_ReplicationInfoSummary(entry, context);
|
|
2131
|
-
});
|
|
2132
|
-
return retVal;
|
|
2133
|
-
};
|
|
2134
|
-
const de___listOfReplicatorSummary = (output, context) => {
|
|
2135
|
-
const retVal = (output || [])
|
|
2136
|
-
.filter((e) => e != null)
|
|
2137
|
-
.map((entry) => {
|
|
2138
|
-
return de_ReplicatorSummary(entry, context);
|
|
2139
|
-
});
|
|
2140
|
-
return retVal;
|
|
2141
|
-
};
|
|
2142
|
-
const de___listOfUnprocessedScramSecret = (output, context) => {
|
|
2143
|
-
const retVal = (output || [])
|
|
2144
|
-
.filter((e) => e != null)
|
|
2145
|
-
.map((entry) => {
|
|
2146
|
-
return de_UnprocessedScramSecret(entry, context);
|
|
2147
|
-
});
|
|
2148
|
-
return retVal;
|
|
2149
|
-
};
|
|
2150
|
-
const de___listOfVpcConfig = (output, context) => {
|
|
2151
|
-
const retVal = (output || [])
|
|
2152
|
-
.filter((e) => e != null)
|
|
2153
|
-
.map((entry) => {
|
|
2154
|
-
return de_VpcConfig(entry, context);
|
|
2155
|
-
});
|
|
2156
|
-
return retVal;
|
|
2157
|
-
};
|
|
2158
|
-
const de___listOfVpcConnection = (output, context) => {
|
|
2159
|
-
const retVal = (output || [])
|
|
2160
|
-
.filter((e) => e != null)
|
|
2161
|
-
.map((entry) => {
|
|
2162
|
-
return de_VpcConnection(entry, context);
|
|
2163
|
-
});
|
|
2164
|
-
return retVal;
|
|
2165
|
-
};
|
|
2166
|
-
const de_AmazonMskCluster = (output, context) => {
|
|
2167
|
-
return take(output, {
|
|
2168
|
-
MskClusterArn: [, __expectString, `mskClusterArn`],
|
|
2169
|
-
});
|
|
2170
|
-
};
|
|
2171
|
-
const de_BrokerCountUpdateInfo = (output, context) => {
|
|
2172
|
-
return take(output, {
|
|
2173
|
-
CreatedBrokerIds: [, (_) => de___listOf__double(_, context), `createdBrokerIds`],
|
|
2174
|
-
DeletedBrokerIds: [, (_) => de___listOf__double(_, context), `deletedBrokerIds`],
|
|
2175
|
-
});
|
|
2176
|
-
};
|
|
2177
|
-
const de_BrokerEBSVolumeInfo = (output, context) => {
|
|
2178
|
-
return take(output, {
|
|
2179
|
-
KafkaBrokerNodeId: [, __expectString, `kafkaBrokerNodeId`],
|
|
2180
|
-
ProvisionedThroughput: [, (_) => de_ProvisionedThroughput(_, context), `provisionedThroughput`],
|
|
2181
|
-
VolumeSizeGB: [, __expectInt32, `volumeSizeGB`],
|
|
2182
|
-
});
|
|
2183
|
-
};
|
|
2184
|
-
const de_BrokerLogs = (output, context) => {
|
|
2185
|
-
return take(output, {
|
|
2186
|
-
CloudWatchLogs: [, (_) => de_CloudWatchLogs(_, context), `cloudWatchLogs`],
|
|
2187
|
-
Firehose: [, (_) => de_Firehose(_, context), `firehose`],
|
|
2188
|
-
S3: [, (_) => de_S3(_, context), `s3`],
|
|
2189
|
-
});
|
|
2190
|
-
};
|
|
2191
|
-
const de_BrokerNodeGroupInfo = (output, context) => {
|
|
2192
|
-
return take(output, {
|
|
2193
|
-
BrokerAZDistribution: [, __expectString, `brokerAZDistribution`],
|
|
2194
|
-
ClientSubnets: [, _json, `clientSubnets`],
|
|
2195
|
-
ConnectivityInfo: [, (_) => de_ConnectivityInfo(_, context), `connectivityInfo`],
|
|
2196
|
-
InstanceType: [, __expectString, `instanceType`],
|
|
2197
|
-
SecurityGroups: [, _json, `securityGroups`],
|
|
2198
|
-
StorageInfo: [, (_) => de_StorageInfo(_, context), `storageInfo`],
|
|
2199
|
-
ZoneIds: [, _json, `zoneIds`],
|
|
2200
|
-
});
|
|
2201
|
-
};
|
|
2202
|
-
const de_BrokerNodeInfo = (output, context) => {
|
|
2203
|
-
return take(output, {
|
|
2204
|
-
AttachedENIId: [, __expectString, `attachedENIId`],
|
|
2205
|
-
BrokerId: [, __limitedParseDouble, `brokerId`],
|
|
2206
|
-
ClientSubnet: [, __expectString, `clientSubnet`],
|
|
2207
|
-
ClientVpcIpAddress: [, __expectString, `clientVpcIpAddress`],
|
|
2208
|
-
CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
2209
|
-
Endpoints: [, _json, `endpoints`],
|
|
2210
|
-
});
|
|
2211
|
-
};
|
|
2212
|
-
const de_BrokerSoftwareInfo = (output, context) => {
|
|
2213
|
-
return take(output, {
|
|
2214
|
-
ConfigurationArn: [, __expectString, `configurationArn`],
|
|
2215
|
-
ConfigurationRevision: [, __expectLong, `configurationRevision`],
|
|
2216
|
-
KafkaVersion: [, __expectString, `kafkaVersion`],
|
|
2217
|
-
});
|
|
2218
|
-
};
|
|
2219
|
-
const de_ClientAuthentication = (output, context) => {
|
|
2220
|
-
return take(output, {
|
|
2221
|
-
Sasl: [, (_) => de_Sasl(_, context), `sasl`],
|
|
2222
|
-
Tls: [, (_) => de_Tls(_, context), `tls`],
|
|
2223
|
-
Unauthenticated: [, (_) => de_Unauthenticated(_, context), `unauthenticated`],
|
|
2224
|
-
});
|
|
2225
|
-
};
|
|
2226
|
-
const de_ClientVpcConnection = (output, context) => {
|
|
2227
|
-
return take(output, {
|
|
2228
|
-
Authentication: [, __expectString, `authentication`],
|
|
2229
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2230
|
-
Owner: [, __expectString, `owner`],
|
|
2231
|
-
State: [, __expectString, `state`],
|
|
2232
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
2233
|
-
});
|
|
2234
|
-
};
|
|
2235
|
-
const de_CloudWatchLogs = (output, context) => {
|
|
2236
|
-
return take(output, {
|
|
2237
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2238
|
-
LogGroup: [, __expectString, `logGroup`],
|
|
2239
|
-
});
|
|
2240
|
-
};
|
|
2241
|
-
const de_Cluster = (output, context) => {
|
|
2242
|
-
return take(output, {
|
|
2243
|
-
ActiveOperationArn: [, __expectString, `activeOperationArn`],
|
|
2244
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
2245
|
-
ClusterName: [, __expectString, `clusterName`],
|
|
2246
|
-
ClusterType: [, __expectString, `clusterType`],
|
|
2247
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2248
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2249
|
-
Provisioned: [, (_) => de_Provisioned(_, context), `provisioned`],
|
|
2250
|
-
Serverless: [, (_) => de_Serverless(_, context), `serverless`],
|
|
2251
|
-
State: [, __expectString, `state`],
|
|
2252
|
-
StateInfo: [, (_) => de_StateInfo(_, context), `stateInfo`],
|
|
2253
|
-
Tags: [, _json, `tags`],
|
|
2254
|
-
});
|
|
2255
|
-
};
|
|
2256
|
-
const de_ClusterInfo = (output, context) => {
|
|
2257
|
-
return take(output, {
|
|
2258
|
-
ActiveOperationArn: [, __expectString, `activeOperationArn`],
|
|
2259
|
-
BrokerNodeGroupInfo: [, (_) => de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
|
|
2260
|
-
ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
2261
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
2262
|
-
ClusterName: [, __expectString, `clusterName`],
|
|
2263
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2264
|
-
CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
2265
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2266
|
-
CustomerActionStatus: [, __expectString, `customerActionStatus`],
|
|
2267
|
-
EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
2268
|
-
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
2269
|
-
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2270
|
-
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2271
|
-
OpenMonitoring: [, (_) => de_OpenMonitoring(_, context), `openMonitoring`],
|
|
2272
|
-
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2273
|
-
State: [, __expectString, `state`],
|
|
2274
|
-
StateInfo: [, (_) => de_StateInfo(_, context), `stateInfo`],
|
|
2275
|
-
StorageMode: [, __expectString, `storageMode`],
|
|
2276
|
-
Tags: [, _json, `tags`],
|
|
2277
|
-
ZookeeperConnectString: [, __expectString, `zookeeperConnectString`],
|
|
2278
|
-
ZookeeperConnectStringTls: [, __expectString, `zookeeperConnectStringTls`],
|
|
2279
|
-
});
|
|
2280
|
-
};
|
|
2281
|
-
const de_ClusterOperationInfo = (output, context) => {
|
|
2282
|
-
return take(output, {
|
|
2283
|
-
ClientRequestId: [, __expectString, `clientRequestId`],
|
|
2284
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
2285
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2286
|
-
EndTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `endTime`],
|
|
2287
|
-
ErrorInfo: [, (_) => de_ErrorInfo(_, context), `errorInfo`],
|
|
2288
|
-
OperationArn: [, __expectString, `operationArn`],
|
|
2289
|
-
OperationState: [, __expectString, `operationState`],
|
|
2290
|
-
OperationSteps: [, (_) => de___listOfClusterOperationStep(_, context), `operationSteps`],
|
|
2291
|
-
OperationType: [, __expectString, `operationType`],
|
|
2292
|
-
SourceClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `sourceClusterInfo`],
|
|
2293
|
-
TargetClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `targetClusterInfo`],
|
|
2294
|
-
VpcConnectionInfo: [, (_) => de_VpcConnectionInfo(_, context), `vpcConnectionInfo`],
|
|
2295
|
-
});
|
|
2296
|
-
};
|
|
2297
|
-
const de_ClusterOperationStep = (output, context) => {
|
|
2298
|
-
return take(output, {
|
|
2299
|
-
StepInfo: [, (_) => de_ClusterOperationStepInfo(_, context), `stepInfo`],
|
|
2300
|
-
StepName: [, __expectString, `stepName`],
|
|
2301
|
-
});
|
|
2302
|
-
};
|
|
2303
|
-
const de_ClusterOperationStepInfo = (output, context) => {
|
|
2304
|
-
return take(output, {
|
|
2305
|
-
StepStatus: [, __expectString, `stepStatus`],
|
|
2306
|
-
});
|
|
2307
|
-
};
|
|
2308
|
-
const de_ClusterOperationV2 = (output, context) => {
|
|
2309
|
-
return take(output, {
|
|
2310
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
2311
|
-
ClusterType: [, __expectString, `clusterType`],
|
|
2312
|
-
EndTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `endTime`],
|
|
2313
|
-
ErrorInfo: [, (_) => de_ErrorInfo(_, context), `errorInfo`],
|
|
2314
|
-
OperationArn: [, __expectString, `operationArn`],
|
|
2315
|
-
OperationState: [, __expectString, `operationState`],
|
|
2316
|
-
OperationType: [, __expectString, `operationType`],
|
|
2317
|
-
Provisioned: [, (_) => de_ClusterOperationV2Provisioned(_, context), `provisioned`],
|
|
2318
|
-
Serverless: [, (_) => de_ClusterOperationV2Serverless(_, context), `serverless`],
|
|
2319
|
-
StartTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `startTime`],
|
|
2320
|
-
});
|
|
2321
|
-
};
|
|
2322
|
-
const de_ClusterOperationV2Provisioned = (output, context) => {
|
|
2323
|
-
return take(output, {
|
|
2324
|
-
OperationSteps: [, (_) => de___listOfClusterOperationStep(_, context), `operationSteps`],
|
|
2325
|
-
SourceClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `sourceClusterInfo`],
|
|
2326
|
-
TargetClusterInfo: [, (_) => de_MutableClusterInfo(_, context), `targetClusterInfo`],
|
|
2327
|
-
VpcConnectionInfo: [, (_) => de_VpcConnectionInfo(_, context), `vpcConnectionInfo`],
|
|
2328
|
-
});
|
|
2329
|
-
};
|
|
2330
|
-
const de_ClusterOperationV2Serverless = (output, context) => {
|
|
2331
|
-
return take(output, {
|
|
2332
|
-
VpcConnectionInfo: [, (_) => de_VpcConnectionInfoServerless(_, context), `vpcConnectionInfo`],
|
|
2333
|
-
});
|
|
2334
|
-
};
|
|
2335
|
-
const de_ClusterOperationV2Summary = (output, context) => {
|
|
2336
|
-
return take(output, {
|
|
2337
|
-
ClusterArn: [, __expectString, `clusterArn`],
|
|
2338
|
-
ClusterType: [, __expectString, `clusterType`],
|
|
2339
|
-
EndTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `endTime`],
|
|
2340
|
-
OperationArn: [, __expectString, `operationArn`],
|
|
2341
|
-
OperationState: [, __expectString, `operationState`],
|
|
2342
|
-
OperationType: [, __expectString, `operationType`],
|
|
2343
|
-
StartTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `startTime`],
|
|
2344
|
-
});
|
|
2345
|
-
};
|
|
2346
|
-
const de_CompatibleKafkaVersion = (output, context) => {
|
|
2347
|
-
return take(output, {
|
|
2348
|
-
SourceVersion: [, __expectString, `sourceVersion`],
|
|
2349
|
-
TargetVersions: [, _json, `targetVersions`],
|
|
2350
|
-
});
|
|
2351
|
-
};
|
|
2352
|
-
const de_Configuration = (output, context) => {
|
|
2353
|
-
return take(output, {
|
|
2354
|
-
Arn: [, __expectString, `arn`],
|
|
2355
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2356
|
-
Description: [, __expectString, `description`],
|
|
2357
|
-
KafkaVersions: [, _json, `kafkaVersions`],
|
|
2358
|
-
LatestRevision: [, (_) => de_ConfigurationRevision(_, context), `latestRevision`],
|
|
2359
|
-
Name: [, __expectString, `name`],
|
|
2360
|
-
State: [, __expectString, `state`],
|
|
2361
|
-
});
|
|
2362
|
-
};
|
|
2363
|
-
const de_ConfigurationInfo = (output, context) => {
|
|
2364
|
-
return take(output, {
|
|
2365
|
-
Arn: [, __expectString, `arn`],
|
|
2366
|
-
Revision: [, __expectLong, `revision`],
|
|
2367
|
-
});
|
|
2368
|
-
};
|
|
2369
|
-
const de_ConfigurationRevision = (output, context) => {
|
|
2370
|
-
return take(output, {
|
|
2371
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2372
|
-
Description: [, __expectString, `description`],
|
|
2373
|
-
Revision: [, __expectLong, `revision`],
|
|
2374
|
-
});
|
|
2375
|
-
};
|
|
2376
|
-
const de_ConnectivityInfo = (output, context) => {
|
|
2377
|
-
return take(output, {
|
|
2378
|
-
PublicAccess: [, (_) => de_PublicAccess(_, context), `publicAccess`],
|
|
2379
|
-
VpcConnectivity: [, (_) => de_VpcConnectivity(_, context), `vpcConnectivity`],
|
|
2380
|
-
});
|
|
2381
|
-
};
|
|
2382
|
-
const de_ConsumerGroupReplication = (output, context) => {
|
|
2383
|
-
return take(output, {
|
|
2384
|
-
ConsumerGroupsToExclude: [, _json, `consumerGroupsToExclude`],
|
|
2385
|
-
ConsumerGroupsToReplicate: [, _json, `consumerGroupsToReplicate`],
|
|
2386
|
-
DetectAndCopyNewConsumerGroups: [, __expectBoolean, `detectAndCopyNewConsumerGroups`],
|
|
2387
|
-
SynchroniseConsumerGroupOffsets: [, __expectBoolean, `synchroniseConsumerGroupOffsets`],
|
|
2388
|
-
});
|
|
2389
|
-
};
|
|
2390
|
-
const de_ControllerNodeInfo = (output, context) => {
|
|
2391
|
-
return take(output, {
|
|
2392
|
-
Endpoints: [, _json, `endpoints`],
|
|
2393
|
-
});
|
|
2394
|
-
};
|
|
2395
|
-
const de_EBSStorageInfo = (output, context) => {
|
|
2396
|
-
return take(output, {
|
|
2397
|
-
ProvisionedThroughput: [, (_) => de_ProvisionedThroughput(_, context), `provisionedThroughput`],
|
|
2398
|
-
VolumeSize: [, __expectInt32, `volumeSize`],
|
|
2399
|
-
});
|
|
2400
|
-
};
|
|
2401
|
-
const de_EncryptionAtRest = (output, context) => {
|
|
2402
|
-
return take(output, {
|
|
2403
|
-
DataVolumeKMSKeyId: [, __expectString, `dataVolumeKMSKeyId`],
|
|
2404
|
-
});
|
|
2405
|
-
};
|
|
2406
|
-
const de_EncryptionInfo = (output, context) => {
|
|
2407
|
-
return take(output, {
|
|
2408
|
-
EncryptionAtRest: [, (_) => de_EncryptionAtRest(_, context), `encryptionAtRest`],
|
|
2409
|
-
EncryptionInTransit: [, (_) => de_EncryptionInTransit(_, context), `encryptionInTransit`],
|
|
2410
|
-
});
|
|
2411
|
-
};
|
|
2412
|
-
const de_EncryptionInTransit = (output, context) => {
|
|
2413
|
-
return take(output, {
|
|
2414
|
-
ClientBroker: [, __expectString, `clientBroker`],
|
|
2415
|
-
InCluster: [, __expectBoolean, `inCluster`],
|
|
2416
|
-
});
|
|
2417
|
-
};
|
|
2418
|
-
const de_ErrorInfo = (output, context) => {
|
|
2419
|
-
return take(output, {
|
|
2420
|
-
ErrorCode: [, __expectString, `errorCode`],
|
|
2421
|
-
ErrorString: [, __expectString, `errorString`],
|
|
2422
|
-
});
|
|
2423
|
-
};
|
|
2424
|
-
const de_Firehose = (output, context) => {
|
|
2425
|
-
return take(output, {
|
|
2426
|
-
DeliveryStream: [, __expectString, `deliveryStream`],
|
|
2427
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2428
|
-
});
|
|
2429
|
-
};
|
|
2430
|
-
const de_Iam = (output, context) => {
|
|
2431
|
-
return take(output, {
|
|
2432
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2433
|
-
});
|
|
2434
|
-
};
|
|
2435
|
-
const de_JmxExporter = (output, context) => {
|
|
2436
|
-
return take(output, {
|
|
2437
|
-
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
2438
|
-
});
|
|
2439
|
-
};
|
|
2440
|
-
const de_JmxExporterInfo = (output, context) => {
|
|
2441
|
-
return take(output, {
|
|
2442
|
-
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
2443
|
-
});
|
|
2444
|
-
};
|
|
2445
|
-
const de_KafkaClusterClientVpcConfig = (output, context) => {
|
|
2446
|
-
return take(output, {
|
|
2447
|
-
SecurityGroupIds: [, _json, `securityGroupIds`],
|
|
2448
|
-
SubnetIds: [, _json, `subnetIds`],
|
|
2449
|
-
});
|
|
2450
|
-
};
|
|
2451
|
-
const de_KafkaClusterDescription = (output, context) => {
|
|
2452
|
-
return take(output, {
|
|
2453
|
-
AmazonMskCluster: [, (_) => de_AmazonMskCluster(_, context), `amazonMskCluster`],
|
|
2454
|
-
KafkaClusterAlias: [, __expectString, `kafkaClusterAlias`],
|
|
2455
|
-
VpcConfig: [, (_) => de_KafkaClusterClientVpcConfig(_, context), `vpcConfig`],
|
|
2456
|
-
});
|
|
2457
|
-
};
|
|
2458
|
-
const de_KafkaClusterSummary = (output, context) => {
|
|
2459
|
-
return take(output, {
|
|
2460
|
-
AmazonMskCluster: [, (_) => de_AmazonMskCluster(_, context), `amazonMskCluster`],
|
|
2461
|
-
KafkaClusterAlias: [, __expectString, `kafkaClusterAlias`],
|
|
2462
|
-
});
|
|
2463
|
-
};
|
|
2464
|
-
const de_KafkaVersion = (output, context) => {
|
|
2465
|
-
return take(output, {
|
|
2466
|
-
Status: [, __expectString, `status`],
|
|
2467
|
-
Version: [, __expectString, `version`],
|
|
2468
|
-
});
|
|
2469
|
-
};
|
|
2470
|
-
const de_LoggingInfo = (output, context) => {
|
|
2471
|
-
return take(output, {
|
|
2472
|
-
BrokerLogs: [, (_) => de_BrokerLogs(_, context), `brokerLogs`],
|
|
2473
|
-
});
|
|
2474
|
-
};
|
|
2475
|
-
const de_MutableClusterInfo = (output, context) => {
|
|
2476
|
-
return take(output, {
|
|
2477
|
-
BrokerCountUpdateInfo: [, (_) => de_BrokerCountUpdateInfo(_, context), `brokerCountUpdateInfo`],
|
|
2478
|
-
BrokerEBSVolumeInfo: [, (_) => de___listOfBrokerEBSVolumeInfo(_, context), `brokerEBSVolumeInfo`],
|
|
2479
|
-
ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
2480
|
-
ConfigurationInfo: [, (_) => de_ConfigurationInfo(_, context), `configurationInfo`],
|
|
2481
|
-
ConnectivityInfo: [, (_) => de_ConnectivityInfo(_, context), `connectivityInfo`],
|
|
2482
|
-
EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
2483
|
-
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
2484
|
-
InstanceType: [, __expectString, `instanceType`],
|
|
2485
|
-
KafkaVersion: [, __expectString, `kafkaVersion`],
|
|
2486
|
-
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2487
|
-
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2488
|
-
OpenMonitoring: [, (_) => de_OpenMonitoring(_, context), `openMonitoring`],
|
|
2489
|
-
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2490
|
-
StorageMode: [, __expectString, `storageMode`],
|
|
2491
|
-
});
|
|
2492
|
-
};
|
|
2493
|
-
const de_NodeExporter = (output, context) => {
|
|
2494
|
-
return take(output, {
|
|
2495
|
-
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
2496
|
-
});
|
|
2497
|
-
};
|
|
2498
|
-
const de_NodeExporterInfo = (output, context) => {
|
|
2499
|
-
return take(output, {
|
|
2500
|
-
EnabledInBroker: [, __expectBoolean, `enabledInBroker`],
|
|
2501
|
-
});
|
|
2502
|
-
};
|
|
2503
|
-
const de_NodeInfo = (output, context) => {
|
|
2504
|
-
return take(output, {
|
|
2505
|
-
AddedToClusterTime: [, __expectString, `addedToClusterTime`],
|
|
2506
|
-
BrokerNodeInfo: [, (_) => de_BrokerNodeInfo(_, context), `brokerNodeInfo`],
|
|
2507
|
-
ControllerNodeInfo: [, (_) => de_ControllerNodeInfo(_, context), `controllerNodeInfo`],
|
|
2508
|
-
InstanceType: [, __expectString, `instanceType`],
|
|
2509
|
-
NodeARN: [, __expectString, `nodeARN`],
|
|
2510
|
-
NodeType: [, __expectString, `nodeType`],
|
|
2511
|
-
ZookeeperNodeInfo: [, (_) => de_ZookeeperNodeInfo(_, context), `zookeeperNodeInfo`],
|
|
2512
|
-
});
|
|
2513
|
-
};
|
|
2514
|
-
const de_OpenMonitoring = (output, context) => {
|
|
2515
|
-
return take(output, {
|
|
2516
|
-
Prometheus: [, (_) => de_Prometheus(_, context), `prometheus`],
|
|
2517
|
-
});
|
|
2518
|
-
};
|
|
2519
|
-
const de_OpenMonitoringInfo = (output, context) => {
|
|
2520
|
-
return take(output, {
|
|
2521
|
-
Prometheus: [, (_) => de_PrometheusInfo(_, context), `prometheus`],
|
|
2522
|
-
});
|
|
2523
|
-
};
|
|
2524
|
-
const de_Prometheus = (output, context) => {
|
|
2525
|
-
return take(output, {
|
|
2526
|
-
JmxExporter: [, (_) => de_JmxExporter(_, context), `jmxExporter`],
|
|
2527
|
-
NodeExporter: [, (_) => de_NodeExporter(_, context), `nodeExporter`],
|
|
2528
|
-
});
|
|
2529
|
-
};
|
|
2530
|
-
const de_PrometheusInfo = (output, context) => {
|
|
2531
|
-
return take(output, {
|
|
2532
|
-
JmxExporter: [, (_) => de_JmxExporterInfo(_, context), `jmxExporter`],
|
|
2533
|
-
NodeExporter: [, (_) => de_NodeExporterInfo(_, context), `nodeExporter`],
|
|
2534
|
-
});
|
|
2535
|
-
};
|
|
2536
|
-
const de_Provisioned = (output, context) => {
|
|
2537
|
-
return take(output, {
|
|
2538
|
-
BrokerNodeGroupInfo: [, (_) => de_BrokerNodeGroupInfo(_, context), `brokerNodeGroupInfo`],
|
|
2539
|
-
ClientAuthentication: [, (_) => de_ClientAuthentication(_, context), `clientAuthentication`],
|
|
2540
|
-
CurrentBrokerSoftwareInfo: [, (_) => de_BrokerSoftwareInfo(_, context), `currentBrokerSoftwareInfo`],
|
|
2541
|
-
CustomerActionStatus: [, __expectString, `customerActionStatus`],
|
|
2542
|
-
EncryptionInfo: [, (_) => de_EncryptionInfo(_, context), `encryptionInfo`],
|
|
2543
|
-
EnhancedMonitoring: [, __expectString, `enhancedMonitoring`],
|
|
2544
|
-
LoggingInfo: [, (_) => de_LoggingInfo(_, context), `loggingInfo`],
|
|
2545
|
-
NumberOfBrokerNodes: [, __expectInt32, `numberOfBrokerNodes`],
|
|
2546
|
-
OpenMonitoring: [, (_) => de_OpenMonitoringInfo(_, context), `openMonitoring`],
|
|
2547
|
-
Rebalancing: [, (_) => de_Rebalancing(_, context), `rebalancing`],
|
|
2548
|
-
StorageMode: [, __expectString, `storageMode`],
|
|
2549
|
-
ZookeeperConnectString: [, __expectString, `zookeeperConnectString`],
|
|
2550
|
-
ZookeeperConnectStringTls: [, __expectString, `zookeeperConnectStringTls`],
|
|
2551
|
-
});
|
|
2552
|
-
};
|
|
2553
|
-
const de_ProvisionedThroughput = (output, context) => {
|
|
2554
|
-
return take(output, {
|
|
2555
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2556
|
-
VolumeThroughput: [, __expectInt32, `volumeThroughput`],
|
|
2557
|
-
});
|
|
2558
|
-
};
|
|
2559
|
-
const de_PublicAccess = (output, context) => {
|
|
2560
|
-
return take(output, {
|
|
2561
|
-
Type: [, __expectString, `type`],
|
|
2562
|
-
});
|
|
2563
|
-
};
|
|
2564
|
-
const de_Rebalancing = (output, context) => {
|
|
2565
|
-
return take(output, {
|
|
2566
|
-
Status: [, __expectString, `status`],
|
|
2567
|
-
});
|
|
2568
|
-
};
|
|
2569
|
-
const de_ReplicationInfoDescription = (output, context) => {
|
|
2570
|
-
return take(output, {
|
|
2571
|
-
ConsumerGroupReplication: [, (_) => de_ConsumerGroupReplication(_, context), `consumerGroupReplication`],
|
|
2572
|
-
SourceKafkaClusterAlias: [, __expectString, `sourceKafkaClusterAlias`],
|
|
2573
|
-
TargetCompressionType: [, __expectString, `targetCompressionType`],
|
|
2574
|
-
TargetKafkaClusterAlias: [, __expectString, `targetKafkaClusterAlias`],
|
|
2575
|
-
TopicReplication: [, (_) => de_TopicReplication(_, context), `topicReplication`],
|
|
2576
|
-
});
|
|
2577
|
-
};
|
|
2578
|
-
const de_ReplicationInfoSummary = (output, context) => {
|
|
2579
|
-
return take(output, {
|
|
2580
|
-
SourceKafkaClusterAlias: [, __expectString, `sourceKafkaClusterAlias`],
|
|
2581
|
-
TargetKafkaClusterAlias: [, __expectString, `targetKafkaClusterAlias`],
|
|
2582
|
-
});
|
|
2583
|
-
};
|
|
2584
|
-
const de_ReplicationStartingPosition = (output, context) => {
|
|
2585
|
-
return take(output, {
|
|
2586
|
-
Type: [, __expectString, `type`],
|
|
2587
|
-
});
|
|
2588
|
-
};
|
|
2589
|
-
const de_ReplicationStateInfo = (output, context) => {
|
|
2590
|
-
return take(output, {
|
|
2591
|
-
Code: [, __expectString, `code`],
|
|
2592
|
-
Message: [, __expectString, `message`],
|
|
2593
|
-
});
|
|
2594
|
-
};
|
|
2595
|
-
const de_ReplicationTopicNameConfiguration = (output, context) => {
|
|
2596
|
-
return take(output, {
|
|
2597
|
-
Type: [, __expectString, `type`],
|
|
2598
|
-
});
|
|
2599
|
-
};
|
|
2600
|
-
const de_ReplicatorSummary = (output, context) => {
|
|
2601
|
-
return take(output, {
|
|
2602
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2603
|
-
CurrentVersion: [, __expectString, `currentVersion`],
|
|
2604
|
-
IsReplicatorReference: [, __expectBoolean, `isReplicatorReference`],
|
|
2605
|
-
KafkaClustersSummary: [, (_) => de___listOfKafkaClusterSummary(_, context), `kafkaClustersSummary`],
|
|
2606
|
-
ReplicationInfoSummaryList: [
|
|
2607
|
-
,
|
|
2608
|
-
(_) => de___listOfReplicationInfoSummary(_, context),
|
|
2609
|
-
`replicationInfoSummaryList`,
|
|
2610
|
-
],
|
|
2611
|
-
ReplicatorArn: [, __expectString, `replicatorArn`],
|
|
2612
|
-
ReplicatorName: [, __expectString, `replicatorName`],
|
|
2613
|
-
ReplicatorResourceArn: [, __expectString, `replicatorResourceArn`],
|
|
2614
|
-
ReplicatorState: [, __expectString, `replicatorState`],
|
|
2615
|
-
});
|
|
2616
|
-
};
|
|
2617
|
-
const de_S3 = (output, context) => {
|
|
2618
|
-
return take(output, {
|
|
2619
|
-
Bucket: [, __expectString, `bucket`],
|
|
2620
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2621
|
-
Prefix: [, __expectString, `prefix`],
|
|
2622
|
-
});
|
|
2623
|
-
};
|
|
2624
|
-
const de_Sasl = (output, context) => {
|
|
2625
|
-
return take(output, {
|
|
2626
|
-
Iam: [, (_) => de_Iam(_, context), `iam`],
|
|
2627
|
-
Scram: [, (_) => de_Scram(_, context), `scram`],
|
|
2628
|
-
});
|
|
2629
|
-
};
|
|
2630
|
-
const de_Scram = (output, context) => {
|
|
2631
|
-
return take(output, {
|
|
2632
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2633
|
-
});
|
|
2634
|
-
};
|
|
2635
|
-
const de_Serverless = (output, context) => {
|
|
2636
|
-
return take(output, {
|
|
2637
|
-
ClientAuthentication: [, (_) => de_ServerlessClientAuthentication(_, context), `clientAuthentication`],
|
|
2638
|
-
VpcConfigs: [, (_) => de___listOfVpcConfig(_, context), `vpcConfigs`],
|
|
2639
|
-
});
|
|
2640
|
-
};
|
|
2641
|
-
const de_ServerlessClientAuthentication = (output, context) => {
|
|
2642
|
-
return take(output, {
|
|
2643
|
-
Sasl: [, (_) => de_ServerlessSasl(_, context), `sasl`],
|
|
2644
|
-
});
|
|
2645
|
-
};
|
|
2646
|
-
const de_ServerlessSasl = (output, context) => {
|
|
2647
|
-
return take(output, {
|
|
2648
|
-
Iam: [, (_) => de_Iam(_, context), `iam`],
|
|
2649
|
-
});
|
|
2650
|
-
};
|
|
2651
|
-
const de_StateInfo = (output, context) => {
|
|
2652
|
-
return take(output, {
|
|
2653
|
-
Code: [, __expectString, `code`],
|
|
2654
|
-
Message: [, __expectString, `message`],
|
|
2655
|
-
});
|
|
2656
|
-
};
|
|
2657
|
-
const de_StorageInfo = (output, context) => {
|
|
2658
|
-
return take(output, {
|
|
2659
|
-
EbsStorageInfo: [, (_) => de_EBSStorageInfo(_, context), `ebsStorageInfo`],
|
|
2660
|
-
});
|
|
2661
|
-
};
|
|
2662
|
-
const de_Tls = (output, context) => {
|
|
2663
|
-
return take(output, {
|
|
2664
|
-
CertificateAuthorityArnList: [, _json, `certificateAuthorityArnList`],
|
|
2665
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2666
|
-
});
|
|
2667
|
-
};
|
|
2668
|
-
const de_TopicReplication = (output, context) => {
|
|
2669
|
-
return take(output, {
|
|
2670
|
-
CopyAccessControlListsForTopics: [, __expectBoolean, `copyAccessControlListsForTopics`],
|
|
2671
|
-
CopyTopicConfigurations: [, __expectBoolean, `copyTopicConfigurations`],
|
|
2672
|
-
DetectAndCopyNewTopics: [, __expectBoolean, `detectAndCopyNewTopics`],
|
|
2673
|
-
StartingPosition: [, (_) => de_ReplicationStartingPosition(_, context), `startingPosition`],
|
|
2674
|
-
TopicNameConfiguration: [, (_) => de_ReplicationTopicNameConfiguration(_, context), `topicNameConfiguration`],
|
|
2675
|
-
TopicsToExclude: [, _json, `topicsToExclude`],
|
|
2676
|
-
TopicsToReplicate: [, _json, `topicsToReplicate`],
|
|
2677
|
-
});
|
|
2678
|
-
};
|
|
2679
|
-
const de_Unauthenticated = (output, context) => {
|
|
2680
|
-
return take(output, {
|
|
2681
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2682
|
-
});
|
|
2683
|
-
};
|
|
2684
|
-
const de_UnprocessedScramSecret = (output, context) => {
|
|
2685
|
-
return take(output, {
|
|
2686
|
-
ErrorCode: [, __expectString, `errorCode`],
|
|
2687
|
-
ErrorMessage: [, __expectString, `errorMessage`],
|
|
2688
|
-
SecretArn: [, __expectString, `secretArn`],
|
|
2689
|
-
});
|
|
2690
|
-
};
|
|
2691
|
-
const de_UserIdentity = (output, context) => {
|
|
2692
|
-
return take(output, {
|
|
2693
|
-
PrincipalId: [, __expectString, `principalId`],
|
|
2694
|
-
Type: [, __expectString, `type`],
|
|
2695
|
-
});
|
|
2696
|
-
};
|
|
2697
|
-
const de_VpcConfig = (output, context) => {
|
|
2698
|
-
return take(output, {
|
|
2699
|
-
SecurityGroupIds: [, _json, `securityGroupIds`],
|
|
2700
|
-
SubnetIds: [, _json, `subnetIds`],
|
|
2701
|
-
});
|
|
2702
|
-
};
|
|
2703
|
-
const de_VpcConnection = (output, context) => {
|
|
2704
|
-
return take(output, {
|
|
2705
|
-
Authentication: [, __expectString, `authentication`],
|
|
2706
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2707
|
-
State: [, __expectString, `state`],
|
|
2708
|
-
TargetClusterArn: [, __expectString, `targetClusterArn`],
|
|
2709
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
2710
|
-
VpcId: [, __expectString, `vpcId`],
|
|
2711
|
-
});
|
|
2712
|
-
};
|
|
2713
|
-
const de_VpcConnectionInfo = (output, context) => {
|
|
2714
|
-
return take(output, {
|
|
2715
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2716
|
-
Owner: [, __expectString, `owner`],
|
|
2717
|
-
UserIdentity: [, (_) => de_UserIdentity(_, context), `userIdentity`],
|
|
2718
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
2719
|
-
});
|
|
2720
|
-
};
|
|
2721
|
-
const de_VpcConnectionInfoServerless = (output, context) => {
|
|
2722
|
-
return take(output, {
|
|
2723
|
-
CreationTime: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `creationTime`],
|
|
2724
|
-
Owner: [, __expectString, `owner`],
|
|
2725
|
-
UserIdentity: [, (_) => de_UserIdentity(_, context), `userIdentity`],
|
|
2726
|
-
VpcConnectionArn: [, __expectString, `vpcConnectionArn`],
|
|
2727
|
-
});
|
|
2728
|
-
};
|
|
2729
|
-
const de_VpcConnectivity = (output, context) => {
|
|
2730
|
-
return take(output, {
|
|
2731
|
-
ClientAuthentication: [, (_) => de_VpcConnectivityClientAuthentication(_, context), `clientAuthentication`],
|
|
2732
|
-
});
|
|
2733
|
-
};
|
|
2734
|
-
const de_VpcConnectivityClientAuthentication = (output, context) => {
|
|
2735
|
-
return take(output, {
|
|
2736
|
-
Sasl: [, (_) => de_VpcConnectivitySasl(_, context), `sasl`],
|
|
2737
|
-
Tls: [, (_) => de_VpcConnectivityTls(_, context), `tls`],
|
|
2738
|
-
});
|
|
2739
|
-
};
|
|
2740
|
-
const de_VpcConnectivityIam = (output, context) => {
|
|
2741
|
-
return take(output, {
|
|
2742
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2743
|
-
});
|
|
2744
|
-
};
|
|
2745
|
-
const de_VpcConnectivitySasl = (output, context) => {
|
|
2746
|
-
return take(output, {
|
|
2747
|
-
Iam: [, (_) => de_VpcConnectivityIam(_, context), `iam`],
|
|
2748
|
-
Scram: [, (_) => de_VpcConnectivityScram(_, context), `scram`],
|
|
2749
|
-
});
|
|
2750
|
-
};
|
|
2751
|
-
const de_VpcConnectivityScram = (output, context) => {
|
|
2752
|
-
return take(output, {
|
|
2753
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2754
|
-
});
|
|
2755
|
-
};
|
|
2756
|
-
const de_VpcConnectivityTls = (output, context) => {
|
|
2757
|
-
return take(output, {
|
|
2758
|
-
Enabled: [, __expectBoolean, `enabled`],
|
|
2759
|
-
});
|
|
2760
|
-
};
|
|
2761
|
-
const de_ZookeeperNodeInfo = (output, context) => {
|
|
2762
|
-
return take(output, {
|
|
2763
|
-
AttachedENIId: [, __expectString, `attachedENIId`],
|
|
2764
|
-
ClientVpcIpAddress: [, __expectString, `clientVpcIpAddress`],
|
|
2765
|
-
Endpoints: [, _json, `endpoints`],
|
|
2766
|
-
ZookeeperId: [, __limitedParseDouble, `zookeeperId`],
|
|
2767
|
-
ZookeeperVersion: [, __expectString, `zookeeperVersion`],
|
|
2768
|
-
});
|
|
2769
|
-
};
|
|
2770
|
-
const deserializeMetadata = (output) => ({
|
|
2771
|
-
httpStatusCode: output.statusCode,
|
|
2772
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2773
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2774
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2775
|
-
});
|
|
2776
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2777
|
-
const _CA = "ClusterArn";
|
|
2778
|
-
const _CNF = "ClusterNameFilter";
|
|
2779
|
-
const _CTF = "ClusterTypeFilter";
|
|
2780
|
-
const _CV = "CurrentVersion";
|
|
2781
|
-
const _MR = "MaxResults";
|
|
2782
|
-
const _NT = "NextToken";
|
|
2783
|
-
const _RNF = "ReplicatorNameFilter";
|
|
2784
|
-
const _TK = "TagKeys";
|
|
2785
|
-
const _cA = "clusterArn";
|
|
2786
|
-
const _cNF = "clusterNameFilter";
|
|
2787
|
-
const _cTF = "clusterTypeFilter";
|
|
2788
|
-
const _cV = "currentVersion";
|
|
2789
|
-
const _mR = "maxResults";
|
|
2790
|
-
const _nT = "nextToken";
|
|
2791
|
-
const _rNF = "replicatorNameFilter";
|
|
2792
|
-
const _tK = "tagKeys";
|