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