@aws-sdk/client-sns 3.476.0 → 3.477.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/protocols/Aws_query.js +604 -492
- package/dist-es/protocols/Aws_query.js +604 -492
- package/package.json +4 -4
|
@@ -12,8 +12,8 @@ const se_AddPermissionCommand = async (input, context) => {
|
|
|
12
12
|
let body;
|
|
13
13
|
body = buildFormUrlencodedString({
|
|
14
14
|
...se_AddPermissionInput(input, context),
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
[_A]: _AP,
|
|
16
|
+
[_V]: _,
|
|
17
17
|
});
|
|
18
18
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
19
19
|
};
|
|
@@ -23,8 +23,8 @@ const se_CheckIfPhoneNumberIsOptedOutCommand = async (input, context) => {
|
|
|
23
23
|
let body;
|
|
24
24
|
body = buildFormUrlencodedString({
|
|
25
25
|
...se_CheckIfPhoneNumberIsOptedOutInput(input, context),
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
[_A]: _CIPNIOO,
|
|
27
|
+
[_V]: _,
|
|
28
28
|
});
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
@@ -34,8 +34,8 @@ const se_ConfirmSubscriptionCommand = async (input, context) => {
|
|
|
34
34
|
let body;
|
|
35
35
|
body = buildFormUrlencodedString({
|
|
36
36
|
...se_ConfirmSubscriptionInput(input, context),
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
[_A]: _CS,
|
|
38
|
+
[_V]: _,
|
|
39
39
|
});
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
@@ -45,8 +45,8 @@ const se_CreatePlatformApplicationCommand = async (input, context) => {
|
|
|
45
45
|
let body;
|
|
46
46
|
body = buildFormUrlencodedString({
|
|
47
47
|
...se_CreatePlatformApplicationInput(input, context),
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[_A]: _CPA,
|
|
49
|
+
[_V]: _,
|
|
50
50
|
});
|
|
51
51
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
52
52
|
};
|
|
@@ -56,8 +56,8 @@ const se_CreatePlatformEndpointCommand = async (input, context) => {
|
|
|
56
56
|
let body;
|
|
57
57
|
body = buildFormUrlencodedString({
|
|
58
58
|
...se_CreatePlatformEndpointInput(input, context),
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
[_A]: _CPE,
|
|
60
|
+
[_V]: _,
|
|
61
61
|
});
|
|
62
62
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
63
63
|
};
|
|
@@ -67,8 +67,8 @@ const se_CreateSMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
67
67
|
let body;
|
|
68
68
|
body = buildFormUrlencodedString({
|
|
69
69
|
...se_CreateSMSSandboxPhoneNumberInput(input, context),
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
[_A]: _CSMSSPN,
|
|
71
|
+
[_V]: _,
|
|
72
72
|
});
|
|
73
73
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
74
74
|
};
|
|
@@ -78,8 +78,8 @@ const se_CreateTopicCommand = async (input, context) => {
|
|
|
78
78
|
let body;
|
|
79
79
|
body = buildFormUrlencodedString({
|
|
80
80
|
...se_CreateTopicInput(input, context),
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
[_A]: _CT,
|
|
82
|
+
[_V]: _,
|
|
83
83
|
});
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
@@ -89,8 +89,8 @@ const se_DeleteEndpointCommand = async (input, context) => {
|
|
|
89
89
|
let body;
|
|
90
90
|
body = buildFormUrlencodedString({
|
|
91
91
|
...se_DeleteEndpointInput(input, context),
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
[_A]: _DE,
|
|
93
|
+
[_V]: _,
|
|
94
94
|
});
|
|
95
95
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
96
|
};
|
|
@@ -100,8 +100,8 @@ const se_DeletePlatformApplicationCommand = async (input, context) => {
|
|
|
100
100
|
let body;
|
|
101
101
|
body = buildFormUrlencodedString({
|
|
102
102
|
...se_DeletePlatformApplicationInput(input, context),
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
[_A]: _DPA,
|
|
104
|
+
[_V]: _,
|
|
105
105
|
});
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
@@ -111,8 +111,8 @@ const se_DeleteSMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
111
111
|
let body;
|
|
112
112
|
body = buildFormUrlencodedString({
|
|
113
113
|
...se_DeleteSMSSandboxPhoneNumberInput(input, context),
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
[_A]: _DSMSSPN,
|
|
115
|
+
[_V]: _,
|
|
116
116
|
});
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
@@ -122,8 +122,8 @@ const se_DeleteTopicCommand = async (input, context) => {
|
|
|
122
122
|
let body;
|
|
123
123
|
body = buildFormUrlencodedString({
|
|
124
124
|
...se_DeleteTopicInput(input, context),
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
[_A]: _DT,
|
|
126
|
+
[_V]: _,
|
|
127
127
|
});
|
|
128
128
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
129
129
|
};
|
|
@@ -133,8 +133,8 @@ const se_GetDataProtectionPolicyCommand = async (input, context) => {
|
|
|
133
133
|
let body;
|
|
134
134
|
body = buildFormUrlencodedString({
|
|
135
135
|
...se_GetDataProtectionPolicyInput(input, context),
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
[_A]: _GDPP,
|
|
137
|
+
[_V]: _,
|
|
138
138
|
});
|
|
139
139
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
140
|
};
|
|
@@ -144,8 +144,8 @@ const se_GetEndpointAttributesCommand = async (input, context) => {
|
|
|
144
144
|
let body;
|
|
145
145
|
body = buildFormUrlencodedString({
|
|
146
146
|
...se_GetEndpointAttributesInput(input, context),
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
[_A]: _GEA,
|
|
148
|
+
[_V]: _,
|
|
149
149
|
});
|
|
150
150
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
151
151
|
};
|
|
@@ -155,8 +155,8 @@ const se_GetPlatformApplicationAttributesCommand = async (input, context) => {
|
|
|
155
155
|
let body;
|
|
156
156
|
body = buildFormUrlencodedString({
|
|
157
157
|
...se_GetPlatformApplicationAttributesInput(input, context),
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
[_A]: _GPAA,
|
|
159
|
+
[_V]: _,
|
|
160
160
|
});
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
@@ -166,8 +166,8 @@ const se_GetSMSAttributesCommand = async (input, context) => {
|
|
|
166
166
|
let body;
|
|
167
167
|
body = buildFormUrlencodedString({
|
|
168
168
|
...se_GetSMSAttributesInput(input, context),
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
[_A]: _GSMSA,
|
|
170
|
+
[_V]: _,
|
|
171
171
|
});
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
@@ -177,8 +177,8 @@ const se_GetSMSSandboxAccountStatusCommand = async (input, context) => {
|
|
|
177
177
|
let body;
|
|
178
178
|
body = buildFormUrlencodedString({
|
|
179
179
|
...se_GetSMSSandboxAccountStatusInput(input, context),
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
[_A]: _GSMSSAS,
|
|
181
|
+
[_V]: _,
|
|
182
182
|
});
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
@@ -188,8 +188,8 @@ const se_GetSubscriptionAttributesCommand = async (input, context) => {
|
|
|
188
188
|
let body;
|
|
189
189
|
body = buildFormUrlencodedString({
|
|
190
190
|
...se_GetSubscriptionAttributesInput(input, context),
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
[_A]: _GSA,
|
|
192
|
+
[_V]: _,
|
|
193
193
|
});
|
|
194
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
195
|
};
|
|
@@ -199,8 +199,8 @@ const se_GetTopicAttributesCommand = async (input, context) => {
|
|
|
199
199
|
let body;
|
|
200
200
|
body = buildFormUrlencodedString({
|
|
201
201
|
...se_GetTopicAttributesInput(input, context),
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
[_A]: _GTA,
|
|
203
|
+
[_V]: _,
|
|
204
204
|
});
|
|
205
205
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
206
|
};
|
|
@@ -210,8 +210,8 @@ const se_ListEndpointsByPlatformApplicationCommand = async (input, context) => {
|
|
|
210
210
|
let body;
|
|
211
211
|
body = buildFormUrlencodedString({
|
|
212
212
|
...se_ListEndpointsByPlatformApplicationInput(input, context),
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
[_A]: _LEBPA,
|
|
214
|
+
[_V]: _,
|
|
215
215
|
});
|
|
216
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
217
217
|
};
|
|
@@ -221,8 +221,8 @@ const se_ListOriginationNumbersCommand = async (input, context) => {
|
|
|
221
221
|
let body;
|
|
222
222
|
body = buildFormUrlencodedString({
|
|
223
223
|
...se_ListOriginationNumbersRequest(input, context),
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
[_A]: _LON,
|
|
225
|
+
[_V]: _,
|
|
226
226
|
});
|
|
227
227
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
228
|
};
|
|
@@ -232,8 +232,8 @@ const se_ListPhoneNumbersOptedOutCommand = async (input, context) => {
|
|
|
232
232
|
let body;
|
|
233
233
|
body = buildFormUrlencodedString({
|
|
234
234
|
...se_ListPhoneNumbersOptedOutInput(input, context),
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
[_A]: _LPNOO,
|
|
236
|
+
[_V]: _,
|
|
237
237
|
});
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
@@ -243,8 +243,8 @@ const se_ListPlatformApplicationsCommand = async (input, context) => {
|
|
|
243
243
|
let body;
|
|
244
244
|
body = buildFormUrlencodedString({
|
|
245
245
|
...se_ListPlatformApplicationsInput(input, context),
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
[_A]: _LPA,
|
|
247
|
+
[_V]: _,
|
|
248
248
|
});
|
|
249
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
250
250
|
};
|
|
@@ -254,8 +254,8 @@ const se_ListSMSSandboxPhoneNumbersCommand = async (input, context) => {
|
|
|
254
254
|
let body;
|
|
255
255
|
body = buildFormUrlencodedString({
|
|
256
256
|
...se_ListSMSSandboxPhoneNumbersInput(input, context),
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
[_A]: _LSMSSPN,
|
|
258
|
+
[_V]: _,
|
|
259
259
|
});
|
|
260
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
261
|
};
|
|
@@ -265,8 +265,8 @@ const se_ListSubscriptionsCommand = async (input, context) => {
|
|
|
265
265
|
let body;
|
|
266
266
|
body = buildFormUrlencodedString({
|
|
267
267
|
...se_ListSubscriptionsInput(input, context),
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
[_A]: _LS,
|
|
269
|
+
[_V]: _,
|
|
270
270
|
});
|
|
271
271
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
272
272
|
};
|
|
@@ -276,8 +276,8 @@ const se_ListSubscriptionsByTopicCommand = async (input, context) => {
|
|
|
276
276
|
let body;
|
|
277
277
|
body = buildFormUrlencodedString({
|
|
278
278
|
...se_ListSubscriptionsByTopicInput(input, context),
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
[_A]: _LSBT,
|
|
280
|
+
[_V]: _,
|
|
281
281
|
});
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
@@ -287,8 +287,8 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
287
287
|
let body;
|
|
288
288
|
body = buildFormUrlencodedString({
|
|
289
289
|
...se_ListTagsForResourceRequest(input, context),
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
[_A]: _LTFR,
|
|
291
|
+
[_V]: _,
|
|
292
292
|
});
|
|
293
293
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
294
294
|
};
|
|
@@ -298,8 +298,8 @@ const se_ListTopicsCommand = async (input, context) => {
|
|
|
298
298
|
let body;
|
|
299
299
|
body = buildFormUrlencodedString({
|
|
300
300
|
...se_ListTopicsInput(input, context),
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
[_A]: _LT,
|
|
302
|
+
[_V]: _,
|
|
303
303
|
});
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
@@ -309,8 +309,8 @@ const se_OptInPhoneNumberCommand = async (input, context) => {
|
|
|
309
309
|
let body;
|
|
310
310
|
body = buildFormUrlencodedString({
|
|
311
311
|
...se_OptInPhoneNumberInput(input, context),
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
[_A]: _OIPN,
|
|
313
|
+
[_V]: _,
|
|
314
314
|
});
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
@@ -320,8 +320,8 @@ const se_PublishCommand = async (input, context) => {
|
|
|
320
320
|
let body;
|
|
321
321
|
body = buildFormUrlencodedString({
|
|
322
322
|
...se_PublishInput(input, context),
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
[_A]: _P,
|
|
324
|
+
[_V]: _,
|
|
325
325
|
});
|
|
326
326
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
327
|
};
|
|
@@ -331,8 +331,8 @@ const se_PublishBatchCommand = async (input, context) => {
|
|
|
331
331
|
let body;
|
|
332
332
|
body = buildFormUrlencodedString({
|
|
333
333
|
...se_PublishBatchInput(input, context),
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
[_A]: _PB,
|
|
335
|
+
[_V]: _,
|
|
336
336
|
});
|
|
337
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
338
|
};
|
|
@@ -342,8 +342,8 @@ const se_PutDataProtectionPolicyCommand = async (input, context) => {
|
|
|
342
342
|
let body;
|
|
343
343
|
body = buildFormUrlencodedString({
|
|
344
344
|
...se_PutDataProtectionPolicyInput(input, context),
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
[_A]: _PDPP,
|
|
346
|
+
[_V]: _,
|
|
347
347
|
});
|
|
348
348
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
349
|
};
|
|
@@ -353,8 +353,8 @@ const se_RemovePermissionCommand = async (input, context) => {
|
|
|
353
353
|
let body;
|
|
354
354
|
body = buildFormUrlencodedString({
|
|
355
355
|
...se_RemovePermissionInput(input, context),
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
[_A]: _RP,
|
|
357
|
+
[_V]: _,
|
|
358
358
|
});
|
|
359
359
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
360
|
};
|
|
@@ -364,8 +364,8 @@ const se_SetEndpointAttributesCommand = async (input, context) => {
|
|
|
364
364
|
let body;
|
|
365
365
|
body = buildFormUrlencodedString({
|
|
366
366
|
...se_SetEndpointAttributesInput(input, context),
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
[_A]: _SEA,
|
|
368
|
+
[_V]: _,
|
|
369
369
|
});
|
|
370
370
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
371
|
};
|
|
@@ -375,8 +375,8 @@ const se_SetPlatformApplicationAttributesCommand = async (input, context) => {
|
|
|
375
375
|
let body;
|
|
376
376
|
body = buildFormUrlencodedString({
|
|
377
377
|
...se_SetPlatformApplicationAttributesInput(input, context),
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
[_A]: _SPAA,
|
|
379
|
+
[_V]: _,
|
|
380
380
|
});
|
|
381
381
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
382
382
|
};
|
|
@@ -386,8 +386,8 @@ const se_SetSMSAttributesCommand = async (input, context) => {
|
|
|
386
386
|
let body;
|
|
387
387
|
body = buildFormUrlencodedString({
|
|
388
388
|
...se_SetSMSAttributesInput(input, context),
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
[_A]: _SSMSA,
|
|
390
|
+
[_V]: _,
|
|
391
391
|
});
|
|
392
392
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
393
|
};
|
|
@@ -397,8 +397,8 @@ const se_SetSubscriptionAttributesCommand = async (input, context) => {
|
|
|
397
397
|
let body;
|
|
398
398
|
body = buildFormUrlencodedString({
|
|
399
399
|
...se_SetSubscriptionAttributesInput(input, context),
|
|
400
|
-
|
|
401
|
-
|
|
400
|
+
[_A]: _SSA,
|
|
401
|
+
[_V]: _,
|
|
402
402
|
});
|
|
403
403
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
404
404
|
};
|
|
@@ -408,8 +408,8 @@ const se_SetTopicAttributesCommand = async (input, context) => {
|
|
|
408
408
|
let body;
|
|
409
409
|
body = buildFormUrlencodedString({
|
|
410
410
|
...se_SetTopicAttributesInput(input, context),
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
[_A]: _STA,
|
|
412
|
+
[_V]: _,
|
|
413
413
|
});
|
|
414
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
415
|
};
|
|
@@ -419,8 +419,8 @@ const se_SubscribeCommand = async (input, context) => {
|
|
|
419
419
|
let body;
|
|
420
420
|
body = buildFormUrlencodedString({
|
|
421
421
|
...se_SubscribeInput(input, context),
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
[_A]: _S,
|
|
423
|
+
[_V]: _,
|
|
424
424
|
});
|
|
425
425
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
426
426
|
};
|
|
@@ -430,8 +430,8 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
430
430
|
let body;
|
|
431
431
|
body = buildFormUrlencodedString({
|
|
432
432
|
...se_TagResourceRequest(input, context),
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
[_A]: _TR,
|
|
434
|
+
[_V]: _,
|
|
435
435
|
});
|
|
436
436
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
437
|
};
|
|
@@ -441,8 +441,8 @@ const se_UnsubscribeCommand = async (input, context) => {
|
|
|
441
441
|
let body;
|
|
442
442
|
body = buildFormUrlencodedString({
|
|
443
443
|
...se_UnsubscribeInput(input, context),
|
|
444
|
-
|
|
445
|
-
|
|
444
|
+
[_A]: _U,
|
|
445
|
+
[_V]: _,
|
|
446
446
|
});
|
|
447
447
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
448
448
|
};
|
|
@@ -452,8 +452,8 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
452
452
|
let body;
|
|
453
453
|
body = buildFormUrlencodedString({
|
|
454
454
|
...se_UntagResourceRequest(input, context),
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
[_A]: _UR,
|
|
456
|
+
[_V]: _,
|
|
457
457
|
});
|
|
458
458
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
459
459
|
};
|
|
@@ -463,8 +463,8 @@ const se_VerifySMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
463
463
|
let body;
|
|
464
464
|
body = buildFormUrlencodedString({
|
|
465
465
|
...se_VerifySMSSandboxPhoneNumberInput(input, context),
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
[_A]: _VSMSSPN,
|
|
467
|
+
[_V]: _,
|
|
468
468
|
});
|
|
469
469
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
470
470
|
};
|
|
@@ -2694,15 +2694,15 @@ const se_ActionsList = (input, context) => {
|
|
|
2694
2694
|
};
|
|
2695
2695
|
const se_AddPermissionInput = (input, context) => {
|
|
2696
2696
|
const entries = {};
|
|
2697
|
-
if (input
|
|
2698
|
-
entries[
|
|
2697
|
+
if (input[_TA] != null) {
|
|
2698
|
+
entries[_TA] = input[_TA];
|
|
2699
2699
|
}
|
|
2700
|
-
if (input
|
|
2701
|
-
entries[
|
|
2700
|
+
if (input[_L] != null) {
|
|
2701
|
+
entries[_L] = input[_L];
|
|
2702
2702
|
}
|
|
2703
|
-
if (input
|
|
2704
|
-
const memberEntries = se_DelegatesList(input
|
|
2705
|
-
if (input
|
|
2703
|
+
if (input[_AWSAI] != null) {
|
|
2704
|
+
const memberEntries = se_DelegatesList(input[_AWSAI], context);
|
|
2705
|
+
if (input[_AWSAI]?.length === 0) {
|
|
2706
2706
|
entries.AWSAccountId = [];
|
|
2707
2707
|
}
|
|
2708
2708
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2710,9 +2710,9 @@ const se_AddPermissionInput = (input, context) => {
|
|
|
2710
2710
|
entries[loc] = value;
|
|
2711
2711
|
});
|
|
2712
2712
|
}
|
|
2713
|
-
if (input
|
|
2714
|
-
const memberEntries = se_ActionsList(input
|
|
2715
|
-
if (input
|
|
2713
|
+
if (input[_AN] != null) {
|
|
2714
|
+
const memberEntries = se_ActionsList(input[_AN], context);
|
|
2715
|
+
if (input[_AN]?.length === 0) {
|
|
2716
2716
|
entries.ActionName = [];
|
|
2717
2717
|
}
|
|
2718
2718
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2724,34 +2724,34 @@ const se_AddPermissionInput = (input, context) => {
|
|
|
2724
2724
|
};
|
|
2725
2725
|
const se_CheckIfPhoneNumberIsOptedOutInput = (input, context) => {
|
|
2726
2726
|
const entries = {};
|
|
2727
|
-
if (input
|
|
2728
|
-
entries[
|
|
2727
|
+
if (input[_pN] != null) {
|
|
2728
|
+
entries[_pN] = input[_pN];
|
|
2729
2729
|
}
|
|
2730
2730
|
return entries;
|
|
2731
2731
|
};
|
|
2732
2732
|
const se_ConfirmSubscriptionInput = (input, context) => {
|
|
2733
2733
|
const entries = {};
|
|
2734
|
-
if (input
|
|
2735
|
-
entries[
|
|
2734
|
+
if (input[_TA] != null) {
|
|
2735
|
+
entries[_TA] = input[_TA];
|
|
2736
2736
|
}
|
|
2737
|
-
if (input
|
|
2738
|
-
entries[
|
|
2737
|
+
if (input[_T] != null) {
|
|
2738
|
+
entries[_T] = input[_T];
|
|
2739
2739
|
}
|
|
2740
|
-
if (input
|
|
2741
|
-
entries[
|
|
2740
|
+
if (input[_AOU] != null) {
|
|
2741
|
+
entries[_AOU] = input[_AOU];
|
|
2742
2742
|
}
|
|
2743
2743
|
return entries;
|
|
2744
2744
|
};
|
|
2745
2745
|
const se_CreatePlatformApplicationInput = (input, context) => {
|
|
2746
2746
|
const entries = {};
|
|
2747
|
-
if (input
|
|
2748
|
-
entries[
|
|
2747
|
+
if (input[_N] != null) {
|
|
2748
|
+
entries[_N] = input[_N];
|
|
2749
2749
|
}
|
|
2750
|
-
if (input
|
|
2751
|
-
entries[
|
|
2750
|
+
if (input[_Pl] != null) {
|
|
2751
|
+
entries[_Pl] = input[_Pl];
|
|
2752
2752
|
}
|
|
2753
|
-
if (input
|
|
2754
|
-
const memberEntries = se_MapStringToString(input
|
|
2753
|
+
if (input[_At] != null) {
|
|
2754
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
2755
2755
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2756
2756
|
const loc = `Attributes.${key}`;
|
|
2757
2757
|
entries[loc] = value;
|
|
@@ -2761,17 +2761,17 @@ const se_CreatePlatformApplicationInput = (input, context) => {
|
|
|
2761
2761
|
};
|
|
2762
2762
|
const se_CreatePlatformEndpointInput = (input, context) => {
|
|
2763
2763
|
const entries = {};
|
|
2764
|
-
if (input
|
|
2765
|
-
entries[
|
|
2764
|
+
if (input[_PAA] != null) {
|
|
2765
|
+
entries[_PAA] = input[_PAA];
|
|
2766
2766
|
}
|
|
2767
|
-
if (input
|
|
2768
|
-
entries[
|
|
2767
|
+
if (input[_T] != null) {
|
|
2768
|
+
entries[_T] = input[_T];
|
|
2769
2769
|
}
|
|
2770
|
-
if (input
|
|
2771
|
-
entries[
|
|
2770
|
+
if (input[_CUD] != null) {
|
|
2771
|
+
entries[_CUD] = input[_CUD];
|
|
2772
2772
|
}
|
|
2773
|
-
if (input
|
|
2774
|
-
const memberEntries = se_MapStringToString(input
|
|
2773
|
+
if (input[_At] != null) {
|
|
2774
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
2775
2775
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2776
2776
|
const loc = `Attributes.${key}`;
|
|
2777
2777
|
entries[loc] = value;
|
|
@@ -2781,29 +2781,29 @@ const se_CreatePlatformEndpointInput = (input, context) => {
|
|
|
2781
2781
|
};
|
|
2782
2782
|
const se_CreateSMSSandboxPhoneNumberInput = (input, context) => {
|
|
2783
2783
|
const entries = {};
|
|
2784
|
-
if (input
|
|
2785
|
-
entries[
|
|
2784
|
+
if (input[_PN] != null) {
|
|
2785
|
+
entries[_PN] = input[_PN];
|
|
2786
2786
|
}
|
|
2787
|
-
if (input
|
|
2788
|
-
entries[
|
|
2787
|
+
if (input[_LC] != null) {
|
|
2788
|
+
entries[_LC] = input[_LC];
|
|
2789
2789
|
}
|
|
2790
2790
|
return entries;
|
|
2791
2791
|
};
|
|
2792
2792
|
const se_CreateTopicInput = (input, context) => {
|
|
2793
2793
|
const entries = {};
|
|
2794
|
-
if (input
|
|
2795
|
-
entries[
|
|
2794
|
+
if (input[_N] != null) {
|
|
2795
|
+
entries[_N] = input[_N];
|
|
2796
2796
|
}
|
|
2797
|
-
if (input
|
|
2798
|
-
const memberEntries = se_TopicAttributesMap(input
|
|
2797
|
+
if (input[_At] != null) {
|
|
2798
|
+
const memberEntries = se_TopicAttributesMap(input[_At], context);
|
|
2799
2799
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2800
2800
|
const loc = `Attributes.${key}`;
|
|
2801
2801
|
entries[loc] = value;
|
|
2802
2802
|
});
|
|
2803
2803
|
}
|
|
2804
|
-
if (input
|
|
2805
|
-
const memberEntries = se_TagList(input
|
|
2806
|
-
if (input
|
|
2804
|
+
if (input[_Ta] != null) {
|
|
2805
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
2806
|
+
if (input[_Ta]?.length === 0) {
|
|
2807
2807
|
entries.Tags = [];
|
|
2808
2808
|
}
|
|
2809
2809
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2811,8 +2811,8 @@ const se_CreateTopicInput = (input, context) => {
|
|
|
2811
2811
|
entries[loc] = value;
|
|
2812
2812
|
});
|
|
2813
2813
|
}
|
|
2814
|
-
if (input
|
|
2815
|
-
entries[
|
|
2814
|
+
if (input[_DPP] != null) {
|
|
2815
|
+
entries[_DPP] = input[_DPP];
|
|
2816
2816
|
}
|
|
2817
2817
|
return entries;
|
|
2818
2818
|
};
|
|
@@ -2830,58 +2830,58 @@ const se_DelegatesList = (input, context) => {
|
|
|
2830
2830
|
};
|
|
2831
2831
|
const se_DeleteEndpointInput = (input, context) => {
|
|
2832
2832
|
const entries = {};
|
|
2833
|
-
if (input
|
|
2834
|
-
entries[
|
|
2833
|
+
if (input[_EA] != null) {
|
|
2834
|
+
entries[_EA] = input[_EA];
|
|
2835
2835
|
}
|
|
2836
2836
|
return entries;
|
|
2837
2837
|
};
|
|
2838
2838
|
const se_DeletePlatformApplicationInput = (input, context) => {
|
|
2839
2839
|
const entries = {};
|
|
2840
|
-
if (input
|
|
2841
|
-
entries[
|
|
2840
|
+
if (input[_PAA] != null) {
|
|
2841
|
+
entries[_PAA] = input[_PAA];
|
|
2842
2842
|
}
|
|
2843
2843
|
return entries;
|
|
2844
2844
|
};
|
|
2845
2845
|
const se_DeleteSMSSandboxPhoneNumberInput = (input, context) => {
|
|
2846
2846
|
const entries = {};
|
|
2847
|
-
if (input
|
|
2848
|
-
entries[
|
|
2847
|
+
if (input[_PN] != null) {
|
|
2848
|
+
entries[_PN] = input[_PN];
|
|
2849
2849
|
}
|
|
2850
2850
|
return entries;
|
|
2851
2851
|
};
|
|
2852
2852
|
const se_DeleteTopicInput = (input, context) => {
|
|
2853
2853
|
const entries = {};
|
|
2854
|
-
if (input
|
|
2855
|
-
entries[
|
|
2854
|
+
if (input[_TA] != null) {
|
|
2855
|
+
entries[_TA] = input[_TA];
|
|
2856
2856
|
}
|
|
2857
2857
|
return entries;
|
|
2858
2858
|
};
|
|
2859
2859
|
const se_GetDataProtectionPolicyInput = (input, context) => {
|
|
2860
2860
|
const entries = {};
|
|
2861
|
-
if (input
|
|
2862
|
-
entries[
|
|
2861
|
+
if (input[_RA] != null) {
|
|
2862
|
+
entries[_RA] = input[_RA];
|
|
2863
2863
|
}
|
|
2864
2864
|
return entries;
|
|
2865
2865
|
};
|
|
2866
2866
|
const se_GetEndpointAttributesInput = (input, context) => {
|
|
2867
2867
|
const entries = {};
|
|
2868
|
-
if (input
|
|
2869
|
-
entries[
|
|
2868
|
+
if (input[_EA] != null) {
|
|
2869
|
+
entries[_EA] = input[_EA];
|
|
2870
2870
|
}
|
|
2871
2871
|
return entries;
|
|
2872
2872
|
};
|
|
2873
2873
|
const se_GetPlatformApplicationAttributesInput = (input, context) => {
|
|
2874
2874
|
const entries = {};
|
|
2875
|
-
if (input
|
|
2876
|
-
entries[
|
|
2875
|
+
if (input[_PAA] != null) {
|
|
2876
|
+
entries[_PAA] = input[_PAA];
|
|
2877
2877
|
}
|
|
2878
2878
|
return entries;
|
|
2879
2879
|
};
|
|
2880
2880
|
const se_GetSMSAttributesInput = (input, context) => {
|
|
2881
2881
|
const entries = {};
|
|
2882
|
-
if (input
|
|
2883
|
-
const memberEntries = se_ListString(input
|
|
2884
|
-
if (input
|
|
2882
|
+
if (input[_a] != null) {
|
|
2883
|
+
const memberEntries = se_ListString(input[_a], context);
|
|
2884
|
+
if (input[_a]?.length === 0) {
|
|
2885
2885
|
entries.attributes = [];
|
|
2886
2886
|
}
|
|
2887
2887
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2897,59 +2897,59 @@ const se_GetSMSSandboxAccountStatusInput = (input, context) => {
|
|
|
2897
2897
|
};
|
|
2898
2898
|
const se_GetSubscriptionAttributesInput = (input, context) => {
|
|
2899
2899
|
const entries = {};
|
|
2900
|
-
if (input
|
|
2901
|
-
entries[
|
|
2900
|
+
if (input[_SA] != null) {
|
|
2901
|
+
entries[_SA] = input[_SA];
|
|
2902
2902
|
}
|
|
2903
2903
|
return entries;
|
|
2904
2904
|
};
|
|
2905
2905
|
const se_GetTopicAttributesInput = (input, context) => {
|
|
2906
2906
|
const entries = {};
|
|
2907
|
-
if (input
|
|
2908
|
-
entries[
|
|
2907
|
+
if (input[_TA] != null) {
|
|
2908
|
+
entries[_TA] = input[_TA];
|
|
2909
2909
|
}
|
|
2910
2910
|
return entries;
|
|
2911
2911
|
};
|
|
2912
2912
|
const se_ListEndpointsByPlatformApplicationInput = (input, context) => {
|
|
2913
2913
|
const entries = {};
|
|
2914
|
-
if (input
|
|
2915
|
-
entries[
|
|
2914
|
+
if (input[_PAA] != null) {
|
|
2915
|
+
entries[_PAA] = input[_PAA];
|
|
2916
2916
|
}
|
|
2917
|
-
if (input
|
|
2918
|
-
entries[
|
|
2917
|
+
if (input[_NT] != null) {
|
|
2918
|
+
entries[_NT] = input[_NT];
|
|
2919
2919
|
}
|
|
2920
2920
|
return entries;
|
|
2921
2921
|
};
|
|
2922
2922
|
const se_ListOriginationNumbersRequest = (input, context) => {
|
|
2923
2923
|
const entries = {};
|
|
2924
|
-
if (input
|
|
2925
|
-
entries[
|
|
2924
|
+
if (input[_NT] != null) {
|
|
2925
|
+
entries[_NT] = input[_NT];
|
|
2926
2926
|
}
|
|
2927
|
-
if (input
|
|
2928
|
-
entries[
|
|
2927
|
+
if (input[_MR] != null) {
|
|
2928
|
+
entries[_MR] = input[_MR];
|
|
2929
2929
|
}
|
|
2930
2930
|
return entries;
|
|
2931
2931
|
};
|
|
2932
2932
|
const se_ListPhoneNumbersOptedOutInput = (input, context) => {
|
|
2933
2933
|
const entries = {};
|
|
2934
|
-
if (input
|
|
2935
|
-
entries[
|
|
2934
|
+
if (input[_nT] != null) {
|
|
2935
|
+
entries[_nT] = input[_nT];
|
|
2936
2936
|
}
|
|
2937
2937
|
return entries;
|
|
2938
2938
|
};
|
|
2939
2939
|
const se_ListPlatformApplicationsInput = (input, context) => {
|
|
2940
2940
|
const entries = {};
|
|
2941
|
-
if (input
|
|
2942
|
-
entries[
|
|
2941
|
+
if (input[_NT] != null) {
|
|
2942
|
+
entries[_NT] = input[_NT];
|
|
2943
2943
|
}
|
|
2944
2944
|
return entries;
|
|
2945
2945
|
};
|
|
2946
2946
|
const se_ListSMSSandboxPhoneNumbersInput = (input, context) => {
|
|
2947
2947
|
const entries = {};
|
|
2948
|
-
if (input
|
|
2949
|
-
entries[
|
|
2948
|
+
if (input[_NT] != null) {
|
|
2949
|
+
entries[_NT] = input[_NT];
|
|
2950
2950
|
}
|
|
2951
|
-
if (input
|
|
2952
|
-
entries[
|
|
2951
|
+
if (input[_MR] != null) {
|
|
2952
|
+
entries[_MR] = input[_MR];
|
|
2953
2953
|
}
|
|
2954
2954
|
return entries;
|
|
2955
2955
|
};
|
|
@@ -2967,32 +2967,32 @@ const se_ListString = (input, context) => {
|
|
|
2967
2967
|
};
|
|
2968
2968
|
const se_ListSubscriptionsByTopicInput = (input, context) => {
|
|
2969
2969
|
const entries = {};
|
|
2970
|
-
if (input
|
|
2971
|
-
entries[
|
|
2970
|
+
if (input[_TA] != null) {
|
|
2971
|
+
entries[_TA] = input[_TA];
|
|
2972
2972
|
}
|
|
2973
|
-
if (input
|
|
2974
|
-
entries[
|
|
2973
|
+
if (input[_NT] != null) {
|
|
2974
|
+
entries[_NT] = input[_NT];
|
|
2975
2975
|
}
|
|
2976
2976
|
return entries;
|
|
2977
2977
|
};
|
|
2978
2978
|
const se_ListSubscriptionsInput = (input, context) => {
|
|
2979
2979
|
const entries = {};
|
|
2980
|
-
if (input
|
|
2981
|
-
entries[
|
|
2980
|
+
if (input[_NT] != null) {
|
|
2981
|
+
entries[_NT] = input[_NT];
|
|
2982
2982
|
}
|
|
2983
2983
|
return entries;
|
|
2984
2984
|
};
|
|
2985
2985
|
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2986
2986
|
const entries = {};
|
|
2987
|
-
if (input
|
|
2988
|
-
entries[
|
|
2987
|
+
if (input[_RA] != null) {
|
|
2988
|
+
entries[_RA] = input[_RA];
|
|
2989
2989
|
}
|
|
2990
2990
|
return entries;
|
|
2991
2991
|
};
|
|
2992
2992
|
const se_ListTopicsInput = (input, context) => {
|
|
2993
2993
|
const entries = {};
|
|
2994
|
-
if (input
|
|
2995
|
-
entries[
|
|
2994
|
+
if (input[_NT] != null) {
|
|
2995
|
+
entries[_NT] = input[_NT];
|
|
2996
2996
|
}
|
|
2997
2997
|
return entries;
|
|
2998
2998
|
};
|
|
@@ -3025,32 +3025,32 @@ const se_MessageAttributeMap = (input, context) => {
|
|
|
3025
3025
|
};
|
|
3026
3026
|
const se_MessageAttributeValue = (input, context) => {
|
|
3027
3027
|
const entries = {};
|
|
3028
|
-
if (input
|
|
3029
|
-
entries[
|
|
3028
|
+
if (input[_DTa] != null) {
|
|
3029
|
+
entries[_DTa] = input[_DTa];
|
|
3030
3030
|
}
|
|
3031
|
-
if (input
|
|
3032
|
-
entries[
|
|
3031
|
+
if (input[_SV] != null) {
|
|
3032
|
+
entries[_SV] = input[_SV];
|
|
3033
3033
|
}
|
|
3034
|
-
if (input
|
|
3035
|
-
entries[
|
|
3034
|
+
if (input[_BV] != null) {
|
|
3035
|
+
entries[_BV] = context.base64Encoder(input[_BV]);
|
|
3036
3036
|
}
|
|
3037
3037
|
return entries;
|
|
3038
3038
|
};
|
|
3039
3039
|
const se_OptInPhoneNumberInput = (input, context) => {
|
|
3040
3040
|
const entries = {};
|
|
3041
|
-
if (input
|
|
3042
|
-
entries[
|
|
3041
|
+
if (input[_pN] != null) {
|
|
3042
|
+
entries[_pN] = input[_pN];
|
|
3043
3043
|
}
|
|
3044
3044
|
return entries;
|
|
3045
3045
|
};
|
|
3046
3046
|
const se_PublishBatchInput = (input, context) => {
|
|
3047
3047
|
const entries = {};
|
|
3048
|
-
if (input
|
|
3049
|
-
entries[
|
|
3048
|
+
if (input[_TA] != null) {
|
|
3049
|
+
entries[_TA] = input[_TA];
|
|
3050
3050
|
}
|
|
3051
|
-
if (input
|
|
3052
|
-
const memberEntries = se_PublishBatchRequestEntryList(input
|
|
3053
|
-
if (input
|
|
3051
|
+
if (input[_PBRE] != null) {
|
|
3052
|
+
const memberEntries = se_PublishBatchRequestEntryList(input[_PBRE], context);
|
|
3053
|
+
if (input[_PBRE]?.length === 0) {
|
|
3054
3054
|
entries.PublishBatchRequestEntries = [];
|
|
3055
3055
|
}
|
|
3056
3056
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3062,30 +3062,30 @@ const se_PublishBatchInput = (input, context) => {
|
|
|
3062
3062
|
};
|
|
3063
3063
|
const se_PublishBatchRequestEntry = (input, context) => {
|
|
3064
3064
|
const entries = {};
|
|
3065
|
-
if (input
|
|
3066
|
-
entries[
|
|
3065
|
+
if (input[_I] != null) {
|
|
3066
|
+
entries[_I] = input[_I];
|
|
3067
3067
|
}
|
|
3068
|
-
if (input
|
|
3069
|
-
entries[
|
|
3068
|
+
if (input[_M] != null) {
|
|
3069
|
+
entries[_M] = input[_M];
|
|
3070
3070
|
}
|
|
3071
|
-
if (input
|
|
3072
|
-
entries[
|
|
3071
|
+
if (input[_Su] != null) {
|
|
3072
|
+
entries[_Su] = input[_Su];
|
|
3073
3073
|
}
|
|
3074
|
-
if (input
|
|
3075
|
-
entries[
|
|
3074
|
+
if (input[_MS] != null) {
|
|
3075
|
+
entries[_MS] = input[_MS];
|
|
3076
3076
|
}
|
|
3077
|
-
if (input
|
|
3078
|
-
const memberEntries = se_MessageAttributeMap(input
|
|
3077
|
+
if (input[_MA] != null) {
|
|
3078
|
+
const memberEntries = se_MessageAttributeMap(input[_MA], context);
|
|
3079
3079
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3080
3080
|
const loc = `MessageAttributes.${key}`;
|
|
3081
3081
|
entries[loc] = value;
|
|
3082
3082
|
});
|
|
3083
3083
|
}
|
|
3084
|
-
if (input
|
|
3085
|
-
entries[
|
|
3084
|
+
if (input[_MDI] != null) {
|
|
3085
|
+
entries[_MDI] = input[_MDI];
|
|
3086
3086
|
}
|
|
3087
|
-
if (input
|
|
3088
|
-
entries[
|
|
3087
|
+
if (input[_MGI] != null) {
|
|
3088
|
+
entries[_MGI] = input[_MGI];
|
|
3089
3089
|
}
|
|
3090
3090
|
return entries;
|
|
3091
3091
|
};
|
|
@@ -3106,66 +3106,66 @@ const se_PublishBatchRequestEntryList = (input, context) => {
|
|
|
3106
3106
|
};
|
|
3107
3107
|
const se_PublishInput = (input, context) => {
|
|
3108
3108
|
const entries = {};
|
|
3109
|
-
if (input
|
|
3110
|
-
entries[
|
|
3109
|
+
if (input[_TA] != null) {
|
|
3110
|
+
entries[_TA] = input[_TA];
|
|
3111
3111
|
}
|
|
3112
|
-
if (input
|
|
3113
|
-
entries[
|
|
3112
|
+
if (input[_TAa] != null) {
|
|
3113
|
+
entries[_TAa] = input[_TAa];
|
|
3114
3114
|
}
|
|
3115
|
-
if (input
|
|
3116
|
-
entries[
|
|
3115
|
+
if (input[_PN] != null) {
|
|
3116
|
+
entries[_PN] = input[_PN];
|
|
3117
3117
|
}
|
|
3118
|
-
if (input
|
|
3119
|
-
entries[
|
|
3118
|
+
if (input[_M] != null) {
|
|
3119
|
+
entries[_M] = input[_M];
|
|
3120
3120
|
}
|
|
3121
|
-
if (input
|
|
3122
|
-
entries[
|
|
3121
|
+
if (input[_Su] != null) {
|
|
3122
|
+
entries[_Su] = input[_Su];
|
|
3123
3123
|
}
|
|
3124
|
-
if (input
|
|
3125
|
-
entries[
|
|
3124
|
+
if (input[_MS] != null) {
|
|
3125
|
+
entries[_MS] = input[_MS];
|
|
3126
3126
|
}
|
|
3127
|
-
if (input
|
|
3128
|
-
const memberEntries = se_MessageAttributeMap(input
|
|
3127
|
+
if (input[_MA] != null) {
|
|
3128
|
+
const memberEntries = se_MessageAttributeMap(input[_MA], context);
|
|
3129
3129
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3130
3130
|
const loc = `MessageAttributes.${key}`;
|
|
3131
3131
|
entries[loc] = value;
|
|
3132
3132
|
});
|
|
3133
3133
|
}
|
|
3134
|
-
if (input
|
|
3135
|
-
entries[
|
|
3134
|
+
if (input[_MDI] != null) {
|
|
3135
|
+
entries[_MDI] = input[_MDI];
|
|
3136
3136
|
}
|
|
3137
|
-
if (input
|
|
3138
|
-
entries[
|
|
3137
|
+
if (input[_MGI] != null) {
|
|
3138
|
+
entries[_MGI] = input[_MGI];
|
|
3139
3139
|
}
|
|
3140
3140
|
return entries;
|
|
3141
3141
|
};
|
|
3142
3142
|
const se_PutDataProtectionPolicyInput = (input, context) => {
|
|
3143
3143
|
const entries = {};
|
|
3144
|
-
if (input
|
|
3145
|
-
entries[
|
|
3144
|
+
if (input[_RA] != null) {
|
|
3145
|
+
entries[_RA] = input[_RA];
|
|
3146
3146
|
}
|
|
3147
|
-
if (input
|
|
3148
|
-
entries[
|
|
3147
|
+
if (input[_DPP] != null) {
|
|
3148
|
+
entries[_DPP] = input[_DPP];
|
|
3149
3149
|
}
|
|
3150
3150
|
return entries;
|
|
3151
3151
|
};
|
|
3152
3152
|
const se_RemovePermissionInput = (input, context) => {
|
|
3153
3153
|
const entries = {};
|
|
3154
|
-
if (input
|
|
3155
|
-
entries[
|
|
3154
|
+
if (input[_TA] != null) {
|
|
3155
|
+
entries[_TA] = input[_TA];
|
|
3156
3156
|
}
|
|
3157
|
-
if (input
|
|
3158
|
-
entries[
|
|
3157
|
+
if (input[_L] != null) {
|
|
3158
|
+
entries[_L] = input[_L];
|
|
3159
3159
|
}
|
|
3160
3160
|
return entries;
|
|
3161
3161
|
};
|
|
3162
3162
|
const se_SetEndpointAttributesInput = (input, context) => {
|
|
3163
3163
|
const entries = {};
|
|
3164
|
-
if (input
|
|
3165
|
-
entries[
|
|
3164
|
+
if (input[_EA] != null) {
|
|
3165
|
+
entries[_EA] = input[_EA];
|
|
3166
3166
|
}
|
|
3167
|
-
if (input
|
|
3168
|
-
const memberEntries = se_MapStringToString(input
|
|
3167
|
+
if (input[_At] != null) {
|
|
3168
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
3169
3169
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3170
3170
|
const loc = `Attributes.${key}`;
|
|
3171
3171
|
entries[loc] = value;
|
|
@@ -3175,11 +3175,11 @@ const se_SetEndpointAttributesInput = (input, context) => {
|
|
|
3175
3175
|
};
|
|
3176
3176
|
const se_SetPlatformApplicationAttributesInput = (input, context) => {
|
|
3177
3177
|
const entries = {};
|
|
3178
|
-
if (input
|
|
3179
|
-
entries[
|
|
3178
|
+
if (input[_PAA] != null) {
|
|
3179
|
+
entries[_PAA] = input[_PAA];
|
|
3180
3180
|
}
|
|
3181
|
-
if (input
|
|
3182
|
-
const memberEntries = se_MapStringToString(input
|
|
3181
|
+
if (input[_At] != null) {
|
|
3182
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
3183
3183
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3184
3184
|
const loc = `Attributes.${key}`;
|
|
3185
3185
|
entries[loc] = value;
|
|
@@ -3189,8 +3189,8 @@ const se_SetPlatformApplicationAttributesInput = (input, context) => {
|
|
|
3189
3189
|
};
|
|
3190
3190
|
const se_SetSMSAttributesInput = (input, context) => {
|
|
3191
3191
|
const entries = {};
|
|
3192
|
-
if (input
|
|
3193
|
-
const memberEntries = se_MapStringToString(input
|
|
3192
|
+
if (input[_a] != null) {
|
|
3193
|
+
const memberEntries = se_MapStringToString(input[_a], context);
|
|
3194
3194
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3195
3195
|
const loc = `attributes.${key}`;
|
|
3196
3196
|
entries[loc] = value;
|
|
@@ -3200,50 +3200,50 @@ const se_SetSMSAttributesInput = (input, context) => {
|
|
|
3200
3200
|
};
|
|
3201
3201
|
const se_SetSubscriptionAttributesInput = (input, context) => {
|
|
3202
3202
|
const entries = {};
|
|
3203
|
-
if (input
|
|
3204
|
-
entries[
|
|
3203
|
+
if (input[_SA] != null) {
|
|
3204
|
+
entries[_SA] = input[_SA];
|
|
3205
3205
|
}
|
|
3206
|
-
if (input
|
|
3207
|
-
entries[
|
|
3206
|
+
if (input[_ANt] != null) {
|
|
3207
|
+
entries[_ANt] = input[_ANt];
|
|
3208
3208
|
}
|
|
3209
|
-
if (input
|
|
3210
|
-
entries[
|
|
3209
|
+
if (input[_AV] != null) {
|
|
3210
|
+
entries[_AV] = input[_AV];
|
|
3211
3211
|
}
|
|
3212
3212
|
return entries;
|
|
3213
3213
|
};
|
|
3214
3214
|
const se_SetTopicAttributesInput = (input, context) => {
|
|
3215
3215
|
const entries = {};
|
|
3216
|
-
if (input
|
|
3217
|
-
entries[
|
|
3216
|
+
if (input[_TA] != null) {
|
|
3217
|
+
entries[_TA] = input[_TA];
|
|
3218
3218
|
}
|
|
3219
|
-
if (input
|
|
3220
|
-
entries[
|
|
3219
|
+
if (input[_ANt] != null) {
|
|
3220
|
+
entries[_ANt] = input[_ANt];
|
|
3221
3221
|
}
|
|
3222
|
-
if (input
|
|
3223
|
-
entries[
|
|
3222
|
+
if (input[_AV] != null) {
|
|
3223
|
+
entries[_AV] = input[_AV];
|
|
3224
3224
|
}
|
|
3225
3225
|
return entries;
|
|
3226
3226
|
};
|
|
3227
3227
|
const se_SubscribeInput = (input, context) => {
|
|
3228
3228
|
const entries = {};
|
|
3229
|
-
if (input
|
|
3230
|
-
entries[
|
|
3229
|
+
if (input[_TA] != null) {
|
|
3230
|
+
entries[_TA] = input[_TA];
|
|
3231
3231
|
}
|
|
3232
|
-
if (input
|
|
3233
|
-
entries[
|
|
3232
|
+
if (input[_Pr] != null) {
|
|
3233
|
+
entries[_Pr] = input[_Pr];
|
|
3234
3234
|
}
|
|
3235
|
-
if (input
|
|
3236
|
-
entries[
|
|
3235
|
+
if (input[_E] != null) {
|
|
3236
|
+
entries[_E] = input[_E];
|
|
3237
3237
|
}
|
|
3238
|
-
if (input
|
|
3239
|
-
const memberEntries = se_SubscriptionAttributesMap(input
|
|
3238
|
+
if (input[_At] != null) {
|
|
3239
|
+
const memberEntries = se_SubscriptionAttributesMap(input[_At], context);
|
|
3240
3240
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3241
3241
|
const loc = `Attributes.${key}`;
|
|
3242
3242
|
entries[loc] = value;
|
|
3243
3243
|
});
|
|
3244
3244
|
}
|
|
3245
|
-
if (input
|
|
3246
|
-
entries[
|
|
3245
|
+
if (input[_RSA] != null) {
|
|
3246
|
+
entries[_RSA] = input[_RSA];
|
|
3247
3247
|
}
|
|
3248
3248
|
return entries;
|
|
3249
3249
|
};
|
|
@@ -3261,11 +3261,11 @@ const se_SubscriptionAttributesMap = (input, context) => {
|
|
|
3261
3261
|
};
|
|
3262
3262
|
const se_Tag = (input, context) => {
|
|
3263
3263
|
const entries = {};
|
|
3264
|
-
if (input
|
|
3265
|
-
entries[
|
|
3264
|
+
if (input[_K] != null) {
|
|
3265
|
+
entries[_K] = input[_K];
|
|
3266
3266
|
}
|
|
3267
|
-
if (input
|
|
3268
|
-
entries[
|
|
3267
|
+
if (input[_Va] != null) {
|
|
3268
|
+
entries[_Va] = input[_Va];
|
|
3269
3269
|
}
|
|
3270
3270
|
return entries;
|
|
3271
3271
|
};
|
|
@@ -3298,12 +3298,12 @@ const se_TagList = (input, context) => {
|
|
|
3298
3298
|
};
|
|
3299
3299
|
const se_TagResourceRequest = (input, context) => {
|
|
3300
3300
|
const entries = {};
|
|
3301
|
-
if (input
|
|
3302
|
-
entries[
|
|
3301
|
+
if (input[_RA] != null) {
|
|
3302
|
+
entries[_RA] = input[_RA];
|
|
3303
3303
|
}
|
|
3304
|
-
if (input
|
|
3305
|
-
const memberEntries = se_TagList(input
|
|
3306
|
-
if (input
|
|
3304
|
+
if (input[_Ta] != null) {
|
|
3305
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3306
|
+
if (input[_Ta]?.length === 0) {
|
|
3307
3307
|
entries.Tags = [];
|
|
3308
3308
|
}
|
|
3309
3309
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3327,19 +3327,19 @@ const se_TopicAttributesMap = (input, context) => {
|
|
|
3327
3327
|
};
|
|
3328
3328
|
const se_UnsubscribeInput = (input, context) => {
|
|
3329
3329
|
const entries = {};
|
|
3330
|
-
if (input
|
|
3331
|
-
entries[
|
|
3330
|
+
if (input[_SA] != null) {
|
|
3331
|
+
entries[_SA] = input[_SA];
|
|
3332
3332
|
}
|
|
3333
3333
|
return entries;
|
|
3334
3334
|
};
|
|
3335
3335
|
const se_UntagResourceRequest = (input, context) => {
|
|
3336
3336
|
const entries = {};
|
|
3337
|
-
if (input
|
|
3338
|
-
entries[
|
|
3337
|
+
if (input[_RA] != null) {
|
|
3338
|
+
entries[_RA] = input[_RA];
|
|
3339
3339
|
}
|
|
3340
|
-
if (input
|
|
3341
|
-
const memberEntries = se_TagKeyList(input
|
|
3342
|
-
if (input
|
|
3340
|
+
if (input[_TK] != null) {
|
|
3341
|
+
const memberEntries = se_TagKeyList(input[_TK], context);
|
|
3342
|
+
if (input[_TK]?.length === 0) {
|
|
3343
3343
|
entries.TagKeys = [];
|
|
3344
3344
|
}
|
|
3345
3345
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3351,48 +3351,48 @@ const se_UntagResourceRequest = (input, context) => {
|
|
|
3351
3351
|
};
|
|
3352
3352
|
const se_VerifySMSSandboxPhoneNumberInput = (input, context) => {
|
|
3353
3353
|
const entries = {};
|
|
3354
|
-
if (input
|
|
3355
|
-
entries[
|
|
3354
|
+
if (input[_PN] != null) {
|
|
3355
|
+
entries[_PN] = input[_PN];
|
|
3356
3356
|
}
|
|
3357
|
-
if (input
|
|
3358
|
-
entries[
|
|
3357
|
+
if (input[_OTP] != null) {
|
|
3358
|
+
entries[_OTP] = input[_OTP];
|
|
3359
3359
|
}
|
|
3360
3360
|
return entries;
|
|
3361
3361
|
};
|
|
3362
3362
|
const de_AuthorizationErrorException = (output, context) => {
|
|
3363
3363
|
const contents = {};
|
|
3364
|
-
if (output[
|
|
3365
|
-
contents
|
|
3364
|
+
if (output[_m] != null) {
|
|
3365
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3366
3366
|
}
|
|
3367
3367
|
return contents;
|
|
3368
3368
|
};
|
|
3369
3369
|
const de_BatchEntryIdsNotDistinctException = (output, context) => {
|
|
3370
3370
|
const contents = {};
|
|
3371
|
-
if (output[
|
|
3372
|
-
contents
|
|
3371
|
+
if (output[_m] != null) {
|
|
3372
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3373
3373
|
}
|
|
3374
3374
|
return contents;
|
|
3375
3375
|
};
|
|
3376
3376
|
const de_BatchRequestTooLongException = (output, context) => {
|
|
3377
3377
|
const contents = {};
|
|
3378
|
-
if (output[
|
|
3379
|
-
contents
|
|
3378
|
+
if (output[_m] != null) {
|
|
3379
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3380
3380
|
}
|
|
3381
3381
|
return contents;
|
|
3382
3382
|
};
|
|
3383
3383
|
const de_BatchResultErrorEntry = (output, context) => {
|
|
3384
3384
|
const contents = {};
|
|
3385
|
-
if (output[
|
|
3386
|
-
contents
|
|
3385
|
+
if (output[_I] != null) {
|
|
3386
|
+
contents[_I] = (0, smithy_client_1.expectString)(output[_I]);
|
|
3387
3387
|
}
|
|
3388
|
-
if (output[
|
|
3389
|
-
contents
|
|
3388
|
+
if (output[_C] != null) {
|
|
3389
|
+
contents[_C] = (0, smithy_client_1.expectString)(output[_C]);
|
|
3390
3390
|
}
|
|
3391
|
-
if (output[
|
|
3392
|
-
contents
|
|
3391
|
+
if (output[_M] != null) {
|
|
3392
|
+
contents[_M] = (0, smithy_client_1.expectString)(output[_M]);
|
|
3393
3393
|
}
|
|
3394
|
-
if (output[
|
|
3395
|
-
contents
|
|
3394
|
+
if (output[_SF] != null) {
|
|
3395
|
+
contents[_SF] = (0, smithy_client_1.parseBoolean)(output[_SF]);
|
|
3396
3396
|
}
|
|
3397
3397
|
return contents;
|
|
3398
3398
|
};
|
|
@@ -3405,36 +3405,36 @@ const de_BatchResultErrorEntryList = (output, context) => {
|
|
|
3405
3405
|
};
|
|
3406
3406
|
const de_CheckIfPhoneNumberIsOptedOutResponse = (output, context) => {
|
|
3407
3407
|
const contents = {};
|
|
3408
|
-
if (output[
|
|
3409
|
-
contents
|
|
3408
|
+
if (output[_iOO] != null) {
|
|
3409
|
+
contents[_iOO] = (0, smithy_client_1.parseBoolean)(output[_iOO]);
|
|
3410
3410
|
}
|
|
3411
3411
|
return contents;
|
|
3412
3412
|
};
|
|
3413
3413
|
const de_ConcurrentAccessException = (output, context) => {
|
|
3414
3414
|
const contents = {};
|
|
3415
|
-
if (output[
|
|
3416
|
-
contents
|
|
3415
|
+
if (output[_m] != null) {
|
|
3416
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3417
3417
|
}
|
|
3418
3418
|
return contents;
|
|
3419
3419
|
};
|
|
3420
3420
|
const de_ConfirmSubscriptionResponse = (output, context) => {
|
|
3421
3421
|
const contents = {};
|
|
3422
|
-
if (output[
|
|
3423
|
-
contents
|
|
3422
|
+
if (output[_SA] != null) {
|
|
3423
|
+
contents[_SA] = (0, smithy_client_1.expectString)(output[_SA]);
|
|
3424
3424
|
}
|
|
3425
3425
|
return contents;
|
|
3426
3426
|
};
|
|
3427
3427
|
const de_CreateEndpointResponse = (output, context) => {
|
|
3428
3428
|
const contents = {};
|
|
3429
|
-
if (output[
|
|
3430
|
-
contents
|
|
3429
|
+
if (output[_EA] != null) {
|
|
3430
|
+
contents[_EA] = (0, smithy_client_1.expectString)(output[_EA]);
|
|
3431
3431
|
}
|
|
3432
3432
|
return contents;
|
|
3433
3433
|
};
|
|
3434
3434
|
const de_CreatePlatformApplicationResponse = (output, context) => {
|
|
3435
3435
|
const contents = {};
|
|
3436
|
-
if (output[
|
|
3437
|
-
contents
|
|
3436
|
+
if (output[_PAA] != null) {
|
|
3437
|
+
contents[_PAA] = (0, smithy_client_1.expectString)(output[_PAA]);
|
|
3438
3438
|
}
|
|
3439
3439
|
return contents;
|
|
3440
3440
|
};
|
|
@@ -3444,8 +3444,8 @@ const de_CreateSMSSandboxPhoneNumberResult = (output, context) => {
|
|
|
3444
3444
|
};
|
|
3445
3445
|
const de_CreateTopicResponse = (output, context) => {
|
|
3446
3446
|
const contents = {};
|
|
3447
|
-
if (output[
|
|
3448
|
-
contents
|
|
3447
|
+
if (output[_TA] != null) {
|
|
3448
|
+
contents[_TA] = (0, smithy_client_1.expectString)(output[_TA]);
|
|
3449
3449
|
}
|
|
3450
3450
|
return contents;
|
|
3451
3451
|
};
|
|
@@ -3455,196 +3455,196 @@ const de_DeleteSMSSandboxPhoneNumberResult = (output, context) => {
|
|
|
3455
3455
|
};
|
|
3456
3456
|
const de_EmptyBatchRequestException = (output, context) => {
|
|
3457
3457
|
const contents = {};
|
|
3458
|
-
if (output[
|
|
3459
|
-
contents
|
|
3458
|
+
if (output[_m] != null) {
|
|
3459
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3460
3460
|
}
|
|
3461
3461
|
return contents;
|
|
3462
3462
|
};
|
|
3463
3463
|
const de_Endpoint = (output, context) => {
|
|
3464
3464
|
const contents = {};
|
|
3465
|
-
if (output[
|
|
3466
|
-
contents
|
|
3465
|
+
if (output[_EA] != null) {
|
|
3466
|
+
contents[_EA] = (0, smithy_client_1.expectString)(output[_EA]);
|
|
3467
3467
|
}
|
|
3468
3468
|
if (output.Attributes === "") {
|
|
3469
|
-
contents
|
|
3469
|
+
contents[_At] = {};
|
|
3470
3470
|
}
|
|
3471
|
-
else if (output[
|
|
3472
|
-
contents
|
|
3471
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3472
|
+
contents[_At] = de_MapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3473
3473
|
}
|
|
3474
3474
|
return contents;
|
|
3475
3475
|
};
|
|
3476
3476
|
const de_EndpointDisabledException = (output, context) => {
|
|
3477
3477
|
const contents = {};
|
|
3478
|
-
if (output[
|
|
3479
|
-
contents
|
|
3478
|
+
if (output[_m] != null) {
|
|
3479
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3480
3480
|
}
|
|
3481
3481
|
return contents;
|
|
3482
3482
|
};
|
|
3483
3483
|
const de_FilterPolicyLimitExceededException = (output, context) => {
|
|
3484
3484
|
const contents = {};
|
|
3485
|
-
if (output[
|
|
3486
|
-
contents
|
|
3485
|
+
if (output[_m] != null) {
|
|
3486
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3487
3487
|
}
|
|
3488
3488
|
return contents;
|
|
3489
3489
|
};
|
|
3490
3490
|
const de_GetDataProtectionPolicyResponse = (output, context) => {
|
|
3491
3491
|
const contents = {};
|
|
3492
|
-
if (output[
|
|
3493
|
-
contents
|
|
3492
|
+
if (output[_DPP] != null) {
|
|
3493
|
+
contents[_DPP] = (0, smithy_client_1.expectString)(output[_DPP]);
|
|
3494
3494
|
}
|
|
3495
3495
|
return contents;
|
|
3496
3496
|
};
|
|
3497
3497
|
const de_GetEndpointAttributesResponse = (output, context) => {
|
|
3498
3498
|
const contents = {};
|
|
3499
3499
|
if (output.Attributes === "") {
|
|
3500
|
-
contents
|
|
3500
|
+
contents[_At] = {};
|
|
3501
3501
|
}
|
|
3502
|
-
else if (output[
|
|
3503
|
-
contents
|
|
3502
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3503
|
+
contents[_At] = de_MapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3504
3504
|
}
|
|
3505
3505
|
return contents;
|
|
3506
3506
|
};
|
|
3507
3507
|
const de_GetPlatformApplicationAttributesResponse = (output, context) => {
|
|
3508
3508
|
const contents = {};
|
|
3509
3509
|
if (output.Attributes === "") {
|
|
3510
|
-
contents
|
|
3510
|
+
contents[_At] = {};
|
|
3511
3511
|
}
|
|
3512
|
-
else if (output[
|
|
3513
|
-
contents
|
|
3512
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3513
|
+
contents[_At] = de_MapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3514
3514
|
}
|
|
3515
3515
|
return contents;
|
|
3516
3516
|
};
|
|
3517
3517
|
const de_GetSMSAttributesResponse = (output, context) => {
|
|
3518
3518
|
const contents = {};
|
|
3519
3519
|
if (output.attributes === "") {
|
|
3520
|
-
contents
|
|
3520
|
+
contents[_a] = {};
|
|
3521
3521
|
}
|
|
3522
|
-
else if (output[
|
|
3523
|
-
contents
|
|
3522
|
+
else if (output[_a] != null && output[_a][_e] != null) {
|
|
3523
|
+
contents[_a] = de_MapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output[_a][_e]), context);
|
|
3524
3524
|
}
|
|
3525
3525
|
return contents;
|
|
3526
3526
|
};
|
|
3527
3527
|
const de_GetSMSSandboxAccountStatusResult = (output, context) => {
|
|
3528
3528
|
const contents = {};
|
|
3529
|
-
if (output[
|
|
3530
|
-
contents
|
|
3529
|
+
if (output[_IIS] != null) {
|
|
3530
|
+
contents[_IIS] = (0, smithy_client_1.parseBoolean)(output[_IIS]);
|
|
3531
3531
|
}
|
|
3532
3532
|
return contents;
|
|
3533
3533
|
};
|
|
3534
3534
|
const de_GetSubscriptionAttributesResponse = (output, context) => {
|
|
3535
3535
|
const contents = {};
|
|
3536
3536
|
if (output.Attributes === "") {
|
|
3537
|
-
contents
|
|
3537
|
+
contents[_At] = {};
|
|
3538
3538
|
}
|
|
3539
|
-
else if (output[
|
|
3540
|
-
contents
|
|
3539
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3540
|
+
contents[_At] = de_SubscriptionAttributesMap((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3541
3541
|
}
|
|
3542
3542
|
return contents;
|
|
3543
3543
|
};
|
|
3544
3544
|
const de_GetTopicAttributesResponse = (output, context) => {
|
|
3545
3545
|
const contents = {};
|
|
3546
3546
|
if (output.Attributes === "") {
|
|
3547
|
-
contents
|
|
3547
|
+
contents[_At] = {};
|
|
3548
3548
|
}
|
|
3549
|
-
else if (output[
|
|
3550
|
-
contents
|
|
3549
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3550
|
+
contents[_At] = de_TopicAttributesMap((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3551
3551
|
}
|
|
3552
3552
|
return contents;
|
|
3553
3553
|
};
|
|
3554
3554
|
const de_InternalErrorException = (output, context) => {
|
|
3555
3555
|
const contents = {};
|
|
3556
|
-
if (output[
|
|
3557
|
-
contents
|
|
3556
|
+
if (output[_m] != null) {
|
|
3557
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3558
3558
|
}
|
|
3559
3559
|
return contents;
|
|
3560
3560
|
};
|
|
3561
3561
|
const de_InvalidBatchEntryIdException = (output, context) => {
|
|
3562
3562
|
const contents = {};
|
|
3563
|
-
if (output[
|
|
3564
|
-
contents
|
|
3563
|
+
if (output[_m] != null) {
|
|
3564
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3565
3565
|
}
|
|
3566
3566
|
return contents;
|
|
3567
3567
|
};
|
|
3568
3568
|
const de_InvalidParameterException = (output, context) => {
|
|
3569
3569
|
const contents = {};
|
|
3570
|
-
if (output[
|
|
3571
|
-
contents
|
|
3570
|
+
if (output[_m] != null) {
|
|
3571
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3572
3572
|
}
|
|
3573
3573
|
return contents;
|
|
3574
3574
|
};
|
|
3575
3575
|
const de_InvalidParameterValueException = (output, context) => {
|
|
3576
3576
|
const contents = {};
|
|
3577
|
-
if (output[
|
|
3578
|
-
contents
|
|
3577
|
+
if (output[_m] != null) {
|
|
3578
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3579
3579
|
}
|
|
3580
3580
|
return contents;
|
|
3581
3581
|
};
|
|
3582
3582
|
const de_InvalidSecurityException = (output, context) => {
|
|
3583
3583
|
const contents = {};
|
|
3584
|
-
if (output[
|
|
3585
|
-
contents
|
|
3584
|
+
if (output[_m] != null) {
|
|
3585
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3586
3586
|
}
|
|
3587
3587
|
return contents;
|
|
3588
3588
|
};
|
|
3589
3589
|
const de_InvalidStateException = (output, context) => {
|
|
3590
3590
|
const contents = {};
|
|
3591
|
-
if (output[
|
|
3592
|
-
contents
|
|
3591
|
+
if (output[_m] != null) {
|
|
3592
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3593
3593
|
}
|
|
3594
3594
|
return contents;
|
|
3595
3595
|
};
|
|
3596
3596
|
const de_KMSAccessDeniedException = (output, context) => {
|
|
3597
3597
|
const contents = {};
|
|
3598
|
-
if (output[
|
|
3599
|
-
contents
|
|
3598
|
+
if (output[_m] != null) {
|
|
3599
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3600
3600
|
}
|
|
3601
3601
|
return contents;
|
|
3602
3602
|
};
|
|
3603
3603
|
const de_KMSDisabledException = (output, context) => {
|
|
3604
3604
|
const contents = {};
|
|
3605
|
-
if (output[
|
|
3606
|
-
contents
|
|
3605
|
+
if (output[_m] != null) {
|
|
3606
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3607
3607
|
}
|
|
3608
3608
|
return contents;
|
|
3609
3609
|
};
|
|
3610
3610
|
const de_KMSInvalidStateException = (output, context) => {
|
|
3611
3611
|
const contents = {};
|
|
3612
|
-
if (output[
|
|
3613
|
-
contents
|
|
3612
|
+
if (output[_m] != null) {
|
|
3613
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3614
3614
|
}
|
|
3615
3615
|
return contents;
|
|
3616
3616
|
};
|
|
3617
3617
|
const de_KMSNotFoundException = (output, context) => {
|
|
3618
3618
|
const contents = {};
|
|
3619
|
-
if (output[
|
|
3620
|
-
contents
|
|
3619
|
+
if (output[_m] != null) {
|
|
3620
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3621
3621
|
}
|
|
3622
3622
|
return contents;
|
|
3623
3623
|
};
|
|
3624
3624
|
const de_KMSOptInRequired = (output, context) => {
|
|
3625
3625
|
const contents = {};
|
|
3626
|
-
if (output[
|
|
3627
|
-
contents
|
|
3626
|
+
if (output[_m] != null) {
|
|
3627
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3628
3628
|
}
|
|
3629
3629
|
return contents;
|
|
3630
3630
|
};
|
|
3631
3631
|
const de_KMSThrottlingException = (output, context) => {
|
|
3632
3632
|
const contents = {};
|
|
3633
|
-
if (output[
|
|
3634
|
-
contents
|
|
3633
|
+
if (output[_m] != null) {
|
|
3634
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3635
3635
|
}
|
|
3636
3636
|
return contents;
|
|
3637
3637
|
};
|
|
3638
3638
|
const de_ListEndpointsByPlatformApplicationResponse = (output, context) => {
|
|
3639
3639
|
const contents = {};
|
|
3640
3640
|
if (output.Endpoints === "") {
|
|
3641
|
-
contents
|
|
3641
|
+
contents[_En] = [];
|
|
3642
3642
|
}
|
|
3643
|
-
else if (output[
|
|
3644
|
-
contents
|
|
3643
|
+
else if (output[_En] != null && output[_En][_me] != null) {
|
|
3644
|
+
contents[_En] = de_ListOfEndpoints((0, smithy_client_1.getArrayIfSingleItem)(output[_En][_me]), context);
|
|
3645
3645
|
}
|
|
3646
|
-
if (output[
|
|
3647
|
-
contents
|
|
3646
|
+
if (output[_NT] != null) {
|
|
3647
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3648
3648
|
}
|
|
3649
3649
|
return contents;
|
|
3650
3650
|
};
|
|
@@ -3664,102 +3664,102 @@ const de_ListOfPlatformApplications = (output, context) => {
|
|
|
3664
3664
|
};
|
|
3665
3665
|
const de_ListOriginationNumbersResult = (output, context) => {
|
|
3666
3666
|
const contents = {};
|
|
3667
|
-
if (output[
|
|
3668
|
-
contents
|
|
3667
|
+
if (output[_NT] != null) {
|
|
3668
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3669
3669
|
}
|
|
3670
3670
|
if (output.PhoneNumbers === "") {
|
|
3671
|
-
contents
|
|
3671
|
+
contents[_PNh] = [];
|
|
3672
3672
|
}
|
|
3673
|
-
else if (output[
|
|
3674
|
-
contents
|
|
3673
|
+
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3674
|
+
contents[_PNh] = de_PhoneNumberInformationList((0, smithy_client_1.getArrayIfSingleItem)(output[_PNh][_me]), context);
|
|
3675
3675
|
}
|
|
3676
3676
|
return contents;
|
|
3677
3677
|
};
|
|
3678
3678
|
const de_ListPhoneNumbersOptedOutResponse = (output, context) => {
|
|
3679
3679
|
const contents = {};
|
|
3680
3680
|
if (output.phoneNumbers === "") {
|
|
3681
|
-
contents
|
|
3681
|
+
contents[_pNh] = [];
|
|
3682
3682
|
}
|
|
3683
|
-
else if (output[
|
|
3684
|
-
contents
|
|
3683
|
+
else if (output[_pNh] != null && output[_pNh][_me] != null) {
|
|
3684
|
+
contents[_pNh] = de_PhoneNumberList((0, smithy_client_1.getArrayIfSingleItem)(output[_pNh][_me]), context);
|
|
3685
3685
|
}
|
|
3686
|
-
if (output[
|
|
3687
|
-
contents
|
|
3686
|
+
if (output[_nT] != null) {
|
|
3687
|
+
contents[_nT] = (0, smithy_client_1.expectString)(output[_nT]);
|
|
3688
3688
|
}
|
|
3689
3689
|
return contents;
|
|
3690
3690
|
};
|
|
3691
3691
|
const de_ListPlatformApplicationsResponse = (output, context) => {
|
|
3692
3692
|
const contents = {};
|
|
3693
3693
|
if (output.PlatformApplications === "") {
|
|
3694
|
-
contents
|
|
3694
|
+
contents[_PA] = [];
|
|
3695
3695
|
}
|
|
3696
|
-
else if (output[
|
|
3697
|
-
contents
|
|
3696
|
+
else if (output[_PA] != null && output[_PA][_me] != null) {
|
|
3697
|
+
contents[_PA] = de_ListOfPlatformApplications((0, smithy_client_1.getArrayIfSingleItem)(output[_PA][_me]), context);
|
|
3698
3698
|
}
|
|
3699
|
-
if (output[
|
|
3700
|
-
contents
|
|
3699
|
+
if (output[_NT] != null) {
|
|
3700
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3701
3701
|
}
|
|
3702
3702
|
return contents;
|
|
3703
3703
|
};
|
|
3704
3704
|
const de_ListSMSSandboxPhoneNumbersResult = (output, context) => {
|
|
3705
3705
|
const contents = {};
|
|
3706
3706
|
if (output.PhoneNumbers === "") {
|
|
3707
|
-
contents
|
|
3707
|
+
contents[_PNh] = [];
|
|
3708
3708
|
}
|
|
3709
|
-
else if (output[
|
|
3710
|
-
contents
|
|
3709
|
+
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3710
|
+
contents[_PNh] = de_SMSSandboxPhoneNumberList((0, smithy_client_1.getArrayIfSingleItem)(output[_PNh][_me]), context);
|
|
3711
3711
|
}
|
|
3712
|
-
if (output[
|
|
3713
|
-
contents
|
|
3712
|
+
if (output[_NT] != null) {
|
|
3713
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3714
3714
|
}
|
|
3715
3715
|
return contents;
|
|
3716
3716
|
};
|
|
3717
3717
|
const de_ListSubscriptionsByTopicResponse = (output, context) => {
|
|
3718
3718
|
const contents = {};
|
|
3719
3719
|
if (output.Subscriptions === "") {
|
|
3720
|
-
contents
|
|
3720
|
+
contents[_Sub] = [];
|
|
3721
3721
|
}
|
|
3722
|
-
else if (output[
|
|
3723
|
-
contents
|
|
3722
|
+
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3723
|
+
contents[_Sub] = de_SubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output[_Sub][_me]), context);
|
|
3724
3724
|
}
|
|
3725
|
-
if (output[
|
|
3726
|
-
contents
|
|
3725
|
+
if (output[_NT] != null) {
|
|
3726
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3727
3727
|
}
|
|
3728
3728
|
return contents;
|
|
3729
3729
|
};
|
|
3730
3730
|
const de_ListSubscriptionsResponse = (output, context) => {
|
|
3731
3731
|
const contents = {};
|
|
3732
3732
|
if (output.Subscriptions === "") {
|
|
3733
|
-
contents
|
|
3733
|
+
contents[_Sub] = [];
|
|
3734
3734
|
}
|
|
3735
|
-
else if (output[
|
|
3736
|
-
contents
|
|
3735
|
+
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3736
|
+
contents[_Sub] = de_SubscriptionsList((0, smithy_client_1.getArrayIfSingleItem)(output[_Sub][_me]), context);
|
|
3737
3737
|
}
|
|
3738
|
-
if (output[
|
|
3739
|
-
contents
|
|
3738
|
+
if (output[_NT] != null) {
|
|
3739
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3740
3740
|
}
|
|
3741
3741
|
return contents;
|
|
3742
3742
|
};
|
|
3743
3743
|
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3744
3744
|
const contents = {};
|
|
3745
3745
|
if (output.Tags === "") {
|
|
3746
|
-
contents
|
|
3746
|
+
contents[_Ta] = [];
|
|
3747
3747
|
}
|
|
3748
|
-
else if (output[
|
|
3749
|
-
contents
|
|
3748
|
+
else if (output[_Ta] != null && output[_Ta][_me] != null) {
|
|
3749
|
+
contents[_Ta] = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output[_Ta][_me]), context);
|
|
3750
3750
|
}
|
|
3751
3751
|
return contents;
|
|
3752
3752
|
};
|
|
3753
3753
|
const de_ListTopicsResponse = (output, context) => {
|
|
3754
3754
|
const contents = {};
|
|
3755
3755
|
if (output.Topics === "") {
|
|
3756
|
-
contents
|
|
3756
|
+
contents[_To] = [];
|
|
3757
3757
|
}
|
|
3758
|
-
else if (output[
|
|
3759
|
-
contents
|
|
3758
|
+
else if (output[_To] != null && output[_To][_me] != null) {
|
|
3759
|
+
contents[_To] = de_TopicsList((0, smithy_client_1.getArrayIfSingleItem)(output[_To][_me]), context);
|
|
3760
3760
|
}
|
|
3761
|
-
if (output[
|
|
3762
|
-
contents
|
|
3761
|
+
if (output[_NT] != null) {
|
|
3762
|
+
contents[_NT] = (0, smithy_client_1.expectString)(output[_NT]);
|
|
3763
3763
|
}
|
|
3764
3764
|
return contents;
|
|
3765
3765
|
};
|
|
@@ -3774,8 +3774,8 @@ const de_MapStringToString = (output, context) => {
|
|
|
3774
3774
|
};
|
|
3775
3775
|
const de_NotFoundException = (output, context) => {
|
|
3776
3776
|
const contents = {};
|
|
3777
|
-
if (output[
|
|
3778
|
-
contents
|
|
3777
|
+
if (output[_m] != null) {
|
|
3778
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3779
3779
|
}
|
|
3780
3780
|
return contents;
|
|
3781
3781
|
};
|
|
@@ -3788,8 +3788,8 @@ const de_NumberCapabilityList = (output, context) => {
|
|
|
3788
3788
|
};
|
|
3789
3789
|
const de_OptedOutException = (output, context) => {
|
|
3790
3790
|
const contents = {};
|
|
3791
|
-
if (output[
|
|
3792
|
-
contents
|
|
3791
|
+
if (output[_m] != null) {
|
|
3792
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3793
3793
|
}
|
|
3794
3794
|
return contents;
|
|
3795
3795
|
};
|
|
@@ -3799,26 +3799,26 @@ const de_OptInPhoneNumberResponse = (output, context) => {
|
|
|
3799
3799
|
};
|
|
3800
3800
|
const de_PhoneNumberInformation = (output, context) => {
|
|
3801
3801
|
const contents = {};
|
|
3802
|
-
if (output[
|
|
3803
|
-
contents
|
|
3802
|
+
if (output[_CA] != null) {
|
|
3803
|
+
contents[_CA] = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output[_CA]));
|
|
3804
3804
|
}
|
|
3805
|
-
if (output[
|
|
3806
|
-
contents
|
|
3805
|
+
if (output[_PN] != null) {
|
|
3806
|
+
contents[_PN] = (0, smithy_client_1.expectString)(output[_PN]);
|
|
3807
3807
|
}
|
|
3808
|
-
if (output[
|
|
3809
|
-
contents
|
|
3808
|
+
if (output[_St] != null) {
|
|
3809
|
+
contents[_St] = (0, smithy_client_1.expectString)(output[_St]);
|
|
3810
3810
|
}
|
|
3811
|
-
if (output[
|
|
3812
|
-
contents
|
|
3811
|
+
if (output[_ICC] != null) {
|
|
3812
|
+
contents[_ICC] = (0, smithy_client_1.expectString)(output[_ICC]);
|
|
3813
3813
|
}
|
|
3814
|
-
if (output[
|
|
3815
|
-
contents
|
|
3814
|
+
if (output[_RT] != null) {
|
|
3815
|
+
contents[_RT] = (0, smithy_client_1.expectString)(output[_RT]);
|
|
3816
3816
|
}
|
|
3817
3817
|
if (output.NumberCapabilities === "") {
|
|
3818
|
-
contents
|
|
3818
|
+
contents[_NC] = [];
|
|
3819
3819
|
}
|
|
3820
|
-
else if (output[
|
|
3821
|
-
contents
|
|
3820
|
+
else if (output[_NC] != null && output[_NC][_me] != null) {
|
|
3821
|
+
contents[_NC] = de_NumberCapabilityList((0, smithy_client_1.getArrayIfSingleItem)(output[_NC][_me]), context);
|
|
3822
3822
|
}
|
|
3823
3823
|
return contents;
|
|
3824
3824
|
};
|
|
@@ -3838,50 +3838,50 @@ const de_PhoneNumberList = (output, context) => {
|
|
|
3838
3838
|
};
|
|
3839
3839
|
const de_PlatformApplication = (output, context) => {
|
|
3840
3840
|
const contents = {};
|
|
3841
|
-
if (output[
|
|
3842
|
-
contents
|
|
3841
|
+
if (output[_PAA] != null) {
|
|
3842
|
+
contents[_PAA] = (0, smithy_client_1.expectString)(output[_PAA]);
|
|
3843
3843
|
}
|
|
3844
3844
|
if (output.Attributes === "") {
|
|
3845
|
-
contents
|
|
3845
|
+
contents[_At] = {};
|
|
3846
3846
|
}
|
|
3847
|
-
else if (output[
|
|
3848
|
-
contents
|
|
3847
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3848
|
+
contents[_At] = de_MapStringToString((0, smithy_client_1.getArrayIfSingleItem)(output[_At][_e]), context);
|
|
3849
3849
|
}
|
|
3850
3850
|
return contents;
|
|
3851
3851
|
};
|
|
3852
3852
|
const de_PlatformApplicationDisabledException = (output, context) => {
|
|
3853
3853
|
const contents = {};
|
|
3854
|
-
if (output[
|
|
3855
|
-
contents
|
|
3854
|
+
if (output[_m] != null) {
|
|
3855
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3856
3856
|
}
|
|
3857
3857
|
return contents;
|
|
3858
3858
|
};
|
|
3859
3859
|
const de_PublishBatchResponse = (output, context) => {
|
|
3860
3860
|
const contents = {};
|
|
3861
3861
|
if (output.Successful === "") {
|
|
3862
|
-
contents
|
|
3862
|
+
contents[_Suc] = [];
|
|
3863
3863
|
}
|
|
3864
|
-
else if (output[
|
|
3865
|
-
contents
|
|
3864
|
+
else if (output[_Suc] != null && output[_Suc][_me] != null) {
|
|
3865
|
+
contents[_Suc] = de_PublishBatchResultEntryList((0, smithy_client_1.getArrayIfSingleItem)(output[_Suc][_me]), context);
|
|
3866
3866
|
}
|
|
3867
3867
|
if (output.Failed === "") {
|
|
3868
|
-
contents
|
|
3868
|
+
contents[_F] = [];
|
|
3869
3869
|
}
|
|
3870
|
-
else if (output[
|
|
3871
|
-
contents
|
|
3870
|
+
else if (output[_F] != null && output[_F][_me] != null) {
|
|
3871
|
+
contents[_F] = de_BatchResultErrorEntryList((0, smithy_client_1.getArrayIfSingleItem)(output[_F][_me]), context);
|
|
3872
3872
|
}
|
|
3873
3873
|
return contents;
|
|
3874
3874
|
};
|
|
3875
3875
|
const de_PublishBatchResultEntry = (output, context) => {
|
|
3876
3876
|
const contents = {};
|
|
3877
|
-
if (output[
|
|
3878
|
-
contents
|
|
3877
|
+
if (output[_I] != null) {
|
|
3878
|
+
contents[_I] = (0, smithy_client_1.expectString)(output[_I]);
|
|
3879
3879
|
}
|
|
3880
|
-
if (output[
|
|
3881
|
-
contents
|
|
3880
|
+
if (output[_MI] != null) {
|
|
3881
|
+
contents[_MI] = (0, smithy_client_1.expectString)(output[_MI]);
|
|
3882
3882
|
}
|
|
3883
|
-
if (output[
|
|
3884
|
-
contents
|
|
3883
|
+
if (output[_SN] != null) {
|
|
3884
|
+
contents[_SN] = (0, smithy_client_1.expectString)(output[_SN]);
|
|
3885
3885
|
}
|
|
3886
3886
|
return contents;
|
|
3887
3887
|
};
|
|
@@ -3894,25 +3894,25 @@ const de_PublishBatchResultEntryList = (output, context) => {
|
|
|
3894
3894
|
};
|
|
3895
3895
|
const de_PublishResponse = (output, context) => {
|
|
3896
3896
|
const contents = {};
|
|
3897
|
-
if (output[
|
|
3898
|
-
contents
|
|
3897
|
+
if (output[_MI] != null) {
|
|
3898
|
+
contents[_MI] = (0, smithy_client_1.expectString)(output[_MI]);
|
|
3899
3899
|
}
|
|
3900
|
-
if (output[
|
|
3901
|
-
contents
|
|
3900
|
+
if (output[_SN] != null) {
|
|
3901
|
+
contents[_SN] = (0, smithy_client_1.expectString)(output[_SN]);
|
|
3902
3902
|
}
|
|
3903
3903
|
return contents;
|
|
3904
3904
|
};
|
|
3905
3905
|
const de_ReplayLimitExceededException = (output, context) => {
|
|
3906
3906
|
const contents = {};
|
|
3907
|
-
if (output[
|
|
3908
|
-
contents
|
|
3907
|
+
if (output[_m] != null) {
|
|
3908
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3909
3909
|
}
|
|
3910
3910
|
return contents;
|
|
3911
3911
|
};
|
|
3912
3912
|
const de_ResourceNotFoundException = (output, context) => {
|
|
3913
3913
|
const contents = {};
|
|
3914
|
-
if (output[
|
|
3915
|
-
contents
|
|
3914
|
+
if (output[_m] != null) {
|
|
3915
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3916
3916
|
}
|
|
3917
3917
|
return contents;
|
|
3918
3918
|
};
|
|
@@ -3922,11 +3922,11 @@ const de_SetSMSAttributesResponse = (output, context) => {
|
|
|
3922
3922
|
};
|
|
3923
3923
|
const de_SMSSandboxPhoneNumber = (output, context) => {
|
|
3924
3924
|
const contents = {};
|
|
3925
|
-
if (output[
|
|
3926
|
-
contents
|
|
3925
|
+
if (output[_PN] != null) {
|
|
3926
|
+
contents[_PN] = (0, smithy_client_1.expectString)(output[_PN]);
|
|
3927
3927
|
}
|
|
3928
|
-
if (output[
|
|
3929
|
-
contents
|
|
3928
|
+
if (output[_St] != null) {
|
|
3929
|
+
contents[_St] = (0, smithy_client_1.expectString)(output[_St]);
|
|
3930
3930
|
}
|
|
3931
3931
|
return contents;
|
|
3932
3932
|
};
|
|
@@ -3939,34 +3939,34 @@ const de_SMSSandboxPhoneNumberList = (output, context) => {
|
|
|
3939
3939
|
};
|
|
3940
3940
|
const de_StaleTagException = (output, context) => {
|
|
3941
3941
|
const contents = {};
|
|
3942
|
-
if (output[
|
|
3943
|
-
contents
|
|
3942
|
+
if (output[_m] != null) {
|
|
3943
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3944
3944
|
}
|
|
3945
3945
|
return contents;
|
|
3946
3946
|
};
|
|
3947
3947
|
const de_SubscribeResponse = (output, context) => {
|
|
3948
3948
|
const contents = {};
|
|
3949
|
-
if (output[
|
|
3950
|
-
contents
|
|
3949
|
+
if (output[_SA] != null) {
|
|
3950
|
+
contents[_SA] = (0, smithy_client_1.expectString)(output[_SA]);
|
|
3951
3951
|
}
|
|
3952
3952
|
return contents;
|
|
3953
3953
|
};
|
|
3954
3954
|
const de_Subscription = (output, context) => {
|
|
3955
3955
|
const contents = {};
|
|
3956
|
-
if (output[
|
|
3957
|
-
contents
|
|
3956
|
+
if (output[_SA] != null) {
|
|
3957
|
+
contents[_SA] = (0, smithy_client_1.expectString)(output[_SA]);
|
|
3958
3958
|
}
|
|
3959
|
-
if (output[
|
|
3960
|
-
contents
|
|
3959
|
+
if (output[_O] != null) {
|
|
3960
|
+
contents[_O] = (0, smithy_client_1.expectString)(output[_O]);
|
|
3961
3961
|
}
|
|
3962
|
-
if (output[
|
|
3963
|
-
contents
|
|
3962
|
+
if (output[_Pr] != null) {
|
|
3963
|
+
contents[_Pr] = (0, smithy_client_1.expectString)(output[_Pr]);
|
|
3964
3964
|
}
|
|
3965
|
-
if (output[
|
|
3966
|
-
contents
|
|
3965
|
+
if (output[_E] != null) {
|
|
3966
|
+
contents[_E] = (0, smithy_client_1.expectString)(output[_E]);
|
|
3967
3967
|
}
|
|
3968
|
-
if (output[
|
|
3969
|
-
contents
|
|
3968
|
+
if (output[_TA] != null) {
|
|
3969
|
+
contents[_TA] = (0, smithy_client_1.expectString)(output[_TA]);
|
|
3970
3970
|
}
|
|
3971
3971
|
return contents;
|
|
3972
3972
|
};
|
|
@@ -3981,8 +3981,8 @@ const de_SubscriptionAttributesMap = (output, context) => {
|
|
|
3981
3981
|
};
|
|
3982
3982
|
const de_SubscriptionLimitExceededException = (output, context) => {
|
|
3983
3983
|
const contents = {};
|
|
3984
|
-
if (output[
|
|
3985
|
-
contents
|
|
3984
|
+
if (output[_m] != null) {
|
|
3985
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
3986
3986
|
}
|
|
3987
3987
|
return contents;
|
|
3988
3988
|
};
|
|
@@ -3995,18 +3995,18 @@ const de_SubscriptionsList = (output, context) => {
|
|
|
3995
3995
|
};
|
|
3996
3996
|
const de_Tag = (output, context) => {
|
|
3997
3997
|
const contents = {};
|
|
3998
|
-
if (output[
|
|
3999
|
-
contents
|
|
3998
|
+
if (output[_K] != null) {
|
|
3999
|
+
contents[_K] = (0, smithy_client_1.expectString)(output[_K]);
|
|
4000
4000
|
}
|
|
4001
|
-
if (output[
|
|
4002
|
-
contents
|
|
4001
|
+
if (output[_Va] != null) {
|
|
4002
|
+
contents[_Va] = (0, smithy_client_1.expectString)(output[_Va]);
|
|
4003
4003
|
}
|
|
4004
4004
|
return contents;
|
|
4005
4005
|
};
|
|
4006
4006
|
const de_TagLimitExceededException = (output, context) => {
|
|
4007
4007
|
const contents = {};
|
|
4008
|
-
if (output[
|
|
4009
|
-
contents
|
|
4008
|
+
if (output[_m] != null) {
|
|
4009
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4010
4010
|
}
|
|
4011
4011
|
return contents;
|
|
4012
4012
|
};
|
|
@@ -4019,8 +4019,8 @@ const de_TagList = (output, context) => {
|
|
|
4019
4019
|
};
|
|
4020
4020
|
const de_TagPolicyException = (output, context) => {
|
|
4021
4021
|
const contents = {};
|
|
4022
|
-
if (output[
|
|
4023
|
-
contents
|
|
4022
|
+
if (output[_m] != null) {
|
|
4023
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4024
4024
|
}
|
|
4025
4025
|
return contents;
|
|
4026
4026
|
};
|
|
@@ -4030,22 +4030,22 @@ const de_TagResourceResponse = (output, context) => {
|
|
|
4030
4030
|
};
|
|
4031
4031
|
const de_ThrottledException = (output, context) => {
|
|
4032
4032
|
const contents = {};
|
|
4033
|
-
if (output[
|
|
4034
|
-
contents
|
|
4033
|
+
if (output[_m] != null) {
|
|
4034
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4035
4035
|
}
|
|
4036
4036
|
return contents;
|
|
4037
4037
|
};
|
|
4038
4038
|
const de_TooManyEntriesInBatchRequestException = (output, context) => {
|
|
4039
4039
|
const contents = {};
|
|
4040
|
-
if (output[
|
|
4041
|
-
contents
|
|
4040
|
+
if (output[_m] != null) {
|
|
4041
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4042
4042
|
}
|
|
4043
4043
|
return contents;
|
|
4044
4044
|
};
|
|
4045
4045
|
const de_Topic = (output, context) => {
|
|
4046
4046
|
const contents = {};
|
|
4047
|
-
if (output[
|
|
4048
|
-
contents
|
|
4047
|
+
if (output[_TA] != null) {
|
|
4048
|
+
contents[_TA] = (0, smithy_client_1.expectString)(output[_TA]);
|
|
4049
4049
|
}
|
|
4050
4050
|
return contents;
|
|
4051
4051
|
};
|
|
@@ -4060,8 +4060,8 @@ const de_TopicAttributesMap = (output, context) => {
|
|
|
4060
4060
|
};
|
|
4061
4061
|
const de_TopicLimitExceededException = (output, context) => {
|
|
4062
4062
|
const contents = {};
|
|
4063
|
-
if (output[
|
|
4064
|
-
contents
|
|
4063
|
+
if (output[_m] != null) {
|
|
4064
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4065
4065
|
}
|
|
4066
4066
|
return contents;
|
|
4067
4067
|
};
|
|
@@ -4078,25 +4078,25 @@ const de_UntagResourceResponse = (output, context) => {
|
|
|
4078
4078
|
};
|
|
4079
4079
|
const de_UserErrorException = (output, context) => {
|
|
4080
4080
|
const contents = {};
|
|
4081
|
-
if (output[
|
|
4082
|
-
contents
|
|
4081
|
+
if (output[_m] != null) {
|
|
4082
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
4083
4083
|
}
|
|
4084
4084
|
return contents;
|
|
4085
4085
|
};
|
|
4086
4086
|
const de_ValidationException = (output, context) => {
|
|
4087
4087
|
const contents = {};
|
|
4088
|
-
if (output[
|
|
4089
|
-
contents
|
|
4088
|
+
if (output[_M] != null) {
|
|
4089
|
+
contents[_M] = (0, smithy_client_1.expectString)(output[_M]);
|
|
4090
4090
|
}
|
|
4091
4091
|
return contents;
|
|
4092
4092
|
};
|
|
4093
4093
|
const de_VerificationException = (output, context) => {
|
|
4094
4094
|
const contents = {};
|
|
4095
|
-
if (output[
|
|
4096
|
-
contents
|
|
4095
|
+
if (output[_M] != null) {
|
|
4096
|
+
contents[_M] = (0, smithy_client_1.expectString)(output[_M]);
|
|
4097
4097
|
}
|
|
4098
|
-
if (output[
|
|
4099
|
-
contents
|
|
4098
|
+
if (output[_St] != null) {
|
|
4099
|
+
contents[_St] = (0, smithy_client_1.expectString)(output[_St]);
|
|
4100
4100
|
}
|
|
4101
4101
|
return contents;
|
|
4102
4102
|
};
|
|
@@ -4133,6 +4133,118 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4133
4133
|
const SHARED_HEADERS = {
|
|
4134
4134
|
"content-type": "application/x-www-form-urlencoded",
|
|
4135
4135
|
};
|
|
4136
|
+
const _ = "2010-03-31";
|
|
4137
|
+
const _A = "Action";
|
|
4138
|
+
const _AN = "ActionName";
|
|
4139
|
+
const _ANt = "AttributeName";
|
|
4140
|
+
const _AOU = "AuthenticateOnUnsubscribe";
|
|
4141
|
+
const _AP = "AddPermission";
|
|
4142
|
+
const _AV = "AttributeValue";
|
|
4143
|
+
const _AWSAI = "AWSAccountId";
|
|
4144
|
+
const _At = "Attributes";
|
|
4145
|
+
const _BV = "BinaryValue";
|
|
4146
|
+
const _C = "Code";
|
|
4147
|
+
const _CA = "CreatedAt";
|
|
4148
|
+
const _CIPNIOO = "CheckIfPhoneNumberIsOptedOut";
|
|
4149
|
+
const _CPA = "CreatePlatformApplication";
|
|
4150
|
+
const _CPE = "CreatePlatformEndpoint";
|
|
4151
|
+
const _CS = "ConfirmSubscription";
|
|
4152
|
+
const _CSMSSPN = "CreateSMSSandboxPhoneNumber";
|
|
4153
|
+
const _CT = "CreateTopic";
|
|
4154
|
+
const _CUD = "CustomUserData";
|
|
4155
|
+
const _DE = "DeleteEndpoint";
|
|
4156
|
+
const _DPA = "DeletePlatformApplication";
|
|
4157
|
+
const _DPP = "DataProtectionPolicy";
|
|
4158
|
+
const _DSMSSPN = "DeleteSMSSandboxPhoneNumber";
|
|
4159
|
+
const _DT = "DeleteTopic";
|
|
4160
|
+
const _DTa = "DataType";
|
|
4161
|
+
const _E = "Endpoint";
|
|
4162
|
+
const _EA = "EndpointArn";
|
|
4163
|
+
const _En = "Endpoints";
|
|
4164
|
+
const _F = "Failed";
|
|
4165
|
+
const _GDPP = "GetDataProtectionPolicy";
|
|
4166
|
+
const _GEA = "GetEndpointAttributes";
|
|
4167
|
+
const _GPAA = "GetPlatformApplicationAttributes";
|
|
4168
|
+
const _GSA = "GetSubscriptionAttributes";
|
|
4169
|
+
const _GSMSA = "GetSMSAttributes";
|
|
4170
|
+
const _GSMSSAS = "GetSMSSandboxAccountStatus";
|
|
4171
|
+
const _GTA = "GetTopicAttributes";
|
|
4172
|
+
const _I = "Id";
|
|
4173
|
+
const _ICC = "Iso2CountryCode";
|
|
4174
|
+
const _IIS = "IsInSandbox";
|
|
4175
|
+
const _K = "Key";
|
|
4176
|
+
const _L = "Label";
|
|
4177
|
+
const _LC = "LanguageCode";
|
|
4178
|
+
const _LEBPA = "ListEndpointsByPlatformApplication";
|
|
4179
|
+
const _LON = "ListOriginationNumbers";
|
|
4180
|
+
const _LPA = "ListPlatformApplications";
|
|
4181
|
+
const _LPNOO = "ListPhoneNumbersOptedOut";
|
|
4182
|
+
const _LS = "ListSubscriptions";
|
|
4183
|
+
const _LSBT = "ListSubscriptionsByTopic";
|
|
4184
|
+
const _LSMSSPN = "ListSMSSandboxPhoneNumbers";
|
|
4185
|
+
const _LT = "ListTopics";
|
|
4186
|
+
const _LTFR = "ListTagsForResource";
|
|
4187
|
+
const _M = "Message";
|
|
4188
|
+
const _MA = "MessageAttributes";
|
|
4189
|
+
const _MDI = "MessageDeduplicationId";
|
|
4190
|
+
const _MGI = "MessageGroupId";
|
|
4191
|
+
const _MI = "MessageId";
|
|
4192
|
+
const _MR = "MaxResults";
|
|
4193
|
+
const _MS = "MessageStructure";
|
|
4194
|
+
const _N = "Name";
|
|
4195
|
+
const _NC = "NumberCapabilities";
|
|
4196
|
+
const _NT = "NextToken";
|
|
4197
|
+
const _O = "Owner";
|
|
4198
|
+
const _OIPN = "OptInPhoneNumber";
|
|
4199
|
+
const _OTP = "OneTimePassword";
|
|
4200
|
+
const _P = "Publish";
|
|
4201
|
+
const _PA = "PlatformApplications";
|
|
4202
|
+
const _PAA = "PlatformApplicationArn";
|
|
4203
|
+
const _PB = "PublishBatch";
|
|
4204
|
+
const _PBRE = "PublishBatchRequestEntries";
|
|
4205
|
+
const _PDPP = "PutDataProtectionPolicy";
|
|
4206
|
+
const _PN = "PhoneNumber";
|
|
4207
|
+
const _PNh = "PhoneNumbers";
|
|
4208
|
+
const _Pl = "Platform";
|
|
4209
|
+
const _Pr = "Protocol";
|
|
4210
|
+
const _RA = "ResourceArn";
|
|
4211
|
+
const _RP = "RemovePermission";
|
|
4212
|
+
const _RSA = "ReturnSubscriptionArn";
|
|
4213
|
+
const _RT = "RouteType";
|
|
4214
|
+
const _S = "Subscribe";
|
|
4215
|
+
const _SA = "SubscriptionArn";
|
|
4216
|
+
const _SEA = "SetEndpointAttributes";
|
|
4217
|
+
const _SF = "SenderFault";
|
|
4218
|
+
const _SN = "SequenceNumber";
|
|
4219
|
+
const _SPAA = "SetPlatformApplicationAttributes";
|
|
4220
|
+
const _SSA = "SetSubscriptionAttributes";
|
|
4221
|
+
const _SSMSA = "SetSMSAttributes";
|
|
4222
|
+
const _STA = "SetTopicAttributes";
|
|
4223
|
+
const _SV = "StringValue";
|
|
4224
|
+
const _St = "Status";
|
|
4225
|
+
const _Su = "Subject";
|
|
4226
|
+
const _Sub = "Subscriptions";
|
|
4227
|
+
const _Suc = "Successful";
|
|
4228
|
+
const _T = "Token";
|
|
4229
|
+
const _TA = "TopicArn";
|
|
4230
|
+
const _TAa = "TargetArn";
|
|
4231
|
+
const _TK = "TagKeys";
|
|
4232
|
+
const _TR = "TagResource";
|
|
4233
|
+
const _Ta = "Tags";
|
|
4234
|
+
const _To = "Topics";
|
|
4235
|
+
const _U = "Unsubscribe";
|
|
4236
|
+
const _UR = "UntagResource";
|
|
4237
|
+
const _V = "Version";
|
|
4238
|
+
const _VSMSSPN = "VerifySMSSandboxPhoneNumber";
|
|
4239
|
+
const _Va = "Value";
|
|
4240
|
+
const _a = "attributes";
|
|
4241
|
+
const _e = "entry";
|
|
4242
|
+
const _iOO = "isOptedOut";
|
|
4243
|
+
const _m = "message";
|
|
4244
|
+
const _me = "member";
|
|
4245
|
+
const _nT = "nextToken";
|
|
4246
|
+
const _pN = "phoneNumber";
|
|
4247
|
+
const _pNh = "phoneNumbers";
|
|
4136
4248
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4137
4249
|
if (encoded.length) {
|
|
4138
4250
|
const parser = new fast_xml_parser_1.XMLParser({
|