@aws-sdk/client-firehose 3.303.0 → 3.309.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/commands/CreateDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/DeleteDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/DescribeDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/ListDeliveryStreamsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/PutRecordBatchCommand.js +2 -2
- package/dist-cjs/commands/PutRecordCommand.js +2 -2
- package/dist-cjs/commands/StartDeliveryStreamEncryptionCommand.js +2 -2
- package/dist-cjs/commands/StopDeliveryStreamEncryptionCommand.js +2 -2
- package/dist-cjs/commands/TagDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/UntagDeliveryStreamCommand.js +2 -2
- package/dist-cjs/commands/UpdateDestinationCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +531 -609
- package/dist-es/commands/CreateDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/DeleteDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/DescribeDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/ListDeliveryStreamsCommand.js +3 -3
- package/dist-es/commands/ListTagsForDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/PutRecordBatchCommand.js +3 -3
- package/dist-es/commands/PutRecordCommand.js +3 -3
- package/dist-es/commands/StartDeliveryStreamEncryptionCommand.js +3 -3
- package/dist-es/commands/StopDeliveryStreamEncryptionCommand.js +3 -3
- package/dist-es/commands/TagDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/UntagDeliveryStreamCommand.js +3 -3
- package/dist-es/commands/UpdateDestinationCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +506 -584
- package/dist-types/protocols/Aws_json1_1.d.ts +96 -24
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -24
- package/package.json +29 -29
|
@@ -2,128 +2,128 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { FirehoseServiceException as __BaseException } from "../models/FirehoseServiceException";
|
|
4
4
|
import { ConcurrentModificationException, InvalidArgumentException, InvalidKMSResourceException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CreateDeliveryStreamCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "Firehose_20150804.CreateDeliveryStream",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_CreateDeliveryStreamInput(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_DeleteDeliveryStreamCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "Firehose_20150804.DeleteDeliveryStream",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_DeleteDeliveryStreamInput(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_DescribeDeliveryStreamCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "Firehose_20150804.DescribeDeliveryStream",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_DescribeDeliveryStreamInput(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_ListDeliveryStreamsCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "Firehose_20150804.ListDeliveryStreams",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_ListDeliveryStreamsInput(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_ListTagsForDeliveryStreamCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "Firehose_20150804.ListTagsForDeliveryStream",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_ListTagsForDeliveryStreamInput(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_PutRecordCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "Firehose_20150804.PutRecord",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_PutRecordInput(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_PutRecordBatchCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "Firehose_20150804.PutRecordBatch",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_PutRecordBatchInput(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_StartDeliveryStreamEncryptionCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "Firehose_20150804.StartDeliveryStreamEncryption",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_StartDeliveryStreamEncryptionInput(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_StopDeliveryStreamEncryptionCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "Firehose_20150804.StopDeliveryStreamEncryption",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_StopDeliveryStreamEncryptionInput(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_TagDeliveryStreamCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "Firehose_20150804.TagDeliveryStream",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_TagDeliveryStreamInput(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_UntagDeliveryStreamCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "Firehose_20150804.UntagDeliveryStream",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_UntagDeliveryStreamInput(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_UpdateDestinationCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "Firehose_20150804.UpdateDestination",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_UpdateDestinationInput(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const de_CreateDeliveryStreamCommand = async (output, context) => {
|
|
114
114
|
if (output.statusCode >= 300) {
|
|
115
|
-
return
|
|
115
|
+
return de_CreateDeliveryStreamCommandError(output, context);
|
|
116
116
|
}
|
|
117
117
|
const data = await parseBody(output.body, context);
|
|
118
118
|
let contents = {};
|
|
119
|
-
contents =
|
|
119
|
+
contents = de_CreateDeliveryStreamOutput(data, context);
|
|
120
120
|
const response = {
|
|
121
121
|
$metadata: deserializeMetadata(output),
|
|
122
122
|
...contents,
|
|
123
123
|
};
|
|
124
124
|
return Promise.resolve(response);
|
|
125
125
|
};
|
|
126
|
-
const
|
|
126
|
+
const de_CreateDeliveryStreamCommandError = async (output, context) => {
|
|
127
127
|
const parsedOutput = {
|
|
128
128
|
...output,
|
|
129
129
|
body: await parseErrorBody(output.body, context),
|
|
@@ -132,16 +132,16 @@ const deserializeAws_json1_1CreateDeliveryStreamCommandError = async (output, co
|
|
|
132
132
|
switch (errorCode) {
|
|
133
133
|
case "InvalidArgumentException":
|
|
134
134
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
135
|
-
throw await
|
|
135
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
136
136
|
case "InvalidKMSResourceException":
|
|
137
137
|
case "com.amazonaws.firehose#InvalidKMSResourceException":
|
|
138
|
-
throw await
|
|
138
|
+
throw await de_InvalidKMSResourceExceptionRes(parsedOutput, context);
|
|
139
139
|
case "LimitExceededException":
|
|
140
140
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
141
|
-
throw await
|
|
141
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
142
142
|
case "ResourceInUseException":
|
|
143
143
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
144
|
-
throw await
|
|
144
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
145
145
|
default:
|
|
146
146
|
const parsedBody = parsedOutput.body;
|
|
147
147
|
throwDefaultError({
|
|
@@ -152,20 +152,20 @@ const deserializeAws_json1_1CreateDeliveryStreamCommandError = async (output, co
|
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
|
-
export const
|
|
155
|
+
export const de_DeleteDeliveryStreamCommand = async (output, context) => {
|
|
156
156
|
if (output.statusCode >= 300) {
|
|
157
|
-
return
|
|
157
|
+
return de_DeleteDeliveryStreamCommandError(output, context);
|
|
158
158
|
}
|
|
159
159
|
const data = await parseBody(output.body, context);
|
|
160
160
|
let contents = {};
|
|
161
|
-
contents =
|
|
161
|
+
contents = de_DeleteDeliveryStreamOutput(data, context);
|
|
162
162
|
const response = {
|
|
163
163
|
$metadata: deserializeMetadata(output),
|
|
164
164
|
...contents,
|
|
165
165
|
};
|
|
166
166
|
return Promise.resolve(response);
|
|
167
167
|
};
|
|
168
|
-
const
|
|
168
|
+
const de_DeleteDeliveryStreamCommandError = async (output, context) => {
|
|
169
169
|
const parsedOutput = {
|
|
170
170
|
...output,
|
|
171
171
|
body: await parseErrorBody(output.body, context),
|
|
@@ -174,10 +174,10 @@ const deserializeAws_json1_1DeleteDeliveryStreamCommandError = async (output, co
|
|
|
174
174
|
switch (errorCode) {
|
|
175
175
|
case "ResourceInUseException":
|
|
176
176
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
177
|
-
throw await
|
|
177
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
178
178
|
case "ResourceNotFoundException":
|
|
179
179
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
180
|
-
throw await
|
|
180
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
181
181
|
default:
|
|
182
182
|
const parsedBody = parsedOutput.body;
|
|
183
183
|
throwDefaultError({
|
|
@@ -188,20 +188,20 @@ const deserializeAws_json1_1DeleteDeliveryStreamCommandError = async (output, co
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
|
-
export const
|
|
191
|
+
export const de_DescribeDeliveryStreamCommand = async (output, context) => {
|
|
192
192
|
if (output.statusCode >= 300) {
|
|
193
|
-
return
|
|
193
|
+
return de_DescribeDeliveryStreamCommandError(output, context);
|
|
194
194
|
}
|
|
195
195
|
const data = await parseBody(output.body, context);
|
|
196
196
|
let contents = {};
|
|
197
|
-
contents =
|
|
197
|
+
contents = de_DescribeDeliveryStreamOutput(data, context);
|
|
198
198
|
const response = {
|
|
199
199
|
$metadata: deserializeMetadata(output),
|
|
200
200
|
...contents,
|
|
201
201
|
};
|
|
202
202
|
return Promise.resolve(response);
|
|
203
203
|
};
|
|
204
|
-
const
|
|
204
|
+
const de_DescribeDeliveryStreamCommandError = async (output, context) => {
|
|
205
205
|
const parsedOutput = {
|
|
206
206
|
...output,
|
|
207
207
|
body: await parseErrorBody(output.body, context),
|
|
@@ -210,7 +210,7 @@ const deserializeAws_json1_1DescribeDeliveryStreamCommandError = async (output,
|
|
|
210
210
|
switch (errorCode) {
|
|
211
211
|
case "ResourceNotFoundException":
|
|
212
212
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
213
|
-
throw await
|
|
213
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
214
214
|
default:
|
|
215
215
|
const parsedBody = parsedOutput.body;
|
|
216
216
|
throwDefaultError({
|
|
@@ -221,20 +221,20 @@ const deserializeAws_json1_1DescribeDeliveryStreamCommandError = async (output,
|
|
|
221
221
|
});
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
|
-
export const
|
|
224
|
+
export const de_ListDeliveryStreamsCommand = async (output, context) => {
|
|
225
225
|
if (output.statusCode >= 300) {
|
|
226
|
-
return
|
|
226
|
+
return de_ListDeliveryStreamsCommandError(output, context);
|
|
227
227
|
}
|
|
228
228
|
const data = await parseBody(output.body, context);
|
|
229
229
|
let contents = {};
|
|
230
|
-
contents =
|
|
230
|
+
contents = de_ListDeliveryStreamsOutput(data, context);
|
|
231
231
|
const response = {
|
|
232
232
|
$metadata: deserializeMetadata(output),
|
|
233
233
|
...contents,
|
|
234
234
|
};
|
|
235
235
|
return Promise.resolve(response);
|
|
236
236
|
};
|
|
237
|
-
const
|
|
237
|
+
const de_ListDeliveryStreamsCommandError = async (output, context) => {
|
|
238
238
|
const parsedOutput = {
|
|
239
239
|
...output,
|
|
240
240
|
body: await parseErrorBody(output.body, context),
|
|
@@ -248,20 +248,20 @@ const deserializeAws_json1_1ListDeliveryStreamsCommandError = async (output, con
|
|
|
248
248
|
errorCode,
|
|
249
249
|
});
|
|
250
250
|
};
|
|
251
|
-
export const
|
|
251
|
+
export const de_ListTagsForDeliveryStreamCommand = async (output, context) => {
|
|
252
252
|
if (output.statusCode >= 300) {
|
|
253
|
-
return
|
|
253
|
+
return de_ListTagsForDeliveryStreamCommandError(output, context);
|
|
254
254
|
}
|
|
255
255
|
const data = await parseBody(output.body, context);
|
|
256
256
|
let contents = {};
|
|
257
|
-
contents =
|
|
257
|
+
contents = de_ListTagsForDeliveryStreamOutput(data, context);
|
|
258
258
|
const response = {
|
|
259
259
|
$metadata: deserializeMetadata(output),
|
|
260
260
|
...contents,
|
|
261
261
|
};
|
|
262
262
|
return Promise.resolve(response);
|
|
263
263
|
};
|
|
264
|
-
const
|
|
264
|
+
const de_ListTagsForDeliveryStreamCommandError = async (output, context) => {
|
|
265
265
|
const parsedOutput = {
|
|
266
266
|
...output,
|
|
267
267
|
body: await parseErrorBody(output.body, context),
|
|
@@ -270,13 +270,13 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamCommandError = async (outpu
|
|
|
270
270
|
switch (errorCode) {
|
|
271
271
|
case "InvalidArgumentException":
|
|
272
272
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
273
|
-
throw await
|
|
273
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
274
274
|
case "LimitExceededException":
|
|
275
275
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
276
|
-
throw await
|
|
276
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
277
277
|
case "ResourceNotFoundException":
|
|
278
278
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
279
|
-
throw await
|
|
279
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
280
280
|
default:
|
|
281
281
|
const parsedBody = parsedOutput.body;
|
|
282
282
|
throwDefaultError({
|
|
@@ -287,20 +287,20 @@ const deserializeAws_json1_1ListTagsForDeliveryStreamCommandError = async (outpu
|
|
|
287
287
|
});
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
export const
|
|
290
|
+
export const de_PutRecordCommand = async (output, context) => {
|
|
291
291
|
if (output.statusCode >= 300) {
|
|
292
|
-
return
|
|
292
|
+
return de_PutRecordCommandError(output, context);
|
|
293
293
|
}
|
|
294
294
|
const data = await parseBody(output.body, context);
|
|
295
295
|
let contents = {};
|
|
296
|
-
contents =
|
|
296
|
+
contents = de_PutRecordOutput(data, context);
|
|
297
297
|
const response = {
|
|
298
298
|
$metadata: deserializeMetadata(output),
|
|
299
299
|
...contents,
|
|
300
300
|
};
|
|
301
301
|
return Promise.resolve(response);
|
|
302
302
|
};
|
|
303
|
-
const
|
|
303
|
+
const de_PutRecordCommandError = async (output, context) => {
|
|
304
304
|
const parsedOutput = {
|
|
305
305
|
...output,
|
|
306
306
|
body: await parseErrorBody(output.body, context),
|
|
@@ -309,16 +309,16 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
|
|
|
309
309
|
switch (errorCode) {
|
|
310
310
|
case "InvalidArgumentException":
|
|
311
311
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
312
|
-
throw await
|
|
312
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
313
313
|
case "InvalidKMSResourceException":
|
|
314
314
|
case "com.amazonaws.firehose#InvalidKMSResourceException":
|
|
315
|
-
throw await
|
|
315
|
+
throw await de_InvalidKMSResourceExceptionRes(parsedOutput, context);
|
|
316
316
|
case "ResourceNotFoundException":
|
|
317
317
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
318
|
-
throw await
|
|
318
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
319
319
|
case "ServiceUnavailableException":
|
|
320
320
|
case "com.amazonaws.firehose#ServiceUnavailableException":
|
|
321
|
-
throw await
|
|
321
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
322
322
|
default:
|
|
323
323
|
const parsedBody = parsedOutput.body;
|
|
324
324
|
throwDefaultError({
|
|
@@ -329,20 +329,20 @@ const deserializeAws_json1_1PutRecordCommandError = async (output, context) => {
|
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
|
-
export const
|
|
332
|
+
export const de_PutRecordBatchCommand = async (output, context) => {
|
|
333
333
|
if (output.statusCode >= 300) {
|
|
334
|
-
return
|
|
334
|
+
return de_PutRecordBatchCommandError(output, context);
|
|
335
335
|
}
|
|
336
336
|
const data = await parseBody(output.body, context);
|
|
337
337
|
let contents = {};
|
|
338
|
-
contents =
|
|
338
|
+
contents = de_PutRecordBatchOutput(data, context);
|
|
339
339
|
const response = {
|
|
340
340
|
$metadata: deserializeMetadata(output),
|
|
341
341
|
...contents,
|
|
342
342
|
};
|
|
343
343
|
return Promise.resolve(response);
|
|
344
344
|
};
|
|
345
|
-
const
|
|
345
|
+
const de_PutRecordBatchCommandError = async (output, context) => {
|
|
346
346
|
const parsedOutput = {
|
|
347
347
|
...output,
|
|
348
348
|
body: await parseErrorBody(output.body, context),
|
|
@@ -351,16 +351,16 @@ const deserializeAws_json1_1PutRecordBatchCommandError = async (output, context)
|
|
|
351
351
|
switch (errorCode) {
|
|
352
352
|
case "InvalidArgumentException":
|
|
353
353
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
354
|
-
throw await
|
|
354
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
355
355
|
case "InvalidKMSResourceException":
|
|
356
356
|
case "com.amazonaws.firehose#InvalidKMSResourceException":
|
|
357
|
-
throw await
|
|
357
|
+
throw await de_InvalidKMSResourceExceptionRes(parsedOutput, context);
|
|
358
358
|
case "ResourceNotFoundException":
|
|
359
359
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
360
|
-
throw await
|
|
360
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
361
361
|
case "ServiceUnavailableException":
|
|
362
362
|
case "com.amazonaws.firehose#ServiceUnavailableException":
|
|
363
|
-
throw await
|
|
363
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
364
364
|
default:
|
|
365
365
|
const parsedBody = parsedOutput.body;
|
|
366
366
|
throwDefaultError({
|
|
@@ -371,20 +371,20 @@ const deserializeAws_json1_1PutRecordBatchCommandError = async (output, context)
|
|
|
371
371
|
});
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
|
-
export const
|
|
374
|
+
export const de_StartDeliveryStreamEncryptionCommand = async (output, context) => {
|
|
375
375
|
if (output.statusCode >= 300) {
|
|
376
|
-
return
|
|
376
|
+
return de_StartDeliveryStreamEncryptionCommandError(output, context);
|
|
377
377
|
}
|
|
378
378
|
const data = await parseBody(output.body, context);
|
|
379
379
|
let contents = {};
|
|
380
|
-
contents =
|
|
380
|
+
contents = de_StartDeliveryStreamEncryptionOutput(data, context);
|
|
381
381
|
const response = {
|
|
382
382
|
$metadata: deserializeMetadata(output),
|
|
383
383
|
...contents,
|
|
384
384
|
};
|
|
385
385
|
return Promise.resolve(response);
|
|
386
386
|
};
|
|
387
|
-
const
|
|
387
|
+
const de_StartDeliveryStreamEncryptionCommandError = async (output, context) => {
|
|
388
388
|
const parsedOutput = {
|
|
389
389
|
...output,
|
|
390
390
|
body: await parseErrorBody(output.body, context),
|
|
@@ -393,19 +393,19 @@ const deserializeAws_json1_1StartDeliveryStreamEncryptionCommandError = async (o
|
|
|
393
393
|
switch (errorCode) {
|
|
394
394
|
case "InvalidArgumentException":
|
|
395
395
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
396
|
-
throw await
|
|
396
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
397
397
|
case "InvalidKMSResourceException":
|
|
398
398
|
case "com.amazonaws.firehose#InvalidKMSResourceException":
|
|
399
|
-
throw await
|
|
399
|
+
throw await de_InvalidKMSResourceExceptionRes(parsedOutput, context);
|
|
400
400
|
case "LimitExceededException":
|
|
401
401
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
402
|
-
throw await
|
|
402
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
403
403
|
case "ResourceInUseException":
|
|
404
404
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
405
|
-
throw await
|
|
405
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
406
406
|
case "ResourceNotFoundException":
|
|
407
407
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
408
|
-
throw await
|
|
408
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
409
409
|
default:
|
|
410
410
|
const parsedBody = parsedOutput.body;
|
|
411
411
|
throwDefaultError({
|
|
@@ -416,20 +416,20 @@ const deserializeAws_json1_1StartDeliveryStreamEncryptionCommandError = async (o
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
|
-
export const
|
|
419
|
+
export const de_StopDeliveryStreamEncryptionCommand = async (output, context) => {
|
|
420
420
|
if (output.statusCode >= 300) {
|
|
421
|
-
return
|
|
421
|
+
return de_StopDeliveryStreamEncryptionCommandError(output, context);
|
|
422
422
|
}
|
|
423
423
|
const data = await parseBody(output.body, context);
|
|
424
424
|
let contents = {};
|
|
425
|
-
contents =
|
|
425
|
+
contents = de_StopDeliveryStreamEncryptionOutput(data, context);
|
|
426
426
|
const response = {
|
|
427
427
|
$metadata: deserializeMetadata(output),
|
|
428
428
|
...contents,
|
|
429
429
|
};
|
|
430
430
|
return Promise.resolve(response);
|
|
431
431
|
};
|
|
432
|
-
const
|
|
432
|
+
const de_StopDeliveryStreamEncryptionCommandError = async (output, context) => {
|
|
433
433
|
const parsedOutput = {
|
|
434
434
|
...output,
|
|
435
435
|
body: await parseErrorBody(output.body, context),
|
|
@@ -438,16 +438,16 @@ const deserializeAws_json1_1StopDeliveryStreamEncryptionCommandError = async (ou
|
|
|
438
438
|
switch (errorCode) {
|
|
439
439
|
case "InvalidArgumentException":
|
|
440
440
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
441
|
-
throw await
|
|
441
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
442
442
|
case "LimitExceededException":
|
|
443
443
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
445
445
|
case "ResourceInUseException":
|
|
446
446
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
447
|
-
throw await
|
|
447
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
448
448
|
case "ResourceNotFoundException":
|
|
449
449
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
450
|
-
throw await
|
|
450
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
451
451
|
default:
|
|
452
452
|
const parsedBody = parsedOutput.body;
|
|
453
453
|
throwDefaultError({
|
|
@@ -458,20 +458,20 @@ const deserializeAws_json1_1StopDeliveryStreamEncryptionCommandError = async (ou
|
|
|
458
458
|
});
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
|
-
export const
|
|
461
|
+
export const de_TagDeliveryStreamCommand = async (output, context) => {
|
|
462
462
|
if (output.statusCode >= 300) {
|
|
463
|
-
return
|
|
463
|
+
return de_TagDeliveryStreamCommandError(output, context);
|
|
464
464
|
}
|
|
465
465
|
const data = await parseBody(output.body, context);
|
|
466
466
|
let contents = {};
|
|
467
|
-
contents =
|
|
467
|
+
contents = de_TagDeliveryStreamOutput(data, context);
|
|
468
468
|
const response = {
|
|
469
469
|
$metadata: deserializeMetadata(output),
|
|
470
470
|
...contents,
|
|
471
471
|
};
|
|
472
472
|
return Promise.resolve(response);
|
|
473
473
|
};
|
|
474
|
-
const
|
|
474
|
+
const de_TagDeliveryStreamCommandError = async (output, context) => {
|
|
475
475
|
const parsedOutput = {
|
|
476
476
|
...output,
|
|
477
477
|
body: await parseErrorBody(output.body, context),
|
|
@@ -480,16 +480,16 @@ const deserializeAws_json1_1TagDeliveryStreamCommandError = async (output, conte
|
|
|
480
480
|
switch (errorCode) {
|
|
481
481
|
case "InvalidArgumentException":
|
|
482
482
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
483
|
-
throw await
|
|
483
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
484
484
|
case "LimitExceededException":
|
|
485
485
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
486
|
-
throw await
|
|
486
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
487
487
|
case "ResourceInUseException":
|
|
488
488
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
489
|
-
throw await
|
|
489
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
490
490
|
case "ResourceNotFoundException":
|
|
491
491
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
492
|
-
throw await
|
|
492
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
493
493
|
default:
|
|
494
494
|
const parsedBody = parsedOutput.body;
|
|
495
495
|
throwDefaultError({
|
|
@@ -500,20 +500,20 @@ const deserializeAws_json1_1TagDeliveryStreamCommandError = async (output, conte
|
|
|
500
500
|
});
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
|
-
export const
|
|
503
|
+
export const de_UntagDeliveryStreamCommand = async (output, context) => {
|
|
504
504
|
if (output.statusCode >= 300) {
|
|
505
|
-
return
|
|
505
|
+
return de_UntagDeliveryStreamCommandError(output, context);
|
|
506
506
|
}
|
|
507
507
|
const data = await parseBody(output.body, context);
|
|
508
508
|
let contents = {};
|
|
509
|
-
contents =
|
|
509
|
+
contents = de_UntagDeliveryStreamOutput(data, context);
|
|
510
510
|
const response = {
|
|
511
511
|
$metadata: deserializeMetadata(output),
|
|
512
512
|
...contents,
|
|
513
513
|
};
|
|
514
514
|
return Promise.resolve(response);
|
|
515
515
|
};
|
|
516
|
-
const
|
|
516
|
+
const de_UntagDeliveryStreamCommandError = async (output, context) => {
|
|
517
517
|
const parsedOutput = {
|
|
518
518
|
...output,
|
|
519
519
|
body: await parseErrorBody(output.body, context),
|
|
@@ -522,16 +522,16 @@ const deserializeAws_json1_1UntagDeliveryStreamCommandError = async (output, con
|
|
|
522
522
|
switch (errorCode) {
|
|
523
523
|
case "InvalidArgumentException":
|
|
524
524
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
525
|
-
throw await
|
|
525
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
526
526
|
case "LimitExceededException":
|
|
527
527
|
case "com.amazonaws.firehose#LimitExceededException":
|
|
528
|
-
throw await
|
|
528
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
529
529
|
case "ResourceInUseException":
|
|
530
530
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
531
|
-
throw await
|
|
531
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
532
532
|
case "ResourceNotFoundException":
|
|
533
533
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
534
|
-
throw await
|
|
534
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
535
535
|
default:
|
|
536
536
|
const parsedBody = parsedOutput.body;
|
|
537
537
|
throwDefaultError({
|
|
@@ -542,20 +542,20 @@ const deserializeAws_json1_1UntagDeliveryStreamCommandError = async (output, con
|
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
export const
|
|
545
|
+
export const de_UpdateDestinationCommand = async (output, context) => {
|
|
546
546
|
if (output.statusCode >= 300) {
|
|
547
|
-
return
|
|
547
|
+
return de_UpdateDestinationCommandError(output, context);
|
|
548
548
|
}
|
|
549
549
|
const data = await parseBody(output.body, context);
|
|
550
550
|
let contents = {};
|
|
551
|
-
contents =
|
|
551
|
+
contents = de_UpdateDestinationOutput(data, context);
|
|
552
552
|
const response = {
|
|
553
553
|
$metadata: deserializeMetadata(output),
|
|
554
554
|
...contents,
|
|
555
555
|
};
|
|
556
556
|
return Promise.resolve(response);
|
|
557
557
|
};
|
|
558
|
-
const
|
|
558
|
+
const de_UpdateDestinationCommandError = async (output, context) => {
|
|
559
559
|
const parsedOutput = {
|
|
560
560
|
...output,
|
|
561
561
|
body: await parseErrorBody(output.body, context),
|
|
@@ -564,16 +564,16 @@ const deserializeAws_json1_1UpdateDestinationCommandError = async (output, conte
|
|
|
564
564
|
switch (errorCode) {
|
|
565
565
|
case "ConcurrentModificationException":
|
|
566
566
|
case "com.amazonaws.firehose#ConcurrentModificationException":
|
|
567
|
-
throw await
|
|
567
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
568
568
|
case "InvalidArgumentException":
|
|
569
569
|
case "com.amazonaws.firehose#InvalidArgumentException":
|
|
570
|
-
throw await
|
|
570
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
571
571
|
case "ResourceInUseException":
|
|
572
572
|
case "com.amazonaws.firehose#ResourceInUseException":
|
|
573
|
-
throw await
|
|
573
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
574
574
|
case "ResourceNotFoundException":
|
|
575
575
|
case "com.amazonaws.firehose#ResourceNotFoundException":
|
|
576
|
-
throw await
|
|
576
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
577
577
|
default:
|
|
578
578
|
const parsedBody = parsedOutput.body;
|
|
579
579
|
throwDefaultError({
|
|
@@ -584,203 +584,199 @@ const deserializeAws_json1_1UpdateDestinationCommandError = async (output, conte
|
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
|
-
const
|
|
587
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
588
588
|
const body = parsedOutput.body;
|
|
589
|
-
const deserialized =
|
|
589
|
+
const deserialized = de_ConcurrentModificationException(body, context);
|
|
590
590
|
const exception = new ConcurrentModificationException({
|
|
591
591
|
$metadata: deserializeMetadata(parsedOutput),
|
|
592
592
|
...deserialized,
|
|
593
593
|
});
|
|
594
594
|
return __decorateServiceException(exception, body);
|
|
595
595
|
};
|
|
596
|
-
const
|
|
596
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
597
597
|
const body = parsedOutput.body;
|
|
598
|
-
const deserialized =
|
|
598
|
+
const deserialized = de_InvalidArgumentException(body, context);
|
|
599
599
|
const exception = new InvalidArgumentException({
|
|
600
600
|
$metadata: deserializeMetadata(parsedOutput),
|
|
601
601
|
...deserialized,
|
|
602
602
|
});
|
|
603
603
|
return __decorateServiceException(exception, body);
|
|
604
604
|
};
|
|
605
|
-
const
|
|
605
|
+
const de_InvalidKMSResourceExceptionRes = async (parsedOutput, context) => {
|
|
606
606
|
const body = parsedOutput.body;
|
|
607
|
-
const deserialized =
|
|
607
|
+
const deserialized = de_InvalidKMSResourceException(body, context);
|
|
608
608
|
const exception = new InvalidKMSResourceException({
|
|
609
609
|
$metadata: deserializeMetadata(parsedOutput),
|
|
610
610
|
...deserialized,
|
|
611
611
|
});
|
|
612
612
|
return __decorateServiceException(exception, body);
|
|
613
613
|
};
|
|
614
|
-
const
|
|
614
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
615
615
|
const body = parsedOutput.body;
|
|
616
|
-
const deserialized =
|
|
616
|
+
const deserialized = de_LimitExceededException(body, context);
|
|
617
617
|
const exception = new LimitExceededException({
|
|
618
618
|
$metadata: deserializeMetadata(parsedOutput),
|
|
619
619
|
...deserialized,
|
|
620
620
|
});
|
|
621
621
|
return __decorateServiceException(exception, body);
|
|
622
622
|
};
|
|
623
|
-
const
|
|
623
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
624
624
|
const body = parsedOutput.body;
|
|
625
|
-
const deserialized =
|
|
625
|
+
const deserialized = de_ResourceInUseException(body, context);
|
|
626
626
|
const exception = new ResourceInUseException({
|
|
627
627
|
$metadata: deserializeMetadata(parsedOutput),
|
|
628
628
|
...deserialized,
|
|
629
629
|
});
|
|
630
630
|
return __decorateServiceException(exception, body);
|
|
631
631
|
};
|
|
632
|
-
const
|
|
632
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
633
633
|
const body = parsedOutput.body;
|
|
634
|
-
const deserialized =
|
|
634
|
+
const deserialized = de_ResourceNotFoundException(body, context);
|
|
635
635
|
const exception = new ResourceNotFoundException({
|
|
636
636
|
$metadata: deserializeMetadata(parsedOutput),
|
|
637
637
|
...deserialized,
|
|
638
638
|
});
|
|
639
639
|
return __decorateServiceException(exception, body);
|
|
640
640
|
};
|
|
641
|
-
const
|
|
641
|
+
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
642
642
|
const body = parsedOutput.body;
|
|
643
|
-
const deserialized =
|
|
643
|
+
const deserialized = de_ServiceUnavailableException(body, context);
|
|
644
644
|
const exception = new ServiceUnavailableException({
|
|
645
645
|
$metadata: deserializeMetadata(parsedOutput),
|
|
646
646
|
...deserialized,
|
|
647
647
|
});
|
|
648
648
|
return __decorateServiceException(exception, body);
|
|
649
649
|
};
|
|
650
|
-
const
|
|
650
|
+
const se_AmazonOpenSearchServerlessBufferingHints = (input, context) => {
|
|
651
651
|
return {
|
|
652
652
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
653
653
|
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
654
654
|
};
|
|
655
655
|
};
|
|
656
|
-
const
|
|
656
|
+
const se_AmazonOpenSearchServerlessDestinationConfiguration = (input, context) => {
|
|
657
657
|
return {
|
|
658
658
|
...(input.BufferingHints != null && {
|
|
659
|
-
BufferingHints:
|
|
659
|
+
BufferingHints: se_AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
660
660
|
}),
|
|
661
661
|
...(input.CloudWatchLoggingOptions != null && {
|
|
662
|
-
CloudWatchLoggingOptions:
|
|
662
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
663
663
|
}),
|
|
664
664
|
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
665
665
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
666
666
|
...(input.ProcessingConfiguration != null && {
|
|
667
|
-
ProcessingConfiguration:
|
|
667
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
668
668
|
}),
|
|
669
669
|
...(input.RetryOptions != null && {
|
|
670
|
-
RetryOptions:
|
|
670
|
+
RetryOptions: se_AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
671
671
|
}),
|
|
672
672
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
673
673
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
674
674
|
...(input.S3Configuration != null && {
|
|
675
|
-
S3Configuration:
|
|
676
|
-
}),
|
|
677
|
-
...(input.VpcConfiguration != null && {
|
|
678
|
-
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
675
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
679
676
|
}),
|
|
677
|
+
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
680
678
|
};
|
|
681
679
|
};
|
|
682
|
-
const
|
|
680
|
+
const se_AmazonOpenSearchServerlessDestinationUpdate = (input, context) => {
|
|
683
681
|
return {
|
|
684
682
|
...(input.BufferingHints != null && {
|
|
685
|
-
BufferingHints:
|
|
683
|
+
BufferingHints: se_AmazonOpenSearchServerlessBufferingHints(input.BufferingHints, context),
|
|
686
684
|
}),
|
|
687
685
|
...(input.CloudWatchLoggingOptions != null && {
|
|
688
|
-
CloudWatchLoggingOptions:
|
|
686
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
689
687
|
}),
|
|
690
688
|
...(input.CollectionEndpoint != null && { CollectionEndpoint: input.CollectionEndpoint }),
|
|
691
689
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
692
690
|
...(input.ProcessingConfiguration != null && {
|
|
693
|
-
ProcessingConfiguration:
|
|
691
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
694
692
|
}),
|
|
695
693
|
...(input.RetryOptions != null && {
|
|
696
|
-
RetryOptions:
|
|
694
|
+
RetryOptions: se_AmazonOpenSearchServerlessRetryOptions(input.RetryOptions, context),
|
|
697
695
|
}),
|
|
698
696
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
699
|
-
...(input.S3Update != null && { S3Update:
|
|
697
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
700
698
|
};
|
|
701
699
|
};
|
|
702
|
-
const
|
|
700
|
+
const se_AmazonOpenSearchServerlessRetryOptions = (input, context) => {
|
|
703
701
|
return {
|
|
704
702
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
705
703
|
};
|
|
706
704
|
};
|
|
707
|
-
const
|
|
705
|
+
const se_AmazonopensearchserviceBufferingHints = (input, context) => {
|
|
708
706
|
return {
|
|
709
707
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
710
708
|
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
711
709
|
};
|
|
712
710
|
};
|
|
713
|
-
const
|
|
711
|
+
const se_AmazonopensearchserviceDestinationConfiguration = (input, context) => {
|
|
714
712
|
return {
|
|
715
713
|
...(input.BufferingHints != null && {
|
|
716
|
-
BufferingHints:
|
|
714
|
+
BufferingHints: se_AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
717
715
|
}),
|
|
718
716
|
...(input.CloudWatchLoggingOptions != null && {
|
|
719
|
-
CloudWatchLoggingOptions:
|
|
717
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
720
718
|
}),
|
|
721
719
|
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
722
720
|
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
723
721
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
724
722
|
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
725
723
|
...(input.ProcessingConfiguration != null && {
|
|
726
|
-
ProcessingConfiguration:
|
|
724
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
727
725
|
}),
|
|
728
726
|
...(input.RetryOptions != null && {
|
|
729
|
-
RetryOptions:
|
|
727
|
+
RetryOptions: se_AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
730
728
|
}),
|
|
731
729
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
732
730
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
733
731
|
...(input.S3Configuration != null && {
|
|
734
|
-
S3Configuration:
|
|
732
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
735
733
|
}),
|
|
736
734
|
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
737
|
-
...(input.VpcConfiguration != null && {
|
|
738
|
-
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
739
|
-
}),
|
|
735
|
+
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
740
736
|
};
|
|
741
737
|
};
|
|
742
|
-
const
|
|
738
|
+
const se_AmazonopensearchserviceDestinationUpdate = (input, context) => {
|
|
743
739
|
return {
|
|
744
740
|
...(input.BufferingHints != null && {
|
|
745
|
-
BufferingHints:
|
|
741
|
+
BufferingHints: se_AmazonopensearchserviceBufferingHints(input.BufferingHints, context),
|
|
746
742
|
}),
|
|
747
743
|
...(input.CloudWatchLoggingOptions != null && {
|
|
748
|
-
CloudWatchLoggingOptions:
|
|
744
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
749
745
|
}),
|
|
750
746
|
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
751
747
|
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
752
748
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
753
749
|
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
754
750
|
...(input.ProcessingConfiguration != null && {
|
|
755
|
-
ProcessingConfiguration:
|
|
751
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
756
752
|
}),
|
|
757
753
|
...(input.RetryOptions != null && {
|
|
758
|
-
RetryOptions:
|
|
754
|
+
RetryOptions: se_AmazonopensearchserviceRetryOptions(input.RetryOptions, context),
|
|
759
755
|
}),
|
|
760
756
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
761
|
-
...(input.S3Update != null && { S3Update:
|
|
757
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
762
758
|
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
763
759
|
};
|
|
764
760
|
};
|
|
765
|
-
const
|
|
761
|
+
const se_AmazonopensearchserviceRetryOptions = (input, context) => {
|
|
766
762
|
return {
|
|
767
763
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
768
764
|
};
|
|
769
765
|
};
|
|
770
|
-
const
|
|
766
|
+
const se_BufferingHints = (input, context) => {
|
|
771
767
|
return {
|
|
772
768
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
773
769
|
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
774
770
|
};
|
|
775
771
|
};
|
|
776
|
-
const
|
|
772
|
+
const se_CloudWatchLoggingOptions = (input, context) => {
|
|
777
773
|
return {
|
|
778
774
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
779
775
|
...(input.LogGroupName != null && { LogGroupName: input.LogGroupName }),
|
|
780
776
|
...(input.LogStreamName != null && { LogStreamName: input.LogStreamName }),
|
|
781
777
|
};
|
|
782
778
|
};
|
|
783
|
-
const
|
|
779
|
+
const se_ColumnToJsonKeyMappings = (input, context) => {
|
|
784
780
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
785
781
|
if (value === null) {
|
|
786
782
|
return acc;
|
|
@@ -789,77 +785,77 @@ const serializeAws_json1_1ColumnToJsonKeyMappings = (input, context) => {
|
|
|
789
785
|
return acc;
|
|
790
786
|
}, {});
|
|
791
787
|
};
|
|
792
|
-
const
|
|
788
|
+
const se_CopyCommand = (input, context) => {
|
|
793
789
|
return {
|
|
794
790
|
...(input.CopyOptions != null && { CopyOptions: input.CopyOptions }),
|
|
795
791
|
...(input.DataTableColumns != null && { DataTableColumns: input.DataTableColumns }),
|
|
796
792
|
...(input.DataTableName != null && { DataTableName: input.DataTableName }),
|
|
797
793
|
};
|
|
798
794
|
};
|
|
799
|
-
const
|
|
795
|
+
const se_CreateDeliveryStreamInput = (input, context) => {
|
|
800
796
|
return {
|
|
801
797
|
...(input.AmazonOpenSearchServerlessDestinationConfiguration != null && {
|
|
802
|
-
AmazonOpenSearchServerlessDestinationConfiguration:
|
|
798
|
+
AmazonOpenSearchServerlessDestinationConfiguration: se_AmazonOpenSearchServerlessDestinationConfiguration(input.AmazonOpenSearchServerlessDestinationConfiguration, context),
|
|
803
799
|
}),
|
|
804
800
|
...(input.AmazonopensearchserviceDestinationConfiguration != null && {
|
|
805
|
-
AmazonopensearchserviceDestinationConfiguration:
|
|
801
|
+
AmazonopensearchserviceDestinationConfiguration: se_AmazonopensearchserviceDestinationConfiguration(input.AmazonopensearchserviceDestinationConfiguration, context),
|
|
806
802
|
}),
|
|
807
803
|
...(input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
808
|
-
DeliveryStreamEncryptionConfigurationInput:
|
|
804
|
+
DeliveryStreamEncryptionConfigurationInput: se_DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
809
805
|
}),
|
|
810
806
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
811
807
|
...(input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
812
808
|
...(input.ElasticsearchDestinationConfiguration != null && {
|
|
813
|
-
ElasticsearchDestinationConfiguration:
|
|
809
|
+
ElasticsearchDestinationConfiguration: se_ElasticsearchDestinationConfiguration(input.ElasticsearchDestinationConfiguration, context),
|
|
814
810
|
}),
|
|
815
811
|
...(input.ExtendedS3DestinationConfiguration != null && {
|
|
816
|
-
ExtendedS3DestinationConfiguration:
|
|
812
|
+
ExtendedS3DestinationConfiguration: se_ExtendedS3DestinationConfiguration(input.ExtendedS3DestinationConfiguration, context),
|
|
817
813
|
}),
|
|
818
814
|
...(input.HttpEndpointDestinationConfiguration != null && {
|
|
819
|
-
HttpEndpointDestinationConfiguration:
|
|
815
|
+
HttpEndpointDestinationConfiguration: se_HttpEndpointDestinationConfiguration(input.HttpEndpointDestinationConfiguration, context),
|
|
820
816
|
}),
|
|
821
817
|
...(input.KinesisStreamSourceConfiguration != null && {
|
|
822
|
-
KinesisStreamSourceConfiguration:
|
|
818
|
+
KinesisStreamSourceConfiguration: se_KinesisStreamSourceConfiguration(input.KinesisStreamSourceConfiguration, context),
|
|
823
819
|
}),
|
|
824
820
|
...(input.RedshiftDestinationConfiguration != null && {
|
|
825
|
-
RedshiftDestinationConfiguration:
|
|
821
|
+
RedshiftDestinationConfiguration: se_RedshiftDestinationConfiguration(input.RedshiftDestinationConfiguration, context),
|
|
826
822
|
}),
|
|
827
823
|
...(input.S3DestinationConfiguration != null && {
|
|
828
|
-
S3DestinationConfiguration:
|
|
824
|
+
S3DestinationConfiguration: se_S3DestinationConfiguration(input.S3DestinationConfiguration, context),
|
|
829
825
|
}),
|
|
830
826
|
...(input.SplunkDestinationConfiguration != null && {
|
|
831
|
-
SplunkDestinationConfiguration:
|
|
827
|
+
SplunkDestinationConfiguration: se_SplunkDestinationConfiguration(input.SplunkDestinationConfiguration, context),
|
|
832
828
|
}),
|
|
833
|
-
...(input.Tags != null && { Tags:
|
|
829
|
+
...(input.Tags != null && { Tags: se_TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
834
830
|
};
|
|
835
831
|
};
|
|
836
|
-
const
|
|
832
|
+
const se_DataFormatConversionConfiguration = (input, context) => {
|
|
837
833
|
return {
|
|
838
834
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
839
835
|
...(input.InputFormatConfiguration != null && {
|
|
840
|
-
InputFormatConfiguration:
|
|
836
|
+
InputFormatConfiguration: se_InputFormatConfiguration(input.InputFormatConfiguration, context),
|
|
841
837
|
}),
|
|
842
838
|
...(input.OutputFormatConfiguration != null && {
|
|
843
|
-
OutputFormatConfiguration:
|
|
839
|
+
OutputFormatConfiguration: se_OutputFormatConfiguration(input.OutputFormatConfiguration, context),
|
|
844
840
|
}),
|
|
845
841
|
...(input.SchemaConfiguration != null && {
|
|
846
|
-
SchemaConfiguration:
|
|
842
|
+
SchemaConfiguration: se_SchemaConfiguration(input.SchemaConfiguration, context),
|
|
847
843
|
}),
|
|
848
844
|
};
|
|
849
845
|
};
|
|
850
|
-
const
|
|
846
|
+
const se_DeleteDeliveryStreamInput = (input, context) => {
|
|
851
847
|
return {
|
|
852
848
|
...(input.AllowForceDelete != null && { AllowForceDelete: input.AllowForceDelete }),
|
|
853
849
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
854
850
|
};
|
|
855
851
|
};
|
|
856
|
-
const
|
|
852
|
+
const se_DeliveryStreamEncryptionConfigurationInput = (input, context) => {
|
|
857
853
|
return {
|
|
858
854
|
...(input.KeyARN != null && { KeyARN: input.KeyARN }),
|
|
859
855
|
...(input.KeyType != null && { KeyType: input.KeyType }),
|
|
860
856
|
};
|
|
861
857
|
};
|
|
862
|
-
const
|
|
858
|
+
const se_DescribeDeliveryStreamInput = (input, context) => {
|
|
863
859
|
return {
|
|
864
860
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
865
861
|
...(input.ExclusiveStartDestinationId != null && {
|
|
@@ -868,270 +864,250 @@ const serializeAws_json1_1DescribeDeliveryStreamInput = (input, context) => {
|
|
|
868
864
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
869
865
|
};
|
|
870
866
|
};
|
|
871
|
-
const
|
|
867
|
+
const se_Deserializer = (input, context) => {
|
|
872
868
|
return {
|
|
873
|
-
...(input.HiveJsonSerDe != null && {
|
|
874
|
-
|
|
875
|
-
}),
|
|
876
|
-
...(input.OpenXJsonSerDe != null && {
|
|
877
|
-
OpenXJsonSerDe: serializeAws_json1_1OpenXJsonSerDe(input.OpenXJsonSerDe, context),
|
|
878
|
-
}),
|
|
869
|
+
...(input.HiveJsonSerDe != null && { HiveJsonSerDe: se_HiveJsonSerDe(input.HiveJsonSerDe, context) }),
|
|
870
|
+
...(input.OpenXJsonSerDe != null && { OpenXJsonSerDe: se_OpenXJsonSerDe(input.OpenXJsonSerDe, context) }),
|
|
879
871
|
};
|
|
880
872
|
};
|
|
881
|
-
const
|
|
873
|
+
const se_DynamicPartitioningConfiguration = (input, context) => {
|
|
882
874
|
return {
|
|
883
875
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
884
|
-
...(input.RetryOptions != null && { RetryOptions:
|
|
876
|
+
...(input.RetryOptions != null && { RetryOptions: se_RetryOptions(input.RetryOptions, context) }),
|
|
885
877
|
};
|
|
886
878
|
};
|
|
887
|
-
const
|
|
879
|
+
const se_ElasticsearchBufferingHints = (input, context) => {
|
|
888
880
|
return {
|
|
889
881
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
890
882
|
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
891
883
|
};
|
|
892
884
|
};
|
|
893
|
-
const
|
|
885
|
+
const se_ElasticsearchDestinationConfiguration = (input, context) => {
|
|
894
886
|
return {
|
|
895
887
|
...(input.BufferingHints != null && {
|
|
896
|
-
BufferingHints:
|
|
888
|
+
BufferingHints: se_ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
897
889
|
}),
|
|
898
890
|
...(input.CloudWatchLoggingOptions != null && {
|
|
899
|
-
CloudWatchLoggingOptions:
|
|
891
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
900
892
|
}),
|
|
901
893
|
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
902
894
|
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
903
895
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
904
896
|
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
905
897
|
...(input.ProcessingConfiguration != null && {
|
|
906
|
-
ProcessingConfiguration:
|
|
907
|
-
}),
|
|
908
|
-
...(input.RetryOptions != null && {
|
|
909
|
-
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
898
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
910
899
|
}),
|
|
900
|
+
...(input.RetryOptions != null && { RetryOptions: se_ElasticsearchRetryOptions(input.RetryOptions, context) }),
|
|
911
901
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
912
902
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
913
903
|
...(input.S3Configuration != null && {
|
|
914
|
-
S3Configuration:
|
|
904
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
915
905
|
}),
|
|
916
906
|
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
917
|
-
...(input.VpcConfiguration != null && {
|
|
918
|
-
VpcConfiguration: serializeAws_json1_1VpcConfiguration(input.VpcConfiguration, context),
|
|
919
|
-
}),
|
|
907
|
+
...(input.VpcConfiguration != null && { VpcConfiguration: se_VpcConfiguration(input.VpcConfiguration, context) }),
|
|
920
908
|
};
|
|
921
909
|
};
|
|
922
|
-
const
|
|
910
|
+
const se_ElasticsearchDestinationUpdate = (input, context) => {
|
|
923
911
|
return {
|
|
924
912
|
...(input.BufferingHints != null && {
|
|
925
|
-
BufferingHints:
|
|
913
|
+
BufferingHints: se_ElasticsearchBufferingHints(input.BufferingHints, context),
|
|
926
914
|
}),
|
|
927
915
|
...(input.CloudWatchLoggingOptions != null && {
|
|
928
|
-
CloudWatchLoggingOptions:
|
|
916
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
929
917
|
}),
|
|
930
918
|
...(input.ClusterEndpoint != null && { ClusterEndpoint: input.ClusterEndpoint }),
|
|
931
919
|
...(input.DomainARN != null && { DomainARN: input.DomainARN }),
|
|
932
920
|
...(input.IndexName != null && { IndexName: input.IndexName }),
|
|
933
921
|
...(input.IndexRotationPeriod != null && { IndexRotationPeriod: input.IndexRotationPeriod }),
|
|
934
922
|
...(input.ProcessingConfiguration != null && {
|
|
935
|
-
ProcessingConfiguration:
|
|
936
|
-
}),
|
|
937
|
-
...(input.RetryOptions != null && {
|
|
938
|
-
RetryOptions: serializeAws_json1_1ElasticsearchRetryOptions(input.RetryOptions, context),
|
|
923
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
939
924
|
}),
|
|
925
|
+
...(input.RetryOptions != null && { RetryOptions: se_ElasticsearchRetryOptions(input.RetryOptions, context) }),
|
|
940
926
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
941
|
-
...(input.S3Update != null && { S3Update:
|
|
927
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
942
928
|
...(input.TypeName != null && { TypeName: input.TypeName }),
|
|
943
929
|
};
|
|
944
930
|
};
|
|
945
|
-
const
|
|
931
|
+
const se_ElasticsearchRetryOptions = (input, context) => {
|
|
946
932
|
return {
|
|
947
933
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
948
934
|
};
|
|
949
935
|
};
|
|
950
|
-
const
|
|
936
|
+
const se_EncryptionConfiguration = (input, context) => {
|
|
951
937
|
return {
|
|
952
938
|
...(input.KMSEncryptionConfig != null && {
|
|
953
|
-
KMSEncryptionConfig:
|
|
939
|
+
KMSEncryptionConfig: se_KMSEncryptionConfig(input.KMSEncryptionConfig, context),
|
|
954
940
|
}),
|
|
955
941
|
...(input.NoEncryptionConfig != null && { NoEncryptionConfig: input.NoEncryptionConfig }),
|
|
956
942
|
};
|
|
957
943
|
};
|
|
958
|
-
const
|
|
944
|
+
const se_ExtendedS3DestinationConfiguration = (input, context) => {
|
|
959
945
|
return {
|
|
960
946
|
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
961
|
-
...(input.BufferingHints != null && {
|
|
962
|
-
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
963
|
-
}),
|
|
947
|
+
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
964
948
|
...(input.CloudWatchLoggingOptions != null && {
|
|
965
|
-
CloudWatchLoggingOptions:
|
|
949
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
966
950
|
}),
|
|
967
951
|
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
968
952
|
...(input.DataFormatConversionConfiguration != null && {
|
|
969
|
-
DataFormatConversionConfiguration:
|
|
953
|
+
DataFormatConversionConfiguration: se_DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
970
954
|
}),
|
|
971
955
|
...(input.DynamicPartitioningConfiguration != null && {
|
|
972
|
-
DynamicPartitioningConfiguration:
|
|
956
|
+
DynamicPartitioningConfiguration: se_DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
973
957
|
}),
|
|
974
958
|
...(input.EncryptionConfiguration != null && {
|
|
975
|
-
EncryptionConfiguration:
|
|
959
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
976
960
|
}),
|
|
977
961
|
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
978
962
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
979
963
|
...(input.ProcessingConfiguration != null && {
|
|
980
|
-
ProcessingConfiguration:
|
|
964
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
981
965
|
}),
|
|
982
966
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
983
967
|
...(input.S3BackupConfiguration != null && {
|
|
984
|
-
S3BackupConfiguration:
|
|
968
|
+
S3BackupConfiguration: se_S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
985
969
|
}),
|
|
986
970
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
987
971
|
};
|
|
988
972
|
};
|
|
989
|
-
const
|
|
973
|
+
const se_ExtendedS3DestinationUpdate = (input, context) => {
|
|
990
974
|
return {
|
|
991
975
|
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
992
|
-
...(input.BufferingHints != null && {
|
|
993
|
-
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
994
|
-
}),
|
|
976
|
+
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
995
977
|
...(input.CloudWatchLoggingOptions != null && {
|
|
996
|
-
CloudWatchLoggingOptions:
|
|
978
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
997
979
|
}),
|
|
998
980
|
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
999
981
|
...(input.DataFormatConversionConfiguration != null && {
|
|
1000
|
-
DataFormatConversionConfiguration:
|
|
982
|
+
DataFormatConversionConfiguration: se_DataFormatConversionConfiguration(input.DataFormatConversionConfiguration, context),
|
|
1001
983
|
}),
|
|
1002
984
|
...(input.DynamicPartitioningConfiguration != null && {
|
|
1003
|
-
DynamicPartitioningConfiguration:
|
|
985
|
+
DynamicPartitioningConfiguration: se_DynamicPartitioningConfiguration(input.DynamicPartitioningConfiguration, context),
|
|
1004
986
|
}),
|
|
1005
987
|
...(input.EncryptionConfiguration != null && {
|
|
1006
|
-
EncryptionConfiguration:
|
|
988
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1007
989
|
}),
|
|
1008
990
|
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1009
991
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1010
992
|
...(input.ProcessingConfiguration != null && {
|
|
1011
|
-
ProcessingConfiguration:
|
|
993
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1012
994
|
}),
|
|
1013
995
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1014
996
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1015
|
-
...(input.S3BackupUpdate != null && {
|
|
1016
|
-
S3BackupUpdate: serializeAws_json1_1S3DestinationUpdate(input.S3BackupUpdate, context),
|
|
1017
|
-
}),
|
|
997
|
+
...(input.S3BackupUpdate != null && { S3BackupUpdate: se_S3DestinationUpdate(input.S3BackupUpdate, context) }),
|
|
1018
998
|
};
|
|
1019
999
|
};
|
|
1020
|
-
const
|
|
1000
|
+
const se_HiveJsonSerDe = (input, context) => {
|
|
1021
1001
|
return {
|
|
1022
1002
|
...(input.TimestampFormats != null && {
|
|
1023
|
-
TimestampFormats:
|
|
1003
|
+
TimestampFormats: se_ListOfNonEmptyStrings(input.TimestampFormats, context),
|
|
1024
1004
|
}),
|
|
1025
1005
|
};
|
|
1026
1006
|
};
|
|
1027
|
-
const
|
|
1007
|
+
const se_HttpEndpointBufferingHints = (input, context) => {
|
|
1028
1008
|
return {
|
|
1029
1009
|
...(input.IntervalInSeconds != null && { IntervalInSeconds: input.IntervalInSeconds }),
|
|
1030
1010
|
...(input.SizeInMBs != null && { SizeInMBs: input.SizeInMBs }),
|
|
1031
1011
|
};
|
|
1032
1012
|
};
|
|
1033
|
-
const
|
|
1013
|
+
const se_HttpEndpointCommonAttribute = (input, context) => {
|
|
1034
1014
|
return {
|
|
1035
1015
|
...(input.AttributeName != null && { AttributeName: input.AttributeName }),
|
|
1036
1016
|
...(input.AttributeValue != null && { AttributeValue: input.AttributeValue }),
|
|
1037
1017
|
};
|
|
1038
1018
|
};
|
|
1039
|
-
const
|
|
1019
|
+
const se_HttpEndpointCommonAttributesList = (input, context) => {
|
|
1040
1020
|
return input
|
|
1041
1021
|
.filter((e) => e != null)
|
|
1042
1022
|
.map((entry) => {
|
|
1043
|
-
return
|
|
1023
|
+
return se_HttpEndpointCommonAttribute(entry, context);
|
|
1044
1024
|
});
|
|
1045
1025
|
};
|
|
1046
|
-
const
|
|
1026
|
+
const se_HttpEndpointConfiguration = (input, context) => {
|
|
1047
1027
|
return {
|
|
1048
1028
|
...(input.AccessKey != null && { AccessKey: input.AccessKey }),
|
|
1049
1029
|
...(input.Name != null && { Name: input.Name }),
|
|
1050
1030
|
...(input.Url != null && { Url: input.Url }),
|
|
1051
1031
|
};
|
|
1052
1032
|
};
|
|
1053
|
-
const
|
|
1033
|
+
const se_HttpEndpointDestinationConfiguration = (input, context) => {
|
|
1054
1034
|
return {
|
|
1055
1035
|
...(input.BufferingHints != null && {
|
|
1056
|
-
BufferingHints:
|
|
1036
|
+
BufferingHints: se_HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1057
1037
|
}),
|
|
1058
1038
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1059
|
-
CloudWatchLoggingOptions:
|
|
1039
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1060
1040
|
}),
|
|
1061
1041
|
...(input.EndpointConfiguration != null && {
|
|
1062
|
-
EndpointConfiguration:
|
|
1042
|
+
EndpointConfiguration: se_HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1063
1043
|
}),
|
|
1064
1044
|
...(input.ProcessingConfiguration != null && {
|
|
1065
|
-
ProcessingConfiguration:
|
|
1045
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1066
1046
|
}),
|
|
1067
1047
|
...(input.RequestConfiguration != null && {
|
|
1068
|
-
RequestConfiguration:
|
|
1069
|
-
}),
|
|
1070
|
-
...(input.RetryOptions != null && {
|
|
1071
|
-
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1048
|
+
RequestConfiguration: se_HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1072
1049
|
}),
|
|
1050
|
+
...(input.RetryOptions != null && { RetryOptions: se_HttpEndpointRetryOptions(input.RetryOptions, context) }),
|
|
1073
1051
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1074
1052
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1075
1053
|
...(input.S3Configuration != null && {
|
|
1076
|
-
S3Configuration:
|
|
1054
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1077
1055
|
}),
|
|
1078
1056
|
};
|
|
1079
1057
|
};
|
|
1080
|
-
const
|
|
1058
|
+
const se_HttpEndpointDestinationUpdate = (input, context) => {
|
|
1081
1059
|
return {
|
|
1082
1060
|
...(input.BufferingHints != null && {
|
|
1083
|
-
BufferingHints:
|
|
1061
|
+
BufferingHints: se_HttpEndpointBufferingHints(input.BufferingHints, context),
|
|
1084
1062
|
}),
|
|
1085
1063
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1086
|
-
CloudWatchLoggingOptions:
|
|
1064
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1087
1065
|
}),
|
|
1088
1066
|
...(input.EndpointConfiguration != null && {
|
|
1089
|
-
EndpointConfiguration:
|
|
1067
|
+
EndpointConfiguration: se_HttpEndpointConfiguration(input.EndpointConfiguration, context),
|
|
1090
1068
|
}),
|
|
1091
1069
|
...(input.ProcessingConfiguration != null && {
|
|
1092
|
-
ProcessingConfiguration:
|
|
1070
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1093
1071
|
}),
|
|
1094
1072
|
...(input.RequestConfiguration != null && {
|
|
1095
|
-
RequestConfiguration:
|
|
1096
|
-
}),
|
|
1097
|
-
...(input.RetryOptions != null && {
|
|
1098
|
-
RetryOptions: serializeAws_json1_1HttpEndpointRetryOptions(input.RetryOptions, context),
|
|
1073
|
+
RequestConfiguration: se_HttpEndpointRequestConfiguration(input.RequestConfiguration, context),
|
|
1099
1074
|
}),
|
|
1075
|
+
...(input.RetryOptions != null && { RetryOptions: se_HttpEndpointRetryOptions(input.RetryOptions, context) }),
|
|
1100
1076
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1101
1077
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1102
|
-
...(input.S3Update != null && { S3Update:
|
|
1078
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1103
1079
|
};
|
|
1104
1080
|
};
|
|
1105
|
-
const
|
|
1081
|
+
const se_HttpEndpointRequestConfiguration = (input, context) => {
|
|
1106
1082
|
return {
|
|
1107
1083
|
...(input.CommonAttributes != null && {
|
|
1108
|
-
CommonAttributes:
|
|
1084
|
+
CommonAttributes: se_HttpEndpointCommonAttributesList(input.CommonAttributes, context),
|
|
1109
1085
|
}),
|
|
1110
1086
|
...(input.ContentEncoding != null && { ContentEncoding: input.ContentEncoding }),
|
|
1111
1087
|
};
|
|
1112
1088
|
};
|
|
1113
|
-
const
|
|
1089
|
+
const se_HttpEndpointRetryOptions = (input, context) => {
|
|
1114
1090
|
return {
|
|
1115
1091
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1116
1092
|
};
|
|
1117
1093
|
};
|
|
1118
|
-
const
|
|
1094
|
+
const se_InputFormatConfiguration = (input, context) => {
|
|
1119
1095
|
return {
|
|
1120
|
-
...(input.Deserializer != null && { Deserializer:
|
|
1096
|
+
...(input.Deserializer != null && { Deserializer: se_Deserializer(input.Deserializer, context) }),
|
|
1121
1097
|
};
|
|
1122
1098
|
};
|
|
1123
|
-
const
|
|
1099
|
+
const se_KinesisStreamSourceConfiguration = (input, context) => {
|
|
1124
1100
|
return {
|
|
1125
1101
|
...(input.KinesisStreamARN != null && { KinesisStreamARN: input.KinesisStreamARN }),
|
|
1126
1102
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1127
1103
|
};
|
|
1128
1104
|
};
|
|
1129
|
-
const
|
|
1105
|
+
const se_KMSEncryptionConfig = (input, context) => {
|
|
1130
1106
|
return {
|
|
1131
1107
|
...(input.AWSKMSKeyARN != null && { AWSKMSKeyARN: input.AWSKMSKeyARN }),
|
|
1132
1108
|
};
|
|
1133
1109
|
};
|
|
1134
|
-
const
|
|
1110
|
+
const se_ListDeliveryStreamsInput = (input, context) => {
|
|
1135
1111
|
return {
|
|
1136
1112
|
...(input.DeliveryStreamType != null && { DeliveryStreamType: input.DeliveryStreamType }),
|
|
1137
1113
|
...(input.ExclusiveStartDeliveryStreamName != null && {
|
|
@@ -1140,43 +1116,43 @@ const serializeAws_json1_1ListDeliveryStreamsInput = (input, context) => {
|
|
|
1140
1116
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
1141
1117
|
};
|
|
1142
1118
|
};
|
|
1143
|
-
const
|
|
1119
|
+
const se_ListOfNonEmptyStrings = (input, context) => {
|
|
1144
1120
|
return input
|
|
1145
1121
|
.filter((e) => e != null)
|
|
1146
1122
|
.map((entry) => {
|
|
1147
1123
|
return entry;
|
|
1148
1124
|
});
|
|
1149
1125
|
};
|
|
1150
|
-
const
|
|
1126
|
+
const se_ListOfNonEmptyStringsWithoutWhitespace = (input, context) => {
|
|
1151
1127
|
return input
|
|
1152
1128
|
.filter((e) => e != null)
|
|
1153
1129
|
.map((entry) => {
|
|
1154
1130
|
return entry;
|
|
1155
1131
|
});
|
|
1156
1132
|
};
|
|
1157
|
-
const
|
|
1133
|
+
const se_ListTagsForDeliveryStreamInput = (input, context) => {
|
|
1158
1134
|
return {
|
|
1159
1135
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1160
1136
|
...(input.ExclusiveStartTagKey != null && { ExclusiveStartTagKey: input.ExclusiveStartTagKey }),
|
|
1161
1137
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
1162
1138
|
};
|
|
1163
1139
|
};
|
|
1164
|
-
const
|
|
1140
|
+
const se_OpenXJsonSerDe = (input, context) => {
|
|
1165
1141
|
return {
|
|
1166
1142
|
...(input.CaseInsensitive != null && { CaseInsensitive: input.CaseInsensitive }),
|
|
1167
1143
|
...(input.ColumnToJsonKeyMappings != null && {
|
|
1168
|
-
ColumnToJsonKeyMappings:
|
|
1144
|
+
ColumnToJsonKeyMappings: se_ColumnToJsonKeyMappings(input.ColumnToJsonKeyMappings, context),
|
|
1169
1145
|
}),
|
|
1170
1146
|
...(input.ConvertDotsInJsonKeysToUnderscores != null && {
|
|
1171
1147
|
ConvertDotsInJsonKeysToUnderscores: input.ConvertDotsInJsonKeysToUnderscores,
|
|
1172
1148
|
}),
|
|
1173
1149
|
};
|
|
1174
1150
|
};
|
|
1175
|
-
const
|
|
1151
|
+
const se_OrcSerDe = (input, context) => {
|
|
1176
1152
|
return {
|
|
1177
1153
|
...(input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes }),
|
|
1178
1154
|
...(input.BloomFilterColumns != null && {
|
|
1179
|
-
BloomFilterColumns:
|
|
1155
|
+
BloomFilterColumns: se_ListOfNonEmptyStringsWithoutWhitespace(input.BloomFilterColumns, context),
|
|
1180
1156
|
}),
|
|
1181
1157
|
...(input.BloomFilterFalsePositiveProbability != null && {
|
|
1182
1158
|
BloomFilterFalsePositiveProbability: __serializeFloat(input.BloomFilterFalsePositiveProbability),
|
|
@@ -1192,12 +1168,12 @@ const serializeAws_json1_1OrcSerDe = (input, context) => {
|
|
|
1192
1168
|
...(input.StripeSizeBytes != null && { StripeSizeBytes: input.StripeSizeBytes }),
|
|
1193
1169
|
};
|
|
1194
1170
|
};
|
|
1195
|
-
const
|
|
1171
|
+
const se_OutputFormatConfiguration = (input, context) => {
|
|
1196
1172
|
return {
|
|
1197
|
-
...(input.Serializer != null && { Serializer:
|
|
1173
|
+
...(input.Serializer != null && { Serializer: se_Serializer(input.Serializer, context) }),
|
|
1198
1174
|
};
|
|
1199
1175
|
};
|
|
1200
|
-
const
|
|
1176
|
+
const se_ParquetSerDe = (input, context) => {
|
|
1201
1177
|
return {
|
|
1202
1178
|
...(input.BlockSizeBytes != null && { BlockSizeBytes: input.BlockSizeBytes }),
|
|
1203
1179
|
...(input.Compression != null && { Compression: input.Compression }),
|
|
@@ -1209,161 +1185,147 @@ const serializeAws_json1_1ParquetSerDe = (input, context) => {
|
|
|
1209
1185
|
...(input.WriterVersion != null && { WriterVersion: input.WriterVersion }),
|
|
1210
1186
|
};
|
|
1211
1187
|
};
|
|
1212
|
-
const
|
|
1188
|
+
const se_ProcessingConfiguration = (input, context) => {
|
|
1213
1189
|
return {
|
|
1214
1190
|
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
1215
|
-
...(input.Processors != null && { Processors:
|
|
1191
|
+
...(input.Processors != null && { Processors: se_ProcessorList(input.Processors, context) }),
|
|
1216
1192
|
};
|
|
1217
1193
|
};
|
|
1218
|
-
const
|
|
1194
|
+
const se_Processor = (input, context) => {
|
|
1219
1195
|
return {
|
|
1220
|
-
...(input.Parameters != null && {
|
|
1221
|
-
Parameters: serializeAws_json1_1ProcessorParameterList(input.Parameters, context),
|
|
1222
|
-
}),
|
|
1196
|
+
...(input.Parameters != null && { Parameters: se_ProcessorParameterList(input.Parameters, context) }),
|
|
1223
1197
|
...(input.Type != null && { Type: input.Type }),
|
|
1224
1198
|
};
|
|
1225
1199
|
};
|
|
1226
|
-
const
|
|
1200
|
+
const se_ProcessorList = (input, context) => {
|
|
1227
1201
|
return input
|
|
1228
1202
|
.filter((e) => e != null)
|
|
1229
1203
|
.map((entry) => {
|
|
1230
|
-
return
|
|
1204
|
+
return se_Processor(entry, context);
|
|
1231
1205
|
});
|
|
1232
1206
|
};
|
|
1233
|
-
const
|
|
1207
|
+
const se_ProcessorParameter = (input, context) => {
|
|
1234
1208
|
return {
|
|
1235
1209
|
...(input.ParameterName != null && { ParameterName: input.ParameterName }),
|
|
1236
1210
|
...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
|
|
1237
1211
|
};
|
|
1238
1212
|
};
|
|
1239
|
-
const
|
|
1213
|
+
const se_ProcessorParameterList = (input, context) => {
|
|
1240
1214
|
return input
|
|
1241
1215
|
.filter((e) => e != null)
|
|
1242
1216
|
.map((entry) => {
|
|
1243
|
-
return
|
|
1217
|
+
return se_ProcessorParameter(entry, context);
|
|
1244
1218
|
});
|
|
1245
1219
|
};
|
|
1246
|
-
const
|
|
1220
|
+
const se_PutRecordBatchInput = (input, context) => {
|
|
1247
1221
|
return {
|
|
1248
1222
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1249
|
-
...(input.Records != null && {
|
|
1250
|
-
Records: serializeAws_json1_1PutRecordBatchRequestEntryList(input.Records, context),
|
|
1251
|
-
}),
|
|
1223
|
+
...(input.Records != null && { Records: se_PutRecordBatchRequestEntryList(input.Records, context) }),
|
|
1252
1224
|
};
|
|
1253
1225
|
};
|
|
1254
|
-
const
|
|
1226
|
+
const se_PutRecordBatchRequestEntryList = (input, context) => {
|
|
1255
1227
|
return input
|
|
1256
1228
|
.filter((e) => e != null)
|
|
1257
1229
|
.map((entry) => {
|
|
1258
|
-
return
|
|
1230
|
+
return se__Record(entry, context);
|
|
1259
1231
|
});
|
|
1260
1232
|
};
|
|
1261
|
-
const
|
|
1233
|
+
const se_PutRecordInput = (input, context) => {
|
|
1262
1234
|
return {
|
|
1263
1235
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1264
|
-
...(input.Record != null && { Record:
|
|
1236
|
+
...(input.Record != null && { Record: se__Record(input.Record, context) }),
|
|
1265
1237
|
};
|
|
1266
1238
|
};
|
|
1267
|
-
const
|
|
1239
|
+
const se__Record = (input, context) => {
|
|
1268
1240
|
return {
|
|
1269
1241
|
...(input.Data != null && { Data: context.base64Encoder(input.Data) }),
|
|
1270
1242
|
};
|
|
1271
1243
|
};
|
|
1272
|
-
const
|
|
1244
|
+
const se_RedshiftDestinationConfiguration = (input, context) => {
|
|
1273
1245
|
return {
|
|
1274
1246
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1275
|
-
CloudWatchLoggingOptions:
|
|
1247
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1276
1248
|
}),
|
|
1277
1249
|
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1278
|
-
...(input.CopyCommand != null && { CopyCommand:
|
|
1250
|
+
...(input.CopyCommand != null && { CopyCommand: se_CopyCommand(input.CopyCommand, context) }),
|
|
1279
1251
|
...(input.Password != null && { Password: input.Password }),
|
|
1280
1252
|
...(input.ProcessingConfiguration != null && {
|
|
1281
|
-
ProcessingConfiguration:
|
|
1282
|
-
}),
|
|
1283
|
-
...(input.RetryOptions != null && {
|
|
1284
|
-
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1253
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1285
1254
|
}),
|
|
1255
|
+
...(input.RetryOptions != null && { RetryOptions: se_RedshiftRetryOptions(input.RetryOptions, context) }),
|
|
1286
1256
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1287
1257
|
...(input.S3BackupConfiguration != null && {
|
|
1288
|
-
S3BackupConfiguration:
|
|
1258
|
+
S3BackupConfiguration: se_S3DestinationConfiguration(input.S3BackupConfiguration, context),
|
|
1289
1259
|
}),
|
|
1290
1260
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1291
1261
|
...(input.S3Configuration != null && {
|
|
1292
|
-
S3Configuration:
|
|
1262
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1293
1263
|
}),
|
|
1294
1264
|
...(input.Username != null && { Username: input.Username }),
|
|
1295
1265
|
};
|
|
1296
1266
|
};
|
|
1297
|
-
const
|
|
1267
|
+
const se_RedshiftDestinationUpdate = (input, context) => {
|
|
1298
1268
|
return {
|
|
1299
1269
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1300
|
-
CloudWatchLoggingOptions:
|
|
1270
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1301
1271
|
}),
|
|
1302
1272
|
...(input.ClusterJDBCURL != null && { ClusterJDBCURL: input.ClusterJDBCURL }),
|
|
1303
|
-
...(input.CopyCommand != null && { CopyCommand:
|
|
1273
|
+
...(input.CopyCommand != null && { CopyCommand: se_CopyCommand(input.CopyCommand, context) }),
|
|
1304
1274
|
...(input.Password != null && { Password: input.Password }),
|
|
1305
1275
|
...(input.ProcessingConfiguration != null && {
|
|
1306
|
-
ProcessingConfiguration:
|
|
1307
|
-
}),
|
|
1308
|
-
...(input.RetryOptions != null && {
|
|
1309
|
-
RetryOptions: serializeAws_json1_1RedshiftRetryOptions(input.RetryOptions, context),
|
|
1276
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1310
1277
|
}),
|
|
1278
|
+
...(input.RetryOptions != null && { RetryOptions: se_RedshiftRetryOptions(input.RetryOptions, context) }),
|
|
1311
1279
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1312
1280
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1313
|
-
...(input.S3BackupUpdate != null && {
|
|
1314
|
-
|
|
1315
|
-
}),
|
|
1316
|
-
...(input.S3Update != null && { S3Update: serializeAws_json1_1S3DestinationUpdate(input.S3Update, context) }),
|
|
1281
|
+
...(input.S3BackupUpdate != null && { S3BackupUpdate: se_S3DestinationUpdate(input.S3BackupUpdate, context) }),
|
|
1282
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1317
1283
|
...(input.Username != null && { Username: input.Username }),
|
|
1318
1284
|
};
|
|
1319
1285
|
};
|
|
1320
|
-
const
|
|
1286
|
+
const se_RedshiftRetryOptions = (input, context) => {
|
|
1321
1287
|
return {
|
|
1322
1288
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1323
1289
|
};
|
|
1324
1290
|
};
|
|
1325
|
-
const
|
|
1291
|
+
const se_RetryOptions = (input, context) => {
|
|
1326
1292
|
return {
|
|
1327
1293
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1328
1294
|
};
|
|
1329
1295
|
};
|
|
1330
|
-
const
|
|
1296
|
+
const se_S3DestinationConfiguration = (input, context) => {
|
|
1331
1297
|
return {
|
|
1332
1298
|
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1333
|
-
...(input.BufferingHints != null && {
|
|
1334
|
-
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1335
|
-
}),
|
|
1299
|
+
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
1336
1300
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1337
|
-
CloudWatchLoggingOptions:
|
|
1301
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1338
1302
|
}),
|
|
1339
1303
|
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1340
1304
|
...(input.EncryptionConfiguration != null && {
|
|
1341
|
-
EncryptionConfiguration:
|
|
1305
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1342
1306
|
}),
|
|
1343
1307
|
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1344
1308
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1345
1309
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1346
1310
|
};
|
|
1347
1311
|
};
|
|
1348
|
-
const
|
|
1312
|
+
const se_S3DestinationUpdate = (input, context) => {
|
|
1349
1313
|
return {
|
|
1350
1314
|
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1351
|
-
...(input.BufferingHints != null && {
|
|
1352
|
-
BufferingHints: serializeAws_json1_1BufferingHints(input.BufferingHints, context),
|
|
1353
|
-
}),
|
|
1315
|
+
...(input.BufferingHints != null && { BufferingHints: se_BufferingHints(input.BufferingHints, context) }),
|
|
1354
1316
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1355
|
-
CloudWatchLoggingOptions:
|
|
1317
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1356
1318
|
}),
|
|
1357
1319
|
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
1358
1320
|
...(input.EncryptionConfiguration != null && {
|
|
1359
|
-
EncryptionConfiguration:
|
|
1321
|
+
EncryptionConfiguration: se_EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1360
1322
|
}),
|
|
1361
1323
|
...(input.ErrorOutputPrefix != null && { ErrorOutputPrefix: input.ErrorOutputPrefix }),
|
|
1362
1324
|
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1363
1325
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1364
1326
|
};
|
|
1365
1327
|
};
|
|
1366
|
-
const
|
|
1328
|
+
const se_SchemaConfiguration = (input, context) => {
|
|
1367
1329
|
return {
|
|
1368
1330
|
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
1369
1331
|
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
@@ -1373,23 +1335,23 @@ const serializeAws_json1_1SchemaConfiguration = (input, context) => {
|
|
|
1373
1335
|
...(input.VersionId != null && { VersionId: input.VersionId }),
|
|
1374
1336
|
};
|
|
1375
1337
|
};
|
|
1376
|
-
const
|
|
1338
|
+
const se_SecurityGroupIdList = (input, context) => {
|
|
1377
1339
|
return input
|
|
1378
1340
|
.filter((e) => e != null)
|
|
1379
1341
|
.map((entry) => {
|
|
1380
1342
|
return entry;
|
|
1381
1343
|
});
|
|
1382
1344
|
};
|
|
1383
|
-
const
|
|
1345
|
+
const se_Serializer = (input, context) => {
|
|
1384
1346
|
return {
|
|
1385
|
-
...(input.OrcSerDe != null && { OrcSerDe:
|
|
1386
|
-
...(input.ParquetSerDe != null && { ParquetSerDe:
|
|
1347
|
+
...(input.OrcSerDe != null && { OrcSerDe: se_OrcSerDe(input.OrcSerDe, context) }),
|
|
1348
|
+
...(input.ParquetSerDe != null && { ParquetSerDe: se_ParquetSerDe(input.ParquetSerDe, context) }),
|
|
1387
1349
|
};
|
|
1388
1350
|
};
|
|
1389
|
-
const
|
|
1351
|
+
const se_SplunkDestinationConfiguration = (input, context) => {
|
|
1390
1352
|
return {
|
|
1391
1353
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1392
|
-
CloudWatchLoggingOptions:
|
|
1354
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1393
1355
|
}),
|
|
1394
1356
|
...(input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1395
1357
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
@@ -1398,21 +1360,19 @@ const serializeAws_json1_1SplunkDestinationConfiguration = (input, context) => {
|
|
|
1398
1360
|
...(input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType }),
|
|
1399
1361
|
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1400
1362
|
...(input.ProcessingConfiguration != null && {
|
|
1401
|
-
ProcessingConfiguration:
|
|
1402
|
-
}),
|
|
1403
|
-
...(input.RetryOptions != null && {
|
|
1404
|
-
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1363
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1405
1364
|
}),
|
|
1365
|
+
...(input.RetryOptions != null && { RetryOptions: se_SplunkRetryOptions(input.RetryOptions, context) }),
|
|
1406
1366
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1407
1367
|
...(input.S3Configuration != null && {
|
|
1408
|
-
S3Configuration:
|
|
1368
|
+
S3Configuration: se_S3DestinationConfiguration(input.S3Configuration, context),
|
|
1409
1369
|
}),
|
|
1410
1370
|
};
|
|
1411
1371
|
};
|
|
1412
|
-
const
|
|
1372
|
+
const se_SplunkDestinationUpdate = (input, context) => {
|
|
1413
1373
|
return {
|
|
1414
1374
|
...(input.CloudWatchLoggingOptions != null && {
|
|
1415
|
-
CloudWatchLoggingOptions:
|
|
1375
|
+
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1416
1376
|
}),
|
|
1417
1377
|
...(input.HECAcknowledgmentTimeoutInSeconds != null && {
|
|
1418
1378
|
HECAcknowledgmentTimeoutInSeconds: input.HECAcknowledgmentTimeoutInSeconds,
|
|
@@ -1421,79 +1381,77 @@ const serializeAws_json1_1SplunkDestinationUpdate = (input, context) => {
|
|
|
1421
1381
|
...(input.HECEndpointType != null && { HECEndpointType: input.HECEndpointType }),
|
|
1422
1382
|
...(input.HECToken != null && { HECToken: input.HECToken }),
|
|
1423
1383
|
...(input.ProcessingConfiguration != null && {
|
|
1424
|
-
ProcessingConfiguration:
|
|
1425
|
-
}),
|
|
1426
|
-
...(input.RetryOptions != null && {
|
|
1427
|
-
RetryOptions: serializeAws_json1_1SplunkRetryOptions(input.RetryOptions, context),
|
|
1384
|
+
ProcessingConfiguration: se_ProcessingConfiguration(input.ProcessingConfiguration, context),
|
|
1428
1385
|
}),
|
|
1386
|
+
...(input.RetryOptions != null && { RetryOptions: se_SplunkRetryOptions(input.RetryOptions, context) }),
|
|
1429
1387
|
...(input.S3BackupMode != null && { S3BackupMode: input.S3BackupMode }),
|
|
1430
|
-
...(input.S3Update != null && { S3Update:
|
|
1388
|
+
...(input.S3Update != null && { S3Update: se_S3DestinationUpdate(input.S3Update, context) }),
|
|
1431
1389
|
};
|
|
1432
1390
|
};
|
|
1433
|
-
const
|
|
1391
|
+
const se_SplunkRetryOptions = (input, context) => {
|
|
1434
1392
|
return {
|
|
1435
1393
|
...(input.DurationInSeconds != null && { DurationInSeconds: input.DurationInSeconds }),
|
|
1436
1394
|
};
|
|
1437
1395
|
};
|
|
1438
|
-
const
|
|
1396
|
+
const se_StartDeliveryStreamEncryptionInput = (input, context) => {
|
|
1439
1397
|
return {
|
|
1440
1398
|
...(input.DeliveryStreamEncryptionConfigurationInput != null && {
|
|
1441
|
-
DeliveryStreamEncryptionConfigurationInput:
|
|
1399
|
+
DeliveryStreamEncryptionConfigurationInput: se_DeliveryStreamEncryptionConfigurationInput(input.DeliveryStreamEncryptionConfigurationInput, context),
|
|
1442
1400
|
}),
|
|
1443
1401
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1444
1402
|
};
|
|
1445
1403
|
};
|
|
1446
|
-
const
|
|
1404
|
+
const se_StopDeliveryStreamEncryptionInput = (input, context) => {
|
|
1447
1405
|
return {
|
|
1448
1406
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1449
1407
|
};
|
|
1450
1408
|
};
|
|
1451
|
-
const
|
|
1409
|
+
const se_SubnetIdList = (input, context) => {
|
|
1452
1410
|
return input
|
|
1453
1411
|
.filter((e) => e != null)
|
|
1454
1412
|
.map((entry) => {
|
|
1455
1413
|
return entry;
|
|
1456
1414
|
});
|
|
1457
1415
|
};
|
|
1458
|
-
const
|
|
1416
|
+
const se_Tag = (input, context) => {
|
|
1459
1417
|
return {
|
|
1460
1418
|
...(input.Key != null && { Key: input.Key }),
|
|
1461
1419
|
...(input.Value != null && { Value: input.Value }),
|
|
1462
1420
|
};
|
|
1463
1421
|
};
|
|
1464
|
-
const
|
|
1422
|
+
const se_TagDeliveryStreamInput = (input, context) => {
|
|
1465
1423
|
return {
|
|
1466
1424
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1467
|
-
...(input.Tags != null && { Tags:
|
|
1425
|
+
...(input.Tags != null && { Tags: se_TagDeliveryStreamInputTagList(input.Tags, context) }),
|
|
1468
1426
|
};
|
|
1469
1427
|
};
|
|
1470
|
-
const
|
|
1428
|
+
const se_TagDeliveryStreamInputTagList = (input, context) => {
|
|
1471
1429
|
return input
|
|
1472
1430
|
.filter((e) => e != null)
|
|
1473
1431
|
.map((entry) => {
|
|
1474
|
-
return
|
|
1432
|
+
return se_Tag(entry, context);
|
|
1475
1433
|
});
|
|
1476
1434
|
};
|
|
1477
|
-
const
|
|
1435
|
+
const se_TagKeyList = (input, context) => {
|
|
1478
1436
|
return input
|
|
1479
1437
|
.filter((e) => e != null)
|
|
1480
1438
|
.map((entry) => {
|
|
1481
1439
|
return entry;
|
|
1482
1440
|
});
|
|
1483
1441
|
};
|
|
1484
|
-
const
|
|
1442
|
+
const se_UntagDeliveryStreamInput = (input, context) => {
|
|
1485
1443
|
return {
|
|
1486
1444
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1487
|
-
...(input.TagKeys != null && { TagKeys:
|
|
1445
|
+
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
1488
1446
|
};
|
|
1489
1447
|
};
|
|
1490
|
-
const
|
|
1448
|
+
const se_UpdateDestinationInput = (input, context) => {
|
|
1491
1449
|
return {
|
|
1492
1450
|
...(input.AmazonOpenSearchServerlessDestinationUpdate != null && {
|
|
1493
|
-
AmazonOpenSearchServerlessDestinationUpdate:
|
|
1451
|
+
AmazonOpenSearchServerlessDestinationUpdate: se_AmazonOpenSearchServerlessDestinationUpdate(input.AmazonOpenSearchServerlessDestinationUpdate, context),
|
|
1494
1452
|
}),
|
|
1495
1453
|
...(input.AmazonopensearchserviceDestinationUpdate != null && {
|
|
1496
|
-
AmazonopensearchserviceDestinationUpdate:
|
|
1454
|
+
AmazonopensearchserviceDestinationUpdate: se_AmazonopensearchserviceDestinationUpdate(input.AmazonopensearchserviceDestinationUpdate, context),
|
|
1497
1455
|
}),
|
|
1498
1456
|
...(input.CurrentDeliveryStreamVersionId != null && {
|
|
1499
1457
|
CurrentDeliveryStreamVersionId: input.CurrentDeliveryStreamVersionId,
|
|
@@ -1501,125 +1459,121 @@ const serializeAws_json1_1UpdateDestinationInput = (input, context) => {
|
|
|
1501
1459
|
...(input.DeliveryStreamName != null && { DeliveryStreamName: input.DeliveryStreamName }),
|
|
1502
1460
|
...(input.DestinationId != null && { DestinationId: input.DestinationId }),
|
|
1503
1461
|
...(input.ElasticsearchDestinationUpdate != null && {
|
|
1504
|
-
ElasticsearchDestinationUpdate:
|
|
1462
|
+
ElasticsearchDestinationUpdate: se_ElasticsearchDestinationUpdate(input.ElasticsearchDestinationUpdate, context),
|
|
1505
1463
|
}),
|
|
1506
1464
|
...(input.ExtendedS3DestinationUpdate != null && {
|
|
1507
|
-
ExtendedS3DestinationUpdate:
|
|
1465
|
+
ExtendedS3DestinationUpdate: se_ExtendedS3DestinationUpdate(input.ExtendedS3DestinationUpdate, context),
|
|
1508
1466
|
}),
|
|
1509
1467
|
...(input.HttpEndpointDestinationUpdate != null && {
|
|
1510
|
-
HttpEndpointDestinationUpdate:
|
|
1468
|
+
HttpEndpointDestinationUpdate: se_HttpEndpointDestinationUpdate(input.HttpEndpointDestinationUpdate, context),
|
|
1511
1469
|
}),
|
|
1512
1470
|
...(input.RedshiftDestinationUpdate != null && {
|
|
1513
|
-
RedshiftDestinationUpdate:
|
|
1471
|
+
RedshiftDestinationUpdate: se_RedshiftDestinationUpdate(input.RedshiftDestinationUpdate, context),
|
|
1514
1472
|
}),
|
|
1515
1473
|
...(input.S3DestinationUpdate != null && {
|
|
1516
|
-
S3DestinationUpdate:
|
|
1474
|
+
S3DestinationUpdate: se_S3DestinationUpdate(input.S3DestinationUpdate, context),
|
|
1517
1475
|
}),
|
|
1518
1476
|
...(input.SplunkDestinationUpdate != null && {
|
|
1519
|
-
SplunkDestinationUpdate:
|
|
1477
|
+
SplunkDestinationUpdate: se_SplunkDestinationUpdate(input.SplunkDestinationUpdate, context),
|
|
1520
1478
|
}),
|
|
1521
1479
|
};
|
|
1522
1480
|
};
|
|
1523
|
-
const
|
|
1481
|
+
const se_VpcConfiguration = (input, context) => {
|
|
1524
1482
|
return {
|
|
1525
1483
|
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1526
1484
|
...(input.SecurityGroupIds != null && {
|
|
1527
|
-
SecurityGroupIds:
|
|
1485
|
+
SecurityGroupIds: se_SecurityGroupIdList(input.SecurityGroupIds, context),
|
|
1528
1486
|
}),
|
|
1529
|
-
...(input.SubnetIds != null && { SubnetIds:
|
|
1487
|
+
...(input.SubnetIds != null && { SubnetIds: se_SubnetIdList(input.SubnetIds, context) }),
|
|
1530
1488
|
};
|
|
1531
1489
|
};
|
|
1532
|
-
const
|
|
1490
|
+
const de_AmazonOpenSearchServerlessBufferingHints = (output, context) => {
|
|
1533
1491
|
return {
|
|
1534
1492
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1535
1493
|
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1536
1494
|
};
|
|
1537
1495
|
};
|
|
1538
|
-
const
|
|
1496
|
+
const de_AmazonOpenSearchServerlessDestinationDescription = (output, context) => {
|
|
1539
1497
|
return {
|
|
1540
1498
|
BufferingHints: output.BufferingHints != null
|
|
1541
|
-
?
|
|
1499
|
+
? de_AmazonOpenSearchServerlessBufferingHints(output.BufferingHints, context)
|
|
1542
1500
|
: undefined,
|
|
1543
1501
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1544
|
-
?
|
|
1502
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1545
1503
|
: undefined,
|
|
1546
1504
|
CollectionEndpoint: __expectString(output.CollectionEndpoint),
|
|
1547
1505
|
IndexName: __expectString(output.IndexName),
|
|
1548
1506
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1549
|
-
?
|
|
1550
|
-
: undefined,
|
|
1551
|
-
RetryOptions: output.RetryOptions != null
|
|
1552
|
-
? deserializeAws_json1_1AmazonOpenSearchServerlessRetryOptions(output.RetryOptions, context)
|
|
1507
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1553
1508
|
: undefined,
|
|
1509
|
+
RetryOptions: output.RetryOptions != null ? de_AmazonOpenSearchServerlessRetryOptions(output.RetryOptions, context) : undefined,
|
|
1554
1510
|
RoleARN: __expectString(output.RoleARN),
|
|
1555
1511
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1556
1512
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1557
|
-
?
|
|
1513
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1558
1514
|
: undefined,
|
|
1559
1515
|
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1560
|
-
?
|
|
1516
|
+
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1561
1517
|
: undefined,
|
|
1562
1518
|
};
|
|
1563
1519
|
};
|
|
1564
|
-
const
|
|
1520
|
+
const de_AmazonOpenSearchServerlessRetryOptions = (output, context) => {
|
|
1565
1521
|
return {
|
|
1566
1522
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
1567
1523
|
};
|
|
1568
1524
|
};
|
|
1569
|
-
const
|
|
1525
|
+
const de_AmazonopensearchserviceBufferingHints = (output, context) => {
|
|
1570
1526
|
return {
|
|
1571
1527
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1572
1528
|
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1573
1529
|
};
|
|
1574
1530
|
};
|
|
1575
|
-
const
|
|
1531
|
+
const de_AmazonopensearchserviceDestinationDescription = (output, context) => {
|
|
1576
1532
|
return {
|
|
1577
1533
|
BufferingHints: output.BufferingHints != null
|
|
1578
|
-
?
|
|
1534
|
+
? de_AmazonopensearchserviceBufferingHints(output.BufferingHints, context)
|
|
1579
1535
|
: undefined,
|
|
1580
1536
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1581
|
-
?
|
|
1537
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1582
1538
|
: undefined,
|
|
1583
1539
|
ClusterEndpoint: __expectString(output.ClusterEndpoint),
|
|
1584
1540
|
DomainARN: __expectString(output.DomainARN),
|
|
1585
1541
|
IndexName: __expectString(output.IndexName),
|
|
1586
1542
|
IndexRotationPeriod: __expectString(output.IndexRotationPeriod),
|
|
1587
1543
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1588
|
-
?
|
|
1589
|
-
: undefined,
|
|
1590
|
-
RetryOptions: output.RetryOptions != null
|
|
1591
|
-
? deserializeAws_json1_1AmazonopensearchserviceRetryOptions(output.RetryOptions, context)
|
|
1544
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1592
1545
|
: undefined,
|
|
1546
|
+
RetryOptions: output.RetryOptions != null ? de_AmazonopensearchserviceRetryOptions(output.RetryOptions, context) : undefined,
|
|
1593
1547
|
RoleARN: __expectString(output.RoleARN),
|
|
1594
1548
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1595
1549
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1596
|
-
?
|
|
1550
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1597
1551
|
: undefined,
|
|
1598
1552
|
TypeName: __expectString(output.TypeName),
|
|
1599
1553
|
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1600
|
-
?
|
|
1554
|
+
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1601
1555
|
: undefined,
|
|
1602
1556
|
};
|
|
1603
1557
|
};
|
|
1604
|
-
const
|
|
1558
|
+
const de_AmazonopensearchserviceRetryOptions = (output, context) => {
|
|
1605
1559
|
return {
|
|
1606
1560
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
1607
1561
|
};
|
|
1608
1562
|
};
|
|
1609
|
-
const
|
|
1563
|
+
const de_BufferingHints = (output, context) => {
|
|
1610
1564
|
return {
|
|
1611
1565
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1612
1566
|
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1613
1567
|
};
|
|
1614
1568
|
};
|
|
1615
|
-
const
|
|
1569
|
+
const de_CloudWatchLoggingOptions = (output, context) => {
|
|
1616
1570
|
return {
|
|
1617
1571
|
Enabled: __expectBoolean(output.Enabled),
|
|
1618
1572
|
LogGroupName: __expectString(output.LogGroupName),
|
|
1619
1573
|
LogStreamName: __expectString(output.LogStreamName),
|
|
1620
1574
|
};
|
|
1621
1575
|
};
|
|
1622
|
-
const
|
|
1576
|
+
const de_ColumnToJsonKeyMappings = (output, context) => {
|
|
1623
1577
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1624
1578
|
if (value === null) {
|
|
1625
1579
|
return acc;
|
|
@@ -1628,77 +1582,69 @@ const deserializeAws_json1_1ColumnToJsonKeyMappings = (output, context) => {
|
|
|
1628
1582
|
return acc;
|
|
1629
1583
|
}, {});
|
|
1630
1584
|
};
|
|
1631
|
-
const
|
|
1585
|
+
const de_ConcurrentModificationException = (output, context) => {
|
|
1632
1586
|
return {
|
|
1633
1587
|
message: __expectString(output.message),
|
|
1634
1588
|
};
|
|
1635
1589
|
};
|
|
1636
|
-
const
|
|
1590
|
+
const de_CopyCommand = (output, context) => {
|
|
1637
1591
|
return {
|
|
1638
1592
|
CopyOptions: __expectString(output.CopyOptions),
|
|
1639
1593
|
DataTableColumns: __expectString(output.DataTableColumns),
|
|
1640
1594
|
DataTableName: __expectString(output.DataTableName),
|
|
1641
1595
|
};
|
|
1642
1596
|
};
|
|
1643
|
-
const
|
|
1597
|
+
const de_CreateDeliveryStreamOutput = (output, context) => {
|
|
1644
1598
|
return {
|
|
1645
1599
|
DeliveryStreamARN: __expectString(output.DeliveryStreamARN),
|
|
1646
1600
|
};
|
|
1647
1601
|
};
|
|
1648
|
-
const
|
|
1602
|
+
const de_DataFormatConversionConfiguration = (output, context) => {
|
|
1649
1603
|
return {
|
|
1650
1604
|
Enabled: __expectBoolean(output.Enabled),
|
|
1651
1605
|
InputFormatConfiguration: output.InputFormatConfiguration != null
|
|
1652
|
-
?
|
|
1606
|
+
? de_InputFormatConfiguration(output.InputFormatConfiguration, context)
|
|
1653
1607
|
: undefined,
|
|
1654
1608
|
OutputFormatConfiguration: output.OutputFormatConfiguration != null
|
|
1655
|
-
?
|
|
1656
|
-
: undefined,
|
|
1657
|
-
SchemaConfiguration: output.SchemaConfiguration != null
|
|
1658
|
-
? deserializeAws_json1_1SchemaConfiguration(output.SchemaConfiguration, context)
|
|
1609
|
+
? de_OutputFormatConfiguration(output.OutputFormatConfiguration, context)
|
|
1659
1610
|
: undefined,
|
|
1611
|
+
SchemaConfiguration: output.SchemaConfiguration != null ? de_SchemaConfiguration(output.SchemaConfiguration, context) : undefined,
|
|
1660
1612
|
};
|
|
1661
1613
|
};
|
|
1662
|
-
const
|
|
1614
|
+
const de_DeleteDeliveryStreamOutput = (output, context) => {
|
|
1663
1615
|
return {};
|
|
1664
1616
|
};
|
|
1665
|
-
const
|
|
1617
|
+
const de_DeliveryStreamDescription = (output, context) => {
|
|
1666
1618
|
return {
|
|
1667
1619
|
CreateTimestamp: output.CreateTimestamp != null
|
|
1668
1620
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTimestamp)))
|
|
1669
1621
|
: undefined,
|
|
1670
1622
|
DeliveryStreamARN: __expectString(output.DeliveryStreamARN),
|
|
1671
1623
|
DeliveryStreamEncryptionConfiguration: output.DeliveryStreamEncryptionConfiguration != null
|
|
1672
|
-
?
|
|
1624
|
+
? de_DeliveryStreamEncryptionConfiguration(output.DeliveryStreamEncryptionConfiguration, context)
|
|
1673
1625
|
: undefined,
|
|
1674
1626
|
DeliveryStreamName: __expectString(output.DeliveryStreamName),
|
|
1675
1627
|
DeliveryStreamStatus: __expectString(output.DeliveryStreamStatus),
|
|
1676
1628
|
DeliveryStreamType: __expectString(output.DeliveryStreamType),
|
|
1677
|
-
Destinations: output.Destinations != null
|
|
1678
|
-
|
|
1679
|
-
: undefined,
|
|
1680
|
-
FailureDescription: output.FailureDescription != null
|
|
1681
|
-
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1682
|
-
: undefined,
|
|
1629
|
+
Destinations: output.Destinations != null ? de_DestinationDescriptionList(output.Destinations, context) : undefined,
|
|
1630
|
+
FailureDescription: output.FailureDescription != null ? de_FailureDescription(output.FailureDescription, context) : undefined,
|
|
1683
1631
|
HasMoreDestinations: __expectBoolean(output.HasMoreDestinations),
|
|
1684
1632
|
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1685
1633
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTimestamp)))
|
|
1686
1634
|
: undefined,
|
|
1687
|
-
Source: output.Source != null ?
|
|
1635
|
+
Source: output.Source != null ? de_SourceDescription(output.Source, context) : undefined,
|
|
1688
1636
|
VersionId: __expectString(output.VersionId),
|
|
1689
1637
|
};
|
|
1690
1638
|
};
|
|
1691
|
-
const
|
|
1639
|
+
const de_DeliveryStreamEncryptionConfiguration = (output, context) => {
|
|
1692
1640
|
return {
|
|
1693
|
-
FailureDescription: output.FailureDescription != null
|
|
1694
|
-
? deserializeAws_json1_1FailureDescription(output.FailureDescription, context)
|
|
1695
|
-
: undefined,
|
|
1641
|
+
FailureDescription: output.FailureDescription != null ? de_FailureDescription(output.FailureDescription, context) : undefined,
|
|
1696
1642
|
KeyARN: __expectString(output.KeyARN),
|
|
1697
1643
|
KeyType: __expectString(output.KeyType),
|
|
1698
1644
|
Status: __expectString(output.Status),
|
|
1699
1645
|
};
|
|
1700
1646
|
};
|
|
1701
|
-
const
|
|
1647
|
+
const de_DeliveryStreamNameList = (output, context) => {
|
|
1702
1648
|
const retVal = (output || [])
|
|
1703
1649
|
.filter((e) => e != null)
|
|
1704
1650
|
.map((entry) => {
|
|
@@ -1709,241 +1655,227 @@ const deserializeAws_json1_1DeliveryStreamNameList = (output, context) => {
|
|
|
1709
1655
|
});
|
|
1710
1656
|
return retVal;
|
|
1711
1657
|
};
|
|
1712
|
-
const
|
|
1658
|
+
const de_DescribeDeliveryStreamOutput = (output, context) => {
|
|
1713
1659
|
return {
|
|
1714
1660
|
DeliveryStreamDescription: output.DeliveryStreamDescription != null
|
|
1715
|
-
?
|
|
1661
|
+
? de_DeliveryStreamDescription(output.DeliveryStreamDescription, context)
|
|
1716
1662
|
: undefined,
|
|
1717
1663
|
};
|
|
1718
1664
|
};
|
|
1719
|
-
const
|
|
1665
|
+
const de_Deserializer = (output, context) => {
|
|
1720
1666
|
return {
|
|
1721
|
-
HiveJsonSerDe: output.HiveJsonSerDe != null ?
|
|
1722
|
-
OpenXJsonSerDe: output.OpenXJsonSerDe != null ?
|
|
1667
|
+
HiveJsonSerDe: output.HiveJsonSerDe != null ? de_HiveJsonSerDe(output.HiveJsonSerDe, context) : undefined,
|
|
1668
|
+
OpenXJsonSerDe: output.OpenXJsonSerDe != null ? de_OpenXJsonSerDe(output.OpenXJsonSerDe, context) : undefined,
|
|
1723
1669
|
};
|
|
1724
1670
|
};
|
|
1725
|
-
const
|
|
1671
|
+
const de_DestinationDescription = (output, context) => {
|
|
1726
1672
|
return {
|
|
1727
1673
|
AmazonOpenSearchServerlessDestinationDescription: output.AmazonOpenSearchServerlessDestinationDescription != null
|
|
1728
|
-
?
|
|
1674
|
+
? de_AmazonOpenSearchServerlessDestinationDescription(output.AmazonOpenSearchServerlessDestinationDescription, context)
|
|
1729
1675
|
: undefined,
|
|
1730
1676
|
AmazonopensearchserviceDestinationDescription: output.AmazonopensearchserviceDestinationDescription != null
|
|
1731
|
-
?
|
|
1677
|
+
? de_AmazonopensearchserviceDestinationDescription(output.AmazonopensearchserviceDestinationDescription, context)
|
|
1732
1678
|
: undefined,
|
|
1733
1679
|
DestinationId: __expectString(output.DestinationId),
|
|
1734
1680
|
ElasticsearchDestinationDescription: output.ElasticsearchDestinationDescription != null
|
|
1735
|
-
?
|
|
1681
|
+
? de_ElasticsearchDestinationDescription(output.ElasticsearchDestinationDescription, context)
|
|
1736
1682
|
: undefined,
|
|
1737
1683
|
ExtendedS3DestinationDescription: output.ExtendedS3DestinationDescription != null
|
|
1738
|
-
?
|
|
1684
|
+
? de_ExtendedS3DestinationDescription(output.ExtendedS3DestinationDescription, context)
|
|
1739
1685
|
: undefined,
|
|
1740
1686
|
HttpEndpointDestinationDescription: output.HttpEndpointDestinationDescription != null
|
|
1741
|
-
?
|
|
1687
|
+
? de_HttpEndpointDestinationDescription(output.HttpEndpointDestinationDescription, context)
|
|
1742
1688
|
: undefined,
|
|
1743
1689
|
RedshiftDestinationDescription: output.RedshiftDestinationDescription != null
|
|
1744
|
-
?
|
|
1690
|
+
? de_RedshiftDestinationDescription(output.RedshiftDestinationDescription, context)
|
|
1745
1691
|
: undefined,
|
|
1746
1692
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1747
|
-
?
|
|
1693
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1748
1694
|
: undefined,
|
|
1749
1695
|
SplunkDestinationDescription: output.SplunkDestinationDescription != null
|
|
1750
|
-
?
|
|
1696
|
+
? de_SplunkDestinationDescription(output.SplunkDestinationDescription, context)
|
|
1751
1697
|
: undefined,
|
|
1752
1698
|
};
|
|
1753
1699
|
};
|
|
1754
|
-
const
|
|
1700
|
+
const de_DestinationDescriptionList = (output, context) => {
|
|
1755
1701
|
const retVal = (output || [])
|
|
1756
1702
|
.filter((e) => e != null)
|
|
1757
1703
|
.map((entry) => {
|
|
1758
1704
|
if (entry === null) {
|
|
1759
1705
|
return null;
|
|
1760
1706
|
}
|
|
1761
|
-
return
|
|
1707
|
+
return de_DestinationDescription(entry, context);
|
|
1762
1708
|
});
|
|
1763
1709
|
return retVal;
|
|
1764
1710
|
};
|
|
1765
|
-
const
|
|
1711
|
+
const de_DynamicPartitioningConfiguration = (output, context) => {
|
|
1766
1712
|
return {
|
|
1767
1713
|
Enabled: __expectBoolean(output.Enabled),
|
|
1768
|
-
RetryOptions: output.RetryOptions != null ?
|
|
1714
|
+
RetryOptions: output.RetryOptions != null ? de_RetryOptions(output.RetryOptions, context) : undefined,
|
|
1769
1715
|
};
|
|
1770
1716
|
};
|
|
1771
|
-
const
|
|
1717
|
+
const de_ElasticsearchBufferingHints = (output, context) => {
|
|
1772
1718
|
return {
|
|
1773
1719
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1774
1720
|
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1775
1721
|
};
|
|
1776
1722
|
};
|
|
1777
|
-
const
|
|
1723
|
+
const de_ElasticsearchDestinationDescription = (output, context) => {
|
|
1778
1724
|
return {
|
|
1779
|
-
BufferingHints: output.BufferingHints != null
|
|
1780
|
-
? deserializeAws_json1_1ElasticsearchBufferingHints(output.BufferingHints, context)
|
|
1781
|
-
: undefined,
|
|
1725
|
+
BufferingHints: output.BufferingHints != null ? de_ElasticsearchBufferingHints(output.BufferingHints, context) : undefined,
|
|
1782
1726
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1783
|
-
?
|
|
1727
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1784
1728
|
: undefined,
|
|
1785
1729
|
ClusterEndpoint: __expectString(output.ClusterEndpoint),
|
|
1786
1730
|
DomainARN: __expectString(output.DomainARN),
|
|
1787
1731
|
IndexName: __expectString(output.IndexName),
|
|
1788
1732
|
IndexRotationPeriod: __expectString(output.IndexRotationPeriod),
|
|
1789
1733
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1790
|
-
?
|
|
1791
|
-
: undefined,
|
|
1792
|
-
RetryOptions: output.RetryOptions != null
|
|
1793
|
-
? deserializeAws_json1_1ElasticsearchRetryOptions(output.RetryOptions, context)
|
|
1734
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1794
1735
|
: undefined,
|
|
1736
|
+
RetryOptions: output.RetryOptions != null ? de_ElasticsearchRetryOptions(output.RetryOptions, context) : undefined,
|
|
1795
1737
|
RoleARN: __expectString(output.RoleARN),
|
|
1796
1738
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1797
1739
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1798
|
-
?
|
|
1740
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1799
1741
|
: undefined,
|
|
1800
1742
|
TypeName: __expectString(output.TypeName),
|
|
1801
1743
|
VpcConfigurationDescription: output.VpcConfigurationDescription != null
|
|
1802
|
-
?
|
|
1744
|
+
? de_VpcConfigurationDescription(output.VpcConfigurationDescription, context)
|
|
1803
1745
|
: undefined,
|
|
1804
1746
|
};
|
|
1805
1747
|
};
|
|
1806
|
-
const
|
|
1748
|
+
const de_ElasticsearchRetryOptions = (output, context) => {
|
|
1807
1749
|
return {
|
|
1808
1750
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
1809
1751
|
};
|
|
1810
1752
|
};
|
|
1811
|
-
const
|
|
1753
|
+
const de_EncryptionConfiguration = (output, context) => {
|
|
1812
1754
|
return {
|
|
1813
|
-
KMSEncryptionConfig: output.KMSEncryptionConfig != null
|
|
1814
|
-
? deserializeAws_json1_1KMSEncryptionConfig(output.KMSEncryptionConfig, context)
|
|
1815
|
-
: undefined,
|
|
1755
|
+
KMSEncryptionConfig: output.KMSEncryptionConfig != null ? de_KMSEncryptionConfig(output.KMSEncryptionConfig, context) : undefined,
|
|
1816
1756
|
NoEncryptionConfig: __expectString(output.NoEncryptionConfig),
|
|
1817
1757
|
};
|
|
1818
1758
|
};
|
|
1819
|
-
const
|
|
1759
|
+
const de_ExtendedS3DestinationDescription = (output, context) => {
|
|
1820
1760
|
return {
|
|
1821
1761
|
BucketARN: __expectString(output.BucketARN),
|
|
1822
|
-
BufferingHints: output.BufferingHints != null ?
|
|
1762
|
+
BufferingHints: output.BufferingHints != null ? de_BufferingHints(output.BufferingHints, context) : undefined,
|
|
1823
1763
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1824
|
-
?
|
|
1764
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1825
1765
|
: undefined,
|
|
1826
1766
|
CompressionFormat: __expectString(output.CompressionFormat),
|
|
1827
1767
|
DataFormatConversionConfiguration: output.DataFormatConversionConfiguration != null
|
|
1828
|
-
?
|
|
1768
|
+
? de_DataFormatConversionConfiguration(output.DataFormatConversionConfiguration, context)
|
|
1829
1769
|
: undefined,
|
|
1830
1770
|
DynamicPartitioningConfiguration: output.DynamicPartitioningConfiguration != null
|
|
1831
|
-
?
|
|
1771
|
+
? de_DynamicPartitioningConfiguration(output.DynamicPartitioningConfiguration, context)
|
|
1832
1772
|
: undefined,
|
|
1833
1773
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
1834
|
-
?
|
|
1774
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
1835
1775
|
: undefined,
|
|
1836
1776
|
ErrorOutputPrefix: __expectString(output.ErrorOutputPrefix),
|
|
1837
1777
|
Prefix: __expectString(output.Prefix),
|
|
1838
1778
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1839
|
-
?
|
|
1779
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1840
1780
|
: undefined,
|
|
1841
1781
|
RoleARN: __expectString(output.RoleARN),
|
|
1842
|
-
S3BackupDescription: output.S3BackupDescription != null
|
|
1843
|
-
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
1844
|
-
: undefined,
|
|
1782
|
+
S3BackupDescription: output.S3BackupDescription != null ? de_S3DestinationDescription(output.S3BackupDescription, context) : undefined,
|
|
1845
1783
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1846
1784
|
};
|
|
1847
1785
|
};
|
|
1848
|
-
const
|
|
1786
|
+
const de_FailureDescription = (output, context) => {
|
|
1849
1787
|
return {
|
|
1850
1788
|
Details: __expectString(output.Details),
|
|
1851
1789
|
Type: __expectString(output.Type),
|
|
1852
1790
|
};
|
|
1853
1791
|
};
|
|
1854
|
-
const
|
|
1792
|
+
const de_HiveJsonSerDe = (output, context) => {
|
|
1855
1793
|
return {
|
|
1856
|
-
TimestampFormats: output.TimestampFormats != null
|
|
1857
|
-
? deserializeAws_json1_1ListOfNonEmptyStrings(output.TimestampFormats, context)
|
|
1858
|
-
: undefined,
|
|
1794
|
+
TimestampFormats: output.TimestampFormats != null ? de_ListOfNonEmptyStrings(output.TimestampFormats, context) : undefined,
|
|
1859
1795
|
};
|
|
1860
1796
|
};
|
|
1861
|
-
const
|
|
1797
|
+
const de_HttpEndpointBufferingHints = (output, context) => {
|
|
1862
1798
|
return {
|
|
1863
1799
|
IntervalInSeconds: __expectInt32(output.IntervalInSeconds),
|
|
1864
1800
|
SizeInMBs: __expectInt32(output.SizeInMBs),
|
|
1865
1801
|
};
|
|
1866
1802
|
};
|
|
1867
|
-
const
|
|
1803
|
+
const de_HttpEndpointCommonAttribute = (output, context) => {
|
|
1868
1804
|
return {
|
|
1869
1805
|
AttributeName: __expectString(output.AttributeName),
|
|
1870
1806
|
AttributeValue: __expectString(output.AttributeValue),
|
|
1871
1807
|
};
|
|
1872
1808
|
};
|
|
1873
|
-
const
|
|
1809
|
+
const de_HttpEndpointCommonAttributesList = (output, context) => {
|
|
1874
1810
|
const retVal = (output || [])
|
|
1875
1811
|
.filter((e) => e != null)
|
|
1876
1812
|
.map((entry) => {
|
|
1877
1813
|
if (entry === null) {
|
|
1878
1814
|
return null;
|
|
1879
1815
|
}
|
|
1880
|
-
return
|
|
1816
|
+
return de_HttpEndpointCommonAttribute(entry, context);
|
|
1881
1817
|
});
|
|
1882
1818
|
return retVal;
|
|
1883
1819
|
};
|
|
1884
|
-
const
|
|
1820
|
+
const de_HttpEndpointDescription = (output, context) => {
|
|
1885
1821
|
return {
|
|
1886
1822
|
Name: __expectString(output.Name),
|
|
1887
1823
|
Url: __expectString(output.Url),
|
|
1888
1824
|
};
|
|
1889
1825
|
};
|
|
1890
|
-
const
|
|
1826
|
+
const de_HttpEndpointDestinationDescription = (output, context) => {
|
|
1891
1827
|
return {
|
|
1892
|
-
BufferingHints: output.BufferingHints != null
|
|
1893
|
-
? deserializeAws_json1_1HttpEndpointBufferingHints(output.BufferingHints, context)
|
|
1894
|
-
: undefined,
|
|
1828
|
+
BufferingHints: output.BufferingHints != null ? de_HttpEndpointBufferingHints(output.BufferingHints, context) : undefined,
|
|
1895
1829
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
1896
|
-
?
|
|
1830
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
1897
1831
|
: undefined,
|
|
1898
1832
|
EndpointConfiguration: output.EndpointConfiguration != null
|
|
1899
|
-
?
|
|
1833
|
+
? de_HttpEndpointDescription(output.EndpointConfiguration, context)
|
|
1900
1834
|
: undefined,
|
|
1901
1835
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
1902
|
-
?
|
|
1836
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
1903
1837
|
: undefined,
|
|
1904
1838
|
RequestConfiguration: output.RequestConfiguration != null
|
|
1905
|
-
?
|
|
1906
|
-
: undefined,
|
|
1907
|
-
RetryOptions: output.RetryOptions != null
|
|
1908
|
-
? deserializeAws_json1_1HttpEndpointRetryOptions(output.RetryOptions, context)
|
|
1839
|
+
? de_HttpEndpointRequestConfiguration(output.RequestConfiguration, context)
|
|
1909
1840
|
: undefined,
|
|
1841
|
+
RetryOptions: output.RetryOptions != null ? de_HttpEndpointRetryOptions(output.RetryOptions, context) : undefined,
|
|
1910
1842
|
RoleARN: __expectString(output.RoleARN),
|
|
1911
1843
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
1912
1844
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
1913
|
-
?
|
|
1845
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
1914
1846
|
: undefined,
|
|
1915
1847
|
};
|
|
1916
1848
|
};
|
|
1917
|
-
const
|
|
1849
|
+
const de_HttpEndpointRequestConfiguration = (output, context) => {
|
|
1918
1850
|
return {
|
|
1919
1851
|
CommonAttributes: output.CommonAttributes != null
|
|
1920
|
-
?
|
|
1852
|
+
? de_HttpEndpointCommonAttributesList(output.CommonAttributes, context)
|
|
1921
1853
|
: undefined,
|
|
1922
1854
|
ContentEncoding: __expectString(output.ContentEncoding),
|
|
1923
1855
|
};
|
|
1924
1856
|
};
|
|
1925
|
-
const
|
|
1857
|
+
const de_HttpEndpointRetryOptions = (output, context) => {
|
|
1926
1858
|
return {
|
|
1927
1859
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
1928
1860
|
};
|
|
1929
1861
|
};
|
|
1930
|
-
const
|
|
1862
|
+
const de_InputFormatConfiguration = (output, context) => {
|
|
1931
1863
|
return {
|
|
1932
|
-
Deserializer: output.Deserializer != null ?
|
|
1864
|
+
Deserializer: output.Deserializer != null ? de_Deserializer(output.Deserializer, context) : undefined,
|
|
1933
1865
|
};
|
|
1934
1866
|
};
|
|
1935
|
-
const
|
|
1867
|
+
const de_InvalidArgumentException = (output, context) => {
|
|
1936
1868
|
return {
|
|
1937
1869
|
message: __expectString(output.message),
|
|
1938
1870
|
};
|
|
1939
1871
|
};
|
|
1940
|
-
const
|
|
1872
|
+
const de_InvalidKMSResourceException = (output, context) => {
|
|
1941
1873
|
return {
|
|
1942
1874
|
code: __expectString(output.code),
|
|
1943
1875
|
message: __expectString(output.message),
|
|
1944
1876
|
};
|
|
1945
1877
|
};
|
|
1946
|
-
const
|
|
1878
|
+
const de_KinesisStreamSourceDescription = (output, context) => {
|
|
1947
1879
|
return {
|
|
1948
1880
|
DeliveryStartTimestamp: output.DeliveryStartTimestamp != null
|
|
1949
1881
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeliveryStartTimestamp)))
|
|
@@ -1952,25 +1884,23 @@ const deserializeAws_json1_1KinesisStreamSourceDescription = (output, context) =
|
|
|
1952
1884
|
RoleARN: __expectString(output.RoleARN),
|
|
1953
1885
|
};
|
|
1954
1886
|
};
|
|
1955
|
-
const
|
|
1887
|
+
const de_KMSEncryptionConfig = (output, context) => {
|
|
1956
1888
|
return {
|
|
1957
1889
|
AWSKMSKeyARN: __expectString(output.AWSKMSKeyARN),
|
|
1958
1890
|
};
|
|
1959
1891
|
};
|
|
1960
|
-
const
|
|
1892
|
+
const de_LimitExceededException = (output, context) => {
|
|
1961
1893
|
return {
|
|
1962
1894
|
message: __expectString(output.message),
|
|
1963
1895
|
};
|
|
1964
1896
|
};
|
|
1965
|
-
const
|
|
1897
|
+
const de_ListDeliveryStreamsOutput = (output, context) => {
|
|
1966
1898
|
return {
|
|
1967
|
-
DeliveryStreamNames: output.DeliveryStreamNames != null
|
|
1968
|
-
? deserializeAws_json1_1DeliveryStreamNameList(output.DeliveryStreamNames, context)
|
|
1969
|
-
: undefined,
|
|
1899
|
+
DeliveryStreamNames: output.DeliveryStreamNames != null ? de_DeliveryStreamNameList(output.DeliveryStreamNames, context) : undefined,
|
|
1970
1900
|
HasMoreDeliveryStreams: __expectBoolean(output.HasMoreDeliveryStreams),
|
|
1971
1901
|
};
|
|
1972
1902
|
};
|
|
1973
|
-
const
|
|
1903
|
+
const de_ListOfNonEmptyStrings = (output, context) => {
|
|
1974
1904
|
const retVal = (output || [])
|
|
1975
1905
|
.filter((e) => e != null)
|
|
1976
1906
|
.map((entry) => {
|
|
@@ -1981,7 +1911,7 @@ const deserializeAws_json1_1ListOfNonEmptyStrings = (output, context) => {
|
|
|
1981
1911
|
});
|
|
1982
1912
|
return retVal;
|
|
1983
1913
|
};
|
|
1984
|
-
const
|
|
1914
|
+
const de_ListOfNonEmptyStringsWithoutWhitespace = (output, context) => {
|
|
1985
1915
|
const retVal = (output || [])
|
|
1986
1916
|
.filter((e) => e != null)
|
|
1987
1917
|
.map((entry) => {
|
|
@@ -1992,39 +1922,37 @@ const deserializeAws_json1_1ListOfNonEmptyStringsWithoutWhitespace = (output, co
|
|
|
1992
1922
|
});
|
|
1993
1923
|
return retVal;
|
|
1994
1924
|
};
|
|
1995
|
-
const
|
|
1925
|
+
const de_ListTagsForDeliveryStreamOutput = (output, context) => {
|
|
1996
1926
|
return {
|
|
1997
1927
|
HasMoreTags: __expectBoolean(output.HasMoreTags),
|
|
1998
|
-
Tags: output.Tags != null
|
|
1999
|
-
? deserializeAws_json1_1ListTagsForDeliveryStreamOutputTagList(output.Tags, context)
|
|
2000
|
-
: undefined,
|
|
1928
|
+
Tags: output.Tags != null ? de_ListTagsForDeliveryStreamOutputTagList(output.Tags, context) : undefined,
|
|
2001
1929
|
};
|
|
2002
1930
|
};
|
|
2003
|
-
const
|
|
1931
|
+
const de_ListTagsForDeliveryStreamOutputTagList = (output, context) => {
|
|
2004
1932
|
const retVal = (output || [])
|
|
2005
1933
|
.filter((e) => e != null)
|
|
2006
1934
|
.map((entry) => {
|
|
2007
1935
|
if (entry === null) {
|
|
2008
1936
|
return null;
|
|
2009
1937
|
}
|
|
2010
|
-
return
|
|
1938
|
+
return de_Tag(entry, context);
|
|
2011
1939
|
});
|
|
2012
1940
|
return retVal;
|
|
2013
1941
|
};
|
|
2014
|
-
const
|
|
1942
|
+
const de_OpenXJsonSerDe = (output, context) => {
|
|
2015
1943
|
return {
|
|
2016
1944
|
CaseInsensitive: __expectBoolean(output.CaseInsensitive),
|
|
2017
1945
|
ColumnToJsonKeyMappings: output.ColumnToJsonKeyMappings != null
|
|
2018
|
-
?
|
|
1946
|
+
? de_ColumnToJsonKeyMappings(output.ColumnToJsonKeyMappings, context)
|
|
2019
1947
|
: undefined,
|
|
2020
1948
|
ConvertDotsInJsonKeysToUnderscores: __expectBoolean(output.ConvertDotsInJsonKeysToUnderscores),
|
|
2021
1949
|
};
|
|
2022
1950
|
};
|
|
2023
|
-
const
|
|
1951
|
+
const de_OrcSerDe = (output, context) => {
|
|
2024
1952
|
return {
|
|
2025
1953
|
BlockSizeBytes: __expectInt32(output.BlockSizeBytes),
|
|
2026
1954
|
BloomFilterColumns: output.BloomFilterColumns != null
|
|
2027
|
-
?
|
|
1955
|
+
? de_ListOfNonEmptyStringsWithoutWhitespace(output.BloomFilterColumns, context)
|
|
2028
1956
|
: undefined,
|
|
2029
1957
|
BloomFilterFalsePositiveProbability: __limitedParseDouble(output.BloomFilterFalsePositiveProbability),
|
|
2030
1958
|
Compression: __expectString(output.Compression),
|
|
@@ -2036,12 +1964,12 @@ const deserializeAws_json1_1OrcSerDe = (output, context) => {
|
|
|
2036
1964
|
StripeSizeBytes: __expectInt32(output.StripeSizeBytes),
|
|
2037
1965
|
};
|
|
2038
1966
|
};
|
|
2039
|
-
const
|
|
1967
|
+
const de_OutputFormatConfiguration = (output, context) => {
|
|
2040
1968
|
return {
|
|
2041
|
-
Serializer: output.Serializer != null ?
|
|
1969
|
+
Serializer: output.Serializer != null ? de_Serializer(output.Serializer, context) : undefined,
|
|
2042
1970
|
};
|
|
2043
1971
|
};
|
|
2044
|
-
const
|
|
1972
|
+
const de_ParquetSerDe = (output, context) => {
|
|
2045
1973
|
return {
|
|
2046
1974
|
BlockSizeBytes: __expectInt32(output.BlockSizeBytes),
|
|
2047
1975
|
Compression: __expectString(output.Compression),
|
|
@@ -2051,140 +1979,136 @@ const deserializeAws_json1_1ParquetSerDe = (output, context) => {
|
|
|
2051
1979
|
WriterVersion: __expectString(output.WriterVersion),
|
|
2052
1980
|
};
|
|
2053
1981
|
};
|
|
2054
|
-
const
|
|
1982
|
+
const de_ProcessingConfiguration = (output, context) => {
|
|
2055
1983
|
return {
|
|
2056
1984
|
Enabled: __expectBoolean(output.Enabled),
|
|
2057
|
-
Processors: output.Processors != null ?
|
|
1985
|
+
Processors: output.Processors != null ? de_ProcessorList(output.Processors, context) : undefined,
|
|
2058
1986
|
};
|
|
2059
1987
|
};
|
|
2060
|
-
const
|
|
1988
|
+
const de_Processor = (output, context) => {
|
|
2061
1989
|
return {
|
|
2062
|
-
Parameters: output.Parameters != null ?
|
|
1990
|
+
Parameters: output.Parameters != null ? de_ProcessorParameterList(output.Parameters, context) : undefined,
|
|
2063
1991
|
Type: __expectString(output.Type),
|
|
2064
1992
|
};
|
|
2065
1993
|
};
|
|
2066
|
-
const
|
|
1994
|
+
const de_ProcessorList = (output, context) => {
|
|
2067
1995
|
const retVal = (output || [])
|
|
2068
1996
|
.filter((e) => e != null)
|
|
2069
1997
|
.map((entry) => {
|
|
2070
1998
|
if (entry === null) {
|
|
2071
1999
|
return null;
|
|
2072
2000
|
}
|
|
2073
|
-
return
|
|
2001
|
+
return de_Processor(entry, context);
|
|
2074
2002
|
});
|
|
2075
2003
|
return retVal;
|
|
2076
2004
|
};
|
|
2077
|
-
const
|
|
2005
|
+
const de_ProcessorParameter = (output, context) => {
|
|
2078
2006
|
return {
|
|
2079
2007
|
ParameterName: __expectString(output.ParameterName),
|
|
2080
2008
|
ParameterValue: __expectString(output.ParameterValue),
|
|
2081
2009
|
};
|
|
2082
2010
|
};
|
|
2083
|
-
const
|
|
2011
|
+
const de_ProcessorParameterList = (output, context) => {
|
|
2084
2012
|
const retVal = (output || [])
|
|
2085
2013
|
.filter((e) => e != null)
|
|
2086
2014
|
.map((entry) => {
|
|
2087
2015
|
if (entry === null) {
|
|
2088
2016
|
return null;
|
|
2089
2017
|
}
|
|
2090
|
-
return
|
|
2018
|
+
return de_ProcessorParameter(entry, context);
|
|
2091
2019
|
});
|
|
2092
2020
|
return retVal;
|
|
2093
2021
|
};
|
|
2094
|
-
const
|
|
2022
|
+
const de_PutRecordBatchOutput = (output, context) => {
|
|
2095
2023
|
return {
|
|
2096
2024
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
2097
2025
|
FailedPutCount: __expectInt32(output.FailedPutCount),
|
|
2098
2026
|
RequestResponses: output.RequestResponses != null
|
|
2099
|
-
?
|
|
2027
|
+
? de_PutRecordBatchResponseEntryList(output.RequestResponses, context)
|
|
2100
2028
|
: undefined,
|
|
2101
2029
|
};
|
|
2102
2030
|
};
|
|
2103
|
-
const
|
|
2031
|
+
const de_PutRecordBatchResponseEntry = (output, context) => {
|
|
2104
2032
|
return {
|
|
2105
2033
|
ErrorCode: __expectString(output.ErrorCode),
|
|
2106
2034
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
2107
2035
|
RecordId: __expectString(output.RecordId),
|
|
2108
2036
|
};
|
|
2109
2037
|
};
|
|
2110
|
-
const
|
|
2038
|
+
const de_PutRecordBatchResponseEntryList = (output, context) => {
|
|
2111
2039
|
const retVal = (output || [])
|
|
2112
2040
|
.filter((e) => e != null)
|
|
2113
2041
|
.map((entry) => {
|
|
2114
2042
|
if (entry === null) {
|
|
2115
2043
|
return null;
|
|
2116
2044
|
}
|
|
2117
|
-
return
|
|
2045
|
+
return de_PutRecordBatchResponseEntry(entry, context);
|
|
2118
2046
|
});
|
|
2119
2047
|
return retVal;
|
|
2120
2048
|
};
|
|
2121
|
-
const
|
|
2049
|
+
const de_PutRecordOutput = (output, context) => {
|
|
2122
2050
|
return {
|
|
2123
2051
|
Encrypted: __expectBoolean(output.Encrypted),
|
|
2124
2052
|
RecordId: __expectString(output.RecordId),
|
|
2125
2053
|
};
|
|
2126
2054
|
};
|
|
2127
|
-
const
|
|
2055
|
+
const de_RedshiftDestinationDescription = (output, context) => {
|
|
2128
2056
|
return {
|
|
2129
2057
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2130
|
-
?
|
|
2058
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2131
2059
|
: undefined,
|
|
2132
2060
|
ClusterJDBCURL: __expectString(output.ClusterJDBCURL),
|
|
2133
|
-
CopyCommand: output.CopyCommand != null ?
|
|
2061
|
+
CopyCommand: output.CopyCommand != null ? de_CopyCommand(output.CopyCommand, context) : undefined,
|
|
2134
2062
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2135
|
-
?
|
|
2136
|
-
: undefined,
|
|
2137
|
-
RetryOptions: output.RetryOptions != null
|
|
2138
|
-
? deserializeAws_json1_1RedshiftRetryOptions(output.RetryOptions, context)
|
|
2063
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2139
2064
|
: undefined,
|
|
2065
|
+
RetryOptions: output.RetryOptions != null ? de_RedshiftRetryOptions(output.RetryOptions, context) : undefined,
|
|
2140
2066
|
RoleARN: __expectString(output.RoleARN),
|
|
2141
|
-
S3BackupDescription: output.S3BackupDescription != null
|
|
2142
|
-
? deserializeAws_json1_1S3DestinationDescription(output.S3BackupDescription, context)
|
|
2143
|
-
: undefined,
|
|
2067
|
+
S3BackupDescription: output.S3BackupDescription != null ? de_S3DestinationDescription(output.S3BackupDescription, context) : undefined,
|
|
2144
2068
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
2145
2069
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2146
|
-
?
|
|
2070
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2147
2071
|
: undefined,
|
|
2148
2072
|
Username: __expectString(output.Username),
|
|
2149
2073
|
};
|
|
2150
2074
|
};
|
|
2151
|
-
const
|
|
2075
|
+
const de_RedshiftRetryOptions = (output, context) => {
|
|
2152
2076
|
return {
|
|
2153
2077
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
2154
2078
|
};
|
|
2155
2079
|
};
|
|
2156
|
-
const
|
|
2080
|
+
const de_ResourceInUseException = (output, context) => {
|
|
2157
2081
|
return {
|
|
2158
2082
|
message: __expectString(output.message),
|
|
2159
2083
|
};
|
|
2160
2084
|
};
|
|
2161
|
-
const
|
|
2085
|
+
const de_ResourceNotFoundException = (output, context) => {
|
|
2162
2086
|
return {
|
|
2163
2087
|
message: __expectString(output.message),
|
|
2164
2088
|
};
|
|
2165
2089
|
};
|
|
2166
|
-
const
|
|
2090
|
+
const de_RetryOptions = (output, context) => {
|
|
2167
2091
|
return {
|
|
2168
2092
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
2169
2093
|
};
|
|
2170
2094
|
};
|
|
2171
|
-
const
|
|
2095
|
+
const de_S3DestinationDescription = (output, context) => {
|
|
2172
2096
|
return {
|
|
2173
2097
|
BucketARN: __expectString(output.BucketARN),
|
|
2174
|
-
BufferingHints: output.BufferingHints != null ?
|
|
2098
|
+
BufferingHints: output.BufferingHints != null ? de_BufferingHints(output.BufferingHints, context) : undefined,
|
|
2175
2099
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2176
|
-
?
|
|
2100
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2177
2101
|
: undefined,
|
|
2178
2102
|
CompressionFormat: __expectString(output.CompressionFormat),
|
|
2179
2103
|
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2180
|
-
?
|
|
2104
|
+
? de_EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2181
2105
|
: undefined,
|
|
2182
2106
|
ErrorOutputPrefix: __expectString(output.ErrorOutputPrefix),
|
|
2183
2107
|
Prefix: __expectString(output.Prefix),
|
|
2184
2108
|
RoleARN: __expectString(output.RoleARN),
|
|
2185
2109
|
};
|
|
2186
2110
|
};
|
|
2187
|
-
const
|
|
2111
|
+
const de_SchemaConfiguration = (output, context) => {
|
|
2188
2112
|
return {
|
|
2189
2113
|
CatalogId: __expectString(output.CatalogId),
|
|
2190
2114
|
DatabaseName: __expectString(output.DatabaseName),
|
|
@@ -2194,7 +2118,7 @@ const deserializeAws_json1_1SchemaConfiguration = (output, context) => {
|
|
|
2194
2118
|
VersionId: __expectString(output.VersionId),
|
|
2195
2119
|
};
|
|
2196
2120
|
};
|
|
2197
|
-
const
|
|
2121
|
+
const de_SecurityGroupIdList = (output, context) => {
|
|
2198
2122
|
const retVal = (output || [])
|
|
2199
2123
|
.filter((e) => e != null)
|
|
2200
2124
|
.map((entry) => {
|
|
@@ -2205,55 +2129,55 @@ const deserializeAws_json1_1SecurityGroupIdList = (output, context) => {
|
|
|
2205
2129
|
});
|
|
2206
2130
|
return retVal;
|
|
2207
2131
|
};
|
|
2208
|
-
const
|
|
2132
|
+
const de_Serializer = (output, context) => {
|
|
2209
2133
|
return {
|
|
2210
|
-
OrcSerDe: output.OrcSerDe != null ?
|
|
2211
|
-
ParquetSerDe: output.ParquetSerDe != null ?
|
|
2134
|
+
OrcSerDe: output.OrcSerDe != null ? de_OrcSerDe(output.OrcSerDe, context) : undefined,
|
|
2135
|
+
ParquetSerDe: output.ParquetSerDe != null ? de_ParquetSerDe(output.ParquetSerDe, context) : undefined,
|
|
2212
2136
|
};
|
|
2213
2137
|
};
|
|
2214
|
-
const
|
|
2138
|
+
const de_ServiceUnavailableException = (output, context) => {
|
|
2215
2139
|
return {
|
|
2216
2140
|
message: __expectString(output.message),
|
|
2217
2141
|
};
|
|
2218
2142
|
};
|
|
2219
|
-
const
|
|
2143
|
+
const de_SourceDescription = (output, context) => {
|
|
2220
2144
|
return {
|
|
2221
2145
|
KinesisStreamSourceDescription: output.KinesisStreamSourceDescription != null
|
|
2222
|
-
?
|
|
2146
|
+
? de_KinesisStreamSourceDescription(output.KinesisStreamSourceDescription, context)
|
|
2223
2147
|
: undefined,
|
|
2224
2148
|
};
|
|
2225
2149
|
};
|
|
2226
|
-
const
|
|
2150
|
+
const de_SplunkDestinationDescription = (output, context) => {
|
|
2227
2151
|
return {
|
|
2228
2152
|
CloudWatchLoggingOptions: output.CloudWatchLoggingOptions != null
|
|
2229
|
-
?
|
|
2153
|
+
? de_CloudWatchLoggingOptions(output.CloudWatchLoggingOptions, context)
|
|
2230
2154
|
: undefined,
|
|
2231
2155
|
HECAcknowledgmentTimeoutInSeconds: __expectInt32(output.HECAcknowledgmentTimeoutInSeconds),
|
|
2232
2156
|
HECEndpoint: __expectString(output.HECEndpoint),
|
|
2233
2157
|
HECEndpointType: __expectString(output.HECEndpointType),
|
|
2234
2158
|
HECToken: __expectString(output.HECToken),
|
|
2235
2159
|
ProcessingConfiguration: output.ProcessingConfiguration != null
|
|
2236
|
-
?
|
|
2160
|
+
? de_ProcessingConfiguration(output.ProcessingConfiguration, context)
|
|
2237
2161
|
: undefined,
|
|
2238
|
-
RetryOptions: output.RetryOptions != null ?
|
|
2162
|
+
RetryOptions: output.RetryOptions != null ? de_SplunkRetryOptions(output.RetryOptions, context) : undefined,
|
|
2239
2163
|
S3BackupMode: __expectString(output.S3BackupMode),
|
|
2240
2164
|
S3DestinationDescription: output.S3DestinationDescription != null
|
|
2241
|
-
?
|
|
2165
|
+
? de_S3DestinationDescription(output.S3DestinationDescription, context)
|
|
2242
2166
|
: undefined,
|
|
2243
2167
|
};
|
|
2244
2168
|
};
|
|
2245
|
-
const
|
|
2169
|
+
const de_SplunkRetryOptions = (output, context) => {
|
|
2246
2170
|
return {
|
|
2247
2171
|
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
2248
2172
|
};
|
|
2249
2173
|
};
|
|
2250
|
-
const
|
|
2174
|
+
const de_StartDeliveryStreamEncryptionOutput = (output, context) => {
|
|
2251
2175
|
return {};
|
|
2252
2176
|
};
|
|
2253
|
-
const
|
|
2177
|
+
const de_StopDeliveryStreamEncryptionOutput = (output, context) => {
|
|
2254
2178
|
return {};
|
|
2255
2179
|
};
|
|
2256
|
-
const
|
|
2180
|
+
const de_SubnetIdList = (output, context) => {
|
|
2257
2181
|
const retVal = (output || [])
|
|
2258
2182
|
.filter((e) => e != null)
|
|
2259
2183
|
.map((entry) => {
|
|
@@ -2264,28 +2188,26 @@ const deserializeAws_json1_1SubnetIdList = (output, context) => {
|
|
|
2264
2188
|
});
|
|
2265
2189
|
return retVal;
|
|
2266
2190
|
};
|
|
2267
|
-
const
|
|
2191
|
+
const de_Tag = (output, context) => {
|
|
2268
2192
|
return {
|
|
2269
2193
|
Key: __expectString(output.Key),
|
|
2270
2194
|
Value: __expectString(output.Value),
|
|
2271
2195
|
};
|
|
2272
2196
|
};
|
|
2273
|
-
const
|
|
2197
|
+
const de_TagDeliveryStreamOutput = (output, context) => {
|
|
2274
2198
|
return {};
|
|
2275
2199
|
};
|
|
2276
|
-
const
|
|
2200
|
+
const de_UntagDeliveryStreamOutput = (output, context) => {
|
|
2277
2201
|
return {};
|
|
2278
2202
|
};
|
|
2279
|
-
const
|
|
2203
|
+
const de_UpdateDestinationOutput = (output, context) => {
|
|
2280
2204
|
return {};
|
|
2281
2205
|
};
|
|
2282
|
-
const
|
|
2206
|
+
const de_VpcConfigurationDescription = (output, context) => {
|
|
2283
2207
|
return {
|
|
2284
2208
|
RoleARN: __expectString(output.RoleARN),
|
|
2285
|
-
SecurityGroupIds: output.SecurityGroupIds != null
|
|
2286
|
-
|
|
2287
|
-
: undefined,
|
|
2288
|
-
SubnetIds: output.SubnetIds != null ? deserializeAws_json1_1SubnetIdList(output.SubnetIds, context) : undefined,
|
|
2209
|
+
SecurityGroupIds: output.SecurityGroupIds != null ? de_SecurityGroupIdList(output.SecurityGroupIds, context) : undefined,
|
|
2210
|
+
SubnetIds: output.SubnetIds != null ? de_SubnetIdList(output.SubnetIds, context) : undefined,
|
|
2289
2211
|
VpcId: __expectString(output.VpcId),
|
|
2290
2212
|
};
|
|
2291
2213
|
};
|