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