@aws-sdk/client-acm 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist-cjs/commands/AddTagsToCertificateCommand.js +2 -2
  2. package/dist-cjs/commands/DeleteCertificateCommand.js +2 -2
  3. package/dist-cjs/commands/DescribeCertificateCommand.js +2 -2
  4. package/dist-cjs/commands/ExportCertificateCommand.js +2 -2
  5. package/dist-cjs/commands/GetAccountConfigurationCommand.js +2 -2
  6. package/dist-cjs/commands/GetCertificateCommand.js +2 -2
  7. package/dist-cjs/commands/ImportCertificateCommand.js +2 -2
  8. package/dist-cjs/commands/ListCertificatesCommand.js +2 -2
  9. package/dist-cjs/commands/ListTagsForCertificateCommand.js +2 -2
  10. package/dist-cjs/commands/PutAccountConfigurationCommand.js +2 -2
  11. package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +2 -2
  12. package/dist-cjs/commands/RenewCertificateCommand.js +2 -2
  13. package/dist-cjs/commands/RequestCertificateCommand.js +2 -2
  14. package/dist-cjs/commands/ResendValidationEmailCommand.js +2 -2
  15. package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +2 -2
  16. package/dist-cjs/protocols/Aws_json1_1.js +314 -326
  17. package/dist-es/commands/AddTagsToCertificateCommand.js +3 -3
  18. package/dist-es/commands/DeleteCertificateCommand.js +3 -3
  19. package/dist-es/commands/DescribeCertificateCommand.js +3 -3
  20. package/dist-es/commands/ExportCertificateCommand.js +3 -3
  21. package/dist-es/commands/GetAccountConfigurationCommand.js +3 -3
  22. package/dist-es/commands/GetCertificateCommand.js +3 -3
  23. package/dist-es/commands/ImportCertificateCommand.js +3 -3
  24. package/dist-es/commands/ListCertificatesCommand.js +3 -3
  25. package/dist-es/commands/ListTagsForCertificateCommand.js +3 -3
  26. package/dist-es/commands/PutAccountConfigurationCommand.js +3 -3
  27. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +3 -3
  28. package/dist-es/commands/RenewCertificateCommand.js +3 -3
  29. package/dist-es/commands/RequestCertificateCommand.js +3 -3
  30. package/dist-es/commands/ResendValidationEmailCommand.js +3 -3
  31. package/dist-es/commands/UpdateCertificateOptionsCommand.js +3 -3
  32. package/dist-es/protocols/Aws_json1_1.js +283 -295
  33. package/dist-types/protocols/Aws_json1_1.d.ts +120 -30
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -30
  35. package/package.json +36 -36
@@ -1,51 +1,51 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_1UpdateCertificateOptionsCommand = exports.deserializeAws_json1_1ResendValidationEmailCommand = exports.deserializeAws_json1_1RequestCertificateCommand = exports.deserializeAws_json1_1RenewCertificateCommand = exports.deserializeAws_json1_1RemoveTagsFromCertificateCommand = exports.deserializeAws_json1_1PutAccountConfigurationCommand = exports.deserializeAws_json1_1ListTagsForCertificateCommand = exports.deserializeAws_json1_1ListCertificatesCommand = exports.deserializeAws_json1_1ImportCertificateCommand = exports.deserializeAws_json1_1GetCertificateCommand = exports.deserializeAws_json1_1GetAccountConfigurationCommand = exports.deserializeAws_json1_1ExportCertificateCommand = exports.deserializeAws_json1_1DescribeCertificateCommand = exports.deserializeAws_json1_1DeleteCertificateCommand = exports.deserializeAws_json1_1AddTagsToCertificateCommand = exports.serializeAws_json1_1UpdateCertificateOptionsCommand = exports.serializeAws_json1_1ResendValidationEmailCommand = exports.serializeAws_json1_1RequestCertificateCommand = exports.serializeAws_json1_1RenewCertificateCommand = exports.serializeAws_json1_1RemoveTagsFromCertificateCommand = exports.serializeAws_json1_1PutAccountConfigurationCommand = exports.serializeAws_json1_1ListTagsForCertificateCommand = exports.serializeAws_json1_1ListCertificatesCommand = exports.serializeAws_json1_1ImportCertificateCommand = exports.serializeAws_json1_1GetCertificateCommand = exports.serializeAws_json1_1GetAccountConfigurationCommand = exports.serializeAws_json1_1ExportCertificateCommand = exports.serializeAws_json1_1DescribeCertificateCommand = exports.serializeAws_json1_1DeleteCertificateCommand = exports.serializeAws_json1_1AddTagsToCertificateCommand = void 0;
3
+ exports.de_UpdateCertificateOptionsCommand = exports.de_ResendValidationEmailCommand = exports.de_RequestCertificateCommand = exports.de_RenewCertificateCommand = exports.de_RemoveTagsFromCertificateCommand = exports.de_PutAccountConfigurationCommand = exports.de_ListTagsForCertificateCommand = exports.de_ListCertificatesCommand = exports.de_ImportCertificateCommand = exports.de_GetCertificateCommand = exports.de_GetAccountConfigurationCommand = exports.de_ExportCertificateCommand = exports.de_DescribeCertificateCommand = exports.de_DeleteCertificateCommand = exports.de_AddTagsToCertificateCommand = exports.se_UpdateCertificateOptionsCommand = exports.se_ResendValidationEmailCommand = exports.se_RequestCertificateCommand = exports.se_RenewCertificateCommand = exports.se_RemoveTagsFromCertificateCommand = exports.se_PutAccountConfigurationCommand = exports.se_ListTagsForCertificateCommand = exports.se_ListCertificatesCommand = exports.se_ImportCertificateCommand = exports.se_GetCertificateCommand = exports.se_GetAccountConfigurationCommand = exports.se_ExportCertificateCommand = exports.se_DescribeCertificateCommand = exports.se_DeleteCertificateCommand = exports.se_AddTagsToCertificateCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const ACMServiceException_1 = require("../models/ACMServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_json1_1AddTagsToCertificateCommand = async (input, context) => {
8
+ const se_AddTagsToCertificateCommand = async (input, context) => {
9
9
  const headers = {
10
10
  "content-type": "application/x-amz-json-1.1",
11
11
  "x-amz-target": "CertificateManager.AddTagsToCertificate",
12
12
  };
13
13
  let body;
14
- body = JSON.stringify(serializeAws_json1_1AddTagsToCertificateRequest(input, context));
14
+ body = JSON.stringify(se_AddTagsToCertificateRequest(input, context));
15
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
16
16
  };
17
- exports.serializeAws_json1_1AddTagsToCertificateCommand = serializeAws_json1_1AddTagsToCertificateCommand;
18
- const serializeAws_json1_1DeleteCertificateCommand = async (input, context) => {
17
+ exports.se_AddTagsToCertificateCommand = se_AddTagsToCertificateCommand;
18
+ const se_DeleteCertificateCommand = async (input, context) => {
19
19
  const headers = {
20
20
  "content-type": "application/x-amz-json-1.1",
21
21
  "x-amz-target": "CertificateManager.DeleteCertificate",
22
22
  };
23
23
  let body;
24
- body = JSON.stringify(serializeAws_json1_1DeleteCertificateRequest(input, context));
24
+ body = JSON.stringify(se_DeleteCertificateRequest(input, context));
25
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
26
26
  };
27
- exports.serializeAws_json1_1DeleteCertificateCommand = serializeAws_json1_1DeleteCertificateCommand;
28
- const serializeAws_json1_1DescribeCertificateCommand = async (input, context) => {
27
+ exports.se_DeleteCertificateCommand = se_DeleteCertificateCommand;
28
+ const se_DescribeCertificateCommand = async (input, context) => {
29
29
  const headers = {
30
30
  "content-type": "application/x-amz-json-1.1",
31
31
  "x-amz-target": "CertificateManager.DescribeCertificate",
32
32
  };
33
33
  let body;
34
- body = JSON.stringify(serializeAws_json1_1DescribeCertificateRequest(input, context));
34
+ body = JSON.stringify(se_DescribeCertificateRequest(input, context));
35
35
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
36
36
  };
37
- exports.serializeAws_json1_1DescribeCertificateCommand = serializeAws_json1_1DescribeCertificateCommand;
38
- const serializeAws_json1_1ExportCertificateCommand = async (input, context) => {
37
+ exports.se_DescribeCertificateCommand = se_DescribeCertificateCommand;
38
+ const se_ExportCertificateCommand = async (input, context) => {
39
39
  const headers = {
40
40
  "content-type": "application/x-amz-json-1.1",
41
41
  "x-amz-target": "CertificateManager.ExportCertificate",
42
42
  };
43
43
  let body;
44
- body = JSON.stringify(serializeAws_json1_1ExportCertificateRequest(input, context));
44
+ body = JSON.stringify(se_ExportCertificateRequest(input, context));
45
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
46
46
  };
47
- exports.serializeAws_json1_1ExportCertificateCommand = serializeAws_json1_1ExportCertificateCommand;
48
- const serializeAws_json1_1GetAccountConfigurationCommand = async (input, context) => {
47
+ exports.se_ExportCertificateCommand = se_ExportCertificateCommand;
48
+ const se_GetAccountConfigurationCommand = async (input, context) => {
49
49
  const headers = {
50
50
  "content-type": "application/x-amz-json-1.1",
51
51
  "x-amz-target": "CertificateManager.GetAccountConfiguration",
@@ -53,110 +53,110 @@ const serializeAws_json1_1GetAccountConfigurationCommand = async (input, context
53
53
  const body = "{}";
54
54
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
55
55
  };
56
- exports.serializeAws_json1_1GetAccountConfigurationCommand = serializeAws_json1_1GetAccountConfigurationCommand;
57
- const serializeAws_json1_1GetCertificateCommand = async (input, context) => {
56
+ exports.se_GetAccountConfigurationCommand = se_GetAccountConfigurationCommand;
57
+ const se_GetCertificateCommand = async (input, context) => {
58
58
  const headers = {
59
59
  "content-type": "application/x-amz-json-1.1",
60
60
  "x-amz-target": "CertificateManager.GetCertificate",
61
61
  };
62
62
  let body;
63
- body = JSON.stringify(serializeAws_json1_1GetCertificateRequest(input, context));
63
+ body = JSON.stringify(se_GetCertificateRequest(input, context));
64
64
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
65
  };
66
- exports.serializeAws_json1_1GetCertificateCommand = serializeAws_json1_1GetCertificateCommand;
67
- const serializeAws_json1_1ImportCertificateCommand = async (input, context) => {
66
+ exports.se_GetCertificateCommand = se_GetCertificateCommand;
67
+ const se_ImportCertificateCommand = async (input, context) => {
68
68
  const headers = {
69
69
  "content-type": "application/x-amz-json-1.1",
70
70
  "x-amz-target": "CertificateManager.ImportCertificate",
71
71
  };
72
72
  let body;
73
- body = JSON.stringify(serializeAws_json1_1ImportCertificateRequest(input, context));
73
+ body = JSON.stringify(se_ImportCertificateRequest(input, context));
74
74
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
75
75
  };
76
- exports.serializeAws_json1_1ImportCertificateCommand = serializeAws_json1_1ImportCertificateCommand;
77
- const serializeAws_json1_1ListCertificatesCommand = async (input, context) => {
76
+ exports.se_ImportCertificateCommand = se_ImportCertificateCommand;
77
+ const se_ListCertificatesCommand = async (input, context) => {
78
78
  const headers = {
79
79
  "content-type": "application/x-amz-json-1.1",
80
80
  "x-amz-target": "CertificateManager.ListCertificates",
81
81
  };
82
82
  let body;
83
- body = JSON.stringify(serializeAws_json1_1ListCertificatesRequest(input, context));
83
+ body = JSON.stringify(se_ListCertificatesRequest(input, context));
84
84
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
85
85
  };
86
- exports.serializeAws_json1_1ListCertificatesCommand = serializeAws_json1_1ListCertificatesCommand;
87
- const serializeAws_json1_1ListTagsForCertificateCommand = async (input, context) => {
86
+ exports.se_ListCertificatesCommand = se_ListCertificatesCommand;
87
+ const se_ListTagsForCertificateCommand = async (input, context) => {
88
88
  const headers = {
89
89
  "content-type": "application/x-amz-json-1.1",
90
90
  "x-amz-target": "CertificateManager.ListTagsForCertificate",
91
91
  };
92
92
  let body;
93
- body = JSON.stringify(serializeAws_json1_1ListTagsForCertificateRequest(input, context));
93
+ body = JSON.stringify(se_ListTagsForCertificateRequest(input, context));
94
94
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
95
95
  };
96
- exports.serializeAws_json1_1ListTagsForCertificateCommand = serializeAws_json1_1ListTagsForCertificateCommand;
97
- const serializeAws_json1_1PutAccountConfigurationCommand = async (input, context) => {
96
+ exports.se_ListTagsForCertificateCommand = se_ListTagsForCertificateCommand;
97
+ const se_PutAccountConfigurationCommand = async (input, context) => {
98
98
  const headers = {
99
99
  "content-type": "application/x-amz-json-1.1",
100
100
  "x-amz-target": "CertificateManager.PutAccountConfiguration",
101
101
  };
102
102
  let body;
103
- body = JSON.stringify(serializeAws_json1_1PutAccountConfigurationRequest(input, context));
103
+ body = JSON.stringify(se_PutAccountConfigurationRequest(input, context));
104
104
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
105
105
  };
106
- exports.serializeAws_json1_1PutAccountConfigurationCommand = serializeAws_json1_1PutAccountConfigurationCommand;
107
- const serializeAws_json1_1RemoveTagsFromCertificateCommand = async (input, context) => {
106
+ exports.se_PutAccountConfigurationCommand = se_PutAccountConfigurationCommand;
107
+ const se_RemoveTagsFromCertificateCommand = async (input, context) => {
108
108
  const headers = {
109
109
  "content-type": "application/x-amz-json-1.1",
110
110
  "x-amz-target": "CertificateManager.RemoveTagsFromCertificate",
111
111
  };
112
112
  let body;
113
- body = JSON.stringify(serializeAws_json1_1RemoveTagsFromCertificateRequest(input, context));
113
+ body = JSON.stringify(se_RemoveTagsFromCertificateRequest(input, context));
114
114
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
115
115
  };
116
- exports.serializeAws_json1_1RemoveTagsFromCertificateCommand = serializeAws_json1_1RemoveTagsFromCertificateCommand;
117
- const serializeAws_json1_1RenewCertificateCommand = async (input, context) => {
116
+ exports.se_RemoveTagsFromCertificateCommand = se_RemoveTagsFromCertificateCommand;
117
+ const se_RenewCertificateCommand = async (input, context) => {
118
118
  const headers = {
119
119
  "content-type": "application/x-amz-json-1.1",
120
120
  "x-amz-target": "CertificateManager.RenewCertificate",
121
121
  };
122
122
  let body;
123
- body = JSON.stringify(serializeAws_json1_1RenewCertificateRequest(input, context));
123
+ body = JSON.stringify(se_RenewCertificateRequest(input, context));
124
124
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
125
125
  };
126
- exports.serializeAws_json1_1RenewCertificateCommand = serializeAws_json1_1RenewCertificateCommand;
127
- const serializeAws_json1_1RequestCertificateCommand = async (input, context) => {
126
+ exports.se_RenewCertificateCommand = se_RenewCertificateCommand;
127
+ const se_RequestCertificateCommand = async (input, context) => {
128
128
  const headers = {
129
129
  "content-type": "application/x-amz-json-1.1",
130
130
  "x-amz-target": "CertificateManager.RequestCertificate",
131
131
  };
132
132
  let body;
133
- body = JSON.stringify(serializeAws_json1_1RequestCertificateRequest(input, context));
133
+ body = JSON.stringify(se_RequestCertificateRequest(input, context));
134
134
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
135
135
  };
136
- exports.serializeAws_json1_1RequestCertificateCommand = serializeAws_json1_1RequestCertificateCommand;
137
- const serializeAws_json1_1ResendValidationEmailCommand = async (input, context) => {
136
+ exports.se_RequestCertificateCommand = se_RequestCertificateCommand;
137
+ const se_ResendValidationEmailCommand = async (input, context) => {
138
138
  const headers = {
139
139
  "content-type": "application/x-amz-json-1.1",
140
140
  "x-amz-target": "CertificateManager.ResendValidationEmail",
141
141
  };
142
142
  let body;
143
- body = JSON.stringify(serializeAws_json1_1ResendValidationEmailRequest(input, context));
143
+ body = JSON.stringify(se_ResendValidationEmailRequest(input, context));
144
144
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
145
145
  };
146
- exports.serializeAws_json1_1ResendValidationEmailCommand = serializeAws_json1_1ResendValidationEmailCommand;
147
- const serializeAws_json1_1UpdateCertificateOptionsCommand = async (input, context) => {
146
+ exports.se_ResendValidationEmailCommand = se_ResendValidationEmailCommand;
147
+ const se_UpdateCertificateOptionsCommand = async (input, context) => {
148
148
  const headers = {
149
149
  "content-type": "application/x-amz-json-1.1",
150
150
  "x-amz-target": "CertificateManager.UpdateCertificateOptions",
151
151
  };
152
152
  let body;
153
- body = JSON.stringify(serializeAws_json1_1UpdateCertificateOptionsRequest(input, context));
153
+ body = JSON.stringify(se_UpdateCertificateOptionsRequest(input, context));
154
154
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
155
155
  };
156
- exports.serializeAws_json1_1UpdateCertificateOptionsCommand = serializeAws_json1_1UpdateCertificateOptionsCommand;
157
- const deserializeAws_json1_1AddTagsToCertificateCommand = async (output, context) => {
156
+ exports.se_UpdateCertificateOptionsCommand = se_UpdateCertificateOptionsCommand;
157
+ const de_AddTagsToCertificateCommand = async (output, context) => {
158
158
  if (output.statusCode >= 300) {
159
- return deserializeAws_json1_1AddTagsToCertificateCommandError(output, context);
159
+ return de_AddTagsToCertificateCommandError(output, context);
160
160
  }
161
161
  await collectBody(output.body, context);
162
162
  const response = {
@@ -164,8 +164,8 @@ const deserializeAws_json1_1AddTagsToCertificateCommand = async (output, context
164
164
  };
165
165
  return Promise.resolve(response);
166
166
  };
167
- exports.deserializeAws_json1_1AddTagsToCertificateCommand = deserializeAws_json1_1AddTagsToCertificateCommand;
168
- const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, context) => {
167
+ exports.de_AddTagsToCertificateCommand = de_AddTagsToCertificateCommand;
168
+ const de_AddTagsToCertificateCommandError = async (output, context) => {
169
169
  const parsedOutput = {
170
170
  ...output,
171
171
  body: await parseErrorBody(output.body, context),
@@ -174,25 +174,25 @@ const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, co
174
174
  switch (errorCode) {
175
175
  case "InvalidArnException":
176
176
  case "com.amazonaws.acm#InvalidArnException":
177
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
177
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
178
178
  case "InvalidParameterException":
179
179
  case "com.amazonaws.acm#InvalidParameterException":
180
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
180
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
181
181
  case "InvalidTagException":
182
182
  case "com.amazonaws.acm#InvalidTagException":
183
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
183
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
184
184
  case "ResourceNotFoundException":
185
185
  case "com.amazonaws.acm#ResourceNotFoundException":
186
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
186
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
187
187
  case "TagPolicyException":
188
188
  case "com.amazonaws.acm#TagPolicyException":
189
- throw await deserializeAws_json1_1TagPolicyExceptionResponse(parsedOutput, context);
189
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
190
190
  case "ThrottlingException":
191
191
  case "com.amazonaws.acm#ThrottlingException":
192
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
192
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
193
193
  case "TooManyTagsException":
194
194
  case "com.amazonaws.acm#TooManyTagsException":
195
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
195
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
196
196
  default:
197
197
  const parsedBody = parsedOutput.body;
198
198
  (0, smithy_client_1.throwDefaultError)({
@@ -203,9 +203,9 @@ const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, co
203
203
  });
204
204
  }
205
205
  };
206
- const deserializeAws_json1_1DeleteCertificateCommand = async (output, context) => {
206
+ const de_DeleteCertificateCommand = async (output, context) => {
207
207
  if (output.statusCode >= 300) {
208
- return deserializeAws_json1_1DeleteCertificateCommandError(output, context);
208
+ return de_DeleteCertificateCommandError(output, context);
209
209
  }
210
210
  await collectBody(output.body, context);
211
211
  const response = {
@@ -213,8 +213,8 @@ const deserializeAws_json1_1DeleteCertificateCommand = async (output, context) =
213
213
  };
214
214
  return Promise.resolve(response);
215
215
  };
216
- exports.deserializeAws_json1_1DeleteCertificateCommand = deserializeAws_json1_1DeleteCertificateCommand;
217
- const deserializeAws_json1_1DeleteCertificateCommandError = async (output, context) => {
216
+ exports.de_DeleteCertificateCommand = de_DeleteCertificateCommand;
217
+ const de_DeleteCertificateCommandError = async (output, context) => {
218
218
  const parsedOutput = {
219
219
  ...output,
220
220
  body: await parseErrorBody(output.body, context),
@@ -223,22 +223,22 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
223
223
  switch (errorCode) {
224
224
  case "AccessDeniedException":
225
225
  case "com.amazonaws.acm#AccessDeniedException":
226
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
226
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
227
227
  case "ConflictException":
228
228
  case "com.amazonaws.acm#ConflictException":
229
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
229
+ throw await de_ConflictExceptionRes(parsedOutput, context);
230
230
  case "InvalidArnException":
231
231
  case "com.amazonaws.acm#InvalidArnException":
232
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
232
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
233
233
  case "ResourceInUseException":
234
234
  case "com.amazonaws.acm#ResourceInUseException":
235
- throw await deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context);
235
+ throw await de_ResourceInUseExceptionRes(parsedOutput, context);
236
236
  case "ResourceNotFoundException":
237
237
  case "com.amazonaws.acm#ResourceNotFoundException":
238
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
238
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
239
239
  case "ThrottlingException":
240
240
  case "com.amazonaws.acm#ThrottlingException":
241
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
241
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
242
242
  default:
243
243
  const parsedBody = parsedOutput.body;
244
244
  (0, smithy_client_1.throwDefaultError)({
@@ -249,21 +249,21 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
249
249
  });
250
250
  }
251
251
  };
252
- const deserializeAws_json1_1DescribeCertificateCommand = async (output, context) => {
252
+ const de_DescribeCertificateCommand = async (output, context) => {
253
253
  if (output.statusCode >= 300) {
254
- return deserializeAws_json1_1DescribeCertificateCommandError(output, context);
254
+ return de_DescribeCertificateCommandError(output, context);
255
255
  }
256
256
  const data = await parseBody(output.body, context);
257
257
  let contents = {};
258
- contents = deserializeAws_json1_1DescribeCertificateResponse(data, context);
258
+ contents = de_DescribeCertificateResponse(data, context);
259
259
  const response = {
260
260
  $metadata: deserializeMetadata(output),
261
261
  ...contents,
262
262
  };
263
263
  return Promise.resolve(response);
264
264
  };
265
- exports.deserializeAws_json1_1DescribeCertificateCommand = deserializeAws_json1_1DescribeCertificateCommand;
266
- const deserializeAws_json1_1DescribeCertificateCommandError = async (output, context) => {
265
+ exports.de_DescribeCertificateCommand = de_DescribeCertificateCommand;
266
+ const de_DescribeCertificateCommandError = async (output, context) => {
267
267
  const parsedOutput = {
268
268
  ...output,
269
269
  body: await parseErrorBody(output.body, context),
@@ -272,10 +272,10 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
272
272
  switch (errorCode) {
273
273
  case "InvalidArnException":
274
274
  case "com.amazonaws.acm#InvalidArnException":
275
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
275
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
276
276
  case "ResourceNotFoundException":
277
277
  case "com.amazonaws.acm#ResourceNotFoundException":
278
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
278
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
279
279
  default:
280
280
  const parsedBody = parsedOutput.body;
281
281
  (0, smithy_client_1.throwDefaultError)({
@@ -286,21 +286,21 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
286
286
  });
287
287
  }
288
288
  };
289
- const deserializeAws_json1_1ExportCertificateCommand = async (output, context) => {
289
+ const de_ExportCertificateCommand = async (output, context) => {
290
290
  if (output.statusCode >= 300) {
291
- return deserializeAws_json1_1ExportCertificateCommandError(output, context);
291
+ return de_ExportCertificateCommandError(output, context);
292
292
  }
293
293
  const data = await parseBody(output.body, context);
294
294
  let contents = {};
295
- contents = deserializeAws_json1_1ExportCertificateResponse(data, context);
295
+ contents = de_ExportCertificateResponse(data, context);
296
296
  const response = {
297
297
  $metadata: deserializeMetadata(output),
298
298
  ...contents,
299
299
  };
300
300
  return Promise.resolve(response);
301
301
  };
302
- exports.deserializeAws_json1_1ExportCertificateCommand = deserializeAws_json1_1ExportCertificateCommand;
303
- const deserializeAws_json1_1ExportCertificateCommandError = async (output, context) => {
302
+ exports.de_ExportCertificateCommand = de_ExportCertificateCommand;
303
+ const de_ExportCertificateCommandError = async (output, context) => {
304
304
  const parsedOutput = {
305
305
  ...output,
306
306
  body: await parseErrorBody(output.body, context),
@@ -309,13 +309,13 @@ const deserializeAws_json1_1ExportCertificateCommandError = async (output, conte
309
309
  switch (errorCode) {
310
310
  case "InvalidArnException":
311
311
  case "com.amazonaws.acm#InvalidArnException":
312
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
312
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
313
313
  case "RequestInProgressException":
314
314
  case "com.amazonaws.acm#RequestInProgressException":
315
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
315
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
316
316
  case "ResourceNotFoundException":
317
317
  case "com.amazonaws.acm#ResourceNotFoundException":
318
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
318
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
319
319
  default:
320
320
  const parsedBody = parsedOutput.body;
321
321
  (0, smithy_client_1.throwDefaultError)({
@@ -326,21 +326,21 @@ const deserializeAws_json1_1ExportCertificateCommandError = async (output, conte
326
326
  });
327
327
  }
328
328
  };
329
- const deserializeAws_json1_1GetAccountConfigurationCommand = async (output, context) => {
329
+ const de_GetAccountConfigurationCommand = async (output, context) => {
330
330
  if (output.statusCode >= 300) {
331
- return deserializeAws_json1_1GetAccountConfigurationCommandError(output, context);
331
+ return de_GetAccountConfigurationCommandError(output, context);
332
332
  }
333
333
  const data = await parseBody(output.body, context);
334
334
  let contents = {};
335
- contents = deserializeAws_json1_1GetAccountConfigurationResponse(data, context);
335
+ contents = de_GetAccountConfigurationResponse(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
- exports.deserializeAws_json1_1GetAccountConfigurationCommand = deserializeAws_json1_1GetAccountConfigurationCommand;
343
- const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output, context) => {
342
+ exports.de_GetAccountConfigurationCommand = de_GetAccountConfigurationCommand;
343
+ const de_GetAccountConfigurationCommandError = async (output, context) => {
344
344
  const parsedOutput = {
345
345
  ...output,
346
346
  body: await parseErrorBody(output.body, context),
@@ -349,10 +349,10 @@ const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output,
349
349
  switch (errorCode) {
350
350
  case "AccessDeniedException":
351
351
  case "com.amazonaws.acm#AccessDeniedException":
352
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
352
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
353
353
  case "ThrottlingException":
354
354
  case "com.amazonaws.acm#ThrottlingException":
355
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
355
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
356
356
  default:
357
357
  const parsedBody = parsedOutput.body;
358
358
  (0, smithy_client_1.throwDefaultError)({
@@ -363,21 +363,21 @@ const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output,
363
363
  });
364
364
  }
365
365
  };
366
- const deserializeAws_json1_1GetCertificateCommand = async (output, context) => {
366
+ const de_GetCertificateCommand = async (output, context) => {
367
367
  if (output.statusCode >= 300) {
368
- return deserializeAws_json1_1GetCertificateCommandError(output, context);
368
+ return de_GetCertificateCommandError(output, context);
369
369
  }
370
370
  const data = await parseBody(output.body, context);
371
371
  let contents = {};
372
- contents = deserializeAws_json1_1GetCertificateResponse(data, context);
372
+ contents = de_GetCertificateResponse(data, context);
373
373
  const response = {
374
374
  $metadata: deserializeMetadata(output),
375
375
  ...contents,
376
376
  };
377
377
  return Promise.resolve(response);
378
378
  };
379
- exports.deserializeAws_json1_1GetCertificateCommand = deserializeAws_json1_1GetCertificateCommand;
380
- const deserializeAws_json1_1GetCertificateCommandError = async (output, context) => {
379
+ exports.de_GetCertificateCommand = de_GetCertificateCommand;
380
+ const de_GetCertificateCommandError = async (output, context) => {
381
381
  const parsedOutput = {
382
382
  ...output,
383
383
  body: await parseErrorBody(output.body, context),
@@ -386,13 +386,13 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
386
386
  switch (errorCode) {
387
387
  case "InvalidArnException":
388
388
  case "com.amazonaws.acm#InvalidArnException":
389
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
389
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
390
390
  case "RequestInProgressException":
391
391
  case "com.amazonaws.acm#RequestInProgressException":
392
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
392
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
393
393
  case "ResourceNotFoundException":
394
394
  case "com.amazonaws.acm#ResourceNotFoundException":
395
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
395
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
396
396
  default:
397
397
  const parsedBody = parsedOutput.body;
398
398
  (0, smithy_client_1.throwDefaultError)({
@@ -403,21 +403,21 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
403
403
  });
404
404
  }
405
405
  };
406
- const deserializeAws_json1_1ImportCertificateCommand = async (output, context) => {
406
+ const de_ImportCertificateCommand = async (output, context) => {
407
407
  if (output.statusCode >= 300) {
408
- return deserializeAws_json1_1ImportCertificateCommandError(output, context);
408
+ return de_ImportCertificateCommandError(output, context);
409
409
  }
410
410
  const data = await parseBody(output.body, context);
411
411
  let contents = {};
412
- contents = deserializeAws_json1_1ImportCertificateResponse(data, context);
412
+ contents = de_ImportCertificateResponse(data, context);
413
413
  const response = {
414
414
  $metadata: deserializeMetadata(output),
415
415
  ...contents,
416
416
  };
417
417
  return Promise.resolve(response);
418
418
  };
419
- exports.deserializeAws_json1_1ImportCertificateCommand = deserializeAws_json1_1ImportCertificateCommand;
420
- const deserializeAws_json1_1ImportCertificateCommandError = async (output, context) => {
419
+ exports.de_ImportCertificateCommand = de_ImportCertificateCommand;
420
+ const de_ImportCertificateCommandError = async (output, context) => {
421
421
  const parsedOutput = {
422
422
  ...output,
423
423
  body: await parseErrorBody(output.body, context),
@@ -426,25 +426,25 @@ const deserializeAws_json1_1ImportCertificateCommandError = async (output, conte
426
426
  switch (errorCode) {
427
427
  case "InvalidArnException":
428
428
  case "com.amazonaws.acm#InvalidArnException":
429
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
429
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
430
430
  case "InvalidParameterException":
431
431
  case "com.amazonaws.acm#InvalidParameterException":
432
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
432
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
433
433
  case "InvalidTagException":
434
434
  case "com.amazonaws.acm#InvalidTagException":
435
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
435
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
436
436
  case "LimitExceededException":
437
437
  case "com.amazonaws.acm#LimitExceededException":
438
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
438
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
439
439
  case "ResourceNotFoundException":
440
440
  case "com.amazonaws.acm#ResourceNotFoundException":
441
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
441
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
442
442
  case "TagPolicyException":
443
443
  case "com.amazonaws.acm#TagPolicyException":
444
- throw await deserializeAws_json1_1TagPolicyExceptionResponse(parsedOutput, context);
444
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
445
445
  case "TooManyTagsException":
446
446
  case "com.amazonaws.acm#TooManyTagsException":
447
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
447
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
448
448
  default:
449
449
  const parsedBody = parsedOutput.body;
450
450
  (0, smithy_client_1.throwDefaultError)({
@@ -455,21 +455,21 @@ const deserializeAws_json1_1ImportCertificateCommandError = async (output, conte
455
455
  });
456
456
  }
457
457
  };
458
- const deserializeAws_json1_1ListCertificatesCommand = async (output, context) => {
458
+ const de_ListCertificatesCommand = async (output, context) => {
459
459
  if (output.statusCode >= 300) {
460
- return deserializeAws_json1_1ListCertificatesCommandError(output, context);
460
+ return de_ListCertificatesCommandError(output, context);
461
461
  }
462
462
  const data = await parseBody(output.body, context);
463
463
  let contents = {};
464
- contents = deserializeAws_json1_1ListCertificatesResponse(data, context);
464
+ contents = de_ListCertificatesResponse(data, context);
465
465
  const response = {
466
466
  $metadata: deserializeMetadata(output),
467
467
  ...contents,
468
468
  };
469
469
  return Promise.resolve(response);
470
470
  };
471
- exports.deserializeAws_json1_1ListCertificatesCommand = deserializeAws_json1_1ListCertificatesCommand;
472
- const deserializeAws_json1_1ListCertificatesCommandError = async (output, context) => {
471
+ exports.de_ListCertificatesCommand = de_ListCertificatesCommand;
472
+ const de_ListCertificatesCommandError = async (output, context) => {
473
473
  const parsedOutput = {
474
474
  ...output,
475
475
  body: await parseErrorBody(output.body, context),
@@ -478,10 +478,10 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
478
478
  switch (errorCode) {
479
479
  case "InvalidArgsException":
480
480
  case "com.amazonaws.acm#InvalidArgsException":
481
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
481
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
482
482
  case "ValidationException":
483
483
  case "com.amazonaws.acm#ValidationException":
484
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
484
+ throw await de_ValidationExceptionRes(parsedOutput, context);
485
485
  default:
486
486
  const parsedBody = parsedOutput.body;
487
487
  (0, smithy_client_1.throwDefaultError)({
@@ -492,21 +492,21 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
492
492
  });
493
493
  }
494
494
  };
495
- const deserializeAws_json1_1ListTagsForCertificateCommand = async (output, context) => {
495
+ const de_ListTagsForCertificateCommand = async (output, context) => {
496
496
  if (output.statusCode >= 300) {
497
- return deserializeAws_json1_1ListTagsForCertificateCommandError(output, context);
497
+ return de_ListTagsForCertificateCommandError(output, context);
498
498
  }
499
499
  const data = await parseBody(output.body, context);
500
500
  let contents = {};
501
- contents = deserializeAws_json1_1ListTagsForCertificateResponse(data, context);
501
+ contents = de_ListTagsForCertificateResponse(data, context);
502
502
  const response = {
503
503
  $metadata: deserializeMetadata(output),
504
504
  ...contents,
505
505
  };
506
506
  return Promise.resolve(response);
507
507
  };
508
- exports.deserializeAws_json1_1ListTagsForCertificateCommand = deserializeAws_json1_1ListTagsForCertificateCommand;
509
- const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output, context) => {
508
+ exports.de_ListTagsForCertificateCommand = de_ListTagsForCertificateCommand;
509
+ const de_ListTagsForCertificateCommandError = async (output, context) => {
510
510
  const parsedOutput = {
511
511
  ...output,
512
512
  body: await parseErrorBody(output.body, context),
@@ -515,10 +515,10 @@ const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output,
515
515
  switch (errorCode) {
516
516
  case "InvalidArnException":
517
517
  case "com.amazonaws.acm#InvalidArnException":
518
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
518
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
519
519
  case "ResourceNotFoundException":
520
520
  case "com.amazonaws.acm#ResourceNotFoundException":
521
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
521
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
522
522
  default:
523
523
  const parsedBody = parsedOutput.body;
524
524
  (0, smithy_client_1.throwDefaultError)({
@@ -529,9 +529,9 @@ const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output,
529
529
  });
530
530
  }
531
531
  };
532
- const deserializeAws_json1_1PutAccountConfigurationCommand = async (output, context) => {
532
+ const de_PutAccountConfigurationCommand = async (output, context) => {
533
533
  if (output.statusCode >= 300) {
534
- return deserializeAws_json1_1PutAccountConfigurationCommandError(output, context);
534
+ return de_PutAccountConfigurationCommandError(output, context);
535
535
  }
536
536
  await collectBody(output.body, context);
537
537
  const response = {
@@ -539,8 +539,8 @@ const deserializeAws_json1_1PutAccountConfigurationCommand = async (output, cont
539
539
  };
540
540
  return Promise.resolve(response);
541
541
  };
542
- exports.deserializeAws_json1_1PutAccountConfigurationCommand = deserializeAws_json1_1PutAccountConfigurationCommand;
543
- const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output, context) => {
542
+ exports.de_PutAccountConfigurationCommand = de_PutAccountConfigurationCommand;
543
+ const de_PutAccountConfigurationCommandError = async (output, context) => {
544
544
  const parsedOutput = {
545
545
  ...output,
546
546
  body: await parseErrorBody(output.body, context),
@@ -549,16 +549,16 @@ const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output,
549
549
  switch (errorCode) {
550
550
  case "AccessDeniedException":
551
551
  case "com.amazonaws.acm#AccessDeniedException":
552
- throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
552
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
553
553
  case "ConflictException":
554
554
  case "com.amazonaws.acm#ConflictException":
555
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
555
+ throw await de_ConflictExceptionRes(parsedOutput, context);
556
556
  case "ThrottlingException":
557
557
  case "com.amazonaws.acm#ThrottlingException":
558
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
558
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
559
559
  case "ValidationException":
560
560
  case "com.amazonaws.acm#ValidationException":
561
- throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
561
+ throw await de_ValidationExceptionRes(parsedOutput, context);
562
562
  default:
563
563
  const parsedBody = parsedOutput.body;
564
564
  (0, smithy_client_1.throwDefaultError)({
@@ -569,9 +569,9 @@ const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output,
569
569
  });
570
570
  }
571
571
  };
572
- const deserializeAws_json1_1RemoveTagsFromCertificateCommand = async (output, context) => {
572
+ const de_RemoveTagsFromCertificateCommand = async (output, context) => {
573
573
  if (output.statusCode >= 300) {
574
- return deserializeAws_json1_1RemoveTagsFromCertificateCommandError(output, context);
574
+ return de_RemoveTagsFromCertificateCommandError(output, context);
575
575
  }
576
576
  await collectBody(output.body, context);
577
577
  const response = {
@@ -579,8 +579,8 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommand = async (output, co
579
579
  };
580
580
  return Promise.resolve(response);
581
581
  };
582
- exports.deserializeAws_json1_1RemoveTagsFromCertificateCommand = deserializeAws_json1_1RemoveTagsFromCertificateCommand;
583
- const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (output, context) => {
582
+ exports.de_RemoveTagsFromCertificateCommand = de_RemoveTagsFromCertificateCommand;
583
+ const de_RemoveTagsFromCertificateCommandError = async (output, context) => {
584
584
  const parsedOutput = {
585
585
  ...output,
586
586
  body: await parseErrorBody(output.body, context),
@@ -589,22 +589,22 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (outpu
589
589
  switch (errorCode) {
590
590
  case "InvalidArnException":
591
591
  case "com.amazonaws.acm#InvalidArnException":
592
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
592
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
593
593
  case "InvalidParameterException":
594
594
  case "com.amazonaws.acm#InvalidParameterException":
595
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
595
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
596
596
  case "InvalidTagException":
597
597
  case "com.amazonaws.acm#InvalidTagException":
598
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
598
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
599
599
  case "ResourceNotFoundException":
600
600
  case "com.amazonaws.acm#ResourceNotFoundException":
601
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
601
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
602
602
  case "TagPolicyException":
603
603
  case "com.amazonaws.acm#TagPolicyException":
604
- throw await deserializeAws_json1_1TagPolicyExceptionResponse(parsedOutput, context);
604
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
605
605
  case "ThrottlingException":
606
606
  case "com.amazonaws.acm#ThrottlingException":
607
- throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
607
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
608
608
  default:
609
609
  const parsedBody = parsedOutput.body;
610
610
  (0, smithy_client_1.throwDefaultError)({
@@ -615,9 +615,9 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (outpu
615
615
  });
616
616
  }
617
617
  };
618
- const deserializeAws_json1_1RenewCertificateCommand = async (output, context) => {
618
+ const de_RenewCertificateCommand = async (output, context) => {
619
619
  if (output.statusCode >= 300) {
620
- return deserializeAws_json1_1RenewCertificateCommandError(output, context);
620
+ return de_RenewCertificateCommandError(output, context);
621
621
  }
622
622
  await collectBody(output.body, context);
623
623
  const response = {
@@ -625,8 +625,8 @@ const deserializeAws_json1_1RenewCertificateCommand = async (output, context) =>
625
625
  };
626
626
  return Promise.resolve(response);
627
627
  };
628
- exports.deserializeAws_json1_1RenewCertificateCommand = deserializeAws_json1_1RenewCertificateCommand;
629
- const deserializeAws_json1_1RenewCertificateCommandError = async (output, context) => {
628
+ exports.de_RenewCertificateCommand = de_RenewCertificateCommand;
629
+ const de_RenewCertificateCommandError = async (output, context) => {
630
630
  const parsedOutput = {
631
631
  ...output,
632
632
  body: await parseErrorBody(output.body, context),
@@ -635,10 +635,10 @@ const deserializeAws_json1_1RenewCertificateCommandError = async (output, contex
635
635
  switch (errorCode) {
636
636
  case "InvalidArnException":
637
637
  case "com.amazonaws.acm#InvalidArnException":
638
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
638
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
639
639
  case "ResourceNotFoundException":
640
640
  case "com.amazonaws.acm#ResourceNotFoundException":
641
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
641
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
642
642
  default:
643
643
  const parsedBody = parsedOutput.body;
644
644
  (0, smithy_client_1.throwDefaultError)({
@@ -649,21 +649,21 @@ const deserializeAws_json1_1RenewCertificateCommandError = async (output, contex
649
649
  });
650
650
  }
651
651
  };
652
- const deserializeAws_json1_1RequestCertificateCommand = async (output, context) => {
652
+ const de_RequestCertificateCommand = async (output, context) => {
653
653
  if (output.statusCode >= 300) {
654
- return deserializeAws_json1_1RequestCertificateCommandError(output, context);
654
+ return de_RequestCertificateCommandError(output, context);
655
655
  }
656
656
  const data = await parseBody(output.body, context);
657
657
  let contents = {};
658
- contents = deserializeAws_json1_1RequestCertificateResponse(data, context);
658
+ contents = de_RequestCertificateResponse(data, context);
659
659
  const response = {
660
660
  $metadata: deserializeMetadata(output),
661
661
  ...contents,
662
662
  };
663
663
  return Promise.resolve(response);
664
664
  };
665
- exports.deserializeAws_json1_1RequestCertificateCommand = deserializeAws_json1_1RequestCertificateCommand;
666
- const deserializeAws_json1_1RequestCertificateCommandError = async (output, context) => {
665
+ exports.de_RequestCertificateCommand = de_RequestCertificateCommand;
666
+ const de_RequestCertificateCommandError = async (output, context) => {
667
667
  const parsedOutput = {
668
668
  ...output,
669
669
  body: await parseErrorBody(output.body, context),
@@ -672,25 +672,25 @@ const deserializeAws_json1_1RequestCertificateCommandError = async (output, cont
672
672
  switch (errorCode) {
673
673
  case "InvalidArnException":
674
674
  case "com.amazonaws.acm#InvalidArnException":
675
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
675
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
676
676
  case "InvalidDomainValidationOptionsException":
677
677
  case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
678
- throw await deserializeAws_json1_1InvalidDomainValidationOptionsExceptionResponse(parsedOutput, context);
678
+ throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
679
679
  case "InvalidParameterException":
680
680
  case "com.amazonaws.acm#InvalidParameterException":
681
- throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
681
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
682
682
  case "InvalidTagException":
683
683
  case "com.amazonaws.acm#InvalidTagException":
684
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
684
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
685
685
  case "LimitExceededException":
686
686
  case "com.amazonaws.acm#LimitExceededException":
687
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
687
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
688
688
  case "TagPolicyException":
689
689
  case "com.amazonaws.acm#TagPolicyException":
690
- throw await deserializeAws_json1_1TagPolicyExceptionResponse(parsedOutput, context);
690
+ throw await de_TagPolicyExceptionRes(parsedOutput, context);
691
691
  case "TooManyTagsException":
692
692
  case "com.amazonaws.acm#TooManyTagsException":
693
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
693
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
694
694
  default:
695
695
  const parsedBody = parsedOutput.body;
696
696
  (0, smithy_client_1.throwDefaultError)({
@@ -701,9 +701,9 @@ const deserializeAws_json1_1RequestCertificateCommandError = async (output, cont
701
701
  });
702
702
  }
703
703
  };
704
- const deserializeAws_json1_1ResendValidationEmailCommand = async (output, context) => {
704
+ const de_ResendValidationEmailCommand = async (output, context) => {
705
705
  if (output.statusCode >= 300) {
706
- return deserializeAws_json1_1ResendValidationEmailCommandError(output, context);
706
+ return de_ResendValidationEmailCommandError(output, context);
707
707
  }
708
708
  await collectBody(output.body, context);
709
709
  const response = {
@@ -711,8 +711,8 @@ const deserializeAws_json1_1ResendValidationEmailCommand = async (output, contex
711
711
  };
712
712
  return Promise.resolve(response);
713
713
  };
714
- exports.deserializeAws_json1_1ResendValidationEmailCommand = deserializeAws_json1_1ResendValidationEmailCommand;
715
- const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, context) => {
714
+ exports.de_ResendValidationEmailCommand = de_ResendValidationEmailCommand;
715
+ const de_ResendValidationEmailCommandError = async (output, context) => {
716
716
  const parsedOutput = {
717
717
  ...output,
718
718
  body: await parseErrorBody(output.body, context),
@@ -721,16 +721,16 @@ const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, c
721
721
  switch (errorCode) {
722
722
  case "InvalidArnException":
723
723
  case "com.amazonaws.acm#InvalidArnException":
724
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
724
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
725
725
  case "InvalidDomainValidationOptionsException":
726
726
  case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
727
- throw await deserializeAws_json1_1InvalidDomainValidationOptionsExceptionResponse(parsedOutput, context);
727
+ throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
728
728
  case "InvalidStateException":
729
729
  case "com.amazonaws.acm#InvalidStateException":
730
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
730
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
731
731
  case "ResourceNotFoundException":
732
732
  case "com.amazonaws.acm#ResourceNotFoundException":
733
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
733
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
734
734
  default:
735
735
  const parsedBody = parsedOutput.body;
736
736
  (0, smithy_client_1.throwDefaultError)({
@@ -741,9 +741,9 @@ const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, c
741
741
  });
742
742
  }
743
743
  };
744
- const deserializeAws_json1_1UpdateCertificateOptionsCommand = async (output, context) => {
744
+ const de_UpdateCertificateOptionsCommand = async (output, context) => {
745
745
  if (output.statusCode >= 300) {
746
- return deserializeAws_json1_1UpdateCertificateOptionsCommandError(output, context);
746
+ return de_UpdateCertificateOptionsCommandError(output, context);
747
747
  }
748
748
  await collectBody(output.body, context);
749
749
  const response = {
@@ -751,8 +751,8 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommand = async (output, con
751
751
  };
752
752
  return Promise.resolve(response);
753
753
  };
754
- exports.deserializeAws_json1_1UpdateCertificateOptionsCommand = deserializeAws_json1_1UpdateCertificateOptionsCommand;
755
- const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output, context) => {
754
+ exports.de_UpdateCertificateOptionsCommand = de_UpdateCertificateOptionsCommand;
755
+ const de_UpdateCertificateOptionsCommandError = async (output, context) => {
756
756
  const parsedOutput = {
757
757
  ...output,
758
758
  body: await parseErrorBody(output.body, context),
@@ -761,16 +761,16 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output
761
761
  switch (errorCode) {
762
762
  case "InvalidArnException":
763
763
  case "com.amazonaws.acm#InvalidArnException":
764
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
764
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
765
765
  case "InvalidStateException":
766
766
  case "com.amazonaws.acm#InvalidStateException":
767
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
767
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
768
768
  case "LimitExceededException":
769
769
  case "com.amazonaws.acm#LimitExceededException":
770
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
770
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
771
771
  case "ResourceNotFoundException":
772
772
  case "com.amazonaws.acm#ResourceNotFoundException":
773
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
773
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
774
774
  default:
775
775
  const parsedBody = parsedOutput.body;
776
776
  (0, smithy_client_1.throwDefaultError)({
@@ -781,428 +781,420 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output
781
781
  });
782
782
  }
783
783
  };
784
- const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
784
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
785
785
  const body = parsedOutput.body;
786
- const deserialized = deserializeAws_json1_1AccessDeniedException(body, context);
786
+ const deserialized = de_AccessDeniedException(body, context);
787
787
  const exception = new models_0_1.AccessDeniedException({
788
788
  $metadata: deserializeMetadata(parsedOutput),
789
789
  ...deserialized,
790
790
  });
791
791
  return (0, smithy_client_1.decorateServiceException)(exception, body);
792
792
  };
793
- const deserializeAws_json1_1ConflictExceptionResponse = async (parsedOutput, context) => {
793
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
794
794
  const body = parsedOutput.body;
795
- const deserialized = deserializeAws_json1_1ConflictException(body, context);
795
+ const deserialized = de_ConflictException(body, context);
796
796
  const exception = new models_0_1.ConflictException({
797
797
  $metadata: deserializeMetadata(parsedOutput),
798
798
  ...deserialized,
799
799
  });
800
800
  return (0, smithy_client_1.decorateServiceException)(exception, body);
801
801
  };
802
- const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput, context) => {
802
+ const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
803
803
  const body = parsedOutput.body;
804
- const deserialized = deserializeAws_json1_1InvalidArgsException(body, context);
804
+ const deserialized = de_InvalidArgsException(body, context);
805
805
  const exception = new models_0_1.InvalidArgsException({
806
806
  $metadata: deserializeMetadata(parsedOutput),
807
807
  ...deserialized,
808
808
  });
809
809
  return (0, smithy_client_1.decorateServiceException)(exception, body);
810
810
  };
811
- const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
811
+ const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
812
812
  const body = parsedOutput.body;
813
- const deserialized = deserializeAws_json1_1InvalidArnException(body, context);
813
+ const deserialized = de_InvalidArnException(body, context);
814
814
  const exception = new models_0_1.InvalidArnException({
815
815
  $metadata: deserializeMetadata(parsedOutput),
816
816
  ...deserialized,
817
817
  });
818
818
  return (0, smithy_client_1.decorateServiceException)(exception, body);
819
819
  };
820
- const deserializeAws_json1_1InvalidDomainValidationOptionsExceptionResponse = async (parsedOutput, context) => {
820
+ const de_InvalidDomainValidationOptionsExceptionRes = async (parsedOutput, context) => {
821
821
  const body = parsedOutput.body;
822
- const deserialized = deserializeAws_json1_1InvalidDomainValidationOptionsException(body, context);
822
+ const deserialized = de_InvalidDomainValidationOptionsException(body, context);
823
823
  const exception = new models_0_1.InvalidDomainValidationOptionsException({
824
824
  $metadata: deserializeMetadata(parsedOutput),
825
825
  ...deserialized,
826
826
  });
827
827
  return (0, smithy_client_1.decorateServiceException)(exception, body);
828
828
  };
829
- const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
829
+ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
830
830
  const body = parsedOutput.body;
831
- const deserialized = deserializeAws_json1_1InvalidParameterException(body, context);
831
+ const deserialized = de_InvalidParameterException(body, context);
832
832
  const exception = new models_0_1.InvalidParameterException({
833
833
  $metadata: deserializeMetadata(parsedOutput),
834
834
  ...deserialized,
835
835
  });
836
836
  return (0, smithy_client_1.decorateServiceException)(exception, body);
837
837
  };
838
- const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput, context) => {
838
+ const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
839
839
  const body = parsedOutput.body;
840
- const deserialized = deserializeAws_json1_1InvalidStateException(body, context);
840
+ const deserialized = de_InvalidStateException(body, context);
841
841
  const exception = new models_0_1.InvalidStateException({
842
842
  $metadata: deserializeMetadata(parsedOutput),
843
843
  ...deserialized,
844
844
  });
845
845
  return (0, smithy_client_1.decorateServiceException)(exception, body);
846
846
  };
847
- const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, context) => {
847
+ const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
848
848
  const body = parsedOutput.body;
849
- const deserialized = deserializeAws_json1_1InvalidTagException(body, context);
849
+ const deserialized = de_InvalidTagException(body, context);
850
850
  const exception = new models_0_1.InvalidTagException({
851
851
  $metadata: deserializeMetadata(parsedOutput),
852
852
  ...deserialized,
853
853
  });
854
854
  return (0, smithy_client_1.decorateServiceException)(exception, body);
855
855
  };
856
- const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
856
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
857
857
  const body = parsedOutput.body;
858
- const deserialized = deserializeAws_json1_1LimitExceededException(body, context);
858
+ const deserialized = de_LimitExceededException(body, context);
859
859
  const exception = new models_0_1.LimitExceededException({
860
860
  $metadata: deserializeMetadata(parsedOutput),
861
861
  ...deserialized,
862
862
  });
863
863
  return (0, smithy_client_1.decorateServiceException)(exception, body);
864
864
  };
865
- const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOutput, context) => {
865
+ const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
866
866
  const body = parsedOutput.body;
867
- const deserialized = deserializeAws_json1_1RequestInProgressException(body, context);
867
+ const deserialized = de_RequestInProgressException(body, context);
868
868
  const exception = new models_0_1.RequestInProgressException({
869
869
  $metadata: deserializeMetadata(parsedOutput),
870
870
  ...deserialized,
871
871
  });
872
872
  return (0, smithy_client_1.decorateServiceException)(exception, body);
873
873
  };
874
- const deserializeAws_json1_1ResourceInUseExceptionResponse = async (parsedOutput, context) => {
874
+ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
875
875
  const body = parsedOutput.body;
876
- const deserialized = deserializeAws_json1_1ResourceInUseException(body, context);
876
+ const deserialized = de_ResourceInUseException(body, context);
877
877
  const exception = new models_0_1.ResourceInUseException({
878
878
  $metadata: deserializeMetadata(parsedOutput),
879
879
  ...deserialized,
880
880
  });
881
881
  return (0, smithy_client_1.decorateServiceException)(exception, body);
882
882
  };
883
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
883
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
884
884
  const body = parsedOutput.body;
885
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
885
+ const deserialized = de_ResourceNotFoundException(body, context);
886
886
  const exception = new models_0_1.ResourceNotFoundException({
887
887
  $metadata: deserializeMetadata(parsedOutput),
888
888
  ...deserialized,
889
889
  });
890
890
  return (0, smithy_client_1.decorateServiceException)(exception, body);
891
891
  };
892
- const deserializeAws_json1_1TagPolicyExceptionResponse = async (parsedOutput, context) => {
892
+ const de_TagPolicyExceptionRes = async (parsedOutput, context) => {
893
893
  const body = parsedOutput.body;
894
- const deserialized = deserializeAws_json1_1TagPolicyException(body, context);
894
+ const deserialized = de_TagPolicyException(body, context);
895
895
  const exception = new models_0_1.TagPolicyException({
896
896
  $metadata: deserializeMetadata(parsedOutput),
897
897
  ...deserialized,
898
898
  });
899
899
  return (0, smithy_client_1.decorateServiceException)(exception, body);
900
900
  };
901
- const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
901
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
902
902
  const body = parsedOutput.body;
903
- const deserialized = deserializeAws_json1_1ThrottlingException(body, context);
903
+ const deserialized = de_ThrottlingException(body, context);
904
904
  const exception = new models_0_1.ThrottlingException({
905
905
  $metadata: deserializeMetadata(parsedOutput),
906
906
  ...deserialized,
907
907
  });
908
908
  return (0, smithy_client_1.decorateServiceException)(exception, body);
909
909
  };
910
- const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
910
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
911
911
  const body = parsedOutput.body;
912
- const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
912
+ const deserialized = de_TooManyTagsException(body, context);
913
913
  const exception = new models_0_1.TooManyTagsException({
914
914
  $metadata: deserializeMetadata(parsedOutput),
915
915
  ...deserialized,
916
916
  });
917
917
  return (0, smithy_client_1.decorateServiceException)(exception, body);
918
918
  };
919
- const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
919
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
920
920
  const body = parsedOutput.body;
921
- const deserialized = deserializeAws_json1_1ValidationException(body, context);
921
+ const deserialized = de_ValidationException(body, context);
922
922
  const exception = new models_0_1.ValidationException({
923
923
  $metadata: deserializeMetadata(parsedOutput),
924
924
  ...deserialized,
925
925
  });
926
926
  return (0, smithy_client_1.decorateServiceException)(exception, body);
927
927
  };
928
- const serializeAws_json1_1AddTagsToCertificateRequest = (input, context) => {
928
+ const se_AddTagsToCertificateRequest = (input, context) => {
929
929
  return {
930
930
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
931
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
931
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
932
932
  };
933
933
  };
934
- const serializeAws_json1_1CertificateOptions = (input, context) => {
934
+ const se_CertificateOptions = (input, context) => {
935
935
  return {
936
936
  ...(input.CertificateTransparencyLoggingPreference != null && {
937
937
  CertificateTransparencyLoggingPreference: input.CertificateTransparencyLoggingPreference,
938
938
  }),
939
939
  };
940
940
  };
941
- const serializeAws_json1_1CertificateStatuses = (input, context) => {
941
+ const se_CertificateStatuses = (input, context) => {
942
942
  return input
943
943
  .filter((e) => e != null)
944
944
  .map((entry) => {
945
945
  return entry;
946
946
  });
947
947
  };
948
- const serializeAws_json1_1DeleteCertificateRequest = (input, context) => {
948
+ const se_DeleteCertificateRequest = (input, context) => {
949
949
  return {
950
950
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
951
951
  };
952
952
  };
953
- const serializeAws_json1_1DescribeCertificateRequest = (input, context) => {
953
+ const se_DescribeCertificateRequest = (input, context) => {
954
954
  return {
955
955
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
956
956
  };
957
957
  };
958
- const serializeAws_json1_1DomainList = (input, context) => {
958
+ const se_DomainList = (input, context) => {
959
959
  return input
960
960
  .filter((e) => e != null)
961
961
  .map((entry) => {
962
962
  return entry;
963
963
  });
964
964
  };
965
- const serializeAws_json1_1DomainValidationOption = (input, context) => {
965
+ const se_DomainValidationOption = (input, context) => {
966
966
  return {
967
967
  ...(input.DomainName != null && { DomainName: input.DomainName }),
968
968
  ...(input.ValidationDomain != null && { ValidationDomain: input.ValidationDomain }),
969
969
  };
970
970
  };
971
- const serializeAws_json1_1DomainValidationOptionList = (input, context) => {
971
+ const se_DomainValidationOptionList = (input, context) => {
972
972
  return input
973
973
  .filter((e) => e != null)
974
974
  .map((entry) => {
975
- return serializeAws_json1_1DomainValidationOption(entry, context);
975
+ return se_DomainValidationOption(entry, context);
976
976
  });
977
977
  };
978
- const serializeAws_json1_1ExpiryEventsConfiguration = (input, context) => {
978
+ const se_ExpiryEventsConfiguration = (input, context) => {
979
979
  return {
980
980
  ...(input.DaysBeforeExpiry != null && { DaysBeforeExpiry: input.DaysBeforeExpiry }),
981
981
  };
982
982
  };
983
- const serializeAws_json1_1ExportCertificateRequest = (input, context) => {
983
+ const se_ExportCertificateRequest = (input, context) => {
984
984
  return {
985
985
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
986
986
  ...(input.Passphrase != null && { Passphrase: context.base64Encoder(input.Passphrase) }),
987
987
  };
988
988
  };
989
- const serializeAws_json1_1ExtendedKeyUsageFilterList = (input, context) => {
989
+ const se_ExtendedKeyUsageFilterList = (input, context) => {
990
990
  return input
991
991
  .filter((e) => e != null)
992
992
  .map((entry) => {
993
993
  return entry;
994
994
  });
995
995
  };
996
- const serializeAws_json1_1Filters = (input, context) => {
996
+ const se_Filters = (input, context) => {
997
997
  return {
998
998
  ...(input.extendedKeyUsage != null && {
999
- extendedKeyUsage: serializeAws_json1_1ExtendedKeyUsageFilterList(input.extendedKeyUsage, context),
999
+ extendedKeyUsage: se_ExtendedKeyUsageFilterList(input.extendedKeyUsage, context),
1000
1000
  }),
1001
- ...(input.keyTypes != null && { keyTypes: serializeAws_json1_1KeyAlgorithmList(input.keyTypes, context) }),
1002
- ...(input.keyUsage != null && { keyUsage: serializeAws_json1_1KeyUsageFilterList(input.keyUsage, context) }),
1001
+ ...(input.keyTypes != null && { keyTypes: se_KeyAlgorithmList(input.keyTypes, context) }),
1002
+ ...(input.keyUsage != null && { keyUsage: se_KeyUsageFilterList(input.keyUsage, context) }),
1003
1003
  };
1004
1004
  };
1005
- const serializeAws_json1_1GetCertificateRequest = (input, context) => {
1005
+ const se_GetCertificateRequest = (input, context) => {
1006
1006
  return {
1007
1007
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1008
1008
  };
1009
1009
  };
1010
- const serializeAws_json1_1ImportCertificateRequest = (input, context) => {
1010
+ const se_ImportCertificateRequest = (input, context) => {
1011
1011
  return {
1012
1012
  ...(input.Certificate != null && { Certificate: context.base64Encoder(input.Certificate) }),
1013
1013
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1014
1014
  ...(input.CertificateChain != null && { CertificateChain: context.base64Encoder(input.CertificateChain) }),
1015
1015
  ...(input.PrivateKey != null && { PrivateKey: context.base64Encoder(input.PrivateKey) }),
1016
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1016
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1017
1017
  };
1018
1018
  };
1019
- const serializeAws_json1_1KeyAlgorithmList = (input, context) => {
1019
+ const se_KeyAlgorithmList = (input, context) => {
1020
1020
  return input
1021
1021
  .filter((e) => e != null)
1022
1022
  .map((entry) => {
1023
1023
  return entry;
1024
1024
  });
1025
1025
  };
1026
- const serializeAws_json1_1KeyUsageFilterList = (input, context) => {
1026
+ const se_KeyUsageFilterList = (input, context) => {
1027
1027
  return input
1028
1028
  .filter((e) => e != null)
1029
1029
  .map((entry) => {
1030
1030
  return entry;
1031
1031
  });
1032
1032
  };
1033
- const serializeAws_json1_1ListCertificatesRequest = (input, context) => {
1033
+ const se_ListCertificatesRequest = (input, context) => {
1034
1034
  return {
1035
1035
  ...(input.CertificateStatuses != null && {
1036
- CertificateStatuses: serializeAws_json1_1CertificateStatuses(input.CertificateStatuses, context),
1036
+ CertificateStatuses: se_CertificateStatuses(input.CertificateStatuses, context),
1037
1037
  }),
1038
- ...(input.Includes != null && { Includes: serializeAws_json1_1Filters(input.Includes, context) }),
1038
+ ...(input.Includes != null && { Includes: se_Filters(input.Includes, context) }),
1039
1039
  ...(input.MaxItems != null && { MaxItems: input.MaxItems }),
1040
1040
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1041
1041
  ...(input.SortBy != null && { SortBy: input.SortBy }),
1042
1042
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
1043
1043
  };
1044
1044
  };
1045
- const serializeAws_json1_1ListTagsForCertificateRequest = (input, context) => {
1045
+ const se_ListTagsForCertificateRequest = (input, context) => {
1046
1046
  return {
1047
1047
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1048
1048
  };
1049
1049
  };
1050
- const serializeAws_json1_1PutAccountConfigurationRequest = (input, context) => {
1050
+ const se_PutAccountConfigurationRequest = (input, context) => {
1051
1051
  return {
1052
- ...(input.ExpiryEvents != null && {
1053
- ExpiryEvents: serializeAws_json1_1ExpiryEventsConfiguration(input.ExpiryEvents, context),
1054
- }),
1052
+ ...(input.ExpiryEvents != null && { ExpiryEvents: se_ExpiryEventsConfiguration(input.ExpiryEvents, context) }),
1055
1053
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1056
1054
  };
1057
1055
  };
1058
- const serializeAws_json1_1RemoveTagsFromCertificateRequest = (input, context) => {
1056
+ const se_RemoveTagsFromCertificateRequest = (input, context) => {
1059
1057
  return {
1060
1058
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1061
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1059
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1062
1060
  };
1063
1061
  };
1064
- const serializeAws_json1_1RenewCertificateRequest = (input, context) => {
1062
+ const se_RenewCertificateRequest = (input, context) => {
1065
1063
  return {
1066
1064
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1067
1065
  };
1068
1066
  };
1069
- const serializeAws_json1_1RequestCertificateRequest = (input, context) => {
1067
+ const se_RequestCertificateRequest = (input, context) => {
1070
1068
  return {
1071
1069
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1072
1070
  ...(input.DomainName != null && { DomainName: input.DomainName }),
1073
1071
  ...(input.DomainValidationOptions != null && {
1074
- DomainValidationOptions: serializeAws_json1_1DomainValidationOptionList(input.DomainValidationOptions, context),
1072
+ DomainValidationOptions: se_DomainValidationOptionList(input.DomainValidationOptions, context),
1075
1073
  }),
1076
1074
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1077
1075
  ...(input.KeyAlgorithm != null && { KeyAlgorithm: input.KeyAlgorithm }),
1078
- ...(input.Options != null && { Options: serializeAws_json1_1CertificateOptions(input.Options, context) }),
1076
+ ...(input.Options != null && { Options: se_CertificateOptions(input.Options, context) }),
1079
1077
  ...(input.SubjectAlternativeNames != null && {
1080
- SubjectAlternativeNames: serializeAws_json1_1DomainList(input.SubjectAlternativeNames, context),
1078
+ SubjectAlternativeNames: se_DomainList(input.SubjectAlternativeNames, context),
1081
1079
  }),
1082
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1080
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1083
1081
  ...(input.ValidationMethod != null && { ValidationMethod: input.ValidationMethod }),
1084
1082
  };
1085
1083
  };
1086
- const serializeAws_json1_1ResendValidationEmailRequest = (input, context) => {
1084
+ const se_ResendValidationEmailRequest = (input, context) => {
1087
1085
  return {
1088
1086
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1089
1087
  ...(input.Domain != null && { Domain: input.Domain }),
1090
1088
  ...(input.ValidationDomain != null && { ValidationDomain: input.ValidationDomain }),
1091
1089
  };
1092
1090
  };
1093
- const serializeAws_json1_1Tag = (input, context) => {
1091
+ const se_Tag = (input, context) => {
1094
1092
  return {
1095
1093
  ...(input.Key != null && { Key: input.Key }),
1096
1094
  ...(input.Value != null && { Value: input.Value }),
1097
1095
  };
1098
1096
  };
1099
- const serializeAws_json1_1TagList = (input, context) => {
1097
+ const se_TagList = (input, context) => {
1100
1098
  return input
1101
1099
  .filter((e) => e != null)
1102
1100
  .map((entry) => {
1103
- return serializeAws_json1_1Tag(entry, context);
1101
+ return se_Tag(entry, context);
1104
1102
  });
1105
1103
  };
1106
- const serializeAws_json1_1UpdateCertificateOptionsRequest = (input, context) => {
1104
+ const se_UpdateCertificateOptionsRequest = (input, context) => {
1107
1105
  return {
1108
1106
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1109
- ...(input.Options != null && { Options: serializeAws_json1_1CertificateOptions(input.Options, context) }),
1107
+ ...(input.Options != null && { Options: se_CertificateOptions(input.Options, context) }),
1110
1108
  };
1111
1109
  };
1112
- const deserializeAws_json1_1AccessDeniedException = (output, context) => {
1110
+ const de_AccessDeniedException = (output, context) => {
1113
1111
  return {
1114
1112
  Message: (0, smithy_client_1.expectString)(output.Message),
1115
1113
  };
1116
1114
  };
1117
- const deserializeAws_json1_1CertificateDetail = (output, context) => {
1115
+ const de_CertificateDetail = (output, context) => {
1118
1116
  return {
1119
1117
  CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
1120
1118
  CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
1121
1119
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
1122
1120
  DomainName: (0, smithy_client_1.expectString)(output.DomainName),
1123
1121
  DomainValidationOptions: output.DomainValidationOptions != null
1124
- ? deserializeAws_json1_1DomainValidationList(output.DomainValidationOptions, context)
1125
- : undefined,
1126
- ExtendedKeyUsages: output.ExtendedKeyUsages != null
1127
- ? deserializeAws_json1_1ExtendedKeyUsageList(output.ExtendedKeyUsages, context)
1122
+ ? de_DomainValidationList(output.DomainValidationOptions, context)
1128
1123
  : undefined,
1124
+ ExtendedKeyUsages: output.ExtendedKeyUsages != null ? de_ExtendedKeyUsageList(output.ExtendedKeyUsages, context) : undefined,
1129
1125
  FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
1130
1126
  ImportedAt: output.ImportedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ImportedAt))) : undefined,
1131
- InUseBy: output.InUseBy != null ? deserializeAws_json1_1InUseList(output.InUseBy, context) : undefined,
1127
+ InUseBy: output.InUseBy != null ? de_InUseList(output.InUseBy, context) : undefined,
1132
1128
  IssuedAt: output.IssuedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.IssuedAt))) : undefined,
1133
1129
  Issuer: (0, smithy_client_1.expectString)(output.Issuer),
1134
1130
  KeyAlgorithm: (0, smithy_client_1.expectString)(output.KeyAlgorithm),
1135
- KeyUsages: output.KeyUsages != null ? deserializeAws_json1_1KeyUsageList(output.KeyUsages, context) : undefined,
1131
+ KeyUsages: output.KeyUsages != null ? de_KeyUsageList(output.KeyUsages, context) : undefined,
1136
1132
  NotAfter: output.NotAfter != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotAfter))) : undefined,
1137
1133
  NotBefore: output.NotBefore != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotBefore))) : undefined,
1138
- Options: output.Options != null ? deserializeAws_json1_1CertificateOptions(output.Options, context) : undefined,
1134
+ Options: output.Options != null ? de_CertificateOptions(output.Options, context) : undefined,
1139
1135
  RenewalEligibility: (0, smithy_client_1.expectString)(output.RenewalEligibility),
1140
- RenewalSummary: output.RenewalSummary != null ? deserializeAws_json1_1RenewalSummary(output.RenewalSummary, context) : undefined,
1136
+ RenewalSummary: output.RenewalSummary != null ? de_RenewalSummary(output.RenewalSummary, context) : undefined,
1141
1137
  RevocationReason: (0, smithy_client_1.expectString)(output.RevocationReason),
1142
1138
  RevokedAt: output.RevokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RevokedAt))) : undefined,
1143
1139
  Serial: (0, smithy_client_1.expectString)(output.Serial),
1144
1140
  SignatureAlgorithm: (0, smithy_client_1.expectString)(output.SignatureAlgorithm),
1145
1141
  Status: (0, smithy_client_1.expectString)(output.Status),
1146
1142
  Subject: (0, smithy_client_1.expectString)(output.Subject),
1147
- SubjectAlternativeNames: output.SubjectAlternativeNames != null
1148
- ? deserializeAws_json1_1DomainList(output.SubjectAlternativeNames, context)
1149
- : undefined,
1143
+ SubjectAlternativeNames: output.SubjectAlternativeNames != null ? de_DomainList(output.SubjectAlternativeNames, context) : undefined,
1150
1144
  Type: (0, smithy_client_1.expectString)(output.Type),
1151
1145
  };
1152
1146
  };
1153
- const deserializeAws_json1_1CertificateOptions = (output, context) => {
1147
+ const de_CertificateOptions = (output, context) => {
1154
1148
  return {
1155
1149
  CertificateTransparencyLoggingPreference: (0, smithy_client_1.expectString)(output.CertificateTransparencyLoggingPreference),
1156
1150
  };
1157
1151
  };
1158
- const deserializeAws_json1_1CertificateSummary = (output, context) => {
1152
+ const de_CertificateSummary = (output, context) => {
1159
1153
  return {
1160
1154
  CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
1161
1155
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
1162
1156
  DomainName: (0, smithy_client_1.expectString)(output.DomainName),
1163
1157
  Exported: (0, smithy_client_1.expectBoolean)(output.Exported),
1164
- ExtendedKeyUsages: output.ExtendedKeyUsages != null
1165
- ? deserializeAws_json1_1ExtendedKeyUsageNames(output.ExtendedKeyUsages, context)
1166
- : undefined,
1158
+ ExtendedKeyUsages: output.ExtendedKeyUsages != null ? de_ExtendedKeyUsageNames(output.ExtendedKeyUsages, context) : undefined,
1167
1159
  HasAdditionalSubjectAlternativeNames: (0, smithy_client_1.expectBoolean)(output.HasAdditionalSubjectAlternativeNames),
1168
1160
  ImportedAt: output.ImportedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ImportedAt))) : undefined,
1169
1161
  InUse: (0, smithy_client_1.expectBoolean)(output.InUse),
1170
1162
  IssuedAt: output.IssuedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.IssuedAt))) : undefined,
1171
1163
  KeyAlgorithm: (0, smithy_client_1.expectString)(output.KeyAlgorithm),
1172
- KeyUsages: output.KeyUsages != null ? deserializeAws_json1_1KeyUsageNames(output.KeyUsages, context) : undefined,
1164
+ KeyUsages: output.KeyUsages != null ? de_KeyUsageNames(output.KeyUsages, context) : undefined,
1173
1165
  NotAfter: output.NotAfter != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotAfter))) : undefined,
1174
1166
  NotBefore: output.NotBefore != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotBefore))) : undefined,
1175
1167
  RenewalEligibility: (0, smithy_client_1.expectString)(output.RenewalEligibility),
1176
1168
  RevokedAt: output.RevokedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RevokedAt))) : undefined,
1177
1169
  Status: (0, smithy_client_1.expectString)(output.Status),
1178
1170
  SubjectAlternativeNameSummaries: output.SubjectAlternativeNameSummaries != null
1179
- ? deserializeAws_json1_1DomainList(output.SubjectAlternativeNameSummaries, context)
1171
+ ? de_DomainList(output.SubjectAlternativeNameSummaries, context)
1180
1172
  : undefined,
1181
1173
  Type: (0, smithy_client_1.expectString)(output.Type),
1182
1174
  };
1183
1175
  };
1184
- const deserializeAws_json1_1CertificateSummaryList = (output, context) => {
1176
+ const de_CertificateSummaryList = (output, context) => {
1185
1177
  const retVal = (output || [])
1186
1178
  .filter((e) => e != null)
1187
1179
  .map((entry) => {
1188
1180
  if (entry === null) {
1189
1181
  return null;
1190
1182
  }
1191
- return deserializeAws_json1_1CertificateSummary(entry, context);
1183
+ return de_CertificateSummary(entry, context);
1192
1184
  });
1193
1185
  return retVal;
1194
1186
  };
1195
- const deserializeAws_json1_1ConflictException = (output, context) => {
1187
+ const de_ConflictException = (output, context) => {
1196
1188
  return {
1197
1189
  message: (0, smithy_client_1.expectString)(output.message),
1198
1190
  };
1199
1191
  };
1200
- const deserializeAws_json1_1DescribeCertificateResponse = (output, context) => {
1192
+ const de_DescribeCertificateResponse = (output, context) => {
1201
1193
  return {
1202
- Certificate: output.Certificate != null ? deserializeAws_json1_1CertificateDetail(output.Certificate, context) : undefined,
1194
+ Certificate: output.Certificate != null ? de_CertificateDetail(output.Certificate, context) : undefined,
1203
1195
  };
1204
1196
  };
1205
- const deserializeAws_json1_1DomainList = (output, context) => {
1197
+ const de_DomainList = (output, context) => {
1206
1198
  const retVal = (output || [])
1207
1199
  .filter((e) => e != null)
1208
1200
  .map((entry) => {
@@ -1213,59 +1205,57 @@ const deserializeAws_json1_1DomainList = (output, context) => {
1213
1205
  });
1214
1206
  return retVal;
1215
1207
  };
1216
- const deserializeAws_json1_1DomainValidation = (output, context) => {
1208
+ const de_DomainValidation = (output, context) => {
1217
1209
  return {
1218
1210
  DomainName: (0, smithy_client_1.expectString)(output.DomainName),
1219
- ResourceRecord: output.ResourceRecord != null ? deserializeAws_json1_1ResourceRecord(output.ResourceRecord, context) : undefined,
1211
+ ResourceRecord: output.ResourceRecord != null ? de_ResourceRecord(output.ResourceRecord, context) : undefined,
1220
1212
  ValidationDomain: (0, smithy_client_1.expectString)(output.ValidationDomain),
1221
- ValidationEmails: output.ValidationEmails != null
1222
- ? deserializeAws_json1_1ValidationEmailList(output.ValidationEmails, context)
1223
- : undefined,
1213
+ ValidationEmails: output.ValidationEmails != null ? de_ValidationEmailList(output.ValidationEmails, context) : undefined,
1224
1214
  ValidationMethod: (0, smithy_client_1.expectString)(output.ValidationMethod),
1225
1215
  ValidationStatus: (0, smithy_client_1.expectString)(output.ValidationStatus),
1226
1216
  };
1227
1217
  };
1228
- const deserializeAws_json1_1DomainValidationList = (output, context) => {
1218
+ const de_DomainValidationList = (output, context) => {
1229
1219
  const retVal = (output || [])
1230
1220
  .filter((e) => e != null)
1231
1221
  .map((entry) => {
1232
1222
  if (entry === null) {
1233
1223
  return null;
1234
1224
  }
1235
- return deserializeAws_json1_1DomainValidation(entry, context);
1225
+ return de_DomainValidation(entry, context);
1236
1226
  });
1237
1227
  return retVal;
1238
1228
  };
1239
- const deserializeAws_json1_1ExpiryEventsConfiguration = (output, context) => {
1229
+ const de_ExpiryEventsConfiguration = (output, context) => {
1240
1230
  return {
1241
1231
  DaysBeforeExpiry: (0, smithy_client_1.expectInt32)(output.DaysBeforeExpiry),
1242
1232
  };
1243
1233
  };
1244
- const deserializeAws_json1_1ExportCertificateResponse = (output, context) => {
1234
+ const de_ExportCertificateResponse = (output, context) => {
1245
1235
  return {
1246
1236
  Certificate: (0, smithy_client_1.expectString)(output.Certificate),
1247
1237
  CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
1248
1238
  PrivateKey: (0, smithy_client_1.expectString)(output.PrivateKey),
1249
1239
  };
1250
1240
  };
1251
- const deserializeAws_json1_1ExtendedKeyUsage = (output, context) => {
1241
+ const de_ExtendedKeyUsage = (output, context) => {
1252
1242
  return {
1253
1243
  Name: (0, smithy_client_1.expectString)(output.Name),
1254
1244
  OID: (0, smithy_client_1.expectString)(output.OID),
1255
1245
  };
1256
1246
  };
1257
- const deserializeAws_json1_1ExtendedKeyUsageList = (output, context) => {
1247
+ const de_ExtendedKeyUsageList = (output, context) => {
1258
1248
  const retVal = (output || [])
1259
1249
  .filter((e) => e != null)
1260
1250
  .map((entry) => {
1261
1251
  if (entry === null) {
1262
1252
  return null;
1263
1253
  }
1264
- return deserializeAws_json1_1ExtendedKeyUsage(entry, context);
1254
+ return de_ExtendedKeyUsage(entry, context);
1265
1255
  });
1266
1256
  return retVal;
1267
1257
  };
1268
- const deserializeAws_json1_1ExtendedKeyUsageNames = (output, context) => {
1258
+ const de_ExtendedKeyUsageNames = (output, context) => {
1269
1259
  const retVal = (output || [])
1270
1260
  .filter((e) => e != null)
1271
1261
  .map((entry) => {
@@ -1276,25 +1266,23 @@ const deserializeAws_json1_1ExtendedKeyUsageNames = (output, context) => {
1276
1266
  });
1277
1267
  return retVal;
1278
1268
  };
1279
- const deserializeAws_json1_1GetAccountConfigurationResponse = (output, context) => {
1269
+ const de_GetAccountConfigurationResponse = (output, context) => {
1280
1270
  return {
1281
- ExpiryEvents: output.ExpiryEvents != null
1282
- ? deserializeAws_json1_1ExpiryEventsConfiguration(output.ExpiryEvents, context)
1283
- : undefined,
1271
+ ExpiryEvents: output.ExpiryEvents != null ? de_ExpiryEventsConfiguration(output.ExpiryEvents, context) : undefined,
1284
1272
  };
1285
1273
  };
1286
- const deserializeAws_json1_1GetCertificateResponse = (output, context) => {
1274
+ const de_GetCertificateResponse = (output, context) => {
1287
1275
  return {
1288
1276
  Certificate: (0, smithy_client_1.expectString)(output.Certificate),
1289
1277
  CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
1290
1278
  };
1291
1279
  };
1292
- const deserializeAws_json1_1ImportCertificateResponse = (output, context) => {
1280
+ const de_ImportCertificateResponse = (output, context) => {
1293
1281
  return {
1294
1282
  CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
1295
1283
  };
1296
1284
  };
1297
- const deserializeAws_json1_1InUseList = (output, context) => {
1285
+ const de_InUseList = (output, context) => {
1298
1286
  const retVal = (output || [])
1299
1287
  .filter((e) => e != null)
1300
1288
  .map((entry) => {
@@ -1305,53 +1293,53 @@ const deserializeAws_json1_1InUseList = (output, context) => {
1305
1293
  });
1306
1294
  return retVal;
1307
1295
  };
1308
- const deserializeAws_json1_1InvalidArgsException = (output, context) => {
1296
+ const de_InvalidArgsException = (output, context) => {
1309
1297
  return {
1310
1298
  message: (0, smithy_client_1.expectString)(output.message),
1311
1299
  };
1312
1300
  };
1313
- const deserializeAws_json1_1InvalidArnException = (output, context) => {
1301
+ const de_InvalidArnException = (output, context) => {
1314
1302
  return {
1315
1303
  message: (0, smithy_client_1.expectString)(output.message),
1316
1304
  };
1317
1305
  };
1318
- const deserializeAws_json1_1InvalidDomainValidationOptionsException = (output, context) => {
1306
+ const de_InvalidDomainValidationOptionsException = (output, context) => {
1319
1307
  return {
1320
1308
  message: (0, smithy_client_1.expectString)(output.message),
1321
1309
  };
1322
1310
  };
1323
- const deserializeAws_json1_1InvalidParameterException = (output, context) => {
1311
+ const de_InvalidParameterException = (output, context) => {
1324
1312
  return {
1325
1313
  message: (0, smithy_client_1.expectString)(output.message),
1326
1314
  };
1327
1315
  };
1328
- const deserializeAws_json1_1InvalidStateException = (output, context) => {
1316
+ const de_InvalidStateException = (output, context) => {
1329
1317
  return {
1330
1318
  message: (0, smithy_client_1.expectString)(output.message),
1331
1319
  };
1332
1320
  };
1333
- const deserializeAws_json1_1InvalidTagException = (output, context) => {
1321
+ const de_InvalidTagException = (output, context) => {
1334
1322
  return {
1335
1323
  message: (0, smithy_client_1.expectString)(output.message),
1336
1324
  };
1337
1325
  };
1338
- const deserializeAws_json1_1KeyUsage = (output, context) => {
1326
+ const de_KeyUsage = (output, context) => {
1339
1327
  return {
1340
1328
  Name: (0, smithy_client_1.expectString)(output.Name),
1341
1329
  };
1342
1330
  };
1343
- const deserializeAws_json1_1KeyUsageList = (output, context) => {
1331
+ const de_KeyUsageList = (output, context) => {
1344
1332
  const retVal = (output || [])
1345
1333
  .filter((e) => e != null)
1346
1334
  .map((entry) => {
1347
1335
  if (entry === null) {
1348
1336
  return null;
1349
1337
  }
1350
- return deserializeAws_json1_1KeyUsage(entry, context);
1338
+ return de_KeyUsage(entry, context);
1351
1339
  });
1352
1340
  return retVal;
1353
1341
  };
1354
- const deserializeAws_json1_1KeyUsageNames = (output, context) => {
1342
+ const de_KeyUsageNames = (output, context) => {
1355
1343
  const retVal = (output || [])
1356
1344
  .filter((e) => e != null)
1357
1345
  .map((entry) => {
@@ -1362,94 +1350,94 @@ const deserializeAws_json1_1KeyUsageNames = (output, context) => {
1362
1350
  });
1363
1351
  return retVal;
1364
1352
  };
1365
- const deserializeAws_json1_1LimitExceededException = (output, context) => {
1353
+ const de_LimitExceededException = (output, context) => {
1366
1354
  return {
1367
1355
  message: (0, smithy_client_1.expectString)(output.message),
1368
1356
  };
1369
1357
  };
1370
- const deserializeAws_json1_1ListCertificatesResponse = (output, context) => {
1358
+ const de_ListCertificatesResponse = (output, context) => {
1371
1359
  return {
1372
1360
  CertificateSummaryList: output.CertificateSummaryList != null
1373
- ? deserializeAws_json1_1CertificateSummaryList(output.CertificateSummaryList, context)
1361
+ ? de_CertificateSummaryList(output.CertificateSummaryList, context)
1374
1362
  : undefined,
1375
1363
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1376
1364
  };
1377
1365
  };
1378
- const deserializeAws_json1_1ListTagsForCertificateResponse = (output, context) => {
1366
+ const de_ListTagsForCertificateResponse = (output, context) => {
1379
1367
  return {
1380
- Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
1368
+ Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
1381
1369
  };
1382
1370
  };
1383
- const deserializeAws_json1_1RenewalSummary = (output, context) => {
1371
+ const de_RenewalSummary = (output, context) => {
1384
1372
  return {
1385
1373
  DomainValidationOptions: output.DomainValidationOptions != null
1386
- ? deserializeAws_json1_1DomainValidationList(output.DomainValidationOptions, context)
1374
+ ? de_DomainValidationList(output.DomainValidationOptions, context)
1387
1375
  : undefined,
1388
1376
  RenewalStatus: (0, smithy_client_1.expectString)(output.RenewalStatus),
1389
1377
  RenewalStatusReason: (0, smithy_client_1.expectString)(output.RenewalStatusReason),
1390
1378
  UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
1391
1379
  };
1392
1380
  };
1393
- const deserializeAws_json1_1RequestCertificateResponse = (output, context) => {
1381
+ const de_RequestCertificateResponse = (output, context) => {
1394
1382
  return {
1395
1383
  CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
1396
1384
  };
1397
1385
  };
1398
- const deserializeAws_json1_1RequestInProgressException = (output, context) => {
1386
+ const de_RequestInProgressException = (output, context) => {
1399
1387
  return {
1400
1388
  message: (0, smithy_client_1.expectString)(output.message),
1401
1389
  };
1402
1390
  };
1403
- const deserializeAws_json1_1ResourceInUseException = (output, context) => {
1391
+ const de_ResourceInUseException = (output, context) => {
1404
1392
  return {
1405
1393
  message: (0, smithy_client_1.expectString)(output.message),
1406
1394
  };
1407
1395
  };
1408
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
1396
+ const de_ResourceNotFoundException = (output, context) => {
1409
1397
  return {
1410
1398
  message: (0, smithy_client_1.expectString)(output.message),
1411
1399
  };
1412
1400
  };
1413
- const deserializeAws_json1_1ResourceRecord = (output, context) => {
1401
+ const de_ResourceRecord = (output, context) => {
1414
1402
  return {
1415
1403
  Name: (0, smithy_client_1.expectString)(output.Name),
1416
1404
  Type: (0, smithy_client_1.expectString)(output.Type),
1417
1405
  Value: (0, smithy_client_1.expectString)(output.Value),
1418
1406
  };
1419
1407
  };
1420
- const deserializeAws_json1_1Tag = (output, context) => {
1408
+ const de_Tag = (output, context) => {
1421
1409
  return {
1422
1410
  Key: (0, smithy_client_1.expectString)(output.Key),
1423
1411
  Value: (0, smithy_client_1.expectString)(output.Value),
1424
1412
  };
1425
1413
  };
1426
- const deserializeAws_json1_1TagList = (output, context) => {
1414
+ const de_TagList = (output, context) => {
1427
1415
  const retVal = (output || [])
1428
1416
  .filter((e) => e != null)
1429
1417
  .map((entry) => {
1430
1418
  if (entry === null) {
1431
1419
  return null;
1432
1420
  }
1433
- return deserializeAws_json1_1Tag(entry, context);
1421
+ return de_Tag(entry, context);
1434
1422
  });
1435
1423
  return retVal;
1436
1424
  };
1437
- const deserializeAws_json1_1TagPolicyException = (output, context) => {
1425
+ const de_TagPolicyException = (output, context) => {
1438
1426
  return {
1439
1427
  message: (0, smithy_client_1.expectString)(output.message),
1440
1428
  };
1441
1429
  };
1442
- const deserializeAws_json1_1ThrottlingException = (output, context) => {
1430
+ const de_ThrottlingException = (output, context) => {
1443
1431
  return {
1444
1432
  message: (0, smithy_client_1.expectString)(output.message),
1445
1433
  };
1446
1434
  };
1447
- const deserializeAws_json1_1TooManyTagsException = (output, context) => {
1435
+ const de_TooManyTagsException = (output, context) => {
1448
1436
  return {
1449
1437
  message: (0, smithy_client_1.expectString)(output.message),
1450
1438
  };
1451
1439
  };
1452
- const deserializeAws_json1_1ValidationEmailList = (output, context) => {
1440
+ const de_ValidationEmailList = (output, context) => {
1453
1441
  const retVal = (output || [])
1454
1442
  .filter((e) => e != null)
1455
1443
  .map((entry) => {
@@ -1460,7 +1448,7 @@ const deserializeAws_json1_1ValidationEmailList = (output, context) => {
1460
1448
  });
1461
1449
  return retVal;
1462
1450
  };
1463
- const deserializeAws_json1_1ValidationException = (output, context) => {
1451
+ const de_ValidationException = (output, context) => {
1464
1452
  return {
1465
1453
  message: (0, smithy_client_1.expectString)(output.message),
1466
1454
  };