@aws-sdk/client-shield 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 (77) hide show
  1. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +2 -2
  2. package/dist-cjs/commands/AssociateDRTRoleCommand.js +2 -2
  3. package/dist-cjs/commands/AssociateHealthCheckCommand.js +2 -2
  4. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +2 -2
  5. package/dist-cjs/commands/CreateProtectionCommand.js +2 -2
  6. package/dist-cjs/commands/CreateProtectionGroupCommand.js +2 -2
  7. package/dist-cjs/commands/CreateSubscriptionCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteProtectionCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteSubscriptionCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeAttackCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeDRTAccessCommand.js +2 -2
  14. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeProtectionCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeSubscriptionCommand.js +2 -2
  18. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +2 -2
  19. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +2 -2
  20. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +2 -2
  21. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +2 -2
  22. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +2 -2
  23. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +2 -2
  24. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +2 -2
  25. package/dist-cjs/commands/GetSubscriptionStateCommand.js +2 -2
  26. package/dist-cjs/commands/ListAttacksCommand.js +2 -2
  27. package/dist-cjs/commands/ListProtectionGroupsCommand.js +2 -2
  28. package/dist-cjs/commands/ListProtectionsCommand.js +2 -2
  29. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +2 -2
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  32. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  33. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +2 -2
  34. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +2 -2
  35. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +2 -2
  36. package/dist-cjs/commands/UpdateSubscriptionCommand.js +2 -2
  37. package/dist-cjs/protocols/Aws_json1_1.js +691 -733
  38. package/dist-es/commands/AssociateDRTLogBucketCommand.js +3 -3
  39. package/dist-es/commands/AssociateDRTRoleCommand.js +3 -3
  40. package/dist-es/commands/AssociateHealthCheckCommand.js +3 -3
  41. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +3 -3
  42. package/dist-es/commands/CreateProtectionCommand.js +3 -3
  43. package/dist-es/commands/CreateProtectionGroupCommand.js +3 -3
  44. package/dist-es/commands/CreateSubscriptionCommand.js +3 -3
  45. package/dist-es/commands/DeleteProtectionCommand.js +3 -3
  46. package/dist-es/commands/DeleteProtectionGroupCommand.js +3 -3
  47. package/dist-es/commands/DeleteSubscriptionCommand.js +3 -3
  48. package/dist-es/commands/DescribeAttackCommand.js +3 -3
  49. package/dist-es/commands/DescribeAttackStatisticsCommand.js +3 -3
  50. package/dist-es/commands/DescribeDRTAccessCommand.js +3 -3
  51. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +3 -3
  52. package/dist-es/commands/DescribeProtectionCommand.js +3 -3
  53. package/dist-es/commands/DescribeProtectionGroupCommand.js +3 -3
  54. package/dist-es/commands/DescribeSubscriptionCommand.js +3 -3
  55. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +3 -3
  56. package/dist-es/commands/DisableProactiveEngagementCommand.js +3 -3
  57. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +3 -3
  58. package/dist-es/commands/DisassociateDRTRoleCommand.js +3 -3
  59. package/dist-es/commands/DisassociateHealthCheckCommand.js +3 -3
  60. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +3 -3
  61. package/dist-es/commands/EnableProactiveEngagementCommand.js +3 -3
  62. package/dist-es/commands/GetSubscriptionStateCommand.js +3 -3
  63. package/dist-es/commands/ListAttacksCommand.js +3 -3
  64. package/dist-es/commands/ListProtectionGroupsCommand.js +3 -3
  65. package/dist-es/commands/ListProtectionsCommand.js +3 -3
  66. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +3 -3
  67. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  68. package/dist-es/commands/TagResourceCommand.js +3 -3
  69. package/dist-es/commands/UntagResourceCommand.js +3 -3
  70. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +3 -3
  71. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +3 -3
  72. package/dist-es/commands/UpdateProtectionGroupCommand.js +3 -3
  73. package/dist-es/commands/UpdateSubscriptionCommand.js +3 -3
  74. package/dist-es/protocols/Aws_json1_1.js +617 -659
  75. package/dist-types/protocols/Aws_json1_1.d.ts +288 -72
  76. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -72
  77. package/package.json +29 -29
@@ -2,344 +2,344 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, AccessDeniedForDependencyException, InternalErrorException, InvalidOperationException, InvalidPaginationTokenException, InvalidParameterException, InvalidResourceException, LimitsExceededException, LockedSubscriptionException, NoAssociatedRoleException, OptimisticLockException, ResourceAlreadyExistsException, ResourceNotFoundException, } from "../models/models_0";
4
4
  import { ShieldServiceException as __BaseException } from "../models/ShieldServiceException";
5
- export const serializeAws_json1_1AssociateDRTLogBucketCommand = async (input, context) => {
5
+ export const se_AssociateDRTLogBucketCommand = async (input, context) => {
6
6
  const headers = {
7
7
  "content-type": "application/x-amz-json-1.1",
8
8
  "x-amz-target": "AWSShield_20160616.AssociateDRTLogBucket",
9
9
  };
10
10
  let body;
11
- body = JSON.stringify(serializeAws_json1_1AssociateDRTLogBucketRequest(input, context));
11
+ body = JSON.stringify(se_AssociateDRTLogBucketRequest(input, context));
12
12
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
13
13
  };
14
- export const serializeAws_json1_1AssociateDRTRoleCommand = async (input, context) => {
14
+ export const se_AssociateDRTRoleCommand = async (input, context) => {
15
15
  const headers = {
16
16
  "content-type": "application/x-amz-json-1.1",
17
17
  "x-amz-target": "AWSShield_20160616.AssociateDRTRole",
18
18
  };
19
19
  let body;
20
- body = JSON.stringify(serializeAws_json1_1AssociateDRTRoleRequest(input, context));
20
+ body = JSON.stringify(se_AssociateDRTRoleRequest(input, context));
21
21
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
22
22
  };
23
- export const serializeAws_json1_1AssociateHealthCheckCommand = async (input, context) => {
23
+ export const se_AssociateHealthCheckCommand = async (input, context) => {
24
24
  const headers = {
25
25
  "content-type": "application/x-amz-json-1.1",
26
26
  "x-amz-target": "AWSShield_20160616.AssociateHealthCheck",
27
27
  };
28
28
  let body;
29
- body = JSON.stringify(serializeAws_json1_1AssociateHealthCheckRequest(input, context));
29
+ body = JSON.stringify(se_AssociateHealthCheckRequest(input, context));
30
30
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
31
31
  };
32
- export const serializeAws_json1_1AssociateProactiveEngagementDetailsCommand = async (input, context) => {
32
+ export const se_AssociateProactiveEngagementDetailsCommand = async (input, context) => {
33
33
  const headers = {
34
34
  "content-type": "application/x-amz-json-1.1",
35
35
  "x-amz-target": "AWSShield_20160616.AssociateProactiveEngagementDetails",
36
36
  };
37
37
  let body;
38
- body = JSON.stringify(serializeAws_json1_1AssociateProactiveEngagementDetailsRequest(input, context));
38
+ body = JSON.stringify(se_AssociateProactiveEngagementDetailsRequest(input, context));
39
39
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
40
40
  };
41
- export const serializeAws_json1_1CreateProtectionCommand = async (input, context) => {
41
+ export const se_CreateProtectionCommand = async (input, context) => {
42
42
  const headers = {
43
43
  "content-type": "application/x-amz-json-1.1",
44
44
  "x-amz-target": "AWSShield_20160616.CreateProtection",
45
45
  };
46
46
  let body;
47
- body = JSON.stringify(serializeAws_json1_1CreateProtectionRequest(input, context));
47
+ body = JSON.stringify(se_CreateProtectionRequest(input, context));
48
48
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
49
  };
50
- export const serializeAws_json1_1CreateProtectionGroupCommand = async (input, context) => {
50
+ export const se_CreateProtectionGroupCommand = async (input, context) => {
51
51
  const headers = {
52
52
  "content-type": "application/x-amz-json-1.1",
53
53
  "x-amz-target": "AWSShield_20160616.CreateProtectionGroup",
54
54
  };
55
55
  let body;
56
- body = JSON.stringify(serializeAws_json1_1CreateProtectionGroupRequest(input, context));
56
+ body = JSON.stringify(se_CreateProtectionGroupRequest(input, context));
57
57
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
58
58
  };
59
- export const serializeAws_json1_1CreateSubscriptionCommand = async (input, context) => {
59
+ export const se_CreateSubscriptionCommand = async (input, context) => {
60
60
  const headers = {
61
61
  "content-type": "application/x-amz-json-1.1",
62
62
  "x-amz-target": "AWSShield_20160616.CreateSubscription",
63
63
  };
64
64
  let body;
65
- body = JSON.stringify(serializeAws_json1_1CreateSubscriptionRequest(input, context));
65
+ body = JSON.stringify(se_CreateSubscriptionRequest(input, context));
66
66
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
67
67
  };
68
- export const serializeAws_json1_1DeleteProtectionCommand = async (input, context) => {
68
+ export const se_DeleteProtectionCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "AWSShield_20160616.DeleteProtection",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1DeleteProtectionRequest(input, context));
74
+ body = JSON.stringify(se_DeleteProtectionRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- export const serializeAws_json1_1DeleteProtectionGroupCommand = async (input, context) => {
77
+ export const se_DeleteProtectionGroupCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "AWSShield_20160616.DeleteProtectionGroup",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1DeleteProtectionGroupRequest(input, context));
83
+ body = JSON.stringify(se_DeleteProtectionGroupRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- export const serializeAws_json1_1DeleteSubscriptionCommand = async (input, context) => {
86
+ export const se_DeleteSubscriptionCommand = async (input, context) => {
87
87
  const headers = {
88
88
  "content-type": "application/x-amz-json-1.1",
89
89
  "x-amz-target": "AWSShield_20160616.DeleteSubscription",
90
90
  };
91
91
  let body;
92
- body = JSON.stringify(serializeAws_json1_1DeleteSubscriptionRequest(input, context));
92
+ body = JSON.stringify(se_DeleteSubscriptionRequest(input, context));
93
93
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
94
94
  };
95
- export const serializeAws_json1_1DescribeAttackCommand = async (input, context) => {
95
+ export const se_DescribeAttackCommand = async (input, context) => {
96
96
  const headers = {
97
97
  "content-type": "application/x-amz-json-1.1",
98
98
  "x-amz-target": "AWSShield_20160616.DescribeAttack",
99
99
  };
100
100
  let body;
101
- body = JSON.stringify(serializeAws_json1_1DescribeAttackRequest(input, context));
101
+ body = JSON.stringify(se_DescribeAttackRequest(input, context));
102
102
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
103
103
  };
104
- export const serializeAws_json1_1DescribeAttackStatisticsCommand = async (input, context) => {
104
+ export const se_DescribeAttackStatisticsCommand = async (input, context) => {
105
105
  const headers = {
106
106
  "content-type": "application/x-amz-json-1.1",
107
107
  "x-amz-target": "AWSShield_20160616.DescribeAttackStatistics",
108
108
  };
109
109
  let body;
110
- body = JSON.stringify(serializeAws_json1_1DescribeAttackStatisticsRequest(input, context));
110
+ body = JSON.stringify(se_DescribeAttackStatisticsRequest(input, context));
111
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
112
112
  };
113
- export const serializeAws_json1_1DescribeDRTAccessCommand = async (input, context) => {
113
+ export const se_DescribeDRTAccessCommand = async (input, context) => {
114
114
  const headers = {
115
115
  "content-type": "application/x-amz-json-1.1",
116
116
  "x-amz-target": "AWSShield_20160616.DescribeDRTAccess",
117
117
  };
118
118
  let body;
119
- body = JSON.stringify(serializeAws_json1_1DescribeDRTAccessRequest(input, context));
119
+ body = JSON.stringify(se_DescribeDRTAccessRequest(input, context));
120
120
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
121
121
  };
122
- export const serializeAws_json1_1DescribeEmergencyContactSettingsCommand = async (input, context) => {
122
+ export const se_DescribeEmergencyContactSettingsCommand = async (input, context) => {
123
123
  const headers = {
124
124
  "content-type": "application/x-amz-json-1.1",
125
125
  "x-amz-target": "AWSShield_20160616.DescribeEmergencyContactSettings",
126
126
  };
127
127
  let body;
128
- body = JSON.stringify(serializeAws_json1_1DescribeEmergencyContactSettingsRequest(input, context));
128
+ body = JSON.stringify(se_DescribeEmergencyContactSettingsRequest(input, context));
129
129
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
130
130
  };
131
- export const serializeAws_json1_1DescribeProtectionCommand = async (input, context) => {
131
+ export const se_DescribeProtectionCommand = async (input, context) => {
132
132
  const headers = {
133
133
  "content-type": "application/x-amz-json-1.1",
134
134
  "x-amz-target": "AWSShield_20160616.DescribeProtection",
135
135
  };
136
136
  let body;
137
- body = JSON.stringify(serializeAws_json1_1DescribeProtectionRequest(input, context));
137
+ body = JSON.stringify(se_DescribeProtectionRequest(input, context));
138
138
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
139
139
  };
140
- export const serializeAws_json1_1DescribeProtectionGroupCommand = async (input, context) => {
140
+ export const se_DescribeProtectionGroupCommand = async (input, context) => {
141
141
  const headers = {
142
142
  "content-type": "application/x-amz-json-1.1",
143
143
  "x-amz-target": "AWSShield_20160616.DescribeProtectionGroup",
144
144
  };
145
145
  let body;
146
- body = JSON.stringify(serializeAws_json1_1DescribeProtectionGroupRequest(input, context));
146
+ body = JSON.stringify(se_DescribeProtectionGroupRequest(input, context));
147
147
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
148
148
  };
149
- export const serializeAws_json1_1DescribeSubscriptionCommand = async (input, context) => {
149
+ export const se_DescribeSubscriptionCommand = async (input, context) => {
150
150
  const headers = {
151
151
  "content-type": "application/x-amz-json-1.1",
152
152
  "x-amz-target": "AWSShield_20160616.DescribeSubscription",
153
153
  };
154
154
  let body;
155
- body = JSON.stringify(serializeAws_json1_1DescribeSubscriptionRequest(input, context));
155
+ body = JSON.stringify(se_DescribeSubscriptionRequest(input, context));
156
156
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
157
157
  };
158
- export const serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand = async (input, context) => {
158
+ export const se_DisableApplicationLayerAutomaticResponseCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "AWSShield_20160616.DisableApplicationLayerAutomaticResponse",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1DisableApplicationLayerAutomaticResponseRequest(input, context));
164
+ body = JSON.stringify(se_DisableApplicationLayerAutomaticResponseRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- export const serializeAws_json1_1DisableProactiveEngagementCommand = async (input, context) => {
167
+ export const se_DisableProactiveEngagementCommand = async (input, context) => {
168
168
  const headers = {
169
169
  "content-type": "application/x-amz-json-1.1",
170
170
  "x-amz-target": "AWSShield_20160616.DisableProactiveEngagement",
171
171
  };
172
172
  let body;
173
- body = JSON.stringify(serializeAws_json1_1DisableProactiveEngagementRequest(input, context));
173
+ body = JSON.stringify(se_DisableProactiveEngagementRequest(input, context));
174
174
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
175
  };
176
- export const serializeAws_json1_1DisassociateDRTLogBucketCommand = async (input, context) => {
176
+ export const se_DisassociateDRTLogBucketCommand = async (input, context) => {
177
177
  const headers = {
178
178
  "content-type": "application/x-amz-json-1.1",
179
179
  "x-amz-target": "AWSShield_20160616.DisassociateDRTLogBucket",
180
180
  };
181
181
  let body;
182
- body = JSON.stringify(serializeAws_json1_1DisassociateDRTLogBucketRequest(input, context));
182
+ body = JSON.stringify(se_DisassociateDRTLogBucketRequest(input, context));
183
183
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
184
184
  };
185
- export const serializeAws_json1_1DisassociateDRTRoleCommand = async (input, context) => {
185
+ export const se_DisassociateDRTRoleCommand = async (input, context) => {
186
186
  const headers = {
187
187
  "content-type": "application/x-amz-json-1.1",
188
188
  "x-amz-target": "AWSShield_20160616.DisassociateDRTRole",
189
189
  };
190
190
  let body;
191
- body = JSON.stringify(serializeAws_json1_1DisassociateDRTRoleRequest(input, context));
191
+ body = JSON.stringify(se_DisassociateDRTRoleRequest(input, context));
192
192
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
193
193
  };
194
- export const serializeAws_json1_1DisassociateHealthCheckCommand = async (input, context) => {
194
+ export const se_DisassociateHealthCheckCommand = async (input, context) => {
195
195
  const headers = {
196
196
  "content-type": "application/x-amz-json-1.1",
197
197
  "x-amz-target": "AWSShield_20160616.DisassociateHealthCheck",
198
198
  };
199
199
  let body;
200
- body = JSON.stringify(serializeAws_json1_1DisassociateHealthCheckRequest(input, context));
200
+ body = JSON.stringify(se_DisassociateHealthCheckRequest(input, context));
201
201
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
202
202
  };
203
- export const serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand = async (input, context) => {
203
+ export const se_EnableApplicationLayerAutomaticResponseCommand = async (input, context) => {
204
204
  const headers = {
205
205
  "content-type": "application/x-amz-json-1.1",
206
206
  "x-amz-target": "AWSShield_20160616.EnableApplicationLayerAutomaticResponse",
207
207
  };
208
208
  let body;
209
- body = JSON.stringify(serializeAws_json1_1EnableApplicationLayerAutomaticResponseRequest(input, context));
209
+ body = JSON.stringify(se_EnableApplicationLayerAutomaticResponseRequest(input, context));
210
210
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
211
211
  };
212
- export const serializeAws_json1_1EnableProactiveEngagementCommand = async (input, context) => {
212
+ export const se_EnableProactiveEngagementCommand = async (input, context) => {
213
213
  const headers = {
214
214
  "content-type": "application/x-amz-json-1.1",
215
215
  "x-amz-target": "AWSShield_20160616.EnableProactiveEngagement",
216
216
  };
217
217
  let body;
218
- body = JSON.stringify(serializeAws_json1_1EnableProactiveEngagementRequest(input, context));
218
+ body = JSON.stringify(se_EnableProactiveEngagementRequest(input, context));
219
219
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
220
220
  };
221
- export const serializeAws_json1_1GetSubscriptionStateCommand = async (input, context) => {
221
+ export const se_GetSubscriptionStateCommand = async (input, context) => {
222
222
  const headers = {
223
223
  "content-type": "application/x-amz-json-1.1",
224
224
  "x-amz-target": "AWSShield_20160616.GetSubscriptionState",
225
225
  };
226
226
  let body;
227
- body = JSON.stringify(serializeAws_json1_1GetSubscriptionStateRequest(input, context));
227
+ body = JSON.stringify(se_GetSubscriptionStateRequest(input, context));
228
228
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
229
229
  };
230
- export const serializeAws_json1_1ListAttacksCommand = async (input, context) => {
230
+ export const se_ListAttacksCommand = async (input, context) => {
231
231
  const headers = {
232
232
  "content-type": "application/x-amz-json-1.1",
233
233
  "x-amz-target": "AWSShield_20160616.ListAttacks",
234
234
  };
235
235
  let body;
236
- body = JSON.stringify(serializeAws_json1_1ListAttacksRequest(input, context));
236
+ body = JSON.stringify(se_ListAttacksRequest(input, context));
237
237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
238
238
  };
239
- export const serializeAws_json1_1ListProtectionGroupsCommand = async (input, context) => {
239
+ export const se_ListProtectionGroupsCommand = async (input, context) => {
240
240
  const headers = {
241
241
  "content-type": "application/x-amz-json-1.1",
242
242
  "x-amz-target": "AWSShield_20160616.ListProtectionGroups",
243
243
  };
244
244
  let body;
245
- body = JSON.stringify(serializeAws_json1_1ListProtectionGroupsRequest(input, context));
245
+ body = JSON.stringify(se_ListProtectionGroupsRequest(input, context));
246
246
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
247
247
  };
248
- export const serializeAws_json1_1ListProtectionsCommand = async (input, context) => {
248
+ export const se_ListProtectionsCommand = async (input, context) => {
249
249
  const headers = {
250
250
  "content-type": "application/x-amz-json-1.1",
251
251
  "x-amz-target": "AWSShield_20160616.ListProtections",
252
252
  };
253
253
  let body;
254
- body = JSON.stringify(serializeAws_json1_1ListProtectionsRequest(input, context));
254
+ body = JSON.stringify(se_ListProtectionsRequest(input, context));
255
255
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
256
256
  };
257
- export const serializeAws_json1_1ListResourcesInProtectionGroupCommand = async (input, context) => {
257
+ export const se_ListResourcesInProtectionGroupCommand = async (input, context) => {
258
258
  const headers = {
259
259
  "content-type": "application/x-amz-json-1.1",
260
260
  "x-amz-target": "AWSShield_20160616.ListResourcesInProtectionGroup",
261
261
  };
262
262
  let body;
263
- body = JSON.stringify(serializeAws_json1_1ListResourcesInProtectionGroupRequest(input, context));
263
+ body = JSON.stringify(se_ListResourcesInProtectionGroupRequest(input, context));
264
264
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
265
265
  };
266
- export const serializeAws_json1_1ListTagsForResourceCommand = async (input, context) => {
266
+ export const se_ListTagsForResourceCommand = async (input, context) => {
267
267
  const headers = {
268
268
  "content-type": "application/x-amz-json-1.1",
269
269
  "x-amz-target": "AWSShield_20160616.ListTagsForResource",
270
270
  };
271
271
  let body;
272
- body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
272
+ body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
273
273
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
274
274
  };
275
- export const serializeAws_json1_1TagResourceCommand = async (input, context) => {
275
+ export const se_TagResourceCommand = async (input, context) => {
276
276
  const headers = {
277
277
  "content-type": "application/x-amz-json-1.1",
278
278
  "x-amz-target": "AWSShield_20160616.TagResource",
279
279
  };
280
280
  let body;
281
- body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
281
+ body = JSON.stringify(se_TagResourceRequest(input, context));
282
282
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
283
283
  };
284
- export const serializeAws_json1_1UntagResourceCommand = async (input, context) => {
284
+ export const se_UntagResourceCommand = async (input, context) => {
285
285
  const headers = {
286
286
  "content-type": "application/x-amz-json-1.1",
287
287
  "x-amz-target": "AWSShield_20160616.UntagResource",
288
288
  };
289
289
  let body;
290
- body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
290
+ body = JSON.stringify(se_UntagResourceRequest(input, context));
291
291
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
292
292
  };
293
- export const serializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand = async (input, context) => {
293
+ export const se_UpdateApplicationLayerAutomaticResponseCommand = async (input, context) => {
294
294
  const headers = {
295
295
  "content-type": "application/x-amz-json-1.1",
296
296
  "x-amz-target": "AWSShield_20160616.UpdateApplicationLayerAutomaticResponse",
297
297
  };
298
298
  let body;
299
- body = JSON.stringify(serializeAws_json1_1UpdateApplicationLayerAutomaticResponseRequest(input, context));
299
+ body = JSON.stringify(se_UpdateApplicationLayerAutomaticResponseRequest(input, context));
300
300
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
301
301
  };
302
- export const serializeAws_json1_1UpdateEmergencyContactSettingsCommand = async (input, context) => {
302
+ export const se_UpdateEmergencyContactSettingsCommand = async (input, context) => {
303
303
  const headers = {
304
304
  "content-type": "application/x-amz-json-1.1",
305
305
  "x-amz-target": "AWSShield_20160616.UpdateEmergencyContactSettings",
306
306
  };
307
307
  let body;
308
- body = JSON.stringify(serializeAws_json1_1UpdateEmergencyContactSettingsRequest(input, context));
308
+ body = JSON.stringify(se_UpdateEmergencyContactSettingsRequest(input, context));
309
309
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
310
310
  };
311
- export const serializeAws_json1_1UpdateProtectionGroupCommand = async (input, context) => {
311
+ export const se_UpdateProtectionGroupCommand = async (input, context) => {
312
312
  const headers = {
313
313
  "content-type": "application/x-amz-json-1.1",
314
314
  "x-amz-target": "AWSShield_20160616.UpdateProtectionGroup",
315
315
  };
316
316
  let body;
317
- body = JSON.stringify(serializeAws_json1_1UpdateProtectionGroupRequest(input, context));
317
+ body = JSON.stringify(se_UpdateProtectionGroupRequest(input, context));
318
318
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
319
319
  };
320
- export const serializeAws_json1_1UpdateSubscriptionCommand = async (input, context) => {
320
+ export const se_UpdateSubscriptionCommand = async (input, context) => {
321
321
  const headers = {
322
322
  "content-type": "application/x-amz-json-1.1",
323
323
  "x-amz-target": "AWSShield_20160616.UpdateSubscription",
324
324
  };
325
325
  let body;
326
- body = JSON.stringify(serializeAws_json1_1UpdateSubscriptionRequest(input, context));
326
+ body = JSON.stringify(se_UpdateSubscriptionRequest(input, context));
327
327
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
328
328
  };
329
- export const deserializeAws_json1_1AssociateDRTLogBucketCommand = async (output, context) => {
329
+ export const de_AssociateDRTLogBucketCommand = async (output, context) => {
330
330
  if (output.statusCode >= 300) {
331
- return deserializeAws_json1_1AssociateDRTLogBucketCommandError(output, context);
331
+ return de_AssociateDRTLogBucketCommandError(output, context);
332
332
  }
333
333
  const data = await parseBody(output.body, context);
334
334
  let contents = {};
335
- contents = deserializeAws_json1_1AssociateDRTLogBucketResponse(data, context);
335
+ contents = de_AssociateDRTLogBucketResponse(data, context);
336
336
  const response = {
337
337
  $metadata: deserializeMetadata(output),
338
338
  ...contents,
339
339
  };
340
340
  return Promise.resolve(response);
341
341
  };
342
- const deserializeAws_json1_1AssociateDRTLogBucketCommandError = async (output, context) => {
342
+ const de_AssociateDRTLogBucketCommandError = async (output, context) => {
343
343
  const parsedOutput = {
344
344
  ...output,
345
345
  body: await parseErrorBody(output.body, context),
@@ -348,28 +348,28 @@ const deserializeAws_json1_1AssociateDRTLogBucketCommandError = async (output, c
348
348
  switch (errorCode) {
349
349
  case "AccessDeniedForDependencyException":
350
350
  case "com.amazonaws.shield#AccessDeniedForDependencyException":
351
- throw await deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse(parsedOutput, context);
351
+ throw await de_AccessDeniedForDependencyExceptionRes(parsedOutput, context);
352
352
  case "InternalErrorException":
353
353
  case "com.amazonaws.shield#InternalErrorException":
354
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
354
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
355
355
  case "InvalidOperationException":
356
356
  case "com.amazonaws.shield#InvalidOperationException":
357
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
357
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
358
358
  case "InvalidParameterException":
359
359
  case "com.amazonaws.shield#InvalidParameterException":
360
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
360
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
361
361
  case "LimitsExceededException":
362
362
  case "com.amazonaws.shield#LimitsExceededException":
363
- throw await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context);
363
+ throw await de_LimitsExceededExceptionRes(parsedOutput, context);
364
364
  case "NoAssociatedRoleException":
365
365
  case "com.amazonaws.shield#NoAssociatedRoleException":
366
- throw await deserializeAws_json1_1NoAssociatedRoleExceptionResponse(parsedOutput, context);
366
+ throw await de_NoAssociatedRoleExceptionRes(parsedOutput, context);
367
367
  case "OptimisticLockException":
368
368
  case "com.amazonaws.shield#OptimisticLockException":
369
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
369
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
370
370
  case "ResourceNotFoundException":
371
371
  case "com.amazonaws.shield#ResourceNotFoundException":
372
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
372
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
373
373
  default:
374
374
  const parsedBody = parsedOutput.body;
375
375
  throwDefaultError({
@@ -380,20 +380,20 @@ const deserializeAws_json1_1AssociateDRTLogBucketCommandError = async (output, c
380
380
  });
381
381
  }
382
382
  };
383
- export const deserializeAws_json1_1AssociateDRTRoleCommand = async (output, context) => {
383
+ export const de_AssociateDRTRoleCommand = async (output, context) => {
384
384
  if (output.statusCode >= 300) {
385
- return deserializeAws_json1_1AssociateDRTRoleCommandError(output, context);
385
+ return de_AssociateDRTRoleCommandError(output, context);
386
386
  }
387
387
  const data = await parseBody(output.body, context);
388
388
  let contents = {};
389
- contents = deserializeAws_json1_1AssociateDRTRoleResponse(data, context);
389
+ contents = de_AssociateDRTRoleResponse(data, context);
390
390
  const response = {
391
391
  $metadata: deserializeMetadata(output),
392
392
  ...contents,
393
393
  };
394
394
  return Promise.resolve(response);
395
395
  };
396
- const deserializeAws_json1_1AssociateDRTRoleCommandError = async (output, context) => {
396
+ const de_AssociateDRTRoleCommandError = async (output, context) => {
397
397
  const parsedOutput = {
398
398
  ...output,
399
399
  body: await parseErrorBody(output.body, context),
@@ -402,22 +402,22 @@ const deserializeAws_json1_1AssociateDRTRoleCommandError = async (output, contex
402
402
  switch (errorCode) {
403
403
  case "AccessDeniedForDependencyException":
404
404
  case "com.amazonaws.shield#AccessDeniedForDependencyException":
405
- throw await deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse(parsedOutput, context);
405
+ throw await de_AccessDeniedForDependencyExceptionRes(parsedOutput, context);
406
406
  case "InternalErrorException":
407
407
  case "com.amazonaws.shield#InternalErrorException":
408
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
408
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
409
409
  case "InvalidOperationException":
410
410
  case "com.amazonaws.shield#InvalidOperationException":
411
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
411
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
412
412
  case "InvalidParameterException":
413
413
  case "com.amazonaws.shield#InvalidParameterException":
414
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
414
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
415
415
  case "OptimisticLockException":
416
416
  case "com.amazonaws.shield#OptimisticLockException":
417
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
417
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
418
418
  case "ResourceNotFoundException":
419
419
  case "com.amazonaws.shield#ResourceNotFoundException":
420
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
420
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
421
421
  default:
422
422
  const parsedBody = parsedOutput.body;
423
423
  throwDefaultError({
@@ -428,20 +428,20 @@ const deserializeAws_json1_1AssociateDRTRoleCommandError = async (output, contex
428
428
  });
429
429
  }
430
430
  };
431
- export const deserializeAws_json1_1AssociateHealthCheckCommand = async (output, context) => {
431
+ export const de_AssociateHealthCheckCommand = async (output, context) => {
432
432
  if (output.statusCode >= 300) {
433
- return deserializeAws_json1_1AssociateHealthCheckCommandError(output, context);
433
+ return de_AssociateHealthCheckCommandError(output, context);
434
434
  }
435
435
  const data = await parseBody(output.body, context);
436
436
  let contents = {};
437
- contents = deserializeAws_json1_1AssociateHealthCheckResponse(data, context);
437
+ contents = de_AssociateHealthCheckResponse(data, context);
438
438
  const response = {
439
439
  $metadata: deserializeMetadata(output),
440
440
  ...contents,
441
441
  };
442
442
  return Promise.resolve(response);
443
443
  };
444
- const deserializeAws_json1_1AssociateHealthCheckCommandError = async (output, context) => {
444
+ const de_AssociateHealthCheckCommandError = async (output, context) => {
445
445
  const parsedOutput = {
446
446
  ...output,
447
447
  body: await parseErrorBody(output.body, context),
@@ -450,22 +450,22 @@ const deserializeAws_json1_1AssociateHealthCheckCommandError = async (output, co
450
450
  switch (errorCode) {
451
451
  case "InternalErrorException":
452
452
  case "com.amazonaws.shield#InternalErrorException":
453
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
453
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
454
454
  case "InvalidParameterException":
455
455
  case "com.amazonaws.shield#InvalidParameterException":
456
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
456
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
457
457
  case "InvalidResourceException":
458
458
  case "com.amazonaws.shield#InvalidResourceException":
459
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
459
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
460
460
  case "LimitsExceededException":
461
461
  case "com.amazonaws.shield#LimitsExceededException":
462
- throw await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context);
462
+ throw await de_LimitsExceededExceptionRes(parsedOutput, context);
463
463
  case "OptimisticLockException":
464
464
  case "com.amazonaws.shield#OptimisticLockException":
465
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
465
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
466
466
  case "ResourceNotFoundException":
467
467
  case "com.amazonaws.shield#ResourceNotFoundException":
468
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
468
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
469
469
  default:
470
470
  const parsedBody = parsedOutput.body;
471
471
  throwDefaultError({
@@ -476,20 +476,20 @@ const deserializeAws_json1_1AssociateHealthCheckCommandError = async (output, co
476
476
  });
477
477
  }
478
478
  };
479
- export const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommand = async (output, context) => {
479
+ export const de_AssociateProactiveEngagementDetailsCommand = async (output, context) => {
480
480
  if (output.statusCode >= 300) {
481
- return deserializeAws_json1_1AssociateProactiveEngagementDetailsCommandError(output, context);
481
+ return de_AssociateProactiveEngagementDetailsCommandError(output, context);
482
482
  }
483
483
  const data = await parseBody(output.body, context);
484
484
  let contents = {};
485
- contents = deserializeAws_json1_1AssociateProactiveEngagementDetailsResponse(data, context);
485
+ contents = de_AssociateProactiveEngagementDetailsResponse(data, context);
486
486
  const response = {
487
487
  $metadata: deserializeMetadata(output),
488
488
  ...contents,
489
489
  };
490
490
  return Promise.resolve(response);
491
491
  };
492
- const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommandError = async (output, context) => {
492
+ const de_AssociateProactiveEngagementDetailsCommandError = async (output, context) => {
493
493
  const parsedOutput = {
494
494
  ...output,
495
495
  body: await parseErrorBody(output.body, context),
@@ -498,19 +498,19 @@ const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommandError = as
498
498
  switch (errorCode) {
499
499
  case "InternalErrorException":
500
500
  case "com.amazonaws.shield#InternalErrorException":
501
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
501
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
502
502
  case "InvalidOperationException":
503
503
  case "com.amazonaws.shield#InvalidOperationException":
504
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
504
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
505
505
  case "InvalidParameterException":
506
506
  case "com.amazonaws.shield#InvalidParameterException":
507
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
507
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
508
508
  case "OptimisticLockException":
509
509
  case "com.amazonaws.shield#OptimisticLockException":
510
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
510
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
511
511
  case "ResourceNotFoundException":
512
512
  case "com.amazonaws.shield#ResourceNotFoundException":
513
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
513
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
514
514
  default:
515
515
  const parsedBody = parsedOutput.body;
516
516
  throwDefaultError({
@@ -521,20 +521,20 @@ const deserializeAws_json1_1AssociateProactiveEngagementDetailsCommandError = as
521
521
  });
522
522
  }
523
523
  };
524
- export const deserializeAws_json1_1CreateProtectionCommand = async (output, context) => {
524
+ export const de_CreateProtectionCommand = async (output, context) => {
525
525
  if (output.statusCode >= 300) {
526
- return deserializeAws_json1_1CreateProtectionCommandError(output, context);
526
+ return de_CreateProtectionCommandError(output, context);
527
527
  }
528
528
  const data = await parseBody(output.body, context);
529
529
  let contents = {};
530
- contents = deserializeAws_json1_1CreateProtectionResponse(data, context);
530
+ contents = de_CreateProtectionResponse(data, context);
531
531
  const response = {
532
532
  $metadata: deserializeMetadata(output),
533
533
  ...contents,
534
534
  };
535
535
  return Promise.resolve(response);
536
536
  };
537
- const deserializeAws_json1_1CreateProtectionCommandError = async (output, context) => {
537
+ const de_CreateProtectionCommandError = async (output, context) => {
538
538
  const parsedOutput = {
539
539
  ...output,
540
540
  body: await parseErrorBody(output.body, context),
@@ -543,28 +543,28 @@ const deserializeAws_json1_1CreateProtectionCommandError = async (output, contex
543
543
  switch (errorCode) {
544
544
  case "InternalErrorException":
545
545
  case "com.amazonaws.shield#InternalErrorException":
546
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
546
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
547
547
  case "InvalidOperationException":
548
548
  case "com.amazonaws.shield#InvalidOperationException":
549
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
549
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
550
550
  case "InvalidParameterException":
551
551
  case "com.amazonaws.shield#InvalidParameterException":
552
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
552
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
553
553
  case "InvalidResourceException":
554
554
  case "com.amazonaws.shield#InvalidResourceException":
555
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
555
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
556
556
  case "LimitsExceededException":
557
557
  case "com.amazonaws.shield#LimitsExceededException":
558
- throw await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context);
558
+ throw await de_LimitsExceededExceptionRes(parsedOutput, context);
559
559
  case "OptimisticLockException":
560
560
  case "com.amazonaws.shield#OptimisticLockException":
561
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
561
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
562
562
  case "ResourceAlreadyExistsException":
563
563
  case "com.amazonaws.shield#ResourceAlreadyExistsException":
564
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
564
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
565
565
  case "ResourceNotFoundException":
566
566
  case "com.amazonaws.shield#ResourceNotFoundException":
567
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
567
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
568
568
  default:
569
569
  const parsedBody = parsedOutput.body;
570
570
  throwDefaultError({
@@ -575,20 +575,20 @@ const deserializeAws_json1_1CreateProtectionCommandError = async (output, contex
575
575
  });
576
576
  }
577
577
  };
578
- export const deserializeAws_json1_1CreateProtectionGroupCommand = async (output, context) => {
578
+ export const de_CreateProtectionGroupCommand = async (output, context) => {
579
579
  if (output.statusCode >= 300) {
580
- return deserializeAws_json1_1CreateProtectionGroupCommandError(output, context);
580
+ return de_CreateProtectionGroupCommandError(output, context);
581
581
  }
582
582
  const data = await parseBody(output.body, context);
583
583
  let contents = {};
584
- contents = deserializeAws_json1_1CreateProtectionGroupResponse(data, context);
584
+ contents = de_CreateProtectionGroupResponse(data, context);
585
585
  const response = {
586
586
  $metadata: deserializeMetadata(output),
587
587
  ...contents,
588
588
  };
589
589
  return Promise.resolve(response);
590
590
  };
591
- const deserializeAws_json1_1CreateProtectionGroupCommandError = async (output, context) => {
591
+ const de_CreateProtectionGroupCommandError = async (output, context) => {
592
592
  const parsedOutput = {
593
593
  ...output,
594
594
  body: await parseErrorBody(output.body, context),
@@ -597,22 +597,22 @@ const deserializeAws_json1_1CreateProtectionGroupCommandError = async (output, c
597
597
  switch (errorCode) {
598
598
  case "InternalErrorException":
599
599
  case "com.amazonaws.shield#InternalErrorException":
600
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
600
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
601
601
  case "InvalidParameterException":
602
602
  case "com.amazonaws.shield#InvalidParameterException":
603
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
603
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
604
604
  case "LimitsExceededException":
605
605
  case "com.amazonaws.shield#LimitsExceededException":
606
- throw await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context);
606
+ throw await de_LimitsExceededExceptionRes(parsedOutput, context);
607
607
  case "OptimisticLockException":
608
608
  case "com.amazonaws.shield#OptimisticLockException":
609
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
609
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
610
610
  case "ResourceAlreadyExistsException":
611
611
  case "com.amazonaws.shield#ResourceAlreadyExistsException":
612
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
612
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
613
613
  case "ResourceNotFoundException":
614
614
  case "com.amazonaws.shield#ResourceNotFoundException":
615
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
615
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
616
616
  default:
617
617
  const parsedBody = parsedOutput.body;
618
618
  throwDefaultError({
@@ -623,20 +623,20 @@ const deserializeAws_json1_1CreateProtectionGroupCommandError = async (output, c
623
623
  });
624
624
  }
625
625
  };
626
- export const deserializeAws_json1_1CreateSubscriptionCommand = async (output, context) => {
626
+ export const de_CreateSubscriptionCommand = async (output, context) => {
627
627
  if (output.statusCode >= 300) {
628
- return deserializeAws_json1_1CreateSubscriptionCommandError(output, context);
628
+ return de_CreateSubscriptionCommandError(output, context);
629
629
  }
630
630
  const data = await parseBody(output.body, context);
631
631
  let contents = {};
632
- contents = deserializeAws_json1_1CreateSubscriptionResponse(data, context);
632
+ contents = de_CreateSubscriptionResponse(data, context);
633
633
  const response = {
634
634
  $metadata: deserializeMetadata(output),
635
635
  ...contents,
636
636
  };
637
637
  return Promise.resolve(response);
638
638
  };
639
- const deserializeAws_json1_1CreateSubscriptionCommandError = async (output, context) => {
639
+ const de_CreateSubscriptionCommandError = async (output, context) => {
640
640
  const parsedOutput = {
641
641
  ...output,
642
642
  body: await parseErrorBody(output.body, context),
@@ -645,10 +645,10 @@ const deserializeAws_json1_1CreateSubscriptionCommandError = async (output, cont
645
645
  switch (errorCode) {
646
646
  case "InternalErrorException":
647
647
  case "com.amazonaws.shield#InternalErrorException":
648
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
648
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
649
649
  case "ResourceAlreadyExistsException":
650
650
  case "com.amazonaws.shield#ResourceAlreadyExistsException":
651
- throw await deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context);
651
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
652
652
  default:
653
653
  const parsedBody = parsedOutput.body;
654
654
  throwDefaultError({
@@ -659,20 +659,20 @@ const deserializeAws_json1_1CreateSubscriptionCommandError = async (output, cont
659
659
  });
660
660
  }
661
661
  };
662
- export const deserializeAws_json1_1DeleteProtectionCommand = async (output, context) => {
662
+ export const de_DeleteProtectionCommand = async (output, context) => {
663
663
  if (output.statusCode >= 300) {
664
- return deserializeAws_json1_1DeleteProtectionCommandError(output, context);
664
+ return de_DeleteProtectionCommandError(output, context);
665
665
  }
666
666
  const data = await parseBody(output.body, context);
667
667
  let contents = {};
668
- contents = deserializeAws_json1_1DeleteProtectionResponse(data, context);
668
+ contents = de_DeleteProtectionResponse(data, context);
669
669
  const response = {
670
670
  $metadata: deserializeMetadata(output),
671
671
  ...contents,
672
672
  };
673
673
  return Promise.resolve(response);
674
674
  };
675
- const deserializeAws_json1_1DeleteProtectionCommandError = async (output, context) => {
675
+ const de_DeleteProtectionCommandError = async (output, context) => {
676
676
  const parsedOutput = {
677
677
  ...output,
678
678
  body: await parseErrorBody(output.body, context),
@@ -681,13 +681,13 @@ const deserializeAws_json1_1DeleteProtectionCommandError = async (output, contex
681
681
  switch (errorCode) {
682
682
  case "InternalErrorException":
683
683
  case "com.amazonaws.shield#InternalErrorException":
684
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
684
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
685
685
  case "OptimisticLockException":
686
686
  case "com.amazonaws.shield#OptimisticLockException":
687
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
687
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
688
688
  case "ResourceNotFoundException":
689
689
  case "com.amazonaws.shield#ResourceNotFoundException":
690
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
690
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
691
691
  default:
692
692
  const parsedBody = parsedOutput.body;
693
693
  throwDefaultError({
@@ -698,20 +698,20 @@ const deserializeAws_json1_1DeleteProtectionCommandError = async (output, contex
698
698
  });
699
699
  }
700
700
  };
701
- export const deserializeAws_json1_1DeleteProtectionGroupCommand = async (output, context) => {
701
+ export const de_DeleteProtectionGroupCommand = async (output, context) => {
702
702
  if (output.statusCode >= 300) {
703
- return deserializeAws_json1_1DeleteProtectionGroupCommandError(output, context);
703
+ return de_DeleteProtectionGroupCommandError(output, context);
704
704
  }
705
705
  const data = await parseBody(output.body, context);
706
706
  let contents = {};
707
- contents = deserializeAws_json1_1DeleteProtectionGroupResponse(data, context);
707
+ contents = de_DeleteProtectionGroupResponse(data, context);
708
708
  const response = {
709
709
  $metadata: deserializeMetadata(output),
710
710
  ...contents,
711
711
  };
712
712
  return Promise.resolve(response);
713
713
  };
714
- const deserializeAws_json1_1DeleteProtectionGroupCommandError = async (output, context) => {
714
+ const de_DeleteProtectionGroupCommandError = async (output, context) => {
715
715
  const parsedOutput = {
716
716
  ...output,
717
717
  body: await parseErrorBody(output.body, context),
@@ -720,13 +720,13 @@ const deserializeAws_json1_1DeleteProtectionGroupCommandError = async (output, c
720
720
  switch (errorCode) {
721
721
  case "InternalErrorException":
722
722
  case "com.amazonaws.shield#InternalErrorException":
723
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
723
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
724
724
  case "OptimisticLockException":
725
725
  case "com.amazonaws.shield#OptimisticLockException":
726
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
726
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
727
727
  case "ResourceNotFoundException":
728
728
  case "com.amazonaws.shield#ResourceNotFoundException":
729
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
729
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
730
730
  default:
731
731
  const parsedBody = parsedOutput.body;
732
732
  throwDefaultError({
@@ -737,20 +737,20 @@ const deserializeAws_json1_1DeleteProtectionGroupCommandError = async (output, c
737
737
  });
738
738
  }
739
739
  };
740
- export const deserializeAws_json1_1DeleteSubscriptionCommand = async (output, context) => {
740
+ export const de_DeleteSubscriptionCommand = async (output, context) => {
741
741
  if (output.statusCode >= 300) {
742
- return deserializeAws_json1_1DeleteSubscriptionCommandError(output, context);
742
+ return de_DeleteSubscriptionCommandError(output, context);
743
743
  }
744
744
  const data = await parseBody(output.body, context);
745
745
  let contents = {};
746
- contents = deserializeAws_json1_1DeleteSubscriptionResponse(data, context);
746
+ contents = de_DeleteSubscriptionResponse(data, context);
747
747
  const response = {
748
748
  $metadata: deserializeMetadata(output),
749
749
  ...contents,
750
750
  };
751
751
  return Promise.resolve(response);
752
752
  };
753
- const deserializeAws_json1_1DeleteSubscriptionCommandError = async (output, context) => {
753
+ const de_DeleteSubscriptionCommandError = async (output, context) => {
754
754
  const parsedOutput = {
755
755
  ...output,
756
756
  body: await parseErrorBody(output.body, context),
@@ -759,13 +759,13 @@ const deserializeAws_json1_1DeleteSubscriptionCommandError = async (output, cont
759
759
  switch (errorCode) {
760
760
  case "InternalErrorException":
761
761
  case "com.amazonaws.shield#InternalErrorException":
762
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
762
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
763
763
  case "LockedSubscriptionException":
764
764
  case "com.amazonaws.shield#LockedSubscriptionException":
765
- throw await deserializeAws_json1_1LockedSubscriptionExceptionResponse(parsedOutput, context);
765
+ throw await de_LockedSubscriptionExceptionRes(parsedOutput, context);
766
766
  case "ResourceNotFoundException":
767
767
  case "com.amazonaws.shield#ResourceNotFoundException":
768
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
768
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
769
769
  default:
770
770
  const parsedBody = parsedOutput.body;
771
771
  throwDefaultError({
@@ -776,20 +776,20 @@ const deserializeAws_json1_1DeleteSubscriptionCommandError = async (output, cont
776
776
  });
777
777
  }
778
778
  };
779
- export const deserializeAws_json1_1DescribeAttackCommand = async (output, context) => {
779
+ export const de_DescribeAttackCommand = async (output, context) => {
780
780
  if (output.statusCode >= 300) {
781
- return deserializeAws_json1_1DescribeAttackCommandError(output, context);
781
+ return de_DescribeAttackCommandError(output, context);
782
782
  }
783
783
  const data = await parseBody(output.body, context);
784
784
  let contents = {};
785
- contents = deserializeAws_json1_1DescribeAttackResponse(data, context);
785
+ contents = de_DescribeAttackResponse(data, context);
786
786
  const response = {
787
787
  $metadata: deserializeMetadata(output),
788
788
  ...contents,
789
789
  };
790
790
  return Promise.resolve(response);
791
791
  };
792
- const deserializeAws_json1_1DescribeAttackCommandError = async (output, context) => {
792
+ const de_DescribeAttackCommandError = async (output, context) => {
793
793
  const parsedOutput = {
794
794
  ...output,
795
795
  body: await parseErrorBody(output.body, context),
@@ -798,10 +798,10 @@ const deserializeAws_json1_1DescribeAttackCommandError = async (output, context)
798
798
  switch (errorCode) {
799
799
  case "AccessDeniedException":
800
800
  case "com.amazonaws.shield#AccessDeniedException":
801
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
801
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
802
802
  case "InternalErrorException":
803
803
  case "com.amazonaws.shield#InternalErrorException":
804
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
804
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
805
805
  default:
806
806
  const parsedBody = parsedOutput.body;
807
807
  throwDefaultError({
@@ -812,20 +812,20 @@ const deserializeAws_json1_1DescribeAttackCommandError = async (output, context)
812
812
  });
813
813
  }
814
814
  };
815
- export const deserializeAws_json1_1DescribeAttackStatisticsCommand = async (output, context) => {
815
+ export const de_DescribeAttackStatisticsCommand = async (output, context) => {
816
816
  if (output.statusCode >= 300) {
817
- return deserializeAws_json1_1DescribeAttackStatisticsCommandError(output, context);
817
+ return de_DescribeAttackStatisticsCommandError(output, context);
818
818
  }
819
819
  const data = await parseBody(output.body, context);
820
820
  let contents = {};
821
- contents = deserializeAws_json1_1DescribeAttackStatisticsResponse(data, context);
821
+ contents = de_DescribeAttackStatisticsResponse(data, context);
822
822
  const response = {
823
823
  $metadata: deserializeMetadata(output),
824
824
  ...contents,
825
825
  };
826
826
  return Promise.resolve(response);
827
827
  };
828
- const deserializeAws_json1_1DescribeAttackStatisticsCommandError = async (output, context) => {
828
+ const de_DescribeAttackStatisticsCommandError = async (output, context) => {
829
829
  const parsedOutput = {
830
830
  ...output,
831
831
  body: await parseErrorBody(output.body, context),
@@ -834,7 +834,7 @@ const deserializeAws_json1_1DescribeAttackStatisticsCommandError = async (output
834
834
  switch (errorCode) {
835
835
  case "InternalErrorException":
836
836
  case "com.amazonaws.shield#InternalErrorException":
837
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
837
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
838
838
  default:
839
839
  const parsedBody = parsedOutput.body;
840
840
  throwDefaultError({
@@ -845,20 +845,20 @@ const deserializeAws_json1_1DescribeAttackStatisticsCommandError = async (output
845
845
  });
846
846
  }
847
847
  };
848
- export const deserializeAws_json1_1DescribeDRTAccessCommand = async (output, context) => {
848
+ export const de_DescribeDRTAccessCommand = async (output, context) => {
849
849
  if (output.statusCode >= 300) {
850
- return deserializeAws_json1_1DescribeDRTAccessCommandError(output, context);
850
+ return de_DescribeDRTAccessCommandError(output, context);
851
851
  }
852
852
  const data = await parseBody(output.body, context);
853
853
  let contents = {};
854
- contents = deserializeAws_json1_1DescribeDRTAccessResponse(data, context);
854
+ contents = de_DescribeDRTAccessResponse(data, context);
855
855
  const response = {
856
856
  $metadata: deserializeMetadata(output),
857
857
  ...contents,
858
858
  };
859
859
  return Promise.resolve(response);
860
860
  };
861
- const deserializeAws_json1_1DescribeDRTAccessCommandError = async (output, context) => {
861
+ const de_DescribeDRTAccessCommandError = async (output, context) => {
862
862
  const parsedOutput = {
863
863
  ...output,
864
864
  body: await parseErrorBody(output.body, context),
@@ -867,10 +867,10 @@ const deserializeAws_json1_1DescribeDRTAccessCommandError = async (output, conte
867
867
  switch (errorCode) {
868
868
  case "InternalErrorException":
869
869
  case "com.amazonaws.shield#InternalErrorException":
870
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
870
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
871
871
  case "ResourceNotFoundException":
872
872
  case "com.amazonaws.shield#ResourceNotFoundException":
873
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
873
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
874
874
  default:
875
875
  const parsedBody = parsedOutput.body;
876
876
  throwDefaultError({
@@ -881,20 +881,20 @@ const deserializeAws_json1_1DescribeDRTAccessCommandError = async (output, conte
881
881
  });
882
882
  }
883
883
  };
884
- export const deserializeAws_json1_1DescribeEmergencyContactSettingsCommand = async (output, context) => {
884
+ export const de_DescribeEmergencyContactSettingsCommand = async (output, context) => {
885
885
  if (output.statusCode >= 300) {
886
- return deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError(output, context);
886
+ return de_DescribeEmergencyContactSettingsCommandError(output, context);
887
887
  }
888
888
  const data = await parseBody(output.body, context);
889
889
  let contents = {};
890
- contents = deserializeAws_json1_1DescribeEmergencyContactSettingsResponse(data, context);
890
+ contents = de_DescribeEmergencyContactSettingsResponse(data, context);
891
891
  const response = {
892
892
  $metadata: deserializeMetadata(output),
893
893
  ...contents,
894
894
  };
895
895
  return Promise.resolve(response);
896
896
  };
897
- const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async (output, context) => {
897
+ const de_DescribeEmergencyContactSettingsCommandError = async (output, context) => {
898
898
  const parsedOutput = {
899
899
  ...output,
900
900
  body: await parseErrorBody(output.body, context),
@@ -903,10 +903,10 @@ const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async
903
903
  switch (errorCode) {
904
904
  case "InternalErrorException":
905
905
  case "com.amazonaws.shield#InternalErrorException":
906
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
906
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
907
907
  case "ResourceNotFoundException":
908
908
  case "com.amazonaws.shield#ResourceNotFoundException":
909
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
909
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
910
910
  default:
911
911
  const parsedBody = parsedOutput.body;
912
912
  throwDefaultError({
@@ -917,20 +917,20 @@ const deserializeAws_json1_1DescribeEmergencyContactSettingsCommandError = async
917
917
  });
918
918
  }
919
919
  };
920
- export const deserializeAws_json1_1DescribeProtectionCommand = async (output, context) => {
920
+ export const de_DescribeProtectionCommand = async (output, context) => {
921
921
  if (output.statusCode >= 300) {
922
- return deserializeAws_json1_1DescribeProtectionCommandError(output, context);
922
+ return de_DescribeProtectionCommandError(output, context);
923
923
  }
924
924
  const data = await parseBody(output.body, context);
925
925
  let contents = {};
926
- contents = deserializeAws_json1_1DescribeProtectionResponse(data, context);
926
+ contents = de_DescribeProtectionResponse(data, context);
927
927
  const response = {
928
928
  $metadata: deserializeMetadata(output),
929
929
  ...contents,
930
930
  };
931
931
  return Promise.resolve(response);
932
932
  };
933
- const deserializeAws_json1_1DescribeProtectionCommandError = async (output, context) => {
933
+ const de_DescribeProtectionCommandError = async (output, context) => {
934
934
  const parsedOutput = {
935
935
  ...output,
936
936
  body: await parseErrorBody(output.body, context),
@@ -939,13 +939,13 @@ const deserializeAws_json1_1DescribeProtectionCommandError = async (output, cont
939
939
  switch (errorCode) {
940
940
  case "InternalErrorException":
941
941
  case "com.amazonaws.shield#InternalErrorException":
942
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
942
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
943
943
  case "InvalidParameterException":
944
944
  case "com.amazonaws.shield#InvalidParameterException":
945
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
945
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
946
946
  case "ResourceNotFoundException":
947
947
  case "com.amazonaws.shield#ResourceNotFoundException":
948
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
948
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
949
949
  default:
950
950
  const parsedBody = parsedOutput.body;
951
951
  throwDefaultError({
@@ -956,20 +956,20 @@ const deserializeAws_json1_1DescribeProtectionCommandError = async (output, cont
956
956
  });
957
957
  }
958
958
  };
959
- export const deserializeAws_json1_1DescribeProtectionGroupCommand = async (output, context) => {
959
+ export const de_DescribeProtectionGroupCommand = async (output, context) => {
960
960
  if (output.statusCode >= 300) {
961
- return deserializeAws_json1_1DescribeProtectionGroupCommandError(output, context);
961
+ return de_DescribeProtectionGroupCommandError(output, context);
962
962
  }
963
963
  const data = await parseBody(output.body, context);
964
964
  let contents = {};
965
- contents = deserializeAws_json1_1DescribeProtectionGroupResponse(data, context);
965
+ contents = de_DescribeProtectionGroupResponse(data, context);
966
966
  const response = {
967
967
  $metadata: deserializeMetadata(output),
968
968
  ...contents,
969
969
  };
970
970
  return Promise.resolve(response);
971
971
  };
972
- const deserializeAws_json1_1DescribeProtectionGroupCommandError = async (output, context) => {
972
+ const de_DescribeProtectionGroupCommandError = async (output, context) => {
973
973
  const parsedOutput = {
974
974
  ...output,
975
975
  body: await parseErrorBody(output.body, context),
@@ -978,10 +978,10 @@ const deserializeAws_json1_1DescribeProtectionGroupCommandError = async (output,
978
978
  switch (errorCode) {
979
979
  case "InternalErrorException":
980
980
  case "com.amazonaws.shield#InternalErrorException":
981
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
981
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
982
982
  case "ResourceNotFoundException":
983
983
  case "com.amazonaws.shield#ResourceNotFoundException":
984
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
984
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
985
985
  default:
986
986
  const parsedBody = parsedOutput.body;
987
987
  throwDefaultError({
@@ -992,20 +992,20 @@ const deserializeAws_json1_1DescribeProtectionGroupCommandError = async (output,
992
992
  });
993
993
  }
994
994
  };
995
- export const deserializeAws_json1_1DescribeSubscriptionCommand = async (output, context) => {
995
+ export const de_DescribeSubscriptionCommand = async (output, context) => {
996
996
  if (output.statusCode >= 300) {
997
- return deserializeAws_json1_1DescribeSubscriptionCommandError(output, context);
997
+ return de_DescribeSubscriptionCommandError(output, context);
998
998
  }
999
999
  const data = await parseBody(output.body, context);
1000
1000
  let contents = {};
1001
- contents = deserializeAws_json1_1DescribeSubscriptionResponse(data, context);
1001
+ contents = de_DescribeSubscriptionResponse(data, context);
1002
1002
  const response = {
1003
1003
  $metadata: deserializeMetadata(output),
1004
1004
  ...contents,
1005
1005
  };
1006
1006
  return Promise.resolve(response);
1007
1007
  };
1008
- const deserializeAws_json1_1DescribeSubscriptionCommandError = async (output, context) => {
1008
+ const de_DescribeSubscriptionCommandError = async (output, context) => {
1009
1009
  const parsedOutput = {
1010
1010
  ...output,
1011
1011
  body: await parseErrorBody(output.body, context),
@@ -1014,10 +1014,10 @@ const deserializeAws_json1_1DescribeSubscriptionCommandError = async (output, co
1014
1014
  switch (errorCode) {
1015
1015
  case "InternalErrorException":
1016
1016
  case "com.amazonaws.shield#InternalErrorException":
1017
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1017
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1018
1018
  case "ResourceNotFoundException":
1019
1019
  case "com.amazonaws.shield#ResourceNotFoundException":
1020
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1020
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1021
1021
  default:
1022
1022
  const parsedBody = parsedOutput.body;
1023
1023
  throwDefaultError({
@@ -1028,20 +1028,20 @@ const deserializeAws_json1_1DescribeSubscriptionCommandError = async (output, co
1028
1028
  });
1029
1029
  }
1030
1030
  };
1031
- export const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand = async (output, context) => {
1031
+ export const de_DisableApplicationLayerAutomaticResponseCommand = async (output, context) => {
1032
1032
  if (output.statusCode >= 300) {
1033
- return deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommandError(output, context);
1033
+ return de_DisableApplicationLayerAutomaticResponseCommandError(output, context);
1034
1034
  }
1035
1035
  const data = await parseBody(output.body, context);
1036
1036
  let contents = {};
1037
- contents = deserializeAws_json1_1DisableApplicationLayerAutomaticResponseResponse(data, context);
1037
+ contents = de_DisableApplicationLayerAutomaticResponseResponse(data, context);
1038
1038
  const response = {
1039
1039
  $metadata: deserializeMetadata(output),
1040
1040
  ...contents,
1041
1041
  };
1042
1042
  return Promise.resolve(response);
1043
1043
  };
1044
- const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1044
+ const de_DisableApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1045
1045
  const parsedOutput = {
1046
1046
  ...output,
1047
1047
  body: await parseErrorBody(output.body, context),
@@ -1050,19 +1050,19 @@ const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommandError
1050
1050
  switch (errorCode) {
1051
1051
  case "InternalErrorException":
1052
1052
  case "com.amazonaws.shield#InternalErrorException":
1053
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1053
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1054
1054
  case "InvalidOperationException":
1055
1055
  case "com.amazonaws.shield#InvalidOperationException":
1056
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1056
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1057
1057
  case "InvalidParameterException":
1058
1058
  case "com.amazonaws.shield#InvalidParameterException":
1059
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1059
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1060
1060
  case "OptimisticLockException":
1061
1061
  case "com.amazonaws.shield#OptimisticLockException":
1062
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1062
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1063
1063
  case "ResourceNotFoundException":
1064
1064
  case "com.amazonaws.shield#ResourceNotFoundException":
1065
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1065
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1066
1066
  default:
1067
1067
  const parsedBody = parsedOutput.body;
1068
1068
  throwDefaultError({
@@ -1073,20 +1073,20 @@ const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommandError
1073
1073
  });
1074
1074
  }
1075
1075
  };
1076
- export const deserializeAws_json1_1DisableProactiveEngagementCommand = async (output, context) => {
1076
+ export const de_DisableProactiveEngagementCommand = async (output, context) => {
1077
1077
  if (output.statusCode >= 300) {
1078
- return deserializeAws_json1_1DisableProactiveEngagementCommandError(output, context);
1078
+ return de_DisableProactiveEngagementCommandError(output, context);
1079
1079
  }
1080
1080
  const data = await parseBody(output.body, context);
1081
1081
  let contents = {};
1082
- contents = deserializeAws_json1_1DisableProactiveEngagementResponse(data, context);
1082
+ contents = de_DisableProactiveEngagementResponse(data, context);
1083
1083
  const response = {
1084
1084
  $metadata: deserializeMetadata(output),
1085
1085
  ...contents,
1086
1086
  };
1087
1087
  return Promise.resolve(response);
1088
1088
  };
1089
- const deserializeAws_json1_1DisableProactiveEngagementCommandError = async (output, context) => {
1089
+ const de_DisableProactiveEngagementCommandError = async (output, context) => {
1090
1090
  const parsedOutput = {
1091
1091
  ...output,
1092
1092
  body: await parseErrorBody(output.body, context),
@@ -1095,19 +1095,19 @@ const deserializeAws_json1_1DisableProactiveEngagementCommandError = async (outp
1095
1095
  switch (errorCode) {
1096
1096
  case "InternalErrorException":
1097
1097
  case "com.amazonaws.shield#InternalErrorException":
1098
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1098
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1099
1099
  case "InvalidOperationException":
1100
1100
  case "com.amazonaws.shield#InvalidOperationException":
1101
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1101
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1102
1102
  case "InvalidParameterException":
1103
1103
  case "com.amazonaws.shield#InvalidParameterException":
1104
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1104
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1105
1105
  case "OptimisticLockException":
1106
1106
  case "com.amazonaws.shield#OptimisticLockException":
1107
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1107
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1108
1108
  case "ResourceNotFoundException":
1109
1109
  case "com.amazonaws.shield#ResourceNotFoundException":
1110
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1110
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1111
1111
  default:
1112
1112
  const parsedBody = parsedOutput.body;
1113
1113
  throwDefaultError({
@@ -1118,20 +1118,20 @@ const deserializeAws_json1_1DisableProactiveEngagementCommandError = async (outp
1118
1118
  });
1119
1119
  }
1120
1120
  };
1121
- export const deserializeAws_json1_1DisassociateDRTLogBucketCommand = async (output, context) => {
1121
+ export const de_DisassociateDRTLogBucketCommand = async (output, context) => {
1122
1122
  if (output.statusCode >= 300) {
1123
- return deserializeAws_json1_1DisassociateDRTLogBucketCommandError(output, context);
1123
+ return de_DisassociateDRTLogBucketCommandError(output, context);
1124
1124
  }
1125
1125
  const data = await parseBody(output.body, context);
1126
1126
  let contents = {};
1127
- contents = deserializeAws_json1_1DisassociateDRTLogBucketResponse(data, context);
1127
+ contents = de_DisassociateDRTLogBucketResponse(data, context);
1128
1128
  const response = {
1129
1129
  $metadata: deserializeMetadata(output),
1130
1130
  ...contents,
1131
1131
  };
1132
1132
  return Promise.resolve(response);
1133
1133
  };
1134
- const deserializeAws_json1_1DisassociateDRTLogBucketCommandError = async (output, context) => {
1134
+ const de_DisassociateDRTLogBucketCommandError = async (output, context) => {
1135
1135
  const parsedOutput = {
1136
1136
  ...output,
1137
1137
  body: await parseErrorBody(output.body, context),
@@ -1140,22 +1140,22 @@ const deserializeAws_json1_1DisassociateDRTLogBucketCommandError = async (output
1140
1140
  switch (errorCode) {
1141
1141
  case "AccessDeniedForDependencyException":
1142
1142
  case "com.amazonaws.shield#AccessDeniedForDependencyException":
1143
- throw await deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse(parsedOutput, context);
1143
+ throw await de_AccessDeniedForDependencyExceptionRes(parsedOutput, context);
1144
1144
  case "InternalErrorException":
1145
1145
  case "com.amazonaws.shield#InternalErrorException":
1146
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1146
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1147
1147
  case "InvalidOperationException":
1148
1148
  case "com.amazonaws.shield#InvalidOperationException":
1149
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1149
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1150
1150
  case "NoAssociatedRoleException":
1151
1151
  case "com.amazonaws.shield#NoAssociatedRoleException":
1152
- throw await deserializeAws_json1_1NoAssociatedRoleExceptionResponse(parsedOutput, context);
1152
+ throw await de_NoAssociatedRoleExceptionRes(parsedOutput, context);
1153
1153
  case "OptimisticLockException":
1154
1154
  case "com.amazonaws.shield#OptimisticLockException":
1155
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1155
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1156
1156
  case "ResourceNotFoundException":
1157
1157
  case "com.amazonaws.shield#ResourceNotFoundException":
1158
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1158
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1159
1159
  default:
1160
1160
  const parsedBody = parsedOutput.body;
1161
1161
  throwDefaultError({
@@ -1166,20 +1166,20 @@ const deserializeAws_json1_1DisassociateDRTLogBucketCommandError = async (output
1166
1166
  });
1167
1167
  }
1168
1168
  };
1169
- export const deserializeAws_json1_1DisassociateDRTRoleCommand = async (output, context) => {
1169
+ export const de_DisassociateDRTRoleCommand = async (output, context) => {
1170
1170
  if (output.statusCode >= 300) {
1171
- return deserializeAws_json1_1DisassociateDRTRoleCommandError(output, context);
1171
+ return de_DisassociateDRTRoleCommandError(output, context);
1172
1172
  }
1173
1173
  const data = await parseBody(output.body, context);
1174
1174
  let contents = {};
1175
- contents = deserializeAws_json1_1DisassociateDRTRoleResponse(data, context);
1175
+ contents = de_DisassociateDRTRoleResponse(data, context);
1176
1176
  const response = {
1177
1177
  $metadata: deserializeMetadata(output),
1178
1178
  ...contents,
1179
1179
  };
1180
1180
  return Promise.resolve(response);
1181
1181
  };
1182
- const deserializeAws_json1_1DisassociateDRTRoleCommandError = async (output, context) => {
1182
+ const de_DisassociateDRTRoleCommandError = async (output, context) => {
1183
1183
  const parsedOutput = {
1184
1184
  ...output,
1185
1185
  body: await parseErrorBody(output.body, context),
@@ -1188,16 +1188,16 @@ const deserializeAws_json1_1DisassociateDRTRoleCommandError = async (output, con
1188
1188
  switch (errorCode) {
1189
1189
  case "InternalErrorException":
1190
1190
  case "com.amazonaws.shield#InternalErrorException":
1191
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1191
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1192
1192
  case "InvalidOperationException":
1193
1193
  case "com.amazonaws.shield#InvalidOperationException":
1194
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1194
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1195
1195
  case "OptimisticLockException":
1196
1196
  case "com.amazonaws.shield#OptimisticLockException":
1197
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1197
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1198
1198
  case "ResourceNotFoundException":
1199
1199
  case "com.amazonaws.shield#ResourceNotFoundException":
1200
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1200
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1201
1201
  default:
1202
1202
  const parsedBody = parsedOutput.body;
1203
1203
  throwDefaultError({
@@ -1208,20 +1208,20 @@ const deserializeAws_json1_1DisassociateDRTRoleCommandError = async (output, con
1208
1208
  });
1209
1209
  }
1210
1210
  };
1211
- export const deserializeAws_json1_1DisassociateHealthCheckCommand = async (output, context) => {
1211
+ export const de_DisassociateHealthCheckCommand = async (output, context) => {
1212
1212
  if (output.statusCode >= 300) {
1213
- return deserializeAws_json1_1DisassociateHealthCheckCommandError(output, context);
1213
+ return de_DisassociateHealthCheckCommandError(output, context);
1214
1214
  }
1215
1215
  const data = await parseBody(output.body, context);
1216
1216
  let contents = {};
1217
- contents = deserializeAws_json1_1DisassociateHealthCheckResponse(data, context);
1217
+ contents = de_DisassociateHealthCheckResponse(data, context);
1218
1218
  const response = {
1219
1219
  $metadata: deserializeMetadata(output),
1220
1220
  ...contents,
1221
1221
  };
1222
1222
  return Promise.resolve(response);
1223
1223
  };
1224
- const deserializeAws_json1_1DisassociateHealthCheckCommandError = async (output, context) => {
1224
+ const de_DisassociateHealthCheckCommandError = async (output, context) => {
1225
1225
  const parsedOutput = {
1226
1226
  ...output,
1227
1227
  body: await parseErrorBody(output.body, context),
@@ -1230,19 +1230,19 @@ const deserializeAws_json1_1DisassociateHealthCheckCommandError = async (output,
1230
1230
  switch (errorCode) {
1231
1231
  case "InternalErrorException":
1232
1232
  case "com.amazonaws.shield#InternalErrorException":
1233
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1233
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1234
1234
  case "InvalidParameterException":
1235
1235
  case "com.amazonaws.shield#InvalidParameterException":
1236
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1236
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1237
1237
  case "InvalidResourceException":
1238
1238
  case "com.amazonaws.shield#InvalidResourceException":
1239
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1239
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1240
1240
  case "OptimisticLockException":
1241
1241
  case "com.amazonaws.shield#OptimisticLockException":
1242
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1242
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1243
1243
  case "ResourceNotFoundException":
1244
1244
  case "com.amazonaws.shield#ResourceNotFoundException":
1245
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1245
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1246
1246
  default:
1247
1247
  const parsedBody = parsedOutput.body;
1248
1248
  throwDefaultError({
@@ -1253,20 +1253,20 @@ const deserializeAws_json1_1DisassociateHealthCheckCommandError = async (output,
1253
1253
  });
1254
1254
  }
1255
1255
  };
1256
- export const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand = async (output, context) => {
1256
+ export const de_EnableApplicationLayerAutomaticResponseCommand = async (output, context) => {
1257
1257
  if (output.statusCode >= 300) {
1258
- return deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommandError(output, context);
1258
+ return de_EnableApplicationLayerAutomaticResponseCommandError(output, context);
1259
1259
  }
1260
1260
  const data = await parseBody(output.body, context);
1261
1261
  let contents = {};
1262
- contents = deserializeAws_json1_1EnableApplicationLayerAutomaticResponseResponse(data, context);
1262
+ contents = de_EnableApplicationLayerAutomaticResponseResponse(data, context);
1263
1263
  const response = {
1264
1264
  $metadata: deserializeMetadata(output),
1265
1265
  ...contents,
1266
1266
  };
1267
1267
  return Promise.resolve(response);
1268
1268
  };
1269
- const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1269
+ const de_EnableApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1270
1270
  const parsedOutput = {
1271
1271
  ...output,
1272
1272
  body: await parseErrorBody(output.body, context),
@@ -1275,22 +1275,22 @@ const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommandError
1275
1275
  switch (errorCode) {
1276
1276
  case "InternalErrorException":
1277
1277
  case "com.amazonaws.shield#InternalErrorException":
1278
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1278
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1279
1279
  case "InvalidOperationException":
1280
1280
  case "com.amazonaws.shield#InvalidOperationException":
1281
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1281
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1282
1282
  case "InvalidParameterException":
1283
1283
  case "com.amazonaws.shield#InvalidParameterException":
1284
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1284
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1285
1285
  case "LimitsExceededException":
1286
1286
  case "com.amazonaws.shield#LimitsExceededException":
1287
- throw await deserializeAws_json1_1LimitsExceededExceptionResponse(parsedOutput, context);
1287
+ throw await de_LimitsExceededExceptionRes(parsedOutput, context);
1288
1288
  case "OptimisticLockException":
1289
1289
  case "com.amazonaws.shield#OptimisticLockException":
1290
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1290
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1291
1291
  case "ResourceNotFoundException":
1292
1292
  case "com.amazonaws.shield#ResourceNotFoundException":
1293
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1293
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1294
1294
  default:
1295
1295
  const parsedBody = parsedOutput.body;
1296
1296
  throwDefaultError({
@@ -1301,20 +1301,20 @@ const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommandError
1301
1301
  });
1302
1302
  }
1303
1303
  };
1304
- export const deserializeAws_json1_1EnableProactiveEngagementCommand = async (output, context) => {
1304
+ export const de_EnableProactiveEngagementCommand = async (output, context) => {
1305
1305
  if (output.statusCode >= 300) {
1306
- return deserializeAws_json1_1EnableProactiveEngagementCommandError(output, context);
1306
+ return de_EnableProactiveEngagementCommandError(output, context);
1307
1307
  }
1308
1308
  const data = await parseBody(output.body, context);
1309
1309
  let contents = {};
1310
- contents = deserializeAws_json1_1EnableProactiveEngagementResponse(data, context);
1310
+ contents = de_EnableProactiveEngagementResponse(data, context);
1311
1311
  const response = {
1312
1312
  $metadata: deserializeMetadata(output),
1313
1313
  ...contents,
1314
1314
  };
1315
1315
  return Promise.resolve(response);
1316
1316
  };
1317
- const deserializeAws_json1_1EnableProactiveEngagementCommandError = async (output, context) => {
1317
+ const de_EnableProactiveEngagementCommandError = async (output, context) => {
1318
1318
  const parsedOutput = {
1319
1319
  ...output,
1320
1320
  body: await parseErrorBody(output.body, context),
@@ -1323,19 +1323,19 @@ const deserializeAws_json1_1EnableProactiveEngagementCommandError = async (outpu
1323
1323
  switch (errorCode) {
1324
1324
  case "InternalErrorException":
1325
1325
  case "com.amazonaws.shield#InternalErrorException":
1326
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1326
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1327
1327
  case "InvalidOperationException":
1328
1328
  case "com.amazonaws.shield#InvalidOperationException":
1329
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1329
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1330
1330
  case "InvalidParameterException":
1331
1331
  case "com.amazonaws.shield#InvalidParameterException":
1332
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1332
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1333
1333
  case "OptimisticLockException":
1334
1334
  case "com.amazonaws.shield#OptimisticLockException":
1335
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1335
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1336
1336
  case "ResourceNotFoundException":
1337
1337
  case "com.amazonaws.shield#ResourceNotFoundException":
1338
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1338
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1339
1339
  default:
1340
1340
  const parsedBody = parsedOutput.body;
1341
1341
  throwDefaultError({
@@ -1346,20 +1346,20 @@ const deserializeAws_json1_1EnableProactiveEngagementCommandError = async (outpu
1346
1346
  });
1347
1347
  }
1348
1348
  };
1349
- export const deserializeAws_json1_1GetSubscriptionStateCommand = async (output, context) => {
1349
+ export const de_GetSubscriptionStateCommand = async (output, context) => {
1350
1350
  if (output.statusCode >= 300) {
1351
- return deserializeAws_json1_1GetSubscriptionStateCommandError(output, context);
1351
+ return de_GetSubscriptionStateCommandError(output, context);
1352
1352
  }
1353
1353
  const data = await parseBody(output.body, context);
1354
1354
  let contents = {};
1355
- contents = deserializeAws_json1_1GetSubscriptionStateResponse(data, context);
1355
+ contents = de_GetSubscriptionStateResponse(data, context);
1356
1356
  const response = {
1357
1357
  $metadata: deserializeMetadata(output),
1358
1358
  ...contents,
1359
1359
  };
1360
1360
  return Promise.resolve(response);
1361
1361
  };
1362
- const deserializeAws_json1_1GetSubscriptionStateCommandError = async (output, context) => {
1362
+ const de_GetSubscriptionStateCommandError = async (output, context) => {
1363
1363
  const parsedOutput = {
1364
1364
  ...output,
1365
1365
  body: await parseErrorBody(output.body, context),
@@ -1368,7 +1368,7 @@ const deserializeAws_json1_1GetSubscriptionStateCommandError = async (output, co
1368
1368
  switch (errorCode) {
1369
1369
  case "InternalErrorException":
1370
1370
  case "com.amazonaws.shield#InternalErrorException":
1371
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1371
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1372
1372
  default:
1373
1373
  const parsedBody = parsedOutput.body;
1374
1374
  throwDefaultError({
@@ -1379,20 +1379,20 @@ const deserializeAws_json1_1GetSubscriptionStateCommandError = async (output, co
1379
1379
  });
1380
1380
  }
1381
1381
  };
1382
- export const deserializeAws_json1_1ListAttacksCommand = async (output, context) => {
1382
+ export const de_ListAttacksCommand = async (output, context) => {
1383
1383
  if (output.statusCode >= 300) {
1384
- return deserializeAws_json1_1ListAttacksCommandError(output, context);
1384
+ return de_ListAttacksCommandError(output, context);
1385
1385
  }
1386
1386
  const data = await parseBody(output.body, context);
1387
1387
  let contents = {};
1388
- contents = deserializeAws_json1_1ListAttacksResponse(data, context);
1388
+ contents = de_ListAttacksResponse(data, context);
1389
1389
  const response = {
1390
1390
  $metadata: deserializeMetadata(output),
1391
1391
  ...contents,
1392
1392
  };
1393
1393
  return Promise.resolve(response);
1394
1394
  };
1395
- const deserializeAws_json1_1ListAttacksCommandError = async (output, context) => {
1395
+ const de_ListAttacksCommandError = async (output, context) => {
1396
1396
  const parsedOutput = {
1397
1397
  ...output,
1398
1398
  body: await parseErrorBody(output.body, context),
@@ -1401,13 +1401,13 @@ const deserializeAws_json1_1ListAttacksCommandError = async (output, context) =>
1401
1401
  switch (errorCode) {
1402
1402
  case "InternalErrorException":
1403
1403
  case "com.amazonaws.shield#InternalErrorException":
1404
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1404
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1405
1405
  case "InvalidOperationException":
1406
1406
  case "com.amazonaws.shield#InvalidOperationException":
1407
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1407
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1408
1408
  case "InvalidParameterException":
1409
1409
  case "com.amazonaws.shield#InvalidParameterException":
1410
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1410
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1411
1411
  default:
1412
1412
  const parsedBody = parsedOutput.body;
1413
1413
  throwDefaultError({
@@ -1418,20 +1418,20 @@ const deserializeAws_json1_1ListAttacksCommandError = async (output, context) =>
1418
1418
  });
1419
1419
  }
1420
1420
  };
1421
- export const deserializeAws_json1_1ListProtectionGroupsCommand = async (output, context) => {
1421
+ export const de_ListProtectionGroupsCommand = async (output, context) => {
1422
1422
  if (output.statusCode >= 300) {
1423
- return deserializeAws_json1_1ListProtectionGroupsCommandError(output, context);
1423
+ return de_ListProtectionGroupsCommandError(output, context);
1424
1424
  }
1425
1425
  const data = await parseBody(output.body, context);
1426
1426
  let contents = {};
1427
- contents = deserializeAws_json1_1ListProtectionGroupsResponse(data, context);
1427
+ contents = de_ListProtectionGroupsResponse(data, context);
1428
1428
  const response = {
1429
1429
  $metadata: deserializeMetadata(output),
1430
1430
  ...contents,
1431
1431
  };
1432
1432
  return Promise.resolve(response);
1433
1433
  };
1434
- const deserializeAws_json1_1ListProtectionGroupsCommandError = async (output, context) => {
1434
+ const de_ListProtectionGroupsCommandError = async (output, context) => {
1435
1435
  const parsedOutput = {
1436
1436
  ...output,
1437
1437
  body: await parseErrorBody(output.body, context),
@@ -1440,13 +1440,13 @@ const deserializeAws_json1_1ListProtectionGroupsCommandError = async (output, co
1440
1440
  switch (errorCode) {
1441
1441
  case "InternalErrorException":
1442
1442
  case "com.amazonaws.shield#InternalErrorException":
1443
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1443
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1444
1444
  case "InvalidPaginationTokenException":
1445
1445
  case "com.amazonaws.shield#InvalidPaginationTokenException":
1446
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
1446
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
1447
1447
  case "ResourceNotFoundException":
1448
1448
  case "com.amazonaws.shield#ResourceNotFoundException":
1449
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1449
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1450
1450
  default:
1451
1451
  const parsedBody = parsedOutput.body;
1452
1452
  throwDefaultError({
@@ -1457,20 +1457,20 @@ const deserializeAws_json1_1ListProtectionGroupsCommandError = async (output, co
1457
1457
  });
1458
1458
  }
1459
1459
  };
1460
- export const deserializeAws_json1_1ListProtectionsCommand = async (output, context) => {
1460
+ export const de_ListProtectionsCommand = async (output, context) => {
1461
1461
  if (output.statusCode >= 300) {
1462
- return deserializeAws_json1_1ListProtectionsCommandError(output, context);
1462
+ return de_ListProtectionsCommandError(output, context);
1463
1463
  }
1464
1464
  const data = await parseBody(output.body, context);
1465
1465
  let contents = {};
1466
- contents = deserializeAws_json1_1ListProtectionsResponse(data, context);
1466
+ contents = de_ListProtectionsResponse(data, context);
1467
1467
  const response = {
1468
1468
  $metadata: deserializeMetadata(output),
1469
1469
  ...contents,
1470
1470
  };
1471
1471
  return Promise.resolve(response);
1472
1472
  };
1473
- const deserializeAws_json1_1ListProtectionsCommandError = async (output, context) => {
1473
+ const de_ListProtectionsCommandError = async (output, context) => {
1474
1474
  const parsedOutput = {
1475
1475
  ...output,
1476
1476
  body: await parseErrorBody(output.body, context),
@@ -1479,13 +1479,13 @@ const deserializeAws_json1_1ListProtectionsCommandError = async (output, context
1479
1479
  switch (errorCode) {
1480
1480
  case "InternalErrorException":
1481
1481
  case "com.amazonaws.shield#InternalErrorException":
1482
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1482
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1483
1483
  case "InvalidPaginationTokenException":
1484
1484
  case "com.amazonaws.shield#InvalidPaginationTokenException":
1485
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
1485
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
1486
1486
  case "ResourceNotFoundException":
1487
1487
  case "com.amazonaws.shield#ResourceNotFoundException":
1488
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1488
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1489
1489
  default:
1490
1490
  const parsedBody = parsedOutput.body;
1491
1491
  throwDefaultError({
@@ -1496,20 +1496,20 @@ const deserializeAws_json1_1ListProtectionsCommandError = async (output, context
1496
1496
  });
1497
1497
  }
1498
1498
  };
1499
- export const deserializeAws_json1_1ListResourcesInProtectionGroupCommand = async (output, context) => {
1499
+ export const de_ListResourcesInProtectionGroupCommand = async (output, context) => {
1500
1500
  if (output.statusCode >= 300) {
1501
- return deserializeAws_json1_1ListResourcesInProtectionGroupCommandError(output, context);
1501
+ return de_ListResourcesInProtectionGroupCommandError(output, context);
1502
1502
  }
1503
1503
  const data = await parseBody(output.body, context);
1504
1504
  let contents = {};
1505
- contents = deserializeAws_json1_1ListResourcesInProtectionGroupResponse(data, context);
1505
+ contents = de_ListResourcesInProtectionGroupResponse(data, context);
1506
1506
  const response = {
1507
1507
  $metadata: deserializeMetadata(output),
1508
1508
  ...contents,
1509
1509
  };
1510
1510
  return Promise.resolve(response);
1511
1511
  };
1512
- const deserializeAws_json1_1ListResourcesInProtectionGroupCommandError = async (output, context) => {
1512
+ const de_ListResourcesInProtectionGroupCommandError = async (output, context) => {
1513
1513
  const parsedOutput = {
1514
1514
  ...output,
1515
1515
  body: await parseErrorBody(output.body, context),
@@ -1518,13 +1518,13 @@ const deserializeAws_json1_1ListResourcesInProtectionGroupCommandError = async (
1518
1518
  switch (errorCode) {
1519
1519
  case "InternalErrorException":
1520
1520
  case "com.amazonaws.shield#InternalErrorException":
1521
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1521
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1522
1522
  case "InvalidPaginationTokenException":
1523
1523
  case "com.amazonaws.shield#InvalidPaginationTokenException":
1524
- throw await deserializeAws_json1_1InvalidPaginationTokenExceptionResponse(parsedOutput, context);
1524
+ throw await de_InvalidPaginationTokenExceptionRes(parsedOutput, context);
1525
1525
  case "ResourceNotFoundException":
1526
1526
  case "com.amazonaws.shield#ResourceNotFoundException":
1527
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1527
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1528
1528
  default:
1529
1529
  const parsedBody = parsedOutput.body;
1530
1530
  throwDefaultError({
@@ -1535,20 +1535,20 @@ const deserializeAws_json1_1ListResourcesInProtectionGroupCommandError = async (
1535
1535
  });
1536
1536
  }
1537
1537
  };
1538
- export const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
1538
+ export const de_ListTagsForResourceCommand = async (output, context) => {
1539
1539
  if (output.statusCode >= 300) {
1540
- return deserializeAws_json1_1ListTagsForResourceCommandError(output, context);
1540
+ return de_ListTagsForResourceCommandError(output, context);
1541
1541
  }
1542
1542
  const data = await parseBody(output.body, context);
1543
1543
  let contents = {};
1544
- contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
1544
+ contents = de_ListTagsForResourceResponse(data, context);
1545
1545
  const response = {
1546
1546
  $metadata: deserializeMetadata(output),
1547
1547
  ...contents,
1548
1548
  };
1549
1549
  return Promise.resolve(response);
1550
1550
  };
1551
- const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
1551
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1552
1552
  const parsedOutput = {
1553
1553
  ...output,
1554
1554
  body: await parseErrorBody(output.body, context),
@@ -1557,13 +1557,13 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1557
1557
  switch (errorCode) {
1558
1558
  case "InternalErrorException":
1559
1559
  case "com.amazonaws.shield#InternalErrorException":
1560
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1560
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1561
1561
  case "InvalidResourceException":
1562
1562
  case "com.amazonaws.shield#InvalidResourceException":
1563
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1563
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1564
1564
  case "ResourceNotFoundException":
1565
1565
  case "com.amazonaws.shield#ResourceNotFoundException":
1566
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1566
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1567
1567
  default:
1568
1568
  const parsedBody = parsedOutput.body;
1569
1569
  throwDefaultError({
@@ -1574,20 +1574,20 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1574
1574
  });
1575
1575
  }
1576
1576
  };
1577
- export const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
1577
+ export const de_TagResourceCommand = async (output, context) => {
1578
1578
  if (output.statusCode >= 300) {
1579
- return deserializeAws_json1_1TagResourceCommandError(output, context);
1579
+ return de_TagResourceCommandError(output, context);
1580
1580
  }
1581
1581
  const data = await parseBody(output.body, context);
1582
1582
  let contents = {};
1583
- contents = deserializeAws_json1_1TagResourceResponse(data, context);
1583
+ contents = de_TagResourceResponse(data, context);
1584
1584
  const response = {
1585
1585
  $metadata: deserializeMetadata(output),
1586
1586
  ...contents,
1587
1587
  };
1588
1588
  return Promise.resolve(response);
1589
1589
  };
1590
- const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
1590
+ const de_TagResourceCommandError = async (output, context) => {
1591
1591
  const parsedOutput = {
1592
1592
  ...output,
1593
1593
  body: await parseErrorBody(output.body, context),
@@ -1596,16 +1596,16 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1596
1596
  switch (errorCode) {
1597
1597
  case "InternalErrorException":
1598
1598
  case "com.amazonaws.shield#InternalErrorException":
1599
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1599
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1600
1600
  case "InvalidParameterException":
1601
1601
  case "com.amazonaws.shield#InvalidParameterException":
1602
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1602
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1603
1603
  case "InvalidResourceException":
1604
1604
  case "com.amazonaws.shield#InvalidResourceException":
1605
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1605
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1606
1606
  case "ResourceNotFoundException":
1607
1607
  case "com.amazonaws.shield#ResourceNotFoundException":
1608
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1608
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1609
1609
  default:
1610
1610
  const parsedBody = parsedOutput.body;
1611
1611
  throwDefaultError({
@@ -1616,20 +1616,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
1616
1616
  });
1617
1617
  }
1618
1618
  };
1619
- export const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
1619
+ export const de_UntagResourceCommand = async (output, context) => {
1620
1620
  if (output.statusCode >= 300) {
1621
- return deserializeAws_json1_1UntagResourceCommandError(output, context);
1621
+ return de_UntagResourceCommandError(output, context);
1622
1622
  }
1623
1623
  const data = await parseBody(output.body, context);
1624
1624
  let contents = {};
1625
- contents = deserializeAws_json1_1UntagResourceResponse(data, context);
1625
+ contents = de_UntagResourceResponse(data, context);
1626
1626
  const response = {
1627
1627
  $metadata: deserializeMetadata(output),
1628
1628
  ...contents,
1629
1629
  };
1630
1630
  return Promise.resolve(response);
1631
1631
  };
1632
- const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
1632
+ const de_UntagResourceCommandError = async (output, context) => {
1633
1633
  const parsedOutput = {
1634
1634
  ...output,
1635
1635
  body: await parseErrorBody(output.body, context),
@@ -1638,16 +1638,16 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1638
1638
  switch (errorCode) {
1639
1639
  case "InternalErrorException":
1640
1640
  case "com.amazonaws.shield#InternalErrorException":
1641
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1641
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1642
1642
  case "InvalidParameterException":
1643
1643
  case "com.amazonaws.shield#InvalidParameterException":
1644
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1644
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1645
1645
  case "InvalidResourceException":
1646
1646
  case "com.amazonaws.shield#InvalidResourceException":
1647
- throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
1647
+ throw await de_InvalidResourceExceptionRes(parsedOutput, context);
1648
1648
  case "ResourceNotFoundException":
1649
1649
  case "com.amazonaws.shield#ResourceNotFoundException":
1650
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1650
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1651
1651
  default:
1652
1652
  const parsedBody = parsedOutput.body;
1653
1653
  throwDefaultError({
@@ -1658,20 +1658,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
1658
1658
  });
1659
1659
  }
1660
1660
  };
1661
- export const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand = async (output, context) => {
1661
+ export const de_UpdateApplicationLayerAutomaticResponseCommand = async (output, context) => {
1662
1662
  if (output.statusCode >= 300) {
1663
- return deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommandError(output, context);
1663
+ return de_UpdateApplicationLayerAutomaticResponseCommandError(output, context);
1664
1664
  }
1665
1665
  const data = await parseBody(output.body, context);
1666
1666
  let contents = {};
1667
- contents = deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseResponse(data, context);
1667
+ contents = de_UpdateApplicationLayerAutomaticResponseResponse(data, context);
1668
1668
  const response = {
1669
1669
  $metadata: deserializeMetadata(output),
1670
1670
  ...contents,
1671
1671
  };
1672
1672
  return Promise.resolve(response);
1673
1673
  };
1674
- const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1674
+ const de_UpdateApplicationLayerAutomaticResponseCommandError = async (output, context) => {
1675
1675
  const parsedOutput = {
1676
1676
  ...output,
1677
1677
  body: await parseErrorBody(output.body, context),
@@ -1680,19 +1680,19 @@ const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommandError
1680
1680
  switch (errorCode) {
1681
1681
  case "InternalErrorException":
1682
1682
  case "com.amazonaws.shield#InternalErrorException":
1683
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1683
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1684
1684
  case "InvalidOperationException":
1685
1685
  case "com.amazonaws.shield#InvalidOperationException":
1686
- throw await deserializeAws_json1_1InvalidOperationExceptionResponse(parsedOutput, context);
1686
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1687
1687
  case "InvalidParameterException":
1688
1688
  case "com.amazonaws.shield#InvalidParameterException":
1689
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1689
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1690
1690
  case "OptimisticLockException":
1691
1691
  case "com.amazonaws.shield#OptimisticLockException":
1692
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1692
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1693
1693
  case "ResourceNotFoundException":
1694
1694
  case "com.amazonaws.shield#ResourceNotFoundException":
1695
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1695
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1696
1696
  default:
1697
1697
  const parsedBody = parsedOutput.body;
1698
1698
  throwDefaultError({
@@ -1703,20 +1703,20 @@ const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommandError
1703
1703
  });
1704
1704
  }
1705
1705
  };
1706
- export const deserializeAws_json1_1UpdateEmergencyContactSettingsCommand = async (output, context) => {
1706
+ export const de_UpdateEmergencyContactSettingsCommand = async (output, context) => {
1707
1707
  if (output.statusCode >= 300) {
1708
- return deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError(output, context);
1708
+ return de_UpdateEmergencyContactSettingsCommandError(output, context);
1709
1709
  }
1710
1710
  const data = await parseBody(output.body, context);
1711
1711
  let contents = {};
1712
- contents = deserializeAws_json1_1UpdateEmergencyContactSettingsResponse(data, context);
1712
+ contents = de_UpdateEmergencyContactSettingsResponse(data, context);
1713
1713
  const response = {
1714
1714
  $metadata: deserializeMetadata(output),
1715
1715
  ...contents,
1716
1716
  };
1717
1717
  return Promise.resolve(response);
1718
1718
  };
1719
- const deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError = async (output, context) => {
1719
+ const de_UpdateEmergencyContactSettingsCommandError = async (output, context) => {
1720
1720
  const parsedOutput = {
1721
1721
  ...output,
1722
1722
  body: await parseErrorBody(output.body, context),
@@ -1725,16 +1725,16 @@ const deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError = async (
1725
1725
  switch (errorCode) {
1726
1726
  case "InternalErrorException":
1727
1727
  case "com.amazonaws.shield#InternalErrorException":
1728
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1728
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1729
1729
  case "InvalidParameterException":
1730
1730
  case "com.amazonaws.shield#InvalidParameterException":
1731
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1731
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1732
1732
  case "OptimisticLockException":
1733
1733
  case "com.amazonaws.shield#OptimisticLockException":
1734
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1734
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1735
1735
  case "ResourceNotFoundException":
1736
1736
  case "com.amazonaws.shield#ResourceNotFoundException":
1737
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1737
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1738
1738
  default:
1739
1739
  const parsedBody = parsedOutput.body;
1740
1740
  throwDefaultError({
@@ -1745,20 +1745,20 @@ const deserializeAws_json1_1UpdateEmergencyContactSettingsCommandError = async (
1745
1745
  });
1746
1746
  }
1747
1747
  };
1748
- export const deserializeAws_json1_1UpdateProtectionGroupCommand = async (output, context) => {
1748
+ export const de_UpdateProtectionGroupCommand = async (output, context) => {
1749
1749
  if (output.statusCode >= 300) {
1750
- return deserializeAws_json1_1UpdateProtectionGroupCommandError(output, context);
1750
+ return de_UpdateProtectionGroupCommandError(output, context);
1751
1751
  }
1752
1752
  const data = await parseBody(output.body, context);
1753
1753
  let contents = {};
1754
- contents = deserializeAws_json1_1UpdateProtectionGroupResponse(data, context);
1754
+ contents = de_UpdateProtectionGroupResponse(data, context);
1755
1755
  const response = {
1756
1756
  $metadata: deserializeMetadata(output),
1757
1757
  ...contents,
1758
1758
  };
1759
1759
  return Promise.resolve(response);
1760
1760
  };
1761
- const deserializeAws_json1_1UpdateProtectionGroupCommandError = async (output, context) => {
1761
+ const de_UpdateProtectionGroupCommandError = async (output, context) => {
1762
1762
  const parsedOutput = {
1763
1763
  ...output,
1764
1764
  body: await parseErrorBody(output.body, context),
@@ -1767,16 +1767,16 @@ const deserializeAws_json1_1UpdateProtectionGroupCommandError = async (output, c
1767
1767
  switch (errorCode) {
1768
1768
  case "InternalErrorException":
1769
1769
  case "com.amazonaws.shield#InternalErrorException":
1770
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1770
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1771
1771
  case "InvalidParameterException":
1772
1772
  case "com.amazonaws.shield#InvalidParameterException":
1773
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1773
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1774
1774
  case "OptimisticLockException":
1775
1775
  case "com.amazonaws.shield#OptimisticLockException":
1776
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1776
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1777
1777
  case "ResourceNotFoundException":
1778
1778
  case "com.amazonaws.shield#ResourceNotFoundException":
1779
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1779
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1780
1780
  default:
1781
1781
  const parsedBody = parsedOutput.body;
1782
1782
  throwDefaultError({
@@ -1787,20 +1787,20 @@ const deserializeAws_json1_1UpdateProtectionGroupCommandError = async (output, c
1787
1787
  });
1788
1788
  }
1789
1789
  };
1790
- export const deserializeAws_json1_1UpdateSubscriptionCommand = async (output, context) => {
1790
+ export const de_UpdateSubscriptionCommand = async (output, context) => {
1791
1791
  if (output.statusCode >= 300) {
1792
- return deserializeAws_json1_1UpdateSubscriptionCommandError(output, context);
1792
+ return de_UpdateSubscriptionCommandError(output, context);
1793
1793
  }
1794
1794
  const data = await parseBody(output.body, context);
1795
1795
  let contents = {};
1796
- contents = deserializeAws_json1_1UpdateSubscriptionResponse(data, context);
1796
+ contents = de_UpdateSubscriptionResponse(data, context);
1797
1797
  const response = {
1798
1798
  $metadata: deserializeMetadata(output),
1799
1799
  ...contents,
1800
1800
  };
1801
1801
  return Promise.resolve(response);
1802
1802
  };
1803
- const deserializeAws_json1_1UpdateSubscriptionCommandError = async (output, context) => {
1803
+ const de_UpdateSubscriptionCommandError = async (output, context) => {
1804
1804
  const parsedOutput = {
1805
1805
  ...output,
1806
1806
  body: await parseErrorBody(output.body, context),
@@ -1809,19 +1809,19 @@ const deserializeAws_json1_1UpdateSubscriptionCommandError = async (output, cont
1809
1809
  switch (errorCode) {
1810
1810
  case "InternalErrorException":
1811
1811
  case "com.amazonaws.shield#InternalErrorException":
1812
- throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
1812
+ throw await de_InternalErrorExceptionRes(parsedOutput, context);
1813
1813
  case "InvalidParameterException":
1814
1814
  case "com.amazonaws.shield#InvalidParameterException":
1815
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
1815
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1816
1816
  case "LockedSubscriptionException":
1817
1817
  case "com.amazonaws.shield#LockedSubscriptionException":
1818
- throw await deserializeAws_json1_1LockedSubscriptionExceptionResponse(parsedOutput, context);
1818
+ throw await de_LockedSubscriptionExceptionRes(parsedOutput, context);
1819
1819
  case "OptimisticLockException":
1820
1820
  case "com.amazonaws.shield#OptimisticLockException":
1821
- throw await deserializeAws_json1_1OptimisticLockExceptionResponse(parsedOutput, context);
1821
+ throw await de_OptimisticLockExceptionRes(parsedOutput, context);
1822
1822
  case "ResourceNotFoundException":
1823
1823
  case "com.amazonaws.shield#ResourceNotFoundException":
1824
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1824
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1825
1825
  default:
1826
1826
  const parsedBody = parsedOutput.body;
1827
1827
  throwDefaultError({
@@ -1832,717 +1832,689 @@ const deserializeAws_json1_1UpdateSubscriptionCommandError = async (output, cont
1832
1832
  });
1833
1833
  }
1834
1834
  };
1835
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1835
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1836
1836
  const body = parsedOutput.body;
1837
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
1837
+ const deserialized = de_AccessDeniedException(body, context);
1838
1838
  const exception = new AccessDeniedException({
1839
1839
  $metadata: deserializeMetadata(parsedOutput),
1840
1840
  ...deserialized,
1841
1841
  });
1842
1842
  return __decorateServiceException(exception, body);
1843
1843
  };
1844
- const deserializeAws_json1_1AccessDeniedForDependencyExceptionResponse = async (parsedOutput, context) => {
1844
+ const de_AccessDeniedForDependencyExceptionRes = async (parsedOutput, context) => {
1845
1845
  const body = parsedOutput.body;
1846
- const deserialized = deserializeAws_json1_1AccessDeniedForDependencyException(body, context);
1846
+ const deserialized = de_AccessDeniedForDependencyException(body, context);
1847
1847
  const exception = new AccessDeniedForDependencyException({
1848
1848
  $metadata: deserializeMetadata(parsedOutput),
1849
1849
  ...deserialized,
1850
1850
  });
1851
1851
  return __decorateServiceException(exception, body);
1852
1852
  };
1853
- const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput, context) => {
1853
+ const de_InternalErrorExceptionRes = async (parsedOutput, context) => {
1854
1854
  const body = parsedOutput.body;
1855
- const deserialized = deserializeAws_json1_1InternalErrorException(body, context);
1855
+ const deserialized = de_InternalErrorException(body, context);
1856
1856
  const exception = new InternalErrorException({
1857
1857
  $metadata: deserializeMetadata(parsedOutput),
1858
1858
  ...deserialized,
1859
1859
  });
1860
1860
  return __decorateServiceException(exception, body);
1861
1861
  };
1862
- const deserializeAws_json1_1InvalidOperationExceptionResponse = async (parsedOutput, context) => {
1862
+ const de_InvalidOperationExceptionRes = async (parsedOutput, context) => {
1863
1863
  const body = parsedOutput.body;
1864
- const deserialized = deserializeAws_json1_1InvalidOperationException(body, context);
1864
+ const deserialized = de_InvalidOperationException(body, context);
1865
1865
  const exception = new InvalidOperationException({
1866
1866
  $metadata: deserializeMetadata(parsedOutput),
1867
1867
  ...deserialized,
1868
1868
  });
1869
1869
  return __decorateServiceException(exception, body);
1870
1870
  };
1871
- const deserializeAws_json1_1InvalidPaginationTokenExceptionResponse = async (parsedOutput, context) => {
1871
+ const de_InvalidPaginationTokenExceptionRes = async (parsedOutput, context) => {
1872
1872
  const body = parsedOutput.body;
1873
- const deserialized = deserializeAws_json1_1InvalidPaginationTokenException(body, context);
1873
+ const deserialized = de_InvalidPaginationTokenException(body, context);
1874
1874
  const exception = new InvalidPaginationTokenException({
1875
1875
  $metadata: deserializeMetadata(parsedOutput),
1876
1876
  ...deserialized,
1877
1877
  });
1878
1878
  return __decorateServiceException(exception, body);
1879
1879
  };
1880
- const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
1880
+ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1881
1881
  const body = parsedOutput.body;
1882
- const deserialized = deserializeAws_json1_1InvalidParameterException(body, context);
1882
+ const deserialized = de_InvalidParameterException(body, context);
1883
1883
  const exception = new InvalidParameterException({
1884
1884
  $metadata: deserializeMetadata(parsedOutput),
1885
1885
  ...deserialized,
1886
1886
  });
1887
1887
  return __decorateServiceException(exception, body);
1888
1888
  };
1889
- const deserializeAws_json1_1InvalidResourceExceptionResponse = async (parsedOutput, context) => {
1889
+ const de_InvalidResourceExceptionRes = async (parsedOutput, context) => {
1890
1890
  const body = parsedOutput.body;
1891
- const deserialized = deserializeAws_json1_1InvalidResourceException(body, context);
1891
+ const deserialized = de_InvalidResourceException(body, context);
1892
1892
  const exception = new InvalidResourceException({
1893
1893
  $metadata: deserializeMetadata(parsedOutput),
1894
1894
  ...deserialized,
1895
1895
  });
1896
1896
  return __decorateServiceException(exception, body);
1897
1897
  };
1898
- const deserializeAws_json1_1LimitsExceededExceptionResponse = async (parsedOutput, context) => {
1898
+ const de_LimitsExceededExceptionRes = async (parsedOutput, context) => {
1899
1899
  const body = parsedOutput.body;
1900
- const deserialized = deserializeAws_json1_1LimitsExceededException(body, context);
1900
+ const deserialized = de_LimitsExceededException(body, context);
1901
1901
  const exception = new LimitsExceededException({
1902
1902
  $metadata: deserializeMetadata(parsedOutput),
1903
1903
  ...deserialized,
1904
1904
  });
1905
1905
  return __decorateServiceException(exception, body);
1906
1906
  };
1907
- const deserializeAws_json1_1LockedSubscriptionExceptionResponse = async (parsedOutput, context) => {
1907
+ const de_LockedSubscriptionExceptionRes = async (parsedOutput, context) => {
1908
1908
  const body = parsedOutput.body;
1909
- const deserialized = deserializeAws_json1_1LockedSubscriptionException(body, context);
1909
+ const deserialized = de_LockedSubscriptionException(body, context);
1910
1910
  const exception = new LockedSubscriptionException({
1911
1911
  $metadata: deserializeMetadata(parsedOutput),
1912
1912
  ...deserialized,
1913
1913
  });
1914
1914
  return __decorateServiceException(exception, body);
1915
1915
  };
1916
- const deserializeAws_json1_1NoAssociatedRoleExceptionResponse = async (parsedOutput, context) => {
1916
+ const de_NoAssociatedRoleExceptionRes = async (parsedOutput, context) => {
1917
1917
  const body = parsedOutput.body;
1918
- const deserialized = deserializeAws_json1_1NoAssociatedRoleException(body, context);
1918
+ const deserialized = de_NoAssociatedRoleException(body, context);
1919
1919
  const exception = new NoAssociatedRoleException({
1920
1920
  $metadata: deserializeMetadata(parsedOutput),
1921
1921
  ...deserialized,
1922
1922
  });
1923
1923
  return __decorateServiceException(exception, body);
1924
1924
  };
1925
- const deserializeAws_json1_1OptimisticLockExceptionResponse = async (parsedOutput, context) => {
1925
+ const de_OptimisticLockExceptionRes = async (parsedOutput, context) => {
1926
1926
  const body = parsedOutput.body;
1927
- const deserialized = deserializeAws_json1_1OptimisticLockException(body, context);
1927
+ const deserialized = de_OptimisticLockException(body, context);
1928
1928
  const exception = new OptimisticLockException({
1929
1929
  $metadata: deserializeMetadata(parsedOutput),
1930
1930
  ...deserialized,
1931
1931
  });
1932
1932
  return __decorateServiceException(exception, body);
1933
1933
  };
1934
- const deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1934
+ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1935
1935
  const body = parsedOutput.body;
1936
- const deserialized = deserializeAws_json1_1ResourceAlreadyExistsException(body, context);
1936
+ const deserialized = de_ResourceAlreadyExistsException(body, context);
1937
1937
  const exception = new ResourceAlreadyExistsException({
1938
1938
  $metadata: deserializeMetadata(parsedOutput),
1939
1939
  ...deserialized,
1940
1940
  });
1941
1941
  return __decorateServiceException(exception, body);
1942
1942
  };
1943
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1943
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1944
1944
  const body = parsedOutput.body;
1945
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
1945
+ const deserialized = de_ResourceNotFoundException(body, context);
1946
1946
  const exception = new ResourceNotFoundException({
1947
1947
  $metadata: deserializeMetadata(parsedOutput),
1948
1948
  ...deserialized,
1949
1949
  });
1950
1950
  return __decorateServiceException(exception, body);
1951
1951
  };
1952
- const serializeAws_json1_1AssociateDRTLogBucketRequest = (input, context) => {
1952
+ const se_AssociateDRTLogBucketRequest = (input, context) => {
1953
1953
  return {
1954
1954
  ...(input.LogBucket != null && { LogBucket: input.LogBucket }),
1955
1955
  };
1956
1956
  };
1957
- const serializeAws_json1_1AssociateDRTRoleRequest = (input, context) => {
1957
+ const se_AssociateDRTRoleRequest = (input, context) => {
1958
1958
  return {
1959
1959
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
1960
1960
  };
1961
1961
  };
1962
- const serializeAws_json1_1AssociateHealthCheckRequest = (input, context) => {
1962
+ const se_AssociateHealthCheckRequest = (input, context) => {
1963
1963
  return {
1964
1964
  ...(input.HealthCheckArn != null && { HealthCheckArn: input.HealthCheckArn }),
1965
1965
  ...(input.ProtectionId != null && { ProtectionId: input.ProtectionId }),
1966
1966
  };
1967
1967
  };
1968
- const serializeAws_json1_1AssociateProactiveEngagementDetailsRequest = (input, context) => {
1968
+ const se_AssociateProactiveEngagementDetailsRequest = (input, context) => {
1969
1969
  return {
1970
1970
  ...(input.EmergencyContactList != null && {
1971
- EmergencyContactList: serializeAws_json1_1EmergencyContactList(input.EmergencyContactList, context),
1971
+ EmergencyContactList: se_EmergencyContactList(input.EmergencyContactList, context),
1972
1972
  }),
1973
1973
  };
1974
1974
  };
1975
- const serializeAws_json1_1BlockAction = (input, context) => {
1975
+ const se_BlockAction = (input, context) => {
1976
1976
  return {};
1977
1977
  };
1978
- const serializeAws_json1_1CountAction = (input, context) => {
1978
+ const se_CountAction = (input, context) => {
1979
1979
  return {};
1980
1980
  };
1981
- const serializeAws_json1_1CreateProtectionGroupRequest = (input, context) => {
1981
+ const se_CreateProtectionGroupRequest = (input, context) => {
1982
1982
  return {
1983
1983
  ...(input.Aggregation != null && { Aggregation: input.Aggregation }),
1984
- ...(input.Members != null && { Members: serializeAws_json1_1ProtectionGroupMembers(input.Members, context) }),
1984
+ ...(input.Members != null && { Members: se_ProtectionGroupMembers(input.Members, context) }),
1985
1985
  ...(input.Pattern != null && { Pattern: input.Pattern }),
1986
1986
  ...(input.ProtectionGroupId != null && { ProtectionGroupId: input.ProtectionGroupId }),
1987
1987
  ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
1988
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1988
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1989
1989
  };
1990
1990
  };
1991
- const serializeAws_json1_1CreateProtectionRequest = (input, context) => {
1991
+ const se_CreateProtectionRequest = (input, context) => {
1992
1992
  return {
1993
1993
  ...(input.Name != null && { Name: input.Name }),
1994
1994
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1995
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1995
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1996
1996
  };
1997
1997
  };
1998
- const serializeAws_json1_1CreateSubscriptionRequest = (input, context) => {
1998
+ const se_CreateSubscriptionRequest = (input, context) => {
1999
1999
  return {};
2000
2000
  };
2001
- const serializeAws_json1_1DeleteProtectionGroupRequest = (input, context) => {
2001
+ const se_DeleteProtectionGroupRequest = (input, context) => {
2002
2002
  return {
2003
2003
  ...(input.ProtectionGroupId != null && { ProtectionGroupId: input.ProtectionGroupId }),
2004
2004
  };
2005
2005
  };
2006
- const serializeAws_json1_1DeleteProtectionRequest = (input, context) => {
2006
+ const se_DeleteProtectionRequest = (input, context) => {
2007
2007
  return {
2008
2008
  ...(input.ProtectionId != null && { ProtectionId: input.ProtectionId }),
2009
2009
  };
2010
2010
  };
2011
- const serializeAws_json1_1DeleteSubscriptionRequest = (input, context) => {
2011
+ const se_DeleteSubscriptionRequest = (input, context) => {
2012
2012
  return {};
2013
2013
  };
2014
- const serializeAws_json1_1DescribeAttackRequest = (input, context) => {
2014
+ const se_DescribeAttackRequest = (input, context) => {
2015
2015
  return {
2016
2016
  ...(input.AttackId != null && { AttackId: input.AttackId }),
2017
2017
  };
2018
2018
  };
2019
- const serializeAws_json1_1DescribeAttackStatisticsRequest = (input, context) => {
2019
+ const se_DescribeAttackStatisticsRequest = (input, context) => {
2020
2020
  return {};
2021
2021
  };
2022
- const serializeAws_json1_1DescribeDRTAccessRequest = (input, context) => {
2022
+ const se_DescribeDRTAccessRequest = (input, context) => {
2023
2023
  return {};
2024
2024
  };
2025
- const serializeAws_json1_1DescribeEmergencyContactSettingsRequest = (input, context) => {
2025
+ const se_DescribeEmergencyContactSettingsRequest = (input, context) => {
2026
2026
  return {};
2027
2027
  };
2028
- const serializeAws_json1_1DescribeProtectionGroupRequest = (input, context) => {
2028
+ const se_DescribeProtectionGroupRequest = (input, context) => {
2029
2029
  return {
2030
2030
  ...(input.ProtectionGroupId != null && { ProtectionGroupId: input.ProtectionGroupId }),
2031
2031
  };
2032
2032
  };
2033
- const serializeAws_json1_1DescribeProtectionRequest = (input, context) => {
2033
+ const se_DescribeProtectionRequest = (input, context) => {
2034
2034
  return {
2035
2035
  ...(input.ProtectionId != null && { ProtectionId: input.ProtectionId }),
2036
2036
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
2037
2037
  };
2038
2038
  };
2039
- const serializeAws_json1_1DescribeSubscriptionRequest = (input, context) => {
2039
+ const se_DescribeSubscriptionRequest = (input, context) => {
2040
2040
  return {};
2041
2041
  };
2042
- const serializeAws_json1_1DisableApplicationLayerAutomaticResponseRequest = (input, context) => {
2042
+ const se_DisableApplicationLayerAutomaticResponseRequest = (input, context) => {
2043
2043
  return {
2044
2044
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
2045
2045
  };
2046
2046
  };
2047
- const serializeAws_json1_1DisableProactiveEngagementRequest = (input, context) => {
2047
+ const se_DisableProactiveEngagementRequest = (input, context) => {
2048
2048
  return {};
2049
2049
  };
2050
- const serializeAws_json1_1DisassociateDRTLogBucketRequest = (input, context) => {
2050
+ const se_DisassociateDRTLogBucketRequest = (input, context) => {
2051
2051
  return {
2052
2052
  ...(input.LogBucket != null && { LogBucket: input.LogBucket }),
2053
2053
  };
2054
2054
  };
2055
- const serializeAws_json1_1DisassociateDRTRoleRequest = (input, context) => {
2055
+ const se_DisassociateDRTRoleRequest = (input, context) => {
2056
2056
  return {};
2057
2057
  };
2058
- const serializeAws_json1_1DisassociateHealthCheckRequest = (input, context) => {
2058
+ const se_DisassociateHealthCheckRequest = (input, context) => {
2059
2059
  return {
2060
2060
  ...(input.HealthCheckArn != null && { HealthCheckArn: input.HealthCheckArn }),
2061
2061
  ...(input.ProtectionId != null && { ProtectionId: input.ProtectionId }),
2062
2062
  };
2063
2063
  };
2064
- const serializeAws_json1_1EmergencyContact = (input, context) => {
2064
+ const se_EmergencyContact = (input, context) => {
2065
2065
  return {
2066
2066
  ...(input.ContactNotes != null && { ContactNotes: input.ContactNotes }),
2067
2067
  ...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
2068
2068
  ...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
2069
2069
  };
2070
2070
  };
2071
- const serializeAws_json1_1EmergencyContactList = (input, context) => {
2071
+ const se_EmergencyContactList = (input, context) => {
2072
2072
  return input
2073
2073
  .filter((e) => e != null)
2074
2074
  .map((entry) => {
2075
- return serializeAws_json1_1EmergencyContact(entry, context);
2075
+ return se_EmergencyContact(entry, context);
2076
2076
  });
2077
2077
  };
2078
- const serializeAws_json1_1EnableApplicationLayerAutomaticResponseRequest = (input, context) => {
2078
+ const se_EnableApplicationLayerAutomaticResponseRequest = (input, context) => {
2079
2079
  return {
2080
- ...(input.Action != null && { Action: serializeAws_json1_1ResponseAction(input.Action, context) }),
2080
+ ...(input.Action != null && { Action: se_ResponseAction(input.Action, context) }),
2081
2081
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
2082
2082
  };
2083
2083
  };
2084
- const serializeAws_json1_1EnableProactiveEngagementRequest = (input, context) => {
2084
+ const se_EnableProactiveEngagementRequest = (input, context) => {
2085
2085
  return {};
2086
2086
  };
2087
- const serializeAws_json1_1GetSubscriptionStateRequest = (input, context) => {
2087
+ const se_GetSubscriptionStateRequest = (input, context) => {
2088
2088
  return {};
2089
2089
  };
2090
- const serializeAws_json1_1InclusionProtectionFilters = (input, context) => {
2090
+ const se_InclusionProtectionFilters = (input, context) => {
2091
2091
  return {
2092
- ...(input.ProtectionNames != null && {
2093
- ProtectionNames: serializeAws_json1_1ProtectionNameFilters(input.ProtectionNames, context),
2094
- }),
2095
- ...(input.ResourceArns != null && {
2096
- ResourceArns: serializeAws_json1_1ResourceArnFilters(input.ResourceArns, context),
2097
- }),
2092
+ ...(input.ProtectionNames != null && { ProtectionNames: se_ProtectionNameFilters(input.ProtectionNames, context) }),
2093
+ ...(input.ResourceArns != null && { ResourceArns: se_ResourceArnFilters(input.ResourceArns, context) }),
2098
2094
  ...(input.ResourceTypes != null && {
2099
- ResourceTypes: serializeAws_json1_1ProtectedResourceTypeFilters(input.ResourceTypes, context),
2095
+ ResourceTypes: se_ProtectedResourceTypeFilters(input.ResourceTypes, context),
2100
2096
  }),
2101
2097
  };
2102
2098
  };
2103
- const serializeAws_json1_1InclusionProtectionGroupFilters = (input, context) => {
2099
+ const se_InclusionProtectionGroupFilters = (input, context) => {
2104
2100
  return {
2105
2101
  ...(input.Aggregations != null && {
2106
- Aggregations: serializeAws_json1_1ProtectionGroupAggregationFilters(input.Aggregations, context),
2107
- }),
2108
- ...(input.Patterns != null && {
2109
- Patterns: serializeAws_json1_1ProtectionGroupPatternFilters(input.Patterns, context),
2102
+ Aggregations: se_ProtectionGroupAggregationFilters(input.Aggregations, context),
2110
2103
  }),
2104
+ ...(input.Patterns != null && { Patterns: se_ProtectionGroupPatternFilters(input.Patterns, context) }),
2111
2105
  ...(input.ProtectionGroupIds != null && {
2112
- ProtectionGroupIds: serializeAws_json1_1ProtectionGroupIdFilters(input.ProtectionGroupIds, context),
2106
+ ProtectionGroupIds: se_ProtectionGroupIdFilters(input.ProtectionGroupIds, context),
2113
2107
  }),
2114
2108
  ...(input.ResourceTypes != null && {
2115
- ResourceTypes: serializeAws_json1_1ProtectedResourceTypeFilters(input.ResourceTypes, context),
2109
+ ResourceTypes: se_ProtectedResourceTypeFilters(input.ResourceTypes, context),
2116
2110
  }),
2117
2111
  };
2118
2112
  };
2119
- const serializeAws_json1_1ListAttacksRequest = (input, context) => {
2113
+ const se_ListAttacksRequest = (input, context) => {
2120
2114
  return {
2121
- ...(input.EndTime != null && { EndTime: serializeAws_json1_1TimeRange(input.EndTime, context) }),
2115
+ ...(input.EndTime != null && { EndTime: se_TimeRange(input.EndTime, context) }),
2122
2116
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2123
2117
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2124
- ...(input.ResourceArns != null && {
2125
- ResourceArns: serializeAws_json1_1ResourceArnFilterList(input.ResourceArns, context),
2126
- }),
2127
- ...(input.StartTime != null && { StartTime: serializeAws_json1_1TimeRange(input.StartTime, context) }),
2118
+ ...(input.ResourceArns != null && { ResourceArns: se_ResourceArnFilterList(input.ResourceArns, context) }),
2119
+ ...(input.StartTime != null && { StartTime: se_TimeRange(input.StartTime, context) }),
2128
2120
  };
2129
2121
  };
2130
- const serializeAws_json1_1ListProtectionGroupsRequest = (input, context) => {
2122
+ const se_ListProtectionGroupsRequest = (input, context) => {
2131
2123
  return {
2132
2124
  ...(input.InclusionFilters != null && {
2133
- InclusionFilters: serializeAws_json1_1InclusionProtectionGroupFilters(input.InclusionFilters, context),
2125
+ InclusionFilters: se_InclusionProtectionGroupFilters(input.InclusionFilters, context),
2134
2126
  }),
2135
2127
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2136
2128
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2137
2129
  };
2138
2130
  };
2139
- const serializeAws_json1_1ListProtectionsRequest = (input, context) => {
2131
+ const se_ListProtectionsRequest = (input, context) => {
2140
2132
  return {
2141
2133
  ...(input.InclusionFilters != null && {
2142
- InclusionFilters: serializeAws_json1_1InclusionProtectionFilters(input.InclusionFilters, context),
2134
+ InclusionFilters: se_InclusionProtectionFilters(input.InclusionFilters, context),
2143
2135
  }),
2144
2136
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2145
2137
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2146
2138
  };
2147
2139
  };
2148
- const serializeAws_json1_1ListResourcesInProtectionGroupRequest = (input, context) => {
2140
+ const se_ListResourcesInProtectionGroupRequest = (input, context) => {
2149
2141
  return {
2150
2142
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2151
2143
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2152
2144
  ...(input.ProtectionGroupId != null && { ProtectionGroupId: input.ProtectionGroupId }),
2153
2145
  };
2154
2146
  };
2155
- const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
2147
+ const se_ListTagsForResourceRequest = (input, context) => {
2156
2148
  return {
2157
2149
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2158
2150
  };
2159
2151
  };
2160
- const serializeAws_json1_1ProtectedResourceTypeFilters = (input, context) => {
2152
+ const se_ProtectedResourceTypeFilters = (input, context) => {
2161
2153
  return input
2162
2154
  .filter((e) => e != null)
2163
2155
  .map((entry) => {
2164
2156
  return entry;
2165
2157
  });
2166
2158
  };
2167
- const serializeAws_json1_1ProtectionGroupAggregationFilters = (input, context) => {
2159
+ const se_ProtectionGroupAggregationFilters = (input, context) => {
2168
2160
  return input
2169
2161
  .filter((e) => e != null)
2170
2162
  .map((entry) => {
2171
2163
  return entry;
2172
2164
  });
2173
2165
  };
2174
- const serializeAws_json1_1ProtectionGroupIdFilters = (input, context) => {
2166
+ const se_ProtectionGroupIdFilters = (input, context) => {
2175
2167
  return input
2176
2168
  .filter((e) => e != null)
2177
2169
  .map((entry) => {
2178
2170
  return entry;
2179
2171
  });
2180
2172
  };
2181
- const serializeAws_json1_1ProtectionGroupMembers = (input, context) => {
2173
+ const se_ProtectionGroupMembers = (input, context) => {
2182
2174
  return input
2183
2175
  .filter((e) => e != null)
2184
2176
  .map((entry) => {
2185
2177
  return entry;
2186
2178
  });
2187
2179
  };
2188
- const serializeAws_json1_1ProtectionGroupPatternFilters = (input, context) => {
2180
+ const se_ProtectionGroupPatternFilters = (input, context) => {
2189
2181
  return input
2190
2182
  .filter((e) => e != null)
2191
2183
  .map((entry) => {
2192
2184
  return entry;
2193
2185
  });
2194
2186
  };
2195
- const serializeAws_json1_1ProtectionNameFilters = (input, context) => {
2187
+ const se_ProtectionNameFilters = (input, context) => {
2196
2188
  return input
2197
2189
  .filter((e) => e != null)
2198
2190
  .map((entry) => {
2199
2191
  return entry;
2200
2192
  });
2201
2193
  };
2202
- const serializeAws_json1_1ResourceArnFilterList = (input, context) => {
2194
+ const se_ResourceArnFilterList = (input, context) => {
2203
2195
  return input
2204
2196
  .filter((e) => e != null)
2205
2197
  .map((entry) => {
2206
2198
  return entry;
2207
2199
  });
2208
2200
  };
2209
- const serializeAws_json1_1ResourceArnFilters = (input, context) => {
2201
+ const se_ResourceArnFilters = (input, context) => {
2210
2202
  return input
2211
2203
  .filter((e) => e != null)
2212
2204
  .map((entry) => {
2213
2205
  return entry;
2214
2206
  });
2215
2207
  };
2216
- const serializeAws_json1_1ResponseAction = (input, context) => {
2208
+ const se_ResponseAction = (input, context) => {
2217
2209
  return {
2218
- ...(input.Block != null && { Block: serializeAws_json1_1BlockAction(input.Block, context) }),
2219
- ...(input.Count != null && { Count: serializeAws_json1_1CountAction(input.Count, context) }),
2210
+ ...(input.Block != null && { Block: se_BlockAction(input.Block, context) }),
2211
+ ...(input.Count != null && { Count: se_CountAction(input.Count, context) }),
2220
2212
  };
2221
2213
  };
2222
- const serializeAws_json1_1Tag = (input, context) => {
2214
+ const se_Tag = (input, context) => {
2223
2215
  return {
2224
2216
  ...(input.Key != null && { Key: input.Key }),
2225
2217
  ...(input.Value != null && { Value: input.Value }),
2226
2218
  };
2227
2219
  };
2228
- const serializeAws_json1_1TagKeyList = (input, context) => {
2220
+ const se_TagKeyList = (input, context) => {
2229
2221
  return input
2230
2222
  .filter((e) => e != null)
2231
2223
  .map((entry) => {
2232
2224
  return entry;
2233
2225
  });
2234
2226
  };
2235
- const serializeAws_json1_1TagList = (input, context) => {
2227
+ const se_TagList = (input, context) => {
2236
2228
  return input
2237
2229
  .filter((e) => e != null)
2238
2230
  .map((entry) => {
2239
- return serializeAws_json1_1Tag(entry, context);
2231
+ return se_Tag(entry, context);
2240
2232
  });
2241
2233
  };
2242
- const serializeAws_json1_1TagResourceRequest = (input, context) => {
2234
+ const se_TagResourceRequest = (input, context) => {
2243
2235
  return {
2244
2236
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2245
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
2237
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
2246
2238
  };
2247
2239
  };
2248
- const serializeAws_json1_1TimeRange = (input, context) => {
2240
+ const se_TimeRange = (input, context) => {
2249
2241
  return {
2250
2242
  ...(input.FromInclusive != null && { FromInclusive: Math.round(input.FromInclusive.getTime() / 1000) }),
2251
2243
  ...(input.ToExclusive != null && { ToExclusive: Math.round(input.ToExclusive.getTime() / 1000) }),
2252
2244
  };
2253
2245
  };
2254
- const serializeAws_json1_1UntagResourceRequest = (input, context) => {
2246
+ const se_UntagResourceRequest = (input, context) => {
2255
2247
  return {
2256
2248
  ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
2257
- ...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
2249
+ ...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
2258
2250
  };
2259
2251
  };
2260
- const serializeAws_json1_1UpdateApplicationLayerAutomaticResponseRequest = (input, context) => {
2252
+ const se_UpdateApplicationLayerAutomaticResponseRequest = (input, context) => {
2261
2253
  return {
2262
- ...(input.Action != null && { Action: serializeAws_json1_1ResponseAction(input.Action, context) }),
2254
+ ...(input.Action != null && { Action: se_ResponseAction(input.Action, context) }),
2263
2255
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
2264
2256
  };
2265
2257
  };
2266
- const serializeAws_json1_1UpdateEmergencyContactSettingsRequest = (input, context) => {
2258
+ const se_UpdateEmergencyContactSettingsRequest = (input, context) => {
2267
2259
  return {
2268
2260
  ...(input.EmergencyContactList != null && {
2269
- EmergencyContactList: serializeAws_json1_1EmergencyContactList(input.EmergencyContactList, context),
2261
+ EmergencyContactList: se_EmergencyContactList(input.EmergencyContactList, context),
2270
2262
  }),
2271
2263
  };
2272
2264
  };
2273
- const serializeAws_json1_1UpdateProtectionGroupRequest = (input, context) => {
2265
+ const se_UpdateProtectionGroupRequest = (input, context) => {
2274
2266
  return {
2275
2267
  ...(input.Aggregation != null && { Aggregation: input.Aggregation }),
2276
- ...(input.Members != null && { Members: serializeAws_json1_1ProtectionGroupMembers(input.Members, context) }),
2268
+ ...(input.Members != null && { Members: se_ProtectionGroupMembers(input.Members, context) }),
2277
2269
  ...(input.Pattern != null && { Pattern: input.Pattern }),
2278
2270
  ...(input.ProtectionGroupId != null && { ProtectionGroupId: input.ProtectionGroupId }),
2279
2271
  ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
2280
2272
  };
2281
2273
  };
2282
- const serializeAws_json1_1UpdateSubscriptionRequest = (input, context) => {
2274
+ const se_UpdateSubscriptionRequest = (input, context) => {
2283
2275
  return {
2284
2276
  ...(input.AutoRenew != null && { AutoRenew: input.AutoRenew }),
2285
2277
  };
2286
2278
  };
2287
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
2279
+ const de_AccessDeniedException = (output, context) => {
2288
2280
  return {
2289
2281
  message: __expectString(output.message),
2290
2282
  };
2291
2283
  };
2292
- const deserializeAws_json1_1AccessDeniedForDependencyException = (output, context) => {
2284
+ const de_AccessDeniedForDependencyException = (output, context) => {
2293
2285
  return {
2294
2286
  message: __expectString(output.message),
2295
2287
  };
2296
2288
  };
2297
- const deserializeAws_json1_1ApplicationLayerAutomaticResponseConfiguration = (output, context) => {
2289
+ const de_ApplicationLayerAutomaticResponseConfiguration = (output, context) => {
2298
2290
  return {
2299
- Action: output.Action != null ? deserializeAws_json1_1ResponseAction(output.Action, context) : undefined,
2291
+ Action: output.Action != null ? de_ResponseAction(output.Action, context) : undefined,
2300
2292
  Status: __expectString(output.Status),
2301
2293
  };
2302
2294
  };
2303
- const deserializeAws_json1_1AssociateDRTLogBucketResponse = (output, context) => {
2295
+ const de_AssociateDRTLogBucketResponse = (output, context) => {
2304
2296
  return {};
2305
2297
  };
2306
- const deserializeAws_json1_1AssociateDRTRoleResponse = (output, context) => {
2298
+ const de_AssociateDRTRoleResponse = (output, context) => {
2307
2299
  return {};
2308
2300
  };
2309
- const deserializeAws_json1_1AssociateHealthCheckResponse = (output, context) => {
2301
+ const de_AssociateHealthCheckResponse = (output, context) => {
2310
2302
  return {};
2311
2303
  };
2312
- const deserializeAws_json1_1AssociateProactiveEngagementDetailsResponse = (output, context) => {
2304
+ const de_AssociateProactiveEngagementDetailsResponse = (output, context) => {
2313
2305
  return {};
2314
2306
  };
2315
- const deserializeAws_json1_1AttackDetail = (output, context) => {
2307
+ const de_AttackDetail = (output, context) => {
2316
2308
  return {
2317
- AttackCounters: output.AttackCounters != null
2318
- ? deserializeAws_json1_1SummarizedCounterList(output.AttackCounters, context)
2319
- : undefined,
2309
+ AttackCounters: output.AttackCounters != null ? de_SummarizedCounterList(output.AttackCounters, context) : undefined,
2320
2310
  AttackId: __expectString(output.AttackId),
2321
- AttackProperties: output.AttackProperties != null
2322
- ? deserializeAws_json1_1AttackProperties(output.AttackProperties, context)
2323
- : undefined,
2311
+ AttackProperties: output.AttackProperties != null ? de_AttackProperties(output.AttackProperties, context) : undefined,
2324
2312
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2325
- Mitigations: output.Mitigations != null ? deserializeAws_json1_1MitigationList(output.Mitigations, context) : undefined,
2313
+ Mitigations: output.Mitigations != null ? de_MitigationList(output.Mitigations, context) : undefined,
2326
2314
  ResourceArn: __expectString(output.ResourceArn),
2327
2315
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2328
- SubResources: output.SubResources != null
2329
- ? deserializeAws_json1_1SubResourceSummaryList(output.SubResources, context)
2330
- : undefined,
2316
+ SubResources: output.SubResources != null ? de_SubResourceSummaryList(output.SubResources, context) : undefined,
2331
2317
  };
2332
2318
  };
2333
- const deserializeAws_json1_1AttackProperties = (output, context) => {
2319
+ const de_AttackProperties = (output, context) => {
2334
2320
  const retVal = (output || [])
2335
2321
  .filter((e) => e != null)
2336
2322
  .map((entry) => {
2337
2323
  if (entry === null) {
2338
2324
  return null;
2339
2325
  }
2340
- return deserializeAws_json1_1AttackProperty(entry, context);
2326
+ return de_AttackProperty(entry, context);
2341
2327
  });
2342
2328
  return retVal;
2343
2329
  };
2344
- const deserializeAws_json1_1AttackProperty = (output, context) => {
2330
+ const de_AttackProperty = (output, context) => {
2345
2331
  return {
2346
2332
  AttackLayer: __expectString(output.AttackLayer),
2347
2333
  AttackPropertyIdentifier: __expectString(output.AttackPropertyIdentifier),
2348
- TopContributors: output.TopContributors != null
2349
- ? deserializeAws_json1_1TopContributors(output.TopContributors, context)
2350
- : undefined,
2334
+ TopContributors: output.TopContributors != null ? de_TopContributors(output.TopContributors, context) : undefined,
2351
2335
  Total: __expectLong(output.Total),
2352
2336
  Unit: __expectString(output.Unit),
2353
2337
  };
2354
2338
  };
2355
- const deserializeAws_json1_1AttackStatisticsDataItem = (output, context) => {
2339
+ const de_AttackStatisticsDataItem = (output, context) => {
2356
2340
  return {
2357
2341
  AttackCount: __expectLong(output.AttackCount),
2358
- AttackVolume: output.AttackVolume != null ? deserializeAws_json1_1AttackVolume(output.AttackVolume, context) : undefined,
2342
+ AttackVolume: output.AttackVolume != null ? de_AttackVolume(output.AttackVolume, context) : undefined,
2359
2343
  };
2360
2344
  };
2361
- const deserializeAws_json1_1AttackStatisticsDataList = (output, context) => {
2345
+ const de_AttackStatisticsDataList = (output, context) => {
2362
2346
  const retVal = (output || [])
2363
2347
  .filter((e) => e != null)
2364
2348
  .map((entry) => {
2365
2349
  if (entry === null) {
2366
2350
  return null;
2367
2351
  }
2368
- return deserializeAws_json1_1AttackStatisticsDataItem(entry, context);
2352
+ return de_AttackStatisticsDataItem(entry, context);
2369
2353
  });
2370
2354
  return retVal;
2371
2355
  };
2372
- const deserializeAws_json1_1AttackSummaries = (output, context) => {
2356
+ const de_AttackSummaries = (output, context) => {
2373
2357
  const retVal = (output || [])
2374
2358
  .filter((e) => e != null)
2375
2359
  .map((entry) => {
2376
2360
  if (entry === null) {
2377
2361
  return null;
2378
2362
  }
2379
- return deserializeAws_json1_1AttackSummary(entry, context);
2363
+ return de_AttackSummary(entry, context);
2380
2364
  });
2381
2365
  return retVal;
2382
2366
  };
2383
- const deserializeAws_json1_1AttackSummary = (output, context) => {
2367
+ const de_AttackSummary = (output, context) => {
2384
2368
  return {
2385
2369
  AttackId: __expectString(output.AttackId),
2386
- AttackVectors: output.AttackVectors != null
2387
- ? deserializeAws_json1_1AttackVectorDescriptionList(output.AttackVectors, context)
2388
- : undefined,
2370
+ AttackVectors: output.AttackVectors != null ? de_AttackVectorDescriptionList(output.AttackVectors, context) : undefined,
2389
2371
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2390
2372
  ResourceArn: __expectString(output.ResourceArn),
2391
2373
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2392
2374
  };
2393
2375
  };
2394
- const deserializeAws_json1_1AttackVectorDescription = (output, context) => {
2376
+ const de_AttackVectorDescription = (output, context) => {
2395
2377
  return {
2396
2378
  VectorType: __expectString(output.VectorType),
2397
2379
  };
2398
2380
  };
2399
- const deserializeAws_json1_1AttackVectorDescriptionList = (output, context) => {
2381
+ const de_AttackVectorDescriptionList = (output, context) => {
2400
2382
  const retVal = (output || [])
2401
2383
  .filter((e) => e != null)
2402
2384
  .map((entry) => {
2403
2385
  if (entry === null) {
2404
2386
  return null;
2405
2387
  }
2406
- return deserializeAws_json1_1AttackVectorDescription(entry, context);
2388
+ return de_AttackVectorDescription(entry, context);
2407
2389
  });
2408
2390
  return retVal;
2409
2391
  };
2410
- const deserializeAws_json1_1AttackVolume = (output, context) => {
2392
+ const de_AttackVolume = (output, context) => {
2411
2393
  return {
2412
- BitsPerSecond: output.BitsPerSecond != null
2413
- ? deserializeAws_json1_1AttackVolumeStatistics(output.BitsPerSecond, context)
2414
- : undefined,
2415
- PacketsPerSecond: output.PacketsPerSecond != null
2416
- ? deserializeAws_json1_1AttackVolumeStatistics(output.PacketsPerSecond, context)
2417
- : undefined,
2418
- RequestsPerSecond: output.RequestsPerSecond != null
2419
- ? deserializeAws_json1_1AttackVolumeStatistics(output.RequestsPerSecond, context)
2420
- : undefined,
2394
+ BitsPerSecond: output.BitsPerSecond != null ? de_AttackVolumeStatistics(output.BitsPerSecond, context) : undefined,
2395
+ PacketsPerSecond: output.PacketsPerSecond != null ? de_AttackVolumeStatistics(output.PacketsPerSecond, context) : undefined,
2396
+ RequestsPerSecond: output.RequestsPerSecond != null ? de_AttackVolumeStatistics(output.RequestsPerSecond, context) : undefined,
2421
2397
  };
2422
2398
  };
2423
- const deserializeAws_json1_1AttackVolumeStatistics = (output, context) => {
2399
+ const de_AttackVolumeStatistics = (output, context) => {
2424
2400
  return {
2425
2401
  Max: __limitedParseDouble(output.Max),
2426
2402
  };
2427
2403
  };
2428
- const deserializeAws_json1_1BlockAction = (output, context) => {
2404
+ const de_BlockAction = (output, context) => {
2429
2405
  return {};
2430
2406
  };
2431
- const deserializeAws_json1_1Contributor = (output, context) => {
2407
+ const de_Contributor = (output, context) => {
2432
2408
  return {
2433
2409
  Name: __expectString(output.Name),
2434
2410
  Value: __expectLong(output.Value),
2435
2411
  };
2436
2412
  };
2437
- const deserializeAws_json1_1CountAction = (output, context) => {
2413
+ const de_CountAction = (output, context) => {
2438
2414
  return {};
2439
2415
  };
2440
- const deserializeAws_json1_1CreateProtectionGroupResponse = (output, context) => {
2416
+ const de_CreateProtectionGroupResponse = (output, context) => {
2441
2417
  return {};
2442
2418
  };
2443
- const deserializeAws_json1_1CreateProtectionResponse = (output, context) => {
2419
+ const de_CreateProtectionResponse = (output, context) => {
2444
2420
  return {
2445
2421
  ProtectionId: __expectString(output.ProtectionId),
2446
2422
  };
2447
2423
  };
2448
- const deserializeAws_json1_1CreateSubscriptionResponse = (output, context) => {
2424
+ const de_CreateSubscriptionResponse = (output, context) => {
2449
2425
  return {};
2450
2426
  };
2451
- const deserializeAws_json1_1DeleteProtectionGroupResponse = (output, context) => {
2427
+ const de_DeleteProtectionGroupResponse = (output, context) => {
2452
2428
  return {};
2453
2429
  };
2454
- const deserializeAws_json1_1DeleteProtectionResponse = (output, context) => {
2430
+ const de_DeleteProtectionResponse = (output, context) => {
2455
2431
  return {};
2456
2432
  };
2457
- const deserializeAws_json1_1DeleteSubscriptionResponse = (output, context) => {
2433
+ const de_DeleteSubscriptionResponse = (output, context) => {
2458
2434
  return {};
2459
2435
  };
2460
- const deserializeAws_json1_1DescribeAttackResponse = (output, context) => {
2436
+ const de_DescribeAttackResponse = (output, context) => {
2461
2437
  return {
2462
- Attack: output.Attack != null ? deserializeAws_json1_1AttackDetail(output.Attack, context) : undefined,
2438
+ Attack: output.Attack != null ? de_AttackDetail(output.Attack, context) : undefined,
2463
2439
  };
2464
2440
  };
2465
- const deserializeAws_json1_1DescribeAttackStatisticsResponse = (output, context) => {
2441
+ const de_DescribeAttackStatisticsResponse = (output, context) => {
2466
2442
  return {
2467
- DataItems: output.DataItems != null ? deserializeAws_json1_1AttackStatisticsDataList(output.DataItems, context) : undefined,
2468
- TimeRange: output.TimeRange != null ? deserializeAws_json1_1TimeRange(output.TimeRange, context) : undefined,
2443
+ DataItems: output.DataItems != null ? de_AttackStatisticsDataList(output.DataItems, context) : undefined,
2444
+ TimeRange: output.TimeRange != null ? de_TimeRange(output.TimeRange, context) : undefined,
2469
2445
  };
2470
2446
  };
2471
- const deserializeAws_json1_1DescribeDRTAccessResponse = (output, context) => {
2447
+ const de_DescribeDRTAccessResponse = (output, context) => {
2472
2448
  return {
2473
- LogBucketList: output.LogBucketList != null ? deserializeAws_json1_1LogBucketList(output.LogBucketList, context) : undefined,
2449
+ LogBucketList: output.LogBucketList != null ? de_LogBucketList(output.LogBucketList, context) : undefined,
2474
2450
  RoleArn: __expectString(output.RoleArn),
2475
2451
  };
2476
2452
  };
2477
- const deserializeAws_json1_1DescribeEmergencyContactSettingsResponse = (output, context) => {
2453
+ const de_DescribeEmergencyContactSettingsResponse = (output, context) => {
2478
2454
  return {
2479
- EmergencyContactList: output.EmergencyContactList != null
2480
- ? deserializeAws_json1_1EmergencyContactList(output.EmergencyContactList, context)
2481
- : undefined,
2455
+ EmergencyContactList: output.EmergencyContactList != null ? de_EmergencyContactList(output.EmergencyContactList, context) : undefined,
2482
2456
  };
2483
2457
  };
2484
- const deserializeAws_json1_1DescribeProtectionGroupResponse = (output, context) => {
2458
+ const de_DescribeProtectionGroupResponse = (output, context) => {
2485
2459
  return {
2486
- ProtectionGroup: output.ProtectionGroup != null
2487
- ? deserializeAws_json1_1ProtectionGroup(output.ProtectionGroup, context)
2488
- : undefined,
2460
+ ProtectionGroup: output.ProtectionGroup != null ? de_ProtectionGroup(output.ProtectionGroup, context) : undefined,
2489
2461
  };
2490
2462
  };
2491
- const deserializeAws_json1_1DescribeProtectionResponse = (output, context) => {
2463
+ const de_DescribeProtectionResponse = (output, context) => {
2492
2464
  return {
2493
- Protection: output.Protection != null ? deserializeAws_json1_1Protection(output.Protection, context) : undefined,
2465
+ Protection: output.Protection != null ? de_Protection(output.Protection, context) : undefined,
2494
2466
  };
2495
2467
  };
2496
- const deserializeAws_json1_1DescribeSubscriptionResponse = (output, context) => {
2468
+ const de_DescribeSubscriptionResponse = (output, context) => {
2497
2469
  return {
2498
- Subscription: output.Subscription != null ? deserializeAws_json1_1Subscription(output.Subscription, context) : undefined,
2470
+ Subscription: output.Subscription != null ? de_Subscription(output.Subscription, context) : undefined,
2499
2471
  };
2500
2472
  };
2501
- const deserializeAws_json1_1DisableApplicationLayerAutomaticResponseResponse = (output, context) => {
2473
+ const de_DisableApplicationLayerAutomaticResponseResponse = (output, context) => {
2502
2474
  return {};
2503
2475
  };
2504
- const deserializeAws_json1_1DisableProactiveEngagementResponse = (output, context) => {
2476
+ const de_DisableProactiveEngagementResponse = (output, context) => {
2505
2477
  return {};
2506
2478
  };
2507
- const deserializeAws_json1_1DisassociateDRTLogBucketResponse = (output, context) => {
2479
+ const de_DisassociateDRTLogBucketResponse = (output, context) => {
2508
2480
  return {};
2509
2481
  };
2510
- const deserializeAws_json1_1DisassociateDRTRoleResponse = (output, context) => {
2482
+ const de_DisassociateDRTRoleResponse = (output, context) => {
2511
2483
  return {};
2512
2484
  };
2513
- const deserializeAws_json1_1DisassociateHealthCheckResponse = (output, context) => {
2485
+ const de_DisassociateHealthCheckResponse = (output, context) => {
2514
2486
  return {};
2515
2487
  };
2516
- const deserializeAws_json1_1EmergencyContact = (output, context) => {
2488
+ const de_EmergencyContact = (output, context) => {
2517
2489
  return {
2518
2490
  ContactNotes: __expectString(output.ContactNotes),
2519
2491
  EmailAddress: __expectString(output.EmailAddress),
2520
2492
  PhoneNumber: __expectString(output.PhoneNumber),
2521
2493
  };
2522
2494
  };
2523
- const deserializeAws_json1_1EmergencyContactList = (output, context) => {
2495
+ const de_EmergencyContactList = (output, context) => {
2524
2496
  const retVal = (output || [])
2525
2497
  .filter((e) => e != null)
2526
2498
  .map((entry) => {
2527
2499
  if (entry === null) {
2528
2500
  return null;
2529
2501
  }
2530
- return deserializeAws_json1_1EmergencyContact(entry, context);
2502
+ return de_EmergencyContact(entry, context);
2531
2503
  });
2532
2504
  return retVal;
2533
2505
  };
2534
- const deserializeAws_json1_1EnableApplicationLayerAutomaticResponseResponse = (output, context) => {
2506
+ const de_EnableApplicationLayerAutomaticResponseResponse = (output, context) => {
2535
2507
  return {};
2536
2508
  };
2537
- const deserializeAws_json1_1EnableProactiveEngagementResponse = (output, context) => {
2509
+ const de_EnableProactiveEngagementResponse = (output, context) => {
2538
2510
  return {};
2539
2511
  };
2540
- const deserializeAws_json1_1GetSubscriptionStateResponse = (output, context) => {
2512
+ const de_GetSubscriptionStateResponse = (output, context) => {
2541
2513
  return {
2542
2514
  SubscriptionState: __expectString(output.SubscriptionState),
2543
2515
  };
2544
2516
  };
2545
- const deserializeAws_json1_1HealthCheckIds = (output, context) => {
2517
+ const de_HealthCheckIds = (output, context) => {
2546
2518
  const retVal = (output || [])
2547
2519
  .filter((e) => e != null)
2548
2520
  .map((entry) => {
@@ -2553,96 +2525,92 @@ const deserializeAws_json1_1HealthCheckIds = (output, context) => {
2553
2525
  });
2554
2526
  return retVal;
2555
2527
  };
2556
- const deserializeAws_json1_1InternalErrorException = (output, context) => {
2528
+ const de_InternalErrorException = (output, context) => {
2557
2529
  return {
2558
2530
  message: __expectString(output.message),
2559
2531
  };
2560
2532
  };
2561
- const deserializeAws_json1_1InvalidOperationException = (output, context) => {
2533
+ const de_InvalidOperationException = (output, context) => {
2562
2534
  return {
2563
2535
  message: __expectString(output.message),
2564
2536
  };
2565
2537
  };
2566
- const deserializeAws_json1_1InvalidPaginationTokenException = (output, context) => {
2538
+ const de_InvalidPaginationTokenException = (output, context) => {
2567
2539
  return {
2568
2540
  message: __expectString(output.message),
2569
2541
  };
2570
2542
  };
2571
- const deserializeAws_json1_1InvalidParameterException = (output, context) => {
2543
+ const de_InvalidParameterException = (output, context) => {
2572
2544
  return {
2573
- fields: output.fields != null ? deserializeAws_json1_1ValidationExceptionFieldList(output.fields, context) : undefined,
2545
+ fields: output.fields != null ? de_ValidationExceptionFieldList(output.fields, context) : undefined,
2574
2546
  message: __expectString(output.message),
2575
2547
  reason: __expectString(output.reason),
2576
2548
  };
2577
2549
  };
2578
- const deserializeAws_json1_1InvalidResourceException = (output, context) => {
2550
+ const de_InvalidResourceException = (output, context) => {
2579
2551
  return {
2580
2552
  message: __expectString(output.message),
2581
2553
  };
2582
2554
  };
2583
- const deserializeAws_json1_1Limit = (output, context) => {
2555
+ const de_Limit = (output, context) => {
2584
2556
  return {
2585
2557
  Max: __expectLong(output.Max),
2586
2558
  Type: __expectString(output.Type),
2587
2559
  };
2588
2560
  };
2589
- const deserializeAws_json1_1Limits = (output, context) => {
2561
+ const de_Limits = (output, context) => {
2590
2562
  const retVal = (output || [])
2591
2563
  .filter((e) => e != null)
2592
2564
  .map((entry) => {
2593
2565
  if (entry === null) {
2594
2566
  return null;
2595
2567
  }
2596
- return deserializeAws_json1_1Limit(entry, context);
2568
+ return de_Limit(entry, context);
2597
2569
  });
2598
2570
  return retVal;
2599
2571
  };
2600
- const deserializeAws_json1_1LimitsExceededException = (output, context) => {
2572
+ const de_LimitsExceededException = (output, context) => {
2601
2573
  return {
2602
2574
  Limit: __expectLong(output.Limit),
2603
2575
  Type: __expectString(output.Type),
2604
2576
  message: __expectString(output.message),
2605
2577
  };
2606
2578
  };
2607
- const deserializeAws_json1_1ListAttacksResponse = (output, context) => {
2579
+ const de_ListAttacksResponse = (output, context) => {
2608
2580
  return {
2609
- AttackSummaries: output.AttackSummaries != null
2610
- ? deserializeAws_json1_1AttackSummaries(output.AttackSummaries, context)
2611
- : undefined,
2581
+ AttackSummaries: output.AttackSummaries != null ? de_AttackSummaries(output.AttackSummaries, context) : undefined,
2612
2582
  NextToken: __expectString(output.NextToken),
2613
2583
  };
2614
2584
  };
2615
- const deserializeAws_json1_1ListProtectionGroupsResponse = (output, context) => {
2585
+ const de_ListProtectionGroupsResponse = (output, context) => {
2616
2586
  return {
2617
2587
  NextToken: __expectString(output.NextToken),
2618
- ProtectionGroups: output.ProtectionGroups != null
2619
- ? deserializeAws_json1_1ProtectionGroups(output.ProtectionGroups, context)
2620
- : undefined,
2588
+ ProtectionGroups: output.ProtectionGroups != null ? de_ProtectionGroups(output.ProtectionGroups, context) : undefined,
2621
2589
  };
2622
2590
  };
2623
- const deserializeAws_json1_1ListProtectionsResponse = (output, context) => {
2591
+ const de_ListProtectionsResponse = (output, context) => {
2624
2592
  return {
2625
2593
  NextToken: __expectString(output.NextToken),
2626
- Protections: output.Protections != null ? deserializeAws_json1_1Protections(output.Protections, context) : undefined,
2594
+ Protections: output.Protections != null ? de_Protections(output.Protections, context) : undefined,
2627
2595
  };
2628
2596
  };
2629
- const deserializeAws_json1_1ListResourcesInProtectionGroupResponse = (output, context) => {
2597
+ const de_ListResourcesInProtectionGroupResponse = (output, context) => {
2630
2598
  return {
2631
2599
  NextToken: __expectString(output.NextToken),
2632
- ResourceArns: output.ResourceArns != null ? deserializeAws_json1_1ResourceArnList(output.ResourceArns, context) : undefined,
2600
+ ResourceArns: output.ResourceArns != null ? de_ResourceArnList(output.ResourceArns, context) : undefined,
2633
2601
  };
2634
2602
  };
2635
- const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
2603
+ const de_ListTagsForResourceResponse = (output, context) => {
2636
2604
  return {
2637
- Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
2605
+ Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
2638
2606
  };
2639
2607
  };
2640
- const deserializeAws_json1_1LockedSubscriptionException = (output, context) => {
2608
+ const de_LockedSubscriptionException = (output, context) => {
2641
2609
  return {
2642
2610
  message: __expectString(output.message),
2643
2611
  };
2644
2612
  };
2645
- const deserializeAws_json1_1LogBucketList = (output, context) => {
2613
+ const de_LogBucketList = (output, context) => {
2646
2614
  const retVal = (output || [])
2647
2615
  .filter((e) => e != null)
2648
2616
  .map((entry) => {
@@ -2653,68 +2621,68 @@ const deserializeAws_json1_1LogBucketList = (output, context) => {
2653
2621
  });
2654
2622
  return retVal;
2655
2623
  };
2656
- const deserializeAws_json1_1Mitigation = (output, context) => {
2624
+ const de_Mitigation = (output, context) => {
2657
2625
  return {
2658
2626
  MitigationName: __expectString(output.MitigationName),
2659
2627
  };
2660
2628
  };
2661
- const deserializeAws_json1_1MitigationList = (output, context) => {
2629
+ const de_MitigationList = (output, context) => {
2662
2630
  const retVal = (output || [])
2663
2631
  .filter((e) => e != null)
2664
2632
  .map((entry) => {
2665
2633
  if (entry === null) {
2666
2634
  return null;
2667
2635
  }
2668
- return deserializeAws_json1_1Mitigation(entry, context);
2636
+ return de_Mitigation(entry, context);
2669
2637
  });
2670
2638
  return retVal;
2671
2639
  };
2672
- const deserializeAws_json1_1NoAssociatedRoleException = (output, context) => {
2640
+ const de_NoAssociatedRoleException = (output, context) => {
2673
2641
  return {
2674
2642
  message: __expectString(output.message),
2675
2643
  };
2676
2644
  };
2677
- const deserializeAws_json1_1OptimisticLockException = (output, context) => {
2645
+ const de_OptimisticLockException = (output, context) => {
2678
2646
  return {
2679
2647
  message: __expectString(output.message),
2680
2648
  };
2681
2649
  };
2682
- const deserializeAws_json1_1Protection = (output, context) => {
2650
+ const de_Protection = (output, context) => {
2683
2651
  return {
2684
2652
  ApplicationLayerAutomaticResponseConfiguration: output.ApplicationLayerAutomaticResponseConfiguration != null
2685
- ? deserializeAws_json1_1ApplicationLayerAutomaticResponseConfiguration(output.ApplicationLayerAutomaticResponseConfiguration, context)
2653
+ ? de_ApplicationLayerAutomaticResponseConfiguration(output.ApplicationLayerAutomaticResponseConfiguration, context)
2686
2654
  : undefined,
2687
- HealthCheckIds: output.HealthCheckIds != null ? deserializeAws_json1_1HealthCheckIds(output.HealthCheckIds, context) : undefined,
2655
+ HealthCheckIds: output.HealthCheckIds != null ? de_HealthCheckIds(output.HealthCheckIds, context) : undefined,
2688
2656
  Id: __expectString(output.Id),
2689
2657
  Name: __expectString(output.Name),
2690
2658
  ProtectionArn: __expectString(output.ProtectionArn),
2691
2659
  ResourceArn: __expectString(output.ResourceArn),
2692
2660
  };
2693
2661
  };
2694
- const deserializeAws_json1_1ProtectionGroup = (output, context) => {
2662
+ const de_ProtectionGroup = (output, context) => {
2695
2663
  return {
2696
2664
  Aggregation: __expectString(output.Aggregation),
2697
- Members: output.Members != null ? deserializeAws_json1_1ProtectionGroupMembers(output.Members, context) : undefined,
2665
+ Members: output.Members != null ? de_ProtectionGroupMembers(output.Members, context) : undefined,
2698
2666
  Pattern: __expectString(output.Pattern),
2699
2667
  ProtectionGroupArn: __expectString(output.ProtectionGroupArn),
2700
2668
  ProtectionGroupId: __expectString(output.ProtectionGroupId),
2701
2669
  ResourceType: __expectString(output.ResourceType),
2702
2670
  };
2703
2671
  };
2704
- const deserializeAws_json1_1ProtectionGroupArbitraryPatternLimits = (output, context) => {
2672
+ const de_ProtectionGroupArbitraryPatternLimits = (output, context) => {
2705
2673
  return {
2706
2674
  MaxMembers: __expectLong(output.MaxMembers),
2707
2675
  };
2708
2676
  };
2709
- const deserializeAws_json1_1ProtectionGroupLimits = (output, context) => {
2677
+ const de_ProtectionGroupLimits = (output, context) => {
2710
2678
  return {
2711
2679
  MaxProtectionGroups: __expectLong(output.MaxProtectionGroups),
2712
2680
  PatternTypeLimits: output.PatternTypeLimits != null
2713
- ? deserializeAws_json1_1ProtectionGroupPatternTypeLimits(output.PatternTypeLimits, context)
2681
+ ? de_ProtectionGroupPatternTypeLimits(output.PatternTypeLimits, context)
2714
2682
  : undefined,
2715
2683
  };
2716
2684
  };
2717
- const deserializeAws_json1_1ProtectionGroupMembers = (output, context) => {
2685
+ const de_ProtectionGroupMembers = (output, context) => {
2718
2686
  const retVal = (output || [])
2719
2687
  .filter((e) => e != null)
2720
2688
  .map((entry) => {
@@ -2725,49 +2693,47 @@ const deserializeAws_json1_1ProtectionGroupMembers = (output, context) => {
2725
2693
  });
2726
2694
  return retVal;
2727
2695
  };
2728
- const deserializeAws_json1_1ProtectionGroupPatternTypeLimits = (output, context) => {
2696
+ const de_ProtectionGroupPatternTypeLimits = (output, context) => {
2729
2697
  return {
2730
2698
  ArbitraryPatternLimits: output.ArbitraryPatternLimits != null
2731
- ? deserializeAws_json1_1ProtectionGroupArbitraryPatternLimits(output.ArbitraryPatternLimits, context)
2699
+ ? de_ProtectionGroupArbitraryPatternLimits(output.ArbitraryPatternLimits, context)
2732
2700
  : undefined,
2733
2701
  };
2734
2702
  };
2735
- const deserializeAws_json1_1ProtectionGroups = (output, context) => {
2703
+ const de_ProtectionGroups = (output, context) => {
2736
2704
  const retVal = (output || [])
2737
2705
  .filter((e) => e != null)
2738
2706
  .map((entry) => {
2739
2707
  if (entry === null) {
2740
2708
  return null;
2741
2709
  }
2742
- return deserializeAws_json1_1ProtectionGroup(entry, context);
2710
+ return de_ProtectionGroup(entry, context);
2743
2711
  });
2744
2712
  return retVal;
2745
2713
  };
2746
- const deserializeAws_json1_1ProtectionLimits = (output, context) => {
2714
+ const de_ProtectionLimits = (output, context) => {
2747
2715
  return {
2748
- ProtectedResourceTypeLimits: output.ProtectedResourceTypeLimits != null
2749
- ? deserializeAws_json1_1Limits(output.ProtectedResourceTypeLimits, context)
2750
- : undefined,
2716
+ ProtectedResourceTypeLimits: output.ProtectedResourceTypeLimits != null ? de_Limits(output.ProtectedResourceTypeLimits, context) : undefined,
2751
2717
  };
2752
2718
  };
2753
- const deserializeAws_json1_1Protections = (output, context) => {
2719
+ const de_Protections = (output, context) => {
2754
2720
  const retVal = (output || [])
2755
2721
  .filter((e) => e != null)
2756
2722
  .map((entry) => {
2757
2723
  if (entry === null) {
2758
2724
  return null;
2759
2725
  }
2760
- return deserializeAws_json1_1Protection(entry, context);
2726
+ return de_Protection(entry, context);
2761
2727
  });
2762
2728
  return retVal;
2763
2729
  };
2764
- const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
2730
+ const de_ResourceAlreadyExistsException = (output, context) => {
2765
2731
  return {
2766
2732
  message: __expectString(output.message),
2767
2733
  resourceType: __expectString(output.resourceType),
2768
2734
  };
2769
2735
  };
2770
- const deserializeAws_json1_1ResourceArnList = (output, context) => {
2736
+ const de_ResourceArnList = (output, context) => {
2771
2737
  const retVal = (output || [])
2772
2738
  .filter((e) => e != null)
2773
2739
  .map((entry) => {
@@ -2778,83 +2744,75 @@ const deserializeAws_json1_1ResourceArnList = (output, context) => {
2778
2744
  });
2779
2745
  return retVal;
2780
2746
  };
2781
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2747
+ const de_ResourceNotFoundException = (output, context) => {
2782
2748
  return {
2783
2749
  message: __expectString(output.message),
2784
2750
  resourceType: __expectString(output.resourceType),
2785
2751
  };
2786
2752
  };
2787
- const deserializeAws_json1_1ResponseAction = (output, context) => {
2753
+ const de_ResponseAction = (output, context) => {
2788
2754
  return {
2789
- Block: output.Block != null ? deserializeAws_json1_1BlockAction(output.Block, context) : undefined,
2790
- Count: output.Count != null ? deserializeAws_json1_1CountAction(output.Count, context) : undefined,
2755
+ Block: output.Block != null ? de_BlockAction(output.Block, context) : undefined,
2756
+ Count: output.Count != null ? de_CountAction(output.Count, context) : undefined,
2791
2757
  };
2792
2758
  };
2793
- const deserializeAws_json1_1SubResourceSummary = (output, context) => {
2759
+ const de_SubResourceSummary = (output, context) => {
2794
2760
  return {
2795
- AttackVectors: output.AttackVectors != null
2796
- ? deserializeAws_json1_1SummarizedAttackVectorList(output.AttackVectors, context)
2797
- : undefined,
2798
- Counters: output.Counters != null ? deserializeAws_json1_1SummarizedCounterList(output.Counters, context) : undefined,
2761
+ AttackVectors: output.AttackVectors != null ? de_SummarizedAttackVectorList(output.AttackVectors, context) : undefined,
2762
+ Counters: output.Counters != null ? de_SummarizedCounterList(output.Counters, context) : undefined,
2799
2763
  Id: __expectString(output.Id),
2800
2764
  Type: __expectString(output.Type),
2801
2765
  };
2802
2766
  };
2803
- const deserializeAws_json1_1SubResourceSummaryList = (output, context) => {
2767
+ const de_SubResourceSummaryList = (output, context) => {
2804
2768
  const retVal = (output || [])
2805
2769
  .filter((e) => e != null)
2806
2770
  .map((entry) => {
2807
2771
  if (entry === null) {
2808
2772
  return null;
2809
2773
  }
2810
- return deserializeAws_json1_1SubResourceSummary(entry, context);
2774
+ return de_SubResourceSummary(entry, context);
2811
2775
  });
2812
2776
  return retVal;
2813
2777
  };
2814
- const deserializeAws_json1_1Subscription = (output, context) => {
2778
+ const de_Subscription = (output, context) => {
2815
2779
  return {
2816
2780
  AutoRenew: __expectString(output.AutoRenew),
2817
2781
  EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2818
- Limits: output.Limits != null ? deserializeAws_json1_1Limits(output.Limits, context) : undefined,
2782
+ Limits: output.Limits != null ? de_Limits(output.Limits, context) : undefined,
2819
2783
  ProactiveEngagementStatus: __expectString(output.ProactiveEngagementStatus),
2820
2784
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2821
2785
  SubscriptionArn: __expectString(output.SubscriptionArn),
2822
- SubscriptionLimits: output.SubscriptionLimits != null
2823
- ? deserializeAws_json1_1SubscriptionLimits(output.SubscriptionLimits, context)
2824
- : undefined,
2786
+ SubscriptionLimits: output.SubscriptionLimits != null ? de_SubscriptionLimits(output.SubscriptionLimits, context) : undefined,
2825
2787
  TimeCommitmentInSeconds: __expectLong(output.TimeCommitmentInSeconds),
2826
2788
  };
2827
2789
  };
2828
- const deserializeAws_json1_1SubscriptionLimits = (output, context) => {
2790
+ const de_SubscriptionLimits = (output, context) => {
2829
2791
  return {
2830
2792
  ProtectionGroupLimits: output.ProtectionGroupLimits != null
2831
- ? deserializeAws_json1_1ProtectionGroupLimits(output.ProtectionGroupLimits, context)
2832
- : undefined,
2833
- ProtectionLimits: output.ProtectionLimits != null
2834
- ? deserializeAws_json1_1ProtectionLimits(output.ProtectionLimits, context)
2793
+ ? de_ProtectionGroupLimits(output.ProtectionGroupLimits, context)
2835
2794
  : undefined,
2795
+ ProtectionLimits: output.ProtectionLimits != null ? de_ProtectionLimits(output.ProtectionLimits, context) : undefined,
2836
2796
  };
2837
2797
  };
2838
- const deserializeAws_json1_1SummarizedAttackVector = (output, context) => {
2798
+ const de_SummarizedAttackVector = (output, context) => {
2839
2799
  return {
2840
- VectorCounters: output.VectorCounters != null
2841
- ? deserializeAws_json1_1SummarizedCounterList(output.VectorCounters, context)
2842
- : undefined,
2800
+ VectorCounters: output.VectorCounters != null ? de_SummarizedCounterList(output.VectorCounters, context) : undefined,
2843
2801
  VectorType: __expectString(output.VectorType),
2844
2802
  };
2845
2803
  };
2846
- const deserializeAws_json1_1SummarizedAttackVectorList = (output, context) => {
2804
+ const de_SummarizedAttackVectorList = (output, context) => {
2847
2805
  const retVal = (output || [])
2848
2806
  .filter((e) => e != null)
2849
2807
  .map((entry) => {
2850
2808
  if (entry === null) {
2851
2809
  return null;
2852
2810
  }
2853
- return deserializeAws_json1_1SummarizedAttackVector(entry, context);
2811
+ return de_SummarizedAttackVector(entry, context);
2854
2812
  });
2855
2813
  return retVal;
2856
2814
  };
2857
- const deserializeAws_json1_1SummarizedCounter = (output, context) => {
2815
+ const de_SummarizedCounter = (output, context) => {
2858
2816
  return {
2859
2817
  Average: __limitedParseDouble(output.Average),
2860
2818
  Max: __limitedParseDouble(output.Max),
@@ -2864,38 +2822,38 @@ const deserializeAws_json1_1SummarizedCounter = (output, context) => {
2864
2822
  Unit: __expectString(output.Unit),
2865
2823
  };
2866
2824
  };
2867
- const deserializeAws_json1_1SummarizedCounterList = (output, context) => {
2825
+ const de_SummarizedCounterList = (output, context) => {
2868
2826
  const retVal = (output || [])
2869
2827
  .filter((e) => e != null)
2870
2828
  .map((entry) => {
2871
2829
  if (entry === null) {
2872
2830
  return null;
2873
2831
  }
2874
- return deserializeAws_json1_1SummarizedCounter(entry, context);
2832
+ return de_SummarizedCounter(entry, context);
2875
2833
  });
2876
2834
  return retVal;
2877
2835
  };
2878
- const deserializeAws_json1_1Tag = (output, context) => {
2836
+ const de_Tag = (output, context) => {
2879
2837
  return {
2880
2838
  Key: __expectString(output.Key),
2881
2839
  Value: __expectString(output.Value),
2882
2840
  };
2883
2841
  };
2884
- const deserializeAws_json1_1TagList = (output, context) => {
2842
+ const de_TagList = (output, context) => {
2885
2843
  const retVal = (output || [])
2886
2844
  .filter((e) => e != null)
2887
2845
  .map((entry) => {
2888
2846
  if (entry === null) {
2889
2847
  return null;
2890
2848
  }
2891
- return deserializeAws_json1_1Tag(entry, context);
2849
+ return de_Tag(entry, context);
2892
2850
  });
2893
2851
  return retVal;
2894
2852
  };
2895
- const deserializeAws_json1_1TagResourceResponse = (output, context) => {
2853
+ const de_TagResourceResponse = (output, context) => {
2896
2854
  return {};
2897
2855
  };
2898
- const deserializeAws_json1_1TimeRange = (output, context) => {
2856
+ const de_TimeRange = (output, context) => {
2899
2857
  return {
2900
2858
  FromInclusive: output.FromInclusive != null
2901
2859
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FromInclusive)))
@@ -2905,46 +2863,46 @@ const deserializeAws_json1_1TimeRange = (output, context) => {
2905
2863
  : undefined,
2906
2864
  };
2907
2865
  };
2908
- const deserializeAws_json1_1TopContributors = (output, context) => {
2866
+ const de_TopContributors = (output, context) => {
2909
2867
  const retVal = (output || [])
2910
2868
  .filter((e) => e != null)
2911
2869
  .map((entry) => {
2912
2870
  if (entry === null) {
2913
2871
  return null;
2914
2872
  }
2915
- return deserializeAws_json1_1Contributor(entry, context);
2873
+ return de_Contributor(entry, context);
2916
2874
  });
2917
2875
  return retVal;
2918
2876
  };
2919
- const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
2877
+ const de_UntagResourceResponse = (output, context) => {
2920
2878
  return {};
2921
2879
  };
2922
- const deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseResponse = (output, context) => {
2880
+ const de_UpdateApplicationLayerAutomaticResponseResponse = (output, context) => {
2923
2881
  return {};
2924
2882
  };
2925
- const deserializeAws_json1_1UpdateEmergencyContactSettingsResponse = (output, context) => {
2883
+ const de_UpdateEmergencyContactSettingsResponse = (output, context) => {
2926
2884
  return {};
2927
2885
  };
2928
- const deserializeAws_json1_1UpdateProtectionGroupResponse = (output, context) => {
2886
+ const de_UpdateProtectionGroupResponse = (output, context) => {
2929
2887
  return {};
2930
2888
  };
2931
- const deserializeAws_json1_1UpdateSubscriptionResponse = (output, context) => {
2889
+ const de_UpdateSubscriptionResponse = (output, context) => {
2932
2890
  return {};
2933
2891
  };
2934
- const deserializeAws_json1_1ValidationExceptionField = (output, context) => {
2892
+ const de_ValidationExceptionField = (output, context) => {
2935
2893
  return {
2936
2894
  message: __expectString(output.message),
2937
2895
  name: __expectString(output.name),
2938
2896
  };
2939
2897
  };
2940
- const deserializeAws_json1_1ValidationExceptionFieldList = (output, context) => {
2898
+ const de_ValidationExceptionFieldList = (output, context) => {
2941
2899
  const retVal = (output || [])
2942
2900
  .filter((e) => e != null)
2943
2901
  .map((entry) => {
2944
2902
  if (entry === null) {
2945
2903
  return null;
2946
2904
  }
2947
- return deserializeAws_json1_1ValidationExceptionField(entry, context);
2905
+ return de_ValidationExceptionField(entry, context);
2948
2906
  });
2949
2907
  return retVal;
2950
2908
  };