@aws-sdk/client-sns 3.306.0 → 3.310.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.
Files changed (89) hide show
  1. package/dist-cjs/commands/AddPermissionCommand.js +2 -2
  2. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -2
  3. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +2 -2
  4. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +2 -2
  5. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +2 -2
  6. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -2
  7. package/dist-cjs/commands/CreateTopicCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteEndpointCommand.js +2 -2
  9. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteTopicCommand.js +2 -2
  12. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +2 -2
  13. package/dist-cjs/commands/GetEndpointAttributesCommand.js +2 -2
  14. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +2 -2
  15. package/dist-cjs/commands/GetSMSAttributesCommand.js +2 -2
  16. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +2 -2
  17. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +2 -2
  18. package/dist-cjs/commands/GetTopicAttributesCommand.js +2 -2
  19. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +2 -2
  20. package/dist-cjs/commands/ListOriginationNumbersCommand.js +2 -2
  21. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +2 -2
  22. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +2 -2
  23. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -2
  24. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +2 -2
  25. package/dist-cjs/commands/ListSubscriptionsCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  27. package/dist-cjs/commands/ListTopicsCommand.js +2 -2
  28. package/dist-cjs/commands/OptInPhoneNumberCommand.js +2 -2
  29. package/dist-cjs/commands/PublishBatchCommand.js +2 -2
  30. package/dist-cjs/commands/PublishCommand.js +2 -2
  31. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +2 -2
  32. package/dist-cjs/commands/RemovePermissionCommand.js +2 -2
  33. package/dist-cjs/commands/SetEndpointAttributesCommand.js +2 -2
  34. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +2 -2
  35. package/dist-cjs/commands/SetSMSAttributesCommand.js +2 -2
  36. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +2 -2
  37. package/dist-cjs/commands/SetTopicAttributesCommand.js +2 -2
  38. package/dist-cjs/commands/SubscribeCommand.js +2 -2
  39. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  40. package/dist-cjs/commands/UnsubscribeCommand.js +2 -2
  41. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  42. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -2
  43. package/dist-cjs/protocols/Aws_query.js +801 -801
  44. package/dist-es/commands/AddPermissionCommand.js +3 -3
  45. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
  46. package/dist-es/commands/ConfirmSubscriptionCommand.js +3 -3
  47. package/dist-es/commands/CreatePlatformApplicationCommand.js +3 -3
  48. package/dist-es/commands/CreatePlatformEndpointCommand.js +3 -3
  49. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
  50. package/dist-es/commands/CreateTopicCommand.js +3 -3
  51. package/dist-es/commands/DeleteEndpointCommand.js +3 -3
  52. package/dist-es/commands/DeletePlatformApplicationCommand.js +3 -3
  53. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
  54. package/dist-es/commands/DeleteTopicCommand.js +3 -3
  55. package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
  56. package/dist-es/commands/GetEndpointAttributesCommand.js +3 -3
  57. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +3 -3
  58. package/dist-es/commands/GetSMSAttributesCommand.js +3 -3
  59. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
  60. package/dist-es/commands/GetSubscriptionAttributesCommand.js +3 -3
  61. package/dist-es/commands/GetTopicAttributesCommand.js +3 -3
  62. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
  63. package/dist-es/commands/ListOriginationNumbersCommand.js +3 -3
  64. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
  65. package/dist-es/commands/ListPlatformApplicationsCommand.js +3 -3
  66. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
  67. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +3 -3
  68. package/dist-es/commands/ListSubscriptionsCommand.js +3 -3
  69. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  70. package/dist-es/commands/ListTopicsCommand.js +3 -3
  71. package/dist-es/commands/OptInPhoneNumberCommand.js +3 -3
  72. package/dist-es/commands/PublishBatchCommand.js +3 -3
  73. package/dist-es/commands/PublishCommand.js +3 -3
  74. package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
  75. package/dist-es/commands/RemovePermissionCommand.js +3 -3
  76. package/dist-es/commands/SetEndpointAttributesCommand.js +3 -3
  77. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +3 -3
  78. package/dist-es/commands/SetSMSAttributesCommand.js +3 -3
  79. package/dist-es/commands/SetSubscriptionAttributesCommand.js +3 -3
  80. package/dist-es/commands/SetTopicAttributesCommand.js +3 -3
  81. package/dist-es/commands/SubscribeCommand.js +3 -3
  82. package/dist-es/commands/TagResourceCommand.js +3 -3
  83. package/dist-es/commands/UnsubscribeCommand.js +3 -3
  84. package/dist-es/commands/UntagResourceCommand.js +3 -3
  85. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
  86. package/dist-es/protocols/Aws_query.js +715 -715
  87. package/dist-types/protocols/Aws_query.d.ts +336 -84
  88. package/dist-types/ts3.4/protocols/Aws_query.d.ts +84 -84
  89. package/package.json +35 -35
@@ -3,513 +3,513 @@ import { decorateServiceException as __decorateServiceException, expectNonNull a
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { AuthorizationErrorException, BatchEntryIdsNotDistinctException, BatchRequestTooLongException, ConcurrentAccessException, EmptyBatchRequestException, EndpointDisabledException, FilterPolicyLimitExceededException, InternalErrorException, InvalidBatchEntryIdException, InvalidParameterException, InvalidParameterValueException, InvalidSecurityException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, NotFoundException, OptedOutException, PlatformApplicationDisabledException, ResourceNotFoundException, StaleTagException, SubscriptionLimitExceededException, TagLimitExceededException, TagPolicyException, ThrottledException, TooManyEntriesInBatchRequestException, TopicLimitExceededException, UserErrorException, ValidationException, VerificationException, } from "../models/models_0";
5
5
  import { SNSServiceException as __BaseException } from "../models/SNSServiceException";
6
- export const serializeAws_queryAddPermissionCommand = async (input, context) => {
6
+ export const se_AddPermissionCommand = async (input, context) => {
7
7
  const headers = {
8
8
  "content-type": "application/x-www-form-urlencoded",
9
9
  };
10
10
  let body;
11
11
  body = buildFormUrlencodedString({
12
- ...serializeAws_queryAddPermissionInput(input, context),
12
+ ...se_AddPermissionInput(input, context),
13
13
  Action: "AddPermission",
14
14
  Version: "2010-03-31",
15
15
  });
16
16
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
17
  };
18
- export const serializeAws_queryCheckIfPhoneNumberIsOptedOutCommand = async (input, context) => {
18
+ export const se_CheckIfPhoneNumberIsOptedOutCommand = async (input, context) => {
19
19
  const headers = {
20
20
  "content-type": "application/x-www-form-urlencoded",
21
21
  };
22
22
  let body;
23
23
  body = buildFormUrlencodedString({
24
- ...serializeAws_queryCheckIfPhoneNumberIsOptedOutInput(input, context),
24
+ ...se_CheckIfPhoneNumberIsOptedOutInput(input, context),
25
25
  Action: "CheckIfPhoneNumberIsOptedOut",
26
26
  Version: "2010-03-31",
27
27
  });
28
28
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
29
29
  };
30
- export const serializeAws_queryConfirmSubscriptionCommand = async (input, context) => {
30
+ export const se_ConfirmSubscriptionCommand = async (input, context) => {
31
31
  const headers = {
32
32
  "content-type": "application/x-www-form-urlencoded",
33
33
  };
34
34
  let body;
35
35
  body = buildFormUrlencodedString({
36
- ...serializeAws_queryConfirmSubscriptionInput(input, context),
36
+ ...se_ConfirmSubscriptionInput(input, context),
37
37
  Action: "ConfirmSubscription",
38
38
  Version: "2010-03-31",
39
39
  });
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
- export const serializeAws_queryCreatePlatformApplicationCommand = async (input, context) => {
42
+ export const se_CreatePlatformApplicationCommand = async (input, context) => {
43
43
  const headers = {
44
44
  "content-type": "application/x-www-form-urlencoded",
45
45
  };
46
46
  let body;
47
47
  body = buildFormUrlencodedString({
48
- ...serializeAws_queryCreatePlatformApplicationInput(input, context),
48
+ ...se_CreatePlatformApplicationInput(input, context),
49
49
  Action: "CreatePlatformApplication",
50
50
  Version: "2010-03-31",
51
51
  });
52
52
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
53
53
  };
54
- export const serializeAws_queryCreatePlatformEndpointCommand = async (input, context) => {
54
+ export const se_CreatePlatformEndpointCommand = async (input, context) => {
55
55
  const headers = {
56
56
  "content-type": "application/x-www-form-urlencoded",
57
57
  };
58
58
  let body;
59
59
  body = buildFormUrlencodedString({
60
- ...serializeAws_queryCreatePlatformEndpointInput(input, context),
60
+ ...se_CreatePlatformEndpointInput(input, context),
61
61
  Action: "CreatePlatformEndpoint",
62
62
  Version: "2010-03-31",
63
63
  });
64
64
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
65
  };
66
- export const serializeAws_queryCreateSMSSandboxPhoneNumberCommand = async (input, context) => {
66
+ export const se_CreateSMSSandboxPhoneNumberCommand = async (input, context) => {
67
67
  const headers = {
68
68
  "content-type": "application/x-www-form-urlencoded",
69
69
  };
70
70
  let body;
71
71
  body = buildFormUrlencodedString({
72
- ...serializeAws_queryCreateSMSSandboxPhoneNumberInput(input, context),
72
+ ...se_CreateSMSSandboxPhoneNumberInput(input, context),
73
73
  Action: "CreateSMSSandboxPhoneNumber",
74
74
  Version: "2010-03-31",
75
75
  });
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- export const serializeAws_queryCreateTopicCommand = async (input, context) => {
78
+ export const se_CreateTopicCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-www-form-urlencoded",
81
81
  };
82
82
  let body;
83
83
  body = buildFormUrlencodedString({
84
- ...serializeAws_queryCreateTopicInput(input, context),
84
+ ...se_CreateTopicInput(input, context),
85
85
  Action: "CreateTopic",
86
86
  Version: "2010-03-31",
87
87
  });
88
88
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
89
89
  };
90
- export const serializeAws_queryDeleteEndpointCommand = async (input, context) => {
90
+ export const se_DeleteEndpointCommand = async (input, context) => {
91
91
  const headers = {
92
92
  "content-type": "application/x-www-form-urlencoded",
93
93
  };
94
94
  let body;
95
95
  body = buildFormUrlencodedString({
96
- ...serializeAws_queryDeleteEndpointInput(input, context),
96
+ ...se_DeleteEndpointInput(input, context),
97
97
  Action: "DeleteEndpoint",
98
98
  Version: "2010-03-31",
99
99
  });
100
100
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
101
101
  };
102
- export const serializeAws_queryDeletePlatformApplicationCommand = async (input, context) => {
102
+ export const se_DeletePlatformApplicationCommand = async (input, context) => {
103
103
  const headers = {
104
104
  "content-type": "application/x-www-form-urlencoded",
105
105
  };
106
106
  let body;
107
107
  body = buildFormUrlencodedString({
108
- ...serializeAws_queryDeletePlatformApplicationInput(input, context),
108
+ ...se_DeletePlatformApplicationInput(input, context),
109
109
  Action: "DeletePlatformApplication",
110
110
  Version: "2010-03-31",
111
111
  });
112
112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
113
  };
114
- export const serializeAws_queryDeleteSMSSandboxPhoneNumberCommand = async (input, context) => {
114
+ export const se_DeleteSMSSandboxPhoneNumberCommand = async (input, context) => {
115
115
  const headers = {
116
116
  "content-type": "application/x-www-form-urlencoded",
117
117
  };
118
118
  let body;
119
119
  body = buildFormUrlencodedString({
120
- ...serializeAws_queryDeleteSMSSandboxPhoneNumberInput(input, context),
120
+ ...se_DeleteSMSSandboxPhoneNumberInput(input, context),
121
121
  Action: "DeleteSMSSandboxPhoneNumber",
122
122
  Version: "2010-03-31",
123
123
  });
124
124
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
125
125
  };
126
- export const serializeAws_queryDeleteTopicCommand = async (input, context) => {
126
+ export const se_DeleteTopicCommand = async (input, context) => {
127
127
  const headers = {
128
128
  "content-type": "application/x-www-form-urlencoded",
129
129
  };
130
130
  let body;
131
131
  body = buildFormUrlencodedString({
132
- ...serializeAws_queryDeleteTopicInput(input, context),
132
+ ...se_DeleteTopicInput(input, context),
133
133
  Action: "DeleteTopic",
134
134
  Version: "2010-03-31",
135
135
  });
136
136
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
137
137
  };
138
- export const serializeAws_queryGetDataProtectionPolicyCommand = async (input, context) => {
138
+ export const se_GetDataProtectionPolicyCommand = async (input, context) => {
139
139
  const headers = {
140
140
  "content-type": "application/x-www-form-urlencoded",
141
141
  };
142
142
  let body;
143
143
  body = buildFormUrlencodedString({
144
- ...serializeAws_queryGetDataProtectionPolicyInput(input, context),
144
+ ...se_GetDataProtectionPolicyInput(input, context),
145
145
  Action: "GetDataProtectionPolicy",
146
146
  Version: "2010-03-31",
147
147
  });
148
148
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
149
  };
150
- export const serializeAws_queryGetEndpointAttributesCommand = async (input, context) => {
150
+ export const se_GetEndpointAttributesCommand = async (input, context) => {
151
151
  const headers = {
152
152
  "content-type": "application/x-www-form-urlencoded",
153
153
  };
154
154
  let body;
155
155
  body = buildFormUrlencodedString({
156
- ...serializeAws_queryGetEndpointAttributesInput(input, context),
156
+ ...se_GetEndpointAttributesInput(input, context),
157
157
  Action: "GetEndpointAttributes",
158
158
  Version: "2010-03-31",
159
159
  });
160
160
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
161
161
  };
162
- export const serializeAws_queryGetPlatformApplicationAttributesCommand = async (input, context) => {
162
+ export const se_GetPlatformApplicationAttributesCommand = async (input, context) => {
163
163
  const headers = {
164
164
  "content-type": "application/x-www-form-urlencoded",
165
165
  };
166
166
  let body;
167
167
  body = buildFormUrlencodedString({
168
- ...serializeAws_queryGetPlatformApplicationAttributesInput(input, context),
168
+ ...se_GetPlatformApplicationAttributesInput(input, context),
169
169
  Action: "GetPlatformApplicationAttributes",
170
170
  Version: "2010-03-31",
171
171
  });
172
172
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
173
173
  };
174
- export const serializeAws_queryGetSMSAttributesCommand = async (input, context) => {
174
+ export const se_GetSMSAttributesCommand = async (input, context) => {
175
175
  const headers = {
176
176
  "content-type": "application/x-www-form-urlencoded",
177
177
  };
178
178
  let body;
179
179
  body = buildFormUrlencodedString({
180
- ...serializeAws_queryGetSMSAttributesInput(input, context),
180
+ ...se_GetSMSAttributesInput(input, context),
181
181
  Action: "GetSMSAttributes",
182
182
  Version: "2010-03-31",
183
183
  });
184
184
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
185
185
  };
186
- export const serializeAws_queryGetSMSSandboxAccountStatusCommand = async (input, context) => {
186
+ export const se_GetSMSSandboxAccountStatusCommand = async (input, context) => {
187
187
  const headers = {
188
188
  "content-type": "application/x-www-form-urlencoded",
189
189
  };
190
190
  let body;
191
191
  body = buildFormUrlencodedString({
192
- ...serializeAws_queryGetSMSSandboxAccountStatusInput(input, context),
192
+ ...se_GetSMSSandboxAccountStatusInput(input, context),
193
193
  Action: "GetSMSSandboxAccountStatus",
194
194
  Version: "2010-03-31",
195
195
  });
196
196
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
197
197
  };
198
- export const serializeAws_queryGetSubscriptionAttributesCommand = async (input, context) => {
198
+ export const se_GetSubscriptionAttributesCommand = async (input, context) => {
199
199
  const headers = {
200
200
  "content-type": "application/x-www-form-urlencoded",
201
201
  };
202
202
  let body;
203
203
  body = buildFormUrlencodedString({
204
- ...serializeAws_queryGetSubscriptionAttributesInput(input, context),
204
+ ...se_GetSubscriptionAttributesInput(input, context),
205
205
  Action: "GetSubscriptionAttributes",
206
206
  Version: "2010-03-31",
207
207
  });
208
208
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
209
209
  };
210
- export const serializeAws_queryGetTopicAttributesCommand = async (input, context) => {
210
+ export const se_GetTopicAttributesCommand = async (input, context) => {
211
211
  const headers = {
212
212
  "content-type": "application/x-www-form-urlencoded",
213
213
  };
214
214
  let body;
215
215
  body = buildFormUrlencodedString({
216
- ...serializeAws_queryGetTopicAttributesInput(input, context),
216
+ ...se_GetTopicAttributesInput(input, context),
217
217
  Action: "GetTopicAttributes",
218
218
  Version: "2010-03-31",
219
219
  });
220
220
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
221
221
  };
222
- export const serializeAws_queryListEndpointsByPlatformApplicationCommand = async (input, context) => {
222
+ export const se_ListEndpointsByPlatformApplicationCommand = async (input, context) => {
223
223
  const headers = {
224
224
  "content-type": "application/x-www-form-urlencoded",
225
225
  };
226
226
  let body;
227
227
  body = buildFormUrlencodedString({
228
- ...serializeAws_queryListEndpointsByPlatformApplicationInput(input, context),
228
+ ...se_ListEndpointsByPlatformApplicationInput(input, context),
229
229
  Action: "ListEndpointsByPlatformApplication",
230
230
  Version: "2010-03-31",
231
231
  });
232
232
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
233
233
  };
234
- export const serializeAws_queryListOriginationNumbersCommand = async (input, context) => {
234
+ export const se_ListOriginationNumbersCommand = async (input, context) => {
235
235
  const headers = {
236
236
  "content-type": "application/x-www-form-urlencoded",
237
237
  };
238
238
  let body;
239
239
  body = buildFormUrlencodedString({
240
- ...serializeAws_queryListOriginationNumbersRequest(input, context),
240
+ ...se_ListOriginationNumbersRequest(input, context),
241
241
  Action: "ListOriginationNumbers",
242
242
  Version: "2010-03-31",
243
243
  });
244
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
245
245
  };
246
- export const serializeAws_queryListPhoneNumbersOptedOutCommand = async (input, context) => {
246
+ export const se_ListPhoneNumbersOptedOutCommand = async (input, context) => {
247
247
  const headers = {
248
248
  "content-type": "application/x-www-form-urlencoded",
249
249
  };
250
250
  let body;
251
251
  body = buildFormUrlencodedString({
252
- ...serializeAws_queryListPhoneNumbersOptedOutInput(input, context),
252
+ ...se_ListPhoneNumbersOptedOutInput(input, context),
253
253
  Action: "ListPhoneNumbersOptedOut",
254
254
  Version: "2010-03-31",
255
255
  });
256
256
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
257
  };
258
- export const serializeAws_queryListPlatformApplicationsCommand = async (input, context) => {
258
+ export const se_ListPlatformApplicationsCommand = async (input, context) => {
259
259
  const headers = {
260
260
  "content-type": "application/x-www-form-urlencoded",
261
261
  };
262
262
  let body;
263
263
  body = buildFormUrlencodedString({
264
- ...serializeAws_queryListPlatformApplicationsInput(input, context),
264
+ ...se_ListPlatformApplicationsInput(input, context),
265
265
  Action: "ListPlatformApplications",
266
266
  Version: "2010-03-31",
267
267
  });
268
268
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
269
269
  };
270
- export const serializeAws_queryListSMSSandboxPhoneNumbersCommand = async (input, context) => {
270
+ export const se_ListSMSSandboxPhoneNumbersCommand = async (input, context) => {
271
271
  const headers = {
272
272
  "content-type": "application/x-www-form-urlencoded",
273
273
  };
274
274
  let body;
275
275
  body = buildFormUrlencodedString({
276
- ...serializeAws_queryListSMSSandboxPhoneNumbersInput(input, context),
276
+ ...se_ListSMSSandboxPhoneNumbersInput(input, context),
277
277
  Action: "ListSMSSandboxPhoneNumbers",
278
278
  Version: "2010-03-31",
279
279
  });
280
280
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
281
281
  };
282
- export const serializeAws_queryListSubscriptionsCommand = async (input, context) => {
282
+ export const se_ListSubscriptionsCommand = async (input, context) => {
283
283
  const headers = {
284
284
  "content-type": "application/x-www-form-urlencoded",
285
285
  };
286
286
  let body;
287
287
  body = buildFormUrlencodedString({
288
- ...serializeAws_queryListSubscriptionsInput(input, context),
288
+ ...se_ListSubscriptionsInput(input, context),
289
289
  Action: "ListSubscriptions",
290
290
  Version: "2010-03-31",
291
291
  });
292
292
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
293
293
  };
294
- export const serializeAws_queryListSubscriptionsByTopicCommand = async (input, context) => {
294
+ export const se_ListSubscriptionsByTopicCommand = async (input, context) => {
295
295
  const headers = {
296
296
  "content-type": "application/x-www-form-urlencoded",
297
297
  };
298
298
  let body;
299
299
  body = buildFormUrlencodedString({
300
- ...serializeAws_queryListSubscriptionsByTopicInput(input, context),
300
+ ...se_ListSubscriptionsByTopicInput(input, context),
301
301
  Action: "ListSubscriptionsByTopic",
302
302
  Version: "2010-03-31",
303
303
  });
304
304
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
305
305
  };
306
- export const serializeAws_queryListTagsForResourceCommand = async (input, context) => {
306
+ export const se_ListTagsForResourceCommand = async (input, context) => {
307
307
  const headers = {
308
308
  "content-type": "application/x-www-form-urlencoded",
309
309
  };
310
310
  let body;
311
311
  body = buildFormUrlencodedString({
312
- ...serializeAws_queryListTagsForResourceRequest(input, context),
312
+ ...se_ListTagsForResourceRequest(input, context),
313
313
  Action: "ListTagsForResource",
314
314
  Version: "2010-03-31",
315
315
  });
316
316
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
317
317
  };
318
- export const serializeAws_queryListTopicsCommand = async (input, context) => {
318
+ export const se_ListTopicsCommand = async (input, context) => {
319
319
  const headers = {
320
320
  "content-type": "application/x-www-form-urlencoded",
321
321
  };
322
322
  let body;
323
323
  body = buildFormUrlencodedString({
324
- ...serializeAws_queryListTopicsInput(input, context),
324
+ ...se_ListTopicsInput(input, context),
325
325
  Action: "ListTopics",
326
326
  Version: "2010-03-31",
327
327
  });
328
328
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
329
  };
330
- export const serializeAws_queryOptInPhoneNumberCommand = async (input, context) => {
330
+ export const se_OptInPhoneNumberCommand = async (input, context) => {
331
331
  const headers = {
332
332
  "content-type": "application/x-www-form-urlencoded",
333
333
  };
334
334
  let body;
335
335
  body = buildFormUrlencodedString({
336
- ...serializeAws_queryOptInPhoneNumberInput(input, context),
336
+ ...se_OptInPhoneNumberInput(input, context),
337
337
  Action: "OptInPhoneNumber",
338
338
  Version: "2010-03-31",
339
339
  });
340
340
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
341
341
  };
342
- export const serializeAws_queryPublishCommand = async (input, context) => {
342
+ export const se_PublishCommand = async (input, context) => {
343
343
  const headers = {
344
344
  "content-type": "application/x-www-form-urlencoded",
345
345
  };
346
346
  let body;
347
347
  body = buildFormUrlencodedString({
348
- ...serializeAws_queryPublishInput(input, context),
348
+ ...se_PublishInput(input, context),
349
349
  Action: "Publish",
350
350
  Version: "2010-03-31",
351
351
  });
352
352
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
353
353
  };
354
- export const serializeAws_queryPublishBatchCommand = async (input, context) => {
354
+ export const se_PublishBatchCommand = async (input, context) => {
355
355
  const headers = {
356
356
  "content-type": "application/x-www-form-urlencoded",
357
357
  };
358
358
  let body;
359
359
  body = buildFormUrlencodedString({
360
- ...serializeAws_queryPublishBatchInput(input, context),
360
+ ...se_PublishBatchInput(input, context),
361
361
  Action: "PublishBatch",
362
362
  Version: "2010-03-31",
363
363
  });
364
364
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
365
365
  };
366
- export const serializeAws_queryPutDataProtectionPolicyCommand = async (input, context) => {
366
+ export const se_PutDataProtectionPolicyCommand = async (input, context) => {
367
367
  const headers = {
368
368
  "content-type": "application/x-www-form-urlencoded",
369
369
  };
370
370
  let body;
371
371
  body = buildFormUrlencodedString({
372
- ...serializeAws_queryPutDataProtectionPolicyInput(input, context),
372
+ ...se_PutDataProtectionPolicyInput(input, context),
373
373
  Action: "PutDataProtectionPolicy",
374
374
  Version: "2010-03-31",
375
375
  });
376
376
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
377
377
  };
378
- export const serializeAws_queryRemovePermissionCommand = async (input, context) => {
378
+ export const se_RemovePermissionCommand = async (input, context) => {
379
379
  const headers = {
380
380
  "content-type": "application/x-www-form-urlencoded",
381
381
  };
382
382
  let body;
383
383
  body = buildFormUrlencodedString({
384
- ...serializeAws_queryRemovePermissionInput(input, context),
384
+ ...se_RemovePermissionInput(input, context),
385
385
  Action: "RemovePermission",
386
386
  Version: "2010-03-31",
387
387
  });
388
388
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
389
389
  };
390
- export const serializeAws_querySetEndpointAttributesCommand = async (input, context) => {
390
+ export const se_SetEndpointAttributesCommand = async (input, context) => {
391
391
  const headers = {
392
392
  "content-type": "application/x-www-form-urlencoded",
393
393
  };
394
394
  let body;
395
395
  body = buildFormUrlencodedString({
396
- ...serializeAws_querySetEndpointAttributesInput(input, context),
396
+ ...se_SetEndpointAttributesInput(input, context),
397
397
  Action: "SetEndpointAttributes",
398
398
  Version: "2010-03-31",
399
399
  });
400
400
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
401
401
  };
402
- export const serializeAws_querySetPlatformApplicationAttributesCommand = async (input, context) => {
402
+ export const se_SetPlatformApplicationAttributesCommand = async (input, context) => {
403
403
  const headers = {
404
404
  "content-type": "application/x-www-form-urlencoded",
405
405
  };
406
406
  let body;
407
407
  body = buildFormUrlencodedString({
408
- ...serializeAws_querySetPlatformApplicationAttributesInput(input, context),
408
+ ...se_SetPlatformApplicationAttributesInput(input, context),
409
409
  Action: "SetPlatformApplicationAttributes",
410
410
  Version: "2010-03-31",
411
411
  });
412
412
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
413
413
  };
414
- export const serializeAws_querySetSMSAttributesCommand = async (input, context) => {
414
+ export const se_SetSMSAttributesCommand = async (input, context) => {
415
415
  const headers = {
416
416
  "content-type": "application/x-www-form-urlencoded",
417
417
  };
418
418
  let body;
419
419
  body = buildFormUrlencodedString({
420
- ...serializeAws_querySetSMSAttributesInput(input, context),
420
+ ...se_SetSMSAttributesInput(input, context),
421
421
  Action: "SetSMSAttributes",
422
422
  Version: "2010-03-31",
423
423
  });
424
424
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
425
425
  };
426
- export const serializeAws_querySetSubscriptionAttributesCommand = async (input, context) => {
426
+ export const se_SetSubscriptionAttributesCommand = async (input, context) => {
427
427
  const headers = {
428
428
  "content-type": "application/x-www-form-urlencoded",
429
429
  };
430
430
  let body;
431
431
  body = buildFormUrlencodedString({
432
- ...serializeAws_querySetSubscriptionAttributesInput(input, context),
432
+ ...se_SetSubscriptionAttributesInput(input, context),
433
433
  Action: "SetSubscriptionAttributes",
434
434
  Version: "2010-03-31",
435
435
  });
436
436
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
437
437
  };
438
- export const serializeAws_querySetTopicAttributesCommand = async (input, context) => {
438
+ export const se_SetTopicAttributesCommand = async (input, context) => {
439
439
  const headers = {
440
440
  "content-type": "application/x-www-form-urlencoded",
441
441
  };
442
442
  let body;
443
443
  body = buildFormUrlencodedString({
444
- ...serializeAws_querySetTopicAttributesInput(input, context),
444
+ ...se_SetTopicAttributesInput(input, context),
445
445
  Action: "SetTopicAttributes",
446
446
  Version: "2010-03-31",
447
447
  });
448
448
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
449
  };
450
- export const serializeAws_querySubscribeCommand = async (input, context) => {
450
+ export const se_SubscribeCommand = async (input, context) => {
451
451
  const headers = {
452
452
  "content-type": "application/x-www-form-urlencoded",
453
453
  };
454
454
  let body;
455
455
  body = buildFormUrlencodedString({
456
- ...serializeAws_querySubscribeInput(input, context),
456
+ ...se_SubscribeInput(input, context),
457
457
  Action: "Subscribe",
458
458
  Version: "2010-03-31",
459
459
  });
460
460
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
461
461
  };
462
- export const serializeAws_queryTagResourceCommand = async (input, context) => {
462
+ export const se_TagResourceCommand = async (input, context) => {
463
463
  const headers = {
464
464
  "content-type": "application/x-www-form-urlencoded",
465
465
  };
466
466
  let body;
467
467
  body = buildFormUrlencodedString({
468
- ...serializeAws_queryTagResourceRequest(input, context),
468
+ ...se_TagResourceRequest(input, context),
469
469
  Action: "TagResource",
470
470
  Version: "2010-03-31",
471
471
  });
472
472
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
473
473
  };
474
- export const serializeAws_queryUnsubscribeCommand = async (input, context) => {
474
+ export const se_UnsubscribeCommand = async (input, context) => {
475
475
  const headers = {
476
476
  "content-type": "application/x-www-form-urlencoded",
477
477
  };
478
478
  let body;
479
479
  body = buildFormUrlencodedString({
480
- ...serializeAws_queryUnsubscribeInput(input, context),
480
+ ...se_UnsubscribeInput(input, context),
481
481
  Action: "Unsubscribe",
482
482
  Version: "2010-03-31",
483
483
  });
484
484
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
485
485
  };
486
- export const serializeAws_queryUntagResourceCommand = async (input, context) => {
486
+ export const se_UntagResourceCommand = async (input, context) => {
487
487
  const headers = {
488
488
  "content-type": "application/x-www-form-urlencoded",
489
489
  };
490
490
  let body;
491
491
  body = buildFormUrlencodedString({
492
- ...serializeAws_queryUntagResourceRequest(input, context),
492
+ ...se_UntagResourceRequest(input, context),
493
493
  Action: "UntagResource",
494
494
  Version: "2010-03-31",
495
495
  });
496
496
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
497
497
  };
498
- export const serializeAws_queryVerifySMSSandboxPhoneNumberCommand = async (input, context) => {
498
+ export const se_VerifySMSSandboxPhoneNumberCommand = async (input, context) => {
499
499
  const headers = {
500
500
  "content-type": "application/x-www-form-urlencoded",
501
501
  };
502
502
  let body;
503
503
  body = buildFormUrlencodedString({
504
- ...serializeAws_queryVerifySMSSandboxPhoneNumberInput(input, context),
504
+ ...se_VerifySMSSandboxPhoneNumberInput(input, context),
505
505
  Action: "VerifySMSSandboxPhoneNumber",
506
506
  Version: "2010-03-31",
507
507
  });
508
508
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
509
509
  };
510
- export const deserializeAws_queryAddPermissionCommand = async (output, context) => {
510
+ export const de_AddPermissionCommand = async (output, context) => {
511
511
  if (output.statusCode >= 300) {
512
- return deserializeAws_queryAddPermissionCommandError(output, context);
512
+ return de_AddPermissionCommandError(output, context);
513
513
  }
514
514
  await collectBody(output.body, context);
515
515
  const response = {
@@ -517,7 +517,7 @@ export const deserializeAws_queryAddPermissionCommand = async (output, context)
517
517
  };
518
518
  return Promise.resolve(response);
519
519
  };
520
- const deserializeAws_queryAddPermissionCommandError = async (output, context) => {
520
+ const de_AddPermissionCommandError = async (output, context) => {
521
521
  const parsedOutput = {
522
522
  ...output,
523
523
  body: await parseErrorBody(output.body, context),
@@ -526,16 +526,16 @@ const deserializeAws_queryAddPermissionCommandError = async (output, context) =>
526
526
  switch (errorCode) {
527
527
  case "AuthorizationError":
528
528
  case "com.amazonaws.sns#AuthorizationErrorException":
529
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
529
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
530
530
  case "InternalError":
531
531
  case "com.amazonaws.sns#InternalErrorException":
532
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
532
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
533
533
  case "InvalidParameter":
534
534
  case "com.amazonaws.sns#InvalidParameterException":
535
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
535
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
536
536
  case "NotFound":
537
537
  case "com.amazonaws.sns#NotFoundException":
538
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
538
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
539
539
  default:
540
540
  const parsedBody = parsedOutput.body;
541
541
  throwDefaultError({
@@ -546,20 +546,20 @@ const deserializeAws_queryAddPermissionCommandError = async (output, context) =>
546
546
  });
547
547
  }
548
548
  };
549
- export const deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommand = async (output, context) => {
549
+ export const de_CheckIfPhoneNumberIsOptedOutCommand = async (output, context) => {
550
550
  if (output.statusCode >= 300) {
551
- return deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommandError(output, context);
551
+ return de_CheckIfPhoneNumberIsOptedOutCommandError(output, context);
552
552
  }
553
553
  const data = await parseBody(output.body, context);
554
554
  let contents = {};
555
- contents = deserializeAws_queryCheckIfPhoneNumberIsOptedOutResponse(data.CheckIfPhoneNumberIsOptedOutResult, context);
555
+ contents = de_CheckIfPhoneNumberIsOptedOutResponse(data.CheckIfPhoneNumberIsOptedOutResult, context);
556
556
  const response = {
557
557
  $metadata: deserializeMetadata(output),
558
558
  ...contents,
559
559
  };
560
560
  return Promise.resolve(response);
561
561
  };
562
- const deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommandError = async (output, context) => {
562
+ const de_CheckIfPhoneNumberIsOptedOutCommandError = async (output, context) => {
563
563
  const parsedOutput = {
564
564
  ...output,
565
565
  body: await parseErrorBody(output.body, context),
@@ -568,16 +568,16 @@ const deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommandError = async (outp
568
568
  switch (errorCode) {
569
569
  case "AuthorizationError":
570
570
  case "com.amazonaws.sns#AuthorizationErrorException":
571
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
571
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
572
572
  case "InternalError":
573
573
  case "com.amazonaws.sns#InternalErrorException":
574
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
574
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
575
575
  case "InvalidParameter":
576
576
  case "com.amazonaws.sns#InvalidParameterException":
577
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
577
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
578
578
  case "Throttled":
579
579
  case "com.amazonaws.sns#ThrottledException":
580
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
580
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
581
581
  default:
582
582
  const parsedBody = parsedOutput.body;
583
583
  throwDefaultError({
@@ -588,20 +588,20 @@ const deserializeAws_queryCheckIfPhoneNumberIsOptedOutCommandError = async (outp
588
588
  });
589
589
  }
590
590
  };
591
- export const deserializeAws_queryConfirmSubscriptionCommand = async (output, context) => {
591
+ export const de_ConfirmSubscriptionCommand = async (output, context) => {
592
592
  if (output.statusCode >= 300) {
593
- return deserializeAws_queryConfirmSubscriptionCommandError(output, context);
593
+ return de_ConfirmSubscriptionCommandError(output, context);
594
594
  }
595
595
  const data = await parseBody(output.body, context);
596
596
  let contents = {};
597
- contents = deserializeAws_queryConfirmSubscriptionResponse(data.ConfirmSubscriptionResult, context);
597
+ contents = de_ConfirmSubscriptionResponse(data.ConfirmSubscriptionResult, context);
598
598
  const response = {
599
599
  $metadata: deserializeMetadata(output),
600
600
  ...contents,
601
601
  };
602
602
  return Promise.resolve(response);
603
603
  };
604
- const deserializeAws_queryConfirmSubscriptionCommandError = async (output, context) => {
604
+ const de_ConfirmSubscriptionCommandError = async (output, context) => {
605
605
  const parsedOutput = {
606
606
  ...output,
607
607
  body: await parseErrorBody(output.body, context),
@@ -610,22 +610,22 @@ const deserializeAws_queryConfirmSubscriptionCommandError = async (output, conte
610
610
  switch (errorCode) {
611
611
  case "AuthorizationError":
612
612
  case "com.amazonaws.sns#AuthorizationErrorException":
613
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
613
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
614
614
  case "FilterPolicyLimitExceeded":
615
615
  case "com.amazonaws.sns#FilterPolicyLimitExceededException":
616
- throw await deserializeAws_queryFilterPolicyLimitExceededExceptionResponse(parsedOutput, context);
616
+ throw await de_FilterPolicyLimitExceededExceptionRes(parsedOutput, context);
617
617
  case "InternalError":
618
618
  case "com.amazonaws.sns#InternalErrorException":
619
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
619
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
620
620
  case "InvalidParameter":
621
621
  case "com.amazonaws.sns#InvalidParameterException":
622
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
622
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
623
623
  case "NotFound":
624
624
  case "com.amazonaws.sns#NotFoundException":
625
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
625
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
626
626
  case "SubscriptionLimitExceeded":
627
627
  case "com.amazonaws.sns#SubscriptionLimitExceededException":
628
- throw await deserializeAws_querySubscriptionLimitExceededExceptionResponse(parsedOutput, context);
628
+ throw await de_SubscriptionLimitExceededExceptionRes(parsedOutput, context);
629
629
  default:
630
630
  const parsedBody = parsedOutput.body;
631
631
  throwDefaultError({
@@ -636,20 +636,20 @@ const deserializeAws_queryConfirmSubscriptionCommandError = async (output, conte
636
636
  });
637
637
  }
638
638
  };
639
- export const deserializeAws_queryCreatePlatformApplicationCommand = async (output, context) => {
639
+ export const de_CreatePlatformApplicationCommand = async (output, context) => {
640
640
  if (output.statusCode >= 300) {
641
- return deserializeAws_queryCreatePlatformApplicationCommandError(output, context);
641
+ return de_CreatePlatformApplicationCommandError(output, context);
642
642
  }
643
643
  const data = await parseBody(output.body, context);
644
644
  let contents = {};
645
- contents = deserializeAws_queryCreatePlatformApplicationResponse(data.CreatePlatformApplicationResult, context);
645
+ contents = de_CreatePlatformApplicationResponse(data.CreatePlatformApplicationResult, context);
646
646
  const response = {
647
647
  $metadata: deserializeMetadata(output),
648
648
  ...contents,
649
649
  };
650
650
  return Promise.resolve(response);
651
651
  };
652
- const deserializeAws_queryCreatePlatformApplicationCommandError = async (output, context) => {
652
+ const de_CreatePlatformApplicationCommandError = async (output, context) => {
653
653
  const parsedOutput = {
654
654
  ...output,
655
655
  body: await parseErrorBody(output.body, context),
@@ -658,13 +658,13 @@ const deserializeAws_queryCreatePlatformApplicationCommandError = async (output,
658
658
  switch (errorCode) {
659
659
  case "AuthorizationError":
660
660
  case "com.amazonaws.sns#AuthorizationErrorException":
661
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
661
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
662
662
  case "InternalError":
663
663
  case "com.amazonaws.sns#InternalErrorException":
664
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
664
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
665
665
  case "InvalidParameter":
666
666
  case "com.amazonaws.sns#InvalidParameterException":
667
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
667
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
668
668
  default:
669
669
  const parsedBody = parsedOutput.body;
670
670
  throwDefaultError({
@@ -675,20 +675,20 @@ const deserializeAws_queryCreatePlatformApplicationCommandError = async (output,
675
675
  });
676
676
  }
677
677
  };
678
- export const deserializeAws_queryCreatePlatformEndpointCommand = async (output, context) => {
678
+ export const de_CreatePlatformEndpointCommand = async (output, context) => {
679
679
  if (output.statusCode >= 300) {
680
- return deserializeAws_queryCreatePlatformEndpointCommandError(output, context);
680
+ return de_CreatePlatformEndpointCommandError(output, context);
681
681
  }
682
682
  const data = await parseBody(output.body, context);
683
683
  let contents = {};
684
- contents = deserializeAws_queryCreateEndpointResponse(data.CreatePlatformEndpointResult, context);
684
+ contents = de_CreateEndpointResponse(data.CreatePlatformEndpointResult, context);
685
685
  const response = {
686
686
  $metadata: deserializeMetadata(output),
687
687
  ...contents,
688
688
  };
689
689
  return Promise.resolve(response);
690
690
  };
691
- const deserializeAws_queryCreatePlatformEndpointCommandError = async (output, context) => {
691
+ const de_CreatePlatformEndpointCommandError = async (output, context) => {
692
692
  const parsedOutput = {
693
693
  ...output,
694
694
  body: await parseErrorBody(output.body, context),
@@ -697,16 +697,16 @@ const deserializeAws_queryCreatePlatformEndpointCommandError = async (output, co
697
697
  switch (errorCode) {
698
698
  case "AuthorizationError":
699
699
  case "com.amazonaws.sns#AuthorizationErrorException":
700
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
700
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
701
701
  case "InternalError":
702
702
  case "com.amazonaws.sns#InternalErrorException":
703
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
703
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
704
704
  case "InvalidParameter":
705
705
  case "com.amazonaws.sns#InvalidParameterException":
706
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
706
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
707
707
  case "NotFound":
708
708
  case "com.amazonaws.sns#NotFoundException":
709
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
709
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
710
710
  default:
711
711
  const parsedBody = parsedOutput.body;
712
712
  throwDefaultError({
@@ -717,20 +717,20 @@ const deserializeAws_queryCreatePlatformEndpointCommandError = async (output, co
717
717
  });
718
718
  }
719
719
  };
720
- export const deserializeAws_queryCreateSMSSandboxPhoneNumberCommand = async (output, context) => {
720
+ export const de_CreateSMSSandboxPhoneNumberCommand = async (output, context) => {
721
721
  if (output.statusCode >= 300) {
722
- return deserializeAws_queryCreateSMSSandboxPhoneNumberCommandError(output, context);
722
+ return de_CreateSMSSandboxPhoneNumberCommandError(output, context);
723
723
  }
724
724
  const data = await parseBody(output.body, context);
725
725
  let contents = {};
726
- contents = deserializeAws_queryCreateSMSSandboxPhoneNumberResult(data.CreateSMSSandboxPhoneNumberResult, context);
726
+ contents = de_CreateSMSSandboxPhoneNumberResult(data.CreateSMSSandboxPhoneNumberResult, context);
727
727
  const response = {
728
728
  $metadata: deserializeMetadata(output),
729
729
  ...contents,
730
730
  };
731
731
  return Promise.resolve(response);
732
732
  };
733
- const deserializeAws_queryCreateSMSSandboxPhoneNumberCommandError = async (output, context) => {
733
+ const de_CreateSMSSandboxPhoneNumberCommandError = async (output, context) => {
734
734
  const parsedOutput = {
735
735
  ...output,
736
736
  body: await parseErrorBody(output.body, context),
@@ -739,22 +739,22 @@ const deserializeAws_queryCreateSMSSandboxPhoneNumberCommandError = async (outpu
739
739
  switch (errorCode) {
740
740
  case "AuthorizationError":
741
741
  case "com.amazonaws.sns#AuthorizationErrorException":
742
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
742
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
743
743
  case "InternalError":
744
744
  case "com.amazonaws.sns#InternalErrorException":
745
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
745
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
746
746
  case "InvalidParameter":
747
747
  case "com.amazonaws.sns#InvalidParameterException":
748
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
748
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
749
749
  case "OptedOut":
750
750
  case "com.amazonaws.sns#OptedOutException":
751
- throw await deserializeAws_queryOptedOutExceptionResponse(parsedOutput, context);
751
+ throw await de_OptedOutExceptionRes(parsedOutput, context);
752
752
  case "Throttled":
753
753
  case "com.amazonaws.sns#ThrottledException":
754
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
754
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
755
755
  case "UserError":
756
756
  case "com.amazonaws.sns#UserErrorException":
757
- throw await deserializeAws_queryUserErrorExceptionResponse(parsedOutput, context);
757
+ throw await de_UserErrorExceptionRes(parsedOutput, context);
758
758
  default:
759
759
  const parsedBody = parsedOutput.body;
760
760
  throwDefaultError({
@@ -765,20 +765,20 @@ const deserializeAws_queryCreateSMSSandboxPhoneNumberCommandError = async (outpu
765
765
  });
766
766
  }
767
767
  };
768
- export const deserializeAws_queryCreateTopicCommand = async (output, context) => {
768
+ export const de_CreateTopicCommand = async (output, context) => {
769
769
  if (output.statusCode >= 300) {
770
- return deserializeAws_queryCreateTopicCommandError(output, context);
770
+ return de_CreateTopicCommandError(output, context);
771
771
  }
772
772
  const data = await parseBody(output.body, context);
773
773
  let contents = {};
774
- contents = deserializeAws_queryCreateTopicResponse(data.CreateTopicResult, context);
774
+ contents = de_CreateTopicResponse(data.CreateTopicResult, context);
775
775
  const response = {
776
776
  $metadata: deserializeMetadata(output),
777
777
  ...contents,
778
778
  };
779
779
  return Promise.resolve(response);
780
780
  };
781
- const deserializeAws_queryCreateTopicCommandError = async (output, context) => {
781
+ const de_CreateTopicCommandError = async (output, context) => {
782
782
  const parsedOutput = {
783
783
  ...output,
784
784
  body: await parseErrorBody(output.body, context),
@@ -787,31 +787,31 @@ const deserializeAws_queryCreateTopicCommandError = async (output, context) => {
787
787
  switch (errorCode) {
788
788
  case "AuthorizationError":
789
789
  case "com.amazonaws.sns#AuthorizationErrorException":
790
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
790
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
791
791
  case "ConcurrentAccess":
792
792
  case "com.amazonaws.sns#ConcurrentAccessException":
793
- throw await deserializeAws_queryConcurrentAccessExceptionResponse(parsedOutput, context);
793
+ throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
794
794
  case "InternalError":
795
795
  case "com.amazonaws.sns#InternalErrorException":
796
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
796
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
797
797
  case "InvalidParameter":
798
798
  case "com.amazonaws.sns#InvalidParameterException":
799
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
799
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
800
800
  case "InvalidSecurity":
801
801
  case "com.amazonaws.sns#InvalidSecurityException":
802
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
802
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
803
803
  case "StaleTag":
804
804
  case "com.amazonaws.sns#StaleTagException":
805
- throw await deserializeAws_queryStaleTagExceptionResponse(parsedOutput, context);
805
+ throw await de_StaleTagExceptionRes(parsedOutput, context);
806
806
  case "TagLimitExceeded":
807
807
  case "com.amazonaws.sns#TagLimitExceededException":
808
- throw await deserializeAws_queryTagLimitExceededExceptionResponse(parsedOutput, context);
808
+ throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
809
809
  case "TagPolicy":
810
810
  case "com.amazonaws.sns#TagPolicyException":
811
- throw await deserializeAws_queryTagPolicyExceptionResponse(parsedOutput, context);
811
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
812
812
  case "TopicLimitExceeded":
813
813
  case "com.amazonaws.sns#TopicLimitExceededException":
814
- throw await deserializeAws_queryTopicLimitExceededExceptionResponse(parsedOutput, context);
814
+ throw await de_TopicLimitExceededExceptionRes(parsedOutput, context);
815
815
  default:
816
816
  const parsedBody = parsedOutput.body;
817
817
  throwDefaultError({
@@ -822,9 +822,9 @@ const deserializeAws_queryCreateTopicCommandError = async (output, context) => {
822
822
  });
823
823
  }
824
824
  };
825
- export const deserializeAws_queryDeleteEndpointCommand = async (output, context) => {
825
+ export const de_DeleteEndpointCommand = async (output, context) => {
826
826
  if (output.statusCode >= 300) {
827
- return deserializeAws_queryDeleteEndpointCommandError(output, context);
827
+ return de_DeleteEndpointCommandError(output, context);
828
828
  }
829
829
  await collectBody(output.body, context);
830
830
  const response = {
@@ -832,7 +832,7 @@ export const deserializeAws_queryDeleteEndpointCommand = async (output, context)
832
832
  };
833
833
  return Promise.resolve(response);
834
834
  };
835
- const deserializeAws_queryDeleteEndpointCommandError = async (output, context) => {
835
+ const de_DeleteEndpointCommandError = async (output, context) => {
836
836
  const parsedOutput = {
837
837
  ...output,
838
838
  body: await parseErrorBody(output.body, context),
@@ -841,13 +841,13 @@ const deserializeAws_queryDeleteEndpointCommandError = async (output, context) =
841
841
  switch (errorCode) {
842
842
  case "AuthorizationError":
843
843
  case "com.amazonaws.sns#AuthorizationErrorException":
844
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
844
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
845
845
  case "InternalError":
846
846
  case "com.amazonaws.sns#InternalErrorException":
847
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
847
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
848
848
  case "InvalidParameter":
849
849
  case "com.amazonaws.sns#InvalidParameterException":
850
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
850
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
851
851
  default:
852
852
  const parsedBody = parsedOutput.body;
853
853
  throwDefaultError({
@@ -858,9 +858,9 @@ const deserializeAws_queryDeleteEndpointCommandError = async (output, context) =
858
858
  });
859
859
  }
860
860
  };
861
- export const deserializeAws_queryDeletePlatformApplicationCommand = async (output, context) => {
861
+ export const de_DeletePlatformApplicationCommand = async (output, context) => {
862
862
  if (output.statusCode >= 300) {
863
- return deserializeAws_queryDeletePlatformApplicationCommandError(output, context);
863
+ return de_DeletePlatformApplicationCommandError(output, context);
864
864
  }
865
865
  await collectBody(output.body, context);
866
866
  const response = {
@@ -868,7 +868,7 @@ export const deserializeAws_queryDeletePlatformApplicationCommand = async (outpu
868
868
  };
869
869
  return Promise.resolve(response);
870
870
  };
871
- const deserializeAws_queryDeletePlatformApplicationCommandError = async (output, context) => {
871
+ const de_DeletePlatformApplicationCommandError = async (output, context) => {
872
872
  const parsedOutput = {
873
873
  ...output,
874
874
  body: await parseErrorBody(output.body, context),
@@ -877,13 +877,13 @@ const deserializeAws_queryDeletePlatformApplicationCommandError = async (output,
877
877
  switch (errorCode) {
878
878
  case "AuthorizationError":
879
879
  case "com.amazonaws.sns#AuthorizationErrorException":
880
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
880
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
881
881
  case "InternalError":
882
882
  case "com.amazonaws.sns#InternalErrorException":
883
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
883
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
884
884
  case "InvalidParameter":
885
885
  case "com.amazonaws.sns#InvalidParameterException":
886
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
886
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
887
887
  default:
888
888
  const parsedBody = parsedOutput.body;
889
889
  throwDefaultError({
@@ -894,20 +894,20 @@ const deserializeAws_queryDeletePlatformApplicationCommandError = async (output,
894
894
  });
895
895
  }
896
896
  };
897
- export const deserializeAws_queryDeleteSMSSandboxPhoneNumberCommand = async (output, context) => {
897
+ export const de_DeleteSMSSandboxPhoneNumberCommand = async (output, context) => {
898
898
  if (output.statusCode >= 300) {
899
- return deserializeAws_queryDeleteSMSSandboxPhoneNumberCommandError(output, context);
899
+ return de_DeleteSMSSandboxPhoneNumberCommandError(output, context);
900
900
  }
901
901
  const data = await parseBody(output.body, context);
902
902
  let contents = {};
903
- contents = deserializeAws_queryDeleteSMSSandboxPhoneNumberResult(data.DeleteSMSSandboxPhoneNumberResult, context);
903
+ contents = de_DeleteSMSSandboxPhoneNumberResult(data.DeleteSMSSandboxPhoneNumberResult, context);
904
904
  const response = {
905
905
  $metadata: deserializeMetadata(output),
906
906
  ...contents,
907
907
  };
908
908
  return Promise.resolve(response);
909
909
  };
910
- const deserializeAws_queryDeleteSMSSandboxPhoneNumberCommandError = async (output, context) => {
910
+ const de_DeleteSMSSandboxPhoneNumberCommandError = async (output, context) => {
911
911
  const parsedOutput = {
912
912
  ...output,
913
913
  body: await parseErrorBody(output.body, context),
@@ -916,22 +916,22 @@ const deserializeAws_queryDeleteSMSSandboxPhoneNumberCommandError = async (outpu
916
916
  switch (errorCode) {
917
917
  case "AuthorizationError":
918
918
  case "com.amazonaws.sns#AuthorizationErrorException":
919
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
919
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
920
920
  case "InternalError":
921
921
  case "com.amazonaws.sns#InternalErrorException":
922
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
922
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
923
923
  case "InvalidParameter":
924
924
  case "com.amazonaws.sns#InvalidParameterException":
925
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
925
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
926
926
  case "ResourceNotFound":
927
927
  case "com.amazonaws.sns#ResourceNotFoundException":
928
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
928
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
929
929
  case "Throttled":
930
930
  case "com.amazonaws.sns#ThrottledException":
931
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
931
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
932
932
  case "UserError":
933
933
  case "com.amazonaws.sns#UserErrorException":
934
- throw await deserializeAws_queryUserErrorExceptionResponse(parsedOutput, context);
934
+ throw await de_UserErrorExceptionRes(parsedOutput, context);
935
935
  default:
936
936
  const parsedBody = parsedOutput.body;
937
937
  throwDefaultError({
@@ -942,9 +942,9 @@ const deserializeAws_queryDeleteSMSSandboxPhoneNumberCommandError = async (outpu
942
942
  });
943
943
  }
944
944
  };
945
- export const deserializeAws_queryDeleteTopicCommand = async (output, context) => {
945
+ export const de_DeleteTopicCommand = async (output, context) => {
946
946
  if (output.statusCode >= 300) {
947
- return deserializeAws_queryDeleteTopicCommandError(output, context);
947
+ return de_DeleteTopicCommandError(output, context);
948
948
  }
949
949
  await collectBody(output.body, context);
950
950
  const response = {
@@ -952,7 +952,7 @@ export const deserializeAws_queryDeleteTopicCommand = async (output, context) =>
952
952
  };
953
953
  return Promise.resolve(response);
954
954
  };
955
- const deserializeAws_queryDeleteTopicCommandError = async (output, context) => {
955
+ const de_DeleteTopicCommandError = async (output, context) => {
956
956
  const parsedOutput = {
957
957
  ...output,
958
958
  body: await parseErrorBody(output.body, context),
@@ -961,25 +961,25 @@ const deserializeAws_queryDeleteTopicCommandError = async (output, context) => {
961
961
  switch (errorCode) {
962
962
  case "AuthorizationError":
963
963
  case "com.amazonaws.sns#AuthorizationErrorException":
964
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
964
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
965
965
  case "ConcurrentAccess":
966
966
  case "com.amazonaws.sns#ConcurrentAccessException":
967
- throw await deserializeAws_queryConcurrentAccessExceptionResponse(parsedOutput, context);
967
+ throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
968
968
  case "InternalError":
969
969
  case "com.amazonaws.sns#InternalErrorException":
970
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
970
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
971
971
  case "InvalidParameter":
972
972
  case "com.amazonaws.sns#InvalidParameterException":
973
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
973
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
974
974
  case "NotFound":
975
975
  case "com.amazonaws.sns#NotFoundException":
976
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
976
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
977
977
  case "StaleTag":
978
978
  case "com.amazonaws.sns#StaleTagException":
979
- throw await deserializeAws_queryStaleTagExceptionResponse(parsedOutput, context);
979
+ throw await de_StaleTagExceptionRes(parsedOutput, context);
980
980
  case "TagPolicy":
981
981
  case "com.amazonaws.sns#TagPolicyException":
982
- throw await deserializeAws_queryTagPolicyExceptionResponse(parsedOutput, context);
982
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
983
983
  default:
984
984
  const parsedBody = parsedOutput.body;
985
985
  throwDefaultError({
@@ -990,20 +990,20 @@ const deserializeAws_queryDeleteTopicCommandError = async (output, context) => {
990
990
  });
991
991
  }
992
992
  };
993
- export const deserializeAws_queryGetDataProtectionPolicyCommand = async (output, context) => {
993
+ export const de_GetDataProtectionPolicyCommand = async (output, context) => {
994
994
  if (output.statusCode >= 300) {
995
- return deserializeAws_queryGetDataProtectionPolicyCommandError(output, context);
995
+ return de_GetDataProtectionPolicyCommandError(output, context);
996
996
  }
997
997
  const data = await parseBody(output.body, context);
998
998
  let contents = {};
999
- contents = deserializeAws_queryGetDataProtectionPolicyResponse(data.GetDataProtectionPolicyResult, context);
999
+ contents = de_GetDataProtectionPolicyResponse(data.GetDataProtectionPolicyResult, context);
1000
1000
  const response = {
1001
1001
  $metadata: deserializeMetadata(output),
1002
1002
  ...contents,
1003
1003
  };
1004
1004
  return Promise.resolve(response);
1005
1005
  };
1006
- const deserializeAws_queryGetDataProtectionPolicyCommandError = async (output, context) => {
1006
+ const de_GetDataProtectionPolicyCommandError = async (output, context) => {
1007
1007
  const parsedOutput = {
1008
1008
  ...output,
1009
1009
  body: await parseErrorBody(output.body, context),
@@ -1012,19 +1012,19 @@ const deserializeAws_queryGetDataProtectionPolicyCommandError = async (output, c
1012
1012
  switch (errorCode) {
1013
1013
  case "AuthorizationError":
1014
1014
  case "com.amazonaws.sns#AuthorizationErrorException":
1015
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1015
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1016
1016
  case "InternalError":
1017
1017
  case "com.amazonaws.sns#InternalErrorException":
1018
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1018
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1019
1019
  case "InvalidParameter":
1020
1020
  case "com.amazonaws.sns#InvalidParameterException":
1021
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1021
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1022
1022
  case "InvalidSecurity":
1023
1023
  case "com.amazonaws.sns#InvalidSecurityException":
1024
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
1024
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
1025
1025
  case "NotFound":
1026
1026
  case "com.amazonaws.sns#NotFoundException":
1027
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1027
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1028
1028
  default:
1029
1029
  const parsedBody = parsedOutput.body;
1030
1030
  throwDefaultError({
@@ -1035,20 +1035,20 @@ const deserializeAws_queryGetDataProtectionPolicyCommandError = async (output, c
1035
1035
  });
1036
1036
  }
1037
1037
  };
1038
- export const deserializeAws_queryGetEndpointAttributesCommand = async (output, context) => {
1038
+ export const de_GetEndpointAttributesCommand = async (output, context) => {
1039
1039
  if (output.statusCode >= 300) {
1040
- return deserializeAws_queryGetEndpointAttributesCommandError(output, context);
1040
+ return de_GetEndpointAttributesCommandError(output, context);
1041
1041
  }
1042
1042
  const data = await parseBody(output.body, context);
1043
1043
  let contents = {};
1044
- contents = deserializeAws_queryGetEndpointAttributesResponse(data.GetEndpointAttributesResult, context);
1044
+ contents = de_GetEndpointAttributesResponse(data.GetEndpointAttributesResult, context);
1045
1045
  const response = {
1046
1046
  $metadata: deserializeMetadata(output),
1047
1047
  ...contents,
1048
1048
  };
1049
1049
  return Promise.resolve(response);
1050
1050
  };
1051
- const deserializeAws_queryGetEndpointAttributesCommandError = async (output, context) => {
1051
+ const de_GetEndpointAttributesCommandError = async (output, context) => {
1052
1052
  const parsedOutput = {
1053
1053
  ...output,
1054
1054
  body: await parseErrorBody(output.body, context),
@@ -1057,16 +1057,16 @@ const deserializeAws_queryGetEndpointAttributesCommandError = async (output, con
1057
1057
  switch (errorCode) {
1058
1058
  case "AuthorizationError":
1059
1059
  case "com.amazonaws.sns#AuthorizationErrorException":
1060
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1060
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1061
1061
  case "InternalError":
1062
1062
  case "com.amazonaws.sns#InternalErrorException":
1063
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1063
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1064
1064
  case "InvalidParameter":
1065
1065
  case "com.amazonaws.sns#InvalidParameterException":
1066
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1066
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1067
1067
  case "NotFound":
1068
1068
  case "com.amazonaws.sns#NotFoundException":
1069
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1069
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1070
1070
  default:
1071
1071
  const parsedBody = parsedOutput.body;
1072
1072
  throwDefaultError({
@@ -1077,20 +1077,20 @@ const deserializeAws_queryGetEndpointAttributesCommandError = async (output, con
1077
1077
  });
1078
1078
  }
1079
1079
  };
1080
- export const deserializeAws_queryGetPlatformApplicationAttributesCommand = async (output, context) => {
1080
+ export const de_GetPlatformApplicationAttributesCommand = async (output, context) => {
1081
1081
  if (output.statusCode >= 300) {
1082
- return deserializeAws_queryGetPlatformApplicationAttributesCommandError(output, context);
1082
+ return de_GetPlatformApplicationAttributesCommandError(output, context);
1083
1083
  }
1084
1084
  const data = await parseBody(output.body, context);
1085
1085
  let contents = {};
1086
- contents = deserializeAws_queryGetPlatformApplicationAttributesResponse(data.GetPlatformApplicationAttributesResult, context);
1086
+ contents = de_GetPlatformApplicationAttributesResponse(data.GetPlatformApplicationAttributesResult, context);
1087
1087
  const response = {
1088
1088
  $metadata: deserializeMetadata(output),
1089
1089
  ...contents,
1090
1090
  };
1091
1091
  return Promise.resolve(response);
1092
1092
  };
1093
- const deserializeAws_queryGetPlatformApplicationAttributesCommandError = async (output, context) => {
1093
+ const de_GetPlatformApplicationAttributesCommandError = async (output, context) => {
1094
1094
  const parsedOutput = {
1095
1095
  ...output,
1096
1096
  body: await parseErrorBody(output.body, context),
@@ -1099,16 +1099,16 @@ const deserializeAws_queryGetPlatformApplicationAttributesCommandError = async (
1099
1099
  switch (errorCode) {
1100
1100
  case "AuthorizationError":
1101
1101
  case "com.amazonaws.sns#AuthorizationErrorException":
1102
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1102
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1103
1103
  case "InternalError":
1104
1104
  case "com.amazonaws.sns#InternalErrorException":
1105
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1105
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1106
1106
  case "InvalidParameter":
1107
1107
  case "com.amazonaws.sns#InvalidParameterException":
1108
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1108
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1109
1109
  case "NotFound":
1110
1110
  case "com.amazonaws.sns#NotFoundException":
1111
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1111
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1112
1112
  default:
1113
1113
  const parsedBody = parsedOutput.body;
1114
1114
  throwDefaultError({
@@ -1119,20 +1119,20 @@ const deserializeAws_queryGetPlatformApplicationAttributesCommandError = async (
1119
1119
  });
1120
1120
  }
1121
1121
  };
1122
- export const deserializeAws_queryGetSMSAttributesCommand = async (output, context) => {
1122
+ export const de_GetSMSAttributesCommand = async (output, context) => {
1123
1123
  if (output.statusCode >= 300) {
1124
- return deserializeAws_queryGetSMSAttributesCommandError(output, context);
1124
+ return de_GetSMSAttributesCommandError(output, context);
1125
1125
  }
1126
1126
  const data = await parseBody(output.body, context);
1127
1127
  let contents = {};
1128
- contents = deserializeAws_queryGetSMSAttributesResponse(data.GetSMSAttributesResult, context);
1128
+ contents = de_GetSMSAttributesResponse(data.GetSMSAttributesResult, context);
1129
1129
  const response = {
1130
1130
  $metadata: deserializeMetadata(output),
1131
1131
  ...contents,
1132
1132
  };
1133
1133
  return Promise.resolve(response);
1134
1134
  };
1135
- const deserializeAws_queryGetSMSAttributesCommandError = async (output, context) => {
1135
+ const de_GetSMSAttributesCommandError = async (output, context) => {
1136
1136
  const parsedOutput = {
1137
1137
  ...output,
1138
1138
  body: await parseErrorBody(output.body, context),
@@ -1141,16 +1141,16 @@ const deserializeAws_queryGetSMSAttributesCommandError = async (output, context)
1141
1141
  switch (errorCode) {
1142
1142
  case "AuthorizationError":
1143
1143
  case "com.amazonaws.sns#AuthorizationErrorException":
1144
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1144
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1145
1145
  case "InternalError":
1146
1146
  case "com.amazonaws.sns#InternalErrorException":
1147
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1147
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1148
1148
  case "InvalidParameter":
1149
1149
  case "com.amazonaws.sns#InvalidParameterException":
1150
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1150
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1151
1151
  case "Throttled":
1152
1152
  case "com.amazonaws.sns#ThrottledException":
1153
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1153
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1154
1154
  default:
1155
1155
  const parsedBody = parsedOutput.body;
1156
1156
  throwDefaultError({
@@ -1161,20 +1161,20 @@ const deserializeAws_queryGetSMSAttributesCommandError = async (output, context)
1161
1161
  });
1162
1162
  }
1163
1163
  };
1164
- export const deserializeAws_queryGetSMSSandboxAccountStatusCommand = async (output, context) => {
1164
+ export const de_GetSMSSandboxAccountStatusCommand = async (output, context) => {
1165
1165
  if (output.statusCode >= 300) {
1166
- return deserializeAws_queryGetSMSSandboxAccountStatusCommandError(output, context);
1166
+ return de_GetSMSSandboxAccountStatusCommandError(output, context);
1167
1167
  }
1168
1168
  const data = await parseBody(output.body, context);
1169
1169
  let contents = {};
1170
- contents = deserializeAws_queryGetSMSSandboxAccountStatusResult(data.GetSMSSandboxAccountStatusResult, context);
1170
+ contents = de_GetSMSSandboxAccountStatusResult(data.GetSMSSandboxAccountStatusResult, context);
1171
1171
  const response = {
1172
1172
  $metadata: deserializeMetadata(output),
1173
1173
  ...contents,
1174
1174
  };
1175
1175
  return Promise.resolve(response);
1176
1176
  };
1177
- const deserializeAws_queryGetSMSSandboxAccountStatusCommandError = async (output, context) => {
1177
+ const de_GetSMSSandboxAccountStatusCommandError = async (output, context) => {
1178
1178
  const parsedOutput = {
1179
1179
  ...output,
1180
1180
  body: await parseErrorBody(output.body, context),
@@ -1183,13 +1183,13 @@ const deserializeAws_queryGetSMSSandboxAccountStatusCommandError = async (output
1183
1183
  switch (errorCode) {
1184
1184
  case "AuthorizationError":
1185
1185
  case "com.amazonaws.sns#AuthorizationErrorException":
1186
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1186
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1187
1187
  case "InternalError":
1188
1188
  case "com.amazonaws.sns#InternalErrorException":
1189
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1189
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1190
1190
  case "Throttled":
1191
1191
  case "com.amazonaws.sns#ThrottledException":
1192
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1192
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1193
1193
  default:
1194
1194
  const parsedBody = parsedOutput.body;
1195
1195
  throwDefaultError({
@@ -1200,20 +1200,20 @@ const deserializeAws_queryGetSMSSandboxAccountStatusCommandError = async (output
1200
1200
  });
1201
1201
  }
1202
1202
  };
1203
- export const deserializeAws_queryGetSubscriptionAttributesCommand = async (output, context) => {
1203
+ export const de_GetSubscriptionAttributesCommand = async (output, context) => {
1204
1204
  if (output.statusCode >= 300) {
1205
- return deserializeAws_queryGetSubscriptionAttributesCommandError(output, context);
1205
+ return de_GetSubscriptionAttributesCommandError(output, context);
1206
1206
  }
1207
1207
  const data = await parseBody(output.body, context);
1208
1208
  let contents = {};
1209
- contents = deserializeAws_queryGetSubscriptionAttributesResponse(data.GetSubscriptionAttributesResult, context);
1209
+ contents = de_GetSubscriptionAttributesResponse(data.GetSubscriptionAttributesResult, context);
1210
1210
  const response = {
1211
1211
  $metadata: deserializeMetadata(output),
1212
1212
  ...contents,
1213
1213
  };
1214
1214
  return Promise.resolve(response);
1215
1215
  };
1216
- const deserializeAws_queryGetSubscriptionAttributesCommandError = async (output, context) => {
1216
+ const de_GetSubscriptionAttributesCommandError = async (output, context) => {
1217
1217
  const parsedOutput = {
1218
1218
  ...output,
1219
1219
  body: await parseErrorBody(output.body, context),
@@ -1222,16 +1222,16 @@ const deserializeAws_queryGetSubscriptionAttributesCommandError = async (output,
1222
1222
  switch (errorCode) {
1223
1223
  case "AuthorizationError":
1224
1224
  case "com.amazonaws.sns#AuthorizationErrorException":
1225
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1225
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1226
1226
  case "InternalError":
1227
1227
  case "com.amazonaws.sns#InternalErrorException":
1228
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1228
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1229
1229
  case "InvalidParameter":
1230
1230
  case "com.amazonaws.sns#InvalidParameterException":
1231
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1231
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1232
1232
  case "NotFound":
1233
1233
  case "com.amazonaws.sns#NotFoundException":
1234
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1234
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1235
1235
  default:
1236
1236
  const parsedBody = parsedOutput.body;
1237
1237
  throwDefaultError({
@@ -1242,20 +1242,20 @@ const deserializeAws_queryGetSubscriptionAttributesCommandError = async (output,
1242
1242
  });
1243
1243
  }
1244
1244
  };
1245
- export const deserializeAws_queryGetTopicAttributesCommand = async (output, context) => {
1245
+ export const de_GetTopicAttributesCommand = async (output, context) => {
1246
1246
  if (output.statusCode >= 300) {
1247
- return deserializeAws_queryGetTopicAttributesCommandError(output, context);
1247
+ return de_GetTopicAttributesCommandError(output, context);
1248
1248
  }
1249
1249
  const data = await parseBody(output.body, context);
1250
1250
  let contents = {};
1251
- contents = deserializeAws_queryGetTopicAttributesResponse(data.GetTopicAttributesResult, context);
1251
+ contents = de_GetTopicAttributesResponse(data.GetTopicAttributesResult, context);
1252
1252
  const response = {
1253
1253
  $metadata: deserializeMetadata(output),
1254
1254
  ...contents,
1255
1255
  };
1256
1256
  return Promise.resolve(response);
1257
1257
  };
1258
- const deserializeAws_queryGetTopicAttributesCommandError = async (output, context) => {
1258
+ const de_GetTopicAttributesCommandError = async (output, context) => {
1259
1259
  const parsedOutput = {
1260
1260
  ...output,
1261
1261
  body: await parseErrorBody(output.body, context),
@@ -1264,19 +1264,19 @@ const deserializeAws_queryGetTopicAttributesCommandError = async (output, contex
1264
1264
  switch (errorCode) {
1265
1265
  case "AuthorizationError":
1266
1266
  case "com.amazonaws.sns#AuthorizationErrorException":
1267
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1267
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1268
1268
  case "InternalError":
1269
1269
  case "com.amazonaws.sns#InternalErrorException":
1270
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1270
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1271
1271
  case "InvalidParameter":
1272
1272
  case "com.amazonaws.sns#InvalidParameterException":
1273
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1273
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1274
1274
  case "InvalidSecurity":
1275
1275
  case "com.amazonaws.sns#InvalidSecurityException":
1276
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
1276
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
1277
1277
  case "NotFound":
1278
1278
  case "com.amazonaws.sns#NotFoundException":
1279
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1279
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1280
1280
  default:
1281
1281
  const parsedBody = parsedOutput.body;
1282
1282
  throwDefaultError({
@@ -1287,20 +1287,20 @@ const deserializeAws_queryGetTopicAttributesCommandError = async (output, contex
1287
1287
  });
1288
1288
  }
1289
1289
  };
1290
- export const deserializeAws_queryListEndpointsByPlatformApplicationCommand = async (output, context) => {
1290
+ export const de_ListEndpointsByPlatformApplicationCommand = async (output, context) => {
1291
1291
  if (output.statusCode >= 300) {
1292
- return deserializeAws_queryListEndpointsByPlatformApplicationCommandError(output, context);
1292
+ return de_ListEndpointsByPlatformApplicationCommandError(output, context);
1293
1293
  }
1294
1294
  const data = await parseBody(output.body, context);
1295
1295
  let contents = {};
1296
- contents = deserializeAws_queryListEndpointsByPlatformApplicationResponse(data.ListEndpointsByPlatformApplicationResult, context);
1296
+ contents = de_ListEndpointsByPlatformApplicationResponse(data.ListEndpointsByPlatformApplicationResult, context);
1297
1297
  const response = {
1298
1298
  $metadata: deserializeMetadata(output),
1299
1299
  ...contents,
1300
1300
  };
1301
1301
  return Promise.resolve(response);
1302
1302
  };
1303
- const deserializeAws_queryListEndpointsByPlatformApplicationCommandError = async (output, context) => {
1303
+ const de_ListEndpointsByPlatformApplicationCommandError = async (output, context) => {
1304
1304
  const parsedOutput = {
1305
1305
  ...output,
1306
1306
  body: await parseErrorBody(output.body, context),
@@ -1309,16 +1309,16 @@ const deserializeAws_queryListEndpointsByPlatformApplicationCommandError = async
1309
1309
  switch (errorCode) {
1310
1310
  case "AuthorizationError":
1311
1311
  case "com.amazonaws.sns#AuthorizationErrorException":
1312
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1312
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1313
1313
  case "InternalError":
1314
1314
  case "com.amazonaws.sns#InternalErrorException":
1315
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1315
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1316
1316
  case "InvalidParameter":
1317
1317
  case "com.amazonaws.sns#InvalidParameterException":
1318
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1318
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1319
1319
  case "NotFound":
1320
1320
  case "com.amazonaws.sns#NotFoundException":
1321
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1321
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1322
1322
  default:
1323
1323
  const parsedBody = parsedOutput.body;
1324
1324
  throwDefaultError({
@@ -1329,20 +1329,20 @@ const deserializeAws_queryListEndpointsByPlatformApplicationCommandError = async
1329
1329
  });
1330
1330
  }
1331
1331
  };
1332
- export const deserializeAws_queryListOriginationNumbersCommand = async (output, context) => {
1332
+ export const de_ListOriginationNumbersCommand = async (output, context) => {
1333
1333
  if (output.statusCode >= 300) {
1334
- return deserializeAws_queryListOriginationNumbersCommandError(output, context);
1334
+ return de_ListOriginationNumbersCommandError(output, context);
1335
1335
  }
1336
1336
  const data = await parseBody(output.body, context);
1337
1337
  let contents = {};
1338
- contents = deserializeAws_queryListOriginationNumbersResult(data.ListOriginationNumbersResult, context);
1338
+ contents = de_ListOriginationNumbersResult(data.ListOriginationNumbersResult, context);
1339
1339
  const response = {
1340
1340
  $metadata: deserializeMetadata(output),
1341
1341
  ...contents,
1342
1342
  };
1343
1343
  return Promise.resolve(response);
1344
1344
  };
1345
- const deserializeAws_queryListOriginationNumbersCommandError = async (output, context) => {
1345
+ const de_ListOriginationNumbersCommandError = async (output, context) => {
1346
1346
  const parsedOutput = {
1347
1347
  ...output,
1348
1348
  body: await parseErrorBody(output.body, context),
@@ -1351,19 +1351,19 @@ const deserializeAws_queryListOriginationNumbersCommandError = async (output, co
1351
1351
  switch (errorCode) {
1352
1352
  case "AuthorizationError":
1353
1353
  case "com.amazonaws.sns#AuthorizationErrorException":
1354
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1354
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1355
1355
  case "InternalError":
1356
1356
  case "com.amazonaws.sns#InternalErrorException":
1357
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1357
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1358
1358
  case "InvalidParameter":
1359
1359
  case "com.amazonaws.sns#InvalidParameterException":
1360
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1360
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1361
1361
  case "Throttled":
1362
1362
  case "com.amazonaws.sns#ThrottledException":
1363
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1363
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1364
1364
  case "ValidationException":
1365
1365
  case "com.amazonaws.sns#ValidationException":
1366
- throw await deserializeAws_queryValidationExceptionResponse(parsedOutput, context);
1366
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1367
1367
  default:
1368
1368
  const parsedBody = parsedOutput.body;
1369
1369
  throwDefaultError({
@@ -1374,20 +1374,20 @@ const deserializeAws_queryListOriginationNumbersCommandError = async (output, co
1374
1374
  });
1375
1375
  }
1376
1376
  };
1377
- export const deserializeAws_queryListPhoneNumbersOptedOutCommand = async (output, context) => {
1377
+ export const de_ListPhoneNumbersOptedOutCommand = async (output, context) => {
1378
1378
  if (output.statusCode >= 300) {
1379
- return deserializeAws_queryListPhoneNumbersOptedOutCommandError(output, context);
1379
+ return de_ListPhoneNumbersOptedOutCommandError(output, context);
1380
1380
  }
1381
1381
  const data = await parseBody(output.body, context);
1382
1382
  let contents = {};
1383
- contents = deserializeAws_queryListPhoneNumbersOptedOutResponse(data.ListPhoneNumbersOptedOutResult, context);
1383
+ contents = de_ListPhoneNumbersOptedOutResponse(data.ListPhoneNumbersOptedOutResult, context);
1384
1384
  const response = {
1385
1385
  $metadata: deserializeMetadata(output),
1386
1386
  ...contents,
1387
1387
  };
1388
1388
  return Promise.resolve(response);
1389
1389
  };
1390
- const deserializeAws_queryListPhoneNumbersOptedOutCommandError = async (output, context) => {
1390
+ const de_ListPhoneNumbersOptedOutCommandError = async (output, context) => {
1391
1391
  const parsedOutput = {
1392
1392
  ...output,
1393
1393
  body: await parseErrorBody(output.body, context),
@@ -1396,16 +1396,16 @@ const deserializeAws_queryListPhoneNumbersOptedOutCommandError = async (output,
1396
1396
  switch (errorCode) {
1397
1397
  case "AuthorizationError":
1398
1398
  case "com.amazonaws.sns#AuthorizationErrorException":
1399
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1399
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1400
1400
  case "InternalError":
1401
1401
  case "com.amazonaws.sns#InternalErrorException":
1402
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1402
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1403
1403
  case "InvalidParameter":
1404
1404
  case "com.amazonaws.sns#InvalidParameterException":
1405
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1405
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1406
1406
  case "Throttled":
1407
1407
  case "com.amazonaws.sns#ThrottledException":
1408
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1408
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1409
1409
  default:
1410
1410
  const parsedBody = parsedOutput.body;
1411
1411
  throwDefaultError({
@@ -1416,20 +1416,20 @@ const deserializeAws_queryListPhoneNumbersOptedOutCommandError = async (output,
1416
1416
  });
1417
1417
  }
1418
1418
  };
1419
- export const deserializeAws_queryListPlatformApplicationsCommand = async (output, context) => {
1419
+ export const de_ListPlatformApplicationsCommand = async (output, context) => {
1420
1420
  if (output.statusCode >= 300) {
1421
- return deserializeAws_queryListPlatformApplicationsCommandError(output, context);
1421
+ return de_ListPlatformApplicationsCommandError(output, context);
1422
1422
  }
1423
1423
  const data = await parseBody(output.body, context);
1424
1424
  let contents = {};
1425
- contents = deserializeAws_queryListPlatformApplicationsResponse(data.ListPlatformApplicationsResult, context);
1425
+ contents = de_ListPlatformApplicationsResponse(data.ListPlatformApplicationsResult, context);
1426
1426
  const response = {
1427
1427
  $metadata: deserializeMetadata(output),
1428
1428
  ...contents,
1429
1429
  };
1430
1430
  return Promise.resolve(response);
1431
1431
  };
1432
- const deserializeAws_queryListPlatformApplicationsCommandError = async (output, context) => {
1432
+ const de_ListPlatformApplicationsCommandError = async (output, context) => {
1433
1433
  const parsedOutput = {
1434
1434
  ...output,
1435
1435
  body: await parseErrorBody(output.body, context),
@@ -1438,13 +1438,13 @@ const deserializeAws_queryListPlatformApplicationsCommandError = async (output,
1438
1438
  switch (errorCode) {
1439
1439
  case "AuthorizationError":
1440
1440
  case "com.amazonaws.sns#AuthorizationErrorException":
1441
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1441
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1442
1442
  case "InternalError":
1443
1443
  case "com.amazonaws.sns#InternalErrorException":
1444
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1444
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1445
1445
  case "InvalidParameter":
1446
1446
  case "com.amazonaws.sns#InvalidParameterException":
1447
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1447
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1448
1448
  default:
1449
1449
  const parsedBody = parsedOutput.body;
1450
1450
  throwDefaultError({
@@ -1455,20 +1455,20 @@ const deserializeAws_queryListPlatformApplicationsCommandError = async (output,
1455
1455
  });
1456
1456
  }
1457
1457
  };
1458
- export const deserializeAws_queryListSMSSandboxPhoneNumbersCommand = async (output, context) => {
1458
+ export const de_ListSMSSandboxPhoneNumbersCommand = async (output, context) => {
1459
1459
  if (output.statusCode >= 300) {
1460
- return deserializeAws_queryListSMSSandboxPhoneNumbersCommandError(output, context);
1460
+ return de_ListSMSSandboxPhoneNumbersCommandError(output, context);
1461
1461
  }
1462
1462
  const data = await parseBody(output.body, context);
1463
1463
  let contents = {};
1464
- contents = deserializeAws_queryListSMSSandboxPhoneNumbersResult(data.ListSMSSandboxPhoneNumbersResult, context);
1464
+ contents = de_ListSMSSandboxPhoneNumbersResult(data.ListSMSSandboxPhoneNumbersResult, context);
1465
1465
  const response = {
1466
1466
  $metadata: deserializeMetadata(output),
1467
1467
  ...contents,
1468
1468
  };
1469
1469
  return Promise.resolve(response);
1470
1470
  };
1471
- const deserializeAws_queryListSMSSandboxPhoneNumbersCommandError = async (output, context) => {
1471
+ const de_ListSMSSandboxPhoneNumbersCommandError = async (output, context) => {
1472
1472
  const parsedOutput = {
1473
1473
  ...output,
1474
1474
  body: await parseErrorBody(output.body, context),
@@ -1477,19 +1477,19 @@ const deserializeAws_queryListSMSSandboxPhoneNumbersCommandError = async (output
1477
1477
  switch (errorCode) {
1478
1478
  case "AuthorizationError":
1479
1479
  case "com.amazonaws.sns#AuthorizationErrorException":
1480
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1480
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1481
1481
  case "InternalError":
1482
1482
  case "com.amazonaws.sns#InternalErrorException":
1483
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1483
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1484
1484
  case "InvalidParameter":
1485
1485
  case "com.amazonaws.sns#InvalidParameterException":
1486
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1486
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1487
1487
  case "ResourceNotFound":
1488
1488
  case "com.amazonaws.sns#ResourceNotFoundException":
1489
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
1489
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1490
1490
  case "Throttled":
1491
1491
  case "com.amazonaws.sns#ThrottledException":
1492
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1492
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1493
1493
  default:
1494
1494
  const parsedBody = parsedOutput.body;
1495
1495
  throwDefaultError({
@@ -1500,20 +1500,20 @@ const deserializeAws_queryListSMSSandboxPhoneNumbersCommandError = async (output
1500
1500
  });
1501
1501
  }
1502
1502
  };
1503
- export const deserializeAws_queryListSubscriptionsCommand = async (output, context) => {
1503
+ export const de_ListSubscriptionsCommand = async (output, context) => {
1504
1504
  if (output.statusCode >= 300) {
1505
- return deserializeAws_queryListSubscriptionsCommandError(output, context);
1505
+ return de_ListSubscriptionsCommandError(output, context);
1506
1506
  }
1507
1507
  const data = await parseBody(output.body, context);
1508
1508
  let contents = {};
1509
- contents = deserializeAws_queryListSubscriptionsResponse(data.ListSubscriptionsResult, context);
1509
+ contents = de_ListSubscriptionsResponse(data.ListSubscriptionsResult, context);
1510
1510
  const response = {
1511
1511
  $metadata: deserializeMetadata(output),
1512
1512
  ...contents,
1513
1513
  };
1514
1514
  return Promise.resolve(response);
1515
1515
  };
1516
- const deserializeAws_queryListSubscriptionsCommandError = async (output, context) => {
1516
+ const de_ListSubscriptionsCommandError = async (output, context) => {
1517
1517
  const parsedOutput = {
1518
1518
  ...output,
1519
1519
  body: await parseErrorBody(output.body, context),
@@ -1522,13 +1522,13 @@ const deserializeAws_queryListSubscriptionsCommandError = async (output, context
1522
1522
  switch (errorCode) {
1523
1523
  case "AuthorizationError":
1524
1524
  case "com.amazonaws.sns#AuthorizationErrorException":
1525
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1525
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1526
1526
  case "InternalError":
1527
1527
  case "com.amazonaws.sns#InternalErrorException":
1528
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1528
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1529
1529
  case "InvalidParameter":
1530
1530
  case "com.amazonaws.sns#InvalidParameterException":
1531
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1531
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1532
1532
  default:
1533
1533
  const parsedBody = parsedOutput.body;
1534
1534
  throwDefaultError({
@@ -1539,20 +1539,20 @@ const deserializeAws_queryListSubscriptionsCommandError = async (output, context
1539
1539
  });
1540
1540
  }
1541
1541
  };
1542
- export const deserializeAws_queryListSubscriptionsByTopicCommand = async (output, context) => {
1542
+ export const de_ListSubscriptionsByTopicCommand = async (output, context) => {
1543
1543
  if (output.statusCode >= 300) {
1544
- return deserializeAws_queryListSubscriptionsByTopicCommandError(output, context);
1544
+ return de_ListSubscriptionsByTopicCommandError(output, context);
1545
1545
  }
1546
1546
  const data = await parseBody(output.body, context);
1547
1547
  let contents = {};
1548
- contents = deserializeAws_queryListSubscriptionsByTopicResponse(data.ListSubscriptionsByTopicResult, context);
1548
+ contents = de_ListSubscriptionsByTopicResponse(data.ListSubscriptionsByTopicResult, context);
1549
1549
  const response = {
1550
1550
  $metadata: deserializeMetadata(output),
1551
1551
  ...contents,
1552
1552
  };
1553
1553
  return Promise.resolve(response);
1554
1554
  };
1555
- const deserializeAws_queryListSubscriptionsByTopicCommandError = async (output, context) => {
1555
+ const de_ListSubscriptionsByTopicCommandError = async (output, context) => {
1556
1556
  const parsedOutput = {
1557
1557
  ...output,
1558
1558
  body: await parseErrorBody(output.body, context),
@@ -1561,16 +1561,16 @@ const deserializeAws_queryListSubscriptionsByTopicCommandError = async (output,
1561
1561
  switch (errorCode) {
1562
1562
  case "AuthorizationError":
1563
1563
  case "com.amazonaws.sns#AuthorizationErrorException":
1564
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1564
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1565
1565
  case "InternalError":
1566
1566
  case "com.amazonaws.sns#InternalErrorException":
1567
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1567
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1568
1568
  case "InvalidParameter":
1569
1569
  case "com.amazonaws.sns#InvalidParameterException":
1570
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1570
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1571
1571
  case "NotFound":
1572
1572
  case "com.amazonaws.sns#NotFoundException":
1573
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1573
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1574
1574
  default:
1575
1575
  const parsedBody = parsedOutput.body;
1576
1576
  throwDefaultError({
@@ -1581,20 +1581,20 @@ const deserializeAws_queryListSubscriptionsByTopicCommandError = async (output,
1581
1581
  });
1582
1582
  }
1583
1583
  };
1584
- export const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
1584
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1585
1585
  if (output.statusCode >= 300) {
1586
- return deserializeAws_queryListTagsForResourceCommandError(output, context);
1586
+ return de_ListTagsForResourceCommandError(output, context);
1587
1587
  }
1588
1588
  const data = await parseBody(output.body, context);
1589
1589
  let contents = {};
1590
- contents = deserializeAws_queryListTagsForResourceResponse(data.ListTagsForResourceResult, context);
1590
+ contents = de_ListTagsForResourceResponse(data.ListTagsForResourceResult, context);
1591
1591
  const response = {
1592
1592
  $metadata: deserializeMetadata(output),
1593
1593
  ...contents,
1594
1594
  };
1595
1595
  return Promise.resolve(response);
1596
1596
  };
1597
- const deserializeAws_queryListTagsForResourceCommandError = async (output, context) => {
1597
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1598
1598
  const parsedOutput = {
1599
1599
  ...output,
1600
1600
  body: await parseErrorBody(output.body, context),
@@ -1603,19 +1603,19 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
1603
1603
  switch (errorCode) {
1604
1604
  case "AuthorizationError":
1605
1605
  case "com.amazonaws.sns#AuthorizationErrorException":
1606
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1606
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1607
1607
  case "ConcurrentAccess":
1608
1608
  case "com.amazonaws.sns#ConcurrentAccessException":
1609
- throw await deserializeAws_queryConcurrentAccessExceptionResponse(parsedOutput, context);
1609
+ throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
1610
1610
  case "InvalidParameter":
1611
1611
  case "com.amazonaws.sns#InvalidParameterException":
1612
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1612
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1613
1613
  case "ResourceNotFound":
1614
1614
  case "com.amazonaws.sns#ResourceNotFoundException":
1615
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
1615
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1616
1616
  case "TagPolicy":
1617
1617
  case "com.amazonaws.sns#TagPolicyException":
1618
- throw await deserializeAws_queryTagPolicyExceptionResponse(parsedOutput, context);
1618
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
1619
1619
  default:
1620
1620
  const parsedBody = parsedOutput.body;
1621
1621
  throwDefaultError({
@@ -1626,20 +1626,20 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
1626
1626
  });
1627
1627
  }
1628
1628
  };
1629
- export const deserializeAws_queryListTopicsCommand = async (output, context) => {
1629
+ export const de_ListTopicsCommand = async (output, context) => {
1630
1630
  if (output.statusCode >= 300) {
1631
- return deserializeAws_queryListTopicsCommandError(output, context);
1631
+ return de_ListTopicsCommandError(output, context);
1632
1632
  }
1633
1633
  const data = await parseBody(output.body, context);
1634
1634
  let contents = {};
1635
- contents = deserializeAws_queryListTopicsResponse(data.ListTopicsResult, context);
1635
+ contents = de_ListTopicsResponse(data.ListTopicsResult, context);
1636
1636
  const response = {
1637
1637
  $metadata: deserializeMetadata(output),
1638
1638
  ...contents,
1639
1639
  };
1640
1640
  return Promise.resolve(response);
1641
1641
  };
1642
- const deserializeAws_queryListTopicsCommandError = async (output, context) => {
1642
+ const de_ListTopicsCommandError = async (output, context) => {
1643
1643
  const parsedOutput = {
1644
1644
  ...output,
1645
1645
  body: await parseErrorBody(output.body, context),
@@ -1648,13 +1648,13 @@ const deserializeAws_queryListTopicsCommandError = async (output, context) => {
1648
1648
  switch (errorCode) {
1649
1649
  case "AuthorizationError":
1650
1650
  case "com.amazonaws.sns#AuthorizationErrorException":
1651
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1651
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1652
1652
  case "InternalError":
1653
1653
  case "com.amazonaws.sns#InternalErrorException":
1654
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1654
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1655
1655
  case "InvalidParameter":
1656
1656
  case "com.amazonaws.sns#InvalidParameterException":
1657
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1657
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1658
1658
  default:
1659
1659
  const parsedBody = parsedOutput.body;
1660
1660
  throwDefaultError({
@@ -1665,20 +1665,20 @@ const deserializeAws_queryListTopicsCommandError = async (output, context) => {
1665
1665
  });
1666
1666
  }
1667
1667
  };
1668
- export const deserializeAws_queryOptInPhoneNumberCommand = async (output, context) => {
1668
+ export const de_OptInPhoneNumberCommand = async (output, context) => {
1669
1669
  if (output.statusCode >= 300) {
1670
- return deserializeAws_queryOptInPhoneNumberCommandError(output, context);
1670
+ return de_OptInPhoneNumberCommandError(output, context);
1671
1671
  }
1672
1672
  const data = await parseBody(output.body, context);
1673
1673
  let contents = {};
1674
- contents = deserializeAws_queryOptInPhoneNumberResponse(data.OptInPhoneNumberResult, context);
1674
+ contents = de_OptInPhoneNumberResponse(data.OptInPhoneNumberResult, context);
1675
1675
  const response = {
1676
1676
  $metadata: deserializeMetadata(output),
1677
1677
  ...contents,
1678
1678
  };
1679
1679
  return Promise.resolve(response);
1680
1680
  };
1681
- const deserializeAws_queryOptInPhoneNumberCommandError = async (output, context) => {
1681
+ const de_OptInPhoneNumberCommandError = async (output, context) => {
1682
1682
  const parsedOutput = {
1683
1683
  ...output,
1684
1684
  body: await parseErrorBody(output.body, context),
@@ -1687,16 +1687,16 @@ const deserializeAws_queryOptInPhoneNumberCommandError = async (output, context)
1687
1687
  switch (errorCode) {
1688
1688
  case "AuthorizationError":
1689
1689
  case "com.amazonaws.sns#AuthorizationErrorException":
1690
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1690
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1691
1691
  case "InternalError":
1692
1692
  case "com.amazonaws.sns#InternalErrorException":
1693
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1693
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1694
1694
  case "InvalidParameter":
1695
1695
  case "com.amazonaws.sns#InvalidParameterException":
1696
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1696
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1697
1697
  case "Throttled":
1698
1698
  case "com.amazonaws.sns#ThrottledException":
1699
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
1699
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
1700
1700
  default:
1701
1701
  const parsedBody = parsedOutput.body;
1702
1702
  throwDefaultError({
@@ -1707,20 +1707,20 @@ const deserializeAws_queryOptInPhoneNumberCommandError = async (output, context)
1707
1707
  });
1708
1708
  }
1709
1709
  };
1710
- export const deserializeAws_queryPublishCommand = async (output, context) => {
1710
+ export const de_PublishCommand = async (output, context) => {
1711
1711
  if (output.statusCode >= 300) {
1712
- return deserializeAws_queryPublishCommandError(output, context);
1712
+ return de_PublishCommandError(output, context);
1713
1713
  }
1714
1714
  const data = await parseBody(output.body, context);
1715
1715
  let contents = {};
1716
- contents = deserializeAws_queryPublishResponse(data.PublishResult, context);
1716
+ contents = de_PublishResponse(data.PublishResult, context);
1717
1717
  const response = {
1718
1718
  $metadata: deserializeMetadata(output),
1719
1719
  ...contents,
1720
1720
  };
1721
1721
  return Promise.resolve(response);
1722
1722
  };
1723
- const deserializeAws_queryPublishCommandError = async (output, context) => {
1723
+ const de_PublishCommandError = async (output, context) => {
1724
1724
  const parsedOutput = {
1725
1725
  ...output,
1726
1726
  body: await parseErrorBody(output.body, context),
@@ -1729,49 +1729,49 @@ const deserializeAws_queryPublishCommandError = async (output, context) => {
1729
1729
  switch (errorCode) {
1730
1730
  case "AuthorizationError":
1731
1731
  case "com.amazonaws.sns#AuthorizationErrorException":
1732
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1732
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1733
1733
  case "EndpointDisabled":
1734
1734
  case "com.amazonaws.sns#EndpointDisabledException":
1735
- throw await deserializeAws_queryEndpointDisabledExceptionResponse(parsedOutput, context);
1735
+ throw await de_EndpointDisabledExceptionRes(parsedOutput, context);
1736
1736
  case "InternalError":
1737
1737
  case "com.amazonaws.sns#InternalErrorException":
1738
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1738
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1739
1739
  case "InvalidParameter":
1740
1740
  case "com.amazonaws.sns#InvalidParameterException":
1741
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1741
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1742
1742
  case "InvalidSecurity":
1743
1743
  case "com.amazonaws.sns#InvalidSecurityException":
1744
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
1744
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
1745
1745
  case "KMSAccessDenied":
1746
1746
  case "com.amazonaws.sns#KMSAccessDeniedException":
1747
- throw await deserializeAws_queryKMSAccessDeniedExceptionResponse(parsedOutput, context);
1747
+ throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context);
1748
1748
  case "KMSDisabled":
1749
1749
  case "com.amazonaws.sns#KMSDisabledException":
1750
- throw await deserializeAws_queryKMSDisabledExceptionResponse(parsedOutput, context);
1750
+ throw await de_KMSDisabledExceptionRes(parsedOutput, context);
1751
1751
  case "KMSInvalidState":
1752
1752
  case "com.amazonaws.sns#KMSInvalidStateException":
1753
- throw await deserializeAws_queryKMSInvalidStateExceptionResponse(parsedOutput, context);
1753
+ throw await de_KMSInvalidStateExceptionRes(parsedOutput, context);
1754
1754
  case "KMSNotFound":
1755
1755
  case "com.amazonaws.sns#KMSNotFoundException":
1756
- throw await deserializeAws_queryKMSNotFoundExceptionResponse(parsedOutput, context);
1756
+ throw await de_KMSNotFoundExceptionRes(parsedOutput, context);
1757
1757
  case "KMSOptInRequired":
1758
1758
  case "com.amazonaws.sns#KMSOptInRequired":
1759
- throw await deserializeAws_queryKMSOptInRequiredResponse(parsedOutput, context);
1759
+ throw await de_KMSOptInRequiredRes(parsedOutput, context);
1760
1760
  case "KMSThrottling":
1761
1761
  case "com.amazonaws.sns#KMSThrottlingException":
1762
- throw await deserializeAws_queryKMSThrottlingExceptionResponse(parsedOutput, context);
1762
+ throw await de_KMSThrottlingExceptionRes(parsedOutput, context);
1763
1763
  case "NotFound":
1764
1764
  case "com.amazonaws.sns#NotFoundException":
1765
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1765
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1766
1766
  case "ParameterValueInvalid":
1767
1767
  case "com.amazonaws.sns#InvalidParameterValueException":
1768
- throw await deserializeAws_queryInvalidParameterValueExceptionResponse(parsedOutput, context);
1768
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1769
1769
  case "PlatformApplicationDisabled":
1770
1770
  case "com.amazonaws.sns#PlatformApplicationDisabledException":
1771
- throw await deserializeAws_queryPlatformApplicationDisabledExceptionResponse(parsedOutput, context);
1771
+ throw await de_PlatformApplicationDisabledExceptionRes(parsedOutput, context);
1772
1772
  case "ValidationException":
1773
1773
  case "com.amazonaws.sns#ValidationException":
1774
- throw await deserializeAws_queryValidationExceptionResponse(parsedOutput, context);
1774
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1775
1775
  default:
1776
1776
  const parsedBody = parsedOutput.body;
1777
1777
  throwDefaultError({
@@ -1782,20 +1782,20 @@ const deserializeAws_queryPublishCommandError = async (output, context) => {
1782
1782
  });
1783
1783
  }
1784
1784
  };
1785
- export const deserializeAws_queryPublishBatchCommand = async (output, context) => {
1785
+ export const de_PublishBatchCommand = async (output, context) => {
1786
1786
  if (output.statusCode >= 300) {
1787
- return deserializeAws_queryPublishBatchCommandError(output, context);
1787
+ return de_PublishBatchCommandError(output, context);
1788
1788
  }
1789
1789
  const data = await parseBody(output.body, context);
1790
1790
  let contents = {};
1791
- contents = deserializeAws_queryPublishBatchResponse(data.PublishBatchResult, context);
1791
+ contents = de_PublishBatchResponse(data.PublishBatchResult, context);
1792
1792
  const response = {
1793
1793
  $metadata: deserializeMetadata(output),
1794
1794
  ...contents,
1795
1795
  };
1796
1796
  return Promise.resolve(response);
1797
1797
  };
1798
- const deserializeAws_queryPublishBatchCommandError = async (output, context) => {
1798
+ const de_PublishBatchCommandError = async (output, context) => {
1799
1799
  const parsedOutput = {
1800
1800
  ...output,
1801
1801
  body: await parseErrorBody(output.body, context),
@@ -1804,64 +1804,64 @@ const deserializeAws_queryPublishBatchCommandError = async (output, context) =>
1804
1804
  switch (errorCode) {
1805
1805
  case "AuthorizationError":
1806
1806
  case "com.amazonaws.sns#AuthorizationErrorException":
1807
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1807
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1808
1808
  case "BatchEntryIdsNotDistinct":
1809
1809
  case "com.amazonaws.sns#BatchEntryIdsNotDistinctException":
1810
- throw await deserializeAws_queryBatchEntryIdsNotDistinctExceptionResponse(parsedOutput, context);
1810
+ throw await de_BatchEntryIdsNotDistinctExceptionRes(parsedOutput, context);
1811
1811
  case "BatchRequestTooLong":
1812
1812
  case "com.amazonaws.sns#BatchRequestTooLongException":
1813
- throw await deserializeAws_queryBatchRequestTooLongExceptionResponse(parsedOutput, context);
1813
+ throw await de_BatchRequestTooLongExceptionRes(parsedOutput, context);
1814
1814
  case "EmptyBatchRequest":
1815
1815
  case "com.amazonaws.sns#EmptyBatchRequestException":
1816
- throw await deserializeAws_queryEmptyBatchRequestExceptionResponse(parsedOutput, context);
1816
+ throw await de_EmptyBatchRequestExceptionRes(parsedOutput, context);
1817
1817
  case "EndpointDisabled":
1818
1818
  case "com.amazonaws.sns#EndpointDisabledException":
1819
- throw await deserializeAws_queryEndpointDisabledExceptionResponse(parsedOutput, context);
1819
+ throw await de_EndpointDisabledExceptionRes(parsedOutput, context);
1820
1820
  case "InternalError":
1821
1821
  case "com.amazonaws.sns#InternalErrorException":
1822
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1822
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1823
1823
  case "InvalidBatchEntryId":
1824
1824
  case "com.amazonaws.sns#InvalidBatchEntryIdException":
1825
- throw await deserializeAws_queryInvalidBatchEntryIdExceptionResponse(parsedOutput, context);
1825
+ throw await de_InvalidBatchEntryIdExceptionRes(parsedOutput, context);
1826
1826
  case "InvalidParameter":
1827
1827
  case "com.amazonaws.sns#InvalidParameterException":
1828
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1828
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1829
1829
  case "InvalidSecurity":
1830
1830
  case "com.amazonaws.sns#InvalidSecurityException":
1831
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
1831
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
1832
1832
  case "KMSAccessDenied":
1833
1833
  case "com.amazonaws.sns#KMSAccessDeniedException":
1834
- throw await deserializeAws_queryKMSAccessDeniedExceptionResponse(parsedOutput, context);
1834
+ throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context);
1835
1835
  case "KMSDisabled":
1836
1836
  case "com.amazonaws.sns#KMSDisabledException":
1837
- throw await deserializeAws_queryKMSDisabledExceptionResponse(parsedOutput, context);
1837
+ throw await de_KMSDisabledExceptionRes(parsedOutput, context);
1838
1838
  case "KMSInvalidState":
1839
1839
  case "com.amazonaws.sns#KMSInvalidStateException":
1840
- throw await deserializeAws_queryKMSInvalidStateExceptionResponse(parsedOutput, context);
1840
+ throw await de_KMSInvalidStateExceptionRes(parsedOutput, context);
1841
1841
  case "KMSNotFound":
1842
1842
  case "com.amazonaws.sns#KMSNotFoundException":
1843
- throw await deserializeAws_queryKMSNotFoundExceptionResponse(parsedOutput, context);
1843
+ throw await de_KMSNotFoundExceptionRes(parsedOutput, context);
1844
1844
  case "KMSOptInRequired":
1845
1845
  case "com.amazonaws.sns#KMSOptInRequired":
1846
- throw await deserializeAws_queryKMSOptInRequiredResponse(parsedOutput, context);
1846
+ throw await de_KMSOptInRequiredRes(parsedOutput, context);
1847
1847
  case "KMSThrottling":
1848
1848
  case "com.amazonaws.sns#KMSThrottlingException":
1849
- throw await deserializeAws_queryKMSThrottlingExceptionResponse(parsedOutput, context);
1849
+ throw await de_KMSThrottlingExceptionRes(parsedOutput, context);
1850
1850
  case "NotFound":
1851
1851
  case "com.amazonaws.sns#NotFoundException":
1852
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1852
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1853
1853
  case "ParameterValueInvalid":
1854
1854
  case "com.amazonaws.sns#InvalidParameterValueException":
1855
- throw await deserializeAws_queryInvalidParameterValueExceptionResponse(parsedOutput, context);
1855
+ throw await de_InvalidParameterValueExceptionRes(parsedOutput, context);
1856
1856
  case "PlatformApplicationDisabled":
1857
1857
  case "com.amazonaws.sns#PlatformApplicationDisabledException":
1858
- throw await deserializeAws_queryPlatformApplicationDisabledExceptionResponse(parsedOutput, context);
1858
+ throw await de_PlatformApplicationDisabledExceptionRes(parsedOutput, context);
1859
1859
  case "TooManyEntriesInBatchRequest":
1860
1860
  case "com.amazonaws.sns#TooManyEntriesInBatchRequestException":
1861
- throw await deserializeAws_queryTooManyEntriesInBatchRequestExceptionResponse(parsedOutput, context);
1861
+ throw await de_TooManyEntriesInBatchRequestExceptionRes(parsedOutput, context);
1862
1862
  case "ValidationException":
1863
1863
  case "com.amazonaws.sns#ValidationException":
1864
- throw await deserializeAws_queryValidationExceptionResponse(parsedOutput, context);
1864
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1865
1865
  default:
1866
1866
  const parsedBody = parsedOutput.body;
1867
1867
  throwDefaultError({
@@ -1872,9 +1872,9 @@ const deserializeAws_queryPublishBatchCommandError = async (output, context) =>
1872
1872
  });
1873
1873
  }
1874
1874
  };
1875
- export const deserializeAws_queryPutDataProtectionPolicyCommand = async (output, context) => {
1875
+ export const de_PutDataProtectionPolicyCommand = async (output, context) => {
1876
1876
  if (output.statusCode >= 300) {
1877
- return deserializeAws_queryPutDataProtectionPolicyCommandError(output, context);
1877
+ return de_PutDataProtectionPolicyCommandError(output, context);
1878
1878
  }
1879
1879
  await collectBody(output.body, context);
1880
1880
  const response = {
@@ -1882,7 +1882,7 @@ export const deserializeAws_queryPutDataProtectionPolicyCommand = async (output,
1882
1882
  };
1883
1883
  return Promise.resolve(response);
1884
1884
  };
1885
- const deserializeAws_queryPutDataProtectionPolicyCommandError = async (output, context) => {
1885
+ const de_PutDataProtectionPolicyCommandError = async (output, context) => {
1886
1886
  const parsedOutput = {
1887
1887
  ...output,
1888
1888
  body: await parseErrorBody(output.body, context),
@@ -1891,19 +1891,19 @@ const deserializeAws_queryPutDataProtectionPolicyCommandError = async (output, c
1891
1891
  switch (errorCode) {
1892
1892
  case "AuthorizationError":
1893
1893
  case "com.amazonaws.sns#AuthorizationErrorException":
1894
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1894
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1895
1895
  case "InternalError":
1896
1896
  case "com.amazonaws.sns#InternalErrorException":
1897
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1897
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1898
1898
  case "InvalidParameter":
1899
1899
  case "com.amazonaws.sns#InvalidParameterException":
1900
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1900
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1901
1901
  case "InvalidSecurity":
1902
1902
  case "com.amazonaws.sns#InvalidSecurityException":
1903
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
1903
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
1904
1904
  case "NotFound":
1905
1905
  case "com.amazonaws.sns#NotFoundException":
1906
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1906
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1907
1907
  default:
1908
1908
  const parsedBody = parsedOutput.body;
1909
1909
  throwDefaultError({
@@ -1914,9 +1914,9 @@ const deserializeAws_queryPutDataProtectionPolicyCommandError = async (output, c
1914
1914
  });
1915
1915
  }
1916
1916
  };
1917
- export const deserializeAws_queryRemovePermissionCommand = async (output, context) => {
1917
+ export const de_RemovePermissionCommand = async (output, context) => {
1918
1918
  if (output.statusCode >= 300) {
1919
- return deserializeAws_queryRemovePermissionCommandError(output, context);
1919
+ return de_RemovePermissionCommandError(output, context);
1920
1920
  }
1921
1921
  await collectBody(output.body, context);
1922
1922
  const response = {
@@ -1924,7 +1924,7 @@ export const deserializeAws_queryRemovePermissionCommand = async (output, contex
1924
1924
  };
1925
1925
  return Promise.resolve(response);
1926
1926
  };
1927
- const deserializeAws_queryRemovePermissionCommandError = async (output, context) => {
1927
+ const de_RemovePermissionCommandError = async (output, context) => {
1928
1928
  const parsedOutput = {
1929
1929
  ...output,
1930
1930
  body: await parseErrorBody(output.body, context),
@@ -1933,16 +1933,16 @@ const deserializeAws_queryRemovePermissionCommandError = async (output, context)
1933
1933
  switch (errorCode) {
1934
1934
  case "AuthorizationError":
1935
1935
  case "com.amazonaws.sns#AuthorizationErrorException":
1936
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1936
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1937
1937
  case "InternalError":
1938
1938
  case "com.amazonaws.sns#InternalErrorException":
1939
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1939
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1940
1940
  case "InvalidParameter":
1941
1941
  case "com.amazonaws.sns#InvalidParameterException":
1942
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1942
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1943
1943
  case "NotFound":
1944
1944
  case "com.amazonaws.sns#NotFoundException":
1945
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1945
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1946
1946
  default:
1947
1947
  const parsedBody = parsedOutput.body;
1948
1948
  throwDefaultError({
@@ -1953,9 +1953,9 @@ const deserializeAws_queryRemovePermissionCommandError = async (output, context)
1953
1953
  });
1954
1954
  }
1955
1955
  };
1956
- export const deserializeAws_querySetEndpointAttributesCommand = async (output, context) => {
1956
+ export const de_SetEndpointAttributesCommand = async (output, context) => {
1957
1957
  if (output.statusCode >= 300) {
1958
- return deserializeAws_querySetEndpointAttributesCommandError(output, context);
1958
+ return de_SetEndpointAttributesCommandError(output, context);
1959
1959
  }
1960
1960
  await collectBody(output.body, context);
1961
1961
  const response = {
@@ -1963,7 +1963,7 @@ export const deserializeAws_querySetEndpointAttributesCommand = async (output, c
1963
1963
  };
1964
1964
  return Promise.resolve(response);
1965
1965
  };
1966
- const deserializeAws_querySetEndpointAttributesCommandError = async (output, context) => {
1966
+ const de_SetEndpointAttributesCommandError = async (output, context) => {
1967
1967
  const parsedOutput = {
1968
1968
  ...output,
1969
1969
  body: await parseErrorBody(output.body, context),
@@ -1972,16 +1972,16 @@ const deserializeAws_querySetEndpointAttributesCommandError = async (output, con
1972
1972
  switch (errorCode) {
1973
1973
  case "AuthorizationError":
1974
1974
  case "com.amazonaws.sns#AuthorizationErrorException":
1975
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
1975
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
1976
1976
  case "InternalError":
1977
1977
  case "com.amazonaws.sns#InternalErrorException":
1978
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
1978
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1979
1979
  case "InvalidParameter":
1980
1980
  case "com.amazonaws.sns#InvalidParameterException":
1981
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
1981
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1982
1982
  case "NotFound":
1983
1983
  case "com.amazonaws.sns#NotFoundException":
1984
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
1984
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1985
1985
  default:
1986
1986
  const parsedBody = parsedOutput.body;
1987
1987
  throwDefaultError({
@@ -1992,9 +1992,9 @@ const deserializeAws_querySetEndpointAttributesCommandError = async (output, con
1992
1992
  });
1993
1993
  }
1994
1994
  };
1995
- export const deserializeAws_querySetPlatformApplicationAttributesCommand = async (output, context) => {
1995
+ export const de_SetPlatformApplicationAttributesCommand = async (output, context) => {
1996
1996
  if (output.statusCode >= 300) {
1997
- return deserializeAws_querySetPlatformApplicationAttributesCommandError(output, context);
1997
+ return de_SetPlatformApplicationAttributesCommandError(output, context);
1998
1998
  }
1999
1999
  await collectBody(output.body, context);
2000
2000
  const response = {
@@ -2002,7 +2002,7 @@ export const deserializeAws_querySetPlatformApplicationAttributesCommand = async
2002
2002
  };
2003
2003
  return Promise.resolve(response);
2004
2004
  };
2005
- const deserializeAws_querySetPlatformApplicationAttributesCommandError = async (output, context) => {
2005
+ const de_SetPlatformApplicationAttributesCommandError = async (output, context) => {
2006
2006
  const parsedOutput = {
2007
2007
  ...output,
2008
2008
  body: await parseErrorBody(output.body, context),
@@ -2011,16 +2011,16 @@ const deserializeAws_querySetPlatformApplicationAttributesCommandError = async (
2011
2011
  switch (errorCode) {
2012
2012
  case "AuthorizationError":
2013
2013
  case "com.amazonaws.sns#AuthorizationErrorException":
2014
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2014
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2015
2015
  case "InternalError":
2016
2016
  case "com.amazonaws.sns#InternalErrorException":
2017
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2017
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2018
2018
  case "InvalidParameter":
2019
2019
  case "com.amazonaws.sns#InvalidParameterException":
2020
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2020
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2021
2021
  case "NotFound":
2022
2022
  case "com.amazonaws.sns#NotFoundException":
2023
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
2023
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2024
2024
  default:
2025
2025
  const parsedBody = parsedOutput.body;
2026
2026
  throwDefaultError({
@@ -2031,20 +2031,20 @@ const deserializeAws_querySetPlatformApplicationAttributesCommandError = async (
2031
2031
  });
2032
2032
  }
2033
2033
  };
2034
- export const deserializeAws_querySetSMSAttributesCommand = async (output, context) => {
2034
+ export const de_SetSMSAttributesCommand = async (output, context) => {
2035
2035
  if (output.statusCode >= 300) {
2036
- return deserializeAws_querySetSMSAttributesCommandError(output, context);
2036
+ return de_SetSMSAttributesCommandError(output, context);
2037
2037
  }
2038
2038
  const data = await parseBody(output.body, context);
2039
2039
  let contents = {};
2040
- contents = deserializeAws_querySetSMSAttributesResponse(data.SetSMSAttributesResult, context);
2040
+ contents = de_SetSMSAttributesResponse(data.SetSMSAttributesResult, context);
2041
2041
  const response = {
2042
2042
  $metadata: deserializeMetadata(output),
2043
2043
  ...contents,
2044
2044
  };
2045
2045
  return Promise.resolve(response);
2046
2046
  };
2047
- const deserializeAws_querySetSMSAttributesCommandError = async (output, context) => {
2047
+ const de_SetSMSAttributesCommandError = async (output, context) => {
2048
2048
  const parsedOutput = {
2049
2049
  ...output,
2050
2050
  body: await parseErrorBody(output.body, context),
@@ -2053,16 +2053,16 @@ const deserializeAws_querySetSMSAttributesCommandError = async (output, context)
2053
2053
  switch (errorCode) {
2054
2054
  case "AuthorizationError":
2055
2055
  case "com.amazonaws.sns#AuthorizationErrorException":
2056
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2056
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2057
2057
  case "InternalError":
2058
2058
  case "com.amazonaws.sns#InternalErrorException":
2059
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2059
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2060
2060
  case "InvalidParameter":
2061
2061
  case "com.amazonaws.sns#InvalidParameterException":
2062
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2062
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2063
2063
  case "Throttled":
2064
2064
  case "com.amazonaws.sns#ThrottledException":
2065
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
2065
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
2066
2066
  default:
2067
2067
  const parsedBody = parsedOutput.body;
2068
2068
  throwDefaultError({
@@ -2073,9 +2073,9 @@ const deserializeAws_querySetSMSAttributesCommandError = async (output, context)
2073
2073
  });
2074
2074
  }
2075
2075
  };
2076
- export const deserializeAws_querySetSubscriptionAttributesCommand = async (output, context) => {
2076
+ export const de_SetSubscriptionAttributesCommand = async (output, context) => {
2077
2077
  if (output.statusCode >= 300) {
2078
- return deserializeAws_querySetSubscriptionAttributesCommandError(output, context);
2078
+ return de_SetSubscriptionAttributesCommandError(output, context);
2079
2079
  }
2080
2080
  await collectBody(output.body, context);
2081
2081
  const response = {
@@ -2083,7 +2083,7 @@ export const deserializeAws_querySetSubscriptionAttributesCommand = async (outpu
2083
2083
  };
2084
2084
  return Promise.resolve(response);
2085
2085
  };
2086
- const deserializeAws_querySetSubscriptionAttributesCommandError = async (output, context) => {
2086
+ const de_SetSubscriptionAttributesCommandError = async (output, context) => {
2087
2087
  const parsedOutput = {
2088
2088
  ...output,
2089
2089
  body: await parseErrorBody(output.body, context),
@@ -2092,19 +2092,19 @@ const deserializeAws_querySetSubscriptionAttributesCommandError = async (output,
2092
2092
  switch (errorCode) {
2093
2093
  case "AuthorizationError":
2094
2094
  case "com.amazonaws.sns#AuthorizationErrorException":
2095
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2095
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2096
2096
  case "FilterPolicyLimitExceeded":
2097
2097
  case "com.amazonaws.sns#FilterPolicyLimitExceededException":
2098
- throw await deserializeAws_queryFilterPolicyLimitExceededExceptionResponse(parsedOutput, context);
2098
+ throw await de_FilterPolicyLimitExceededExceptionRes(parsedOutput, context);
2099
2099
  case "InternalError":
2100
2100
  case "com.amazonaws.sns#InternalErrorException":
2101
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2101
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2102
2102
  case "InvalidParameter":
2103
2103
  case "com.amazonaws.sns#InvalidParameterException":
2104
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2104
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2105
2105
  case "NotFound":
2106
2106
  case "com.amazonaws.sns#NotFoundException":
2107
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
2107
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2108
2108
  default:
2109
2109
  const parsedBody = parsedOutput.body;
2110
2110
  throwDefaultError({
@@ -2115,9 +2115,9 @@ const deserializeAws_querySetSubscriptionAttributesCommandError = async (output,
2115
2115
  });
2116
2116
  }
2117
2117
  };
2118
- export const deserializeAws_querySetTopicAttributesCommand = async (output, context) => {
2118
+ export const de_SetTopicAttributesCommand = async (output, context) => {
2119
2119
  if (output.statusCode >= 300) {
2120
- return deserializeAws_querySetTopicAttributesCommandError(output, context);
2120
+ return de_SetTopicAttributesCommandError(output, context);
2121
2121
  }
2122
2122
  await collectBody(output.body, context);
2123
2123
  const response = {
@@ -2125,7 +2125,7 @@ export const deserializeAws_querySetTopicAttributesCommand = async (output, cont
2125
2125
  };
2126
2126
  return Promise.resolve(response);
2127
2127
  };
2128
- const deserializeAws_querySetTopicAttributesCommandError = async (output, context) => {
2128
+ const de_SetTopicAttributesCommandError = async (output, context) => {
2129
2129
  const parsedOutput = {
2130
2130
  ...output,
2131
2131
  body: await parseErrorBody(output.body, context),
@@ -2134,19 +2134,19 @@ const deserializeAws_querySetTopicAttributesCommandError = async (output, contex
2134
2134
  switch (errorCode) {
2135
2135
  case "AuthorizationError":
2136
2136
  case "com.amazonaws.sns#AuthorizationErrorException":
2137
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2137
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2138
2138
  case "InternalError":
2139
2139
  case "com.amazonaws.sns#InternalErrorException":
2140
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2140
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2141
2141
  case "InvalidParameter":
2142
2142
  case "com.amazonaws.sns#InvalidParameterException":
2143
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2143
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2144
2144
  case "InvalidSecurity":
2145
2145
  case "com.amazonaws.sns#InvalidSecurityException":
2146
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
2146
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
2147
2147
  case "NotFound":
2148
2148
  case "com.amazonaws.sns#NotFoundException":
2149
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
2149
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2150
2150
  default:
2151
2151
  const parsedBody = parsedOutput.body;
2152
2152
  throwDefaultError({
@@ -2157,20 +2157,20 @@ const deserializeAws_querySetTopicAttributesCommandError = async (output, contex
2157
2157
  });
2158
2158
  }
2159
2159
  };
2160
- export const deserializeAws_querySubscribeCommand = async (output, context) => {
2160
+ export const de_SubscribeCommand = async (output, context) => {
2161
2161
  if (output.statusCode >= 300) {
2162
- return deserializeAws_querySubscribeCommandError(output, context);
2162
+ return de_SubscribeCommandError(output, context);
2163
2163
  }
2164
2164
  const data = await parseBody(output.body, context);
2165
2165
  let contents = {};
2166
- contents = deserializeAws_querySubscribeResponse(data.SubscribeResult, context);
2166
+ contents = de_SubscribeResponse(data.SubscribeResult, context);
2167
2167
  const response = {
2168
2168
  $metadata: deserializeMetadata(output),
2169
2169
  ...contents,
2170
2170
  };
2171
2171
  return Promise.resolve(response);
2172
2172
  };
2173
- const deserializeAws_querySubscribeCommandError = async (output, context) => {
2173
+ const de_SubscribeCommandError = async (output, context) => {
2174
2174
  const parsedOutput = {
2175
2175
  ...output,
2176
2176
  body: await parseErrorBody(output.body, context),
@@ -2179,25 +2179,25 @@ const deserializeAws_querySubscribeCommandError = async (output, context) => {
2179
2179
  switch (errorCode) {
2180
2180
  case "AuthorizationError":
2181
2181
  case "com.amazonaws.sns#AuthorizationErrorException":
2182
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2182
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2183
2183
  case "FilterPolicyLimitExceeded":
2184
2184
  case "com.amazonaws.sns#FilterPolicyLimitExceededException":
2185
- throw await deserializeAws_queryFilterPolicyLimitExceededExceptionResponse(parsedOutput, context);
2185
+ throw await de_FilterPolicyLimitExceededExceptionRes(parsedOutput, context);
2186
2186
  case "InternalError":
2187
2187
  case "com.amazonaws.sns#InternalErrorException":
2188
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2188
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2189
2189
  case "InvalidParameter":
2190
2190
  case "com.amazonaws.sns#InvalidParameterException":
2191
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2191
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2192
2192
  case "InvalidSecurity":
2193
2193
  case "com.amazonaws.sns#InvalidSecurityException":
2194
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
2194
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
2195
2195
  case "NotFound":
2196
2196
  case "com.amazonaws.sns#NotFoundException":
2197
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
2197
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2198
2198
  case "SubscriptionLimitExceeded":
2199
2199
  case "com.amazonaws.sns#SubscriptionLimitExceededException":
2200
- throw await deserializeAws_querySubscriptionLimitExceededExceptionResponse(parsedOutput, context);
2200
+ throw await de_SubscriptionLimitExceededExceptionRes(parsedOutput, context);
2201
2201
  default:
2202
2202
  const parsedBody = parsedOutput.body;
2203
2203
  throwDefaultError({
@@ -2208,20 +2208,20 @@ const deserializeAws_querySubscribeCommandError = async (output, context) => {
2208
2208
  });
2209
2209
  }
2210
2210
  };
2211
- export const deserializeAws_queryTagResourceCommand = async (output, context) => {
2211
+ export const de_TagResourceCommand = async (output, context) => {
2212
2212
  if (output.statusCode >= 300) {
2213
- return deserializeAws_queryTagResourceCommandError(output, context);
2213
+ return de_TagResourceCommandError(output, context);
2214
2214
  }
2215
2215
  const data = await parseBody(output.body, context);
2216
2216
  let contents = {};
2217
- contents = deserializeAws_queryTagResourceResponse(data.TagResourceResult, context);
2217
+ contents = de_TagResourceResponse(data.TagResourceResult, context);
2218
2218
  const response = {
2219
2219
  $metadata: deserializeMetadata(output),
2220
2220
  ...contents,
2221
2221
  };
2222
2222
  return Promise.resolve(response);
2223
2223
  };
2224
- const deserializeAws_queryTagResourceCommandError = async (output, context) => {
2224
+ const de_TagResourceCommandError = async (output, context) => {
2225
2225
  const parsedOutput = {
2226
2226
  ...output,
2227
2227
  body: await parseErrorBody(output.body, context),
@@ -2230,25 +2230,25 @@ const deserializeAws_queryTagResourceCommandError = async (output, context) => {
2230
2230
  switch (errorCode) {
2231
2231
  case "AuthorizationError":
2232
2232
  case "com.amazonaws.sns#AuthorizationErrorException":
2233
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2233
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2234
2234
  case "ConcurrentAccess":
2235
2235
  case "com.amazonaws.sns#ConcurrentAccessException":
2236
- throw await deserializeAws_queryConcurrentAccessExceptionResponse(parsedOutput, context);
2236
+ throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
2237
2237
  case "InvalidParameter":
2238
2238
  case "com.amazonaws.sns#InvalidParameterException":
2239
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2239
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2240
2240
  case "ResourceNotFound":
2241
2241
  case "com.amazonaws.sns#ResourceNotFoundException":
2242
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
2242
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2243
2243
  case "StaleTag":
2244
2244
  case "com.amazonaws.sns#StaleTagException":
2245
- throw await deserializeAws_queryStaleTagExceptionResponse(parsedOutput, context);
2245
+ throw await de_StaleTagExceptionRes(parsedOutput, context);
2246
2246
  case "TagLimitExceeded":
2247
2247
  case "com.amazonaws.sns#TagLimitExceededException":
2248
- throw await deserializeAws_queryTagLimitExceededExceptionResponse(parsedOutput, context);
2248
+ throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
2249
2249
  case "TagPolicy":
2250
2250
  case "com.amazonaws.sns#TagPolicyException":
2251
- throw await deserializeAws_queryTagPolicyExceptionResponse(parsedOutput, context);
2251
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
2252
2252
  default:
2253
2253
  const parsedBody = parsedOutput.body;
2254
2254
  throwDefaultError({
@@ -2259,9 +2259,9 @@ const deserializeAws_queryTagResourceCommandError = async (output, context) => {
2259
2259
  });
2260
2260
  }
2261
2261
  };
2262
- export const deserializeAws_queryUnsubscribeCommand = async (output, context) => {
2262
+ export const de_UnsubscribeCommand = async (output, context) => {
2263
2263
  if (output.statusCode >= 300) {
2264
- return deserializeAws_queryUnsubscribeCommandError(output, context);
2264
+ return de_UnsubscribeCommandError(output, context);
2265
2265
  }
2266
2266
  await collectBody(output.body, context);
2267
2267
  const response = {
@@ -2269,7 +2269,7 @@ export const deserializeAws_queryUnsubscribeCommand = async (output, context) =>
2269
2269
  };
2270
2270
  return Promise.resolve(response);
2271
2271
  };
2272
- const deserializeAws_queryUnsubscribeCommandError = async (output, context) => {
2272
+ const de_UnsubscribeCommandError = async (output, context) => {
2273
2273
  const parsedOutput = {
2274
2274
  ...output,
2275
2275
  body: await parseErrorBody(output.body, context),
@@ -2278,19 +2278,19 @@ const deserializeAws_queryUnsubscribeCommandError = async (output, context) => {
2278
2278
  switch (errorCode) {
2279
2279
  case "AuthorizationError":
2280
2280
  case "com.amazonaws.sns#AuthorizationErrorException":
2281
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2281
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2282
2282
  case "InternalError":
2283
2283
  case "com.amazonaws.sns#InternalErrorException":
2284
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2284
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2285
2285
  case "InvalidParameter":
2286
2286
  case "com.amazonaws.sns#InvalidParameterException":
2287
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2287
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2288
2288
  case "InvalidSecurity":
2289
2289
  case "com.amazonaws.sns#InvalidSecurityException":
2290
- throw await deserializeAws_queryInvalidSecurityExceptionResponse(parsedOutput, context);
2290
+ throw await de_InvalidSecurityExceptionRes(parsedOutput, context);
2291
2291
  case "NotFound":
2292
2292
  case "com.amazonaws.sns#NotFoundException":
2293
- throw await deserializeAws_queryNotFoundExceptionResponse(parsedOutput, context);
2293
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
2294
2294
  default:
2295
2295
  const parsedBody = parsedOutput.body;
2296
2296
  throwDefaultError({
@@ -2301,20 +2301,20 @@ const deserializeAws_queryUnsubscribeCommandError = async (output, context) => {
2301
2301
  });
2302
2302
  }
2303
2303
  };
2304
- export const deserializeAws_queryUntagResourceCommand = async (output, context) => {
2304
+ export const de_UntagResourceCommand = async (output, context) => {
2305
2305
  if (output.statusCode >= 300) {
2306
- return deserializeAws_queryUntagResourceCommandError(output, context);
2306
+ return de_UntagResourceCommandError(output, context);
2307
2307
  }
2308
2308
  const data = await parseBody(output.body, context);
2309
2309
  let contents = {};
2310
- contents = deserializeAws_queryUntagResourceResponse(data.UntagResourceResult, context);
2310
+ contents = de_UntagResourceResponse(data.UntagResourceResult, context);
2311
2311
  const response = {
2312
2312
  $metadata: deserializeMetadata(output),
2313
2313
  ...contents,
2314
2314
  };
2315
2315
  return Promise.resolve(response);
2316
2316
  };
2317
- const deserializeAws_queryUntagResourceCommandError = async (output, context) => {
2317
+ const de_UntagResourceCommandError = async (output, context) => {
2318
2318
  const parsedOutput = {
2319
2319
  ...output,
2320
2320
  body: await parseErrorBody(output.body, context),
@@ -2323,25 +2323,25 @@ const deserializeAws_queryUntagResourceCommandError = async (output, context) =>
2323
2323
  switch (errorCode) {
2324
2324
  case "AuthorizationError":
2325
2325
  case "com.amazonaws.sns#AuthorizationErrorException":
2326
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2326
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2327
2327
  case "ConcurrentAccess":
2328
2328
  case "com.amazonaws.sns#ConcurrentAccessException":
2329
- throw await deserializeAws_queryConcurrentAccessExceptionResponse(parsedOutput, context);
2329
+ throw await de_ConcurrentAccessExceptionRes(parsedOutput, context);
2330
2330
  case "InvalidParameter":
2331
2331
  case "com.amazonaws.sns#InvalidParameterException":
2332
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2332
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2333
2333
  case "ResourceNotFound":
2334
2334
  case "com.amazonaws.sns#ResourceNotFoundException":
2335
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
2335
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2336
2336
  case "StaleTag":
2337
2337
  case "com.amazonaws.sns#StaleTagException":
2338
- throw await deserializeAws_queryStaleTagExceptionResponse(parsedOutput, context);
2338
+ throw await de_StaleTagExceptionRes(parsedOutput, context);
2339
2339
  case "TagLimitExceeded":
2340
2340
  case "com.amazonaws.sns#TagLimitExceededException":
2341
- throw await deserializeAws_queryTagLimitExceededExceptionResponse(parsedOutput, context);
2341
+ throw await de_TagLimitExceededExceptionRes(parsedOutput, context);
2342
2342
  case "TagPolicy":
2343
2343
  case "com.amazonaws.sns#TagPolicyException":
2344
- throw await deserializeAws_queryTagPolicyExceptionResponse(parsedOutput, context);
2344
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
2345
2345
  default:
2346
2346
  const parsedBody = parsedOutput.body;
2347
2347
  throwDefaultError({
@@ -2352,20 +2352,20 @@ const deserializeAws_queryUntagResourceCommandError = async (output, context) =>
2352
2352
  });
2353
2353
  }
2354
2354
  };
2355
- export const deserializeAws_queryVerifySMSSandboxPhoneNumberCommand = async (output, context) => {
2355
+ export const de_VerifySMSSandboxPhoneNumberCommand = async (output, context) => {
2356
2356
  if (output.statusCode >= 300) {
2357
- return deserializeAws_queryVerifySMSSandboxPhoneNumberCommandError(output, context);
2357
+ return de_VerifySMSSandboxPhoneNumberCommandError(output, context);
2358
2358
  }
2359
2359
  const data = await parseBody(output.body, context);
2360
2360
  let contents = {};
2361
- contents = deserializeAws_queryVerifySMSSandboxPhoneNumberResult(data.VerifySMSSandboxPhoneNumberResult, context);
2361
+ contents = de_VerifySMSSandboxPhoneNumberResult(data.VerifySMSSandboxPhoneNumberResult, context);
2362
2362
  const response = {
2363
2363
  $metadata: deserializeMetadata(output),
2364
2364
  ...contents,
2365
2365
  };
2366
2366
  return Promise.resolve(response);
2367
2367
  };
2368
- const deserializeAws_queryVerifySMSSandboxPhoneNumberCommandError = async (output, context) => {
2368
+ const de_VerifySMSSandboxPhoneNumberCommandError = async (output, context) => {
2369
2369
  const parsedOutput = {
2370
2370
  ...output,
2371
2371
  body: await parseErrorBody(output.body, context),
@@ -2374,22 +2374,22 @@ const deserializeAws_queryVerifySMSSandboxPhoneNumberCommandError = async (outpu
2374
2374
  switch (errorCode) {
2375
2375
  case "AuthorizationError":
2376
2376
  case "com.amazonaws.sns#AuthorizationErrorException":
2377
- throw await deserializeAws_queryAuthorizationErrorExceptionResponse(parsedOutput, context);
2377
+ throw await de_AuthorizationErrorExceptionRes(parsedOutput, context);
2378
2378
  case "InternalError":
2379
2379
  case "com.amazonaws.sns#InternalErrorException":
2380
- throw await deserializeAws_queryInternalErrorExceptionResponse(parsedOutput, context);
2380
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
2381
2381
  case "InvalidParameter":
2382
2382
  case "com.amazonaws.sns#InvalidParameterException":
2383
- throw await deserializeAws_queryInvalidParameterExceptionResponse(parsedOutput, context);
2383
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2384
2384
  case "ResourceNotFound":
2385
2385
  case "com.amazonaws.sns#ResourceNotFoundException":
2386
- throw await deserializeAws_queryResourceNotFoundExceptionResponse(parsedOutput, context);
2386
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2387
2387
  case "Throttled":
2388
2388
  case "com.amazonaws.sns#ThrottledException":
2389
- throw await deserializeAws_queryThrottledExceptionResponse(parsedOutput, context);
2389
+ throw await de_ThrottledExceptionRes(parsedOutput, context);
2390
2390
  case "VerificationException":
2391
2391
  case "com.amazonaws.sns#VerificationException":
2392
- throw await deserializeAws_queryVerificationExceptionResponse(parsedOutput, context);
2392
+ throw await de_VerificationExceptionRes(parsedOutput, context);
2393
2393
  default:
2394
2394
  const parsedBody = parsedOutput.body;
2395
2395
  throwDefaultError({
@@ -2400,295 +2400,295 @@ const deserializeAws_queryVerifySMSSandboxPhoneNumberCommandError = async (outpu
2400
2400
  });
2401
2401
  }
2402
2402
  };
2403
- const deserializeAws_queryAuthorizationErrorExceptionResponse = async (parsedOutput, context) => {
2403
+ const de_AuthorizationErrorExceptionRes = async (parsedOutput, context) => {
2404
2404
  const body = parsedOutput.body;
2405
- const deserialized = deserializeAws_queryAuthorizationErrorException(body.Error, context);
2405
+ const deserialized = de_AuthorizationErrorException(body.Error, context);
2406
2406
  const exception = new AuthorizationErrorException({
2407
2407
  $metadata: deserializeMetadata(parsedOutput),
2408
2408
  ...deserialized,
2409
2409
  });
2410
2410
  return __decorateServiceException(exception, body);
2411
2411
  };
2412
- const deserializeAws_queryBatchEntryIdsNotDistinctExceptionResponse = async (parsedOutput, context) => {
2412
+ const de_BatchEntryIdsNotDistinctExceptionRes = async (parsedOutput, context) => {
2413
2413
  const body = parsedOutput.body;
2414
- const deserialized = deserializeAws_queryBatchEntryIdsNotDistinctException(body.Error, context);
2414
+ const deserialized = de_BatchEntryIdsNotDistinctException(body.Error, context);
2415
2415
  const exception = new BatchEntryIdsNotDistinctException({
2416
2416
  $metadata: deserializeMetadata(parsedOutput),
2417
2417
  ...deserialized,
2418
2418
  });
2419
2419
  return __decorateServiceException(exception, body);
2420
2420
  };
2421
- const deserializeAws_queryBatchRequestTooLongExceptionResponse = async (parsedOutput, context) => {
2421
+ const de_BatchRequestTooLongExceptionRes = async (parsedOutput, context) => {
2422
2422
  const body = parsedOutput.body;
2423
- const deserialized = deserializeAws_queryBatchRequestTooLongException(body.Error, context);
2423
+ const deserialized = de_BatchRequestTooLongException(body.Error, context);
2424
2424
  const exception = new BatchRequestTooLongException({
2425
2425
  $metadata: deserializeMetadata(parsedOutput),
2426
2426
  ...deserialized,
2427
2427
  });
2428
2428
  return __decorateServiceException(exception, body);
2429
2429
  };
2430
- const deserializeAws_queryConcurrentAccessExceptionResponse = async (parsedOutput, context) => {
2430
+ const de_ConcurrentAccessExceptionRes = async (parsedOutput, context) => {
2431
2431
  const body = parsedOutput.body;
2432
- const deserialized = deserializeAws_queryConcurrentAccessException(body.Error, context);
2432
+ const deserialized = de_ConcurrentAccessException(body.Error, context);
2433
2433
  const exception = new ConcurrentAccessException({
2434
2434
  $metadata: deserializeMetadata(parsedOutput),
2435
2435
  ...deserialized,
2436
2436
  });
2437
2437
  return __decorateServiceException(exception, body);
2438
2438
  };
2439
- const deserializeAws_queryEmptyBatchRequestExceptionResponse = async (parsedOutput, context) => {
2439
+ const de_EmptyBatchRequestExceptionRes = async (parsedOutput, context) => {
2440
2440
  const body = parsedOutput.body;
2441
- const deserialized = deserializeAws_queryEmptyBatchRequestException(body.Error, context);
2441
+ const deserialized = de_EmptyBatchRequestException(body.Error, context);
2442
2442
  const exception = new EmptyBatchRequestException({
2443
2443
  $metadata: deserializeMetadata(parsedOutput),
2444
2444
  ...deserialized,
2445
2445
  });
2446
2446
  return __decorateServiceException(exception, body);
2447
2447
  };
2448
- const deserializeAws_queryEndpointDisabledExceptionResponse = async (parsedOutput, context) => {
2448
+ const de_EndpointDisabledExceptionRes = async (parsedOutput, context) => {
2449
2449
  const body = parsedOutput.body;
2450
- const deserialized = deserializeAws_queryEndpointDisabledException(body.Error, context);
2450
+ const deserialized = de_EndpointDisabledException(body.Error, context);
2451
2451
  const exception = new EndpointDisabledException({
2452
2452
  $metadata: deserializeMetadata(parsedOutput),
2453
2453
  ...deserialized,
2454
2454
  });
2455
2455
  return __decorateServiceException(exception, body);
2456
2456
  };
2457
- const deserializeAws_queryFilterPolicyLimitExceededExceptionResponse = async (parsedOutput, context) => {
2457
+ const de_FilterPolicyLimitExceededExceptionRes = async (parsedOutput, context) => {
2458
2458
  const body = parsedOutput.body;
2459
- const deserialized = deserializeAws_queryFilterPolicyLimitExceededException(body.Error, context);
2459
+ const deserialized = de_FilterPolicyLimitExceededException(body.Error, context);
2460
2460
  const exception = new FilterPolicyLimitExceededException({
2461
2461
  $metadata: deserializeMetadata(parsedOutput),
2462
2462
  ...deserialized,
2463
2463
  });
2464
2464
  return __decorateServiceException(exception, body);
2465
2465
  };
2466
- const deserializeAws_queryInternalErrorExceptionResponse = async (parsedOutput, context) => {
2466
+ const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
2467
2467
  const body = parsedOutput.body;
2468
- const deserialized = deserializeAws_queryInternalErrorException(body.Error, context);
2468
+ const deserialized = de_InternalErrorException(body.Error, context);
2469
2469
  const exception = new InternalErrorException({
2470
2470
  $metadata: deserializeMetadata(parsedOutput),
2471
2471
  ...deserialized,
2472
2472
  });
2473
2473
  return __decorateServiceException(exception, body);
2474
2474
  };
2475
- const deserializeAws_queryInvalidBatchEntryIdExceptionResponse = async (parsedOutput, context) => {
2475
+ const de_InvalidBatchEntryIdExceptionRes = async (parsedOutput, context) => {
2476
2476
  const body = parsedOutput.body;
2477
- const deserialized = deserializeAws_queryInvalidBatchEntryIdException(body.Error, context);
2477
+ const deserialized = de_InvalidBatchEntryIdException(body.Error, context);
2478
2478
  const exception = new InvalidBatchEntryIdException({
2479
2479
  $metadata: deserializeMetadata(parsedOutput),
2480
2480
  ...deserialized,
2481
2481
  });
2482
2482
  return __decorateServiceException(exception, body);
2483
2483
  };
2484
- const deserializeAws_queryInvalidParameterExceptionResponse = async (parsedOutput, context) => {
2484
+ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
2485
2485
  const body = parsedOutput.body;
2486
- const deserialized = deserializeAws_queryInvalidParameterException(body.Error, context);
2486
+ const deserialized = de_InvalidParameterException(body.Error, context);
2487
2487
  const exception = new InvalidParameterException({
2488
2488
  $metadata: deserializeMetadata(parsedOutput),
2489
2489
  ...deserialized,
2490
2490
  });
2491
2491
  return __decorateServiceException(exception, body);
2492
2492
  };
2493
- const deserializeAws_queryInvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
2493
+ const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => {
2494
2494
  const body = parsedOutput.body;
2495
- const deserialized = deserializeAws_queryInvalidParameterValueException(body.Error, context);
2495
+ const deserialized = de_InvalidParameterValueException(body.Error, context);
2496
2496
  const exception = new InvalidParameterValueException({
2497
2497
  $metadata: deserializeMetadata(parsedOutput),
2498
2498
  ...deserialized,
2499
2499
  });
2500
2500
  return __decorateServiceException(exception, body);
2501
2501
  };
2502
- const deserializeAws_queryInvalidSecurityExceptionResponse = async (parsedOutput, context) => {
2502
+ const de_InvalidSecurityExceptionRes = async (parsedOutput, context) => {
2503
2503
  const body = parsedOutput.body;
2504
- const deserialized = deserializeAws_queryInvalidSecurityException(body.Error, context);
2504
+ const deserialized = de_InvalidSecurityException(body.Error, context);
2505
2505
  const exception = new InvalidSecurityException({
2506
2506
  $metadata: deserializeMetadata(parsedOutput),
2507
2507
  ...deserialized,
2508
2508
  });
2509
2509
  return __decorateServiceException(exception, body);
2510
2510
  };
2511
- const deserializeAws_queryKMSAccessDeniedExceptionResponse = async (parsedOutput, context) => {
2511
+ const de_KMSAccessDeniedExceptionRes = async (parsedOutput, context) => {
2512
2512
  const body = parsedOutput.body;
2513
- const deserialized = deserializeAws_queryKMSAccessDeniedException(body.Error, context);
2513
+ const deserialized = de_KMSAccessDeniedException(body.Error, context);
2514
2514
  const exception = new KMSAccessDeniedException({
2515
2515
  $metadata: deserializeMetadata(parsedOutput),
2516
2516
  ...deserialized,
2517
2517
  });
2518
2518
  return __decorateServiceException(exception, body);
2519
2519
  };
2520
- const deserializeAws_queryKMSDisabledExceptionResponse = async (parsedOutput, context) => {
2520
+ const de_KMSDisabledExceptionRes = async (parsedOutput, context) => {
2521
2521
  const body = parsedOutput.body;
2522
- const deserialized = deserializeAws_queryKMSDisabledException(body.Error, context);
2522
+ const deserialized = de_KMSDisabledException(body.Error, context);
2523
2523
  const exception = new KMSDisabledException({
2524
2524
  $metadata: deserializeMetadata(parsedOutput),
2525
2525
  ...deserialized,
2526
2526
  });
2527
2527
  return __decorateServiceException(exception, body);
2528
2528
  };
2529
- const deserializeAws_queryKMSInvalidStateExceptionResponse = async (parsedOutput, context) => {
2529
+ const de_KMSInvalidStateExceptionRes = async (parsedOutput, context) => {
2530
2530
  const body = parsedOutput.body;
2531
- const deserialized = deserializeAws_queryKMSInvalidStateException(body.Error, context);
2531
+ const deserialized = de_KMSInvalidStateException(body.Error, context);
2532
2532
  const exception = new KMSInvalidStateException({
2533
2533
  $metadata: deserializeMetadata(parsedOutput),
2534
2534
  ...deserialized,
2535
2535
  });
2536
2536
  return __decorateServiceException(exception, body);
2537
2537
  };
2538
- const deserializeAws_queryKMSNotFoundExceptionResponse = async (parsedOutput, context) => {
2538
+ const de_KMSNotFoundExceptionRes = async (parsedOutput, context) => {
2539
2539
  const body = parsedOutput.body;
2540
- const deserialized = deserializeAws_queryKMSNotFoundException(body.Error, context);
2540
+ const deserialized = de_KMSNotFoundException(body.Error, context);
2541
2541
  const exception = new KMSNotFoundException({
2542
2542
  $metadata: deserializeMetadata(parsedOutput),
2543
2543
  ...deserialized,
2544
2544
  });
2545
2545
  return __decorateServiceException(exception, body);
2546
2546
  };
2547
- const deserializeAws_queryKMSOptInRequiredResponse = async (parsedOutput, context) => {
2547
+ const de_KMSOptInRequiredRes = async (parsedOutput, context) => {
2548
2548
  const body = parsedOutput.body;
2549
- const deserialized = deserializeAws_queryKMSOptInRequired(body.Error, context);
2549
+ const deserialized = de_KMSOptInRequired(body.Error, context);
2550
2550
  const exception = new KMSOptInRequired({
2551
2551
  $metadata: deserializeMetadata(parsedOutput),
2552
2552
  ...deserialized,
2553
2553
  });
2554
2554
  return __decorateServiceException(exception, body);
2555
2555
  };
2556
- const deserializeAws_queryKMSThrottlingExceptionResponse = async (parsedOutput, context) => {
2556
+ const de_KMSThrottlingExceptionRes = async (parsedOutput, context) => {
2557
2557
  const body = parsedOutput.body;
2558
- const deserialized = deserializeAws_queryKMSThrottlingException(body.Error, context);
2558
+ const deserialized = de_KMSThrottlingException(body.Error, context);
2559
2559
  const exception = new KMSThrottlingException({
2560
2560
  $metadata: deserializeMetadata(parsedOutput),
2561
2561
  ...deserialized,
2562
2562
  });
2563
2563
  return __decorateServiceException(exception, body);
2564
2564
  };
2565
- const deserializeAws_queryNotFoundExceptionResponse = async (parsedOutput, context) => {
2565
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
2566
2566
  const body = parsedOutput.body;
2567
- const deserialized = deserializeAws_queryNotFoundException(body.Error, context);
2567
+ const deserialized = de_NotFoundException(body.Error, context);
2568
2568
  const exception = new NotFoundException({
2569
2569
  $metadata: deserializeMetadata(parsedOutput),
2570
2570
  ...deserialized,
2571
2571
  });
2572
2572
  return __decorateServiceException(exception, body);
2573
2573
  };
2574
- const deserializeAws_queryOptedOutExceptionResponse = async (parsedOutput, context) => {
2574
+ const de_OptedOutExceptionRes = async (parsedOutput, context) => {
2575
2575
  const body = parsedOutput.body;
2576
- const deserialized = deserializeAws_queryOptedOutException(body.Error, context);
2576
+ const deserialized = de_OptedOutException(body.Error, context);
2577
2577
  const exception = new OptedOutException({
2578
2578
  $metadata: deserializeMetadata(parsedOutput),
2579
2579
  ...deserialized,
2580
2580
  });
2581
2581
  return __decorateServiceException(exception, body);
2582
2582
  };
2583
- const deserializeAws_queryPlatformApplicationDisabledExceptionResponse = async (parsedOutput, context) => {
2583
+ const de_PlatformApplicationDisabledExceptionRes = async (parsedOutput, context) => {
2584
2584
  const body = parsedOutput.body;
2585
- const deserialized = deserializeAws_queryPlatformApplicationDisabledException(body.Error, context);
2585
+ const deserialized = de_PlatformApplicationDisabledException(body.Error, context);
2586
2586
  const exception = new PlatformApplicationDisabledException({
2587
2587
  $metadata: deserializeMetadata(parsedOutput),
2588
2588
  ...deserialized,
2589
2589
  });
2590
2590
  return __decorateServiceException(exception, body);
2591
2591
  };
2592
- const deserializeAws_queryResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2592
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2593
2593
  const body = parsedOutput.body;
2594
- const deserialized = deserializeAws_queryResourceNotFoundException(body.Error, context);
2594
+ const deserialized = de_ResourceNotFoundException(body.Error, context);
2595
2595
  const exception = new ResourceNotFoundException({
2596
2596
  $metadata: deserializeMetadata(parsedOutput),
2597
2597
  ...deserialized,
2598
2598
  });
2599
2599
  return __decorateServiceException(exception, body);
2600
2600
  };
2601
- const deserializeAws_queryStaleTagExceptionResponse = async (parsedOutput, context) => {
2601
+ const de_StaleTagExceptionRes = async (parsedOutput, context) => {
2602
2602
  const body = parsedOutput.body;
2603
- const deserialized = deserializeAws_queryStaleTagException(body.Error, context);
2603
+ const deserialized = de_StaleTagException(body.Error, context);
2604
2604
  const exception = new StaleTagException({
2605
2605
  $metadata: deserializeMetadata(parsedOutput),
2606
2606
  ...deserialized,
2607
2607
  });
2608
2608
  return __decorateServiceException(exception, body);
2609
2609
  };
2610
- const deserializeAws_querySubscriptionLimitExceededExceptionResponse = async (parsedOutput, context) => {
2610
+ const de_SubscriptionLimitExceededExceptionRes = async (parsedOutput, context) => {
2611
2611
  const body = parsedOutput.body;
2612
- const deserialized = deserializeAws_querySubscriptionLimitExceededException(body.Error, context);
2612
+ const deserialized = de_SubscriptionLimitExceededException(body.Error, context);
2613
2613
  const exception = new SubscriptionLimitExceededException({
2614
2614
  $metadata: deserializeMetadata(parsedOutput),
2615
2615
  ...deserialized,
2616
2616
  });
2617
2617
  return __decorateServiceException(exception, body);
2618
2618
  };
2619
- const deserializeAws_queryTagLimitExceededExceptionResponse = async (parsedOutput, context) => {
2619
+ const de_TagLimitExceededExceptionRes = async (parsedOutput, context) => {
2620
2620
  const body = parsedOutput.body;
2621
- const deserialized = deserializeAws_queryTagLimitExceededException(body.Error, context);
2621
+ const deserialized = de_TagLimitExceededException(body.Error, context);
2622
2622
  const exception = new TagLimitExceededException({
2623
2623
  $metadata: deserializeMetadata(parsedOutput),
2624
2624
  ...deserialized,
2625
2625
  });
2626
2626
  return __decorateServiceException(exception, body);
2627
2627
  };
2628
- const deserializeAws_queryTagPolicyExceptionResponse = async (parsedOutput, context) => {
2628
+ const de_TagPolicyExceptionRes = async (parsedOutput, context) => {
2629
2629
  const body = parsedOutput.body;
2630
- const deserialized = deserializeAws_queryTagPolicyException(body.Error, context);
2630
+ const deserialized = de_TagPolicyException(body.Error, context);
2631
2631
  const exception = new TagPolicyException({
2632
2632
  $metadata: deserializeMetadata(parsedOutput),
2633
2633
  ...deserialized,
2634
2634
  });
2635
2635
  return __decorateServiceException(exception, body);
2636
2636
  };
2637
- const deserializeAws_queryThrottledExceptionResponse = async (parsedOutput, context) => {
2637
+ const de_ThrottledExceptionRes = async (parsedOutput, context) => {
2638
2638
  const body = parsedOutput.body;
2639
- const deserialized = deserializeAws_queryThrottledException(body.Error, context);
2639
+ const deserialized = de_ThrottledException(body.Error, context);
2640
2640
  const exception = new ThrottledException({
2641
2641
  $metadata: deserializeMetadata(parsedOutput),
2642
2642
  ...deserialized,
2643
2643
  });
2644
2644
  return __decorateServiceException(exception, body);
2645
2645
  };
2646
- const deserializeAws_queryTooManyEntriesInBatchRequestExceptionResponse = async (parsedOutput, context) => {
2646
+ const de_TooManyEntriesInBatchRequestExceptionRes = async (parsedOutput, context) => {
2647
2647
  const body = parsedOutput.body;
2648
- const deserialized = deserializeAws_queryTooManyEntriesInBatchRequestException(body.Error, context);
2648
+ const deserialized = de_TooManyEntriesInBatchRequestException(body.Error, context);
2649
2649
  const exception = new TooManyEntriesInBatchRequestException({
2650
2650
  $metadata: deserializeMetadata(parsedOutput),
2651
2651
  ...deserialized,
2652
2652
  });
2653
2653
  return __decorateServiceException(exception, body);
2654
2654
  };
2655
- const deserializeAws_queryTopicLimitExceededExceptionResponse = async (parsedOutput, context) => {
2655
+ const de_TopicLimitExceededExceptionRes = async (parsedOutput, context) => {
2656
2656
  const body = parsedOutput.body;
2657
- const deserialized = deserializeAws_queryTopicLimitExceededException(body.Error, context);
2657
+ const deserialized = de_TopicLimitExceededException(body.Error, context);
2658
2658
  const exception = new TopicLimitExceededException({
2659
2659
  $metadata: deserializeMetadata(parsedOutput),
2660
2660
  ...deserialized,
2661
2661
  });
2662
2662
  return __decorateServiceException(exception, body);
2663
2663
  };
2664
- const deserializeAws_queryUserErrorExceptionResponse = async (parsedOutput, context) => {
2664
+ const de_UserErrorExceptionRes = async (parsedOutput, context) => {
2665
2665
  const body = parsedOutput.body;
2666
- const deserialized = deserializeAws_queryUserErrorException(body.Error, context);
2666
+ const deserialized = de_UserErrorException(body.Error, context);
2667
2667
  const exception = new UserErrorException({
2668
2668
  $metadata: deserializeMetadata(parsedOutput),
2669
2669
  ...deserialized,
2670
2670
  });
2671
2671
  return __decorateServiceException(exception, body);
2672
2672
  };
2673
- const deserializeAws_queryValidationExceptionResponse = async (parsedOutput, context) => {
2673
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2674
2674
  const body = parsedOutput.body;
2675
- const deserialized = deserializeAws_queryValidationException(body.Error, context);
2675
+ const deserialized = de_ValidationException(body.Error, context);
2676
2676
  const exception = new ValidationException({
2677
2677
  $metadata: deserializeMetadata(parsedOutput),
2678
2678
  ...deserialized,
2679
2679
  });
2680
2680
  return __decorateServiceException(exception, body);
2681
2681
  };
2682
- const deserializeAws_queryVerificationExceptionResponse = async (parsedOutput, context) => {
2682
+ const de_VerificationExceptionRes = async (parsedOutput, context) => {
2683
2683
  const body = parsedOutput.body;
2684
- const deserialized = deserializeAws_queryVerificationException(body.Error, context);
2684
+ const deserialized = de_VerificationException(body.Error, context);
2685
2685
  const exception = new VerificationException({
2686
2686
  $metadata: deserializeMetadata(parsedOutput),
2687
2687
  ...deserialized,
2688
2688
  });
2689
2689
  return __decorateServiceException(exception, body);
2690
2690
  };
2691
- const serializeAws_queryActionsList = (input, context) => {
2691
+ const se_ActionsList = (input, context) => {
2692
2692
  const entries = {};
2693
2693
  let counter = 1;
2694
2694
  for (const entry of input) {
@@ -2700,7 +2700,7 @@ const serializeAws_queryActionsList = (input, context) => {
2700
2700
  }
2701
2701
  return entries;
2702
2702
  };
2703
- const serializeAws_queryAddPermissionInput = (input, context) => {
2703
+ const se_AddPermissionInput = (input, context) => {
2704
2704
  const entries = {};
2705
2705
  if (input.TopicArn != null) {
2706
2706
  entries["TopicArn"] = input.TopicArn;
@@ -2709,7 +2709,7 @@ const serializeAws_queryAddPermissionInput = (input, context) => {
2709
2709
  entries["Label"] = input.Label;
2710
2710
  }
2711
2711
  if (input.AWSAccountId != null) {
2712
- const memberEntries = serializeAws_queryDelegatesList(input.AWSAccountId, context);
2712
+ const memberEntries = se_DelegatesList(input.AWSAccountId, context);
2713
2713
  if (input.AWSAccountId?.length === 0) {
2714
2714
  entries.AWSAccountId = [];
2715
2715
  }
@@ -2719,7 +2719,7 @@ const serializeAws_queryAddPermissionInput = (input, context) => {
2719
2719
  });
2720
2720
  }
2721
2721
  if (input.ActionName != null) {
2722
- const memberEntries = serializeAws_queryActionsList(input.ActionName, context);
2722
+ const memberEntries = se_ActionsList(input.ActionName, context);
2723
2723
  if (input.ActionName?.length === 0) {
2724
2724
  entries.ActionName = [];
2725
2725
  }
@@ -2730,14 +2730,14 @@ const serializeAws_queryAddPermissionInput = (input, context) => {
2730
2730
  }
2731
2731
  return entries;
2732
2732
  };
2733
- const serializeAws_queryCheckIfPhoneNumberIsOptedOutInput = (input, context) => {
2733
+ const se_CheckIfPhoneNumberIsOptedOutInput = (input, context) => {
2734
2734
  const entries = {};
2735
2735
  if (input.phoneNumber != null) {
2736
2736
  entries["phoneNumber"] = input.phoneNumber;
2737
2737
  }
2738
2738
  return entries;
2739
2739
  };
2740
- const serializeAws_queryConfirmSubscriptionInput = (input, context) => {
2740
+ const se_ConfirmSubscriptionInput = (input, context) => {
2741
2741
  const entries = {};
2742
2742
  if (input.TopicArn != null) {
2743
2743
  entries["TopicArn"] = input.TopicArn;
@@ -2750,7 +2750,7 @@ const serializeAws_queryConfirmSubscriptionInput = (input, context) => {
2750
2750
  }
2751
2751
  return entries;
2752
2752
  };
2753
- const serializeAws_queryCreatePlatformApplicationInput = (input, context) => {
2753
+ const se_CreatePlatformApplicationInput = (input, context) => {
2754
2754
  const entries = {};
2755
2755
  if (input.Name != null) {
2756
2756
  entries["Name"] = input.Name;
@@ -2759,7 +2759,7 @@ const serializeAws_queryCreatePlatformApplicationInput = (input, context) => {
2759
2759
  entries["Platform"] = input.Platform;
2760
2760
  }
2761
2761
  if (input.Attributes != null) {
2762
- const memberEntries = serializeAws_queryMapStringToString(input.Attributes, context);
2762
+ const memberEntries = se_MapStringToString(input.Attributes, context);
2763
2763
  Object.entries(memberEntries).forEach(([key, value]) => {
2764
2764
  const loc = `Attributes.${key}`;
2765
2765
  entries[loc] = value;
@@ -2767,7 +2767,7 @@ const serializeAws_queryCreatePlatformApplicationInput = (input, context) => {
2767
2767
  }
2768
2768
  return entries;
2769
2769
  };
2770
- const serializeAws_queryCreatePlatformEndpointInput = (input, context) => {
2770
+ const se_CreatePlatformEndpointInput = (input, context) => {
2771
2771
  const entries = {};
2772
2772
  if (input.PlatformApplicationArn != null) {
2773
2773
  entries["PlatformApplicationArn"] = input.PlatformApplicationArn;
@@ -2779,7 +2779,7 @@ const serializeAws_queryCreatePlatformEndpointInput = (input, context) => {
2779
2779
  entries["CustomUserData"] = input.CustomUserData;
2780
2780
  }
2781
2781
  if (input.Attributes != null) {
2782
- const memberEntries = serializeAws_queryMapStringToString(input.Attributes, context);
2782
+ const memberEntries = se_MapStringToString(input.Attributes, context);
2783
2783
  Object.entries(memberEntries).forEach(([key, value]) => {
2784
2784
  const loc = `Attributes.${key}`;
2785
2785
  entries[loc] = value;
@@ -2787,7 +2787,7 @@ const serializeAws_queryCreatePlatformEndpointInput = (input, context) => {
2787
2787
  }
2788
2788
  return entries;
2789
2789
  };
2790
- const serializeAws_queryCreateSMSSandboxPhoneNumberInput = (input, context) => {
2790
+ const se_CreateSMSSandboxPhoneNumberInput = (input, context) => {
2791
2791
  const entries = {};
2792
2792
  if (input.PhoneNumber != null) {
2793
2793
  entries["PhoneNumber"] = input.PhoneNumber;
@@ -2797,20 +2797,20 @@ const serializeAws_queryCreateSMSSandboxPhoneNumberInput = (input, context) => {
2797
2797
  }
2798
2798
  return entries;
2799
2799
  };
2800
- const serializeAws_queryCreateTopicInput = (input, context) => {
2800
+ const se_CreateTopicInput = (input, context) => {
2801
2801
  const entries = {};
2802
2802
  if (input.Name != null) {
2803
2803
  entries["Name"] = input.Name;
2804
2804
  }
2805
2805
  if (input.Attributes != null) {
2806
- const memberEntries = serializeAws_queryTopicAttributesMap(input.Attributes, context);
2806
+ const memberEntries = se_TopicAttributesMap(input.Attributes, context);
2807
2807
  Object.entries(memberEntries).forEach(([key, value]) => {
2808
2808
  const loc = `Attributes.${key}`;
2809
2809
  entries[loc] = value;
2810
2810
  });
2811
2811
  }
2812
2812
  if (input.Tags != null) {
2813
- const memberEntries = serializeAws_queryTagList(input.Tags, context);
2813
+ const memberEntries = se_TagList(input.Tags, context);
2814
2814
  if (input.Tags?.length === 0) {
2815
2815
  entries.Tags = [];
2816
2816
  }
@@ -2824,7 +2824,7 @@ const serializeAws_queryCreateTopicInput = (input, context) => {
2824
2824
  }
2825
2825
  return entries;
2826
2826
  };
2827
- const serializeAws_queryDelegatesList = (input, context) => {
2827
+ const se_DelegatesList = (input, context) => {
2828
2828
  const entries = {};
2829
2829
  let counter = 1;
2830
2830
  for (const entry of input) {
@@ -2836,59 +2836,59 @@ const serializeAws_queryDelegatesList = (input, context) => {
2836
2836
  }
2837
2837
  return entries;
2838
2838
  };
2839
- const serializeAws_queryDeleteEndpointInput = (input, context) => {
2839
+ const se_DeleteEndpointInput = (input, context) => {
2840
2840
  const entries = {};
2841
2841
  if (input.EndpointArn != null) {
2842
2842
  entries["EndpointArn"] = input.EndpointArn;
2843
2843
  }
2844
2844
  return entries;
2845
2845
  };
2846
- const serializeAws_queryDeletePlatformApplicationInput = (input, context) => {
2846
+ const se_DeletePlatformApplicationInput = (input, context) => {
2847
2847
  const entries = {};
2848
2848
  if (input.PlatformApplicationArn != null) {
2849
2849
  entries["PlatformApplicationArn"] = input.PlatformApplicationArn;
2850
2850
  }
2851
2851
  return entries;
2852
2852
  };
2853
- const serializeAws_queryDeleteSMSSandboxPhoneNumberInput = (input, context) => {
2853
+ const se_DeleteSMSSandboxPhoneNumberInput = (input, context) => {
2854
2854
  const entries = {};
2855
2855
  if (input.PhoneNumber != null) {
2856
2856
  entries["PhoneNumber"] = input.PhoneNumber;
2857
2857
  }
2858
2858
  return entries;
2859
2859
  };
2860
- const serializeAws_queryDeleteTopicInput = (input, context) => {
2860
+ const se_DeleteTopicInput = (input, context) => {
2861
2861
  const entries = {};
2862
2862
  if (input.TopicArn != null) {
2863
2863
  entries["TopicArn"] = input.TopicArn;
2864
2864
  }
2865
2865
  return entries;
2866
2866
  };
2867
- const serializeAws_queryGetDataProtectionPolicyInput = (input, context) => {
2867
+ const se_GetDataProtectionPolicyInput = (input, context) => {
2868
2868
  const entries = {};
2869
2869
  if (input.ResourceArn != null) {
2870
2870
  entries["ResourceArn"] = input.ResourceArn;
2871
2871
  }
2872
2872
  return entries;
2873
2873
  };
2874
- const serializeAws_queryGetEndpointAttributesInput = (input, context) => {
2874
+ const se_GetEndpointAttributesInput = (input, context) => {
2875
2875
  const entries = {};
2876
2876
  if (input.EndpointArn != null) {
2877
2877
  entries["EndpointArn"] = input.EndpointArn;
2878
2878
  }
2879
2879
  return entries;
2880
2880
  };
2881
- const serializeAws_queryGetPlatformApplicationAttributesInput = (input, context) => {
2881
+ const se_GetPlatformApplicationAttributesInput = (input, context) => {
2882
2882
  const entries = {};
2883
2883
  if (input.PlatformApplicationArn != null) {
2884
2884
  entries["PlatformApplicationArn"] = input.PlatformApplicationArn;
2885
2885
  }
2886
2886
  return entries;
2887
2887
  };
2888
- const serializeAws_queryGetSMSAttributesInput = (input, context) => {
2888
+ const se_GetSMSAttributesInput = (input, context) => {
2889
2889
  const entries = {};
2890
2890
  if (input.attributes != null) {
2891
- const memberEntries = serializeAws_queryListString(input.attributes, context);
2891
+ const memberEntries = se_ListString(input.attributes, context);
2892
2892
  if (input.attributes?.length === 0) {
2893
2893
  entries.attributes = [];
2894
2894
  }
@@ -2899,25 +2899,25 @@ const serializeAws_queryGetSMSAttributesInput = (input, context) => {
2899
2899
  }
2900
2900
  return entries;
2901
2901
  };
2902
- const serializeAws_queryGetSMSSandboxAccountStatusInput = (input, context) => {
2902
+ const se_GetSMSSandboxAccountStatusInput = (input, context) => {
2903
2903
  const entries = {};
2904
2904
  return entries;
2905
2905
  };
2906
- const serializeAws_queryGetSubscriptionAttributesInput = (input, context) => {
2906
+ const se_GetSubscriptionAttributesInput = (input, context) => {
2907
2907
  const entries = {};
2908
2908
  if (input.SubscriptionArn != null) {
2909
2909
  entries["SubscriptionArn"] = input.SubscriptionArn;
2910
2910
  }
2911
2911
  return entries;
2912
2912
  };
2913
- const serializeAws_queryGetTopicAttributesInput = (input, context) => {
2913
+ const se_GetTopicAttributesInput = (input, context) => {
2914
2914
  const entries = {};
2915
2915
  if (input.TopicArn != null) {
2916
2916
  entries["TopicArn"] = input.TopicArn;
2917
2917
  }
2918
2918
  return entries;
2919
2919
  };
2920
- const serializeAws_queryListEndpointsByPlatformApplicationInput = (input, context) => {
2920
+ const se_ListEndpointsByPlatformApplicationInput = (input, context) => {
2921
2921
  const entries = {};
2922
2922
  if (input.PlatformApplicationArn != null) {
2923
2923
  entries["PlatformApplicationArn"] = input.PlatformApplicationArn;
@@ -2927,7 +2927,7 @@ const serializeAws_queryListEndpointsByPlatformApplicationInput = (input, contex
2927
2927
  }
2928
2928
  return entries;
2929
2929
  };
2930
- const serializeAws_queryListOriginationNumbersRequest = (input, context) => {
2930
+ const se_ListOriginationNumbersRequest = (input, context) => {
2931
2931
  const entries = {};
2932
2932
  if (input.NextToken != null) {
2933
2933
  entries["NextToken"] = input.NextToken;
@@ -2937,21 +2937,21 @@ const serializeAws_queryListOriginationNumbersRequest = (input, context) => {
2937
2937
  }
2938
2938
  return entries;
2939
2939
  };
2940
- const serializeAws_queryListPhoneNumbersOptedOutInput = (input, context) => {
2940
+ const se_ListPhoneNumbersOptedOutInput = (input, context) => {
2941
2941
  const entries = {};
2942
2942
  if (input.nextToken != null) {
2943
2943
  entries["nextToken"] = input.nextToken;
2944
2944
  }
2945
2945
  return entries;
2946
2946
  };
2947
- const serializeAws_queryListPlatformApplicationsInput = (input, context) => {
2947
+ const se_ListPlatformApplicationsInput = (input, context) => {
2948
2948
  const entries = {};
2949
2949
  if (input.NextToken != null) {
2950
2950
  entries["NextToken"] = input.NextToken;
2951
2951
  }
2952
2952
  return entries;
2953
2953
  };
2954
- const serializeAws_queryListSMSSandboxPhoneNumbersInput = (input, context) => {
2954
+ const se_ListSMSSandboxPhoneNumbersInput = (input, context) => {
2955
2955
  const entries = {};
2956
2956
  if (input.NextToken != null) {
2957
2957
  entries["NextToken"] = input.NextToken;
@@ -2961,7 +2961,7 @@ const serializeAws_queryListSMSSandboxPhoneNumbersInput = (input, context) => {
2961
2961
  }
2962
2962
  return entries;
2963
2963
  };
2964
- const serializeAws_queryListString = (input, context) => {
2964
+ const se_ListString = (input, context) => {
2965
2965
  const entries = {};
2966
2966
  let counter = 1;
2967
2967
  for (const entry of input) {
@@ -2973,7 +2973,7 @@ const serializeAws_queryListString = (input, context) => {
2973
2973
  }
2974
2974
  return entries;
2975
2975
  };
2976
- const serializeAws_queryListSubscriptionsByTopicInput = (input, context) => {
2976
+ const se_ListSubscriptionsByTopicInput = (input, context) => {
2977
2977
  const entries = {};
2978
2978
  if (input.TopicArn != null) {
2979
2979
  entries["TopicArn"] = input.TopicArn;
@@ -2983,28 +2983,28 @@ const serializeAws_queryListSubscriptionsByTopicInput = (input, context) => {
2983
2983
  }
2984
2984
  return entries;
2985
2985
  };
2986
- const serializeAws_queryListSubscriptionsInput = (input, context) => {
2986
+ const se_ListSubscriptionsInput = (input, context) => {
2987
2987
  const entries = {};
2988
2988
  if (input.NextToken != null) {
2989
2989
  entries["NextToken"] = input.NextToken;
2990
2990
  }
2991
2991
  return entries;
2992
2992
  };
2993
- const serializeAws_queryListTagsForResourceRequest = (input, context) => {
2993
+ const se_ListTagsForResourceRequest = (input, context) => {
2994
2994
  const entries = {};
2995
2995
  if (input.ResourceArn != null) {
2996
2996
  entries["ResourceArn"] = input.ResourceArn;
2997
2997
  }
2998
2998
  return entries;
2999
2999
  };
3000
- const serializeAws_queryListTopicsInput = (input, context) => {
3000
+ const se_ListTopicsInput = (input, context) => {
3001
3001
  const entries = {};
3002
3002
  if (input.NextToken != null) {
3003
3003
  entries["NextToken"] = input.NextToken;
3004
3004
  }
3005
3005
  return entries;
3006
3006
  };
3007
- const serializeAws_queryMapStringToString = (input, context) => {
3007
+ const se_MapStringToString = (input, context) => {
3008
3008
  const entries = {};
3009
3009
  let counter = 1;
3010
3010
  Object.keys(input)
@@ -3016,14 +3016,14 @@ const serializeAws_queryMapStringToString = (input, context) => {
3016
3016
  });
3017
3017
  return entries;
3018
3018
  };
3019
- const serializeAws_queryMessageAttributeMap = (input, context) => {
3019
+ const se_MessageAttributeMap = (input, context) => {
3020
3020
  const entries = {};
3021
3021
  let counter = 1;
3022
3022
  Object.keys(input)
3023
3023
  .filter((key) => input[key] != null)
3024
3024
  .forEach((key) => {
3025
3025
  entries[`entry.${counter}.Name`] = key;
3026
- const memberEntries = serializeAws_queryMessageAttributeValue(input[key], context);
3026
+ const memberEntries = se_MessageAttributeValue(input[key], context);
3027
3027
  Object.entries(memberEntries).forEach(([key, value]) => {
3028
3028
  entries[`entry.${counter}.Value.${key}`] = value;
3029
3029
  });
@@ -3031,7 +3031,7 @@ const serializeAws_queryMessageAttributeMap = (input, context) => {
3031
3031
  });
3032
3032
  return entries;
3033
3033
  };
3034
- const serializeAws_queryMessageAttributeValue = (input, context) => {
3034
+ const se_MessageAttributeValue = (input, context) => {
3035
3035
  const entries = {};
3036
3036
  if (input.DataType != null) {
3037
3037
  entries["DataType"] = input.DataType;
@@ -3044,20 +3044,20 @@ const serializeAws_queryMessageAttributeValue = (input, context) => {
3044
3044
  }
3045
3045
  return entries;
3046
3046
  };
3047
- const serializeAws_queryOptInPhoneNumberInput = (input, context) => {
3047
+ const se_OptInPhoneNumberInput = (input, context) => {
3048
3048
  const entries = {};
3049
3049
  if (input.phoneNumber != null) {
3050
3050
  entries["phoneNumber"] = input.phoneNumber;
3051
3051
  }
3052
3052
  return entries;
3053
3053
  };
3054
- const serializeAws_queryPublishBatchInput = (input, context) => {
3054
+ const se_PublishBatchInput = (input, context) => {
3055
3055
  const entries = {};
3056
3056
  if (input.TopicArn != null) {
3057
3057
  entries["TopicArn"] = input.TopicArn;
3058
3058
  }
3059
3059
  if (input.PublishBatchRequestEntries != null) {
3060
- const memberEntries = serializeAws_queryPublishBatchRequestEntryList(input.PublishBatchRequestEntries, context);
3060
+ const memberEntries = se_PublishBatchRequestEntryList(input.PublishBatchRequestEntries, context);
3061
3061
  if (input.PublishBatchRequestEntries?.length === 0) {
3062
3062
  entries.PublishBatchRequestEntries = [];
3063
3063
  }
@@ -3068,7 +3068,7 @@ const serializeAws_queryPublishBatchInput = (input, context) => {
3068
3068
  }
3069
3069
  return entries;
3070
3070
  };
3071
- const serializeAws_queryPublishBatchRequestEntry = (input, context) => {
3071
+ const se_PublishBatchRequestEntry = (input, context) => {
3072
3072
  const entries = {};
3073
3073
  if (input.Id != null) {
3074
3074
  entries["Id"] = input.Id;
@@ -3083,7 +3083,7 @@ const serializeAws_queryPublishBatchRequestEntry = (input, context) => {
3083
3083
  entries["MessageStructure"] = input.MessageStructure;
3084
3084
  }
3085
3085
  if (input.MessageAttributes != null) {
3086
- const memberEntries = serializeAws_queryMessageAttributeMap(input.MessageAttributes, context);
3086
+ const memberEntries = se_MessageAttributeMap(input.MessageAttributes, context);
3087
3087
  Object.entries(memberEntries).forEach(([key, value]) => {
3088
3088
  const loc = `MessageAttributes.${key}`;
3089
3089
  entries[loc] = value;
@@ -3097,14 +3097,14 @@ const serializeAws_queryPublishBatchRequestEntry = (input, context) => {
3097
3097
  }
3098
3098
  return entries;
3099
3099
  };
3100
- const serializeAws_queryPublishBatchRequestEntryList = (input, context) => {
3100
+ const se_PublishBatchRequestEntryList = (input, context) => {
3101
3101
  const entries = {};
3102
3102
  let counter = 1;
3103
3103
  for (const entry of input) {
3104
3104
  if (entry === null) {
3105
3105
  continue;
3106
3106
  }
3107
- const memberEntries = serializeAws_queryPublishBatchRequestEntry(entry, context);
3107
+ const memberEntries = se_PublishBatchRequestEntry(entry, context);
3108
3108
  Object.entries(memberEntries).forEach(([key, value]) => {
3109
3109
  entries[`member.${counter}.${key}`] = value;
3110
3110
  });
@@ -3112,7 +3112,7 @@ const serializeAws_queryPublishBatchRequestEntryList = (input, context) => {
3112
3112
  }
3113
3113
  return entries;
3114
3114
  };
3115
- const serializeAws_queryPublishInput = (input, context) => {
3115
+ const se_PublishInput = (input, context) => {
3116
3116
  const entries = {};
3117
3117
  if (input.TopicArn != null) {
3118
3118
  entries["TopicArn"] = input.TopicArn;
@@ -3133,7 +3133,7 @@ const serializeAws_queryPublishInput = (input, context) => {
3133
3133
  entries["MessageStructure"] = input.MessageStructure;
3134
3134
  }
3135
3135
  if (input.MessageAttributes != null) {
3136
- const memberEntries = serializeAws_queryMessageAttributeMap(input.MessageAttributes, context);
3136
+ const memberEntries = se_MessageAttributeMap(input.MessageAttributes, context);
3137
3137
  Object.entries(memberEntries).forEach(([key, value]) => {
3138
3138
  const loc = `MessageAttributes.${key}`;
3139
3139
  entries[loc] = value;
@@ -3147,7 +3147,7 @@ const serializeAws_queryPublishInput = (input, context) => {
3147
3147
  }
3148
3148
  return entries;
3149
3149
  };
3150
- const serializeAws_queryPutDataProtectionPolicyInput = (input, context) => {
3150
+ const se_PutDataProtectionPolicyInput = (input, context) => {
3151
3151
  const entries = {};
3152
3152
  if (input.ResourceArn != null) {
3153
3153
  entries["ResourceArn"] = input.ResourceArn;
@@ -3157,7 +3157,7 @@ const serializeAws_queryPutDataProtectionPolicyInput = (input, context) => {
3157
3157
  }
3158
3158
  return entries;
3159
3159
  };
3160
- const serializeAws_queryRemovePermissionInput = (input, context) => {
3160
+ const se_RemovePermissionInput = (input, context) => {
3161
3161
  const entries = {};
3162
3162
  if (input.TopicArn != null) {
3163
3163
  entries["TopicArn"] = input.TopicArn;
@@ -3167,13 +3167,13 @@ const serializeAws_queryRemovePermissionInput = (input, context) => {
3167
3167
  }
3168
3168
  return entries;
3169
3169
  };
3170
- const serializeAws_querySetEndpointAttributesInput = (input, context) => {
3170
+ const se_SetEndpointAttributesInput = (input, context) => {
3171
3171
  const entries = {};
3172
3172
  if (input.EndpointArn != null) {
3173
3173
  entries["EndpointArn"] = input.EndpointArn;
3174
3174
  }
3175
3175
  if (input.Attributes != null) {
3176
- const memberEntries = serializeAws_queryMapStringToString(input.Attributes, context);
3176
+ const memberEntries = se_MapStringToString(input.Attributes, context);
3177
3177
  Object.entries(memberEntries).forEach(([key, value]) => {
3178
3178
  const loc = `Attributes.${key}`;
3179
3179
  entries[loc] = value;
@@ -3181,13 +3181,13 @@ const serializeAws_querySetEndpointAttributesInput = (input, context) => {
3181
3181
  }
3182
3182
  return entries;
3183
3183
  };
3184
- const serializeAws_querySetPlatformApplicationAttributesInput = (input, context) => {
3184
+ const se_SetPlatformApplicationAttributesInput = (input, context) => {
3185
3185
  const entries = {};
3186
3186
  if (input.PlatformApplicationArn != null) {
3187
3187
  entries["PlatformApplicationArn"] = input.PlatformApplicationArn;
3188
3188
  }
3189
3189
  if (input.Attributes != null) {
3190
- const memberEntries = serializeAws_queryMapStringToString(input.Attributes, context);
3190
+ const memberEntries = se_MapStringToString(input.Attributes, context);
3191
3191
  Object.entries(memberEntries).forEach(([key, value]) => {
3192
3192
  const loc = `Attributes.${key}`;
3193
3193
  entries[loc] = value;
@@ -3195,10 +3195,10 @@ const serializeAws_querySetPlatformApplicationAttributesInput = (input, context)
3195
3195
  }
3196
3196
  return entries;
3197
3197
  };
3198
- const serializeAws_querySetSMSAttributesInput = (input, context) => {
3198
+ const se_SetSMSAttributesInput = (input, context) => {
3199
3199
  const entries = {};
3200
3200
  if (input.attributes != null) {
3201
- const memberEntries = serializeAws_queryMapStringToString(input.attributes, context);
3201
+ const memberEntries = se_MapStringToString(input.attributes, context);
3202
3202
  Object.entries(memberEntries).forEach(([key, value]) => {
3203
3203
  const loc = `attributes.${key}`;
3204
3204
  entries[loc] = value;
@@ -3206,7 +3206,7 @@ const serializeAws_querySetSMSAttributesInput = (input, context) => {
3206
3206
  }
3207
3207
  return entries;
3208
3208
  };
3209
- const serializeAws_querySetSubscriptionAttributesInput = (input, context) => {
3209
+ const se_SetSubscriptionAttributesInput = (input, context) => {
3210
3210
  const entries = {};
3211
3211
  if (input.SubscriptionArn != null) {
3212
3212
  entries["SubscriptionArn"] = input.SubscriptionArn;
@@ -3219,7 +3219,7 @@ const serializeAws_querySetSubscriptionAttributesInput = (input, context) => {
3219
3219
  }
3220
3220
  return entries;
3221
3221
  };
3222
- const serializeAws_querySetTopicAttributesInput = (input, context) => {
3222
+ const se_SetTopicAttributesInput = (input, context) => {
3223
3223
  const entries = {};
3224
3224
  if (input.TopicArn != null) {
3225
3225
  entries["TopicArn"] = input.TopicArn;
@@ -3232,7 +3232,7 @@ const serializeAws_querySetTopicAttributesInput = (input, context) => {
3232
3232
  }
3233
3233
  return entries;
3234
3234
  };
3235
- const serializeAws_querySubscribeInput = (input, context) => {
3235
+ const se_SubscribeInput = (input, context) => {
3236
3236
  const entries = {};
3237
3237
  if (input.TopicArn != null) {
3238
3238
  entries["TopicArn"] = input.TopicArn;
@@ -3244,7 +3244,7 @@ const serializeAws_querySubscribeInput = (input, context) => {
3244
3244
  entries["Endpoint"] = input.Endpoint;
3245
3245
  }
3246
3246
  if (input.Attributes != null) {
3247
- const memberEntries = serializeAws_querySubscriptionAttributesMap(input.Attributes, context);
3247
+ const memberEntries = se_SubscriptionAttributesMap(input.Attributes, context);
3248
3248
  Object.entries(memberEntries).forEach(([key, value]) => {
3249
3249
  const loc = `Attributes.${key}`;
3250
3250
  entries[loc] = value;
@@ -3255,7 +3255,7 @@ const serializeAws_querySubscribeInput = (input, context) => {
3255
3255
  }
3256
3256
  return entries;
3257
3257
  };
3258
- const serializeAws_querySubscriptionAttributesMap = (input, context) => {
3258
+ const se_SubscriptionAttributesMap = (input, context) => {
3259
3259
  const entries = {};
3260
3260
  let counter = 1;
3261
3261
  Object.keys(input)
@@ -3267,7 +3267,7 @@ const serializeAws_querySubscriptionAttributesMap = (input, context) => {
3267
3267
  });
3268
3268
  return entries;
3269
3269
  };
3270
- const serializeAws_queryTag = (input, context) => {
3270
+ const se_Tag = (input, context) => {
3271
3271
  const entries = {};
3272
3272
  if (input.Key != null) {
3273
3273
  entries["Key"] = input.Key;
@@ -3277,7 +3277,7 @@ const serializeAws_queryTag = (input, context) => {
3277
3277
  }
3278
3278
  return entries;
3279
3279
  };
3280
- const serializeAws_queryTagKeyList = (input, context) => {
3280
+ const se_TagKeyList = (input, context) => {
3281
3281
  const entries = {};
3282
3282
  let counter = 1;
3283
3283
  for (const entry of input) {
@@ -3289,14 +3289,14 @@ const serializeAws_queryTagKeyList = (input, context) => {
3289
3289
  }
3290
3290
  return entries;
3291
3291
  };
3292
- const serializeAws_queryTagList = (input, context) => {
3292
+ const se_TagList = (input, context) => {
3293
3293
  const entries = {};
3294
3294
  let counter = 1;
3295
3295
  for (const entry of input) {
3296
3296
  if (entry === null) {
3297
3297
  continue;
3298
3298
  }
3299
- const memberEntries = serializeAws_queryTag(entry, context);
3299
+ const memberEntries = se_Tag(entry, context);
3300
3300
  Object.entries(memberEntries).forEach(([key, value]) => {
3301
3301
  entries[`member.${counter}.${key}`] = value;
3302
3302
  });
@@ -3304,13 +3304,13 @@ const serializeAws_queryTagList = (input, context) => {
3304
3304
  }
3305
3305
  return entries;
3306
3306
  };
3307
- const serializeAws_queryTagResourceRequest = (input, context) => {
3307
+ const se_TagResourceRequest = (input, context) => {
3308
3308
  const entries = {};
3309
3309
  if (input.ResourceArn != null) {
3310
3310
  entries["ResourceArn"] = input.ResourceArn;
3311
3311
  }
3312
3312
  if (input.Tags != null) {
3313
- const memberEntries = serializeAws_queryTagList(input.Tags, context);
3313
+ const memberEntries = se_TagList(input.Tags, context);
3314
3314
  if (input.Tags?.length === 0) {
3315
3315
  entries.Tags = [];
3316
3316
  }
@@ -3321,7 +3321,7 @@ const serializeAws_queryTagResourceRequest = (input, context) => {
3321
3321
  }
3322
3322
  return entries;
3323
3323
  };
3324
- const serializeAws_queryTopicAttributesMap = (input, context) => {
3324
+ const se_TopicAttributesMap = (input, context) => {
3325
3325
  const entries = {};
3326
3326
  let counter = 1;
3327
3327
  Object.keys(input)
@@ -3333,20 +3333,20 @@ const serializeAws_queryTopicAttributesMap = (input, context) => {
3333
3333
  });
3334
3334
  return entries;
3335
3335
  };
3336
- const serializeAws_queryUnsubscribeInput = (input, context) => {
3336
+ const se_UnsubscribeInput = (input, context) => {
3337
3337
  const entries = {};
3338
3338
  if (input.SubscriptionArn != null) {
3339
3339
  entries["SubscriptionArn"] = input.SubscriptionArn;
3340
3340
  }
3341
3341
  return entries;
3342
3342
  };
3343
- const serializeAws_queryUntagResourceRequest = (input, context) => {
3343
+ const se_UntagResourceRequest = (input, context) => {
3344
3344
  const entries = {};
3345
3345
  if (input.ResourceArn != null) {
3346
3346
  entries["ResourceArn"] = input.ResourceArn;
3347
3347
  }
3348
3348
  if (input.TagKeys != null) {
3349
- const memberEntries = serializeAws_queryTagKeyList(input.TagKeys, context);
3349
+ const memberEntries = se_TagKeyList(input.TagKeys, context);
3350
3350
  if (input.TagKeys?.length === 0) {
3351
3351
  entries.TagKeys = [];
3352
3352
  }
@@ -3357,7 +3357,7 @@ const serializeAws_queryUntagResourceRequest = (input, context) => {
3357
3357
  }
3358
3358
  return entries;
3359
3359
  };
3360
- const serializeAws_queryVerifySMSSandboxPhoneNumberInput = (input, context) => {
3360
+ const se_VerifySMSSandboxPhoneNumberInput = (input, context) => {
3361
3361
  const entries = {};
3362
3362
  if (input.PhoneNumber != null) {
3363
3363
  entries["PhoneNumber"] = input.PhoneNumber;
@@ -3367,28 +3367,28 @@ const serializeAws_queryVerifySMSSandboxPhoneNumberInput = (input, context) => {
3367
3367
  }
3368
3368
  return entries;
3369
3369
  };
3370
- const deserializeAws_queryAuthorizationErrorException = (output, context) => {
3370
+ const de_AuthorizationErrorException = (output, context) => {
3371
3371
  const contents = {};
3372
3372
  if (output["message"] !== undefined) {
3373
3373
  contents.message = __expectString(output["message"]);
3374
3374
  }
3375
3375
  return contents;
3376
3376
  };
3377
- const deserializeAws_queryBatchEntryIdsNotDistinctException = (output, context) => {
3377
+ const de_BatchEntryIdsNotDistinctException = (output, context) => {
3378
3378
  const contents = {};
3379
3379
  if (output["message"] !== undefined) {
3380
3380
  contents.message = __expectString(output["message"]);
3381
3381
  }
3382
3382
  return contents;
3383
3383
  };
3384
- const deserializeAws_queryBatchRequestTooLongException = (output, context) => {
3384
+ const de_BatchRequestTooLongException = (output, context) => {
3385
3385
  const contents = {};
3386
3386
  if (output["message"] !== undefined) {
3387
3387
  contents.message = __expectString(output["message"]);
3388
3388
  }
3389
3389
  return contents;
3390
3390
  };
3391
- const deserializeAws_queryBatchResultErrorEntry = (output, context) => {
3391
+ const de_BatchResultErrorEntry = (output, context) => {
3392
3392
  const contents = {};
3393
3393
  if (output["Id"] !== undefined) {
3394
3394
  contents.Id = __expectString(output["Id"]);
@@ -3404,71 +3404,71 @@ const deserializeAws_queryBatchResultErrorEntry = (output, context) => {
3404
3404
  }
3405
3405
  return contents;
3406
3406
  };
3407
- const deserializeAws_queryBatchResultErrorEntryList = (output, context) => {
3407
+ const de_BatchResultErrorEntryList = (output, context) => {
3408
3408
  return (output || [])
3409
3409
  .filter((e) => e != null)
3410
3410
  .map((entry) => {
3411
- return deserializeAws_queryBatchResultErrorEntry(entry, context);
3411
+ return de_BatchResultErrorEntry(entry, context);
3412
3412
  });
3413
3413
  };
3414
- const deserializeAws_queryCheckIfPhoneNumberIsOptedOutResponse = (output, context) => {
3414
+ const de_CheckIfPhoneNumberIsOptedOutResponse = (output, context) => {
3415
3415
  const contents = {};
3416
3416
  if (output["isOptedOut"] !== undefined) {
3417
3417
  contents.isOptedOut = __parseBoolean(output["isOptedOut"]);
3418
3418
  }
3419
3419
  return contents;
3420
3420
  };
3421
- const deserializeAws_queryConcurrentAccessException = (output, context) => {
3421
+ const de_ConcurrentAccessException = (output, context) => {
3422
3422
  const contents = {};
3423
3423
  if (output["message"] !== undefined) {
3424
3424
  contents.message = __expectString(output["message"]);
3425
3425
  }
3426
3426
  return contents;
3427
3427
  };
3428
- const deserializeAws_queryConfirmSubscriptionResponse = (output, context) => {
3428
+ const de_ConfirmSubscriptionResponse = (output, context) => {
3429
3429
  const contents = {};
3430
3430
  if (output["SubscriptionArn"] !== undefined) {
3431
3431
  contents.SubscriptionArn = __expectString(output["SubscriptionArn"]);
3432
3432
  }
3433
3433
  return contents;
3434
3434
  };
3435
- const deserializeAws_queryCreateEndpointResponse = (output, context) => {
3435
+ const de_CreateEndpointResponse = (output, context) => {
3436
3436
  const contents = {};
3437
3437
  if (output["EndpointArn"] !== undefined) {
3438
3438
  contents.EndpointArn = __expectString(output["EndpointArn"]);
3439
3439
  }
3440
3440
  return contents;
3441
3441
  };
3442
- const deserializeAws_queryCreatePlatformApplicationResponse = (output, context) => {
3442
+ const de_CreatePlatformApplicationResponse = (output, context) => {
3443
3443
  const contents = {};
3444
3444
  if (output["PlatformApplicationArn"] !== undefined) {
3445
3445
  contents.PlatformApplicationArn = __expectString(output["PlatformApplicationArn"]);
3446
3446
  }
3447
3447
  return contents;
3448
3448
  };
3449
- const deserializeAws_queryCreateSMSSandboxPhoneNumberResult = (output, context) => {
3449
+ const de_CreateSMSSandboxPhoneNumberResult = (output, context) => {
3450
3450
  const contents = {};
3451
3451
  return contents;
3452
3452
  };
3453
- const deserializeAws_queryCreateTopicResponse = (output, context) => {
3453
+ const de_CreateTopicResponse = (output, context) => {
3454
3454
  const contents = {};
3455
3455
  if (output["TopicArn"] !== undefined) {
3456
3456
  contents.TopicArn = __expectString(output["TopicArn"]);
3457
3457
  }
3458
3458
  return contents;
3459
3459
  };
3460
- const deserializeAws_queryDeleteSMSSandboxPhoneNumberResult = (output, context) => {
3460
+ const de_DeleteSMSSandboxPhoneNumberResult = (output, context) => {
3461
3461
  const contents = {};
3462
3462
  return contents;
3463
3463
  };
3464
- const deserializeAws_queryEmptyBatchRequestException = (output, context) => {
3464
+ const de_EmptyBatchRequestException = (output, context) => {
3465
3465
  const contents = {};
3466
3466
  if (output["message"] !== undefined) {
3467
3467
  contents.message = __expectString(output["message"]);
3468
3468
  }
3469
3469
  return contents;
3470
3470
  };
3471
- const deserializeAws_queryEndpoint = (output, context) => {
3471
+ const de_Endpoint = (output, context) => {
3472
3472
  const contents = {};
3473
3473
  if (output["EndpointArn"] !== undefined) {
3474
3474
  contents.EndpointArn = __expectString(output["EndpointArn"]);
@@ -3477,193 +3477,193 @@ const deserializeAws_queryEndpoint = (output, context) => {
3477
3477
  contents.Attributes = {};
3478
3478
  }
3479
3479
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3480
- contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3480
+ contents.Attributes = de_MapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3481
3481
  }
3482
3482
  return contents;
3483
3483
  };
3484
- const deserializeAws_queryEndpointDisabledException = (output, context) => {
3484
+ const de_EndpointDisabledException = (output, context) => {
3485
3485
  const contents = {};
3486
3486
  if (output["message"] !== undefined) {
3487
3487
  contents.message = __expectString(output["message"]);
3488
3488
  }
3489
3489
  return contents;
3490
3490
  };
3491
- const deserializeAws_queryFilterPolicyLimitExceededException = (output, context) => {
3491
+ const de_FilterPolicyLimitExceededException = (output, context) => {
3492
3492
  const contents = {};
3493
3493
  if (output["message"] !== undefined) {
3494
3494
  contents.message = __expectString(output["message"]);
3495
3495
  }
3496
3496
  return contents;
3497
3497
  };
3498
- const deserializeAws_queryGetDataProtectionPolicyResponse = (output, context) => {
3498
+ const de_GetDataProtectionPolicyResponse = (output, context) => {
3499
3499
  const contents = {};
3500
3500
  if (output["DataProtectionPolicy"] !== undefined) {
3501
3501
  contents.DataProtectionPolicy = __expectString(output["DataProtectionPolicy"]);
3502
3502
  }
3503
3503
  return contents;
3504
3504
  };
3505
- const deserializeAws_queryGetEndpointAttributesResponse = (output, context) => {
3505
+ const de_GetEndpointAttributesResponse = (output, context) => {
3506
3506
  const contents = {};
3507
3507
  if (output.Attributes === "") {
3508
3508
  contents.Attributes = {};
3509
3509
  }
3510
3510
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3511
- contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3511
+ contents.Attributes = de_MapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3512
3512
  }
3513
3513
  return contents;
3514
3514
  };
3515
- const deserializeAws_queryGetPlatformApplicationAttributesResponse = (output, context) => {
3515
+ const de_GetPlatformApplicationAttributesResponse = (output, context) => {
3516
3516
  const contents = {};
3517
3517
  if (output.Attributes === "") {
3518
3518
  contents.Attributes = {};
3519
3519
  }
3520
3520
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3521
- contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3521
+ contents.Attributes = de_MapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3522
3522
  }
3523
3523
  return contents;
3524
3524
  };
3525
- const deserializeAws_queryGetSMSAttributesResponse = (output, context) => {
3525
+ const de_GetSMSAttributesResponse = (output, context) => {
3526
3526
  const contents = {};
3527
3527
  if (output.attributes === "") {
3528
3528
  contents.attributes = {};
3529
3529
  }
3530
3530
  else if (output["attributes"] !== undefined && output["attributes"]["entry"] !== undefined) {
3531
- contents.attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["attributes"]["entry"]), context);
3531
+ contents.attributes = de_MapStringToString(__getArrayIfSingleItem(output["attributes"]["entry"]), context);
3532
3532
  }
3533
3533
  return contents;
3534
3534
  };
3535
- const deserializeAws_queryGetSMSSandboxAccountStatusResult = (output, context) => {
3535
+ const de_GetSMSSandboxAccountStatusResult = (output, context) => {
3536
3536
  const contents = {};
3537
3537
  if (output["IsInSandbox"] !== undefined) {
3538
3538
  contents.IsInSandbox = __parseBoolean(output["IsInSandbox"]);
3539
3539
  }
3540
3540
  return contents;
3541
3541
  };
3542
- const deserializeAws_queryGetSubscriptionAttributesResponse = (output, context) => {
3542
+ const de_GetSubscriptionAttributesResponse = (output, context) => {
3543
3543
  const contents = {};
3544
3544
  if (output.Attributes === "") {
3545
3545
  contents.Attributes = {};
3546
3546
  }
3547
3547
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3548
- contents.Attributes = deserializeAws_querySubscriptionAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3548
+ contents.Attributes = de_SubscriptionAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3549
3549
  }
3550
3550
  return contents;
3551
3551
  };
3552
- const deserializeAws_queryGetTopicAttributesResponse = (output, context) => {
3552
+ const de_GetTopicAttributesResponse = (output, context) => {
3553
3553
  const contents = {};
3554
3554
  if (output.Attributes === "") {
3555
3555
  contents.Attributes = {};
3556
3556
  }
3557
3557
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3558
- contents.Attributes = deserializeAws_queryTopicAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3558
+ contents.Attributes = de_TopicAttributesMap(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3559
3559
  }
3560
3560
  return contents;
3561
3561
  };
3562
- const deserializeAws_queryInternalErrorException = (output, context) => {
3562
+ const de_InternalErrorException = (output, context) => {
3563
3563
  const contents = {};
3564
3564
  if (output["message"] !== undefined) {
3565
3565
  contents.message = __expectString(output["message"]);
3566
3566
  }
3567
3567
  return contents;
3568
3568
  };
3569
- const deserializeAws_queryInvalidBatchEntryIdException = (output, context) => {
3569
+ const de_InvalidBatchEntryIdException = (output, context) => {
3570
3570
  const contents = {};
3571
3571
  if (output["message"] !== undefined) {
3572
3572
  contents.message = __expectString(output["message"]);
3573
3573
  }
3574
3574
  return contents;
3575
3575
  };
3576
- const deserializeAws_queryInvalidParameterException = (output, context) => {
3576
+ const de_InvalidParameterException = (output, context) => {
3577
3577
  const contents = {};
3578
3578
  if (output["message"] !== undefined) {
3579
3579
  contents.message = __expectString(output["message"]);
3580
3580
  }
3581
3581
  return contents;
3582
3582
  };
3583
- const deserializeAws_queryInvalidParameterValueException = (output, context) => {
3583
+ const de_InvalidParameterValueException = (output, context) => {
3584
3584
  const contents = {};
3585
3585
  if (output["message"] !== undefined) {
3586
3586
  contents.message = __expectString(output["message"]);
3587
3587
  }
3588
3588
  return contents;
3589
3589
  };
3590
- const deserializeAws_queryInvalidSecurityException = (output, context) => {
3590
+ const de_InvalidSecurityException = (output, context) => {
3591
3591
  const contents = {};
3592
3592
  if (output["message"] !== undefined) {
3593
3593
  contents.message = __expectString(output["message"]);
3594
3594
  }
3595
3595
  return contents;
3596
3596
  };
3597
- const deserializeAws_queryKMSAccessDeniedException = (output, context) => {
3597
+ const de_KMSAccessDeniedException = (output, context) => {
3598
3598
  const contents = {};
3599
3599
  if (output["message"] !== undefined) {
3600
3600
  contents.message = __expectString(output["message"]);
3601
3601
  }
3602
3602
  return contents;
3603
3603
  };
3604
- const deserializeAws_queryKMSDisabledException = (output, context) => {
3604
+ const de_KMSDisabledException = (output, context) => {
3605
3605
  const contents = {};
3606
3606
  if (output["message"] !== undefined) {
3607
3607
  contents.message = __expectString(output["message"]);
3608
3608
  }
3609
3609
  return contents;
3610
3610
  };
3611
- const deserializeAws_queryKMSInvalidStateException = (output, context) => {
3611
+ const de_KMSInvalidStateException = (output, context) => {
3612
3612
  const contents = {};
3613
3613
  if (output["message"] !== undefined) {
3614
3614
  contents.message = __expectString(output["message"]);
3615
3615
  }
3616
3616
  return contents;
3617
3617
  };
3618
- const deserializeAws_queryKMSNotFoundException = (output, context) => {
3618
+ const de_KMSNotFoundException = (output, context) => {
3619
3619
  const contents = {};
3620
3620
  if (output["message"] !== undefined) {
3621
3621
  contents.message = __expectString(output["message"]);
3622
3622
  }
3623
3623
  return contents;
3624
3624
  };
3625
- const deserializeAws_queryKMSOptInRequired = (output, context) => {
3625
+ const de_KMSOptInRequired = (output, context) => {
3626
3626
  const contents = {};
3627
3627
  if (output["message"] !== undefined) {
3628
3628
  contents.message = __expectString(output["message"]);
3629
3629
  }
3630
3630
  return contents;
3631
3631
  };
3632
- const deserializeAws_queryKMSThrottlingException = (output, context) => {
3632
+ const de_KMSThrottlingException = (output, context) => {
3633
3633
  const contents = {};
3634
3634
  if (output["message"] !== undefined) {
3635
3635
  contents.message = __expectString(output["message"]);
3636
3636
  }
3637
3637
  return contents;
3638
3638
  };
3639
- const deserializeAws_queryListEndpointsByPlatformApplicationResponse = (output, context) => {
3639
+ const de_ListEndpointsByPlatformApplicationResponse = (output, context) => {
3640
3640
  const contents = {};
3641
3641
  if (output.Endpoints === "") {
3642
3642
  contents.Endpoints = [];
3643
3643
  }
3644
3644
  else if (output["Endpoints"] !== undefined && output["Endpoints"]["member"] !== undefined) {
3645
- contents.Endpoints = deserializeAws_queryListOfEndpoints(__getArrayIfSingleItem(output["Endpoints"]["member"]), context);
3645
+ contents.Endpoints = de_ListOfEndpoints(__getArrayIfSingleItem(output["Endpoints"]["member"]), context);
3646
3646
  }
3647
3647
  if (output["NextToken"] !== undefined) {
3648
3648
  contents.NextToken = __expectString(output["NextToken"]);
3649
3649
  }
3650
3650
  return contents;
3651
3651
  };
3652
- const deserializeAws_queryListOfEndpoints = (output, context) => {
3652
+ const de_ListOfEndpoints = (output, context) => {
3653
3653
  return (output || [])
3654
3654
  .filter((e) => e != null)
3655
3655
  .map((entry) => {
3656
- return deserializeAws_queryEndpoint(entry, context);
3656
+ return de_Endpoint(entry, context);
3657
3657
  });
3658
3658
  };
3659
- const deserializeAws_queryListOfPlatformApplications = (output, context) => {
3659
+ const de_ListOfPlatformApplications = (output, context) => {
3660
3660
  return (output || [])
3661
3661
  .filter((e) => e != null)
3662
3662
  .map((entry) => {
3663
- return deserializeAws_queryPlatformApplication(entry, context);
3663
+ return de_PlatformApplication(entry, context);
3664
3664
  });
3665
3665
  };
3666
- const deserializeAws_queryListOriginationNumbersResult = (output, context) => {
3666
+ const de_ListOriginationNumbersResult = (output, context) => {
3667
3667
  const contents = {};
3668
3668
  if (output["NextToken"] !== undefined) {
3669
3669
  contents.NextToken = __expectString(output["NextToken"]);
@@ -3672,99 +3672,99 @@ const deserializeAws_queryListOriginationNumbersResult = (output, context) => {
3672
3672
  contents.PhoneNumbers = [];
3673
3673
  }
3674
3674
  else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
3675
- contents.PhoneNumbers = deserializeAws_queryPhoneNumberInformationList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
3675
+ contents.PhoneNumbers = de_PhoneNumberInformationList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
3676
3676
  }
3677
3677
  return contents;
3678
3678
  };
3679
- const deserializeAws_queryListPhoneNumbersOptedOutResponse = (output, context) => {
3679
+ const de_ListPhoneNumbersOptedOutResponse = (output, context) => {
3680
3680
  const contents = {};
3681
3681
  if (output.phoneNumbers === "") {
3682
3682
  contents.phoneNumbers = [];
3683
3683
  }
3684
3684
  else if (output["phoneNumbers"] !== undefined && output["phoneNumbers"]["member"] !== undefined) {
3685
- contents.phoneNumbers = deserializeAws_queryPhoneNumberList(__getArrayIfSingleItem(output["phoneNumbers"]["member"]), context);
3685
+ contents.phoneNumbers = de_PhoneNumberList(__getArrayIfSingleItem(output["phoneNumbers"]["member"]), context);
3686
3686
  }
3687
3687
  if (output["nextToken"] !== undefined) {
3688
3688
  contents.nextToken = __expectString(output["nextToken"]);
3689
3689
  }
3690
3690
  return contents;
3691
3691
  };
3692
- const deserializeAws_queryListPlatformApplicationsResponse = (output, context) => {
3692
+ const de_ListPlatformApplicationsResponse = (output, context) => {
3693
3693
  const contents = {};
3694
3694
  if (output.PlatformApplications === "") {
3695
3695
  contents.PlatformApplications = [];
3696
3696
  }
3697
3697
  else if (output["PlatformApplications"] !== undefined && output["PlatformApplications"]["member"] !== undefined) {
3698
- contents.PlatformApplications = deserializeAws_queryListOfPlatformApplications(__getArrayIfSingleItem(output["PlatformApplications"]["member"]), context);
3698
+ contents.PlatformApplications = de_ListOfPlatformApplications(__getArrayIfSingleItem(output["PlatformApplications"]["member"]), context);
3699
3699
  }
3700
3700
  if (output["NextToken"] !== undefined) {
3701
3701
  contents.NextToken = __expectString(output["NextToken"]);
3702
3702
  }
3703
3703
  return contents;
3704
3704
  };
3705
- const deserializeAws_queryListSMSSandboxPhoneNumbersResult = (output, context) => {
3705
+ const de_ListSMSSandboxPhoneNumbersResult = (output, context) => {
3706
3706
  const contents = {};
3707
3707
  if (output.PhoneNumbers === "") {
3708
3708
  contents.PhoneNumbers = [];
3709
3709
  }
3710
3710
  else if (output["PhoneNumbers"] !== undefined && output["PhoneNumbers"]["member"] !== undefined) {
3711
- contents.PhoneNumbers = deserializeAws_querySMSSandboxPhoneNumberList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
3711
+ contents.PhoneNumbers = de_SMSSandboxPhoneNumberList(__getArrayIfSingleItem(output["PhoneNumbers"]["member"]), context);
3712
3712
  }
3713
3713
  if (output["NextToken"] !== undefined) {
3714
3714
  contents.NextToken = __expectString(output["NextToken"]);
3715
3715
  }
3716
3716
  return contents;
3717
3717
  };
3718
- const deserializeAws_queryListSubscriptionsByTopicResponse = (output, context) => {
3718
+ const de_ListSubscriptionsByTopicResponse = (output, context) => {
3719
3719
  const contents = {};
3720
3720
  if (output.Subscriptions === "") {
3721
3721
  contents.Subscriptions = [];
3722
3722
  }
3723
3723
  else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
3724
- contents.Subscriptions = deserializeAws_querySubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
3724
+ contents.Subscriptions = de_SubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
3725
3725
  }
3726
3726
  if (output["NextToken"] !== undefined) {
3727
3727
  contents.NextToken = __expectString(output["NextToken"]);
3728
3728
  }
3729
3729
  return contents;
3730
3730
  };
3731
- const deserializeAws_queryListSubscriptionsResponse = (output, context) => {
3731
+ const de_ListSubscriptionsResponse = (output, context) => {
3732
3732
  const contents = {};
3733
3733
  if (output.Subscriptions === "") {
3734
3734
  contents.Subscriptions = [];
3735
3735
  }
3736
3736
  else if (output["Subscriptions"] !== undefined && output["Subscriptions"]["member"] !== undefined) {
3737
- contents.Subscriptions = deserializeAws_querySubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
3737
+ contents.Subscriptions = de_SubscriptionsList(__getArrayIfSingleItem(output["Subscriptions"]["member"]), context);
3738
3738
  }
3739
3739
  if (output["NextToken"] !== undefined) {
3740
3740
  contents.NextToken = __expectString(output["NextToken"]);
3741
3741
  }
3742
3742
  return contents;
3743
3743
  };
3744
- const deserializeAws_queryListTagsForResourceResponse = (output, context) => {
3744
+ const de_ListTagsForResourceResponse = (output, context) => {
3745
3745
  const contents = {};
3746
3746
  if (output.Tags === "") {
3747
3747
  contents.Tags = [];
3748
3748
  }
3749
3749
  else if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
3750
- contents.Tags = deserializeAws_queryTagList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
3750
+ contents.Tags = de_TagList(__getArrayIfSingleItem(output["Tags"]["member"]), context);
3751
3751
  }
3752
3752
  return contents;
3753
3753
  };
3754
- const deserializeAws_queryListTopicsResponse = (output, context) => {
3754
+ const de_ListTopicsResponse = (output, context) => {
3755
3755
  const contents = {};
3756
3756
  if (output.Topics === "") {
3757
3757
  contents.Topics = [];
3758
3758
  }
3759
3759
  else if (output["Topics"] !== undefined && output["Topics"]["member"] !== undefined) {
3760
- contents.Topics = deserializeAws_queryTopicsList(__getArrayIfSingleItem(output["Topics"]["member"]), context);
3760
+ contents.Topics = de_TopicsList(__getArrayIfSingleItem(output["Topics"]["member"]), context);
3761
3761
  }
3762
3762
  if (output["NextToken"] !== undefined) {
3763
3763
  contents.NextToken = __expectString(output["NextToken"]);
3764
3764
  }
3765
3765
  return contents;
3766
3766
  };
3767
- const deserializeAws_queryMapStringToString = (output, context) => {
3767
+ const de_MapStringToString = (output, context) => {
3768
3768
  return output.reduce((acc, pair) => {
3769
3769
  if (pair["value"] === null) {
3770
3770
  return acc;
@@ -3773,32 +3773,32 @@ const deserializeAws_queryMapStringToString = (output, context) => {
3773
3773
  return acc;
3774
3774
  }, {});
3775
3775
  };
3776
- const deserializeAws_queryNotFoundException = (output, context) => {
3776
+ const de_NotFoundException = (output, context) => {
3777
3777
  const contents = {};
3778
3778
  if (output["message"] !== undefined) {
3779
3779
  contents.message = __expectString(output["message"]);
3780
3780
  }
3781
3781
  return contents;
3782
3782
  };
3783
- const deserializeAws_queryNumberCapabilityList = (output, context) => {
3783
+ const de_NumberCapabilityList = (output, context) => {
3784
3784
  return (output || [])
3785
3785
  .filter((e) => e != null)
3786
3786
  .map((entry) => {
3787
3787
  return __expectString(entry);
3788
3788
  });
3789
3789
  };
3790
- const deserializeAws_queryOptedOutException = (output, context) => {
3790
+ const de_OptedOutException = (output, context) => {
3791
3791
  const contents = {};
3792
3792
  if (output["message"] !== undefined) {
3793
3793
  contents.message = __expectString(output["message"]);
3794
3794
  }
3795
3795
  return contents;
3796
3796
  };
3797
- const deserializeAws_queryOptInPhoneNumberResponse = (output, context) => {
3797
+ const de_OptInPhoneNumberResponse = (output, context) => {
3798
3798
  const contents = {};
3799
3799
  return contents;
3800
3800
  };
3801
- const deserializeAws_queryPhoneNumberInformation = (output, context) => {
3801
+ const de_PhoneNumberInformation = (output, context) => {
3802
3802
  const contents = {};
3803
3803
  if (output["CreatedAt"] !== undefined) {
3804
3804
  contents.CreatedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreatedAt"]));
@@ -3819,25 +3819,25 @@ const deserializeAws_queryPhoneNumberInformation = (output, context) => {
3819
3819
  contents.NumberCapabilities = [];
3820
3820
  }
3821
3821
  else if (output["NumberCapabilities"] !== undefined && output["NumberCapabilities"]["member"] !== undefined) {
3822
- contents.NumberCapabilities = deserializeAws_queryNumberCapabilityList(__getArrayIfSingleItem(output["NumberCapabilities"]["member"]), context);
3822
+ contents.NumberCapabilities = de_NumberCapabilityList(__getArrayIfSingleItem(output["NumberCapabilities"]["member"]), context);
3823
3823
  }
3824
3824
  return contents;
3825
3825
  };
3826
- const deserializeAws_queryPhoneNumberInformationList = (output, context) => {
3826
+ const de_PhoneNumberInformationList = (output, context) => {
3827
3827
  return (output || [])
3828
3828
  .filter((e) => e != null)
3829
3829
  .map((entry) => {
3830
- return deserializeAws_queryPhoneNumberInformation(entry, context);
3830
+ return de_PhoneNumberInformation(entry, context);
3831
3831
  });
3832
3832
  };
3833
- const deserializeAws_queryPhoneNumberList = (output, context) => {
3833
+ const de_PhoneNumberList = (output, context) => {
3834
3834
  return (output || [])
3835
3835
  .filter((e) => e != null)
3836
3836
  .map((entry) => {
3837
3837
  return __expectString(entry);
3838
3838
  });
3839
3839
  };
3840
- const deserializeAws_queryPlatformApplication = (output, context) => {
3840
+ const de_PlatformApplication = (output, context) => {
3841
3841
  const contents = {};
3842
3842
  if (output["PlatformApplicationArn"] !== undefined) {
3843
3843
  contents.PlatformApplicationArn = __expectString(output["PlatformApplicationArn"]);
@@ -3846,34 +3846,34 @@ const deserializeAws_queryPlatformApplication = (output, context) => {
3846
3846
  contents.Attributes = {};
3847
3847
  }
3848
3848
  else if (output["Attributes"] !== undefined && output["Attributes"]["entry"] !== undefined) {
3849
- contents.Attributes = deserializeAws_queryMapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3849
+ contents.Attributes = de_MapStringToString(__getArrayIfSingleItem(output["Attributes"]["entry"]), context);
3850
3850
  }
3851
3851
  return contents;
3852
3852
  };
3853
- const deserializeAws_queryPlatformApplicationDisabledException = (output, context) => {
3853
+ const de_PlatformApplicationDisabledException = (output, context) => {
3854
3854
  const contents = {};
3855
3855
  if (output["message"] !== undefined) {
3856
3856
  contents.message = __expectString(output["message"]);
3857
3857
  }
3858
3858
  return contents;
3859
3859
  };
3860
- const deserializeAws_queryPublishBatchResponse = (output, context) => {
3860
+ const de_PublishBatchResponse = (output, context) => {
3861
3861
  const contents = {};
3862
3862
  if (output.Successful === "") {
3863
3863
  contents.Successful = [];
3864
3864
  }
3865
3865
  else if (output["Successful"] !== undefined && output["Successful"]["member"] !== undefined) {
3866
- contents.Successful = deserializeAws_queryPublishBatchResultEntryList(__getArrayIfSingleItem(output["Successful"]["member"]), context);
3866
+ contents.Successful = de_PublishBatchResultEntryList(__getArrayIfSingleItem(output["Successful"]["member"]), context);
3867
3867
  }
3868
3868
  if (output.Failed === "") {
3869
3869
  contents.Failed = [];
3870
3870
  }
3871
3871
  else if (output["Failed"] !== undefined && output["Failed"]["member"] !== undefined) {
3872
- contents.Failed = deserializeAws_queryBatchResultErrorEntryList(__getArrayIfSingleItem(output["Failed"]["member"]), context);
3872
+ contents.Failed = de_BatchResultErrorEntryList(__getArrayIfSingleItem(output["Failed"]["member"]), context);
3873
3873
  }
3874
3874
  return contents;
3875
3875
  };
3876
- const deserializeAws_queryPublishBatchResultEntry = (output, context) => {
3876
+ const de_PublishBatchResultEntry = (output, context) => {
3877
3877
  const contents = {};
3878
3878
  if (output["Id"] !== undefined) {
3879
3879
  contents.Id = __expectString(output["Id"]);
@@ -3886,14 +3886,14 @@ const deserializeAws_queryPublishBatchResultEntry = (output, context) => {
3886
3886
  }
3887
3887
  return contents;
3888
3888
  };
3889
- const deserializeAws_queryPublishBatchResultEntryList = (output, context) => {
3889
+ const de_PublishBatchResultEntryList = (output, context) => {
3890
3890
  return (output || [])
3891
3891
  .filter((e) => e != null)
3892
3892
  .map((entry) => {
3893
- return deserializeAws_queryPublishBatchResultEntry(entry, context);
3893
+ return de_PublishBatchResultEntry(entry, context);
3894
3894
  });
3895
3895
  };
3896
- const deserializeAws_queryPublishResponse = (output, context) => {
3896
+ const de_PublishResponse = (output, context) => {
3897
3897
  const contents = {};
3898
3898
  if (output["MessageId"] !== undefined) {
3899
3899
  contents.MessageId = __expectString(output["MessageId"]);
@@ -3903,18 +3903,18 @@ const deserializeAws_queryPublishResponse = (output, context) => {
3903
3903
  }
3904
3904
  return contents;
3905
3905
  };
3906
- const deserializeAws_queryResourceNotFoundException = (output, context) => {
3906
+ const de_ResourceNotFoundException = (output, context) => {
3907
3907
  const contents = {};
3908
3908
  if (output["message"] !== undefined) {
3909
3909
  contents.message = __expectString(output["message"]);
3910
3910
  }
3911
3911
  return contents;
3912
3912
  };
3913
- const deserializeAws_querySetSMSAttributesResponse = (output, context) => {
3913
+ const de_SetSMSAttributesResponse = (output, context) => {
3914
3914
  const contents = {};
3915
3915
  return contents;
3916
3916
  };
3917
- const deserializeAws_querySMSSandboxPhoneNumber = (output, context) => {
3917
+ const de_SMSSandboxPhoneNumber = (output, context) => {
3918
3918
  const contents = {};
3919
3919
  if (output["PhoneNumber"] !== undefined) {
3920
3920
  contents.PhoneNumber = __expectString(output["PhoneNumber"]);
@@ -3924,28 +3924,28 @@ const deserializeAws_querySMSSandboxPhoneNumber = (output, context) => {
3924
3924
  }
3925
3925
  return contents;
3926
3926
  };
3927
- const deserializeAws_querySMSSandboxPhoneNumberList = (output, context) => {
3927
+ const de_SMSSandboxPhoneNumberList = (output, context) => {
3928
3928
  return (output || [])
3929
3929
  .filter((e) => e != null)
3930
3930
  .map((entry) => {
3931
- return deserializeAws_querySMSSandboxPhoneNumber(entry, context);
3931
+ return de_SMSSandboxPhoneNumber(entry, context);
3932
3932
  });
3933
3933
  };
3934
- const deserializeAws_queryStaleTagException = (output, context) => {
3934
+ const de_StaleTagException = (output, context) => {
3935
3935
  const contents = {};
3936
3936
  if (output["message"] !== undefined) {
3937
3937
  contents.message = __expectString(output["message"]);
3938
3938
  }
3939
3939
  return contents;
3940
3940
  };
3941
- const deserializeAws_querySubscribeResponse = (output, context) => {
3941
+ const de_SubscribeResponse = (output, context) => {
3942
3942
  const contents = {};
3943
3943
  if (output["SubscriptionArn"] !== undefined) {
3944
3944
  contents.SubscriptionArn = __expectString(output["SubscriptionArn"]);
3945
3945
  }
3946
3946
  return contents;
3947
3947
  };
3948
- const deserializeAws_querySubscription = (output, context) => {
3948
+ const de_Subscription = (output, context) => {
3949
3949
  const contents = {};
3950
3950
  if (output["SubscriptionArn"] !== undefined) {
3951
3951
  contents.SubscriptionArn = __expectString(output["SubscriptionArn"]);
@@ -3964,7 +3964,7 @@ const deserializeAws_querySubscription = (output, context) => {
3964
3964
  }
3965
3965
  return contents;
3966
3966
  };
3967
- const deserializeAws_querySubscriptionAttributesMap = (output, context) => {
3967
+ const de_SubscriptionAttributesMap = (output, context) => {
3968
3968
  return output.reduce((acc, pair) => {
3969
3969
  if (pair["value"] === null) {
3970
3970
  return acc;
@@ -3973,21 +3973,21 @@ const deserializeAws_querySubscriptionAttributesMap = (output, context) => {
3973
3973
  return acc;
3974
3974
  }, {});
3975
3975
  };
3976
- const deserializeAws_querySubscriptionLimitExceededException = (output, context) => {
3976
+ const de_SubscriptionLimitExceededException = (output, context) => {
3977
3977
  const contents = {};
3978
3978
  if (output["message"] !== undefined) {
3979
3979
  contents.message = __expectString(output["message"]);
3980
3980
  }
3981
3981
  return contents;
3982
3982
  };
3983
- const deserializeAws_querySubscriptionsList = (output, context) => {
3983
+ const de_SubscriptionsList = (output, context) => {
3984
3984
  return (output || [])
3985
3985
  .filter((e) => e != null)
3986
3986
  .map((entry) => {
3987
- return deserializeAws_querySubscription(entry, context);
3987
+ return de_Subscription(entry, context);
3988
3988
  });
3989
3989
  };
3990
- const deserializeAws_queryTag = (output, context) => {
3990
+ const de_Tag = (output, context) => {
3991
3991
  const contents = {};
3992
3992
  if (output["Key"] !== undefined) {
3993
3993
  contents.Key = __expectString(output["Key"]);
@@ -3997,53 +3997,53 @@ const deserializeAws_queryTag = (output, context) => {
3997
3997
  }
3998
3998
  return contents;
3999
3999
  };
4000
- const deserializeAws_queryTagLimitExceededException = (output, context) => {
4000
+ const de_TagLimitExceededException = (output, context) => {
4001
4001
  const contents = {};
4002
4002
  if (output["message"] !== undefined) {
4003
4003
  contents.message = __expectString(output["message"]);
4004
4004
  }
4005
4005
  return contents;
4006
4006
  };
4007
- const deserializeAws_queryTagList = (output, context) => {
4007
+ const de_TagList = (output, context) => {
4008
4008
  return (output || [])
4009
4009
  .filter((e) => e != null)
4010
4010
  .map((entry) => {
4011
- return deserializeAws_queryTag(entry, context);
4011
+ return de_Tag(entry, context);
4012
4012
  });
4013
4013
  };
4014
- const deserializeAws_queryTagPolicyException = (output, context) => {
4014
+ const de_TagPolicyException = (output, context) => {
4015
4015
  const contents = {};
4016
4016
  if (output["message"] !== undefined) {
4017
4017
  contents.message = __expectString(output["message"]);
4018
4018
  }
4019
4019
  return contents;
4020
4020
  };
4021
- const deserializeAws_queryTagResourceResponse = (output, context) => {
4021
+ const de_TagResourceResponse = (output, context) => {
4022
4022
  const contents = {};
4023
4023
  return contents;
4024
4024
  };
4025
- const deserializeAws_queryThrottledException = (output, context) => {
4025
+ const de_ThrottledException = (output, context) => {
4026
4026
  const contents = {};
4027
4027
  if (output["message"] !== undefined) {
4028
4028
  contents.message = __expectString(output["message"]);
4029
4029
  }
4030
4030
  return contents;
4031
4031
  };
4032
- const deserializeAws_queryTooManyEntriesInBatchRequestException = (output, context) => {
4032
+ const de_TooManyEntriesInBatchRequestException = (output, context) => {
4033
4033
  const contents = {};
4034
4034
  if (output["message"] !== undefined) {
4035
4035
  contents.message = __expectString(output["message"]);
4036
4036
  }
4037
4037
  return contents;
4038
4038
  };
4039
- const deserializeAws_queryTopic = (output, context) => {
4039
+ const de_Topic = (output, context) => {
4040
4040
  const contents = {};
4041
4041
  if (output["TopicArn"] !== undefined) {
4042
4042
  contents.TopicArn = __expectString(output["TopicArn"]);
4043
4043
  }
4044
4044
  return contents;
4045
4045
  };
4046
- const deserializeAws_queryTopicAttributesMap = (output, context) => {
4046
+ const de_TopicAttributesMap = (output, context) => {
4047
4047
  return output.reduce((acc, pair) => {
4048
4048
  if (pair["value"] === null) {
4049
4049
  return acc;
@@ -4052,39 +4052,39 @@ const deserializeAws_queryTopicAttributesMap = (output, context) => {
4052
4052
  return acc;
4053
4053
  }, {});
4054
4054
  };
4055
- const deserializeAws_queryTopicLimitExceededException = (output, context) => {
4055
+ const de_TopicLimitExceededException = (output, context) => {
4056
4056
  const contents = {};
4057
4057
  if (output["message"] !== undefined) {
4058
4058
  contents.message = __expectString(output["message"]);
4059
4059
  }
4060
4060
  return contents;
4061
4061
  };
4062
- const deserializeAws_queryTopicsList = (output, context) => {
4062
+ const de_TopicsList = (output, context) => {
4063
4063
  return (output || [])
4064
4064
  .filter((e) => e != null)
4065
4065
  .map((entry) => {
4066
- return deserializeAws_queryTopic(entry, context);
4066
+ return de_Topic(entry, context);
4067
4067
  });
4068
4068
  };
4069
- const deserializeAws_queryUntagResourceResponse = (output, context) => {
4069
+ const de_UntagResourceResponse = (output, context) => {
4070
4070
  const contents = {};
4071
4071
  return contents;
4072
4072
  };
4073
- const deserializeAws_queryUserErrorException = (output, context) => {
4073
+ const de_UserErrorException = (output, context) => {
4074
4074
  const contents = {};
4075
4075
  if (output["message"] !== undefined) {
4076
4076
  contents.message = __expectString(output["message"]);
4077
4077
  }
4078
4078
  return contents;
4079
4079
  };
4080
- const deserializeAws_queryValidationException = (output, context) => {
4080
+ const de_ValidationException = (output, context) => {
4081
4081
  const contents = {};
4082
4082
  if (output["Message"] !== undefined) {
4083
4083
  contents.Message = __expectString(output["Message"]);
4084
4084
  }
4085
4085
  return contents;
4086
4086
  };
4087
- const deserializeAws_queryVerificationException = (output, context) => {
4087
+ const de_VerificationException = (output, context) => {
4088
4088
  const contents = {};
4089
4089
  if (output["Message"] !== undefined) {
4090
4090
  contents.Message = __expectString(output["Message"]);
@@ -4094,7 +4094,7 @@ const deserializeAws_queryVerificationException = (output, context) => {
4094
4094
  }
4095
4095
  return contents;
4096
4096
  };
4097
- const deserializeAws_queryVerifySMSSandboxPhoneNumberResult = (output, context) => {
4097
+ const de_VerifySMSSandboxPhoneNumberResult = (output, context) => {
4098
4098
  const contents = {};
4099
4099
  return contents;
4100
4100
  };