@aws-sdk/client-ssm-contacts 3.303.0 → 3.309.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist-cjs/commands/AcceptPageCommand.js +2 -2
  2. package/dist-cjs/commands/ActivateContactChannelCommand.js +2 -2
  3. package/dist-cjs/commands/CreateContactChannelCommand.js +2 -2
  4. package/dist-cjs/commands/CreateContactCommand.js +2 -2
  5. package/dist-cjs/commands/CreateRotationCommand.js +2 -2
  6. package/dist-cjs/commands/CreateRotationOverrideCommand.js +2 -2
  7. package/dist-cjs/commands/DeactivateContactChannelCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteContactChannelCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteContactCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteRotationCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteRotationOverrideCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeEngagementCommand.js +2 -2
  13. package/dist-cjs/commands/DescribePageCommand.js +2 -2
  14. package/dist-cjs/commands/GetContactChannelCommand.js +2 -2
  15. package/dist-cjs/commands/GetContactCommand.js +2 -2
  16. package/dist-cjs/commands/GetContactPolicyCommand.js +2 -2
  17. package/dist-cjs/commands/GetRotationCommand.js +2 -2
  18. package/dist-cjs/commands/GetRotationOverrideCommand.js +2 -2
  19. package/dist-cjs/commands/ListContactChannelsCommand.js +2 -2
  20. package/dist-cjs/commands/ListContactsCommand.js +2 -2
  21. package/dist-cjs/commands/ListEngagementsCommand.js +2 -2
  22. package/dist-cjs/commands/ListPageReceiptsCommand.js +2 -2
  23. package/dist-cjs/commands/ListPageResolutionsCommand.js +2 -2
  24. package/dist-cjs/commands/ListPagesByContactCommand.js +2 -2
  25. package/dist-cjs/commands/ListPagesByEngagementCommand.js +2 -2
  26. package/dist-cjs/commands/ListPreviewRotationShiftsCommand.js +2 -2
  27. package/dist-cjs/commands/ListRotationOverridesCommand.js +2 -2
  28. package/dist-cjs/commands/ListRotationShiftsCommand.js +2 -2
  29. package/dist-cjs/commands/ListRotationsCommand.js +2 -2
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-cjs/commands/PutContactPolicyCommand.js +2 -2
  32. package/dist-cjs/commands/SendActivationCodeCommand.js +2 -2
  33. package/dist-cjs/commands/StartEngagementCommand.js +2 -2
  34. package/dist-cjs/commands/StopEngagementCommand.js +2 -2
  35. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  36. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  37. package/dist-cjs/commands/UpdateContactChannelCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateContactCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateRotationCommand.js +2 -2
  40. package/dist-cjs/protocols/Aws_json1_1.js +804 -854
  41. package/dist-es/commands/AcceptPageCommand.js +3 -3
  42. package/dist-es/commands/ActivateContactChannelCommand.js +3 -3
  43. package/dist-es/commands/CreateContactChannelCommand.js +3 -3
  44. package/dist-es/commands/CreateContactCommand.js +3 -3
  45. package/dist-es/commands/CreateRotationCommand.js +3 -3
  46. package/dist-es/commands/CreateRotationOverrideCommand.js +3 -3
  47. package/dist-es/commands/DeactivateContactChannelCommand.js +3 -3
  48. package/dist-es/commands/DeleteContactChannelCommand.js +3 -3
  49. package/dist-es/commands/DeleteContactCommand.js +3 -3
  50. package/dist-es/commands/DeleteRotationCommand.js +3 -3
  51. package/dist-es/commands/DeleteRotationOverrideCommand.js +3 -3
  52. package/dist-es/commands/DescribeEngagementCommand.js +3 -3
  53. package/dist-es/commands/DescribePageCommand.js +3 -3
  54. package/dist-es/commands/GetContactChannelCommand.js +3 -3
  55. package/dist-es/commands/GetContactCommand.js +3 -3
  56. package/dist-es/commands/GetContactPolicyCommand.js +3 -3
  57. package/dist-es/commands/GetRotationCommand.js +3 -3
  58. package/dist-es/commands/GetRotationOverrideCommand.js +3 -3
  59. package/dist-es/commands/ListContactChannelsCommand.js +3 -3
  60. package/dist-es/commands/ListContactsCommand.js +3 -3
  61. package/dist-es/commands/ListEngagementsCommand.js +3 -3
  62. package/dist-es/commands/ListPageReceiptsCommand.js +3 -3
  63. package/dist-es/commands/ListPageResolutionsCommand.js +3 -3
  64. package/dist-es/commands/ListPagesByContactCommand.js +3 -3
  65. package/dist-es/commands/ListPagesByEngagementCommand.js +3 -3
  66. package/dist-es/commands/ListPreviewRotationShiftsCommand.js +3 -3
  67. package/dist-es/commands/ListRotationOverridesCommand.js +3 -3
  68. package/dist-es/commands/ListRotationShiftsCommand.js +3 -3
  69. package/dist-es/commands/ListRotationsCommand.js +3 -3
  70. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  71. package/dist-es/commands/PutContactPolicyCommand.js +3 -3
  72. package/dist-es/commands/SendActivationCodeCommand.js +3 -3
  73. package/dist-es/commands/StartEngagementCommand.js +3 -3
  74. package/dist-es/commands/StopEngagementCommand.js +3 -3
  75. package/dist-es/commands/TagResourceCommand.js +3 -3
  76. package/dist-es/commands/UntagResourceCommand.js +3 -3
  77. package/dist-es/commands/UpdateContactChannelCommand.js +3 -3
  78. package/dist-es/commands/UpdateContactCommand.js +3 -3
  79. package/dist-es/commands/UpdateRotationCommand.js +3 -3
  80. package/dist-es/protocols/Aws_json1_1.js +724 -774
  81. package/dist-types/protocols/Aws_json1_1.d.ts +312 -78
  82. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +78 -78
  83. package/package.json +29 -29
@@ -3,371 +3,371 @@ import { decorateServiceException as __decorateServiceException, expectBoolean a
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { AccessDeniedException, ConflictException, DataEncryptionException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { SSMContactsServiceException as __BaseException } from "../models/SSMContactsServiceException";
6
- export const serializeAws_json1_1AcceptPageCommand = async (input, context) => {
6
+ export const se_AcceptPageCommand = async (input, context) => {
7
7
  const headers = {
8
8
  "content-type": "application/x-amz-json-1.1",
9
9
  "x-amz-target": "SSMContacts.AcceptPage",
10
10
  };
11
11
  let body;
12
- body = JSON.stringify(serializeAws_json1_1AcceptPageRequest(input, context));
12
+ body = JSON.stringify(se_AcceptPageRequest(input, context));
13
13
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
14
14
  };
15
- export const serializeAws_json1_1ActivateContactChannelCommand = async (input, context) => {
15
+ export const se_ActivateContactChannelCommand = async (input, context) => {
16
16
  const headers = {
17
17
  "content-type": "application/x-amz-json-1.1",
18
18
  "x-amz-target": "SSMContacts.ActivateContactChannel",
19
19
  };
20
20
  let body;
21
- body = JSON.stringify(serializeAws_json1_1ActivateContactChannelRequest(input, context));
21
+ body = JSON.stringify(se_ActivateContactChannelRequest(input, context));
22
22
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
23
23
  };
24
- export const serializeAws_json1_1CreateContactCommand = async (input, context) => {
24
+ export const se_CreateContactCommand = async (input, context) => {
25
25
  const headers = {
26
26
  "content-type": "application/x-amz-json-1.1",
27
27
  "x-amz-target": "SSMContacts.CreateContact",
28
28
  };
29
29
  let body;
30
- body = JSON.stringify(serializeAws_json1_1CreateContactRequest(input, context));
30
+ body = JSON.stringify(se_CreateContactRequest(input, context));
31
31
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
32
32
  };
33
- export const serializeAws_json1_1CreateContactChannelCommand = async (input, context) => {
33
+ export const se_CreateContactChannelCommand = async (input, context) => {
34
34
  const headers = {
35
35
  "content-type": "application/x-amz-json-1.1",
36
36
  "x-amz-target": "SSMContacts.CreateContactChannel",
37
37
  };
38
38
  let body;
39
- body = JSON.stringify(serializeAws_json1_1CreateContactChannelRequest(input, context));
39
+ body = JSON.stringify(se_CreateContactChannelRequest(input, context));
40
40
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
41
41
  };
42
- export const serializeAws_json1_1CreateRotationCommand = async (input, context) => {
42
+ export const se_CreateRotationCommand = async (input, context) => {
43
43
  const headers = {
44
44
  "content-type": "application/x-amz-json-1.1",
45
45
  "x-amz-target": "SSMContacts.CreateRotation",
46
46
  };
47
47
  let body;
48
- body = JSON.stringify(serializeAws_json1_1CreateRotationRequest(input, context));
48
+ body = JSON.stringify(se_CreateRotationRequest(input, context));
49
49
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
50
50
  };
51
- export const serializeAws_json1_1CreateRotationOverrideCommand = async (input, context) => {
51
+ export const se_CreateRotationOverrideCommand = async (input, context) => {
52
52
  const headers = {
53
53
  "content-type": "application/x-amz-json-1.1",
54
54
  "x-amz-target": "SSMContacts.CreateRotationOverride",
55
55
  };
56
56
  let body;
57
- body = JSON.stringify(serializeAws_json1_1CreateRotationOverrideRequest(input, context));
57
+ body = JSON.stringify(se_CreateRotationOverrideRequest(input, context));
58
58
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
59
  };
60
- export const serializeAws_json1_1DeactivateContactChannelCommand = async (input, context) => {
60
+ export const se_DeactivateContactChannelCommand = async (input, context) => {
61
61
  const headers = {
62
62
  "content-type": "application/x-amz-json-1.1",
63
63
  "x-amz-target": "SSMContacts.DeactivateContactChannel",
64
64
  };
65
65
  let body;
66
- body = JSON.stringify(serializeAws_json1_1DeactivateContactChannelRequest(input, context));
66
+ body = JSON.stringify(se_DeactivateContactChannelRequest(input, context));
67
67
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
68
68
  };
69
- export const serializeAws_json1_1DeleteContactCommand = async (input, context) => {
69
+ export const se_DeleteContactCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/x-amz-json-1.1",
72
72
  "x-amz-target": "SSMContacts.DeleteContact",
73
73
  };
74
74
  let body;
75
- body = JSON.stringify(serializeAws_json1_1DeleteContactRequest(input, context));
75
+ body = JSON.stringify(se_DeleteContactRequest(input, context));
76
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
77
  };
78
- export const serializeAws_json1_1DeleteContactChannelCommand = async (input, context) => {
78
+ export const se_DeleteContactChannelCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-amz-json-1.1",
81
81
  "x-amz-target": "SSMContacts.DeleteContactChannel",
82
82
  };
83
83
  let body;
84
- body = JSON.stringify(serializeAws_json1_1DeleteContactChannelRequest(input, context));
84
+ body = JSON.stringify(se_DeleteContactChannelRequest(input, context));
85
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
86
  };
87
- export const serializeAws_json1_1DeleteRotationCommand = async (input, context) => {
87
+ export const se_DeleteRotationCommand = async (input, context) => {
88
88
  const headers = {
89
89
  "content-type": "application/x-amz-json-1.1",
90
90
  "x-amz-target": "SSMContacts.DeleteRotation",
91
91
  };
92
92
  let body;
93
- body = JSON.stringify(serializeAws_json1_1DeleteRotationRequest(input, context));
93
+ body = JSON.stringify(se_DeleteRotationRequest(input, context));
94
94
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
95
  };
96
- export const serializeAws_json1_1DeleteRotationOverrideCommand = async (input, context) => {
96
+ export const se_DeleteRotationOverrideCommand = async (input, context) => {
97
97
  const headers = {
98
98
  "content-type": "application/x-amz-json-1.1",
99
99
  "x-amz-target": "SSMContacts.DeleteRotationOverride",
100
100
  };
101
101
  let body;
102
- body = JSON.stringify(serializeAws_json1_1DeleteRotationOverrideRequest(input, context));
102
+ body = JSON.stringify(se_DeleteRotationOverrideRequest(input, context));
103
103
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
104
104
  };
105
- export const serializeAws_json1_1DescribeEngagementCommand = async (input, context) => {
105
+ export const se_DescribeEngagementCommand = async (input, context) => {
106
106
  const headers = {
107
107
  "content-type": "application/x-amz-json-1.1",
108
108
  "x-amz-target": "SSMContacts.DescribeEngagement",
109
109
  };
110
110
  let body;
111
- body = JSON.stringify(serializeAws_json1_1DescribeEngagementRequest(input, context));
111
+ body = JSON.stringify(se_DescribeEngagementRequest(input, context));
112
112
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
113
113
  };
114
- export const serializeAws_json1_1DescribePageCommand = async (input, context) => {
114
+ export const se_DescribePageCommand = async (input, context) => {
115
115
  const headers = {
116
116
  "content-type": "application/x-amz-json-1.1",
117
117
  "x-amz-target": "SSMContacts.DescribePage",
118
118
  };
119
119
  let body;
120
- body = JSON.stringify(serializeAws_json1_1DescribePageRequest(input, context));
120
+ body = JSON.stringify(se_DescribePageRequest(input, context));
121
121
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
122
122
  };
123
- export const serializeAws_json1_1GetContactCommand = async (input, context) => {
123
+ export const se_GetContactCommand = async (input, context) => {
124
124
  const headers = {
125
125
  "content-type": "application/x-amz-json-1.1",
126
126
  "x-amz-target": "SSMContacts.GetContact",
127
127
  };
128
128
  let body;
129
- body = JSON.stringify(serializeAws_json1_1GetContactRequest(input, context));
129
+ body = JSON.stringify(se_GetContactRequest(input, context));
130
130
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
131
131
  };
132
- export const serializeAws_json1_1GetContactChannelCommand = async (input, context) => {
132
+ export const se_GetContactChannelCommand = async (input, context) => {
133
133
  const headers = {
134
134
  "content-type": "application/x-amz-json-1.1",
135
135
  "x-amz-target": "SSMContacts.GetContactChannel",
136
136
  };
137
137
  let body;
138
- body = JSON.stringify(serializeAws_json1_1GetContactChannelRequest(input, context));
138
+ body = JSON.stringify(se_GetContactChannelRequest(input, context));
139
139
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
140
140
  };
141
- export const serializeAws_json1_1GetContactPolicyCommand = async (input, context) => {
141
+ export const se_GetContactPolicyCommand = async (input, context) => {
142
142
  const headers = {
143
143
  "content-type": "application/x-amz-json-1.1",
144
144
  "x-amz-target": "SSMContacts.GetContactPolicy",
145
145
  };
146
146
  let body;
147
- body = JSON.stringify(serializeAws_json1_1GetContactPolicyRequest(input, context));
147
+ body = JSON.stringify(se_GetContactPolicyRequest(input, context));
148
148
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
149
149
  };
150
- export const serializeAws_json1_1GetRotationCommand = async (input, context) => {
150
+ export const se_GetRotationCommand = async (input, context) => {
151
151
  const headers = {
152
152
  "content-type": "application/x-amz-json-1.1",
153
153
  "x-amz-target": "SSMContacts.GetRotation",
154
154
  };
155
155
  let body;
156
- body = JSON.stringify(serializeAws_json1_1GetRotationRequest(input, context));
156
+ body = JSON.stringify(se_GetRotationRequest(input, context));
157
157
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
158
158
  };
159
- export const serializeAws_json1_1GetRotationOverrideCommand = async (input, context) => {
159
+ export const se_GetRotationOverrideCommand = async (input, context) => {
160
160
  const headers = {
161
161
  "content-type": "application/x-amz-json-1.1",
162
162
  "x-amz-target": "SSMContacts.GetRotationOverride",
163
163
  };
164
164
  let body;
165
- body = JSON.stringify(serializeAws_json1_1GetRotationOverrideRequest(input, context));
165
+ body = JSON.stringify(se_GetRotationOverrideRequest(input, context));
166
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
167
  };
168
- export const serializeAws_json1_1ListContactChannelsCommand = async (input, context) => {
168
+ export const se_ListContactChannelsCommand = async (input, context) => {
169
169
  const headers = {
170
170
  "content-type": "application/x-amz-json-1.1",
171
171
  "x-amz-target": "SSMContacts.ListContactChannels",
172
172
  };
173
173
  let body;
174
- body = JSON.stringify(serializeAws_json1_1ListContactChannelsRequest(input, context));
174
+ body = JSON.stringify(se_ListContactChannelsRequest(input, context));
175
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
176
176
  };
177
- export const serializeAws_json1_1ListContactsCommand = async (input, context) => {
177
+ export const se_ListContactsCommand = async (input, context) => {
178
178
  const headers = {
179
179
  "content-type": "application/x-amz-json-1.1",
180
180
  "x-amz-target": "SSMContacts.ListContacts",
181
181
  };
182
182
  let body;
183
- body = JSON.stringify(serializeAws_json1_1ListContactsRequest(input, context));
183
+ body = JSON.stringify(se_ListContactsRequest(input, context));
184
184
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
185
185
  };
186
- export const serializeAws_json1_1ListEngagementsCommand = async (input, context) => {
186
+ export const se_ListEngagementsCommand = async (input, context) => {
187
187
  const headers = {
188
188
  "content-type": "application/x-amz-json-1.1",
189
189
  "x-amz-target": "SSMContacts.ListEngagements",
190
190
  };
191
191
  let body;
192
- body = JSON.stringify(serializeAws_json1_1ListEngagementsRequest(input, context));
192
+ body = JSON.stringify(se_ListEngagementsRequest(input, context));
193
193
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
194
194
  };
195
- export const serializeAws_json1_1ListPageReceiptsCommand = async (input, context) => {
195
+ export const se_ListPageReceiptsCommand = async (input, context) => {
196
196
  const headers = {
197
197
  "content-type": "application/x-amz-json-1.1",
198
198
  "x-amz-target": "SSMContacts.ListPageReceipts",
199
199
  };
200
200
  let body;
201
- body = JSON.stringify(serializeAws_json1_1ListPageReceiptsRequest(input, context));
201
+ body = JSON.stringify(se_ListPageReceiptsRequest(input, context));
202
202
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
203
203
  };
204
- export const serializeAws_json1_1ListPageResolutionsCommand = async (input, context) => {
204
+ export const se_ListPageResolutionsCommand = async (input, context) => {
205
205
  const headers = {
206
206
  "content-type": "application/x-amz-json-1.1",
207
207
  "x-amz-target": "SSMContacts.ListPageResolutions",
208
208
  };
209
209
  let body;
210
- body = JSON.stringify(serializeAws_json1_1ListPageResolutionsRequest(input, context));
210
+ body = JSON.stringify(se_ListPageResolutionsRequest(input, context));
211
211
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
212
212
  };
213
- export const serializeAws_json1_1ListPagesByContactCommand = async (input, context) => {
213
+ export const se_ListPagesByContactCommand = async (input, context) => {
214
214
  const headers = {
215
215
  "content-type": "application/x-amz-json-1.1",
216
216
  "x-amz-target": "SSMContacts.ListPagesByContact",
217
217
  };
218
218
  let body;
219
- body = JSON.stringify(serializeAws_json1_1ListPagesByContactRequest(input, context));
219
+ body = JSON.stringify(se_ListPagesByContactRequest(input, context));
220
220
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
221
221
  };
222
- export const serializeAws_json1_1ListPagesByEngagementCommand = async (input, context) => {
222
+ export const se_ListPagesByEngagementCommand = async (input, context) => {
223
223
  const headers = {
224
224
  "content-type": "application/x-amz-json-1.1",
225
225
  "x-amz-target": "SSMContacts.ListPagesByEngagement",
226
226
  };
227
227
  let body;
228
- body = JSON.stringify(serializeAws_json1_1ListPagesByEngagementRequest(input, context));
228
+ body = JSON.stringify(se_ListPagesByEngagementRequest(input, context));
229
229
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
230
230
  };
231
- export const serializeAws_json1_1ListPreviewRotationShiftsCommand = async (input, context) => {
231
+ export const se_ListPreviewRotationShiftsCommand = async (input, context) => {
232
232
  const headers = {
233
233
  "content-type": "application/x-amz-json-1.1",
234
234
  "x-amz-target": "SSMContacts.ListPreviewRotationShifts",
235
235
  };
236
236
  let body;
237
- body = JSON.stringify(serializeAws_json1_1ListPreviewRotationShiftsRequest(input, context));
237
+ body = JSON.stringify(se_ListPreviewRotationShiftsRequest(input, context));
238
238
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
239
239
  };
240
- export const serializeAws_json1_1ListRotationOverridesCommand = async (input, context) => {
240
+ export const se_ListRotationOverridesCommand = async (input, context) => {
241
241
  const headers = {
242
242
  "content-type": "application/x-amz-json-1.1",
243
243
  "x-amz-target": "SSMContacts.ListRotationOverrides",
244
244
  };
245
245
  let body;
246
- body = JSON.stringify(serializeAws_json1_1ListRotationOverridesRequest(input, context));
246
+ body = JSON.stringify(se_ListRotationOverridesRequest(input, context));
247
247
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
248
248
  };
249
- export const serializeAws_json1_1ListRotationsCommand = async (input, context) => {
249
+ export const se_ListRotationsCommand = async (input, context) => {
250
250
  const headers = {
251
251
  "content-type": "application/x-amz-json-1.1",
252
252
  "x-amz-target": "SSMContacts.ListRotations",
253
253
  };
254
254
  let body;
255
- body = JSON.stringify(serializeAws_json1_1ListRotationsRequest(input, context));
255
+ body = JSON.stringify(se_ListRotationsRequest(input, context));
256
256
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
257
257
  };
258
- export const serializeAws_json1_1ListRotationShiftsCommand = async (input, context) => {
258
+ export const se_ListRotationShiftsCommand = async (input, context) => {
259
259
  const headers = {
260
260
  "content-type": "application/x-amz-json-1.1",
261
261
  "x-amz-target": "SSMContacts.ListRotationShifts",
262
262
  };
263
263
  let body;
264
- body = JSON.stringify(serializeAws_json1_1ListRotationShiftsRequest(input, context));
264
+ body = JSON.stringify(se_ListRotationShiftsRequest(input, context));
265
265
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
266
266
  };
267
- export const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
267
+ export const se_ListTagsForResourceCommand = async (input, context) => {
268
268
  const headers = {
269
269
  "content-type": "application/x-amz-json-1.1",
270
270
  "x-amz-target": "SSMContacts.ListTagsForResource",
271
271
  };
272
272
  let body;
273
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
273
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
274
274
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
275
275
  };
276
- export const serializeAws_json1_1PutContactPolicyCommand = async (input, context) => {
276
+ export const se_PutContactPolicyCommand = async (input, context) => {
277
277
  const headers = {
278
278
  "content-type": "application/x-amz-json-1.1",
279
279
  "x-amz-target": "SSMContacts.PutContactPolicy",
280
280
  };
281
281
  let body;
282
- body = JSON.stringify(serializeAws_json1_1PutContactPolicyRequest(input, context));
282
+ body = JSON.stringify(se_PutContactPolicyRequest(input, context));
283
283
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
284
284
  };
285
- export const serializeAws_json1_1SendActivationCodeCommand = async (input, context) => {
285
+ export const se_SendActivationCodeCommand = async (input, context) => {
286
286
  const headers = {
287
287
  "content-type": "application/x-amz-json-1.1",
288
288
  "x-amz-target": "SSMContacts.SendActivationCode",
289
289
  };
290
290
  let body;
291
- body = JSON.stringify(serializeAws_json1_1SendActivationCodeRequest(input, context));
291
+ body = JSON.stringify(se_SendActivationCodeRequest(input, context));
292
292
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
293
293
  };
294
- export const serializeAws_json1_1StartEngagementCommand = async (input, context) => {
294
+ export const se_StartEngagementCommand = async (input, context) => {
295
295
  const headers = {
296
296
  "content-type": "application/x-amz-json-1.1",
297
297
  "x-amz-target": "SSMContacts.StartEngagement",
298
298
  };
299
299
  let body;
300
- body = JSON.stringify(serializeAws_json1_1StartEngagementRequest(input, context));
300
+ body = JSON.stringify(se_StartEngagementRequest(input, context));
301
301
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
302
302
  };
303
- export const serializeAws_json1_1StopEngagementCommand = async (input, context) => {
303
+ export const se_StopEngagementCommand = async (input, context) => {
304
304
  const headers = {
305
305
  "content-type": "application/x-amz-json-1.1",
306
306
  "x-amz-target": "SSMContacts.StopEngagement",
307
307
  };
308
308
  let body;
309
- body = JSON.stringify(serializeAws_json1_1StopEngagementRequest(input, context));
309
+ body = JSON.stringify(se_StopEngagementRequest(input, context));
310
310
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
311
311
  };
312
- export const serializeAws_json1_1TagResourceCommand = async (input, context) => {
312
+ export const se_TagResourceCommand = async (input, context) => {
313
313
  const headers = {
314
314
  "content-type": "application/x-amz-json-1.1",
315
315
  "x-amz-target": "SSMContacts.TagResource",
316
316
  };
317
317
  let body;
318
- body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
318
+ body = JSON.stringify(se_TagResourceRequest(input, context));
319
319
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
320
320
  };
321
- export const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
321
+ export const se_UntagResourceCommand = async (input, context) => {
322
322
  const headers = {
323
323
  "content-type": "application/x-amz-json-1.1",
324
324
  "x-amz-target": "SSMContacts.UntagResource",
325
325
  };
326
326
  let body;
327
- body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
327
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
328
328
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
329
  };
330
- export const serializeAws_json1_1UpdateContactCommand = async (input, context) => {
330
+ export const se_UpdateContactCommand = async (input, context) => {
331
331
  const headers = {
332
332
  "content-type": "application/x-amz-json-1.1",
333
333
  "x-amz-target": "SSMContacts.UpdateContact",
334
334
  };
335
335
  let body;
336
- body = JSON.stringify(serializeAws_json1_1UpdateContactRequest(input, context));
336
+ body = JSON.stringify(se_UpdateContactRequest(input, context));
337
337
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
338
338
  };
339
- export const serializeAws_json1_1UpdateContactChannelCommand = async (input, context) => {
339
+ export const se_UpdateContactChannelCommand = async (input, context) => {
340
340
  const headers = {
341
341
  "content-type": "application/x-amz-json-1.1",
342
342
  "x-amz-target": "SSMContacts.UpdateContactChannel",
343
343
  };
344
344
  let body;
345
- body = JSON.stringify(serializeAws_json1_1UpdateContactChannelRequest(input, context));
345
+ body = JSON.stringify(se_UpdateContactChannelRequest(input, context));
346
346
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
347
347
  };
348
- export const serializeAws_json1_1UpdateRotationCommand = async (input, context) => {
348
+ export const se_UpdateRotationCommand = async (input, context) => {
349
349
  const headers = {
350
350
  "content-type": "application/x-amz-json-1.1",
351
351
  "x-amz-target": "SSMContacts.UpdateRotation",
352
352
  };
353
353
  let body;
354
- body = JSON.stringify(serializeAws_json1_1UpdateRotationRequest(input, context));
354
+ body = JSON.stringify(se_UpdateRotationRequest(input, context));
355
355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
356
356
  };
357
- export const deserializeAws_json1_1AcceptPageCommand = async (output, context) => {
357
+ export const de_AcceptPageCommand = async (output, context) => {
358
358
  if (output.statusCode >= 300) {
359
- return deserializeAws_json1_1AcceptPageCommandError(output, context);
359
+ return de_AcceptPageCommandError(output, context);
360
360
  }
361
361
  const data = await parseBody(output.body, context);
362
362
  let contents = {};
363
- contents = deserializeAws_json1_1AcceptPageResult(data, context);
363
+ contents = de_AcceptPageResult(data, context);
364
364
  const response = {
365
365
  $metadata: deserializeMetadata(output),
366
366
  ...contents,
367
367
  };
368
368
  return Promise.resolve(response);
369
369
  };
370
- const deserializeAws_json1_1AcceptPageCommandError = async (output, context) => {
370
+ const de_AcceptPageCommandError = async (output, context) => {
371
371
  const parsedOutput = {
372
372
  ...output,
373
373
  body: await parseErrorBody(output.body, context),
@@ -376,19 +376,19 @@ const deserializeAws_json1_1AcceptPageCommandError = async (output, context) =>
376
376
  switch (errorCode) {
377
377
  case "AccessDeniedException":
378
378
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
379
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
379
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
380
380
  case "InternalServerException":
381
381
  case "com.amazonaws.ssmcontacts#InternalServerException":
382
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
382
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
383
383
  case "ResourceNotFoundException":
384
384
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
385
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
385
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
386
386
  case "ThrottlingException":
387
387
  case "com.amazonaws.ssmcontacts#ThrottlingException":
388
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
388
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
389
389
  case "ValidationException":
390
390
  case "com.amazonaws.ssmcontacts#ValidationException":
391
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
391
+ throw await de_ValidationExceptionRes(parsedOutput, context);
392
392
  default:
393
393
  const parsedBody = parsedOutput.body;
394
394
  throwDefaultError({
@@ -399,20 +399,20 @@ const deserializeAws_json1_1AcceptPageCommandError = async (output, context) =>
399
399
  });
400
400
  }
401
401
  };
402
- export const deserializeAws_json1_1ActivateContactChannelCommand = async (output, context) => {
402
+ export const de_ActivateContactChannelCommand = async (output, context) => {
403
403
  if (output.statusCode >= 300) {
404
- return deserializeAws_json1_1ActivateContactChannelCommandError(output, context);
404
+ return de_ActivateContactChannelCommandError(output, context);
405
405
  }
406
406
  const data = await parseBody(output.body, context);
407
407
  let contents = {};
408
- contents = deserializeAws_json1_1ActivateContactChannelResult(data, context);
408
+ contents = de_ActivateContactChannelResult(data, context);
409
409
  const response = {
410
410
  $metadata: deserializeMetadata(output),
411
411
  ...contents,
412
412
  };
413
413
  return Promise.resolve(response);
414
414
  };
415
- const deserializeAws_json1_1ActivateContactChannelCommandError = async (output, context) => {
415
+ const de_ActivateContactChannelCommandError = async (output, context) => {
416
416
  const parsedOutput = {
417
417
  ...output,
418
418
  body: await parseErrorBody(output.body, context),
@@ -421,19 +421,19 @@ const deserializeAws_json1_1ActivateContactChannelCommandError = async (output,
421
421
  switch (errorCode) {
422
422
  case "AccessDeniedException":
423
423
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
424
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
424
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
425
425
  case "InternalServerException":
426
426
  case "com.amazonaws.ssmcontacts#InternalServerException":
427
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
427
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
428
428
  case "ResourceNotFoundException":
429
429
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
430
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
431
431
  case "ThrottlingException":
432
432
  case "com.amazonaws.ssmcontacts#ThrottlingException":
433
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
434
434
  case "ValidationException":
435
435
  case "com.amazonaws.ssmcontacts#ValidationException":
436
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
436
+ throw await de_ValidationExceptionRes(parsedOutput, context);
437
437
  default:
438
438
  const parsedBody = parsedOutput.body;
439
439
  throwDefaultError({
@@ -444,20 +444,20 @@ const deserializeAws_json1_1ActivateContactChannelCommandError = async (output,
444
444
  });
445
445
  }
446
446
  };
447
- export const deserializeAws_json1_1CreateContactCommand = async (output, context) => {
447
+ export const de_CreateContactCommand = async (output, context) => {
448
448
  if (output.statusCode >= 300) {
449
- return deserializeAws_json1_1CreateContactCommandError(output, context);
449
+ return de_CreateContactCommandError(output, context);
450
450
  }
451
451
  const data = await parseBody(output.body, context);
452
452
  let contents = {};
453
- contents = deserializeAws_json1_1CreateContactResult(data, context);
453
+ contents = de_CreateContactResult(data, context);
454
454
  const response = {
455
455
  $metadata: deserializeMetadata(output),
456
456
  ...contents,
457
457
  };
458
458
  return Promise.resolve(response);
459
459
  };
460
- const deserializeAws_json1_1CreateContactCommandError = async (output, context) => {
460
+ const de_CreateContactCommandError = async (output, context) => {
461
461
  const parsedOutput = {
462
462
  ...output,
463
463
  body: await parseErrorBody(output.body, context),
@@ -466,25 +466,25 @@ const deserializeAws_json1_1CreateContactCommandError = async (output, context)
466
466
  switch (errorCode) {
467
467
  case "AccessDeniedException":
468
468
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
469
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
469
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
470
470
  case "ConflictException":
471
471
  case "com.amazonaws.ssmcontacts#ConflictException":
472
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
472
+ throw await de_ConflictExceptionRes(parsedOutput, context);
473
473
  case "DataEncryptionException":
474
474
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
475
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
475
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
476
476
  case "InternalServerException":
477
477
  case "com.amazonaws.ssmcontacts#InternalServerException":
478
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
478
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
479
479
  case "ServiceQuotaExceededException":
480
480
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
481
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
481
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
482
482
  case "ThrottlingException":
483
483
  case "com.amazonaws.ssmcontacts#ThrottlingException":
484
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
484
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
485
485
  case "ValidationException":
486
486
  case "com.amazonaws.ssmcontacts#ValidationException":
487
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
487
+ throw await de_ValidationExceptionRes(parsedOutput, context);
488
488
  default:
489
489
  const parsedBody = parsedOutput.body;
490
490
  throwDefaultError({
@@ -495,20 +495,20 @@ const deserializeAws_json1_1CreateContactCommandError = async (output, context)
495
495
  });
496
496
  }
497
497
  };
498
- export const deserializeAws_json1_1CreateContactChannelCommand = async (output, context) => {
498
+ export const de_CreateContactChannelCommand = async (output, context) => {
499
499
  if (output.statusCode >= 300) {
500
- return deserializeAws_json1_1CreateContactChannelCommandError(output, context);
500
+ return de_CreateContactChannelCommandError(output, context);
501
501
  }
502
502
  const data = await parseBody(output.body, context);
503
503
  let contents = {};
504
- contents = deserializeAws_json1_1CreateContactChannelResult(data, context);
504
+ contents = de_CreateContactChannelResult(data, context);
505
505
  const response = {
506
506
  $metadata: deserializeMetadata(output),
507
507
  ...contents,
508
508
  };
509
509
  return Promise.resolve(response);
510
510
  };
511
- const deserializeAws_json1_1CreateContactChannelCommandError = async (output, context) => {
511
+ const de_CreateContactChannelCommandError = async (output, context) => {
512
512
  const parsedOutput = {
513
513
  ...output,
514
514
  body: await parseErrorBody(output.body, context),
@@ -517,22 +517,22 @@ const deserializeAws_json1_1CreateContactChannelCommandError = async (output, co
517
517
  switch (errorCode) {
518
518
  case "AccessDeniedException":
519
519
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
520
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
520
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
521
521
  case "ConflictException":
522
522
  case "com.amazonaws.ssmcontacts#ConflictException":
523
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
523
+ throw await de_ConflictExceptionRes(parsedOutput, context);
524
524
  case "DataEncryptionException":
525
525
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
526
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
526
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
527
527
  case "InternalServerException":
528
528
  case "com.amazonaws.ssmcontacts#InternalServerException":
529
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
529
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
530
530
  case "ThrottlingException":
531
531
  case "com.amazonaws.ssmcontacts#ThrottlingException":
532
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
532
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
533
533
  case "ValidationException":
534
534
  case "com.amazonaws.ssmcontacts#ValidationException":
535
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
535
+ throw await de_ValidationExceptionRes(parsedOutput, context);
536
536
  default:
537
537
  const parsedBody = parsedOutput.body;
538
538
  throwDefaultError({
@@ -543,20 +543,20 @@ const deserializeAws_json1_1CreateContactChannelCommandError = async (output, co
543
543
  });
544
544
  }
545
545
  };
546
- export const deserializeAws_json1_1CreateRotationCommand = async (output, context) => {
546
+ export const de_CreateRotationCommand = async (output, context) => {
547
547
  if (output.statusCode >= 300) {
548
- return deserializeAws_json1_1CreateRotationCommandError(output, context);
548
+ return de_CreateRotationCommandError(output, context);
549
549
  }
550
550
  const data = await parseBody(output.body, context);
551
551
  let contents = {};
552
- contents = deserializeAws_json1_1CreateRotationResult(data, context);
552
+ contents = de_CreateRotationResult(data, context);
553
553
  const response = {
554
554
  $metadata: deserializeMetadata(output),
555
555
  ...contents,
556
556
  };
557
557
  return Promise.resolve(response);
558
558
  };
559
- const deserializeAws_json1_1CreateRotationCommandError = async (output, context) => {
559
+ const de_CreateRotationCommandError = async (output, context) => {
560
560
  const parsedOutput = {
561
561
  ...output,
562
562
  body: await parseErrorBody(output.body, context),
@@ -565,22 +565,22 @@ const deserializeAws_json1_1CreateRotationCommandError = async (output, context)
565
565
  switch (errorCode) {
566
566
  case "AccessDeniedException":
567
567
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
568
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
568
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
569
569
  case "InternalServerException":
570
570
  case "com.amazonaws.ssmcontacts#InternalServerException":
571
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
571
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
572
572
  case "ResourceNotFoundException":
573
573
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
574
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
574
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
575
575
  case "ServiceQuotaExceededException":
576
576
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
577
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
577
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
578
578
  case "ThrottlingException":
579
579
  case "com.amazonaws.ssmcontacts#ThrottlingException":
580
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
580
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
581
581
  case "ValidationException":
582
582
  case "com.amazonaws.ssmcontacts#ValidationException":
583
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
583
+ throw await de_ValidationExceptionRes(parsedOutput, context);
584
584
  default:
585
585
  const parsedBody = parsedOutput.body;
586
586
  throwDefaultError({
@@ -591,20 +591,20 @@ const deserializeAws_json1_1CreateRotationCommandError = async (output, context)
591
591
  });
592
592
  }
593
593
  };
594
- export const deserializeAws_json1_1CreateRotationOverrideCommand = async (output, context) => {
594
+ export const de_CreateRotationOverrideCommand = async (output, context) => {
595
595
  if (output.statusCode >= 300) {
596
- return deserializeAws_json1_1CreateRotationOverrideCommandError(output, context);
596
+ return de_CreateRotationOverrideCommandError(output, context);
597
597
  }
598
598
  const data = await parseBody(output.body, context);
599
599
  let contents = {};
600
- contents = deserializeAws_json1_1CreateRotationOverrideResult(data, context);
600
+ contents = de_CreateRotationOverrideResult(data, context);
601
601
  const response = {
602
602
  $metadata: deserializeMetadata(output),
603
603
  ...contents,
604
604
  };
605
605
  return Promise.resolve(response);
606
606
  };
607
- const deserializeAws_json1_1CreateRotationOverrideCommandError = async (output, context) => {
607
+ const de_CreateRotationOverrideCommandError = async (output, context) => {
608
608
  const parsedOutput = {
609
609
  ...output,
610
610
  body: await parseErrorBody(output.body, context),
@@ -613,22 +613,22 @@ const deserializeAws_json1_1CreateRotationOverrideCommandError = async (output,
613
613
  switch (errorCode) {
614
614
  case "AccessDeniedException":
615
615
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
616
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
616
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
617
617
  case "InternalServerException":
618
618
  case "com.amazonaws.ssmcontacts#InternalServerException":
619
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
619
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
620
620
  case "ResourceNotFoundException":
621
621
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
622
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
622
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
623
623
  case "ServiceQuotaExceededException":
624
624
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
625
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
625
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
626
626
  case "ThrottlingException":
627
627
  case "com.amazonaws.ssmcontacts#ThrottlingException":
628
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
628
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
629
629
  case "ValidationException":
630
630
  case "com.amazonaws.ssmcontacts#ValidationException":
631
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
631
+ throw await de_ValidationExceptionRes(parsedOutput, context);
632
632
  default:
633
633
  const parsedBody = parsedOutput.body;
634
634
  throwDefaultError({
@@ -639,20 +639,20 @@ const deserializeAws_json1_1CreateRotationOverrideCommandError = async (output,
639
639
  });
640
640
  }
641
641
  };
642
- export const deserializeAws_json1_1DeactivateContactChannelCommand = async (output, context) => {
642
+ export const de_DeactivateContactChannelCommand = async (output, context) => {
643
643
  if (output.statusCode >= 300) {
644
- return deserializeAws_json1_1DeactivateContactChannelCommandError(output, context);
644
+ return de_DeactivateContactChannelCommandError(output, context);
645
645
  }
646
646
  const data = await parseBody(output.body, context);
647
647
  let contents = {};
648
- contents = deserializeAws_json1_1DeactivateContactChannelResult(data, context);
648
+ contents = de_DeactivateContactChannelResult(data, context);
649
649
  const response = {
650
650
  $metadata: deserializeMetadata(output),
651
651
  ...contents,
652
652
  };
653
653
  return Promise.resolve(response);
654
654
  };
655
- const deserializeAws_json1_1DeactivateContactChannelCommandError = async (output, context) => {
655
+ const de_DeactivateContactChannelCommandError = async (output, context) => {
656
656
  const parsedOutput = {
657
657
  ...output,
658
658
  body: await parseErrorBody(output.body, context),
@@ -661,19 +661,19 @@ const deserializeAws_json1_1DeactivateContactChannelCommandError = async (output
661
661
  switch (errorCode) {
662
662
  case "AccessDeniedException":
663
663
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
664
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
664
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
665
665
  case "InternalServerException":
666
666
  case "com.amazonaws.ssmcontacts#InternalServerException":
667
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
667
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
668
668
  case "ResourceNotFoundException":
669
669
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
670
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
670
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
671
671
  case "ThrottlingException":
672
672
  case "com.amazonaws.ssmcontacts#ThrottlingException":
673
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
673
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
674
674
  case "ValidationException":
675
675
  case "com.amazonaws.ssmcontacts#ValidationException":
676
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
676
+ throw await de_ValidationExceptionRes(parsedOutput, context);
677
677
  default:
678
678
  const parsedBody = parsedOutput.body;
679
679
  throwDefaultError({
@@ -684,20 +684,20 @@ const deserializeAws_json1_1DeactivateContactChannelCommandError = async (output
684
684
  });
685
685
  }
686
686
  };
687
- export const deserializeAws_json1_1DeleteContactCommand = async (output, context) => {
687
+ export const de_DeleteContactCommand = async (output, context) => {
688
688
  if (output.statusCode >= 300) {
689
- return deserializeAws_json1_1DeleteContactCommandError(output, context);
689
+ return de_DeleteContactCommandError(output, context);
690
690
  }
691
691
  const data = await parseBody(output.body, context);
692
692
  let contents = {};
693
- contents = deserializeAws_json1_1DeleteContactResult(data, context);
693
+ contents = de_DeleteContactResult(data, context);
694
694
  const response = {
695
695
  $metadata: deserializeMetadata(output),
696
696
  ...contents,
697
697
  };
698
698
  return Promise.resolve(response);
699
699
  };
700
- const deserializeAws_json1_1DeleteContactCommandError = async (output, context) => {
700
+ const de_DeleteContactCommandError = async (output, context) => {
701
701
  const parsedOutput = {
702
702
  ...output,
703
703
  body: await parseErrorBody(output.body, context),
@@ -706,22 +706,22 @@ const deserializeAws_json1_1DeleteContactCommandError = async (output, context)
706
706
  switch (errorCode) {
707
707
  case "AccessDeniedException":
708
708
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
709
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
709
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
710
710
  case "ConflictException":
711
711
  case "com.amazonaws.ssmcontacts#ConflictException":
712
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
712
+ throw await de_ConflictExceptionRes(parsedOutput, context);
713
713
  case "InternalServerException":
714
714
  case "com.amazonaws.ssmcontacts#InternalServerException":
715
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
715
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
716
716
  case "ResourceNotFoundException":
717
717
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
718
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
718
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
719
719
  case "ThrottlingException":
720
720
  case "com.amazonaws.ssmcontacts#ThrottlingException":
721
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
721
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
722
722
  case "ValidationException":
723
723
  case "com.amazonaws.ssmcontacts#ValidationException":
724
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
724
+ throw await de_ValidationExceptionRes(parsedOutput, context);
725
725
  default:
726
726
  const parsedBody = parsedOutput.body;
727
727
  throwDefaultError({
@@ -732,20 +732,20 @@ const deserializeAws_json1_1DeleteContactCommandError = async (output, context)
732
732
  });
733
733
  }
734
734
  };
735
- export const deserializeAws_json1_1DeleteContactChannelCommand = async (output, context) => {
735
+ export const de_DeleteContactChannelCommand = async (output, context) => {
736
736
  if (output.statusCode >= 300) {
737
- return deserializeAws_json1_1DeleteContactChannelCommandError(output, context);
737
+ return de_DeleteContactChannelCommandError(output, context);
738
738
  }
739
739
  const data = await parseBody(output.body, context);
740
740
  let contents = {};
741
- contents = deserializeAws_json1_1DeleteContactChannelResult(data, context);
741
+ contents = de_DeleteContactChannelResult(data, context);
742
742
  const response = {
743
743
  $metadata: deserializeMetadata(output),
744
744
  ...contents,
745
745
  };
746
746
  return Promise.resolve(response);
747
747
  };
748
- const deserializeAws_json1_1DeleteContactChannelCommandError = async (output, context) => {
748
+ const de_DeleteContactChannelCommandError = async (output, context) => {
749
749
  const parsedOutput = {
750
750
  ...output,
751
751
  body: await parseErrorBody(output.body, context),
@@ -754,19 +754,19 @@ const deserializeAws_json1_1DeleteContactChannelCommandError = async (output, co
754
754
  switch (errorCode) {
755
755
  case "AccessDeniedException":
756
756
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
757
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
757
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
758
758
  case "InternalServerException":
759
759
  case "com.amazonaws.ssmcontacts#InternalServerException":
760
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
760
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
761
761
  case "ResourceNotFoundException":
762
762
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
763
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
763
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
764
764
  case "ThrottlingException":
765
765
  case "com.amazonaws.ssmcontacts#ThrottlingException":
766
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
766
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
767
767
  case "ValidationException":
768
768
  case "com.amazonaws.ssmcontacts#ValidationException":
769
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
769
+ throw await de_ValidationExceptionRes(parsedOutput, context);
770
770
  default:
771
771
  const parsedBody = parsedOutput.body;
772
772
  throwDefaultError({
@@ -777,20 +777,20 @@ const deserializeAws_json1_1DeleteContactChannelCommandError = async (output, co
777
777
  });
778
778
  }
779
779
  };
780
- export const deserializeAws_json1_1DeleteRotationCommand = async (output, context) => {
780
+ export const de_DeleteRotationCommand = async (output, context) => {
781
781
  if (output.statusCode >= 300) {
782
- return deserializeAws_json1_1DeleteRotationCommandError(output, context);
782
+ return de_DeleteRotationCommandError(output, context);
783
783
  }
784
784
  const data = await parseBody(output.body, context);
785
785
  let contents = {};
786
- contents = deserializeAws_json1_1DeleteRotationResult(data, context);
786
+ contents = de_DeleteRotationResult(data, context);
787
787
  const response = {
788
788
  $metadata: deserializeMetadata(output),
789
789
  ...contents,
790
790
  };
791
791
  return Promise.resolve(response);
792
792
  };
793
- const deserializeAws_json1_1DeleteRotationCommandError = async (output, context) => {
793
+ const de_DeleteRotationCommandError = async (output, context) => {
794
794
  const parsedOutput = {
795
795
  ...output,
796
796
  body: await parseErrorBody(output.body, context),
@@ -799,22 +799,22 @@ const deserializeAws_json1_1DeleteRotationCommandError = async (output, context)
799
799
  switch (errorCode) {
800
800
  case "AccessDeniedException":
801
801
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
802
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
802
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
803
803
  case "ConflictException":
804
804
  case "com.amazonaws.ssmcontacts#ConflictException":
805
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
805
+ throw await de_ConflictExceptionRes(parsedOutput, context);
806
806
  case "InternalServerException":
807
807
  case "com.amazonaws.ssmcontacts#InternalServerException":
808
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
808
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
809
809
  case "ResourceNotFoundException":
810
810
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
811
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
811
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
812
812
  case "ThrottlingException":
813
813
  case "com.amazonaws.ssmcontacts#ThrottlingException":
814
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
814
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
815
815
  case "ValidationException":
816
816
  case "com.amazonaws.ssmcontacts#ValidationException":
817
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
817
+ throw await de_ValidationExceptionRes(parsedOutput, context);
818
818
  default:
819
819
  const parsedBody = parsedOutput.body;
820
820
  throwDefaultError({
@@ -825,20 +825,20 @@ const deserializeAws_json1_1DeleteRotationCommandError = async (output, context)
825
825
  });
826
826
  }
827
827
  };
828
- export const deserializeAws_json1_1DeleteRotationOverrideCommand = async (output, context) => {
828
+ export const de_DeleteRotationOverrideCommand = async (output, context) => {
829
829
  if (output.statusCode >= 300) {
830
- return deserializeAws_json1_1DeleteRotationOverrideCommandError(output, context);
830
+ return de_DeleteRotationOverrideCommandError(output, context);
831
831
  }
832
832
  const data = await parseBody(output.body, context);
833
833
  let contents = {};
834
- contents = deserializeAws_json1_1DeleteRotationOverrideResult(data, context);
834
+ contents = de_DeleteRotationOverrideResult(data, context);
835
835
  const response = {
836
836
  $metadata: deserializeMetadata(output),
837
837
  ...contents,
838
838
  };
839
839
  return Promise.resolve(response);
840
840
  };
841
- const deserializeAws_json1_1DeleteRotationOverrideCommandError = async (output, context) => {
841
+ const de_DeleteRotationOverrideCommandError = async (output, context) => {
842
842
  const parsedOutput = {
843
843
  ...output,
844
844
  body: await parseErrorBody(output.body, context),
@@ -847,19 +847,19 @@ const deserializeAws_json1_1DeleteRotationOverrideCommandError = async (output,
847
847
  switch (errorCode) {
848
848
  case "AccessDeniedException":
849
849
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
850
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
850
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
851
851
  case "InternalServerException":
852
852
  case "com.amazonaws.ssmcontacts#InternalServerException":
853
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
853
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
854
854
  case "ResourceNotFoundException":
855
855
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
856
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
856
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
857
857
  case "ThrottlingException":
858
858
  case "com.amazonaws.ssmcontacts#ThrottlingException":
859
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
859
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
860
860
  case "ValidationException":
861
861
  case "com.amazonaws.ssmcontacts#ValidationException":
862
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
862
+ throw await de_ValidationExceptionRes(parsedOutput, context);
863
863
  default:
864
864
  const parsedBody = parsedOutput.body;
865
865
  throwDefaultError({
@@ -870,20 +870,20 @@ const deserializeAws_json1_1DeleteRotationOverrideCommandError = async (output,
870
870
  });
871
871
  }
872
872
  };
873
- export const deserializeAws_json1_1DescribeEngagementCommand = async (output, context) => {
873
+ export const de_DescribeEngagementCommand = async (output, context) => {
874
874
  if (output.statusCode >= 300) {
875
- return deserializeAws_json1_1DescribeEngagementCommandError(output, context);
875
+ return de_DescribeEngagementCommandError(output, context);
876
876
  }
877
877
  const data = await parseBody(output.body, context);
878
878
  let contents = {};
879
- contents = deserializeAws_json1_1DescribeEngagementResult(data, context);
879
+ contents = de_DescribeEngagementResult(data, context);
880
880
  const response = {
881
881
  $metadata: deserializeMetadata(output),
882
882
  ...contents,
883
883
  };
884
884
  return Promise.resolve(response);
885
885
  };
886
- const deserializeAws_json1_1DescribeEngagementCommandError = async (output, context) => {
886
+ const de_DescribeEngagementCommandError = async (output, context) => {
887
887
  const parsedOutput = {
888
888
  ...output,
889
889
  body: await parseErrorBody(output.body, context),
@@ -892,22 +892,22 @@ const deserializeAws_json1_1DescribeEngagementCommandError = async (output, cont
892
892
  switch (errorCode) {
893
893
  case "AccessDeniedException":
894
894
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
895
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
895
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
896
896
  case "DataEncryptionException":
897
897
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
898
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
898
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
899
899
  case "InternalServerException":
900
900
  case "com.amazonaws.ssmcontacts#InternalServerException":
901
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
901
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
902
902
  case "ResourceNotFoundException":
903
903
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
904
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
904
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
905
905
  case "ThrottlingException":
906
906
  case "com.amazonaws.ssmcontacts#ThrottlingException":
907
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
907
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
908
908
  case "ValidationException":
909
909
  case "com.amazonaws.ssmcontacts#ValidationException":
910
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
910
+ throw await de_ValidationExceptionRes(parsedOutput, context);
911
911
  default:
912
912
  const parsedBody = parsedOutput.body;
913
913
  throwDefaultError({
@@ -918,20 +918,20 @@ const deserializeAws_json1_1DescribeEngagementCommandError = async (output, cont
918
918
  });
919
919
  }
920
920
  };
921
- export const deserializeAws_json1_1DescribePageCommand = async (output, context) => {
921
+ export const de_DescribePageCommand = async (output, context) => {
922
922
  if (output.statusCode >= 300) {
923
- return deserializeAws_json1_1DescribePageCommandError(output, context);
923
+ return de_DescribePageCommandError(output, context);
924
924
  }
925
925
  const data = await parseBody(output.body, context);
926
926
  let contents = {};
927
- contents = deserializeAws_json1_1DescribePageResult(data, context);
927
+ contents = de_DescribePageResult(data, context);
928
928
  const response = {
929
929
  $metadata: deserializeMetadata(output),
930
930
  ...contents,
931
931
  };
932
932
  return Promise.resolve(response);
933
933
  };
934
- const deserializeAws_json1_1DescribePageCommandError = async (output, context) => {
934
+ const de_DescribePageCommandError = async (output, context) => {
935
935
  const parsedOutput = {
936
936
  ...output,
937
937
  body: await parseErrorBody(output.body, context),
@@ -940,22 +940,22 @@ const deserializeAws_json1_1DescribePageCommandError = async (output, context) =
940
940
  switch (errorCode) {
941
941
  case "AccessDeniedException":
942
942
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
943
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
943
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
944
944
  case "DataEncryptionException":
945
945
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
946
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
946
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
947
947
  case "InternalServerException":
948
948
  case "com.amazonaws.ssmcontacts#InternalServerException":
949
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
949
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
950
950
  case "ResourceNotFoundException":
951
951
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
952
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
952
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
953
953
  case "ThrottlingException":
954
954
  case "com.amazonaws.ssmcontacts#ThrottlingException":
955
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
955
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
956
956
  case "ValidationException":
957
957
  case "com.amazonaws.ssmcontacts#ValidationException":
958
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
958
+ throw await de_ValidationExceptionRes(parsedOutput, context);
959
959
  default:
960
960
  const parsedBody = parsedOutput.body;
961
961
  throwDefaultError({
@@ -966,20 +966,20 @@ const deserializeAws_json1_1DescribePageCommandError = async (output, context) =
966
966
  });
967
967
  }
968
968
  };
969
- export const deserializeAws_json1_1GetContactCommand = async (output, context) => {
969
+ export const de_GetContactCommand = async (output, context) => {
970
970
  if (output.statusCode >= 300) {
971
- return deserializeAws_json1_1GetContactCommandError(output, context);
971
+ return de_GetContactCommandError(output, context);
972
972
  }
973
973
  const data = await parseBody(output.body, context);
974
974
  let contents = {};
975
- contents = deserializeAws_json1_1GetContactResult(data, context);
975
+ contents = de_GetContactResult(data, context);
976
976
  const response = {
977
977
  $metadata: deserializeMetadata(output),
978
978
  ...contents,
979
979
  };
980
980
  return Promise.resolve(response);
981
981
  };
982
- const deserializeAws_json1_1GetContactCommandError = async (output, context) => {
982
+ const de_GetContactCommandError = async (output, context) => {
983
983
  const parsedOutput = {
984
984
  ...output,
985
985
  body: await parseErrorBody(output.body, context),
@@ -988,22 +988,22 @@ const deserializeAws_json1_1GetContactCommandError = async (output, context) =>
988
988
  switch (errorCode) {
989
989
  case "AccessDeniedException":
990
990
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
991
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
991
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
992
992
  case "DataEncryptionException":
993
993
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
994
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
994
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
995
995
  case "InternalServerException":
996
996
  case "com.amazonaws.ssmcontacts#InternalServerException":
997
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
997
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
998
998
  case "ResourceNotFoundException":
999
999
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1000
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1000
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1001
1001
  case "ThrottlingException":
1002
1002
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1003
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1003
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1004
1004
  case "ValidationException":
1005
1005
  case "com.amazonaws.ssmcontacts#ValidationException":
1006
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1006
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1007
1007
  default:
1008
1008
  const parsedBody = parsedOutput.body;
1009
1009
  throwDefaultError({
@@ -1014,20 +1014,20 @@ const deserializeAws_json1_1GetContactCommandError = async (output, context) =>
1014
1014
  });
1015
1015
  }
1016
1016
  };
1017
- export const deserializeAws_json1_1GetContactChannelCommand = async (output, context) => {
1017
+ export const de_GetContactChannelCommand = async (output, context) => {
1018
1018
  if (output.statusCode >= 300) {
1019
- return deserializeAws_json1_1GetContactChannelCommandError(output, context);
1019
+ return de_GetContactChannelCommandError(output, context);
1020
1020
  }
1021
1021
  const data = await parseBody(output.body, context);
1022
1022
  let contents = {};
1023
- contents = deserializeAws_json1_1GetContactChannelResult(data, context);
1023
+ contents = de_GetContactChannelResult(data, context);
1024
1024
  const response = {
1025
1025
  $metadata: deserializeMetadata(output),
1026
1026
  ...contents,
1027
1027
  };
1028
1028
  return Promise.resolve(response);
1029
1029
  };
1030
- const deserializeAws_json1_1GetContactChannelCommandError = async (output, context) => {
1030
+ const de_GetContactChannelCommandError = async (output, context) => {
1031
1031
  const parsedOutput = {
1032
1032
  ...output,
1033
1033
  body: await parseErrorBody(output.body, context),
@@ -1036,22 +1036,22 @@ const deserializeAws_json1_1GetContactChannelCommandError = async (output, conte
1036
1036
  switch (errorCode) {
1037
1037
  case "AccessDeniedException":
1038
1038
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1039
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1039
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1040
1040
  case "DataEncryptionException":
1041
1041
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
1042
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
1042
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
1043
1043
  case "InternalServerException":
1044
1044
  case "com.amazonaws.ssmcontacts#InternalServerException":
1045
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1045
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1046
1046
  case "ResourceNotFoundException":
1047
1047
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1048
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1048
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1049
1049
  case "ThrottlingException":
1050
1050
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1051
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1051
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1052
1052
  case "ValidationException":
1053
1053
  case "com.amazonaws.ssmcontacts#ValidationException":
1054
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1054
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1055
1055
  default:
1056
1056
  const parsedBody = parsedOutput.body;
1057
1057
  throwDefaultError({
@@ -1062,20 +1062,20 @@ const deserializeAws_json1_1GetContactChannelCommandError = async (output, conte
1062
1062
  });
1063
1063
  }
1064
1064
  };
1065
- export const deserializeAws_json1_1GetContactPolicyCommand = async (output, context) => {
1065
+ export const de_GetContactPolicyCommand = async (output, context) => {
1066
1066
  if (output.statusCode >= 300) {
1067
- return deserializeAws_json1_1GetContactPolicyCommandError(output, context);
1067
+ return de_GetContactPolicyCommandError(output, context);
1068
1068
  }
1069
1069
  const data = await parseBody(output.body, context);
1070
1070
  let contents = {};
1071
- contents = deserializeAws_json1_1GetContactPolicyResult(data, context);
1071
+ contents = de_GetContactPolicyResult(data, context);
1072
1072
  const response = {
1073
1073
  $metadata: deserializeMetadata(output),
1074
1074
  ...contents,
1075
1075
  };
1076
1076
  return Promise.resolve(response);
1077
1077
  };
1078
- const deserializeAws_json1_1GetContactPolicyCommandError = async (output, context) => {
1078
+ const de_GetContactPolicyCommandError = async (output, context) => {
1079
1079
  const parsedOutput = {
1080
1080
  ...output,
1081
1081
  body: await parseErrorBody(output.body, context),
@@ -1084,19 +1084,19 @@ const deserializeAws_json1_1GetContactPolicyCommandError = async (output, contex
1084
1084
  switch (errorCode) {
1085
1085
  case "AccessDeniedException":
1086
1086
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1087
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1087
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1088
1088
  case "InternalServerException":
1089
1089
  case "com.amazonaws.ssmcontacts#InternalServerException":
1090
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1090
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1091
1091
  case "ResourceNotFoundException":
1092
1092
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1093
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1093
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1094
1094
  case "ThrottlingException":
1095
1095
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1096
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1096
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1097
1097
  case "ValidationException":
1098
1098
  case "com.amazonaws.ssmcontacts#ValidationException":
1099
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1099
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1100
1100
  default:
1101
1101
  const parsedBody = parsedOutput.body;
1102
1102
  throwDefaultError({
@@ -1107,20 +1107,20 @@ const deserializeAws_json1_1GetContactPolicyCommandError = async (output, contex
1107
1107
  });
1108
1108
  }
1109
1109
  };
1110
- export const deserializeAws_json1_1GetRotationCommand = async (output, context) => {
1110
+ export const de_GetRotationCommand = async (output, context) => {
1111
1111
  if (output.statusCode >= 300) {
1112
- return deserializeAws_json1_1GetRotationCommandError(output, context);
1112
+ return de_GetRotationCommandError(output, context);
1113
1113
  }
1114
1114
  const data = await parseBody(output.body, context);
1115
1115
  let contents = {};
1116
- contents = deserializeAws_json1_1GetRotationResult(data, context);
1116
+ contents = de_GetRotationResult(data, context);
1117
1117
  const response = {
1118
1118
  $metadata: deserializeMetadata(output),
1119
1119
  ...contents,
1120
1120
  };
1121
1121
  return Promise.resolve(response);
1122
1122
  };
1123
- const deserializeAws_json1_1GetRotationCommandError = async (output, context) => {
1123
+ const de_GetRotationCommandError = async (output, context) => {
1124
1124
  const parsedOutput = {
1125
1125
  ...output,
1126
1126
  body: await parseErrorBody(output.body, context),
@@ -1129,19 +1129,19 @@ const deserializeAws_json1_1GetRotationCommandError = async (output, context) =>
1129
1129
  switch (errorCode) {
1130
1130
  case "AccessDeniedException":
1131
1131
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1132
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1132
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1133
1133
  case "InternalServerException":
1134
1134
  case "com.amazonaws.ssmcontacts#InternalServerException":
1135
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1135
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1136
1136
  case "ResourceNotFoundException":
1137
1137
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1138
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1138
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1139
1139
  case "ThrottlingException":
1140
1140
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1141
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1141
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1142
1142
  case "ValidationException":
1143
1143
  case "com.amazonaws.ssmcontacts#ValidationException":
1144
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1144
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1145
1145
  default:
1146
1146
  const parsedBody = parsedOutput.body;
1147
1147
  throwDefaultError({
@@ -1152,20 +1152,20 @@ const deserializeAws_json1_1GetRotationCommandError = async (output, context) =>
1152
1152
  });
1153
1153
  }
1154
1154
  };
1155
- export const deserializeAws_json1_1GetRotationOverrideCommand = async (output, context) => {
1155
+ export const de_GetRotationOverrideCommand = async (output, context) => {
1156
1156
  if (output.statusCode >= 300) {
1157
- return deserializeAws_json1_1GetRotationOverrideCommandError(output, context);
1157
+ return de_GetRotationOverrideCommandError(output, context);
1158
1158
  }
1159
1159
  const data = await parseBody(output.body, context);
1160
1160
  let contents = {};
1161
- contents = deserializeAws_json1_1GetRotationOverrideResult(data, context);
1161
+ contents = de_GetRotationOverrideResult(data, context);
1162
1162
  const response = {
1163
1163
  $metadata: deserializeMetadata(output),
1164
1164
  ...contents,
1165
1165
  };
1166
1166
  return Promise.resolve(response);
1167
1167
  };
1168
- const deserializeAws_json1_1GetRotationOverrideCommandError = async (output, context) => {
1168
+ const de_GetRotationOverrideCommandError = async (output, context) => {
1169
1169
  const parsedOutput = {
1170
1170
  ...output,
1171
1171
  body: await parseErrorBody(output.body, context),
@@ -1174,19 +1174,19 @@ const deserializeAws_json1_1GetRotationOverrideCommandError = async (output, con
1174
1174
  switch (errorCode) {
1175
1175
  case "AccessDeniedException":
1176
1176
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1177
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1177
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1178
1178
  case "InternalServerException":
1179
1179
  case "com.amazonaws.ssmcontacts#InternalServerException":
1180
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1180
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1181
1181
  case "ResourceNotFoundException":
1182
1182
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1183
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1183
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1184
1184
  case "ThrottlingException":
1185
1185
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1186
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1186
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1187
1187
  case "ValidationException":
1188
1188
  case "com.amazonaws.ssmcontacts#ValidationException":
1189
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1189
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1190
1190
  default:
1191
1191
  const parsedBody = parsedOutput.body;
1192
1192
  throwDefaultError({
@@ -1197,20 +1197,20 @@ const deserializeAws_json1_1GetRotationOverrideCommandError = async (output, con
1197
1197
  });
1198
1198
  }
1199
1199
  };
1200
- export const deserializeAws_json1_1ListContactChannelsCommand = async (output, context) => {
1200
+ export const de_ListContactChannelsCommand = async (output, context) => {
1201
1201
  if (output.statusCode >= 300) {
1202
- return deserializeAws_json1_1ListContactChannelsCommandError(output, context);
1202
+ return de_ListContactChannelsCommandError(output, context);
1203
1203
  }
1204
1204
  const data = await parseBody(output.body, context);
1205
1205
  let contents = {};
1206
- contents = deserializeAws_json1_1ListContactChannelsResult(data, context);
1206
+ contents = de_ListContactChannelsResult(data, context);
1207
1207
  const response = {
1208
1208
  $metadata: deserializeMetadata(output),
1209
1209
  ...contents,
1210
1210
  };
1211
1211
  return Promise.resolve(response);
1212
1212
  };
1213
- const deserializeAws_json1_1ListContactChannelsCommandError = async (output, context) => {
1213
+ const de_ListContactChannelsCommandError = async (output, context) => {
1214
1214
  const parsedOutput = {
1215
1215
  ...output,
1216
1216
  body: await parseErrorBody(output.body, context),
@@ -1219,22 +1219,22 @@ const deserializeAws_json1_1ListContactChannelsCommandError = async (output, con
1219
1219
  switch (errorCode) {
1220
1220
  case "AccessDeniedException":
1221
1221
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1222
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1222
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1223
1223
  case "DataEncryptionException":
1224
1224
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
1225
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
1225
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
1226
1226
  case "InternalServerException":
1227
1227
  case "com.amazonaws.ssmcontacts#InternalServerException":
1228
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1228
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1229
1229
  case "ResourceNotFoundException":
1230
1230
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1231
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1231
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1232
1232
  case "ThrottlingException":
1233
1233
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1234
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1234
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1235
1235
  case "ValidationException":
1236
1236
  case "com.amazonaws.ssmcontacts#ValidationException":
1237
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1237
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1238
1238
  default:
1239
1239
  const parsedBody = parsedOutput.body;
1240
1240
  throwDefaultError({
@@ -1245,20 +1245,20 @@ const deserializeAws_json1_1ListContactChannelsCommandError = async (output, con
1245
1245
  });
1246
1246
  }
1247
1247
  };
1248
- export const deserializeAws_json1_1ListContactsCommand = async (output, context) => {
1248
+ export const de_ListContactsCommand = async (output, context) => {
1249
1249
  if (output.statusCode >= 300) {
1250
- return deserializeAws_json1_1ListContactsCommandError(output, context);
1250
+ return de_ListContactsCommandError(output, context);
1251
1251
  }
1252
1252
  const data = await parseBody(output.body, context);
1253
1253
  let contents = {};
1254
- contents = deserializeAws_json1_1ListContactsResult(data, context);
1254
+ contents = de_ListContactsResult(data, context);
1255
1255
  const response = {
1256
1256
  $metadata: deserializeMetadata(output),
1257
1257
  ...contents,
1258
1258
  };
1259
1259
  return Promise.resolve(response);
1260
1260
  };
1261
- const deserializeAws_json1_1ListContactsCommandError = async (output, context) => {
1261
+ const de_ListContactsCommandError = async (output, context) => {
1262
1262
  const parsedOutput = {
1263
1263
  ...output,
1264
1264
  body: await parseErrorBody(output.body, context),
@@ -1267,16 +1267,16 @@ const deserializeAws_json1_1ListContactsCommandError = async (output, context) =
1267
1267
  switch (errorCode) {
1268
1268
  case "AccessDeniedException":
1269
1269
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1270
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1270
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1271
1271
  case "InternalServerException":
1272
1272
  case "com.amazonaws.ssmcontacts#InternalServerException":
1273
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1273
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1274
1274
  case "ThrottlingException":
1275
1275
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1276
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1276
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1277
1277
  case "ValidationException":
1278
1278
  case "com.amazonaws.ssmcontacts#ValidationException":
1279
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1279
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1280
1280
  default:
1281
1281
  const parsedBody = parsedOutput.body;
1282
1282
  throwDefaultError({
@@ -1287,20 +1287,20 @@ const deserializeAws_json1_1ListContactsCommandError = async (output, context) =
1287
1287
  });
1288
1288
  }
1289
1289
  };
1290
- export const deserializeAws_json1_1ListEngagementsCommand = async (output, context) => {
1290
+ export const de_ListEngagementsCommand = async (output, context) => {
1291
1291
  if (output.statusCode >= 300) {
1292
- return deserializeAws_json1_1ListEngagementsCommandError(output, context);
1292
+ return de_ListEngagementsCommandError(output, context);
1293
1293
  }
1294
1294
  const data = await parseBody(output.body, context);
1295
1295
  let contents = {};
1296
- contents = deserializeAws_json1_1ListEngagementsResult(data, context);
1296
+ contents = de_ListEngagementsResult(data, 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_json1_1ListEngagementsCommandError = async (output, context) => {
1303
+ const de_ListEngagementsCommandError = async (output, context) => {
1304
1304
  const parsedOutput = {
1305
1305
  ...output,
1306
1306
  body: await parseErrorBody(output.body, context),
@@ -1309,16 +1309,16 @@ const deserializeAws_json1_1ListEngagementsCommandError = async (output, context
1309
1309
  switch (errorCode) {
1310
1310
  case "AccessDeniedException":
1311
1311
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1312
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1312
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1313
1313
  case "InternalServerException":
1314
1314
  case "com.amazonaws.ssmcontacts#InternalServerException":
1315
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1315
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1316
1316
  case "ThrottlingException":
1317
1317
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1318
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1318
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1319
1319
  case "ValidationException":
1320
1320
  case "com.amazonaws.ssmcontacts#ValidationException":
1321
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1321
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1322
1322
  default:
1323
1323
  const parsedBody = parsedOutput.body;
1324
1324
  throwDefaultError({
@@ -1329,20 +1329,20 @@ const deserializeAws_json1_1ListEngagementsCommandError = async (output, context
1329
1329
  });
1330
1330
  }
1331
1331
  };
1332
- export const deserializeAws_json1_1ListPageReceiptsCommand = async (output, context) => {
1332
+ export const de_ListPageReceiptsCommand = async (output, context) => {
1333
1333
  if (output.statusCode >= 300) {
1334
- return deserializeAws_json1_1ListPageReceiptsCommandError(output, context);
1334
+ return de_ListPageReceiptsCommandError(output, context);
1335
1335
  }
1336
1336
  const data = await parseBody(output.body, context);
1337
1337
  let contents = {};
1338
- contents = deserializeAws_json1_1ListPageReceiptsResult(data, context);
1338
+ contents = de_ListPageReceiptsResult(data, 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_json1_1ListPageReceiptsCommandError = async (output, context) => {
1345
+ const de_ListPageReceiptsCommandError = async (output, context) => {
1346
1346
  const parsedOutput = {
1347
1347
  ...output,
1348
1348
  body: await parseErrorBody(output.body, context),
@@ -1351,19 +1351,19 @@ const deserializeAws_json1_1ListPageReceiptsCommandError = async (output, contex
1351
1351
  switch (errorCode) {
1352
1352
  case "AccessDeniedException":
1353
1353
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1354
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1354
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1355
1355
  case "InternalServerException":
1356
1356
  case "com.amazonaws.ssmcontacts#InternalServerException":
1357
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1357
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1358
1358
  case "ResourceNotFoundException":
1359
1359
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1360
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1360
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1361
1361
  case "ThrottlingException":
1362
1362
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1363
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1363
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1364
1364
  case "ValidationException":
1365
1365
  case "com.amazonaws.ssmcontacts#ValidationException":
1366
- throw await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1ListPageReceiptsCommandError = async (output, contex
1374
1374
  });
1375
1375
  }
1376
1376
  };
1377
- export const deserializeAws_json1_1ListPageResolutionsCommand = async (output, context) => {
1377
+ export const de_ListPageResolutionsCommand = async (output, context) => {
1378
1378
  if (output.statusCode >= 300) {
1379
- return deserializeAws_json1_1ListPageResolutionsCommandError(output, context);
1379
+ return de_ListPageResolutionsCommandError(output, context);
1380
1380
  }
1381
1381
  const data = await parseBody(output.body, context);
1382
1382
  let contents = {};
1383
- contents = deserializeAws_json1_1ListPageResolutionsResult(data, context);
1383
+ contents = de_ListPageResolutionsResult(data, 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_json1_1ListPageResolutionsCommandError = async (output, context) => {
1390
+ const de_ListPageResolutionsCommandError = async (output, context) => {
1391
1391
  const parsedOutput = {
1392
1392
  ...output,
1393
1393
  body: await parseErrorBody(output.body, context),
@@ -1396,19 +1396,19 @@ const deserializeAws_json1_1ListPageResolutionsCommandError = async (output, con
1396
1396
  switch (errorCode) {
1397
1397
  case "AccessDeniedException":
1398
1398
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1399
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1399
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1400
1400
  case "InternalServerException":
1401
1401
  case "com.amazonaws.ssmcontacts#InternalServerException":
1402
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1402
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1403
1403
  case "ResourceNotFoundException":
1404
1404
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1405
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1405
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1406
1406
  case "ThrottlingException":
1407
1407
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1408
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1408
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1409
1409
  case "ValidationException":
1410
1410
  case "com.amazonaws.ssmcontacts#ValidationException":
1411
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1411
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1412
1412
  default:
1413
1413
  const parsedBody = parsedOutput.body;
1414
1414
  throwDefaultError({
@@ -1419,20 +1419,20 @@ const deserializeAws_json1_1ListPageResolutionsCommandError = async (output, con
1419
1419
  });
1420
1420
  }
1421
1421
  };
1422
- export const deserializeAws_json1_1ListPagesByContactCommand = async (output, context) => {
1422
+ export const de_ListPagesByContactCommand = async (output, context) => {
1423
1423
  if (output.statusCode >= 300) {
1424
- return deserializeAws_json1_1ListPagesByContactCommandError(output, context);
1424
+ return de_ListPagesByContactCommandError(output, context);
1425
1425
  }
1426
1426
  const data = await parseBody(output.body, context);
1427
1427
  let contents = {};
1428
- contents = deserializeAws_json1_1ListPagesByContactResult(data, context);
1428
+ contents = de_ListPagesByContactResult(data, context);
1429
1429
  const response = {
1430
1430
  $metadata: deserializeMetadata(output),
1431
1431
  ...contents,
1432
1432
  };
1433
1433
  return Promise.resolve(response);
1434
1434
  };
1435
- const deserializeAws_json1_1ListPagesByContactCommandError = async (output, context) => {
1435
+ const de_ListPagesByContactCommandError = async (output, context) => {
1436
1436
  const parsedOutput = {
1437
1437
  ...output,
1438
1438
  body: await parseErrorBody(output.body, context),
@@ -1441,19 +1441,19 @@ const deserializeAws_json1_1ListPagesByContactCommandError = async (output, cont
1441
1441
  switch (errorCode) {
1442
1442
  case "AccessDeniedException":
1443
1443
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1444
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1444
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1445
1445
  case "InternalServerException":
1446
1446
  case "com.amazonaws.ssmcontacts#InternalServerException":
1447
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1447
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1448
1448
  case "ResourceNotFoundException":
1449
1449
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1450
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1450
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1451
1451
  case "ThrottlingException":
1452
1452
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1453
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1453
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1454
1454
  case "ValidationException":
1455
1455
  case "com.amazonaws.ssmcontacts#ValidationException":
1456
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1456
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1457
1457
  default:
1458
1458
  const parsedBody = parsedOutput.body;
1459
1459
  throwDefaultError({
@@ -1464,20 +1464,20 @@ const deserializeAws_json1_1ListPagesByContactCommandError = async (output, cont
1464
1464
  });
1465
1465
  }
1466
1466
  };
1467
- export const deserializeAws_json1_1ListPagesByEngagementCommand = async (output, context) => {
1467
+ export const de_ListPagesByEngagementCommand = async (output, context) => {
1468
1468
  if (output.statusCode >= 300) {
1469
- return deserializeAws_json1_1ListPagesByEngagementCommandError(output, context);
1469
+ return de_ListPagesByEngagementCommandError(output, context);
1470
1470
  }
1471
1471
  const data = await parseBody(output.body, context);
1472
1472
  let contents = {};
1473
- contents = deserializeAws_json1_1ListPagesByEngagementResult(data, context);
1473
+ contents = de_ListPagesByEngagementResult(data, context);
1474
1474
  const response = {
1475
1475
  $metadata: deserializeMetadata(output),
1476
1476
  ...contents,
1477
1477
  };
1478
1478
  return Promise.resolve(response);
1479
1479
  };
1480
- const deserializeAws_json1_1ListPagesByEngagementCommandError = async (output, context) => {
1480
+ const de_ListPagesByEngagementCommandError = async (output, context) => {
1481
1481
  const parsedOutput = {
1482
1482
  ...output,
1483
1483
  body: await parseErrorBody(output.body, context),
@@ -1486,19 +1486,19 @@ const deserializeAws_json1_1ListPagesByEngagementCommandError = async (output, c
1486
1486
  switch (errorCode) {
1487
1487
  case "AccessDeniedException":
1488
1488
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1489
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1489
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1490
1490
  case "InternalServerException":
1491
1491
  case "com.amazonaws.ssmcontacts#InternalServerException":
1492
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1492
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1493
1493
  case "ResourceNotFoundException":
1494
1494
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1495
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1495
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1496
1496
  case "ThrottlingException":
1497
1497
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1498
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1498
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1499
1499
  case "ValidationException":
1500
1500
  case "com.amazonaws.ssmcontacts#ValidationException":
1501
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1501
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1502
1502
  default:
1503
1503
  const parsedBody = parsedOutput.body;
1504
1504
  throwDefaultError({
@@ -1509,20 +1509,20 @@ const deserializeAws_json1_1ListPagesByEngagementCommandError = async (output, c
1509
1509
  });
1510
1510
  }
1511
1511
  };
1512
- export const deserializeAws_json1_1ListPreviewRotationShiftsCommand = async (output, context) => {
1512
+ export const de_ListPreviewRotationShiftsCommand = async (output, context) => {
1513
1513
  if (output.statusCode >= 300) {
1514
- return deserializeAws_json1_1ListPreviewRotationShiftsCommandError(output, context);
1514
+ return de_ListPreviewRotationShiftsCommandError(output, context);
1515
1515
  }
1516
1516
  const data = await parseBody(output.body, context);
1517
1517
  let contents = {};
1518
- contents = deserializeAws_json1_1ListPreviewRotationShiftsResult(data, context);
1518
+ contents = de_ListPreviewRotationShiftsResult(data, context);
1519
1519
  const response = {
1520
1520
  $metadata: deserializeMetadata(output),
1521
1521
  ...contents,
1522
1522
  };
1523
1523
  return Promise.resolve(response);
1524
1524
  };
1525
- const deserializeAws_json1_1ListPreviewRotationShiftsCommandError = async (output, context) => {
1525
+ const de_ListPreviewRotationShiftsCommandError = async (output, context) => {
1526
1526
  const parsedOutput = {
1527
1527
  ...output,
1528
1528
  body: await parseErrorBody(output.body, context),
@@ -1531,16 +1531,16 @@ const deserializeAws_json1_1ListPreviewRotationShiftsCommandError = async (outpu
1531
1531
  switch (errorCode) {
1532
1532
  case "AccessDeniedException":
1533
1533
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1534
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1534
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1535
1535
  case "InternalServerException":
1536
1536
  case "com.amazonaws.ssmcontacts#InternalServerException":
1537
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1537
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1538
1538
  case "ThrottlingException":
1539
1539
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1540
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1540
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1541
1541
  case "ValidationException":
1542
1542
  case "com.amazonaws.ssmcontacts#ValidationException":
1543
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1543
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1544
1544
  default:
1545
1545
  const parsedBody = parsedOutput.body;
1546
1546
  throwDefaultError({
@@ -1551,20 +1551,20 @@ const deserializeAws_json1_1ListPreviewRotationShiftsCommandError = async (outpu
1551
1551
  });
1552
1552
  }
1553
1553
  };
1554
- export const deserializeAws_json1_1ListRotationOverridesCommand = async (output, context) => {
1554
+ export const de_ListRotationOverridesCommand = async (output, context) => {
1555
1555
  if (output.statusCode >= 300) {
1556
- return deserializeAws_json1_1ListRotationOverridesCommandError(output, context);
1556
+ return de_ListRotationOverridesCommandError(output, context);
1557
1557
  }
1558
1558
  const data = await parseBody(output.body, context);
1559
1559
  let contents = {};
1560
- contents = deserializeAws_json1_1ListRotationOverridesResult(data, context);
1560
+ contents = de_ListRotationOverridesResult(data, context);
1561
1561
  const response = {
1562
1562
  $metadata: deserializeMetadata(output),
1563
1563
  ...contents,
1564
1564
  };
1565
1565
  return Promise.resolve(response);
1566
1566
  };
1567
- const deserializeAws_json1_1ListRotationOverridesCommandError = async (output, context) => {
1567
+ const de_ListRotationOverridesCommandError = async (output, context) => {
1568
1568
  const parsedOutput = {
1569
1569
  ...output,
1570
1570
  body: await parseErrorBody(output.body, context),
@@ -1573,19 +1573,19 @@ const deserializeAws_json1_1ListRotationOverridesCommandError = async (output, c
1573
1573
  switch (errorCode) {
1574
1574
  case "AccessDeniedException":
1575
1575
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1576
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1576
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1577
1577
  case "InternalServerException":
1578
1578
  case "com.amazonaws.ssmcontacts#InternalServerException":
1579
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1579
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1580
1580
  case "ResourceNotFoundException":
1581
1581
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1582
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1582
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1583
1583
  case "ThrottlingException":
1584
1584
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1585
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1585
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1586
1586
  case "ValidationException":
1587
1587
  case "com.amazonaws.ssmcontacts#ValidationException":
1588
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1588
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1589
1589
  default:
1590
1590
  const parsedBody = parsedOutput.body;
1591
1591
  throwDefaultError({
@@ -1596,20 +1596,20 @@ const deserializeAws_json1_1ListRotationOverridesCommandError = async (output, c
1596
1596
  });
1597
1597
  }
1598
1598
  };
1599
- export const deserializeAws_json1_1ListRotationsCommand = async (output, context) => {
1599
+ export const de_ListRotationsCommand = async (output, context) => {
1600
1600
  if (output.statusCode >= 300) {
1601
- return deserializeAws_json1_1ListRotationsCommandError(output, context);
1601
+ return de_ListRotationsCommandError(output, context);
1602
1602
  }
1603
1603
  const data = await parseBody(output.body, context);
1604
1604
  let contents = {};
1605
- contents = deserializeAws_json1_1ListRotationsResult(data, context);
1605
+ contents = de_ListRotationsResult(data, context);
1606
1606
  const response = {
1607
1607
  $metadata: deserializeMetadata(output),
1608
1608
  ...contents,
1609
1609
  };
1610
1610
  return Promise.resolve(response);
1611
1611
  };
1612
- const deserializeAws_json1_1ListRotationsCommandError = async (output, context) => {
1612
+ const de_ListRotationsCommandError = async (output, context) => {
1613
1613
  const parsedOutput = {
1614
1614
  ...output,
1615
1615
  body: await parseErrorBody(output.body, context),
@@ -1618,19 +1618,19 @@ const deserializeAws_json1_1ListRotationsCommandError = async (output, context)
1618
1618
  switch (errorCode) {
1619
1619
  case "AccessDeniedException":
1620
1620
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1621
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1621
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1622
1622
  case "InternalServerException":
1623
1623
  case "com.amazonaws.ssmcontacts#InternalServerException":
1624
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1624
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1625
1625
  case "ResourceNotFoundException":
1626
1626
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1627
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1627
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1628
1628
  case "ThrottlingException":
1629
1629
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1630
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1630
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1631
1631
  case "ValidationException":
1632
1632
  case "com.amazonaws.ssmcontacts#ValidationException":
1633
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1633
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1634
1634
  default:
1635
1635
  const parsedBody = parsedOutput.body;
1636
1636
  throwDefaultError({
@@ -1641,20 +1641,20 @@ const deserializeAws_json1_1ListRotationsCommandError = async (output, context)
1641
1641
  });
1642
1642
  }
1643
1643
  };
1644
- export const deserializeAws_json1_1ListRotationShiftsCommand = async (output, context) => {
1644
+ export const de_ListRotationShiftsCommand = async (output, context) => {
1645
1645
  if (output.statusCode >= 300) {
1646
- return deserializeAws_json1_1ListRotationShiftsCommandError(output, context);
1646
+ return de_ListRotationShiftsCommandError(output, context);
1647
1647
  }
1648
1648
  const data = await parseBody(output.body, context);
1649
1649
  let contents = {};
1650
- contents = deserializeAws_json1_1ListRotationShiftsResult(data, context);
1650
+ contents = de_ListRotationShiftsResult(data, context);
1651
1651
  const response = {
1652
1652
  $metadata: deserializeMetadata(output),
1653
1653
  ...contents,
1654
1654
  };
1655
1655
  return Promise.resolve(response);
1656
1656
  };
1657
- const deserializeAws_json1_1ListRotationShiftsCommandError = async (output, context) => {
1657
+ const de_ListRotationShiftsCommandError = async (output, context) => {
1658
1658
  const parsedOutput = {
1659
1659
  ...output,
1660
1660
  body: await parseErrorBody(output.body, context),
@@ -1663,22 +1663,22 @@ const deserializeAws_json1_1ListRotationShiftsCommandError = async (output, cont
1663
1663
  switch (errorCode) {
1664
1664
  case "AccessDeniedException":
1665
1665
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1666
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1666
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1667
1667
  case "ConflictException":
1668
1668
  case "com.amazonaws.ssmcontacts#ConflictException":
1669
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1669
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1670
1670
  case "InternalServerException":
1671
1671
  case "com.amazonaws.ssmcontacts#InternalServerException":
1672
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1672
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1673
1673
  case "ResourceNotFoundException":
1674
1674
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1675
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1675
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1676
1676
  case "ThrottlingException":
1677
1677
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1678
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1678
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1679
1679
  case "ValidationException":
1680
1680
  case "com.amazonaws.ssmcontacts#ValidationException":
1681
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1681
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1682
1682
  default:
1683
1683
  const parsedBody = parsedOutput.body;
1684
1684
  throwDefaultError({
@@ -1689,20 +1689,20 @@ const deserializeAws_json1_1ListRotationShiftsCommandError = async (output, cont
1689
1689
  });
1690
1690
  }
1691
1691
  };
1692
- export const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
1692
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1693
1693
  if (output.statusCode >= 300) {
1694
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
1694
+ return de_ListTagsForResourceCommandError(output, context);
1695
1695
  }
1696
1696
  const data = await parseBody(output.body, context);
1697
1697
  let contents = {};
1698
- contents = deserializeAws_json1_1ListTagsForResourceResult(data, context);
1698
+ contents = de_ListTagsForResourceResult(data, context);
1699
1699
  const response = {
1700
1700
  $metadata: deserializeMetadata(output),
1701
1701
  ...contents,
1702
1702
  };
1703
1703
  return Promise.resolve(response);
1704
1704
  };
1705
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
1705
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1706
1706
  const parsedOutput = {
1707
1707
  ...output,
1708
1708
  body: await parseErrorBody(output.body, context),
@@ -1711,19 +1711,19 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1711
1711
  switch (errorCode) {
1712
1712
  case "AccessDeniedException":
1713
1713
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1714
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1714
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1715
1715
  case "InternalServerException":
1716
1716
  case "com.amazonaws.ssmcontacts#InternalServerException":
1717
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1717
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1718
1718
  case "ResourceNotFoundException":
1719
1719
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1720
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1720
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1721
1721
  case "ThrottlingException":
1722
1722
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1723
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1723
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1724
1724
  case "ValidationException":
1725
1725
  case "com.amazonaws.ssmcontacts#ValidationException":
1726
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1726
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1727
1727
  default:
1728
1728
  const parsedBody = parsedOutput.body;
1729
1729
  throwDefaultError({
@@ -1734,20 +1734,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1734
1734
  });
1735
1735
  }
1736
1736
  };
1737
- export const deserializeAws_json1_1PutContactPolicyCommand = async (output, context) => {
1737
+ export const de_PutContactPolicyCommand = async (output, context) => {
1738
1738
  if (output.statusCode >= 300) {
1739
- return deserializeAws_json1_1PutContactPolicyCommandError(output, context);
1739
+ return de_PutContactPolicyCommandError(output, context);
1740
1740
  }
1741
1741
  const data = await parseBody(output.body, context);
1742
1742
  let contents = {};
1743
- contents = deserializeAws_json1_1PutContactPolicyResult(data, context);
1743
+ contents = de_PutContactPolicyResult(data, context);
1744
1744
  const response = {
1745
1745
  $metadata: deserializeMetadata(output),
1746
1746
  ...contents,
1747
1747
  };
1748
1748
  return Promise.resolve(response);
1749
1749
  };
1750
- const deserializeAws_json1_1PutContactPolicyCommandError = async (output, context) => {
1750
+ const de_PutContactPolicyCommandError = async (output, context) => {
1751
1751
  const parsedOutput = {
1752
1752
  ...output,
1753
1753
  body: await parseErrorBody(output.body, context),
@@ -1756,22 +1756,22 @@ const deserializeAws_json1_1PutContactPolicyCommandError = async (output, contex
1756
1756
  switch (errorCode) {
1757
1757
  case "AccessDeniedException":
1758
1758
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1759
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1759
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1760
1760
  case "ConflictException":
1761
1761
  case "com.amazonaws.ssmcontacts#ConflictException":
1762
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
1762
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1763
1763
  case "InternalServerException":
1764
1764
  case "com.amazonaws.ssmcontacts#InternalServerException":
1765
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1765
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1766
1766
  case "ResourceNotFoundException":
1767
1767
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1768
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1768
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1769
1769
  case "ThrottlingException":
1770
1770
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1771
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1771
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1772
1772
  case "ValidationException":
1773
1773
  case "com.amazonaws.ssmcontacts#ValidationException":
1774
- throw await deserializeAws_json1_1ValidationExceptionResponse(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_json1_1PutContactPolicyCommandError = async (output, contex
1782
1782
  });
1783
1783
  }
1784
1784
  };
1785
- export const deserializeAws_json1_1SendActivationCodeCommand = async (output, context) => {
1785
+ export const de_SendActivationCodeCommand = async (output, context) => {
1786
1786
  if (output.statusCode >= 300) {
1787
- return deserializeAws_json1_1SendActivationCodeCommandError(output, context);
1787
+ return de_SendActivationCodeCommandError(output, context);
1788
1788
  }
1789
1789
  const data = await parseBody(output.body, context);
1790
1790
  let contents = {};
1791
- contents = deserializeAws_json1_1SendActivationCodeResult(data, context);
1791
+ contents = de_SendActivationCodeResult(data, 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_json1_1SendActivationCodeCommandError = async (output, context) => {
1798
+ const de_SendActivationCodeCommandError = async (output, context) => {
1799
1799
  const parsedOutput = {
1800
1800
  ...output,
1801
1801
  body: await parseErrorBody(output.body, context),
@@ -1804,25 +1804,25 @@ const deserializeAws_json1_1SendActivationCodeCommandError = async (output, cont
1804
1804
  switch (errorCode) {
1805
1805
  case "AccessDeniedException":
1806
1806
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1807
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1807
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1808
1808
  case "DataEncryptionException":
1809
1809
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
1810
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
1810
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
1811
1811
  case "InternalServerException":
1812
1812
  case "com.amazonaws.ssmcontacts#InternalServerException":
1813
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1813
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1814
1814
  case "ResourceNotFoundException":
1815
1815
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1816
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1816
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1817
1817
  case "ServiceQuotaExceededException":
1818
1818
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
1819
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1819
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1820
1820
  case "ThrottlingException":
1821
1821
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1822
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1822
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1823
1823
  case "ValidationException":
1824
1824
  case "com.amazonaws.ssmcontacts#ValidationException":
1825
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1825
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1826
1826
  default:
1827
1827
  const parsedBody = parsedOutput.body;
1828
1828
  throwDefaultError({
@@ -1833,20 +1833,20 @@ const deserializeAws_json1_1SendActivationCodeCommandError = async (output, cont
1833
1833
  });
1834
1834
  }
1835
1835
  };
1836
- export const deserializeAws_json1_1StartEngagementCommand = async (output, context) => {
1836
+ export const de_StartEngagementCommand = async (output, context) => {
1837
1837
  if (output.statusCode >= 300) {
1838
- return deserializeAws_json1_1StartEngagementCommandError(output, context);
1838
+ return de_StartEngagementCommandError(output, context);
1839
1839
  }
1840
1840
  const data = await parseBody(output.body, context);
1841
1841
  let contents = {};
1842
- contents = deserializeAws_json1_1StartEngagementResult(data, context);
1842
+ contents = de_StartEngagementResult(data, context);
1843
1843
  const response = {
1844
1844
  $metadata: deserializeMetadata(output),
1845
1845
  ...contents,
1846
1846
  };
1847
1847
  return Promise.resolve(response);
1848
1848
  };
1849
- const deserializeAws_json1_1StartEngagementCommandError = async (output, context) => {
1849
+ const de_StartEngagementCommandError = async (output, context) => {
1850
1850
  const parsedOutput = {
1851
1851
  ...output,
1852
1852
  body: await parseErrorBody(output.body, context),
@@ -1855,22 +1855,22 @@ const deserializeAws_json1_1StartEngagementCommandError = async (output, context
1855
1855
  switch (errorCode) {
1856
1856
  case "AccessDeniedException":
1857
1857
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1858
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1858
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1859
1859
  case "DataEncryptionException":
1860
1860
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
1861
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
1861
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
1862
1862
  case "InternalServerException":
1863
1863
  case "com.amazonaws.ssmcontacts#InternalServerException":
1864
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1864
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1865
1865
  case "ResourceNotFoundException":
1866
1866
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1867
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1867
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1868
1868
  case "ThrottlingException":
1869
1869
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1870
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1870
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1871
1871
  case "ValidationException":
1872
1872
  case "com.amazonaws.ssmcontacts#ValidationException":
1873
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1873
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1874
1874
  default:
1875
1875
  const parsedBody = parsedOutput.body;
1876
1876
  throwDefaultError({
@@ -1881,20 +1881,20 @@ const deserializeAws_json1_1StartEngagementCommandError = async (output, context
1881
1881
  });
1882
1882
  }
1883
1883
  };
1884
- export const deserializeAws_json1_1StopEngagementCommand = async (output, context) => {
1884
+ export const de_StopEngagementCommand = async (output, context) => {
1885
1885
  if (output.statusCode >= 300) {
1886
- return deserializeAws_json1_1StopEngagementCommandError(output, context);
1886
+ return de_StopEngagementCommandError(output, context);
1887
1887
  }
1888
1888
  const data = await parseBody(output.body, context);
1889
1889
  let contents = {};
1890
- contents = deserializeAws_json1_1StopEngagementResult(data, context);
1890
+ contents = de_StopEngagementResult(data, context);
1891
1891
  const response = {
1892
1892
  $metadata: deserializeMetadata(output),
1893
1893
  ...contents,
1894
1894
  };
1895
1895
  return Promise.resolve(response);
1896
1896
  };
1897
- const deserializeAws_json1_1StopEngagementCommandError = async (output, context) => {
1897
+ const de_StopEngagementCommandError = async (output, context) => {
1898
1898
  const parsedOutput = {
1899
1899
  ...output,
1900
1900
  body: await parseErrorBody(output.body, context),
@@ -1903,19 +1903,19 @@ const deserializeAws_json1_1StopEngagementCommandError = async (output, context)
1903
1903
  switch (errorCode) {
1904
1904
  case "AccessDeniedException":
1905
1905
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1906
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1906
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1907
1907
  case "InternalServerException":
1908
1908
  case "com.amazonaws.ssmcontacts#InternalServerException":
1909
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1909
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1910
1910
  case "ResourceNotFoundException":
1911
1911
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1912
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1912
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1913
1913
  case "ThrottlingException":
1914
1914
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1915
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1915
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1916
1916
  case "ValidationException":
1917
1917
  case "com.amazonaws.ssmcontacts#ValidationException":
1918
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1918
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1919
1919
  default:
1920
1920
  const parsedBody = parsedOutput.body;
1921
1921
  throwDefaultError({
@@ -1926,20 +1926,20 @@ const deserializeAws_json1_1StopEngagementCommandError = async (output, context)
1926
1926
  });
1927
1927
  }
1928
1928
  };
1929
- export const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1929
+ export const de_TagResourceCommand = async (output, context) => {
1930
1930
  if (output.statusCode >= 300) {
1931
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1931
+ return de_TagResourceCommandError(output, context);
1932
1932
  }
1933
1933
  const data = await parseBody(output.body, context);
1934
1934
  let contents = {};
1935
- contents = deserializeAws_json1_1TagResourceResult(data, context);
1935
+ contents = de_TagResourceResult(data, context);
1936
1936
  const response = {
1937
1937
  $metadata: deserializeMetadata(output),
1938
1938
  ...contents,
1939
1939
  };
1940
1940
  return Promise.resolve(response);
1941
1941
  };
1942
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1942
+ const de_TagResourceCommandError = async (output, context) => {
1943
1943
  const parsedOutput = {
1944
1944
  ...output,
1945
1945
  body: await parseErrorBody(output.body, context),
@@ -1948,22 +1948,22 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1948
1948
  switch (errorCode) {
1949
1949
  case "AccessDeniedException":
1950
1950
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1951
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1951
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1952
1952
  case "InternalServerException":
1953
1953
  case "com.amazonaws.ssmcontacts#InternalServerException":
1954
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
1954
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1955
1955
  case "ResourceNotFoundException":
1956
1956
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
1957
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1957
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1958
1958
  case "ServiceQuotaExceededException":
1959
1959
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
1960
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1960
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1961
1961
  case "ThrottlingException":
1962
1962
  case "com.amazonaws.ssmcontacts#ThrottlingException":
1963
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
1963
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1964
1964
  case "ValidationException":
1965
1965
  case "com.amazonaws.ssmcontacts#ValidationException":
1966
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
1966
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1967
1967
  default:
1968
1968
  const parsedBody = parsedOutput.body;
1969
1969
  throwDefaultError({
@@ -1974,20 +1974,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1974
1974
  });
1975
1975
  }
1976
1976
  };
1977
- export const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1977
+ export const de_UntagResourceCommand = async (output, context) => {
1978
1978
  if (output.statusCode >= 300) {
1979
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1979
+ return de_UntagResourceCommandError(output, context);
1980
1980
  }
1981
1981
  const data = await parseBody(output.body, context);
1982
1982
  let contents = {};
1983
- contents = deserializeAws_json1_1UntagResourceResult(data, context);
1983
+ contents = de_UntagResourceResult(data, context);
1984
1984
  const response = {
1985
1985
  $metadata: deserializeMetadata(output),
1986
1986
  ...contents,
1987
1987
  };
1988
1988
  return Promise.resolve(response);
1989
1989
  };
1990
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1990
+ const de_UntagResourceCommandError = async (output, context) => {
1991
1991
  const parsedOutput = {
1992
1992
  ...output,
1993
1993
  body: await parseErrorBody(output.body, context),
@@ -1996,19 +1996,19 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1996
1996
  switch (errorCode) {
1997
1997
  case "AccessDeniedException":
1998
1998
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
1999
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
1999
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2000
2000
  case "InternalServerException":
2001
2001
  case "com.amazonaws.ssmcontacts#InternalServerException":
2002
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
2002
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2003
2003
  case "ResourceNotFoundException":
2004
2004
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
2005
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
2005
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2006
2006
  case "ThrottlingException":
2007
2007
  case "com.amazonaws.ssmcontacts#ThrottlingException":
2008
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2008
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2009
2009
  case "ValidationException":
2010
2010
  case "com.amazonaws.ssmcontacts#ValidationException":
2011
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
2011
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2012
2012
  default:
2013
2013
  const parsedBody = parsedOutput.body;
2014
2014
  throwDefaultError({
@@ -2019,20 +2019,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2019
2019
  });
2020
2020
  }
2021
2021
  };
2022
- export const deserializeAws_json1_1UpdateContactCommand = async (output, context) => {
2022
+ export const de_UpdateContactCommand = async (output, context) => {
2023
2023
  if (output.statusCode >= 300) {
2024
- return deserializeAws_json1_1UpdateContactCommandError(output, context);
2024
+ return de_UpdateContactCommandError(output, context);
2025
2025
  }
2026
2026
  const data = await parseBody(output.body, context);
2027
2027
  let contents = {};
2028
- contents = deserializeAws_json1_1UpdateContactResult(data, context);
2028
+ contents = de_UpdateContactResult(data, context);
2029
2029
  const response = {
2030
2030
  $metadata: deserializeMetadata(output),
2031
2031
  ...contents,
2032
2032
  };
2033
2033
  return Promise.resolve(response);
2034
2034
  };
2035
- const deserializeAws_json1_1UpdateContactCommandError = async (output, context) => {
2035
+ const de_UpdateContactCommandError = async (output, context) => {
2036
2036
  const parsedOutput = {
2037
2037
  ...output,
2038
2038
  body: await parseErrorBody(output.body, context),
@@ -2041,25 +2041,25 @@ const deserializeAws_json1_1UpdateContactCommandError = async (output, context)
2041
2041
  switch (errorCode) {
2042
2042
  case "AccessDeniedException":
2043
2043
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
2044
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
2044
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2045
2045
  case "DataEncryptionException":
2046
2046
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
2047
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
2047
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
2048
2048
  case "InternalServerException":
2049
2049
  case "com.amazonaws.ssmcontacts#InternalServerException":
2050
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
2050
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2051
2051
  case "ResourceNotFoundException":
2052
2052
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
2053
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
2053
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2054
2054
  case "ServiceQuotaExceededException":
2055
2055
  case "com.amazonaws.ssmcontacts#ServiceQuotaExceededException":
2056
- throw await deserializeAws_json1_1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2056
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2057
2057
  case "ThrottlingException":
2058
2058
  case "com.amazonaws.ssmcontacts#ThrottlingException":
2059
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2059
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2060
2060
  case "ValidationException":
2061
2061
  case "com.amazonaws.ssmcontacts#ValidationException":
2062
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
2062
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2063
2063
  default:
2064
2064
  const parsedBody = parsedOutput.body;
2065
2065
  throwDefaultError({
@@ -2070,20 +2070,20 @@ const deserializeAws_json1_1UpdateContactCommandError = async (output, context)
2070
2070
  });
2071
2071
  }
2072
2072
  };
2073
- export const deserializeAws_json1_1UpdateContactChannelCommand = async (output, context) => {
2073
+ export const de_UpdateContactChannelCommand = async (output, context) => {
2074
2074
  if (output.statusCode >= 300) {
2075
- return deserializeAws_json1_1UpdateContactChannelCommandError(output, context);
2075
+ return de_UpdateContactChannelCommandError(output, context);
2076
2076
  }
2077
2077
  const data = await parseBody(output.body, context);
2078
2078
  let contents = {};
2079
- contents = deserializeAws_json1_1UpdateContactChannelResult(data, context);
2079
+ contents = de_UpdateContactChannelResult(data, context);
2080
2080
  const response = {
2081
2081
  $metadata: deserializeMetadata(output),
2082
2082
  ...contents,
2083
2083
  };
2084
2084
  return Promise.resolve(response);
2085
2085
  };
2086
- const deserializeAws_json1_1UpdateContactChannelCommandError = async (output, context) => {
2086
+ const de_UpdateContactChannelCommandError = async (output, context) => {
2087
2087
  const parsedOutput = {
2088
2088
  ...output,
2089
2089
  body: await parseErrorBody(output.body, context),
@@ -2092,25 +2092,25 @@ const deserializeAws_json1_1UpdateContactChannelCommandError = async (output, co
2092
2092
  switch (errorCode) {
2093
2093
  case "AccessDeniedException":
2094
2094
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
2095
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
2095
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2096
2096
  case "ConflictException":
2097
2097
  case "com.amazonaws.ssmcontacts#ConflictException":
2098
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
2098
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2099
2099
  case "DataEncryptionException":
2100
2100
  case "com.amazonaws.ssmcontacts#DataEncryptionException":
2101
- throw await deserializeAws_json1_1DataEncryptionExceptionResponse(parsedOutput, context);
2101
+ throw await de_DataEncryptionExceptionRes(parsedOutput, context);
2102
2102
  case "InternalServerException":
2103
2103
  case "com.amazonaws.ssmcontacts#InternalServerException":
2104
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
2104
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2105
2105
  case "ResourceNotFoundException":
2106
2106
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
2107
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
2107
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2108
2108
  case "ThrottlingException":
2109
2109
  case "com.amazonaws.ssmcontacts#ThrottlingException":
2110
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2110
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2111
2111
  case "ValidationException":
2112
2112
  case "com.amazonaws.ssmcontacts#ValidationException":
2113
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
2113
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2114
2114
  default:
2115
2115
  const parsedBody = parsedOutput.body;
2116
2116
  throwDefaultError({
@@ -2121,20 +2121,20 @@ const deserializeAws_json1_1UpdateContactChannelCommandError = async (output, co
2121
2121
  });
2122
2122
  }
2123
2123
  };
2124
- export const deserializeAws_json1_1UpdateRotationCommand = async (output, context) => {
2124
+ export const de_UpdateRotationCommand = async (output, context) => {
2125
2125
  if (output.statusCode >= 300) {
2126
- return deserializeAws_json1_1UpdateRotationCommandError(output, context);
2126
+ return de_UpdateRotationCommandError(output, context);
2127
2127
  }
2128
2128
  const data = await parseBody(output.body, context);
2129
2129
  let contents = {};
2130
- contents = deserializeAws_json1_1UpdateRotationResult(data, context);
2130
+ contents = de_UpdateRotationResult(data, context);
2131
2131
  const response = {
2132
2132
  $metadata: deserializeMetadata(output),
2133
2133
  ...contents,
2134
2134
  };
2135
2135
  return Promise.resolve(response);
2136
2136
  };
2137
- const deserializeAws_json1_1UpdateRotationCommandError = async (output, context) => {
2137
+ const de_UpdateRotationCommandError = async (output, context) => {
2138
2138
  const parsedOutput = {
2139
2139
  ...output,
2140
2140
  body: await parseErrorBody(output.body, context),
@@ -2143,22 +2143,22 @@ const deserializeAws_json1_1UpdateRotationCommandError = async (output, context)
2143
2143
  switch (errorCode) {
2144
2144
  case "AccessDeniedException":
2145
2145
  case "com.amazonaws.ssmcontacts#AccessDeniedException":
2146
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
2146
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2147
2147
  case "ConflictException":
2148
2148
  case "com.amazonaws.ssmcontacts#ConflictException":
2149
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
2149
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2150
2150
  case "InternalServerException":
2151
2151
  case "com.amazonaws.ssmcontacts#InternalServerException":
2152
- throw await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context);
2152
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2153
2153
  case "ResourceNotFoundException":
2154
2154
  case "com.amazonaws.ssmcontacts#ResourceNotFoundException":
2155
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
2155
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2156
2156
  case "ThrottlingException":
2157
2157
  case "com.amazonaws.ssmcontacts#ThrottlingException":
2158
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
2158
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2159
2159
  case "ValidationException":
2160
2160
  case "com.amazonaws.ssmcontacts#ValidationException":
2161
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
2161
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2162
2162
  default:
2163
2163
  const parsedBody = parsedOutput.body;
2164
2164
  throwDefaultError({
@@ -2169,79 +2169,79 @@ const deserializeAws_json1_1UpdateRotationCommandError = async (output, context)
2169
2169
  });
2170
2170
  }
2171
2171
  };
2172
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
2172
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
2173
2173
  const body = parsedOutput.body;
2174
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
2174
+ const deserialized = de_AccessDeniedException(body, context);
2175
2175
  const exception = new AccessDeniedException({
2176
2176
  $metadata: deserializeMetadata(parsedOutput),
2177
2177
  ...deserialized,
2178
2178
  });
2179
2179
  return __decorateServiceException(exception, body);
2180
2180
  };
2181
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
2181
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2182
2182
  const body = parsedOutput.body;
2183
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
2183
+ const deserialized = de_ConflictException(body, context);
2184
2184
  const exception = new ConflictException({
2185
2185
  $metadata: deserializeMetadata(parsedOutput),
2186
2186
  ...deserialized,
2187
2187
  });
2188
2188
  return __decorateServiceException(exception, body);
2189
2189
  };
2190
- const deserializeAws_json1_1DataEncryptionExceptionResponse = async (parsedOutput, context) => {
2190
+ const de_DataEncryptionExceptionRes = async (parsedOutput, context) => {
2191
2191
  const body = parsedOutput.body;
2192
- const deserialized = deserializeAws_json1_1DataEncryptionException(body, context);
2192
+ const deserialized = de_DataEncryptionException(body, context);
2193
2193
  const exception = new DataEncryptionException({
2194
2194
  $metadata: deserializeMetadata(parsedOutput),
2195
2195
  ...deserialized,
2196
2196
  });
2197
2197
  return __decorateServiceException(exception, body);
2198
2198
  };
2199
- const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
2199
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2200
2200
  const body = parsedOutput.body;
2201
- const deserialized = deserializeAws_json1_1InternalServerException(body, context);
2201
+ const deserialized = de_InternalServerException(body, context);
2202
2202
  const exception = new InternalServerException({
2203
2203
  $metadata: deserializeMetadata(parsedOutput),
2204
2204
  ...deserialized,
2205
2205
  });
2206
2206
  return __decorateServiceException(exception, body);
2207
2207
  };
2208
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
2208
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2209
2209
  const body = parsedOutput.body;
2210
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
2210
+ const deserialized = de_ResourceNotFoundException(body, context);
2211
2211
  const exception = new ResourceNotFoundException({
2212
2212
  $metadata: deserializeMetadata(parsedOutput),
2213
2213
  ...deserialized,
2214
2214
  });
2215
2215
  return __decorateServiceException(exception, body);
2216
2216
  };
2217
- const deserializeAws_json1_1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
2217
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2218
2218
  const body = parsedOutput.body;
2219
- const deserialized = deserializeAws_json1_1ServiceQuotaExceededException(body, context);
2219
+ const deserialized = de_ServiceQuotaExceededException(body, context);
2220
2220
  const exception = new ServiceQuotaExceededException({
2221
2221
  $metadata: deserializeMetadata(parsedOutput),
2222
2222
  ...deserialized,
2223
2223
  });
2224
2224
  return __decorateServiceException(exception, body);
2225
2225
  };
2226
- const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
2226
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2227
2227
  const body = parsedOutput.body;
2228
- const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
2228
+ const deserialized = de_ThrottlingException(body, context);
2229
2229
  const exception = new ThrottlingException({
2230
2230
  $metadata: deserializeMetadata(parsedOutput),
2231
2231
  ...deserialized,
2232
2232
  });
2233
2233
  return __decorateServiceException(exception, body);
2234
2234
  };
2235
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
2235
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2236
2236
  const body = parsedOutput.body;
2237
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
2237
+ const deserialized = de_ValidationException(body, context);
2238
2238
  const exception = new ValidationException({
2239
2239
  $metadata: deserializeMetadata(parsedOutput),
2240
2240
  ...deserialized,
2241
2241
  });
2242
2242
  return __decorateServiceException(exception, body);
2243
2243
  };
2244
- const serializeAws_json1_1AcceptPageRequest = (input, context) => {
2244
+ const se_AcceptPageRequest = (input, context) => {
2245
2245
  return {
2246
2246
  ...(input.AcceptCode != null && { AcceptCode: input.AcceptCode }),
2247
2247
  ...(input.AcceptCodeValidation != null && { AcceptCodeValidation: input.AcceptCodeValidation }),
@@ -2251,171 +2251,167 @@ const serializeAws_json1_1AcceptPageRequest = (input, context) => {
2251
2251
  ...(input.PageId != null && { PageId: input.PageId }),
2252
2252
  };
2253
2253
  };
2254
- const serializeAws_json1_1ActivateContactChannelRequest = (input, context) => {
2254
+ const se_ActivateContactChannelRequest = (input, context) => {
2255
2255
  return {
2256
2256
  ...(input.ActivationCode != null && { ActivationCode: input.ActivationCode }),
2257
2257
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2258
2258
  };
2259
2259
  };
2260
- const serializeAws_json1_1ChannelTargetInfo = (input, context) => {
2260
+ const se_ChannelTargetInfo = (input, context) => {
2261
2261
  return {
2262
2262
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2263
2263
  ...(input.RetryIntervalInMinutes != null && { RetryIntervalInMinutes: input.RetryIntervalInMinutes }),
2264
2264
  };
2265
2265
  };
2266
- const serializeAws_json1_1ContactChannelAddress = (input, context) => {
2266
+ const se_ContactChannelAddress = (input, context) => {
2267
2267
  return {
2268
2268
  ...(input.SimpleAddress != null && { SimpleAddress: input.SimpleAddress }),
2269
2269
  };
2270
2270
  };
2271
- const serializeAws_json1_1ContactTargetInfo = (input, context) => {
2271
+ const se_ContactTargetInfo = (input, context) => {
2272
2272
  return {
2273
2273
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2274
2274
  ...(input.IsEssential != null && { IsEssential: input.IsEssential }),
2275
2275
  };
2276
2276
  };
2277
- const serializeAws_json1_1CoverageTime = (input, context) => {
2277
+ const se_CoverageTime = (input, context) => {
2278
2278
  return {
2279
- ...(input.End != null && { End: serializeAws_json1_1HandOffTime(input.End, context) }),
2280
- ...(input.Start != null && { Start: serializeAws_json1_1HandOffTime(input.Start, context) }),
2279
+ ...(input.End != null && { End: se_HandOffTime(input.End, context) }),
2280
+ ...(input.Start != null && { Start: se_HandOffTime(input.Start, context) }),
2281
2281
  };
2282
2282
  };
2283
- const serializeAws_json1_1CoverageTimes = (input, context) => {
2283
+ const se_CoverageTimes = (input, context) => {
2284
2284
  return input
2285
2285
  .filter((e) => e != null)
2286
2286
  .map((entry) => {
2287
- return serializeAws_json1_1CoverageTime(entry, context);
2287
+ return se_CoverageTime(entry, context);
2288
2288
  });
2289
2289
  };
2290
- const serializeAws_json1_1CreateContactChannelRequest = (input, context) => {
2290
+ const se_CreateContactChannelRequest = (input, context) => {
2291
2291
  return {
2292
2292
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2293
2293
  ...(input.DeferActivation != null && { DeferActivation: input.DeferActivation }),
2294
- ...(input.DeliveryAddress != null && {
2295
- DeliveryAddress: serializeAws_json1_1ContactChannelAddress(input.DeliveryAddress, context),
2296
- }),
2294
+ ...(input.DeliveryAddress != null && { DeliveryAddress: se_ContactChannelAddress(input.DeliveryAddress, context) }),
2297
2295
  IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
2298
2296
  ...(input.Name != null && { Name: input.Name }),
2299
2297
  ...(input.Type != null && { Type: input.Type }),
2300
2298
  };
2301
2299
  };
2302
- const serializeAws_json1_1CreateContactRequest = (input, context) => {
2300
+ const se_CreateContactRequest = (input, context) => {
2303
2301
  return {
2304
2302
  ...(input.Alias != null && { Alias: input.Alias }),
2305
2303
  ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
2306
2304
  IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
2307
- ...(input.Plan != null && { Plan: serializeAws_json1_1Plan(input.Plan, context) }),
2308
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }),
2305
+ ...(input.Plan != null && { Plan: se_Plan(input.Plan, context) }),
2306
+ ...(input.Tags != null && { Tags: se_TagsList(input.Tags, context) }),
2309
2307
  ...(input.Type != null && { Type: input.Type }),
2310
2308
  };
2311
2309
  };
2312
- const serializeAws_json1_1CreateRotationOverrideRequest = (input, context) => {
2310
+ const se_CreateRotationOverrideRequest = (input, context) => {
2313
2311
  return {
2314
2312
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2315
2313
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
2316
2314
  ...(input.NewContactIds != null && {
2317
- NewContactIds: serializeAws_json1_1RotationOverrideContactsArnList(input.NewContactIds, context),
2315
+ NewContactIds: se_RotationOverrideContactsArnList(input.NewContactIds, context),
2318
2316
  }),
2319
2317
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2320
2318
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2321
2319
  };
2322
2320
  };
2323
- const serializeAws_json1_1CreateRotationRequest = (input, context) => {
2321
+ const se_CreateRotationRequest = (input, context) => {
2324
2322
  return {
2325
- ...(input.ContactIds != null && {
2326
- ContactIds: serializeAws_json1_1RotationContactsArnList(input.ContactIds, context),
2327
- }),
2323
+ ...(input.ContactIds != null && { ContactIds: se_RotationContactsArnList(input.ContactIds, context) }),
2328
2324
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
2329
2325
  ...(input.Name != null && { Name: input.Name }),
2330
- ...(input.Recurrence != null && { Recurrence: serializeAws_json1_1RecurrenceSettings(input.Recurrence, context) }),
2326
+ ...(input.Recurrence != null && { Recurrence: se_RecurrenceSettings(input.Recurrence, context) }),
2331
2327
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2332
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }),
2328
+ ...(input.Tags != null && { Tags: se_TagsList(input.Tags, context) }),
2333
2329
  ...(input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId }),
2334
2330
  };
2335
2331
  };
2336
- const serializeAws_json1_1DailySettings = (input, context) => {
2332
+ const se_DailySettings = (input, context) => {
2337
2333
  return input
2338
2334
  .filter((e) => e != null)
2339
2335
  .map((entry) => {
2340
- return serializeAws_json1_1HandOffTime(entry, context);
2336
+ return se_HandOffTime(entry, context);
2341
2337
  });
2342
2338
  };
2343
- const serializeAws_json1_1DeactivateContactChannelRequest = (input, context) => {
2339
+ const se_DeactivateContactChannelRequest = (input, context) => {
2344
2340
  return {
2345
2341
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2346
2342
  };
2347
2343
  };
2348
- const serializeAws_json1_1DeleteContactChannelRequest = (input, context) => {
2344
+ const se_DeleteContactChannelRequest = (input, context) => {
2349
2345
  return {
2350
2346
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2351
2347
  };
2352
2348
  };
2353
- const serializeAws_json1_1DeleteContactRequest = (input, context) => {
2349
+ const se_DeleteContactRequest = (input, context) => {
2354
2350
  return {
2355
2351
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2356
2352
  };
2357
2353
  };
2358
- const serializeAws_json1_1DeleteRotationOverrideRequest = (input, context) => {
2354
+ const se_DeleteRotationOverrideRequest = (input, context) => {
2359
2355
  return {
2360
2356
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2361
2357
  ...(input.RotationOverrideId != null && { RotationOverrideId: input.RotationOverrideId }),
2362
2358
  };
2363
2359
  };
2364
- const serializeAws_json1_1DeleteRotationRequest = (input, context) => {
2360
+ const se_DeleteRotationRequest = (input, context) => {
2365
2361
  return {
2366
2362
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2367
2363
  };
2368
2364
  };
2369
- const serializeAws_json1_1DescribeEngagementRequest = (input, context) => {
2365
+ const se_DescribeEngagementRequest = (input, context) => {
2370
2366
  return {
2371
2367
  ...(input.EngagementId != null && { EngagementId: input.EngagementId }),
2372
2368
  };
2373
2369
  };
2374
- const serializeAws_json1_1DescribePageRequest = (input, context) => {
2370
+ const se_DescribePageRequest = (input, context) => {
2375
2371
  return {
2376
2372
  ...(input.PageId != null && { PageId: input.PageId }),
2377
2373
  };
2378
2374
  };
2379
- const serializeAws_json1_1GetContactChannelRequest = (input, context) => {
2375
+ const se_GetContactChannelRequest = (input, context) => {
2380
2376
  return {
2381
2377
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2382
2378
  };
2383
2379
  };
2384
- const serializeAws_json1_1GetContactPolicyRequest = (input, context) => {
2380
+ const se_GetContactPolicyRequest = (input, context) => {
2385
2381
  return {
2386
2382
  ...(input.ContactArn != null && { ContactArn: input.ContactArn }),
2387
2383
  };
2388
2384
  };
2389
- const serializeAws_json1_1GetContactRequest = (input, context) => {
2385
+ const se_GetContactRequest = (input, context) => {
2390
2386
  return {
2391
2387
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2392
2388
  };
2393
2389
  };
2394
- const serializeAws_json1_1GetRotationOverrideRequest = (input, context) => {
2390
+ const se_GetRotationOverrideRequest = (input, context) => {
2395
2391
  return {
2396
2392
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2397
2393
  ...(input.RotationOverrideId != null && { RotationOverrideId: input.RotationOverrideId }),
2398
2394
  };
2399
2395
  };
2400
- const serializeAws_json1_1GetRotationRequest = (input, context) => {
2396
+ const se_GetRotationRequest = (input, context) => {
2401
2397
  return {
2402
2398
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2403
2399
  };
2404
2400
  };
2405
- const serializeAws_json1_1HandOffTime = (input, context) => {
2401
+ const se_HandOffTime = (input, context) => {
2406
2402
  return {
2407
2403
  ...(input.HourOfDay != null && { HourOfDay: input.HourOfDay }),
2408
2404
  ...(input.MinuteOfHour != null && { MinuteOfHour: input.MinuteOfHour }),
2409
2405
  };
2410
2406
  };
2411
- const serializeAws_json1_1ListContactChannelsRequest = (input, context) => {
2407
+ const se_ListContactChannelsRequest = (input, context) => {
2412
2408
  return {
2413
2409
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2414
2410
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2415
2411
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2416
2412
  };
2417
2413
  };
2418
- const serializeAws_json1_1ListContactsRequest = (input, context) => {
2414
+ const se_ListContactsRequest = (input, context) => {
2419
2415
  return {
2420
2416
  ...(input.AliasPrefix != null && { AliasPrefix: input.AliasPrefix }),
2421
2417
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -2423,57 +2419,55 @@ const serializeAws_json1_1ListContactsRequest = (input, context) => {
2423
2419
  ...(input.Type != null && { Type: input.Type }),
2424
2420
  };
2425
2421
  };
2426
- const serializeAws_json1_1ListEngagementsRequest = (input, context) => {
2422
+ const se_ListEngagementsRequest = (input, context) => {
2427
2423
  return {
2428
2424
  ...(input.IncidentId != null && { IncidentId: input.IncidentId }),
2429
2425
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2430
2426
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2431
- ...(input.TimeRangeValue != null && {
2432
- TimeRangeValue: serializeAws_json1_1TimeRange(input.TimeRangeValue, context),
2433
- }),
2427
+ ...(input.TimeRangeValue != null && { TimeRangeValue: se_TimeRange(input.TimeRangeValue, context) }),
2434
2428
  };
2435
2429
  };
2436
- const serializeAws_json1_1ListPageReceiptsRequest = (input, context) => {
2430
+ const se_ListPageReceiptsRequest = (input, context) => {
2437
2431
  return {
2438
2432
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2439
2433
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2440
2434
  ...(input.PageId != null && { PageId: input.PageId }),
2441
2435
  };
2442
2436
  };
2443
- const serializeAws_json1_1ListPageResolutionsRequest = (input, context) => {
2437
+ const se_ListPageResolutionsRequest = (input, context) => {
2444
2438
  return {
2445
2439
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2446
2440
  ...(input.PageId != null && { PageId: input.PageId }),
2447
2441
  };
2448
2442
  };
2449
- const serializeAws_json1_1ListPagesByContactRequest = (input, context) => {
2443
+ const se_ListPagesByContactRequest = (input, context) => {
2450
2444
  return {
2451
2445
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2452
2446
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2453
2447
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2454
2448
  };
2455
2449
  };
2456
- const serializeAws_json1_1ListPagesByEngagementRequest = (input, context) => {
2450
+ const se_ListPagesByEngagementRequest = (input, context) => {
2457
2451
  return {
2458
2452
  ...(input.EngagementId != null && { EngagementId: input.EngagementId }),
2459
2453
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2460
2454
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2461
2455
  };
2462
2456
  };
2463
- const serializeAws_json1_1ListPreviewRotationShiftsRequest = (input, context) => {
2457
+ const se_ListPreviewRotationShiftsRequest = (input, context) => {
2464
2458
  return {
2465
2459
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2466
2460
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2467
- ...(input.Members != null && { Members: serializeAws_json1_1RotationPreviewMemberList(input.Members, context) }),
2461
+ ...(input.Members != null && { Members: se_RotationPreviewMemberList(input.Members, context) }),
2468
2462
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2469
- ...(input.Overrides != null && { Overrides: serializeAws_json1_1OverrideList(input.Overrides, context) }),
2470
- ...(input.Recurrence != null && { Recurrence: serializeAws_json1_1RecurrenceSettings(input.Recurrence, context) }),
2463
+ ...(input.Overrides != null && { Overrides: se_OverrideList(input.Overrides, context) }),
2464
+ ...(input.Recurrence != null && { Recurrence: se_RecurrenceSettings(input.Recurrence, context) }),
2471
2465
  ...(input.RotationStartTime != null && { RotationStartTime: Math.round(input.RotationStartTime.getTime() / 1000) }),
2472
2466
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2473
2467
  ...(input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId }),
2474
2468
  };
2475
2469
  };
2476
- const serializeAws_json1_1ListRotationOverridesRequest = (input, context) => {
2470
+ const se_ListRotationOverridesRequest = (input, context) => {
2477
2471
  return {
2478
2472
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2479
2473
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -2482,7 +2476,7 @@ const serializeAws_json1_1ListRotationOverridesRequest = (input, context) => {
2482
2476
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2483
2477
  };
2484
2478
  };
2485
- const serializeAws_json1_1ListRotationShiftsRequest = (input, context) => {
2479
+ const se_ListRotationShiftsRequest = (input, context) => {
2486
2480
  return {
2487
2481
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2488
2482
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -2491,142 +2485,130 @@ const serializeAws_json1_1ListRotationShiftsRequest = (input, context) => {
2491
2485
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2492
2486
  };
2493
2487
  };
2494
- const serializeAws_json1_1ListRotationsRequest = (input, context) => {
2488
+ const se_ListRotationsRequest = (input, context) => {
2495
2489
  return {
2496
2490
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2497
2491
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2498
2492
  ...(input.RotationNamePrefix != null && { RotationNamePrefix: input.RotationNamePrefix }),
2499
2493
  };
2500
2494
  };
2501
- const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
2495
+ const se_ListTagsForResourceRequest = (input, context) => {
2502
2496
  return {
2503
2497
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2504
2498
  };
2505
2499
  };
2506
- const serializeAws_json1_1MonthlySetting = (input, context) => {
2500
+ const se_MonthlySetting = (input, context) => {
2507
2501
  return {
2508
2502
  ...(input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth }),
2509
- ...(input.HandOffTime != null && { HandOffTime: serializeAws_json1_1HandOffTime(input.HandOffTime, context) }),
2503
+ ...(input.HandOffTime != null && { HandOffTime: se_HandOffTime(input.HandOffTime, context) }),
2510
2504
  };
2511
2505
  };
2512
- const serializeAws_json1_1MonthlySettings = (input, context) => {
2506
+ const se_MonthlySettings = (input, context) => {
2513
2507
  return input
2514
2508
  .filter((e) => e != null)
2515
2509
  .map((entry) => {
2516
- return serializeAws_json1_1MonthlySetting(entry, context);
2510
+ return se_MonthlySetting(entry, context);
2517
2511
  });
2518
2512
  };
2519
- const serializeAws_json1_1OverrideList = (input, context) => {
2513
+ const se_OverrideList = (input, context) => {
2520
2514
  return input
2521
2515
  .filter((e) => e != null)
2522
2516
  .map((entry) => {
2523
- return serializeAws_json1_1PreviewOverride(entry, context);
2517
+ return se_PreviewOverride(entry, context);
2524
2518
  });
2525
2519
  };
2526
- const serializeAws_json1_1Plan = (input, context) => {
2520
+ const se_Plan = (input, context) => {
2527
2521
  return {
2528
- ...(input.RotationIds != null && {
2529
- RotationIds: serializeAws_json1_1SsmContactsArnList(input.RotationIds, context),
2530
- }),
2531
- ...(input.Stages != null && { Stages: serializeAws_json1_1StagesList(input.Stages, context) }),
2522
+ ...(input.RotationIds != null && { RotationIds: se_SsmContactsArnList(input.RotationIds, context) }),
2523
+ ...(input.Stages != null && { Stages: se_StagesList(input.Stages, context) }),
2532
2524
  };
2533
2525
  };
2534
- const serializeAws_json1_1PreviewOverride = (input, context) => {
2526
+ const se_PreviewOverride = (input, context) => {
2535
2527
  return {
2536
2528
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2537
- ...(input.NewMembers != null && {
2538
- NewMembers: serializeAws_json1_1RotationOverridePreviewMemberList(input.NewMembers, context),
2539
- }),
2529
+ ...(input.NewMembers != null && { NewMembers: se_RotationOverridePreviewMemberList(input.NewMembers, context) }),
2540
2530
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2541
2531
  };
2542
2532
  };
2543
- const serializeAws_json1_1PutContactPolicyRequest = (input, context) => {
2533
+ const se_PutContactPolicyRequest = (input, context) => {
2544
2534
  return {
2545
2535
  ...(input.ContactArn != null && { ContactArn: input.ContactArn }),
2546
2536
  ...(input.Policy != null && { Policy: input.Policy }),
2547
2537
  };
2548
2538
  };
2549
- const serializeAws_json1_1RecurrenceSettings = (input, context) => {
2539
+ const se_RecurrenceSettings = (input, context) => {
2550
2540
  return {
2551
- ...(input.DailySettings != null && {
2552
- DailySettings: serializeAws_json1_1DailySettings(input.DailySettings, context),
2553
- }),
2554
- ...(input.MonthlySettings != null && {
2555
- MonthlySettings: serializeAws_json1_1MonthlySettings(input.MonthlySettings, context),
2556
- }),
2541
+ ...(input.DailySettings != null && { DailySettings: se_DailySettings(input.DailySettings, context) }),
2542
+ ...(input.MonthlySettings != null && { MonthlySettings: se_MonthlySettings(input.MonthlySettings, context) }),
2557
2543
  ...(input.NumberOfOnCalls != null && { NumberOfOnCalls: input.NumberOfOnCalls }),
2558
2544
  ...(input.RecurrenceMultiplier != null && { RecurrenceMultiplier: input.RecurrenceMultiplier }),
2559
- ...(input.ShiftCoverages != null && {
2560
- ShiftCoverages: serializeAws_json1_1ShiftCoveragesMap(input.ShiftCoverages, context),
2561
- }),
2562
- ...(input.WeeklySettings != null && {
2563
- WeeklySettings: serializeAws_json1_1WeeklySettings(input.WeeklySettings, context),
2564
- }),
2545
+ ...(input.ShiftCoverages != null && { ShiftCoverages: se_ShiftCoveragesMap(input.ShiftCoverages, context) }),
2546
+ ...(input.WeeklySettings != null && { WeeklySettings: se_WeeklySettings(input.WeeklySettings, context) }),
2565
2547
  };
2566
2548
  };
2567
- const serializeAws_json1_1RotationContactsArnList = (input, context) => {
2549
+ const se_RotationContactsArnList = (input, context) => {
2568
2550
  return input
2569
2551
  .filter((e) => e != null)
2570
2552
  .map((entry) => {
2571
2553
  return entry;
2572
2554
  });
2573
2555
  };
2574
- const serializeAws_json1_1RotationOverrideContactsArnList = (input, context) => {
2556
+ const se_RotationOverrideContactsArnList = (input, context) => {
2575
2557
  return input
2576
2558
  .filter((e) => e != null)
2577
2559
  .map((entry) => {
2578
2560
  return entry;
2579
2561
  });
2580
2562
  };
2581
- const serializeAws_json1_1RotationOverridePreviewMemberList = (input, context) => {
2563
+ const se_RotationOverridePreviewMemberList = (input, context) => {
2582
2564
  return input
2583
2565
  .filter((e) => e != null)
2584
2566
  .map((entry) => {
2585
2567
  return entry;
2586
2568
  });
2587
2569
  };
2588
- const serializeAws_json1_1RotationPreviewMemberList = (input, context) => {
2570
+ const se_RotationPreviewMemberList = (input, context) => {
2589
2571
  return input
2590
2572
  .filter((e) => e != null)
2591
2573
  .map((entry) => {
2592
2574
  return entry;
2593
2575
  });
2594
2576
  };
2595
- const serializeAws_json1_1SendActivationCodeRequest = (input, context) => {
2577
+ const se_SendActivationCodeRequest = (input, context) => {
2596
2578
  return {
2597
2579
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2598
2580
  };
2599
2581
  };
2600
- const serializeAws_json1_1ShiftCoveragesMap = (input, context) => {
2582
+ const se_ShiftCoveragesMap = (input, context) => {
2601
2583
  return Object.entries(input).reduce((acc, [key, value]) => {
2602
2584
  if (value === null) {
2603
2585
  return acc;
2604
2586
  }
2605
- acc[key] = serializeAws_json1_1CoverageTimes(value, context);
2587
+ acc[key] = se_CoverageTimes(value, context);
2606
2588
  return acc;
2607
2589
  }, {});
2608
2590
  };
2609
- const serializeAws_json1_1SsmContactsArnList = (input, context) => {
2591
+ const se_SsmContactsArnList = (input, context) => {
2610
2592
  return input
2611
2593
  .filter((e) => e != null)
2612
2594
  .map((entry) => {
2613
2595
  return entry;
2614
2596
  });
2615
2597
  };
2616
- const serializeAws_json1_1Stage = (input, context) => {
2598
+ const se_Stage = (input, context) => {
2617
2599
  return {
2618
2600
  ...(input.DurationInMinutes != null && { DurationInMinutes: input.DurationInMinutes }),
2619
- ...(input.Targets != null && { Targets: serializeAws_json1_1TargetsList(input.Targets, context) }),
2601
+ ...(input.Targets != null && { Targets: se_TargetsList(input.Targets, context) }),
2620
2602
  };
2621
2603
  };
2622
- const serializeAws_json1_1StagesList = (input, context) => {
2604
+ const se_StagesList = (input, context) => {
2623
2605
  return input
2624
2606
  .filter((e) => e != null)
2625
2607
  .map((entry) => {
2626
- return serializeAws_json1_1Stage(entry, context);
2608
+ return se_Stage(entry, context);
2627
2609
  });
2628
2610
  };
2629
- const serializeAws_json1_1StartEngagementRequest = (input, context) => {
2611
+ const se_StartEngagementRequest = (input, context) => {
2630
2612
  return {
2631
2613
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2632
2614
  ...(input.Content != null && { Content: input.Content }),
@@ -2638,135 +2620,129 @@ const serializeAws_json1_1StartEngagementRequest = (input, context) => {
2638
2620
  ...(input.Subject != null && { Subject: input.Subject }),
2639
2621
  };
2640
2622
  };
2641
- const serializeAws_json1_1StopEngagementRequest = (input, context) => {
2623
+ const se_StopEngagementRequest = (input, context) => {
2642
2624
  return {
2643
2625
  ...(input.EngagementId != null && { EngagementId: input.EngagementId }),
2644
2626
  ...(input.Reason != null && { Reason: input.Reason }),
2645
2627
  };
2646
2628
  };
2647
- const serializeAws_json1_1Tag = (input, context) => {
2629
+ const se_Tag = (input, context) => {
2648
2630
  return {
2649
2631
  ...(input.Key != null && { Key: input.Key }),
2650
2632
  ...(input.Value != null && { Value: input.Value }),
2651
2633
  };
2652
2634
  };
2653
- const serializeAws_json1_1TagKeyList = (input, context) => {
2635
+ const se_TagKeyList = (input, context) => {
2654
2636
  return input
2655
2637
  .filter((e) => e != null)
2656
2638
  .map((entry) => {
2657
2639
  return entry;
2658
2640
  });
2659
2641
  };
2660
- const serializeAws_json1_1TagResourceRequest = (input, context) => {
2642
+ const se_TagResourceRequest = (input, context) => {
2661
2643
  return {
2662
2644
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2663
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagsList(input.Tags, context) }),
2645
+ ...(input.Tags != null && { Tags: se_TagsList(input.Tags, context) }),
2664
2646
  };
2665
2647
  };
2666
- const serializeAws_json1_1TagsList = (input, context) => {
2648
+ const se_TagsList = (input, context) => {
2667
2649
  return input
2668
2650
  .filter((e) => e != null)
2669
2651
  .map((entry) => {
2670
- return serializeAws_json1_1Tag(entry, context);
2652
+ return se_Tag(entry, context);
2671
2653
  });
2672
2654
  };
2673
- const serializeAws_json1_1Target = (input, context) => {
2655
+ const se_Target = (input, context) => {
2674
2656
  return {
2675
2657
  ...(input.ChannelTargetInfo != null && {
2676
- ChannelTargetInfo: serializeAws_json1_1ChannelTargetInfo(input.ChannelTargetInfo, context),
2658
+ ChannelTargetInfo: se_ChannelTargetInfo(input.ChannelTargetInfo, context),
2677
2659
  }),
2678
2660
  ...(input.ContactTargetInfo != null && {
2679
- ContactTargetInfo: serializeAws_json1_1ContactTargetInfo(input.ContactTargetInfo, context),
2661
+ ContactTargetInfo: se_ContactTargetInfo(input.ContactTargetInfo, context),
2680
2662
  }),
2681
2663
  };
2682
2664
  };
2683
- const serializeAws_json1_1TargetsList = (input, context) => {
2665
+ const se_TargetsList = (input, context) => {
2684
2666
  return input
2685
2667
  .filter((e) => e != null)
2686
2668
  .map((entry) => {
2687
- return serializeAws_json1_1Target(entry, context);
2669
+ return se_Target(entry, context);
2688
2670
  });
2689
2671
  };
2690
- const serializeAws_json1_1TimeRange = (input, context) => {
2672
+ const se_TimeRange = (input, context) => {
2691
2673
  return {
2692
2674
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2693
2675
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2694
2676
  };
2695
2677
  };
2696
- const serializeAws_json1_1UntagResourceRequest = (input, context) => {
2678
+ const se_UntagResourceRequest = (input, context) => {
2697
2679
  return {
2698
2680
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2699
- ...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
2681
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
2700
2682
  };
2701
2683
  };
2702
- const serializeAws_json1_1UpdateContactChannelRequest = (input, context) => {
2684
+ const se_UpdateContactChannelRequest = (input, context) => {
2703
2685
  return {
2704
2686
  ...(input.ContactChannelId != null && { ContactChannelId: input.ContactChannelId }),
2705
- ...(input.DeliveryAddress != null && {
2706
- DeliveryAddress: serializeAws_json1_1ContactChannelAddress(input.DeliveryAddress, context),
2707
- }),
2687
+ ...(input.DeliveryAddress != null && { DeliveryAddress: se_ContactChannelAddress(input.DeliveryAddress, context) }),
2708
2688
  ...(input.Name != null && { Name: input.Name }),
2709
2689
  };
2710
2690
  };
2711
- const serializeAws_json1_1UpdateContactRequest = (input, context) => {
2691
+ const se_UpdateContactRequest = (input, context) => {
2712
2692
  return {
2713
2693
  ...(input.ContactId != null && { ContactId: input.ContactId }),
2714
2694
  ...(input.DisplayName != null && { DisplayName: input.DisplayName }),
2715
- ...(input.Plan != null && { Plan: serializeAws_json1_1Plan(input.Plan, context) }),
2695
+ ...(input.Plan != null && { Plan: se_Plan(input.Plan, context) }),
2716
2696
  };
2717
2697
  };
2718
- const serializeAws_json1_1UpdateRotationRequest = (input, context) => {
2698
+ const se_UpdateRotationRequest = (input, context) => {
2719
2699
  return {
2720
- ...(input.ContactIds != null && {
2721
- ContactIds: serializeAws_json1_1RotationContactsArnList(input.ContactIds, context),
2722
- }),
2723
- ...(input.Recurrence != null && { Recurrence: serializeAws_json1_1RecurrenceSettings(input.Recurrence, context) }),
2700
+ ...(input.ContactIds != null && { ContactIds: se_RotationContactsArnList(input.ContactIds, context) }),
2701
+ ...(input.Recurrence != null && { Recurrence: se_RecurrenceSettings(input.Recurrence, context) }),
2724
2702
  ...(input.RotationId != null && { RotationId: input.RotationId }),
2725
2703
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2726
2704
  ...(input.TimeZoneId != null && { TimeZoneId: input.TimeZoneId }),
2727
2705
  };
2728
2706
  };
2729
- const serializeAws_json1_1WeeklySetting = (input, context) => {
2707
+ const se_WeeklySetting = (input, context) => {
2730
2708
  return {
2731
2709
  ...(input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek }),
2732
- ...(input.HandOffTime != null && { HandOffTime: serializeAws_json1_1HandOffTime(input.HandOffTime, context) }),
2710
+ ...(input.HandOffTime != null && { HandOffTime: se_HandOffTime(input.HandOffTime, context) }),
2733
2711
  };
2734
2712
  };
2735
- const serializeAws_json1_1WeeklySettings = (input, context) => {
2713
+ const se_WeeklySettings = (input, context) => {
2736
2714
  return input
2737
2715
  .filter((e) => e != null)
2738
2716
  .map((entry) => {
2739
- return serializeAws_json1_1WeeklySetting(entry, context);
2717
+ return se_WeeklySetting(entry, context);
2740
2718
  });
2741
2719
  };
2742
- const deserializeAws_json1_1AcceptPageResult = (output, context) => {
2720
+ const de_AcceptPageResult = (output, context) => {
2743
2721
  return {};
2744
2722
  };
2745
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
2723
+ const de_AccessDeniedException = (output, context) => {
2746
2724
  return {
2747
2725
  Message: __expectString(output.Message),
2748
2726
  };
2749
2727
  };
2750
- const deserializeAws_json1_1ActivateContactChannelResult = (output, context) => {
2728
+ const de_ActivateContactChannelResult = (output, context) => {
2751
2729
  return {};
2752
2730
  };
2753
- const deserializeAws_json1_1ChannelTargetInfo = (output, context) => {
2731
+ const de_ChannelTargetInfo = (output, context) => {
2754
2732
  return {
2755
2733
  ContactChannelId: __expectString(output.ContactChannelId),
2756
2734
  RetryIntervalInMinutes: __expectInt32(output.RetryIntervalInMinutes),
2757
2735
  };
2758
2736
  };
2759
- const deserializeAws_json1_1ConflictException = (output, context) => {
2737
+ const de_ConflictException = (output, context) => {
2760
2738
  return {
2761
- DependentEntities: output.DependentEntities != null
2762
- ? deserializeAws_json1_1DependentEntityList(output.DependentEntities, context)
2763
- : undefined,
2739
+ DependentEntities: output.DependentEntities != null ? de_DependentEntityList(output.DependentEntities, context) : undefined,
2764
2740
  Message: __expectString(output.Message),
2765
2741
  ResourceId: __expectString(output.ResourceId),
2766
2742
  ResourceType: __expectString(output.ResourceType),
2767
2743
  };
2768
2744
  };
2769
- const deserializeAws_json1_1Contact = (output, context) => {
2745
+ const de_Contact = (output, context) => {
2770
2746
  return {
2771
2747
  Alias: __expectString(output.Alias),
2772
2748
  ContactArn: __expectString(output.ContactArn),
@@ -2774,139 +2750,135 @@ const deserializeAws_json1_1Contact = (output, context) => {
2774
2750
  Type: __expectString(output.Type),
2775
2751
  };
2776
2752
  };
2777
- const deserializeAws_json1_1ContactChannel = (output, context) => {
2753
+ const de_ContactChannel = (output, context) => {
2778
2754
  return {
2779
2755
  ActivationStatus: __expectString(output.ActivationStatus),
2780
2756
  ContactArn: __expectString(output.ContactArn),
2781
2757
  ContactChannelArn: __expectString(output.ContactChannelArn),
2782
- DeliveryAddress: output.DeliveryAddress != null
2783
- ? deserializeAws_json1_1ContactChannelAddress(output.DeliveryAddress, context)
2784
- : undefined,
2758
+ DeliveryAddress: output.DeliveryAddress != null ? de_ContactChannelAddress(output.DeliveryAddress, context) : undefined,
2785
2759
  Name: __expectString(output.Name),
2786
2760
  Type: __expectString(output.Type),
2787
2761
  };
2788
2762
  };
2789
- const deserializeAws_json1_1ContactChannelAddress = (output, context) => {
2763
+ const de_ContactChannelAddress = (output, context) => {
2790
2764
  return {
2791
2765
  SimpleAddress: __expectString(output.SimpleAddress),
2792
2766
  };
2793
2767
  };
2794
- const deserializeAws_json1_1ContactChannelList = (output, context) => {
2768
+ const de_ContactChannelList = (output, context) => {
2795
2769
  const retVal = (output || [])
2796
2770
  .filter((e) => e != null)
2797
2771
  .map((entry) => {
2798
2772
  if (entry === null) {
2799
2773
  return null;
2800
2774
  }
2801
- return deserializeAws_json1_1ContactChannel(entry, context);
2775
+ return de_ContactChannel(entry, context);
2802
2776
  });
2803
2777
  return retVal;
2804
2778
  };
2805
- const deserializeAws_json1_1ContactsList = (output, context) => {
2779
+ const de_ContactsList = (output, context) => {
2806
2780
  const retVal = (output || [])
2807
2781
  .filter((e) => e != null)
2808
2782
  .map((entry) => {
2809
2783
  if (entry === null) {
2810
2784
  return null;
2811
2785
  }
2812
- return deserializeAws_json1_1Contact(entry, context);
2786
+ return de_Contact(entry, context);
2813
2787
  });
2814
2788
  return retVal;
2815
2789
  };
2816
- const deserializeAws_json1_1ContactTargetInfo = (output, context) => {
2790
+ const de_ContactTargetInfo = (output, context) => {
2817
2791
  return {
2818
2792
  ContactId: __expectString(output.ContactId),
2819
2793
  IsEssential: __expectBoolean(output.IsEssential),
2820
2794
  };
2821
2795
  };
2822
- const deserializeAws_json1_1CoverageTime = (output, context) => {
2796
+ const de_CoverageTime = (output, context) => {
2823
2797
  return {
2824
- End: output.End != null ? deserializeAws_json1_1HandOffTime(output.End, context) : undefined,
2825
- Start: output.Start != null ? deserializeAws_json1_1HandOffTime(output.Start, context) : undefined,
2798
+ End: output.End != null ? de_HandOffTime(output.End, context) : undefined,
2799
+ Start: output.Start != null ? de_HandOffTime(output.Start, context) : undefined,
2826
2800
  };
2827
2801
  };
2828
- const deserializeAws_json1_1CoverageTimes = (output, context) => {
2802
+ const de_CoverageTimes = (output, context) => {
2829
2803
  const retVal = (output || [])
2830
2804
  .filter((e) => e != null)
2831
2805
  .map((entry) => {
2832
2806
  if (entry === null) {
2833
2807
  return null;
2834
2808
  }
2835
- return deserializeAws_json1_1CoverageTime(entry, context);
2809
+ return de_CoverageTime(entry, context);
2836
2810
  });
2837
2811
  return retVal;
2838
2812
  };
2839
- const deserializeAws_json1_1CreateContactChannelResult = (output, context) => {
2813
+ const de_CreateContactChannelResult = (output, context) => {
2840
2814
  return {
2841
2815
  ContactChannelArn: __expectString(output.ContactChannelArn),
2842
2816
  };
2843
2817
  };
2844
- const deserializeAws_json1_1CreateContactResult = (output, context) => {
2818
+ const de_CreateContactResult = (output, context) => {
2845
2819
  return {
2846
2820
  ContactArn: __expectString(output.ContactArn),
2847
2821
  };
2848
2822
  };
2849
- const deserializeAws_json1_1CreateRotationOverrideResult = (output, context) => {
2823
+ const de_CreateRotationOverrideResult = (output, context) => {
2850
2824
  return {
2851
2825
  RotationOverrideId: __expectString(output.RotationOverrideId),
2852
2826
  };
2853
2827
  };
2854
- const deserializeAws_json1_1CreateRotationResult = (output, context) => {
2828
+ const de_CreateRotationResult = (output, context) => {
2855
2829
  return {
2856
2830
  RotationArn: __expectString(output.RotationArn),
2857
2831
  };
2858
2832
  };
2859
- const deserializeAws_json1_1DailySettings = (output, context) => {
2833
+ const de_DailySettings = (output, context) => {
2860
2834
  const retVal = (output || [])
2861
2835
  .filter((e) => e != null)
2862
2836
  .map((entry) => {
2863
2837
  if (entry === null) {
2864
2838
  return null;
2865
2839
  }
2866
- return deserializeAws_json1_1HandOffTime(entry, context);
2840
+ return de_HandOffTime(entry, context);
2867
2841
  });
2868
2842
  return retVal;
2869
2843
  };
2870
- const deserializeAws_json1_1DataEncryptionException = (output, context) => {
2844
+ const de_DataEncryptionException = (output, context) => {
2871
2845
  return {
2872
2846
  Message: __expectString(output.Message),
2873
2847
  };
2874
2848
  };
2875
- const deserializeAws_json1_1DeactivateContactChannelResult = (output, context) => {
2849
+ const de_DeactivateContactChannelResult = (output, context) => {
2876
2850
  return {};
2877
2851
  };
2878
- const deserializeAws_json1_1DeleteContactChannelResult = (output, context) => {
2852
+ const de_DeleteContactChannelResult = (output, context) => {
2879
2853
  return {};
2880
2854
  };
2881
- const deserializeAws_json1_1DeleteContactResult = (output, context) => {
2855
+ const de_DeleteContactResult = (output, context) => {
2882
2856
  return {};
2883
2857
  };
2884
- const deserializeAws_json1_1DeleteRotationOverrideResult = (output, context) => {
2858
+ const de_DeleteRotationOverrideResult = (output, context) => {
2885
2859
  return {};
2886
2860
  };
2887
- const deserializeAws_json1_1DeleteRotationResult = (output, context) => {
2861
+ const de_DeleteRotationResult = (output, context) => {
2888
2862
  return {};
2889
2863
  };
2890
- const deserializeAws_json1_1DependentEntity = (output, context) => {
2864
+ const de_DependentEntity = (output, context) => {
2891
2865
  return {
2892
- DependentResourceIds: output.DependentResourceIds != null
2893
- ? deserializeAws_json1_1SsmContactsArnList(output.DependentResourceIds, context)
2894
- : undefined,
2866
+ DependentResourceIds: output.DependentResourceIds != null ? de_SsmContactsArnList(output.DependentResourceIds, context) : undefined,
2895
2867
  RelationType: __expectString(output.RelationType),
2896
2868
  };
2897
2869
  };
2898
- const deserializeAws_json1_1DependentEntityList = (output, context) => {
2870
+ const de_DependentEntityList = (output, context) => {
2899
2871
  const retVal = (output || [])
2900
2872
  .filter((e) => e != null)
2901
2873
  .map((entry) => {
2902
2874
  if (entry === null) {
2903
2875
  return null;
2904
2876
  }
2905
- return deserializeAws_json1_1DependentEntity(entry, context);
2877
+ return de_DependentEntity(entry, context);
2906
2878
  });
2907
2879
  return retVal;
2908
2880
  };
2909
- const deserializeAws_json1_1DescribeEngagementResult = (output, context) => {
2881
+ const de_DescribeEngagementResult = (output, context) => {
2910
2882
  return {
2911
2883
  ContactArn: __expectString(output.ContactArn),
2912
2884
  Content: __expectString(output.Content),
@@ -2920,7 +2892,7 @@ const deserializeAws_json1_1DescribeEngagementResult = (output, context) => {
2920
2892
  Subject: __expectString(output.Subject),
2921
2893
  };
2922
2894
  };
2923
- const deserializeAws_json1_1DescribePageResult = (output, context) => {
2895
+ const de_DescribePageResult = (output, context) => {
2924
2896
  return {
2925
2897
  ContactArn: __expectString(output.ContactArn),
2926
2898
  Content: __expectString(output.Content),
@@ -2938,7 +2910,7 @@ const deserializeAws_json1_1DescribePageResult = (output, context) => {
2938
2910
  Subject: __expectString(output.Subject),
2939
2911
  };
2940
2912
  };
2941
- const deserializeAws_json1_1Engagement = (output, context) => {
2913
+ const de_Engagement = (output, context) => {
2942
2914
  return {
2943
2915
  ContactArn: __expectString(output.ContactArn),
2944
2916
  EngagementArn: __expectString(output.EngagementArn),
@@ -2948,173 +2920,163 @@ const deserializeAws_json1_1Engagement = (output, context) => {
2948
2920
  StopTime: output.StopTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StopTime))) : undefined,
2949
2921
  };
2950
2922
  };
2951
- const deserializeAws_json1_1EngagementsList = (output, context) => {
2923
+ const de_EngagementsList = (output, context) => {
2952
2924
  const retVal = (output || [])
2953
2925
  .filter((e) => e != null)
2954
2926
  .map((entry) => {
2955
2927
  if (entry === null) {
2956
2928
  return null;
2957
2929
  }
2958
- return deserializeAws_json1_1Engagement(entry, context);
2930
+ return de_Engagement(entry, context);
2959
2931
  });
2960
2932
  return retVal;
2961
2933
  };
2962
- const deserializeAws_json1_1GetContactChannelResult = (output, context) => {
2934
+ const de_GetContactChannelResult = (output, context) => {
2963
2935
  return {
2964
2936
  ActivationStatus: __expectString(output.ActivationStatus),
2965
2937
  ContactArn: __expectString(output.ContactArn),
2966
2938
  ContactChannelArn: __expectString(output.ContactChannelArn),
2967
- DeliveryAddress: output.DeliveryAddress != null
2968
- ? deserializeAws_json1_1ContactChannelAddress(output.DeliveryAddress, context)
2969
- : undefined,
2939
+ DeliveryAddress: output.DeliveryAddress != null ? de_ContactChannelAddress(output.DeliveryAddress, context) : undefined,
2970
2940
  Name: __expectString(output.Name),
2971
2941
  Type: __expectString(output.Type),
2972
2942
  };
2973
2943
  };
2974
- const deserializeAws_json1_1GetContactPolicyResult = (output, context) => {
2944
+ const de_GetContactPolicyResult = (output, context) => {
2975
2945
  return {
2976
2946
  ContactArn: __expectString(output.ContactArn),
2977
2947
  Policy: __expectString(output.Policy),
2978
2948
  };
2979
2949
  };
2980
- const deserializeAws_json1_1GetContactResult = (output, context) => {
2950
+ const de_GetContactResult = (output, context) => {
2981
2951
  return {
2982
2952
  Alias: __expectString(output.Alias),
2983
2953
  ContactArn: __expectString(output.ContactArn),
2984
2954
  DisplayName: __expectString(output.DisplayName),
2985
- Plan: output.Plan != null ? deserializeAws_json1_1Plan(output.Plan, context) : undefined,
2955
+ Plan: output.Plan != null ? de_Plan(output.Plan, context) : undefined,
2986
2956
  Type: __expectString(output.Type),
2987
2957
  };
2988
2958
  };
2989
- const deserializeAws_json1_1GetRotationOverrideResult = (output, context) => {
2959
+ const de_GetRotationOverrideResult = (output, context) => {
2990
2960
  return {
2991
2961
  CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
2992
2962
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2993
- NewContactIds: output.NewContactIds != null
2994
- ? deserializeAws_json1_1SsmContactsArnList(output.NewContactIds, context)
2995
- : undefined,
2963
+ NewContactIds: output.NewContactIds != null ? de_SsmContactsArnList(output.NewContactIds, context) : undefined,
2996
2964
  RotationArn: __expectString(output.RotationArn),
2997
2965
  RotationOverrideId: __expectString(output.RotationOverrideId),
2998
2966
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2999
2967
  };
3000
2968
  };
3001
- const deserializeAws_json1_1GetRotationResult = (output, context) => {
2969
+ const de_GetRotationResult = (output, context) => {
3002
2970
  return {
3003
- ContactIds: output.ContactIds != null ? deserializeAws_json1_1RotationContactsArnList(output.ContactIds, context) : undefined,
2971
+ ContactIds: output.ContactIds != null ? de_RotationContactsArnList(output.ContactIds, context) : undefined,
3004
2972
  Name: __expectString(output.Name),
3005
- Recurrence: output.Recurrence != null ? deserializeAws_json1_1RecurrenceSettings(output.Recurrence, context) : undefined,
2973
+ Recurrence: output.Recurrence != null ? de_RecurrenceSettings(output.Recurrence, context) : undefined,
3006
2974
  RotationArn: __expectString(output.RotationArn),
3007
2975
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3008
2976
  TimeZoneId: __expectString(output.TimeZoneId),
3009
2977
  };
3010
2978
  };
3011
- const deserializeAws_json1_1HandOffTime = (output, context) => {
2979
+ const de_HandOffTime = (output, context) => {
3012
2980
  return {
3013
2981
  HourOfDay: __expectInt32(output.HourOfDay),
3014
2982
  MinuteOfHour: __expectInt32(output.MinuteOfHour),
3015
2983
  };
3016
2984
  };
3017
- const deserializeAws_json1_1InternalServerException = (output, context) => {
2985
+ const de_InternalServerException = (output, context) => {
3018
2986
  return {
3019
2987
  Message: __expectString(output.Message),
3020
2988
  RetryAfterSeconds: __expectInt32(output.RetryAfterSeconds),
3021
2989
  };
3022
2990
  };
3023
- const deserializeAws_json1_1ListContactChannelsResult = (output, context) => {
2991
+ const de_ListContactChannelsResult = (output, context) => {
3024
2992
  return {
3025
- ContactChannels: output.ContactChannels != null
3026
- ? deserializeAws_json1_1ContactChannelList(output.ContactChannels, context)
3027
- : undefined,
2993
+ ContactChannels: output.ContactChannels != null ? de_ContactChannelList(output.ContactChannels, context) : undefined,
3028
2994
  NextToken: __expectString(output.NextToken),
3029
2995
  };
3030
2996
  };
3031
- const deserializeAws_json1_1ListContactsResult = (output, context) => {
2997
+ const de_ListContactsResult = (output, context) => {
3032
2998
  return {
3033
- Contacts: output.Contacts != null ? deserializeAws_json1_1ContactsList(output.Contacts, context) : undefined,
2999
+ Contacts: output.Contacts != null ? de_ContactsList(output.Contacts, context) : undefined,
3034
3000
  NextToken: __expectString(output.NextToken),
3035
3001
  };
3036
3002
  };
3037
- const deserializeAws_json1_1ListEngagementsResult = (output, context) => {
3003
+ const de_ListEngagementsResult = (output, context) => {
3038
3004
  return {
3039
- Engagements: output.Engagements != null ? deserializeAws_json1_1EngagementsList(output.Engagements, context) : undefined,
3005
+ Engagements: output.Engagements != null ? de_EngagementsList(output.Engagements, context) : undefined,
3040
3006
  NextToken: __expectString(output.NextToken),
3041
3007
  };
3042
3008
  };
3043
- const deserializeAws_json1_1ListPageReceiptsResult = (output, context) => {
3009
+ const de_ListPageReceiptsResult = (output, context) => {
3044
3010
  return {
3045
3011
  NextToken: __expectString(output.NextToken),
3046
- Receipts: output.Receipts != null ? deserializeAws_json1_1ReceiptsList(output.Receipts, context) : undefined,
3012
+ Receipts: output.Receipts != null ? de_ReceiptsList(output.Receipts, context) : undefined,
3047
3013
  };
3048
3014
  };
3049
- const deserializeAws_json1_1ListPageResolutionsResult = (output, context) => {
3015
+ const de_ListPageResolutionsResult = (output, context) => {
3050
3016
  return {
3051
3017
  NextToken: __expectString(output.NextToken),
3052
- PageResolutions: output.PageResolutions != null
3053
- ? deserializeAws_json1_1ResolutionList(output.PageResolutions, context)
3054
- : undefined,
3018
+ PageResolutions: output.PageResolutions != null ? de_ResolutionList(output.PageResolutions, context) : undefined,
3055
3019
  };
3056
3020
  };
3057
- const deserializeAws_json1_1ListPagesByContactResult = (output, context) => {
3021
+ const de_ListPagesByContactResult = (output, context) => {
3058
3022
  return {
3059
3023
  NextToken: __expectString(output.NextToken),
3060
- Pages: output.Pages != null ? deserializeAws_json1_1PagesList(output.Pages, context) : undefined,
3024
+ Pages: output.Pages != null ? de_PagesList(output.Pages, context) : undefined,
3061
3025
  };
3062
3026
  };
3063
- const deserializeAws_json1_1ListPagesByEngagementResult = (output, context) => {
3027
+ const de_ListPagesByEngagementResult = (output, context) => {
3064
3028
  return {
3065
3029
  NextToken: __expectString(output.NextToken),
3066
- Pages: output.Pages != null ? deserializeAws_json1_1PagesList(output.Pages, context) : undefined,
3030
+ Pages: output.Pages != null ? de_PagesList(output.Pages, context) : undefined,
3067
3031
  };
3068
3032
  };
3069
- const deserializeAws_json1_1ListPreviewRotationShiftsResult = (output, context) => {
3033
+ const de_ListPreviewRotationShiftsResult = (output, context) => {
3070
3034
  return {
3071
3035
  NextToken: __expectString(output.NextToken),
3072
- RotationShifts: output.RotationShifts != null ? deserializeAws_json1_1RotationShifts(output.RotationShifts, context) : undefined,
3036
+ RotationShifts: output.RotationShifts != null ? de_RotationShifts(output.RotationShifts, context) : undefined,
3073
3037
  };
3074
3038
  };
3075
- const deserializeAws_json1_1ListRotationOverridesResult = (output, context) => {
3039
+ const de_ListRotationOverridesResult = (output, context) => {
3076
3040
  return {
3077
3041
  NextToken: __expectString(output.NextToken),
3078
- RotationOverrides: output.RotationOverrides != null
3079
- ? deserializeAws_json1_1RotationOverrides(output.RotationOverrides, context)
3080
- : undefined,
3042
+ RotationOverrides: output.RotationOverrides != null ? de_RotationOverrides(output.RotationOverrides, context) : undefined,
3081
3043
  };
3082
3044
  };
3083
- const deserializeAws_json1_1ListRotationShiftsResult = (output, context) => {
3045
+ const de_ListRotationShiftsResult = (output, context) => {
3084
3046
  return {
3085
3047
  NextToken: __expectString(output.NextToken),
3086
- RotationShifts: output.RotationShifts != null ? deserializeAws_json1_1RotationShifts(output.RotationShifts, context) : undefined,
3048
+ RotationShifts: output.RotationShifts != null ? de_RotationShifts(output.RotationShifts, context) : undefined,
3087
3049
  };
3088
3050
  };
3089
- const deserializeAws_json1_1ListRotationsResult = (output, context) => {
3051
+ const de_ListRotationsResult = (output, context) => {
3090
3052
  return {
3091
3053
  NextToken: __expectString(output.NextToken),
3092
- Rotations: output.Rotations != null ? deserializeAws_json1_1Rotations(output.Rotations, context) : undefined,
3054
+ Rotations: output.Rotations != null ? de_Rotations(output.Rotations, context) : undefined,
3093
3055
  };
3094
3056
  };
3095
- const deserializeAws_json1_1ListTagsForResourceResult = (output, context) => {
3057
+ const de_ListTagsForResourceResult = (output, context) => {
3096
3058
  return {
3097
- Tags: output.Tags != null ? deserializeAws_json1_1TagsList(output.Tags, context) : undefined,
3059
+ Tags: output.Tags != null ? de_TagsList(output.Tags, context) : undefined,
3098
3060
  };
3099
3061
  };
3100
- const deserializeAws_json1_1MonthlySetting = (output, context) => {
3062
+ const de_MonthlySetting = (output, context) => {
3101
3063
  return {
3102
3064
  DayOfMonth: __expectInt32(output.DayOfMonth),
3103
- HandOffTime: output.HandOffTime != null ? deserializeAws_json1_1HandOffTime(output.HandOffTime, context) : undefined,
3065
+ HandOffTime: output.HandOffTime != null ? de_HandOffTime(output.HandOffTime, context) : undefined,
3104
3066
  };
3105
3067
  };
3106
- const deserializeAws_json1_1MonthlySettings = (output, context) => {
3068
+ const de_MonthlySettings = (output, context) => {
3107
3069
  const retVal = (output || [])
3108
3070
  .filter((e) => e != null)
3109
3071
  .map((entry) => {
3110
3072
  if (entry === null) {
3111
3073
  return null;
3112
3074
  }
3113
- return deserializeAws_json1_1MonthlySetting(entry, context);
3075
+ return de_MonthlySetting(entry, context);
3114
3076
  });
3115
3077
  return retVal;
3116
3078
  };
3117
- const deserializeAws_json1_1Page = (output, context) => {
3079
+ const de_Page = (output, context) => {
3118
3080
  return {
3119
3081
  ContactArn: __expectString(output.ContactArn),
3120
3082
  DeliveryTime: output.DeliveryTime != null
@@ -3128,27 +3090,27 @@ const deserializeAws_json1_1Page = (output, context) => {
3128
3090
  SentTime: output.SentTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SentTime))) : undefined,
3129
3091
  };
3130
3092
  };
3131
- const deserializeAws_json1_1PagesList = (output, context) => {
3093
+ const de_PagesList = (output, context) => {
3132
3094
  const retVal = (output || [])
3133
3095
  .filter((e) => e != null)
3134
3096
  .map((entry) => {
3135
3097
  if (entry === null) {
3136
3098
  return null;
3137
3099
  }
3138
- return deserializeAws_json1_1Page(entry, context);
3100
+ return de_Page(entry, context);
3139
3101
  });
3140
3102
  return retVal;
3141
3103
  };
3142
- const deserializeAws_json1_1Plan = (output, context) => {
3104
+ const de_Plan = (output, context) => {
3143
3105
  return {
3144
- RotationIds: output.RotationIds != null ? deserializeAws_json1_1SsmContactsArnList(output.RotationIds, context) : undefined,
3145
- Stages: output.Stages != null ? deserializeAws_json1_1StagesList(output.Stages, context) : undefined,
3106
+ RotationIds: output.RotationIds != null ? de_SsmContactsArnList(output.RotationIds, context) : undefined,
3107
+ Stages: output.Stages != null ? de_StagesList(output.Stages, context) : undefined,
3146
3108
  };
3147
3109
  };
3148
- const deserializeAws_json1_1PutContactPolicyResult = (output, context) => {
3110
+ const de_PutContactPolicyResult = (output, context) => {
3149
3111
  return {};
3150
3112
  };
3151
- const deserializeAws_json1_1Receipt = (output, context) => {
3113
+ const de_Receipt = (output, context) => {
3152
3114
  return {
3153
3115
  ContactChannelArn: __expectString(output.ContactChannelArn),
3154
3116
  ReceiptInfo: __expectString(output.ReceiptInfo),
@@ -3158,67 +3120,63 @@ const deserializeAws_json1_1Receipt = (output, context) => {
3158
3120
  ReceiptType: __expectString(output.ReceiptType),
3159
3121
  };
3160
3122
  };
3161
- const deserializeAws_json1_1ReceiptsList = (output, context) => {
3123
+ const de_ReceiptsList = (output, context) => {
3162
3124
  const retVal = (output || [])
3163
3125
  .filter((e) => e != null)
3164
3126
  .map((entry) => {
3165
3127
  if (entry === null) {
3166
3128
  return null;
3167
3129
  }
3168
- return deserializeAws_json1_1Receipt(entry, context);
3130
+ return de_Receipt(entry, context);
3169
3131
  });
3170
3132
  return retVal;
3171
3133
  };
3172
- const deserializeAws_json1_1RecurrenceSettings = (output, context) => {
3134
+ const de_RecurrenceSettings = (output, context) => {
3173
3135
  return {
3174
- DailySettings: output.DailySettings != null ? deserializeAws_json1_1DailySettings(output.DailySettings, context) : undefined,
3175
- MonthlySettings: output.MonthlySettings != null
3176
- ? deserializeAws_json1_1MonthlySettings(output.MonthlySettings, context)
3177
- : undefined,
3136
+ DailySettings: output.DailySettings != null ? de_DailySettings(output.DailySettings, context) : undefined,
3137
+ MonthlySettings: output.MonthlySettings != null ? de_MonthlySettings(output.MonthlySettings, context) : undefined,
3178
3138
  NumberOfOnCalls: __expectInt32(output.NumberOfOnCalls),
3179
3139
  RecurrenceMultiplier: __expectInt32(output.RecurrenceMultiplier),
3180
- ShiftCoverages: output.ShiftCoverages != null
3181
- ? deserializeAws_json1_1ShiftCoveragesMap(output.ShiftCoverages, context)
3182
- : undefined,
3183
- WeeklySettings: output.WeeklySettings != null ? deserializeAws_json1_1WeeklySettings(output.WeeklySettings, context) : undefined,
3140
+ ShiftCoverages: output.ShiftCoverages != null ? de_ShiftCoveragesMap(output.ShiftCoverages, context) : undefined,
3141
+ WeeklySettings: output.WeeklySettings != null ? de_WeeklySettings(output.WeeklySettings, context) : undefined,
3184
3142
  };
3185
3143
  };
3186
- const deserializeAws_json1_1ResolutionContact = (output, context) => {
3144
+ const de_ResolutionContact = (output, context) => {
3187
3145
  return {
3188
3146
  ContactArn: __expectString(output.ContactArn),
3189
3147
  StageIndex: __expectInt32(output.StageIndex),
3190
3148
  Type: __expectString(output.Type),
3191
3149
  };
3192
3150
  };
3193
- const deserializeAws_json1_1ResolutionList = (output, context) => {
3151
+ const de_ResolutionList = (output, context) => {
3194
3152
  const retVal = (output || [])
3195
3153
  .filter((e) => e != null)
3196
3154
  .map((entry) => {
3197
3155
  if (entry === null) {
3198
3156
  return null;
3199
3157
  }
3200
- return deserializeAws_json1_1ResolutionContact(entry, context);
3158
+ return de_ResolutionContact(entry, context);
3201
3159
  });
3202
3160
  return retVal;
3203
3161
  };
3204
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
3162
+ const de_ResourceNotFoundException = (output, context) => {
3205
3163
  return {
3206
3164
  Message: __expectString(output.Message),
3207
3165
  ResourceId: __expectString(output.ResourceId),
3208
3166
  ResourceType: __expectString(output.ResourceType),
3209
3167
  };
3210
3168
  };
3211
- const deserializeAws_json1_1Rotation = (output, context) => {
3169
+ const de_Rotation = (output, context) => {
3212
3170
  return {
3213
- ContactIds: output.ContactIds != null ? deserializeAws_json1_1SsmContactsArnList(output.ContactIds, context) : undefined,
3171
+ ContactIds: output.ContactIds != null ? de_SsmContactsArnList(output.ContactIds, context) : undefined,
3214
3172
  Name: __expectString(output.Name),
3215
- Recurrence: output.Recurrence != null ? deserializeAws_json1_1RecurrenceSettings(output.Recurrence, context) : undefined,
3173
+ Recurrence: output.Recurrence != null ? de_RecurrenceSettings(output.Recurrence, context) : undefined,
3216
3174
  RotationArn: __expectString(output.RotationArn),
3217
3175
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3218
3176
  TimeZoneId: __expectString(output.TimeZoneId),
3219
3177
  };
3220
3178
  };
3221
- const deserializeAws_json1_1RotationContactsArnList = (output, context) => {
3179
+ const de_RotationContactsArnList = (output, context) => {
3222
3180
  const retVal = (output || [])
3223
3181
  .filter((e) => e != null)
3224
3182
  .map((entry) => {
@@ -3229,63 +3187,61 @@ const deserializeAws_json1_1RotationContactsArnList = (output, context) => {
3229
3187
  });
3230
3188
  return retVal;
3231
3189
  };
3232
- const deserializeAws_json1_1RotationOverride = (output, context) => {
3190
+ const de_RotationOverride = (output, context) => {
3233
3191
  return {
3234
3192
  CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
3235
3193
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
3236
- NewContactIds: output.NewContactIds != null
3237
- ? deserializeAws_json1_1SsmContactsArnList(output.NewContactIds, context)
3238
- : undefined,
3194
+ NewContactIds: output.NewContactIds != null ? de_SsmContactsArnList(output.NewContactIds, context) : undefined,
3239
3195
  RotationOverrideId: __expectString(output.RotationOverrideId),
3240
3196
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3241
3197
  };
3242
3198
  };
3243
- const deserializeAws_json1_1RotationOverrides = (output, context) => {
3199
+ const de_RotationOverrides = (output, context) => {
3244
3200
  const retVal = (output || [])
3245
3201
  .filter((e) => e != null)
3246
3202
  .map((entry) => {
3247
3203
  if (entry === null) {
3248
3204
  return null;
3249
3205
  }
3250
- return deserializeAws_json1_1RotationOverride(entry, context);
3206
+ return de_RotationOverride(entry, context);
3251
3207
  });
3252
3208
  return retVal;
3253
3209
  };
3254
- const deserializeAws_json1_1Rotations = (output, context) => {
3210
+ const de_Rotations = (output, context) => {
3255
3211
  const retVal = (output || [])
3256
3212
  .filter((e) => e != null)
3257
3213
  .map((entry) => {
3258
3214
  if (entry === null) {
3259
3215
  return null;
3260
3216
  }
3261
- return deserializeAws_json1_1Rotation(entry, context);
3217
+ return de_Rotation(entry, context);
3262
3218
  });
3263
3219
  return retVal;
3264
3220
  };
3265
- const deserializeAws_json1_1RotationShift = (output, context) => {
3221
+ const de_RotationShift = (output, context) => {
3266
3222
  return {
3267
- ContactIds: output.ContactIds != null ? deserializeAws_json1_1SsmContactsArnList(output.ContactIds, context) : undefined,
3223
+ ContactIds: output.ContactIds != null ? de_SsmContactsArnList(output.ContactIds, context) : undefined,
3268
3224
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
3269
- ShiftDetails: output.ShiftDetails != null ? deserializeAws_json1_1ShiftDetails(output.ShiftDetails, context) : undefined,
3225
+ ShiftDetails: output.ShiftDetails != null ? de_ShiftDetails(output.ShiftDetails, context) : undefined,
3270
3226
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
3271
3227
  Type: __expectString(output.Type),
3272
3228
  };
3273
3229
  };
3274
- const deserializeAws_json1_1RotationShifts = (output, context) => {
3230
+ const de_RotationShifts = (output, context) => {
3275
3231
  const retVal = (output || [])
3276
3232
  .filter((e) => e != null)
3277
3233
  .map((entry) => {
3278
3234
  if (entry === null) {
3279
3235
  return null;
3280
3236
  }
3281
- return deserializeAws_json1_1RotationShift(entry, context);
3237
+ return de_RotationShift(entry, context);
3282
3238
  });
3283
3239
  return retVal;
3284
3240
  };
3285
- const deserializeAws_json1_1SendActivationCodeResult = (output, context) => {
3241
+ const de_SendActivationCodeResult = (output, context) => {
3286
3242
  return {};
3287
3243
  };
3288
- const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) => {
3244
+ const de_ServiceQuotaExceededException = (output, context) => {
3289
3245
  return {
3290
3246
  Message: __expectString(output.Message),
3291
3247
  QuotaCode: __expectString(output.QuotaCode),
@@ -3294,23 +3250,21 @@ const deserializeAws_json1_1ServiceQuotaExceededException = (output, context) =>
3294
3250
  ServiceCode: __expectString(output.ServiceCode),
3295
3251
  };
3296
3252
  };
3297
- const deserializeAws_json1_1ShiftCoveragesMap = (output, context) => {
3253
+ const de_ShiftCoveragesMap = (output, context) => {
3298
3254
  return Object.entries(output).reduce((acc, [key, value]) => {
3299
3255
  if (value === null) {
3300
3256
  return acc;
3301
3257
  }
3302
- acc[key] = deserializeAws_json1_1CoverageTimes(value, context);
3258
+ acc[key] = de_CoverageTimes(value, context);
3303
3259
  return acc;
3304
3260
  }, {});
3305
3261
  };
3306
- const deserializeAws_json1_1ShiftDetails = (output, context) => {
3262
+ const de_ShiftDetails = (output, context) => {
3307
3263
  return {
3308
- OverriddenContactIds: output.OverriddenContactIds != null
3309
- ? deserializeAws_json1_1SsmContactsArnList(output.OverriddenContactIds, context)
3310
- : undefined,
3264
+ OverriddenContactIds: output.OverriddenContactIds != null ? de_SsmContactsArnList(output.OverriddenContactIds, context) : undefined,
3311
3265
  };
3312
3266
  };
3313
- const deserializeAws_json1_1SsmContactsArnList = (output, context) => {
3267
+ const de_SsmContactsArnList = (output, context) => {
3314
3268
  const retVal = (output || [])
3315
3269
  .filter((e) => e != null)
3316
3270
  .map((entry) => {
@@ -3321,73 +3275,69 @@ const deserializeAws_json1_1SsmContactsArnList = (output, context) => {
3321
3275
  });
3322
3276
  return retVal;
3323
3277
  };
3324
- const deserializeAws_json1_1Stage = (output, context) => {
3278
+ const de_Stage = (output, context) => {
3325
3279
  return {
3326
3280
  DurationInMinutes: __expectInt32(output.DurationInMinutes),
3327
- Targets: output.Targets != null ? deserializeAws_json1_1TargetsList(output.Targets, context) : undefined,
3281
+ Targets: output.Targets != null ? de_TargetsList(output.Targets, context) : undefined,
3328
3282
  };
3329
3283
  };
3330
- const deserializeAws_json1_1StagesList = (output, context) => {
3284
+ const de_StagesList = (output, context) => {
3331
3285
  const retVal = (output || [])
3332
3286
  .filter((e) => e != null)
3333
3287
  .map((entry) => {
3334
3288
  if (entry === null) {
3335
3289
  return null;
3336
3290
  }
3337
- return deserializeAws_json1_1Stage(entry, context);
3291
+ return de_Stage(entry, context);
3338
3292
  });
3339
3293
  return retVal;
3340
3294
  };
3341
- const deserializeAws_json1_1StartEngagementResult = (output, context) => {
3295
+ const de_StartEngagementResult = (output, context) => {
3342
3296
  return {
3343
3297
  EngagementArn: __expectString(output.EngagementArn),
3344
3298
  };
3345
3299
  };
3346
- const deserializeAws_json1_1StopEngagementResult = (output, context) => {
3300
+ const de_StopEngagementResult = (output, context) => {
3347
3301
  return {};
3348
3302
  };
3349
- const deserializeAws_json1_1Tag = (output, context) => {
3303
+ const de_Tag = (output, context) => {
3350
3304
  return {
3351
3305
  Key: __expectString(output.Key),
3352
3306
  Value: __expectString(output.Value),
3353
3307
  };
3354
3308
  };
3355
- const deserializeAws_json1_1TagResourceResult = (output, context) => {
3309
+ const de_TagResourceResult = (output, context) => {
3356
3310
  return {};
3357
3311
  };
3358
- const deserializeAws_json1_1TagsList = (output, context) => {
3312
+ const de_TagsList = (output, context) => {
3359
3313
  const retVal = (output || [])
3360
3314
  .filter((e) => e != null)
3361
3315
  .map((entry) => {
3362
3316
  if (entry === null) {
3363
3317
  return null;
3364
3318
  }
3365
- return deserializeAws_json1_1Tag(entry, context);
3319
+ return de_Tag(entry, context);
3366
3320
  });
3367
3321
  return retVal;
3368
3322
  };
3369
- const deserializeAws_json1_1Target = (output, context) => {
3323
+ const de_Target = (output, context) => {
3370
3324
  return {
3371
- ChannelTargetInfo: output.ChannelTargetInfo != null
3372
- ? deserializeAws_json1_1ChannelTargetInfo(output.ChannelTargetInfo, context)
3373
- : undefined,
3374
- ContactTargetInfo: output.ContactTargetInfo != null
3375
- ? deserializeAws_json1_1ContactTargetInfo(output.ContactTargetInfo, context)
3376
- : undefined,
3325
+ ChannelTargetInfo: output.ChannelTargetInfo != null ? de_ChannelTargetInfo(output.ChannelTargetInfo, context) : undefined,
3326
+ ContactTargetInfo: output.ContactTargetInfo != null ? de_ContactTargetInfo(output.ContactTargetInfo, context) : undefined,
3377
3327
  };
3378
3328
  };
3379
- const deserializeAws_json1_1TargetsList = (output, context) => {
3329
+ const de_TargetsList = (output, context) => {
3380
3330
  const retVal = (output || [])
3381
3331
  .filter((e) => e != null)
3382
3332
  .map((entry) => {
3383
3333
  if (entry === null) {
3384
3334
  return null;
3385
3335
  }
3386
- return deserializeAws_json1_1Target(entry, context);
3336
+ return de_Target(entry, context);
3387
3337
  });
3388
3338
  return retVal;
3389
3339
  };
3390
- const deserializeAws_json1_1ThrottlingException = (output, context) => {
3340
+ const de_ThrottlingException = (output, context) => {
3391
3341
  return {
3392
3342
  Message: __expectString(output.Message),
3393
3343
  QuotaCode: __expectString(output.QuotaCode),
@@ -3395,56 +3345,56 @@ const deserializeAws_json1_1ThrottlingException = (output, context) => {
3395
3345
  ServiceCode: __expectString(output.ServiceCode),
3396
3346
  };
3397
3347
  };
3398
- const deserializeAws_json1_1UntagResourceResult = (output, context) => {
3348
+ const de_UntagResourceResult = (output, context) => {
3399
3349
  return {};
3400
3350
  };
3401
- const deserializeAws_json1_1UpdateContactChannelResult = (output, context) => {
3351
+ const de_UpdateContactChannelResult = (output, context) => {
3402
3352
  return {};
3403
3353
  };
3404
- const deserializeAws_json1_1UpdateContactResult = (output, context) => {
3354
+ const de_UpdateContactResult = (output, context) => {
3405
3355
  return {};
3406
3356
  };
3407
- const deserializeAws_json1_1UpdateRotationResult = (output, context) => {
3357
+ const de_UpdateRotationResult = (output, context) => {
3408
3358
  return {};
3409
3359
  };
3410
- const deserializeAws_json1_1ValidationException = (output, context) => {
3360
+ const de_ValidationException = (output, context) => {
3411
3361
  return {
3412
- Fields: output.Fields != null ? deserializeAws_json1_1ValidationExceptionFieldList(output.Fields, context) : undefined,
3362
+ Fields: output.Fields != null ? de_ValidationExceptionFieldList(output.Fields, context) : undefined,
3413
3363
  Message: __expectString(output.Message),
3414
3364
  Reason: __expectString(output.Reason),
3415
3365
  };
3416
3366
  };
3417
- const deserializeAws_json1_1ValidationExceptionField = (output, context) => {
3367
+ const de_ValidationExceptionField = (output, context) => {
3418
3368
  return {
3419
3369
  Message: __expectString(output.Message),
3420
3370
  Name: __expectString(output.Name),
3421
3371
  };
3422
3372
  };
3423
- const deserializeAws_json1_1ValidationExceptionFieldList = (output, context) => {
3373
+ const de_ValidationExceptionFieldList = (output, context) => {
3424
3374
  const retVal = (output || [])
3425
3375
  .filter((e) => e != null)
3426
3376
  .map((entry) => {
3427
3377
  if (entry === null) {
3428
3378
  return null;
3429
3379
  }
3430
- return deserializeAws_json1_1ValidationExceptionField(entry, context);
3380
+ return de_ValidationExceptionField(entry, context);
3431
3381
  });
3432
3382
  return retVal;
3433
3383
  };
3434
- const deserializeAws_json1_1WeeklySetting = (output, context) => {
3384
+ const de_WeeklySetting = (output, context) => {
3435
3385
  return {
3436
3386
  DayOfWeek: __expectString(output.DayOfWeek),
3437
- HandOffTime: output.HandOffTime != null ? deserializeAws_json1_1HandOffTime(output.HandOffTime, context) : undefined,
3387
+ HandOffTime: output.HandOffTime != null ? de_HandOffTime(output.HandOffTime, context) : undefined,
3438
3388
  };
3439
3389
  };
3440
- const deserializeAws_json1_1WeeklySettings = (output, context) => {
3390
+ const de_WeeklySettings = (output, context) => {
3441
3391
  const retVal = (output || [])
3442
3392
  .filter((e) => e != null)
3443
3393
  .map((entry) => {
3444
3394
  if (entry === null) {
3445
3395
  return null;
3446
3396
  }
3447
- return deserializeAws_json1_1WeeklySetting(entry, context);
3397
+ return de_WeeklySetting(entry, context);
3448
3398
  });
3449
3399
  return retVal;
3450
3400
  };