@aws-sdk/client-sns 3.474.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
|
@@ -8,8 +8,8 @@ export const se_AddPermissionCommand = async (input, context) => {
|
|
|
8
8
|
let body;
|
|
9
9
|
body = buildFormUrlencodedString({
|
|
10
10
|
...se_AddPermissionInput(input, context),
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
[_A]: _AP,
|
|
12
|
+
[_V]: _,
|
|
13
13
|
});
|
|
14
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
15
|
};
|
|
@@ -18,8 +18,8 @@ export const se_CheckIfPhoneNumberIsOptedOutCommand = async (input, context) =>
|
|
|
18
18
|
let body;
|
|
19
19
|
body = buildFormUrlencodedString({
|
|
20
20
|
...se_CheckIfPhoneNumberIsOptedOutInput(input, context),
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
[_A]: _CIPNIOO,
|
|
22
|
+
[_V]: _,
|
|
23
23
|
});
|
|
24
24
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
25
25
|
};
|
|
@@ -28,8 +28,8 @@ export const se_ConfirmSubscriptionCommand = async (input, context) => {
|
|
|
28
28
|
let body;
|
|
29
29
|
body = buildFormUrlencodedString({
|
|
30
30
|
...se_ConfirmSubscriptionInput(input, context),
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
[_A]: _CS,
|
|
32
|
+
[_V]: _,
|
|
33
33
|
});
|
|
34
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
35
|
};
|
|
@@ -38,8 +38,8 @@ export const se_CreatePlatformApplicationCommand = async (input, context) => {
|
|
|
38
38
|
let body;
|
|
39
39
|
body = buildFormUrlencodedString({
|
|
40
40
|
...se_CreatePlatformApplicationInput(input, context),
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
[_A]: _CPA,
|
|
42
|
+
[_V]: _,
|
|
43
43
|
});
|
|
44
44
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
45
45
|
};
|
|
@@ -48,8 +48,8 @@ export const se_CreatePlatformEndpointCommand = async (input, context) => {
|
|
|
48
48
|
let body;
|
|
49
49
|
body = buildFormUrlencodedString({
|
|
50
50
|
...se_CreatePlatformEndpointInput(input, context),
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
[_A]: _CPE,
|
|
52
|
+
[_V]: _,
|
|
53
53
|
});
|
|
54
54
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
55
55
|
};
|
|
@@ -58,8 +58,8 @@ export const se_CreateSMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
58
58
|
let body;
|
|
59
59
|
body = buildFormUrlencodedString({
|
|
60
60
|
...se_CreateSMSSandboxPhoneNumberInput(input, context),
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
[_A]: _CSMSSPN,
|
|
62
|
+
[_V]: _,
|
|
63
63
|
});
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
@@ -68,8 +68,8 @@ export const se_CreateTopicCommand = async (input, context) => {
|
|
|
68
68
|
let body;
|
|
69
69
|
body = buildFormUrlencodedString({
|
|
70
70
|
...se_CreateTopicInput(input, context),
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
[_A]: _CT,
|
|
72
|
+
[_V]: _,
|
|
73
73
|
});
|
|
74
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
75
75
|
};
|
|
@@ -78,8 +78,8 @@ export const se_DeleteEndpointCommand = async (input, context) => {
|
|
|
78
78
|
let body;
|
|
79
79
|
body = buildFormUrlencodedString({
|
|
80
80
|
...se_DeleteEndpointInput(input, context),
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
[_A]: _DE,
|
|
82
|
+
[_V]: _,
|
|
83
83
|
});
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
@@ -88,8 +88,8 @@ export const se_DeletePlatformApplicationCommand = async (input, context) => {
|
|
|
88
88
|
let body;
|
|
89
89
|
body = buildFormUrlencodedString({
|
|
90
90
|
...se_DeletePlatformApplicationInput(input, context),
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
[_A]: _DPA,
|
|
92
|
+
[_V]: _,
|
|
93
93
|
});
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
@@ -98,8 +98,8 @@ export const se_DeleteSMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
98
98
|
let body;
|
|
99
99
|
body = buildFormUrlencodedString({
|
|
100
100
|
...se_DeleteSMSSandboxPhoneNumberInput(input, context),
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
[_A]: _DSMSSPN,
|
|
102
|
+
[_V]: _,
|
|
103
103
|
});
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
@@ -108,8 +108,8 @@ export const se_DeleteTopicCommand = async (input, context) => {
|
|
|
108
108
|
let body;
|
|
109
109
|
body = buildFormUrlencodedString({
|
|
110
110
|
...se_DeleteTopicInput(input, context),
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
[_A]: _DT,
|
|
112
|
+
[_V]: _,
|
|
113
113
|
});
|
|
114
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
115
115
|
};
|
|
@@ -118,8 +118,8 @@ export const se_GetDataProtectionPolicyCommand = async (input, context) => {
|
|
|
118
118
|
let body;
|
|
119
119
|
body = buildFormUrlencodedString({
|
|
120
120
|
...se_GetDataProtectionPolicyInput(input, context),
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
[_A]: _GDPP,
|
|
122
|
+
[_V]: _,
|
|
123
123
|
});
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
@@ -128,8 +128,8 @@ export const se_GetEndpointAttributesCommand = async (input, context) => {
|
|
|
128
128
|
let body;
|
|
129
129
|
body = buildFormUrlencodedString({
|
|
130
130
|
...se_GetEndpointAttributesInput(input, context),
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
[_A]: _GEA,
|
|
132
|
+
[_V]: _,
|
|
133
133
|
});
|
|
134
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
135
|
};
|
|
@@ -138,8 +138,8 @@ export const se_GetPlatformApplicationAttributesCommand = async (input, context)
|
|
|
138
138
|
let body;
|
|
139
139
|
body = buildFormUrlencodedString({
|
|
140
140
|
...se_GetPlatformApplicationAttributesInput(input, context),
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
[_A]: _GPAA,
|
|
142
|
+
[_V]: _,
|
|
143
143
|
});
|
|
144
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
145
145
|
};
|
|
@@ -148,8 +148,8 @@ export const se_GetSMSAttributesCommand = async (input, context) => {
|
|
|
148
148
|
let body;
|
|
149
149
|
body = buildFormUrlencodedString({
|
|
150
150
|
...se_GetSMSAttributesInput(input, context),
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
[_A]: _GSMSA,
|
|
152
|
+
[_V]: _,
|
|
153
153
|
});
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
@@ -158,8 +158,8 @@ export const se_GetSMSSandboxAccountStatusCommand = async (input, context) => {
|
|
|
158
158
|
let body;
|
|
159
159
|
body = buildFormUrlencodedString({
|
|
160
160
|
...se_GetSMSSandboxAccountStatusInput(input, context),
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
[_A]: _GSMSSAS,
|
|
162
|
+
[_V]: _,
|
|
163
163
|
});
|
|
164
164
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
165
165
|
};
|
|
@@ -168,8 +168,8 @@ export const se_GetSubscriptionAttributesCommand = async (input, context) => {
|
|
|
168
168
|
let body;
|
|
169
169
|
body = buildFormUrlencodedString({
|
|
170
170
|
...se_GetSubscriptionAttributesInput(input, context),
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
[_A]: _GSA,
|
|
172
|
+
[_V]: _,
|
|
173
173
|
});
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
@@ -178,8 +178,8 @@ export const se_GetTopicAttributesCommand = async (input, context) => {
|
|
|
178
178
|
let body;
|
|
179
179
|
body = buildFormUrlencodedString({
|
|
180
180
|
...se_GetTopicAttributesInput(input, context),
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
[_A]: _GTA,
|
|
182
|
+
[_V]: _,
|
|
183
183
|
});
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
@@ -188,8 +188,8 @@ export const se_ListEndpointsByPlatformApplicationCommand = async (input, contex
|
|
|
188
188
|
let body;
|
|
189
189
|
body = buildFormUrlencodedString({
|
|
190
190
|
...se_ListEndpointsByPlatformApplicationInput(input, context),
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
[_A]: _LEBPA,
|
|
192
|
+
[_V]: _,
|
|
193
193
|
});
|
|
194
194
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
195
195
|
};
|
|
@@ -198,8 +198,8 @@ export const se_ListOriginationNumbersCommand = async (input, context) => {
|
|
|
198
198
|
let body;
|
|
199
199
|
body = buildFormUrlencodedString({
|
|
200
200
|
...se_ListOriginationNumbersRequest(input, context),
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
[_A]: _LON,
|
|
202
|
+
[_V]: _,
|
|
203
203
|
});
|
|
204
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
205
|
};
|
|
@@ -208,8 +208,8 @@ export const se_ListPhoneNumbersOptedOutCommand = async (input, context) => {
|
|
|
208
208
|
let body;
|
|
209
209
|
body = buildFormUrlencodedString({
|
|
210
210
|
...se_ListPhoneNumbersOptedOutInput(input, context),
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[_A]: _LPNOO,
|
|
212
|
+
[_V]: _,
|
|
213
213
|
});
|
|
214
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
215
|
};
|
|
@@ -218,8 +218,8 @@ export const se_ListPlatformApplicationsCommand = async (input, context) => {
|
|
|
218
218
|
let body;
|
|
219
219
|
body = buildFormUrlencodedString({
|
|
220
220
|
...se_ListPlatformApplicationsInput(input, context),
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
[_A]: _LPA,
|
|
222
|
+
[_V]: _,
|
|
223
223
|
});
|
|
224
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
225
|
};
|
|
@@ -228,8 +228,8 @@ export const se_ListSMSSandboxPhoneNumbersCommand = async (input, context) => {
|
|
|
228
228
|
let body;
|
|
229
229
|
body = buildFormUrlencodedString({
|
|
230
230
|
...se_ListSMSSandboxPhoneNumbersInput(input, context),
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
[_A]: _LSMSSPN,
|
|
232
|
+
[_V]: _,
|
|
233
233
|
});
|
|
234
234
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
235
235
|
};
|
|
@@ -238,8 +238,8 @@ export const se_ListSubscriptionsCommand = async (input, context) => {
|
|
|
238
238
|
let body;
|
|
239
239
|
body = buildFormUrlencodedString({
|
|
240
240
|
...se_ListSubscriptionsInput(input, context),
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
[_A]: _LS,
|
|
242
|
+
[_V]: _,
|
|
243
243
|
});
|
|
244
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
245
|
};
|
|
@@ -248,8 +248,8 @@ export const se_ListSubscriptionsByTopicCommand = async (input, context) => {
|
|
|
248
248
|
let body;
|
|
249
249
|
body = buildFormUrlencodedString({
|
|
250
250
|
...se_ListSubscriptionsByTopicInput(input, context),
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
[_A]: _LSBT,
|
|
252
|
+
[_V]: _,
|
|
253
253
|
});
|
|
254
254
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
255
255
|
};
|
|
@@ -258,8 +258,8 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
258
258
|
let body;
|
|
259
259
|
body = buildFormUrlencodedString({
|
|
260
260
|
...se_ListTagsForResourceRequest(input, context),
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
[_A]: _LTFR,
|
|
262
|
+
[_V]: _,
|
|
263
263
|
});
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
@@ -268,8 +268,8 @@ export const se_ListTopicsCommand = async (input, context) => {
|
|
|
268
268
|
let body;
|
|
269
269
|
body = buildFormUrlencodedString({
|
|
270
270
|
...se_ListTopicsInput(input, context),
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
[_A]: _LT,
|
|
272
|
+
[_V]: _,
|
|
273
273
|
});
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
@@ -278,8 +278,8 @@ export const se_OptInPhoneNumberCommand = async (input, context) => {
|
|
|
278
278
|
let body;
|
|
279
279
|
body = buildFormUrlencodedString({
|
|
280
280
|
...se_OptInPhoneNumberInput(input, context),
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
[_A]: _OIPN,
|
|
282
|
+
[_V]: _,
|
|
283
283
|
});
|
|
284
284
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
285
285
|
};
|
|
@@ -288,8 +288,8 @@ export const se_PublishCommand = async (input, context) => {
|
|
|
288
288
|
let body;
|
|
289
289
|
body = buildFormUrlencodedString({
|
|
290
290
|
...se_PublishInput(input, context),
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
[_A]: _P,
|
|
292
|
+
[_V]: _,
|
|
293
293
|
});
|
|
294
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
295
|
};
|
|
@@ -298,8 +298,8 @@ export const se_PublishBatchCommand = async (input, context) => {
|
|
|
298
298
|
let body;
|
|
299
299
|
body = buildFormUrlencodedString({
|
|
300
300
|
...se_PublishBatchInput(input, context),
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
[_A]: _PB,
|
|
302
|
+
[_V]: _,
|
|
303
303
|
});
|
|
304
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
305
|
};
|
|
@@ -308,8 +308,8 @@ export const se_PutDataProtectionPolicyCommand = async (input, context) => {
|
|
|
308
308
|
let body;
|
|
309
309
|
body = buildFormUrlencodedString({
|
|
310
310
|
...se_PutDataProtectionPolicyInput(input, context),
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
[_A]: _PDPP,
|
|
312
|
+
[_V]: _,
|
|
313
313
|
});
|
|
314
314
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
315
|
};
|
|
@@ -318,8 +318,8 @@ export const se_RemovePermissionCommand = async (input, context) => {
|
|
|
318
318
|
let body;
|
|
319
319
|
body = buildFormUrlencodedString({
|
|
320
320
|
...se_RemovePermissionInput(input, context),
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
[_A]: _RP,
|
|
322
|
+
[_V]: _,
|
|
323
323
|
});
|
|
324
324
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
325
325
|
};
|
|
@@ -328,8 +328,8 @@ export const se_SetEndpointAttributesCommand = async (input, context) => {
|
|
|
328
328
|
let body;
|
|
329
329
|
body = buildFormUrlencodedString({
|
|
330
330
|
...se_SetEndpointAttributesInput(input, context),
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
[_A]: _SEA,
|
|
332
|
+
[_V]: _,
|
|
333
333
|
});
|
|
334
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
335
|
};
|
|
@@ -338,8 +338,8 @@ export const se_SetPlatformApplicationAttributesCommand = async (input, context)
|
|
|
338
338
|
let body;
|
|
339
339
|
body = buildFormUrlencodedString({
|
|
340
340
|
...se_SetPlatformApplicationAttributesInput(input, context),
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
[_A]: _SPAA,
|
|
342
|
+
[_V]: _,
|
|
343
343
|
});
|
|
344
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
345
|
};
|
|
@@ -348,8 +348,8 @@ export const se_SetSMSAttributesCommand = async (input, context) => {
|
|
|
348
348
|
let body;
|
|
349
349
|
body = buildFormUrlencodedString({
|
|
350
350
|
...se_SetSMSAttributesInput(input, context),
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
[_A]: _SSMSA,
|
|
352
|
+
[_V]: _,
|
|
353
353
|
});
|
|
354
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
355
355
|
};
|
|
@@ -358,8 +358,8 @@ export const se_SetSubscriptionAttributesCommand = async (input, context) => {
|
|
|
358
358
|
let body;
|
|
359
359
|
body = buildFormUrlencodedString({
|
|
360
360
|
...se_SetSubscriptionAttributesInput(input, context),
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
[_A]: _SSA,
|
|
362
|
+
[_V]: _,
|
|
363
363
|
});
|
|
364
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
365
|
};
|
|
@@ -368,8 +368,8 @@ export const se_SetTopicAttributesCommand = async (input, context) => {
|
|
|
368
368
|
let body;
|
|
369
369
|
body = buildFormUrlencodedString({
|
|
370
370
|
...se_SetTopicAttributesInput(input, context),
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
[_A]: _STA,
|
|
372
|
+
[_V]: _,
|
|
373
373
|
});
|
|
374
374
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
375
|
};
|
|
@@ -378,8 +378,8 @@ export const se_SubscribeCommand = async (input, context) => {
|
|
|
378
378
|
let body;
|
|
379
379
|
body = buildFormUrlencodedString({
|
|
380
380
|
...se_SubscribeInput(input, context),
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
[_A]: _S,
|
|
382
|
+
[_V]: _,
|
|
383
383
|
});
|
|
384
384
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
385
385
|
};
|
|
@@ -388,8 +388,8 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
388
388
|
let body;
|
|
389
389
|
body = buildFormUrlencodedString({
|
|
390
390
|
...se_TagResourceRequest(input, context),
|
|
391
|
-
|
|
392
|
-
|
|
391
|
+
[_A]: _TR,
|
|
392
|
+
[_V]: _,
|
|
393
393
|
});
|
|
394
394
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
395
395
|
};
|
|
@@ -398,8 +398,8 @@ export const se_UnsubscribeCommand = async (input, context) => {
|
|
|
398
398
|
let body;
|
|
399
399
|
body = buildFormUrlencodedString({
|
|
400
400
|
...se_UnsubscribeInput(input, context),
|
|
401
|
-
|
|
402
|
-
|
|
401
|
+
[_A]: _U,
|
|
402
|
+
[_V]: _,
|
|
403
403
|
});
|
|
404
404
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
405
405
|
};
|
|
@@ -408,8 +408,8 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
408
408
|
let body;
|
|
409
409
|
body = buildFormUrlencodedString({
|
|
410
410
|
...se_UntagResourceRequest(input, context),
|
|
411
|
-
|
|
412
|
-
|
|
411
|
+
[_A]: _UR,
|
|
412
|
+
[_V]: _,
|
|
413
413
|
});
|
|
414
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
415
|
};
|
|
@@ -418,8 +418,8 @@ export const se_VerifySMSSandboxPhoneNumberCommand = async (input, context) => {
|
|
|
418
418
|
let body;
|
|
419
419
|
body = buildFormUrlencodedString({
|
|
420
420
|
...se_VerifySMSSandboxPhoneNumberInput(input, context),
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
[_A]: _VSMSSPN,
|
|
422
|
+
[_V]: _,
|
|
423
423
|
});
|
|
424
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
425
|
};
|
|
@@ -2606,15 +2606,15 @@ const se_ActionsList = (input, context) => {
|
|
|
2606
2606
|
};
|
|
2607
2607
|
const se_AddPermissionInput = (input, context) => {
|
|
2608
2608
|
const entries = {};
|
|
2609
|
-
if (input
|
|
2610
|
-
entries[
|
|
2609
|
+
if (input[_TA] != null) {
|
|
2610
|
+
entries[_TA] = input[_TA];
|
|
2611
2611
|
}
|
|
2612
|
-
if (input
|
|
2613
|
-
entries[
|
|
2612
|
+
if (input[_L] != null) {
|
|
2613
|
+
entries[_L] = input[_L];
|
|
2614
2614
|
}
|
|
2615
|
-
if (input
|
|
2616
|
-
const memberEntries = se_DelegatesList(input
|
|
2617
|
-
if (input
|
|
2615
|
+
if (input[_AWSAI] != null) {
|
|
2616
|
+
const memberEntries = se_DelegatesList(input[_AWSAI], context);
|
|
2617
|
+
if (input[_AWSAI]?.length === 0) {
|
|
2618
2618
|
entries.AWSAccountId = [];
|
|
2619
2619
|
}
|
|
2620
2620
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2622,9 +2622,9 @@ const se_AddPermissionInput = (input, context) => {
|
|
|
2622
2622
|
entries[loc] = value;
|
|
2623
2623
|
});
|
|
2624
2624
|
}
|
|
2625
|
-
if (input
|
|
2626
|
-
const memberEntries = se_ActionsList(input
|
|
2627
|
-
if (input
|
|
2625
|
+
if (input[_AN] != null) {
|
|
2626
|
+
const memberEntries = se_ActionsList(input[_AN], context);
|
|
2627
|
+
if (input[_AN]?.length === 0) {
|
|
2628
2628
|
entries.ActionName = [];
|
|
2629
2629
|
}
|
|
2630
2630
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2636,34 +2636,34 @@ const se_AddPermissionInput = (input, context) => {
|
|
|
2636
2636
|
};
|
|
2637
2637
|
const se_CheckIfPhoneNumberIsOptedOutInput = (input, context) => {
|
|
2638
2638
|
const entries = {};
|
|
2639
|
-
if (input
|
|
2640
|
-
entries[
|
|
2639
|
+
if (input[_pN] != null) {
|
|
2640
|
+
entries[_pN] = input[_pN];
|
|
2641
2641
|
}
|
|
2642
2642
|
return entries;
|
|
2643
2643
|
};
|
|
2644
2644
|
const se_ConfirmSubscriptionInput = (input, context) => {
|
|
2645
2645
|
const entries = {};
|
|
2646
|
-
if (input
|
|
2647
|
-
entries[
|
|
2646
|
+
if (input[_TA] != null) {
|
|
2647
|
+
entries[_TA] = input[_TA];
|
|
2648
2648
|
}
|
|
2649
|
-
if (input
|
|
2650
|
-
entries[
|
|
2649
|
+
if (input[_T] != null) {
|
|
2650
|
+
entries[_T] = input[_T];
|
|
2651
2651
|
}
|
|
2652
|
-
if (input
|
|
2653
|
-
entries[
|
|
2652
|
+
if (input[_AOU] != null) {
|
|
2653
|
+
entries[_AOU] = input[_AOU];
|
|
2654
2654
|
}
|
|
2655
2655
|
return entries;
|
|
2656
2656
|
};
|
|
2657
2657
|
const se_CreatePlatformApplicationInput = (input, context) => {
|
|
2658
2658
|
const entries = {};
|
|
2659
|
-
if (input
|
|
2660
|
-
entries[
|
|
2659
|
+
if (input[_N] != null) {
|
|
2660
|
+
entries[_N] = input[_N];
|
|
2661
2661
|
}
|
|
2662
|
-
if (input
|
|
2663
|
-
entries[
|
|
2662
|
+
if (input[_Pl] != null) {
|
|
2663
|
+
entries[_Pl] = input[_Pl];
|
|
2664
2664
|
}
|
|
2665
|
-
if (input
|
|
2666
|
-
const memberEntries = se_MapStringToString(input
|
|
2665
|
+
if (input[_At] != null) {
|
|
2666
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
2667
2667
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2668
2668
|
const loc = `Attributes.${key}`;
|
|
2669
2669
|
entries[loc] = value;
|
|
@@ -2673,17 +2673,17 @@ const se_CreatePlatformApplicationInput = (input, context) => {
|
|
|
2673
2673
|
};
|
|
2674
2674
|
const se_CreatePlatformEndpointInput = (input, context) => {
|
|
2675
2675
|
const entries = {};
|
|
2676
|
-
if (input
|
|
2677
|
-
entries[
|
|
2676
|
+
if (input[_PAA] != null) {
|
|
2677
|
+
entries[_PAA] = input[_PAA];
|
|
2678
2678
|
}
|
|
2679
|
-
if (input
|
|
2680
|
-
entries[
|
|
2679
|
+
if (input[_T] != null) {
|
|
2680
|
+
entries[_T] = input[_T];
|
|
2681
2681
|
}
|
|
2682
|
-
if (input
|
|
2683
|
-
entries[
|
|
2682
|
+
if (input[_CUD] != null) {
|
|
2683
|
+
entries[_CUD] = input[_CUD];
|
|
2684
2684
|
}
|
|
2685
|
-
if (input
|
|
2686
|
-
const memberEntries = se_MapStringToString(input
|
|
2685
|
+
if (input[_At] != null) {
|
|
2686
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
2687
2687
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2688
2688
|
const loc = `Attributes.${key}`;
|
|
2689
2689
|
entries[loc] = value;
|
|
@@ -2693,29 +2693,29 @@ const se_CreatePlatformEndpointInput = (input, context) => {
|
|
|
2693
2693
|
};
|
|
2694
2694
|
const se_CreateSMSSandboxPhoneNumberInput = (input, context) => {
|
|
2695
2695
|
const entries = {};
|
|
2696
|
-
if (input
|
|
2697
|
-
entries[
|
|
2696
|
+
if (input[_PN] != null) {
|
|
2697
|
+
entries[_PN] = input[_PN];
|
|
2698
2698
|
}
|
|
2699
|
-
if (input
|
|
2700
|
-
entries[
|
|
2699
|
+
if (input[_LC] != null) {
|
|
2700
|
+
entries[_LC] = input[_LC];
|
|
2701
2701
|
}
|
|
2702
2702
|
return entries;
|
|
2703
2703
|
};
|
|
2704
2704
|
const se_CreateTopicInput = (input, context) => {
|
|
2705
2705
|
const entries = {};
|
|
2706
|
-
if (input
|
|
2707
|
-
entries[
|
|
2706
|
+
if (input[_N] != null) {
|
|
2707
|
+
entries[_N] = input[_N];
|
|
2708
2708
|
}
|
|
2709
|
-
if (input
|
|
2710
|
-
const memberEntries = se_TopicAttributesMap(input
|
|
2709
|
+
if (input[_At] != null) {
|
|
2710
|
+
const memberEntries = se_TopicAttributesMap(input[_At], context);
|
|
2711
2711
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2712
2712
|
const loc = `Attributes.${key}`;
|
|
2713
2713
|
entries[loc] = value;
|
|
2714
2714
|
});
|
|
2715
2715
|
}
|
|
2716
|
-
if (input
|
|
2717
|
-
const memberEntries = se_TagList(input
|
|
2718
|
-
if (input
|
|
2716
|
+
if (input[_Ta] != null) {
|
|
2717
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
2718
|
+
if (input[_Ta]?.length === 0) {
|
|
2719
2719
|
entries.Tags = [];
|
|
2720
2720
|
}
|
|
2721
2721
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2723,8 +2723,8 @@ const se_CreateTopicInput = (input, context) => {
|
|
|
2723
2723
|
entries[loc] = value;
|
|
2724
2724
|
});
|
|
2725
2725
|
}
|
|
2726
|
-
if (input
|
|
2727
|
-
entries[
|
|
2726
|
+
if (input[_DPP] != null) {
|
|
2727
|
+
entries[_DPP] = input[_DPP];
|
|
2728
2728
|
}
|
|
2729
2729
|
return entries;
|
|
2730
2730
|
};
|
|
@@ -2742,58 +2742,58 @@ const se_DelegatesList = (input, context) => {
|
|
|
2742
2742
|
};
|
|
2743
2743
|
const se_DeleteEndpointInput = (input, context) => {
|
|
2744
2744
|
const entries = {};
|
|
2745
|
-
if (input
|
|
2746
|
-
entries[
|
|
2745
|
+
if (input[_EA] != null) {
|
|
2746
|
+
entries[_EA] = input[_EA];
|
|
2747
2747
|
}
|
|
2748
2748
|
return entries;
|
|
2749
2749
|
};
|
|
2750
2750
|
const se_DeletePlatformApplicationInput = (input, context) => {
|
|
2751
2751
|
const entries = {};
|
|
2752
|
-
if (input
|
|
2753
|
-
entries[
|
|
2752
|
+
if (input[_PAA] != null) {
|
|
2753
|
+
entries[_PAA] = input[_PAA];
|
|
2754
2754
|
}
|
|
2755
2755
|
return entries;
|
|
2756
2756
|
};
|
|
2757
2757
|
const se_DeleteSMSSandboxPhoneNumberInput = (input, context) => {
|
|
2758
2758
|
const entries = {};
|
|
2759
|
-
if (input
|
|
2760
|
-
entries[
|
|
2759
|
+
if (input[_PN] != null) {
|
|
2760
|
+
entries[_PN] = input[_PN];
|
|
2761
2761
|
}
|
|
2762
2762
|
return entries;
|
|
2763
2763
|
};
|
|
2764
2764
|
const se_DeleteTopicInput = (input, context) => {
|
|
2765
2765
|
const entries = {};
|
|
2766
|
-
if (input
|
|
2767
|
-
entries[
|
|
2766
|
+
if (input[_TA] != null) {
|
|
2767
|
+
entries[_TA] = input[_TA];
|
|
2768
2768
|
}
|
|
2769
2769
|
return entries;
|
|
2770
2770
|
};
|
|
2771
2771
|
const se_GetDataProtectionPolicyInput = (input, context) => {
|
|
2772
2772
|
const entries = {};
|
|
2773
|
-
if (input
|
|
2774
|
-
entries[
|
|
2773
|
+
if (input[_RA] != null) {
|
|
2774
|
+
entries[_RA] = input[_RA];
|
|
2775
2775
|
}
|
|
2776
2776
|
return entries;
|
|
2777
2777
|
};
|
|
2778
2778
|
const se_GetEndpointAttributesInput = (input, context) => {
|
|
2779
2779
|
const entries = {};
|
|
2780
|
-
if (input
|
|
2781
|
-
entries[
|
|
2780
|
+
if (input[_EA] != null) {
|
|
2781
|
+
entries[_EA] = input[_EA];
|
|
2782
2782
|
}
|
|
2783
2783
|
return entries;
|
|
2784
2784
|
};
|
|
2785
2785
|
const se_GetPlatformApplicationAttributesInput = (input, context) => {
|
|
2786
2786
|
const entries = {};
|
|
2787
|
-
if (input
|
|
2788
|
-
entries[
|
|
2787
|
+
if (input[_PAA] != null) {
|
|
2788
|
+
entries[_PAA] = input[_PAA];
|
|
2789
2789
|
}
|
|
2790
2790
|
return entries;
|
|
2791
2791
|
};
|
|
2792
2792
|
const se_GetSMSAttributesInput = (input, context) => {
|
|
2793
2793
|
const entries = {};
|
|
2794
|
-
if (input
|
|
2795
|
-
const memberEntries = se_ListString(input
|
|
2796
|
-
if (input
|
|
2794
|
+
if (input[_a] != null) {
|
|
2795
|
+
const memberEntries = se_ListString(input[_a], context);
|
|
2796
|
+
if (input[_a]?.length === 0) {
|
|
2797
2797
|
entries.attributes = [];
|
|
2798
2798
|
}
|
|
2799
2799
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2809,59 +2809,59 @@ const se_GetSMSSandboxAccountStatusInput = (input, context) => {
|
|
|
2809
2809
|
};
|
|
2810
2810
|
const se_GetSubscriptionAttributesInput = (input, context) => {
|
|
2811
2811
|
const entries = {};
|
|
2812
|
-
if (input
|
|
2813
|
-
entries[
|
|
2812
|
+
if (input[_SA] != null) {
|
|
2813
|
+
entries[_SA] = input[_SA];
|
|
2814
2814
|
}
|
|
2815
2815
|
return entries;
|
|
2816
2816
|
};
|
|
2817
2817
|
const se_GetTopicAttributesInput = (input, context) => {
|
|
2818
2818
|
const entries = {};
|
|
2819
|
-
if (input
|
|
2820
|
-
entries[
|
|
2819
|
+
if (input[_TA] != null) {
|
|
2820
|
+
entries[_TA] = input[_TA];
|
|
2821
2821
|
}
|
|
2822
2822
|
return entries;
|
|
2823
2823
|
};
|
|
2824
2824
|
const se_ListEndpointsByPlatformApplicationInput = (input, context) => {
|
|
2825
2825
|
const entries = {};
|
|
2826
|
-
if (input
|
|
2827
|
-
entries[
|
|
2826
|
+
if (input[_PAA] != null) {
|
|
2827
|
+
entries[_PAA] = input[_PAA];
|
|
2828
2828
|
}
|
|
2829
|
-
if (input
|
|
2830
|
-
entries[
|
|
2829
|
+
if (input[_NT] != null) {
|
|
2830
|
+
entries[_NT] = input[_NT];
|
|
2831
2831
|
}
|
|
2832
2832
|
return entries;
|
|
2833
2833
|
};
|
|
2834
2834
|
const se_ListOriginationNumbersRequest = (input, context) => {
|
|
2835
2835
|
const entries = {};
|
|
2836
|
-
if (input
|
|
2837
|
-
entries[
|
|
2836
|
+
if (input[_NT] != null) {
|
|
2837
|
+
entries[_NT] = input[_NT];
|
|
2838
2838
|
}
|
|
2839
|
-
if (input
|
|
2840
|
-
entries[
|
|
2839
|
+
if (input[_MR] != null) {
|
|
2840
|
+
entries[_MR] = input[_MR];
|
|
2841
2841
|
}
|
|
2842
2842
|
return entries;
|
|
2843
2843
|
};
|
|
2844
2844
|
const se_ListPhoneNumbersOptedOutInput = (input, context) => {
|
|
2845
2845
|
const entries = {};
|
|
2846
|
-
if (input
|
|
2847
|
-
entries[
|
|
2846
|
+
if (input[_nT] != null) {
|
|
2847
|
+
entries[_nT] = input[_nT];
|
|
2848
2848
|
}
|
|
2849
2849
|
return entries;
|
|
2850
2850
|
};
|
|
2851
2851
|
const se_ListPlatformApplicationsInput = (input, context) => {
|
|
2852
2852
|
const entries = {};
|
|
2853
|
-
if (input
|
|
2854
|
-
entries[
|
|
2853
|
+
if (input[_NT] != null) {
|
|
2854
|
+
entries[_NT] = input[_NT];
|
|
2855
2855
|
}
|
|
2856
2856
|
return entries;
|
|
2857
2857
|
};
|
|
2858
2858
|
const se_ListSMSSandboxPhoneNumbersInput = (input, context) => {
|
|
2859
2859
|
const entries = {};
|
|
2860
|
-
if (input
|
|
2861
|
-
entries[
|
|
2860
|
+
if (input[_NT] != null) {
|
|
2861
|
+
entries[_NT] = input[_NT];
|
|
2862
2862
|
}
|
|
2863
|
-
if (input
|
|
2864
|
-
entries[
|
|
2863
|
+
if (input[_MR] != null) {
|
|
2864
|
+
entries[_MR] = input[_MR];
|
|
2865
2865
|
}
|
|
2866
2866
|
return entries;
|
|
2867
2867
|
};
|
|
@@ -2879,32 +2879,32 @@ const se_ListString = (input, context) => {
|
|
|
2879
2879
|
};
|
|
2880
2880
|
const se_ListSubscriptionsByTopicInput = (input, context) => {
|
|
2881
2881
|
const entries = {};
|
|
2882
|
-
if (input
|
|
2883
|
-
entries[
|
|
2882
|
+
if (input[_TA] != null) {
|
|
2883
|
+
entries[_TA] = input[_TA];
|
|
2884
2884
|
}
|
|
2885
|
-
if (input
|
|
2886
|
-
entries[
|
|
2885
|
+
if (input[_NT] != null) {
|
|
2886
|
+
entries[_NT] = input[_NT];
|
|
2887
2887
|
}
|
|
2888
2888
|
return entries;
|
|
2889
2889
|
};
|
|
2890
2890
|
const se_ListSubscriptionsInput = (input, context) => {
|
|
2891
2891
|
const entries = {};
|
|
2892
|
-
if (input
|
|
2893
|
-
entries[
|
|
2892
|
+
if (input[_NT] != null) {
|
|
2893
|
+
entries[_NT] = input[_NT];
|
|
2894
2894
|
}
|
|
2895
2895
|
return entries;
|
|
2896
2896
|
};
|
|
2897
2897
|
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2898
2898
|
const entries = {};
|
|
2899
|
-
if (input
|
|
2900
|
-
entries[
|
|
2899
|
+
if (input[_RA] != null) {
|
|
2900
|
+
entries[_RA] = input[_RA];
|
|
2901
2901
|
}
|
|
2902
2902
|
return entries;
|
|
2903
2903
|
};
|
|
2904
2904
|
const se_ListTopicsInput = (input, context) => {
|
|
2905
2905
|
const entries = {};
|
|
2906
|
-
if (input
|
|
2907
|
-
entries[
|
|
2906
|
+
if (input[_NT] != null) {
|
|
2907
|
+
entries[_NT] = input[_NT];
|
|
2908
2908
|
}
|
|
2909
2909
|
return entries;
|
|
2910
2910
|
};
|
|
@@ -2937,32 +2937,32 @@ const se_MessageAttributeMap = (input, context) => {
|
|
|
2937
2937
|
};
|
|
2938
2938
|
const se_MessageAttributeValue = (input, context) => {
|
|
2939
2939
|
const entries = {};
|
|
2940
|
-
if (input
|
|
2941
|
-
entries[
|
|
2940
|
+
if (input[_DTa] != null) {
|
|
2941
|
+
entries[_DTa] = input[_DTa];
|
|
2942
2942
|
}
|
|
2943
|
-
if (input
|
|
2944
|
-
entries[
|
|
2943
|
+
if (input[_SV] != null) {
|
|
2944
|
+
entries[_SV] = input[_SV];
|
|
2945
2945
|
}
|
|
2946
|
-
if (input
|
|
2947
|
-
entries[
|
|
2946
|
+
if (input[_BV] != null) {
|
|
2947
|
+
entries[_BV] = context.base64Encoder(input[_BV]);
|
|
2948
2948
|
}
|
|
2949
2949
|
return entries;
|
|
2950
2950
|
};
|
|
2951
2951
|
const se_OptInPhoneNumberInput = (input, context) => {
|
|
2952
2952
|
const entries = {};
|
|
2953
|
-
if (input
|
|
2954
|
-
entries[
|
|
2953
|
+
if (input[_pN] != null) {
|
|
2954
|
+
entries[_pN] = input[_pN];
|
|
2955
2955
|
}
|
|
2956
2956
|
return entries;
|
|
2957
2957
|
};
|
|
2958
2958
|
const se_PublishBatchInput = (input, context) => {
|
|
2959
2959
|
const entries = {};
|
|
2960
|
-
if (input
|
|
2961
|
-
entries[
|
|
2960
|
+
if (input[_TA] != null) {
|
|
2961
|
+
entries[_TA] = input[_TA];
|
|
2962
2962
|
}
|
|
2963
|
-
if (input
|
|
2964
|
-
const memberEntries = se_PublishBatchRequestEntryList(input
|
|
2965
|
-
if (input
|
|
2963
|
+
if (input[_PBRE] != null) {
|
|
2964
|
+
const memberEntries = se_PublishBatchRequestEntryList(input[_PBRE], context);
|
|
2965
|
+
if (input[_PBRE]?.length === 0) {
|
|
2966
2966
|
entries.PublishBatchRequestEntries = [];
|
|
2967
2967
|
}
|
|
2968
2968
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -2974,30 +2974,30 @@ const se_PublishBatchInput = (input, context) => {
|
|
|
2974
2974
|
};
|
|
2975
2975
|
const se_PublishBatchRequestEntry = (input, context) => {
|
|
2976
2976
|
const entries = {};
|
|
2977
|
-
if (input
|
|
2978
|
-
entries[
|
|
2977
|
+
if (input[_I] != null) {
|
|
2978
|
+
entries[_I] = input[_I];
|
|
2979
2979
|
}
|
|
2980
|
-
if (input
|
|
2981
|
-
entries[
|
|
2980
|
+
if (input[_M] != null) {
|
|
2981
|
+
entries[_M] = input[_M];
|
|
2982
2982
|
}
|
|
2983
|
-
if (input
|
|
2984
|
-
entries[
|
|
2983
|
+
if (input[_Su] != null) {
|
|
2984
|
+
entries[_Su] = input[_Su];
|
|
2985
2985
|
}
|
|
2986
|
-
if (input
|
|
2987
|
-
entries[
|
|
2986
|
+
if (input[_MS] != null) {
|
|
2987
|
+
entries[_MS] = input[_MS];
|
|
2988
2988
|
}
|
|
2989
|
-
if (input
|
|
2990
|
-
const memberEntries = se_MessageAttributeMap(input
|
|
2989
|
+
if (input[_MA] != null) {
|
|
2990
|
+
const memberEntries = se_MessageAttributeMap(input[_MA], context);
|
|
2991
2991
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2992
2992
|
const loc = `MessageAttributes.${key}`;
|
|
2993
2993
|
entries[loc] = value;
|
|
2994
2994
|
});
|
|
2995
2995
|
}
|
|
2996
|
-
if (input
|
|
2997
|
-
entries[
|
|
2996
|
+
if (input[_MDI] != null) {
|
|
2997
|
+
entries[_MDI] = input[_MDI];
|
|
2998
2998
|
}
|
|
2999
|
-
if (input
|
|
3000
|
-
entries[
|
|
2999
|
+
if (input[_MGI] != null) {
|
|
3000
|
+
entries[_MGI] = input[_MGI];
|
|
3001
3001
|
}
|
|
3002
3002
|
return entries;
|
|
3003
3003
|
};
|
|
@@ -3018,66 +3018,66 @@ const se_PublishBatchRequestEntryList = (input, context) => {
|
|
|
3018
3018
|
};
|
|
3019
3019
|
const se_PublishInput = (input, context) => {
|
|
3020
3020
|
const entries = {};
|
|
3021
|
-
if (input
|
|
3022
|
-
entries[
|
|
3021
|
+
if (input[_TA] != null) {
|
|
3022
|
+
entries[_TA] = input[_TA];
|
|
3023
3023
|
}
|
|
3024
|
-
if (input
|
|
3025
|
-
entries[
|
|
3024
|
+
if (input[_TAa] != null) {
|
|
3025
|
+
entries[_TAa] = input[_TAa];
|
|
3026
3026
|
}
|
|
3027
|
-
if (input
|
|
3028
|
-
entries[
|
|
3027
|
+
if (input[_PN] != null) {
|
|
3028
|
+
entries[_PN] = input[_PN];
|
|
3029
3029
|
}
|
|
3030
|
-
if (input
|
|
3031
|
-
entries[
|
|
3030
|
+
if (input[_M] != null) {
|
|
3031
|
+
entries[_M] = input[_M];
|
|
3032
3032
|
}
|
|
3033
|
-
if (input
|
|
3034
|
-
entries[
|
|
3033
|
+
if (input[_Su] != null) {
|
|
3034
|
+
entries[_Su] = input[_Su];
|
|
3035
3035
|
}
|
|
3036
|
-
if (input
|
|
3037
|
-
entries[
|
|
3036
|
+
if (input[_MS] != null) {
|
|
3037
|
+
entries[_MS] = input[_MS];
|
|
3038
3038
|
}
|
|
3039
|
-
if (input
|
|
3040
|
-
const memberEntries = se_MessageAttributeMap(input
|
|
3039
|
+
if (input[_MA] != null) {
|
|
3040
|
+
const memberEntries = se_MessageAttributeMap(input[_MA], context);
|
|
3041
3041
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3042
3042
|
const loc = `MessageAttributes.${key}`;
|
|
3043
3043
|
entries[loc] = value;
|
|
3044
3044
|
});
|
|
3045
3045
|
}
|
|
3046
|
-
if (input
|
|
3047
|
-
entries[
|
|
3046
|
+
if (input[_MDI] != null) {
|
|
3047
|
+
entries[_MDI] = input[_MDI];
|
|
3048
3048
|
}
|
|
3049
|
-
if (input
|
|
3050
|
-
entries[
|
|
3049
|
+
if (input[_MGI] != null) {
|
|
3050
|
+
entries[_MGI] = input[_MGI];
|
|
3051
3051
|
}
|
|
3052
3052
|
return entries;
|
|
3053
3053
|
};
|
|
3054
3054
|
const se_PutDataProtectionPolicyInput = (input, context) => {
|
|
3055
3055
|
const entries = {};
|
|
3056
|
-
if (input
|
|
3057
|
-
entries[
|
|
3056
|
+
if (input[_RA] != null) {
|
|
3057
|
+
entries[_RA] = input[_RA];
|
|
3058
3058
|
}
|
|
3059
|
-
if (input
|
|
3060
|
-
entries[
|
|
3059
|
+
if (input[_DPP] != null) {
|
|
3060
|
+
entries[_DPP] = input[_DPP];
|
|
3061
3061
|
}
|
|
3062
3062
|
return entries;
|
|
3063
3063
|
};
|
|
3064
3064
|
const se_RemovePermissionInput = (input, context) => {
|
|
3065
3065
|
const entries = {};
|
|
3066
|
-
if (input
|
|
3067
|
-
entries[
|
|
3066
|
+
if (input[_TA] != null) {
|
|
3067
|
+
entries[_TA] = input[_TA];
|
|
3068
3068
|
}
|
|
3069
|
-
if (input
|
|
3070
|
-
entries[
|
|
3069
|
+
if (input[_L] != null) {
|
|
3070
|
+
entries[_L] = input[_L];
|
|
3071
3071
|
}
|
|
3072
3072
|
return entries;
|
|
3073
3073
|
};
|
|
3074
3074
|
const se_SetEndpointAttributesInput = (input, context) => {
|
|
3075
3075
|
const entries = {};
|
|
3076
|
-
if (input
|
|
3077
|
-
entries[
|
|
3076
|
+
if (input[_EA] != null) {
|
|
3077
|
+
entries[_EA] = input[_EA];
|
|
3078
3078
|
}
|
|
3079
|
-
if (input
|
|
3080
|
-
const memberEntries = se_MapStringToString(input
|
|
3079
|
+
if (input[_At] != null) {
|
|
3080
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
3081
3081
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3082
3082
|
const loc = `Attributes.${key}`;
|
|
3083
3083
|
entries[loc] = value;
|
|
@@ -3087,11 +3087,11 @@ const se_SetEndpointAttributesInput = (input, context) => {
|
|
|
3087
3087
|
};
|
|
3088
3088
|
const se_SetPlatformApplicationAttributesInput = (input, context) => {
|
|
3089
3089
|
const entries = {};
|
|
3090
|
-
if (input
|
|
3091
|
-
entries[
|
|
3090
|
+
if (input[_PAA] != null) {
|
|
3091
|
+
entries[_PAA] = input[_PAA];
|
|
3092
3092
|
}
|
|
3093
|
-
if (input
|
|
3094
|
-
const memberEntries = se_MapStringToString(input
|
|
3093
|
+
if (input[_At] != null) {
|
|
3094
|
+
const memberEntries = se_MapStringToString(input[_At], context);
|
|
3095
3095
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3096
3096
|
const loc = `Attributes.${key}`;
|
|
3097
3097
|
entries[loc] = value;
|
|
@@ -3101,8 +3101,8 @@ const se_SetPlatformApplicationAttributesInput = (input, context) => {
|
|
|
3101
3101
|
};
|
|
3102
3102
|
const se_SetSMSAttributesInput = (input, context) => {
|
|
3103
3103
|
const entries = {};
|
|
3104
|
-
if (input
|
|
3105
|
-
const memberEntries = se_MapStringToString(input
|
|
3104
|
+
if (input[_a] != null) {
|
|
3105
|
+
const memberEntries = se_MapStringToString(input[_a], context);
|
|
3106
3106
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3107
3107
|
const loc = `attributes.${key}`;
|
|
3108
3108
|
entries[loc] = value;
|
|
@@ -3112,50 +3112,50 @@ const se_SetSMSAttributesInput = (input, context) => {
|
|
|
3112
3112
|
};
|
|
3113
3113
|
const se_SetSubscriptionAttributesInput = (input, context) => {
|
|
3114
3114
|
const entries = {};
|
|
3115
|
-
if (input
|
|
3116
|
-
entries[
|
|
3115
|
+
if (input[_SA] != null) {
|
|
3116
|
+
entries[_SA] = input[_SA];
|
|
3117
3117
|
}
|
|
3118
|
-
if (input
|
|
3119
|
-
entries[
|
|
3118
|
+
if (input[_ANt] != null) {
|
|
3119
|
+
entries[_ANt] = input[_ANt];
|
|
3120
3120
|
}
|
|
3121
|
-
if (input
|
|
3122
|
-
entries[
|
|
3121
|
+
if (input[_AV] != null) {
|
|
3122
|
+
entries[_AV] = input[_AV];
|
|
3123
3123
|
}
|
|
3124
3124
|
return entries;
|
|
3125
3125
|
};
|
|
3126
3126
|
const se_SetTopicAttributesInput = (input, context) => {
|
|
3127
3127
|
const entries = {};
|
|
3128
|
-
if (input
|
|
3129
|
-
entries[
|
|
3128
|
+
if (input[_TA] != null) {
|
|
3129
|
+
entries[_TA] = input[_TA];
|
|
3130
3130
|
}
|
|
3131
|
-
if (input
|
|
3132
|
-
entries[
|
|
3131
|
+
if (input[_ANt] != null) {
|
|
3132
|
+
entries[_ANt] = input[_ANt];
|
|
3133
3133
|
}
|
|
3134
|
-
if (input
|
|
3135
|
-
entries[
|
|
3134
|
+
if (input[_AV] != null) {
|
|
3135
|
+
entries[_AV] = input[_AV];
|
|
3136
3136
|
}
|
|
3137
3137
|
return entries;
|
|
3138
3138
|
};
|
|
3139
3139
|
const se_SubscribeInput = (input, context) => {
|
|
3140
3140
|
const entries = {};
|
|
3141
|
-
if (input
|
|
3142
|
-
entries[
|
|
3141
|
+
if (input[_TA] != null) {
|
|
3142
|
+
entries[_TA] = input[_TA];
|
|
3143
3143
|
}
|
|
3144
|
-
if (input
|
|
3145
|
-
entries[
|
|
3144
|
+
if (input[_Pr] != null) {
|
|
3145
|
+
entries[_Pr] = input[_Pr];
|
|
3146
3146
|
}
|
|
3147
|
-
if (input
|
|
3148
|
-
entries[
|
|
3147
|
+
if (input[_E] != null) {
|
|
3148
|
+
entries[_E] = input[_E];
|
|
3149
3149
|
}
|
|
3150
|
-
if (input
|
|
3151
|
-
const memberEntries = se_SubscriptionAttributesMap(input
|
|
3150
|
+
if (input[_At] != null) {
|
|
3151
|
+
const memberEntries = se_SubscriptionAttributesMap(input[_At], context);
|
|
3152
3152
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3153
3153
|
const loc = `Attributes.${key}`;
|
|
3154
3154
|
entries[loc] = value;
|
|
3155
3155
|
});
|
|
3156
3156
|
}
|
|
3157
|
-
if (input
|
|
3158
|
-
entries[
|
|
3157
|
+
if (input[_RSA] != null) {
|
|
3158
|
+
entries[_RSA] = input[_RSA];
|
|
3159
3159
|
}
|
|
3160
3160
|
return entries;
|
|
3161
3161
|
};
|
|
@@ -3173,11 +3173,11 @@ const se_SubscriptionAttributesMap = (input, context) => {
|
|
|
3173
3173
|
};
|
|
3174
3174
|
const se_Tag = (input, context) => {
|
|
3175
3175
|
const entries = {};
|
|
3176
|
-
if (input
|
|
3177
|
-
entries[
|
|
3176
|
+
if (input[_K] != null) {
|
|
3177
|
+
entries[_K] = input[_K];
|
|
3178
3178
|
}
|
|
3179
|
-
if (input
|
|
3180
|
-
entries[
|
|
3179
|
+
if (input[_Va] != null) {
|
|
3180
|
+
entries[_Va] = input[_Va];
|
|
3181
3181
|
}
|
|
3182
3182
|
return entries;
|
|
3183
3183
|
};
|
|
@@ -3210,12 +3210,12 @@ const se_TagList = (input, context) => {
|
|
|
3210
3210
|
};
|
|
3211
3211
|
const se_TagResourceRequest = (input, context) => {
|
|
3212
3212
|
const entries = {};
|
|
3213
|
-
if (input
|
|
3214
|
-
entries[
|
|
3213
|
+
if (input[_RA] != null) {
|
|
3214
|
+
entries[_RA] = input[_RA];
|
|
3215
3215
|
}
|
|
3216
|
-
if (input
|
|
3217
|
-
const memberEntries = se_TagList(input
|
|
3218
|
-
if (input
|
|
3216
|
+
if (input[_Ta] != null) {
|
|
3217
|
+
const memberEntries = se_TagList(input[_Ta], context);
|
|
3218
|
+
if (input[_Ta]?.length === 0) {
|
|
3219
3219
|
entries.Tags = [];
|
|
3220
3220
|
}
|
|
3221
3221
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3239,19 +3239,19 @@ const se_TopicAttributesMap = (input, context) => {
|
|
|
3239
3239
|
};
|
|
3240
3240
|
const se_UnsubscribeInput = (input, context) => {
|
|
3241
3241
|
const entries = {};
|
|
3242
|
-
if (input
|
|
3243
|
-
entries[
|
|
3242
|
+
if (input[_SA] != null) {
|
|
3243
|
+
entries[_SA] = input[_SA];
|
|
3244
3244
|
}
|
|
3245
3245
|
return entries;
|
|
3246
3246
|
};
|
|
3247
3247
|
const se_UntagResourceRequest = (input, context) => {
|
|
3248
3248
|
const entries = {};
|
|
3249
|
-
if (input
|
|
3250
|
-
entries[
|
|
3249
|
+
if (input[_RA] != null) {
|
|
3250
|
+
entries[_RA] = input[_RA];
|
|
3251
3251
|
}
|
|
3252
|
-
if (input
|
|
3253
|
-
const memberEntries = se_TagKeyList(input
|
|
3254
|
-
if (input
|
|
3252
|
+
if (input[_TK] != null) {
|
|
3253
|
+
const memberEntries = se_TagKeyList(input[_TK], context);
|
|
3254
|
+
if (input[_TK]?.length === 0) {
|
|
3255
3255
|
entries.TagKeys = [];
|
|
3256
3256
|
}
|
|
3257
3257
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
@@ -3263,48 +3263,48 @@ const se_UntagResourceRequest = (input, context) => {
|
|
|
3263
3263
|
};
|
|
3264
3264
|
const se_VerifySMSSandboxPhoneNumberInput = (input, context) => {
|
|
3265
3265
|
const entries = {};
|
|
3266
|
-
if (input
|
|
3267
|
-
entries[
|
|
3266
|
+
if (input[_PN] != null) {
|
|
3267
|
+
entries[_PN] = input[_PN];
|
|
3268
3268
|
}
|
|
3269
|
-
if (input
|
|
3270
|
-
entries[
|
|
3269
|
+
if (input[_OTP] != null) {
|
|
3270
|
+
entries[_OTP] = input[_OTP];
|
|
3271
3271
|
}
|
|
3272
3272
|
return entries;
|
|
3273
3273
|
};
|
|
3274
3274
|
const de_AuthorizationErrorException = (output, context) => {
|
|
3275
3275
|
const contents = {};
|
|
3276
|
-
if (output[
|
|
3277
|
-
contents
|
|
3276
|
+
if (output[_m] != null) {
|
|
3277
|
+
contents[_m] = __expectString(output[_m]);
|
|
3278
3278
|
}
|
|
3279
3279
|
return contents;
|
|
3280
3280
|
};
|
|
3281
3281
|
const de_BatchEntryIdsNotDistinctException = (output, context) => {
|
|
3282
3282
|
const contents = {};
|
|
3283
|
-
if (output[
|
|
3284
|
-
contents
|
|
3283
|
+
if (output[_m] != null) {
|
|
3284
|
+
contents[_m] = __expectString(output[_m]);
|
|
3285
3285
|
}
|
|
3286
3286
|
return contents;
|
|
3287
3287
|
};
|
|
3288
3288
|
const de_BatchRequestTooLongException = (output, context) => {
|
|
3289
3289
|
const contents = {};
|
|
3290
|
-
if (output[
|
|
3291
|
-
contents
|
|
3290
|
+
if (output[_m] != null) {
|
|
3291
|
+
contents[_m] = __expectString(output[_m]);
|
|
3292
3292
|
}
|
|
3293
3293
|
return contents;
|
|
3294
3294
|
};
|
|
3295
3295
|
const de_BatchResultErrorEntry = (output, context) => {
|
|
3296
3296
|
const contents = {};
|
|
3297
|
-
if (output[
|
|
3298
|
-
contents
|
|
3297
|
+
if (output[_I] != null) {
|
|
3298
|
+
contents[_I] = __expectString(output[_I]);
|
|
3299
3299
|
}
|
|
3300
|
-
if (output[
|
|
3301
|
-
contents
|
|
3300
|
+
if (output[_C] != null) {
|
|
3301
|
+
contents[_C] = __expectString(output[_C]);
|
|
3302
3302
|
}
|
|
3303
|
-
if (output[
|
|
3304
|
-
contents
|
|
3303
|
+
if (output[_M] != null) {
|
|
3304
|
+
contents[_M] = __expectString(output[_M]);
|
|
3305
3305
|
}
|
|
3306
|
-
if (output[
|
|
3307
|
-
contents
|
|
3306
|
+
if (output[_SF] != null) {
|
|
3307
|
+
contents[_SF] = __parseBoolean(output[_SF]);
|
|
3308
3308
|
}
|
|
3309
3309
|
return contents;
|
|
3310
3310
|
};
|
|
@@ -3317,36 +3317,36 @@ const de_BatchResultErrorEntryList = (output, context) => {
|
|
|
3317
3317
|
};
|
|
3318
3318
|
const de_CheckIfPhoneNumberIsOptedOutResponse = (output, context) => {
|
|
3319
3319
|
const contents = {};
|
|
3320
|
-
if (output[
|
|
3321
|
-
contents
|
|
3320
|
+
if (output[_iOO] != null) {
|
|
3321
|
+
contents[_iOO] = __parseBoolean(output[_iOO]);
|
|
3322
3322
|
}
|
|
3323
3323
|
return contents;
|
|
3324
3324
|
};
|
|
3325
3325
|
const de_ConcurrentAccessException = (output, context) => {
|
|
3326
3326
|
const contents = {};
|
|
3327
|
-
if (output[
|
|
3328
|
-
contents
|
|
3327
|
+
if (output[_m] != null) {
|
|
3328
|
+
contents[_m] = __expectString(output[_m]);
|
|
3329
3329
|
}
|
|
3330
3330
|
return contents;
|
|
3331
3331
|
};
|
|
3332
3332
|
const de_ConfirmSubscriptionResponse = (output, context) => {
|
|
3333
3333
|
const contents = {};
|
|
3334
|
-
if (output[
|
|
3335
|
-
contents
|
|
3334
|
+
if (output[_SA] != null) {
|
|
3335
|
+
contents[_SA] = __expectString(output[_SA]);
|
|
3336
3336
|
}
|
|
3337
3337
|
return contents;
|
|
3338
3338
|
};
|
|
3339
3339
|
const de_CreateEndpointResponse = (output, context) => {
|
|
3340
3340
|
const contents = {};
|
|
3341
|
-
if (output[
|
|
3342
|
-
contents
|
|
3341
|
+
if (output[_EA] != null) {
|
|
3342
|
+
contents[_EA] = __expectString(output[_EA]);
|
|
3343
3343
|
}
|
|
3344
3344
|
return contents;
|
|
3345
3345
|
};
|
|
3346
3346
|
const de_CreatePlatformApplicationResponse = (output, context) => {
|
|
3347
3347
|
const contents = {};
|
|
3348
|
-
if (output[
|
|
3349
|
-
contents
|
|
3348
|
+
if (output[_PAA] != null) {
|
|
3349
|
+
contents[_PAA] = __expectString(output[_PAA]);
|
|
3350
3350
|
}
|
|
3351
3351
|
return contents;
|
|
3352
3352
|
};
|
|
@@ -3356,8 +3356,8 @@ const de_CreateSMSSandboxPhoneNumberResult = (output, context) => {
|
|
|
3356
3356
|
};
|
|
3357
3357
|
const de_CreateTopicResponse = (output, context) => {
|
|
3358
3358
|
const contents = {};
|
|
3359
|
-
if (output[
|
|
3360
|
-
contents
|
|
3359
|
+
if (output[_TA] != null) {
|
|
3360
|
+
contents[_TA] = __expectString(output[_TA]);
|
|
3361
3361
|
}
|
|
3362
3362
|
return contents;
|
|
3363
3363
|
};
|
|
@@ -3367,196 +3367,196 @@ const de_DeleteSMSSandboxPhoneNumberResult = (output, context) => {
|
|
|
3367
3367
|
};
|
|
3368
3368
|
const de_EmptyBatchRequestException = (output, context) => {
|
|
3369
3369
|
const contents = {};
|
|
3370
|
-
if (output[
|
|
3371
|
-
contents
|
|
3370
|
+
if (output[_m] != null) {
|
|
3371
|
+
contents[_m] = __expectString(output[_m]);
|
|
3372
3372
|
}
|
|
3373
3373
|
return contents;
|
|
3374
3374
|
};
|
|
3375
3375
|
const de_Endpoint = (output, context) => {
|
|
3376
3376
|
const contents = {};
|
|
3377
|
-
if (output[
|
|
3378
|
-
contents
|
|
3377
|
+
if (output[_EA] != null) {
|
|
3378
|
+
contents[_EA] = __expectString(output[_EA]);
|
|
3379
3379
|
}
|
|
3380
3380
|
if (output.Attributes === "") {
|
|
3381
|
-
contents
|
|
3381
|
+
contents[_At] = {};
|
|
3382
3382
|
}
|
|
3383
|
-
else if (output[
|
|
3384
|
-
contents
|
|
3383
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3384
|
+
contents[_At] = de_MapStringToString(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3385
3385
|
}
|
|
3386
3386
|
return contents;
|
|
3387
3387
|
};
|
|
3388
3388
|
const de_EndpointDisabledException = (output, context) => {
|
|
3389
3389
|
const contents = {};
|
|
3390
|
-
if (output[
|
|
3391
|
-
contents
|
|
3390
|
+
if (output[_m] != null) {
|
|
3391
|
+
contents[_m] = __expectString(output[_m]);
|
|
3392
3392
|
}
|
|
3393
3393
|
return contents;
|
|
3394
3394
|
};
|
|
3395
3395
|
const de_FilterPolicyLimitExceededException = (output, context) => {
|
|
3396
3396
|
const contents = {};
|
|
3397
|
-
if (output[
|
|
3398
|
-
contents
|
|
3397
|
+
if (output[_m] != null) {
|
|
3398
|
+
contents[_m] = __expectString(output[_m]);
|
|
3399
3399
|
}
|
|
3400
3400
|
return contents;
|
|
3401
3401
|
};
|
|
3402
3402
|
const de_GetDataProtectionPolicyResponse = (output, context) => {
|
|
3403
3403
|
const contents = {};
|
|
3404
|
-
if (output[
|
|
3405
|
-
contents
|
|
3404
|
+
if (output[_DPP] != null) {
|
|
3405
|
+
contents[_DPP] = __expectString(output[_DPP]);
|
|
3406
3406
|
}
|
|
3407
3407
|
return contents;
|
|
3408
3408
|
};
|
|
3409
3409
|
const de_GetEndpointAttributesResponse = (output, context) => {
|
|
3410
3410
|
const contents = {};
|
|
3411
3411
|
if (output.Attributes === "") {
|
|
3412
|
-
contents
|
|
3412
|
+
contents[_At] = {};
|
|
3413
3413
|
}
|
|
3414
|
-
else if (output[
|
|
3415
|
-
contents
|
|
3414
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3415
|
+
contents[_At] = de_MapStringToString(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3416
3416
|
}
|
|
3417
3417
|
return contents;
|
|
3418
3418
|
};
|
|
3419
3419
|
const de_GetPlatformApplicationAttributesResponse = (output, context) => {
|
|
3420
3420
|
const contents = {};
|
|
3421
3421
|
if (output.Attributes === "") {
|
|
3422
|
-
contents
|
|
3422
|
+
contents[_At] = {};
|
|
3423
3423
|
}
|
|
3424
|
-
else if (output[
|
|
3425
|
-
contents
|
|
3424
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3425
|
+
contents[_At] = de_MapStringToString(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3426
3426
|
}
|
|
3427
3427
|
return contents;
|
|
3428
3428
|
};
|
|
3429
3429
|
const de_GetSMSAttributesResponse = (output, context) => {
|
|
3430
3430
|
const contents = {};
|
|
3431
3431
|
if (output.attributes === "") {
|
|
3432
|
-
contents
|
|
3432
|
+
contents[_a] = {};
|
|
3433
3433
|
}
|
|
3434
|
-
else if (output[
|
|
3435
|
-
contents
|
|
3434
|
+
else if (output[_a] != null && output[_a][_e] != null) {
|
|
3435
|
+
contents[_a] = de_MapStringToString(__getArrayIfSingleItem(output[_a][_e]), context);
|
|
3436
3436
|
}
|
|
3437
3437
|
return contents;
|
|
3438
3438
|
};
|
|
3439
3439
|
const de_GetSMSSandboxAccountStatusResult = (output, context) => {
|
|
3440
3440
|
const contents = {};
|
|
3441
|
-
if (output[
|
|
3442
|
-
contents
|
|
3441
|
+
if (output[_IIS] != null) {
|
|
3442
|
+
contents[_IIS] = __parseBoolean(output[_IIS]);
|
|
3443
3443
|
}
|
|
3444
3444
|
return contents;
|
|
3445
3445
|
};
|
|
3446
3446
|
const de_GetSubscriptionAttributesResponse = (output, context) => {
|
|
3447
3447
|
const contents = {};
|
|
3448
3448
|
if (output.Attributes === "") {
|
|
3449
|
-
contents
|
|
3449
|
+
contents[_At] = {};
|
|
3450
3450
|
}
|
|
3451
|
-
else if (output[
|
|
3452
|
-
contents
|
|
3451
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3452
|
+
contents[_At] = de_SubscriptionAttributesMap(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3453
3453
|
}
|
|
3454
3454
|
return contents;
|
|
3455
3455
|
};
|
|
3456
3456
|
const de_GetTopicAttributesResponse = (output, context) => {
|
|
3457
3457
|
const contents = {};
|
|
3458
3458
|
if (output.Attributes === "") {
|
|
3459
|
-
contents
|
|
3459
|
+
contents[_At] = {};
|
|
3460
3460
|
}
|
|
3461
|
-
else if (output[
|
|
3462
|
-
contents
|
|
3461
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3462
|
+
contents[_At] = de_TopicAttributesMap(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3463
3463
|
}
|
|
3464
3464
|
return contents;
|
|
3465
3465
|
};
|
|
3466
3466
|
const de_InternalErrorException = (output, context) => {
|
|
3467
3467
|
const contents = {};
|
|
3468
|
-
if (output[
|
|
3469
|
-
contents
|
|
3468
|
+
if (output[_m] != null) {
|
|
3469
|
+
contents[_m] = __expectString(output[_m]);
|
|
3470
3470
|
}
|
|
3471
3471
|
return contents;
|
|
3472
3472
|
};
|
|
3473
3473
|
const de_InvalidBatchEntryIdException = (output, context) => {
|
|
3474
3474
|
const contents = {};
|
|
3475
|
-
if (output[
|
|
3476
|
-
contents
|
|
3475
|
+
if (output[_m] != null) {
|
|
3476
|
+
contents[_m] = __expectString(output[_m]);
|
|
3477
3477
|
}
|
|
3478
3478
|
return contents;
|
|
3479
3479
|
};
|
|
3480
3480
|
const de_InvalidParameterException = (output, context) => {
|
|
3481
3481
|
const contents = {};
|
|
3482
|
-
if (output[
|
|
3483
|
-
contents
|
|
3482
|
+
if (output[_m] != null) {
|
|
3483
|
+
contents[_m] = __expectString(output[_m]);
|
|
3484
3484
|
}
|
|
3485
3485
|
return contents;
|
|
3486
3486
|
};
|
|
3487
3487
|
const de_InvalidParameterValueException = (output, context) => {
|
|
3488
3488
|
const contents = {};
|
|
3489
|
-
if (output[
|
|
3490
|
-
contents
|
|
3489
|
+
if (output[_m] != null) {
|
|
3490
|
+
contents[_m] = __expectString(output[_m]);
|
|
3491
3491
|
}
|
|
3492
3492
|
return contents;
|
|
3493
3493
|
};
|
|
3494
3494
|
const de_InvalidSecurityException = (output, context) => {
|
|
3495
3495
|
const contents = {};
|
|
3496
|
-
if (output[
|
|
3497
|
-
contents
|
|
3496
|
+
if (output[_m] != null) {
|
|
3497
|
+
contents[_m] = __expectString(output[_m]);
|
|
3498
3498
|
}
|
|
3499
3499
|
return contents;
|
|
3500
3500
|
};
|
|
3501
3501
|
const de_InvalidStateException = (output, context) => {
|
|
3502
3502
|
const contents = {};
|
|
3503
|
-
if (output[
|
|
3504
|
-
contents
|
|
3503
|
+
if (output[_m] != null) {
|
|
3504
|
+
contents[_m] = __expectString(output[_m]);
|
|
3505
3505
|
}
|
|
3506
3506
|
return contents;
|
|
3507
3507
|
};
|
|
3508
3508
|
const de_KMSAccessDeniedException = (output, context) => {
|
|
3509
3509
|
const contents = {};
|
|
3510
|
-
if (output[
|
|
3511
|
-
contents
|
|
3510
|
+
if (output[_m] != null) {
|
|
3511
|
+
contents[_m] = __expectString(output[_m]);
|
|
3512
3512
|
}
|
|
3513
3513
|
return contents;
|
|
3514
3514
|
};
|
|
3515
3515
|
const de_KMSDisabledException = (output, context) => {
|
|
3516
3516
|
const contents = {};
|
|
3517
|
-
if (output[
|
|
3518
|
-
contents
|
|
3517
|
+
if (output[_m] != null) {
|
|
3518
|
+
contents[_m] = __expectString(output[_m]);
|
|
3519
3519
|
}
|
|
3520
3520
|
return contents;
|
|
3521
3521
|
};
|
|
3522
3522
|
const de_KMSInvalidStateException = (output, context) => {
|
|
3523
3523
|
const contents = {};
|
|
3524
|
-
if (output[
|
|
3525
|
-
contents
|
|
3524
|
+
if (output[_m] != null) {
|
|
3525
|
+
contents[_m] = __expectString(output[_m]);
|
|
3526
3526
|
}
|
|
3527
3527
|
return contents;
|
|
3528
3528
|
};
|
|
3529
3529
|
const de_KMSNotFoundException = (output, context) => {
|
|
3530
3530
|
const contents = {};
|
|
3531
|
-
if (output[
|
|
3532
|
-
contents
|
|
3531
|
+
if (output[_m] != null) {
|
|
3532
|
+
contents[_m] = __expectString(output[_m]);
|
|
3533
3533
|
}
|
|
3534
3534
|
return contents;
|
|
3535
3535
|
};
|
|
3536
3536
|
const de_KMSOptInRequired = (output, context) => {
|
|
3537
3537
|
const contents = {};
|
|
3538
|
-
if (output[
|
|
3539
|
-
contents
|
|
3538
|
+
if (output[_m] != null) {
|
|
3539
|
+
contents[_m] = __expectString(output[_m]);
|
|
3540
3540
|
}
|
|
3541
3541
|
return contents;
|
|
3542
3542
|
};
|
|
3543
3543
|
const de_KMSThrottlingException = (output, context) => {
|
|
3544
3544
|
const contents = {};
|
|
3545
|
-
if (output[
|
|
3546
|
-
contents
|
|
3545
|
+
if (output[_m] != null) {
|
|
3546
|
+
contents[_m] = __expectString(output[_m]);
|
|
3547
3547
|
}
|
|
3548
3548
|
return contents;
|
|
3549
3549
|
};
|
|
3550
3550
|
const de_ListEndpointsByPlatformApplicationResponse = (output, context) => {
|
|
3551
3551
|
const contents = {};
|
|
3552
3552
|
if (output.Endpoints === "") {
|
|
3553
|
-
contents
|
|
3553
|
+
contents[_En] = [];
|
|
3554
3554
|
}
|
|
3555
|
-
else if (output[
|
|
3556
|
-
contents
|
|
3555
|
+
else if (output[_En] != null && output[_En][_me] != null) {
|
|
3556
|
+
contents[_En] = de_ListOfEndpoints(__getArrayIfSingleItem(output[_En][_me]), context);
|
|
3557
3557
|
}
|
|
3558
|
-
if (output[
|
|
3559
|
-
contents
|
|
3558
|
+
if (output[_NT] != null) {
|
|
3559
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3560
3560
|
}
|
|
3561
3561
|
return contents;
|
|
3562
3562
|
};
|
|
@@ -3576,102 +3576,102 @@ const de_ListOfPlatformApplications = (output, context) => {
|
|
|
3576
3576
|
};
|
|
3577
3577
|
const de_ListOriginationNumbersResult = (output, context) => {
|
|
3578
3578
|
const contents = {};
|
|
3579
|
-
if (output[
|
|
3580
|
-
contents
|
|
3579
|
+
if (output[_NT] != null) {
|
|
3580
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3581
3581
|
}
|
|
3582
3582
|
if (output.PhoneNumbers === "") {
|
|
3583
|
-
contents
|
|
3583
|
+
contents[_PNh] = [];
|
|
3584
3584
|
}
|
|
3585
|
-
else if (output[
|
|
3586
|
-
contents
|
|
3585
|
+
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3586
|
+
contents[_PNh] = de_PhoneNumberInformationList(__getArrayIfSingleItem(output[_PNh][_me]), context);
|
|
3587
3587
|
}
|
|
3588
3588
|
return contents;
|
|
3589
3589
|
};
|
|
3590
3590
|
const de_ListPhoneNumbersOptedOutResponse = (output, context) => {
|
|
3591
3591
|
const contents = {};
|
|
3592
3592
|
if (output.phoneNumbers === "") {
|
|
3593
|
-
contents
|
|
3593
|
+
contents[_pNh] = [];
|
|
3594
3594
|
}
|
|
3595
|
-
else if (output[
|
|
3596
|
-
contents
|
|
3595
|
+
else if (output[_pNh] != null && output[_pNh][_me] != null) {
|
|
3596
|
+
contents[_pNh] = de_PhoneNumberList(__getArrayIfSingleItem(output[_pNh][_me]), context);
|
|
3597
3597
|
}
|
|
3598
|
-
if (output[
|
|
3599
|
-
contents
|
|
3598
|
+
if (output[_nT] != null) {
|
|
3599
|
+
contents[_nT] = __expectString(output[_nT]);
|
|
3600
3600
|
}
|
|
3601
3601
|
return contents;
|
|
3602
3602
|
};
|
|
3603
3603
|
const de_ListPlatformApplicationsResponse = (output, context) => {
|
|
3604
3604
|
const contents = {};
|
|
3605
3605
|
if (output.PlatformApplications === "") {
|
|
3606
|
-
contents
|
|
3606
|
+
contents[_PA] = [];
|
|
3607
3607
|
}
|
|
3608
|
-
else if (output[
|
|
3609
|
-
contents
|
|
3608
|
+
else if (output[_PA] != null && output[_PA][_me] != null) {
|
|
3609
|
+
contents[_PA] = de_ListOfPlatformApplications(__getArrayIfSingleItem(output[_PA][_me]), context);
|
|
3610
3610
|
}
|
|
3611
|
-
if (output[
|
|
3612
|
-
contents
|
|
3611
|
+
if (output[_NT] != null) {
|
|
3612
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3613
3613
|
}
|
|
3614
3614
|
return contents;
|
|
3615
3615
|
};
|
|
3616
3616
|
const de_ListSMSSandboxPhoneNumbersResult = (output, context) => {
|
|
3617
3617
|
const contents = {};
|
|
3618
3618
|
if (output.PhoneNumbers === "") {
|
|
3619
|
-
contents
|
|
3619
|
+
contents[_PNh] = [];
|
|
3620
3620
|
}
|
|
3621
|
-
else if (output[
|
|
3622
|
-
contents
|
|
3621
|
+
else if (output[_PNh] != null && output[_PNh][_me] != null) {
|
|
3622
|
+
contents[_PNh] = de_SMSSandboxPhoneNumberList(__getArrayIfSingleItem(output[_PNh][_me]), context);
|
|
3623
3623
|
}
|
|
3624
|
-
if (output[
|
|
3625
|
-
contents
|
|
3624
|
+
if (output[_NT] != null) {
|
|
3625
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3626
3626
|
}
|
|
3627
3627
|
return contents;
|
|
3628
3628
|
};
|
|
3629
3629
|
const de_ListSubscriptionsByTopicResponse = (output, context) => {
|
|
3630
3630
|
const contents = {};
|
|
3631
3631
|
if (output.Subscriptions === "") {
|
|
3632
|
-
contents
|
|
3632
|
+
contents[_Sub] = [];
|
|
3633
3633
|
}
|
|
3634
|
-
else if (output[
|
|
3635
|
-
contents
|
|
3634
|
+
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3635
|
+
contents[_Sub] = de_SubscriptionsList(__getArrayIfSingleItem(output[_Sub][_me]), context);
|
|
3636
3636
|
}
|
|
3637
|
-
if (output[
|
|
3638
|
-
contents
|
|
3637
|
+
if (output[_NT] != null) {
|
|
3638
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3639
3639
|
}
|
|
3640
3640
|
return contents;
|
|
3641
3641
|
};
|
|
3642
3642
|
const de_ListSubscriptionsResponse = (output, context) => {
|
|
3643
3643
|
const contents = {};
|
|
3644
3644
|
if (output.Subscriptions === "") {
|
|
3645
|
-
contents
|
|
3645
|
+
contents[_Sub] = [];
|
|
3646
3646
|
}
|
|
3647
|
-
else if (output[
|
|
3648
|
-
contents
|
|
3647
|
+
else if (output[_Sub] != null && output[_Sub][_me] != null) {
|
|
3648
|
+
contents[_Sub] = de_SubscriptionsList(__getArrayIfSingleItem(output[_Sub][_me]), context);
|
|
3649
3649
|
}
|
|
3650
|
-
if (output[
|
|
3651
|
-
contents
|
|
3650
|
+
if (output[_NT] != null) {
|
|
3651
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3652
3652
|
}
|
|
3653
3653
|
return contents;
|
|
3654
3654
|
};
|
|
3655
3655
|
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3656
3656
|
const contents = {};
|
|
3657
3657
|
if (output.Tags === "") {
|
|
3658
|
-
contents
|
|
3658
|
+
contents[_Ta] = [];
|
|
3659
3659
|
}
|
|
3660
|
-
else if (output[
|
|
3661
|
-
contents
|
|
3660
|
+
else if (output[_Ta] != null && output[_Ta][_me] != null) {
|
|
3661
|
+
contents[_Ta] = de_TagList(__getArrayIfSingleItem(output[_Ta][_me]), context);
|
|
3662
3662
|
}
|
|
3663
3663
|
return contents;
|
|
3664
3664
|
};
|
|
3665
3665
|
const de_ListTopicsResponse = (output, context) => {
|
|
3666
3666
|
const contents = {};
|
|
3667
3667
|
if (output.Topics === "") {
|
|
3668
|
-
contents
|
|
3668
|
+
contents[_To] = [];
|
|
3669
3669
|
}
|
|
3670
|
-
else if (output[
|
|
3671
|
-
contents
|
|
3670
|
+
else if (output[_To] != null && output[_To][_me] != null) {
|
|
3671
|
+
contents[_To] = de_TopicsList(__getArrayIfSingleItem(output[_To][_me]), context);
|
|
3672
3672
|
}
|
|
3673
|
-
if (output[
|
|
3674
|
-
contents
|
|
3673
|
+
if (output[_NT] != null) {
|
|
3674
|
+
contents[_NT] = __expectString(output[_NT]);
|
|
3675
3675
|
}
|
|
3676
3676
|
return contents;
|
|
3677
3677
|
};
|
|
@@ -3686,8 +3686,8 @@ const de_MapStringToString = (output, context) => {
|
|
|
3686
3686
|
};
|
|
3687
3687
|
const de_NotFoundException = (output, context) => {
|
|
3688
3688
|
const contents = {};
|
|
3689
|
-
if (output[
|
|
3690
|
-
contents
|
|
3689
|
+
if (output[_m] != null) {
|
|
3690
|
+
contents[_m] = __expectString(output[_m]);
|
|
3691
3691
|
}
|
|
3692
3692
|
return contents;
|
|
3693
3693
|
};
|
|
@@ -3700,8 +3700,8 @@ const de_NumberCapabilityList = (output, context) => {
|
|
|
3700
3700
|
};
|
|
3701
3701
|
const de_OptedOutException = (output, context) => {
|
|
3702
3702
|
const contents = {};
|
|
3703
|
-
if (output[
|
|
3704
|
-
contents
|
|
3703
|
+
if (output[_m] != null) {
|
|
3704
|
+
contents[_m] = __expectString(output[_m]);
|
|
3705
3705
|
}
|
|
3706
3706
|
return contents;
|
|
3707
3707
|
};
|
|
@@ -3711,26 +3711,26 @@ const de_OptInPhoneNumberResponse = (output, context) => {
|
|
|
3711
3711
|
};
|
|
3712
3712
|
const de_PhoneNumberInformation = (output, context) => {
|
|
3713
3713
|
const contents = {};
|
|
3714
|
-
if (output[
|
|
3715
|
-
contents
|
|
3714
|
+
if (output[_CA] != null) {
|
|
3715
|
+
contents[_CA] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CA]));
|
|
3716
3716
|
}
|
|
3717
|
-
if (output[
|
|
3718
|
-
contents
|
|
3717
|
+
if (output[_PN] != null) {
|
|
3718
|
+
contents[_PN] = __expectString(output[_PN]);
|
|
3719
3719
|
}
|
|
3720
|
-
if (output[
|
|
3721
|
-
contents
|
|
3720
|
+
if (output[_St] != null) {
|
|
3721
|
+
contents[_St] = __expectString(output[_St]);
|
|
3722
3722
|
}
|
|
3723
|
-
if (output[
|
|
3724
|
-
contents
|
|
3723
|
+
if (output[_ICC] != null) {
|
|
3724
|
+
contents[_ICC] = __expectString(output[_ICC]);
|
|
3725
3725
|
}
|
|
3726
|
-
if (output[
|
|
3727
|
-
contents
|
|
3726
|
+
if (output[_RT] != null) {
|
|
3727
|
+
contents[_RT] = __expectString(output[_RT]);
|
|
3728
3728
|
}
|
|
3729
3729
|
if (output.NumberCapabilities === "") {
|
|
3730
|
-
contents
|
|
3730
|
+
contents[_NC] = [];
|
|
3731
3731
|
}
|
|
3732
|
-
else if (output[
|
|
3733
|
-
contents
|
|
3732
|
+
else if (output[_NC] != null && output[_NC][_me] != null) {
|
|
3733
|
+
contents[_NC] = de_NumberCapabilityList(__getArrayIfSingleItem(output[_NC][_me]), context);
|
|
3734
3734
|
}
|
|
3735
3735
|
return contents;
|
|
3736
3736
|
};
|
|
@@ -3750,50 +3750,50 @@ const de_PhoneNumberList = (output, context) => {
|
|
|
3750
3750
|
};
|
|
3751
3751
|
const de_PlatformApplication = (output, context) => {
|
|
3752
3752
|
const contents = {};
|
|
3753
|
-
if (output[
|
|
3754
|
-
contents
|
|
3753
|
+
if (output[_PAA] != null) {
|
|
3754
|
+
contents[_PAA] = __expectString(output[_PAA]);
|
|
3755
3755
|
}
|
|
3756
3756
|
if (output.Attributes === "") {
|
|
3757
|
-
contents
|
|
3757
|
+
contents[_At] = {};
|
|
3758
3758
|
}
|
|
3759
|
-
else if (output[
|
|
3760
|
-
contents
|
|
3759
|
+
else if (output[_At] != null && output[_At][_e] != null) {
|
|
3760
|
+
contents[_At] = de_MapStringToString(__getArrayIfSingleItem(output[_At][_e]), context);
|
|
3761
3761
|
}
|
|
3762
3762
|
return contents;
|
|
3763
3763
|
};
|
|
3764
3764
|
const de_PlatformApplicationDisabledException = (output, context) => {
|
|
3765
3765
|
const contents = {};
|
|
3766
|
-
if (output[
|
|
3767
|
-
contents
|
|
3766
|
+
if (output[_m] != null) {
|
|
3767
|
+
contents[_m] = __expectString(output[_m]);
|
|
3768
3768
|
}
|
|
3769
3769
|
return contents;
|
|
3770
3770
|
};
|
|
3771
3771
|
const de_PublishBatchResponse = (output, context) => {
|
|
3772
3772
|
const contents = {};
|
|
3773
3773
|
if (output.Successful === "") {
|
|
3774
|
-
contents
|
|
3774
|
+
contents[_Suc] = [];
|
|
3775
3775
|
}
|
|
3776
|
-
else if (output[
|
|
3777
|
-
contents
|
|
3776
|
+
else if (output[_Suc] != null && output[_Suc][_me] != null) {
|
|
3777
|
+
contents[_Suc] = de_PublishBatchResultEntryList(__getArrayIfSingleItem(output[_Suc][_me]), context);
|
|
3778
3778
|
}
|
|
3779
3779
|
if (output.Failed === "") {
|
|
3780
|
-
contents
|
|
3780
|
+
contents[_F] = [];
|
|
3781
3781
|
}
|
|
3782
|
-
else if (output[
|
|
3783
|
-
contents
|
|
3782
|
+
else if (output[_F] != null && output[_F][_me] != null) {
|
|
3783
|
+
contents[_F] = de_BatchResultErrorEntryList(__getArrayIfSingleItem(output[_F][_me]), context);
|
|
3784
3784
|
}
|
|
3785
3785
|
return contents;
|
|
3786
3786
|
};
|
|
3787
3787
|
const de_PublishBatchResultEntry = (output, context) => {
|
|
3788
3788
|
const contents = {};
|
|
3789
|
-
if (output[
|
|
3790
|
-
contents
|
|
3789
|
+
if (output[_I] != null) {
|
|
3790
|
+
contents[_I] = __expectString(output[_I]);
|
|
3791
3791
|
}
|
|
3792
|
-
if (output[
|
|
3793
|
-
contents
|
|
3792
|
+
if (output[_MI] != null) {
|
|
3793
|
+
contents[_MI] = __expectString(output[_MI]);
|
|
3794
3794
|
}
|
|
3795
|
-
if (output[
|
|
3796
|
-
contents
|
|
3795
|
+
if (output[_SN] != null) {
|
|
3796
|
+
contents[_SN] = __expectString(output[_SN]);
|
|
3797
3797
|
}
|
|
3798
3798
|
return contents;
|
|
3799
3799
|
};
|
|
@@ -3806,25 +3806,25 @@ const de_PublishBatchResultEntryList = (output, context) => {
|
|
|
3806
3806
|
};
|
|
3807
3807
|
const de_PublishResponse = (output, context) => {
|
|
3808
3808
|
const contents = {};
|
|
3809
|
-
if (output[
|
|
3810
|
-
contents
|
|
3809
|
+
if (output[_MI] != null) {
|
|
3810
|
+
contents[_MI] = __expectString(output[_MI]);
|
|
3811
3811
|
}
|
|
3812
|
-
if (output[
|
|
3813
|
-
contents
|
|
3812
|
+
if (output[_SN] != null) {
|
|
3813
|
+
contents[_SN] = __expectString(output[_SN]);
|
|
3814
3814
|
}
|
|
3815
3815
|
return contents;
|
|
3816
3816
|
};
|
|
3817
3817
|
const de_ReplayLimitExceededException = (output, context) => {
|
|
3818
3818
|
const contents = {};
|
|
3819
|
-
if (output[
|
|
3820
|
-
contents
|
|
3819
|
+
if (output[_m] != null) {
|
|
3820
|
+
contents[_m] = __expectString(output[_m]);
|
|
3821
3821
|
}
|
|
3822
3822
|
return contents;
|
|
3823
3823
|
};
|
|
3824
3824
|
const de_ResourceNotFoundException = (output, context) => {
|
|
3825
3825
|
const contents = {};
|
|
3826
|
-
if (output[
|
|
3827
|
-
contents
|
|
3826
|
+
if (output[_m] != null) {
|
|
3827
|
+
contents[_m] = __expectString(output[_m]);
|
|
3828
3828
|
}
|
|
3829
3829
|
return contents;
|
|
3830
3830
|
};
|
|
@@ -3834,11 +3834,11 @@ const de_SetSMSAttributesResponse = (output, context) => {
|
|
|
3834
3834
|
};
|
|
3835
3835
|
const de_SMSSandboxPhoneNumber = (output, context) => {
|
|
3836
3836
|
const contents = {};
|
|
3837
|
-
if (output[
|
|
3838
|
-
contents
|
|
3837
|
+
if (output[_PN] != null) {
|
|
3838
|
+
contents[_PN] = __expectString(output[_PN]);
|
|
3839
3839
|
}
|
|
3840
|
-
if (output[
|
|
3841
|
-
contents
|
|
3840
|
+
if (output[_St] != null) {
|
|
3841
|
+
contents[_St] = __expectString(output[_St]);
|
|
3842
3842
|
}
|
|
3843
3843
|
return contents;
|
|
3844
3844
|
};
|
|
@@ -3851,34 +3851,34 @@ const de_SMSSandboxPhoneNumberList = (output, context) => {
|
|
|
3851
3851
|
};
|
|
3852
3852
|
const de_StaleTagException = (output, context) => {
|
|
3853
3853
|
const contents = {};
|
|
3854
|
-
if (output[
|
|
3855
|
-
contents
|
|
3854
|
+
if (output[_m] != null) {
|
|
3855
|
+
contents[_m] = __expectString(output[_m]);
|
|
3856
3856
|
}
|
|
3857
3857
|
return contents;
|
|
3858
3858
|
};
|
|
3859
3859
|
const de_SubscribeResponse = (output, context) => {
|
|
3860
3860
|
const contents = {};
|
|
3861
|
-
if (output[
|
|
3862
|
-
contents
|
|
3861
|
+
if (output[_SA] != null) {
|
|
3862
|
+
contents[_SA] = __expectString(output[_SA]);
|
|
3863
3863
|
}
|
|
3864
3864
|
return contents;
|
|
3865
3865
|
};
|
|
3866
3866
|
const de_Subscription = (output, context) => {
|
|
3867
3867
|
const contents = {};
|
|
3868
|
-
if (output[
|
|
3869
|
-
contents
|
|
3868
|
+
if (output[_SA] != null) {
|
|
3869
|
+
contents[_SA] = __expectString(output[_SA]);
|
|
3870
3870
|
}
|
|
3871
|
-
if (output[
|
|
3872
|
-
contents
|
|
3871
|
+
if (output[_O] != null) {
|
|
3872
|
+
contents[_O] = __expectString(output[_O]);
|
|
3873
3873
|
}
|
|
3874
|
-
if (output[
|
|
3875
|
-
contents
|
|
3874
|
+
if (output[_Pr] != null) {
|
|
3875
|
+
contents[_Pr] = __expectString(output[_Pr]);
|
|
3876
3876
|
}
|
|
3877
|
-
if (output[
|
|
3878
|
-
contents
|
|
3877
|
+
if (output[_E] != null) {
|
|
3878
|
+
contents[_E] = __expectString(output[_E]);
|
|
3879
3879
|
}
|
|
3880
|
-
if (output[
|
|
3881
|
-
contents
|
|
3880
|
+
if (output[_TA] != null) {
|
|
3881
|
+
contents[_TA] = __expectString(output[_TA]);
|
|
3882
3882
|
}
|
|
3883
3883
|
return contents;
|
|
3884
3884
|
};
|
|
@@ -3893,8 +3893,8 @@ const de_SubscriptionAttributesMap = (output, context) => {
|
|
|
3893
3893
|
};
|
|
3894
3894
|
const de_SubscriptionLimitExceededException = (output, context) => {
|
|
3895
3895
|
const contents = {};
|
|
3896
|
-
if (output[
|
|
3897
|
-
contents
|
|
3896
|
+
if (output[_m] != null) {
|
|
3897
|
+
contents[_m] = __expectString(output[_m]);
|
|
3898
3898
|
}
|
|
3899
3899
|
return contents;
|
|
3900
3900
|
};
|
|
@@ -3907,18 +3907,18 @@ const de_SubscriptionsList = (output, context) => {
|
|
|
3907
3907
|
};
|
|
3908
3908
|
const de_Tag = (output, context) => {
|
|
3909
3909
|
const contents = {};
|
|
3910
|
-
if (output[
|
|
3911
|
-
contents
|
|
3910
|
+
if (output[_K] != null) {
|
|
3911
|
+
contents[_K] = __expectString(output[_K]);
|
|
3912
3912
|
}
|
|
3913
|
-
if (output[
|
|
3914
|
-
contents
|
|
3913
|
+
if (output[_Va] != null) {
|
|
3914
|
+
contents[_Va] = __expectString(output[_Va]);
|
|
3915
3915
|
}
|
|
3916
3916
|
return contents;
|
|
3917
3917
|
};
|
|
3918
3918
|
const de_TagLimitExceededException = (output, context) => {
|
|
3919
3919
|
const contents = {};
|
|
3920
|
-
if (output[
|
|
3921
|
-
contents
|
|
3920
|
+
if (output[_m] != null) {
|
|
3921
|
+
contents[_m] = __expectString(output[_m]);
|
|
3922
3922
|
}
|
|
3923
3923
|
return contents;
|
|
3924
3924
|
};
|
|
@@ -3931,8 +3931,8 @@ const de_TagList = (output, context) => {
|
|
|
3931
3931
|
};
|
|
3932
3932
|
const de_TagPolicyException = (output, context) => {
|
|
3933
3933
|
const contents = {};
|
|
3934
|
-
if (output[
|
|
3935
|
-
contents
|
|
3934
|
+
if (output[_m] != null) {
|
|
3935
|
+
contents[_m] = __expectString(output[_m]);
|
|
3936
3936
|
}
|
|
3937
3937
|
return contents;
|
|
3938
3938
|
};
|
|
@@ -3942,22 +3942,22 @@ const de_TagResourceResponse = (output, context) => {
|
|
|
3942
3942
|
};
|
|
3943
3943
|
const de_ThrottledException = (output, context) => {
|
|
3944
3944
|
const contents = {};
|
|
3945
|
-
if (output[
|
|
3946
|
-
contents
|
|
3945
|
+
if (output[_m] != null) {
|
|
3946
|
+
contents[_m] = __expectString(output[_m]);
|
|
3947
3947
|
}
|
|
3948
3948
|
return contents;
|
|
3949
3949
|
};
|
|
3950
3950
|
const de_TooManyEntriesInBatchRequestException = (output, context) => {
|
|
3951
3951
|
const contents = {};
|
|
3952
|
-
if (output[
|
|
3953
|
-
contents
|
|
3952
|
+
if (output[_m] != null) {
|
|
3953
|
+
contents[_m] = __expectString(output[_m]);
|
|
3954
3954
|
}
|
|
3955
3955
|
return contents;
|
|
3956
3956
|
};
|
|
3957
3957
|
const de_Topic = (output, context) => {
|
|
3958
3958
|
const contents = {};
|
|
3959
|
-
if (output[
|
|
3960
|
-
contents
|
|
3959
|
+
if (output[_TA] != null) {
|
|
3960
|
+
contents[_TA] = __expectString(output[_TA]);
|
|
3961
3961
|
}
|
|
3962
3962
|
return contents;
|
|
3963
3963
|
};
|
|
@@ -3972,8 +3972,8 @@ const de_TopicAttributesMap = (output, context) => {
|
|
|
3972
3972
|
};
|
|
3973
3973
|
const de_TopicLimitExceededException = (output, context) => {
|
|
3974
3974
|
const contents = {};
|
|
3975
|
-
if (output[
|
|
3976
|
-
contents
|
|
3975
|
+
if (output[_m] != null) {
|
|
3976
|
+
contents[_m] = __expectString(output[_m]);
|
|
3977
3977
|
}
|
|
3978
3978
|
return contents;
|
|
3979
3979
|
};
|
|
@@ -3990,25 +3990,25 @@ const de_UntagResourceResponse = (output, context) => {
|
|
|
3990
3990
|
};
|
|
3991
3991
|
const de_UserErrorException = (output, context) => {
|
|
3992
3992
|
const contents = {};
|
|
3993
|
-
if (output[
|
|
3994
|
-
contents
|
|
3993
|
+
if (output[_m] != null) {
|
|
3994
|
+
contents[_m] = __expectString(output[_m]);
|
|
3995
3995
|
}
|
|
3996
3996
|
return contents;
|
|
3997
3997
|
};
|
|
3998
3998
|
const de_ValidationException = (output, context) => {
|
|
3999
3999
|
const contents = {};
|
|
4000
|
-
if (output[
|
|
4001
|
-
contents
|
|
4000
|
+
if (output[_M] != null) {
|
|
4001
|
+
contents[_M] = __expectString(output[_M]);
|
|
4002
4002
|
}
|
|
4003
4003
|
return contents;
|
|
4004
4004
|
};
|
|
4005
4005
|
const de_VerificationException = (output, context) => {
|
|
4006
4006
|
const contents = {};
|
|
4007
|
-
if (output[
|
|
4008
|
-
contents
|
|
4007
|
+
if (output[_M] != null) {
|
|
4008
|
+
contents[_M] = __expectString(output[_M]);
|
|
4009
4009
|
}
|
|
4010
|
-
if (output[
|
|
4011
|
-
contents
|
|
4010
|
+
if (output[_St] != null) {
|
|
4011
|
+
contents[_St] = __expectString(output[_St]);
|
|
4012
4012
|
}
|
|
4013
4013
|
return contents;
|
|
4014
4014
|
};
|
|
@@ -4045,6 +4045,118 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4045
4045
|
const SHARED_HEADERS = {
|
|
4046
4046
|
"content-type": "application/x-www-form-urlencoded",
|
|
4047
4047
|
};
|
|
4048
|
+
const _ = "2010-03-31";
|
|
4049
|
+
const _A = "Action";
|
|
4050
|
+
const _AN = "ActionName";
|
|
4051
|
+
const _ANt = "AttributeName";
|
|
4052
|
+
const _AOU = "AuthenticateOnUnsubscribe";
|
|
4053
|
+
const _AP = "AddPermission";
|
|
4054
|
+
const _AV = "AttributeValue";
|
|
4055
|
+
const _AWSAI = "AWSAccountId";
|
|
4056
|
+
const _At = "Attributes";
|
|
4057
|
+
const _BV = "BinaryValue";
|
|
4058
|
+
const _C = "Code";
|
|
4059
|
+
const _CA = "CreatedAt";
|
|
4060
|
+
const _CIPNIOO = "CheckIfPhoneNumberIsOptedOut";
|
|
4061
|
+
const _CPA = "CreatePlatformApplication";
|
|
4062
|
+
const _CPE = "CreatePlatformEndpoint";
|
|
4063
|
+
const _CS = "ConfirmSubscription";
|
|
4064
|
+
const _CSMSSPN = "CreateSMSSandboxPhoneNumber";
|
|
4065
|
+
const _CT = "CreateTopic";
|
|
4066
|
+
const _CUD = "CustomUserData";
|
|
4067
|
+
const _DE = "DeleteEndpoint";
|
|
4068
|
+
const _DPA = "DeletePlatformApplication";
|
|
4069
|
+
const _DPP = "DataProtectionPolicy";
|
|
4070
|
+
const _DSMSSPN = "DeleteSMSSandboxPhoneNumber";
|
|
4071
|
+
const _DT = "DeleteTopic";
|
|
4072
|
+
const _DTa = "DataType";
|
|
4073
|
+
const _E = "Endpoint";
|
|
4074
|
+
const _EA = "EndpointArn";
|
|
4075
|
+
const _En = "Endpoints";
|
|
4076
|
+
const _F = "Failed";
|
|
4077
|
+
const _GDPP = "GetDataProtectionPolicy";
|
|
4078
|
+
const _GEA = "GetEndpointAttributes";
|
|
4079
|
+
const _GPAA = "GetPlatformApplicationAttributes";
|
|
4080
|
+
const _GSA = "GetSubscriptionAttributes";
|
|
4081
|
+
const _GSMSA = "GetSMSAttributes";
|
|
4082
|
+
const _GSMSSAS = "GetSMSSandboxAccountStatus";
|
|
4083
|
+
const _GTA = "GetTopicAttributes";
|
|
4084
|
+
const _I = "Id";
|
|
4085
|
+
const _ICC = "Iso2CountryCode";
|
|
4086
|
+
const _IIS = "IsInSandbox";
|
|
4087
|
+
const _K = "Key";
|
|
4088
|
+
const _L = "Label";
|
|
4089
|
+
const _LC = "LanguageCode";
|
|
4090
|
+
const _LEBPA = "ListEndpointsByPlatformApplication";
|
|
4091
|
+
const _LON = "ListOriginationNumbers";
|
|
4092
|
+
const _LPA = "ListPlatformApplications";
|
|
4093
|
+
const _LPNOO = "ListPhoneNumbersOptedOut";
|
|
4094
|
+
const _LS = "ListSubscriptions";
|
|
4095
|
+
const _LSBT = "ListSubscriptionsByTopic";
|
|
4096
|
+
const _LSMSSPN = "ListSMSSandboxPhoneNumbers";
|
|
4097
|
+
const _LT = "ListTopics";
|
|
4098
|
+
const _LTFR = "ListTagsForResource";
|
|
4099
|
+
const _M = "Message";
|
|
4100
|
+
const _MA = "MessageAttributes";
|
|
4101
|
+
const _MDI = "MessageDeduplicationId";
|
|
4102
|
+
const _MGI = "MessageGroupId";
|
|
4103
|
+
const _MI = "MessageId";
|
|
4104
|
+
const _MR = "MaxResults";
|
|
4105
|
+
const _MS = "MessageStructure";
|
|
4106
|
+
const _N = "Name";
|
|
4107
|
+
const _NC = "NumberCapabilities";
|
|
4108
|
+
const _NT = "NextToken";
|
|
4109
|
+
const _O = "Owner";
|
|
4110
|
+
const _OIPN = "OptInPhoneNumber";
|
|
4111
|
+
const _OTP = "OneTimePassword";
|
|
4112
|
+
const _P = "Publish";
|
|
4113
|
+
const _PA = "PlatformApplications";
|
|
4114
|
+
const _PAA = "PlatformApplicationArn";
|
|
4115
|
+
const _PB = "PublishBatch";
|
|
4116
|
+
const _PBRE = "PublishBatchRequestEntries";
|
|
4117
|
+
const _PDPP = "PutDataProtectionPolicy";
|
|
4118
|
+
const _PN = "PhoneNumber";
|
|
4119
|
+
const _PNh = "PhoneNumbers";
|
|
4120
|
+
const _Pl = "Platform";
|
|
4121
|
+
const _Pr = "Protocol";
|
|
4122
|
+
const _RA = "ResourceArn";
|
|
4123
|
+
const _RP = "RemovePermission";
|
|
4124
|
+
const _RSA = "ReturnSubscriptionArn";
|
|
4125
|
+
const _RT = "RouteType";
|
|
4126
|
+
const _S = "Subscribe";
|
|
4127
|
+
const _SA = "SubscriptionArn";
|
|
4128
|
+
const _SEA = "SetEndpointAttributes";
|
|
4129
|
+
const _SF = "SenderFault";
|
|
4130
|
+
const _SN = "SequenceNumber";
|
|
4131
|
+
const _SPAA = "SetPlatformApplicationAttributes";
|
|
4132
|
+
const _SSA = "SetSubscriptionAttributes";
|
|
4133
|
+
const _SSMSA = "SetSMSAttributes";
|
|
4134
|
+
const _STA = "SetTopicAttributes";
|
|
4135
|
+
const _SV = "StringValue";
|
|
4136
|
+
const _St = "Status";
|
|
4137
|
+
const _Su = "Subject";
|
|
4138
|
+
const _Sub = "Subscriptions";
|
|
4139
|
+
const _Suc = "Successful";
|
|
4140
|
+
const _T = "Token";
|
|
4141
|
+
const _TA = "TopicArn";
|
|
4142
|
+
const _TAa = "TargetArn";
|
|
4143
|
+
const _TK = "TagKeys";
|
|
4144
|
+
const _TR = "TagResource";
|
|
4145
|
+
const _Ta = "Tags";
|
|
4146
|
+
const _To = "Topics";
|
|
4147
|
+
const _U = "Unsubscribe";
|
|
4148
|
+
const _UR = "UntagResource";
|
|
4149
|
+
const _V = "Version";
|
|
4150
|
+
const _VSMSSPN = "VerifySMSSandboxPhoneNumber";
|
|
4151
|
+
const _Va = "Value";
|
|
4152
|
+
const _a = "attributes";
|
|
4153
|
+
const _e = "entry";
|
|
4154
|
+
const _iOO = "isOptedOut";
|
|
4155
|
+
const _m = "message";
|
|
4156
|
+
const _me = "member";
|
|
4157
|
+
const _nT = "nextToken";
|
|
4158
|
+
const _pN = "phoneNumber";
|
|
4159
|
+
const _pNh = "phoneNumbers";
|
|
4048
4160
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4049
4161
|
if (encoded.length) {
|
|
4050
4162
|
const parser = new XMLParser({
|