@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
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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
|
|
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(
|
|
14
|
+
body = JSON.stringify(se_AddTagsToCertificateRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
const
|
|
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(
|
|
24
|
+
body = JSON.stringify(se_DeleteCertificateRequest(input, context));
|
|
25
25
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
26
26
|
};
|
|
27
|
-
exports.
|
|
28
|
-
const
|
|
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(
|
|
34
|
+
body = JSON.stringify(se_DescribeCertificateRequest(input, context));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
|
-
exports.
|
|
38
|
-
const
|
|
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(
|
|
44
|
+
body = JSON.stringify(se_ExportCertificateRequest(input, context));
|
|
45
45
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const
|
|
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.
|
|
57
|
-
const
|
|
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(
|
|
63
|
+
body = JSON.stringify(se_GetCertificateRequest(input, context));
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
|
-
exports.
|
|
67
|
-
const
|
|
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(
|
|
73
|
+
body = JSON.stringify(se_ImportCertificateRequest(input, context));
|
|
74
74
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
75
75
|
};
|
|
76
|
-
exports.
|
|
77
|
-
const
|
|
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(
|
|
83
|
+
body = JSON.stringify(se_ListCertificatesRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
exports.
|
|
87
|
-
const
|
|
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(
|
|
93
|
+
body = JSON.stringify(se_ListTagsForCertificateRequest(input, context));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
|
-
exports.
|
|
97
|
-
const
|
|
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(
|
|
103
|
+
body = JSON.stringify(se_PutAccountConfigurationRequest(input, context));
|
|
104
104
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
105
105
|
};
|
|
106
|
-
exports.
|
|
107
|
-
const
|
|
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(
|
|
113
|
+
body = JSON.stringify(se_RemoveTagsFromCertificateRequest(input, context));
|
|
114
114
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
115
115
|
};
|
|
116
|
-
exports.
|
|
117
|
-
const
|
|
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(
|
|
123
|
+
body = JSON.stringify(se_RenewCertificateRequest(input, context));
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
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(
|
|
133
|
+
body = JSON.stringify(se_RequestCertificateRequest(input, context));
|
|
134
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
135
|
};
|
|
136
|
-
exports.
|
|
137
|
-
const
|
|
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(
|
|
143
|
+
body = JSON.stringify(se_ResendValidationEmailRequest(input, context));
|
|
144
144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
145
145
|
};
|
|
146
|
-
exports.
|
|
147
|
-
const
|
|
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(
|
|
153
|
+
body = JSON.stringify(se_UpdateCertificateOptionsRequest(input, context));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
|
-
exports.
|
|
157
|
-
const
|
|
156
|
+
exports.se_UpdateCertificateOptionsCommand = se_UpdateCertificateOptionsCommand;
|
|
157
|
+
const de_AddTagsToCertificateCommand = async (output, context) => {
|
|
158
158
|
if (output.statusCode >= 300) {
|
|
159
|
-
return
|
|
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.
|
|
168
|
-
const
|
|
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
|
|
177
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
178
178
|
case "InvalidParameterException":
|
|
179
179
|
case "com.amazonaws.acm#InvalidParameterException":
|
|
180
|
-
throw await
|
|
180
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
181
181
|
case "InvalidTagException":
|
|
182
182
|
case "com.amazonaws.acm#InvalidTagException":
|
|
183
|
-
throw await
|
|
183
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
184
184
|
case "ResourceNotFoundException":
|
|
185
185
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
186
|
-
throw await
|
|
186
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
187
187
|
case "TagPolicyException":
|
|
188
188
|
case "com.amazonaws.acm#TagPolicyException":
|
|
189
|
-
throw await
|
|
189
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
190
190
|
case "ThrottlingException":
|
|
191
191
|
case "com.amazonaws.acm#ThrottlingException":
|
|
192
|
-
throw await
|
|
192
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
193
193
|
case "TooManyTagsException":
|
|
194
194
|
case "com.amazonaws.acm#TooManyTagsException":
|
|
195
|
-
throw await
|
|
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
|
|
206
|
+
const de_DeleteCertificateCommand = async (output, context) => {
|
|
207
207
|
if (output.statusCode >= 300) {
|
|
208
|
-
return
|
|
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.
|
|
217
|
-
const
|
|
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
|
|
226
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
227
227
|
case "ConflictException":
|
|
228
228
|
case "com.amazonaws.acm#ConflictException":
|
|
229
|
-
throw await
|
|
229
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
230
230
|
case "InvalidArnException":
|
|
231
231
|
case "com.amazonaws.acm#InvalidArnException":
|
|
232
|
-
throw await
|
|
232
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
233
233
|
case "ResourceInUseException":
|
|
234
234
|
case "com.amazonaws.acm#ResourceInUseException":
|
|
235
|
-
throw await
|
|
235
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
236
236
|
case "ResourceNotFoundException":
|
|
237
237
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
238
|
-
throw await
|
|
238
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
239
239
|
case "ThrottlingException":
|
|
240
240
|
case "com.amazonaws.acm#ThrottlingException":
|
|
241
|
-
throw await
|
|
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
|
|
252
|
+
const de_DescribeCertificateCommand = async (output, context) => {
|
|
253
253
|
if (output.statusCode >= 300) {
|
|
254
|
-
return
|
|
254
|
+
return de_DescribeCertificateCommandError(output, context);
|
|
255
255
|
}
|
|
256
256
|
const data = await parseBody(output.body, context);
|
|
257
257
|
let contents = {};
|
|
258
|
-
contents =
|
|
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.
|
|
266
|
-
const
|
|
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
|
|
275
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
276
276
|
case "ResourceNotFoundException":
|
|
277
277
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
278
|
-
throw await
|
|
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
|
|
289
|
+
const de_ExportCertificateCommand = async (output, context) => {
|
|
290
290
|
if (output.statusCode >= 300) {
|
|
291
|
-
return
|
|
291
|
+
return de_ExportCertificateCommandError(output, context);
|
|
292
292
|
}
|
|
293
293
|
const data = await parseBody(output.body, context);
|
|
294
294
|
let contents = {};
|
|
295
|
-
contents =
|
|
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.
|
|
303
|
-
const
|
|
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
|
|
312
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
313
313
|
case "RequestInProgressException":
|
|
314
314
|
case "com.amazonaws.acm#RequestInProgressException":
|
|
315
|
-
throw await
|
|
315
|
+
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
316
316
|
case "ResourceNotFoundException":
|
|
317
317
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
318
|
-
throw await
|
|
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
|
|
329
|
+
const de_GetAccountConfigurationCommand = async (output, context) => {
|
|
330
330
|
if (output.statusCode >= 300) {
|
|
331
|
-
return
|
|
331
|
+
return de_GetAccountConfigurationCommandError(output, context);
|
|
332
332
|
}
|
|
333
333
|
const data = await parseBody(output.body, context);
|
|
334
334
|
let contents = {};
|
|
335
|
-
contents =
|
|
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.
|
|
343
|
-
const
|
|
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
|
|
352
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
353
353
|
case "ThrottlingException":
|
|
354
354
|
case "com.amazonaws.acm#ThrottlingException":
|
|
355
|
-
throw await
|
|
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
|
|
366
|
+
const de_GetCertificateCommand = async (output, context) => {
|
|
367
367
|
if (output.statusCode >= 300) {
|
|
368
|
-
return
|
|
368
|
+
return de_GetCertificateCommandError(output, context);
|
|
369
369
|
}
|
|
370
370
|
const data = await parseBody(output.body, context);
|
|
371
371
|
let contents = {};
|
|
372
|
-
contents =
|
|
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.
|
|
380
|
-
const
|
|
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
|
|
389
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
390
390
|
case "RequestInProgressException":
|
|
391
391
|
case "com.amazonaws.acm#RequestInProgressException":
|
|
392
|
-
throw await
|
|
392
|
+
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
393
393
|
case "ResourceNotFoundException":
|
|
394
394
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
395
|
-
throw await
|
|
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
|
|
406
|
+
const de_ImportCertificateCommand = async (output, context) => {
|
|
407
407
|
if (output.statusCode >= 300) {
|
|
408
|
-
return
|
|
408
|
+
return de_ImportCertificateCommandError(output, context);
|
|
409
409
|
}
|
|
410
410
|
const data = await parseBody(output.body, context);
|
|
411
411
|
let contents = {};
|
|
412
|
-
contents =
|
|
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.
|
|
420
|
-
const
|
|
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
|
|
429
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
430
430
|
case "InvalidParameterException":
|
|
431
431
|
case "com.amazonaws.acm#InvalidParameterException":
|
|
432
|
-
throw await
|
|
432
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
433
433
|
case "InvalidTagException":
|
|
434
434
|
case "com.amazonaws.acm#InvalidTagException":
|
|
435
|
-
throw await
|
|
435
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
436
436
|
case "LimitExceededException":
|
|
437
437
|
case "com.amazonaws.acm#LimitExceededException":
|
|
438
|
-
throw await
|
|
438
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
439
439
|
case "ResourceNotFoundException":
|
|
440
440
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
441
|
-
throw await
|
|
441
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
442
442
|
case "TagPolicyException":
|
|
443
443
|
case "com.amazonaws.acm#TagPolicyException":
|
|
444
|
-
throw await
|
|
444
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
445
445
|
case "TooManyTagsException":
|
|
446
446
|
case "com.amazonaws.acm#TooManyTagsException":
|
|
447
|
-
throw await
|
|
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
|
|
458
|
+
const de_ListCertificatesCommand = async (output, context) => {
|
|
459
459
|
if (output.statusCode >= 300) {
|
|
460
|
-
return
|
|
460
|
+
return de_ListCertificatesCommandError(output, context);
|
|
461
461
|
}
|
|
462
462
|
const data = await parseBody(output.body, context);
|
|
463
463
|
let contents = {};
|
|
464
|
-
contents =
|
|
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.
|
|
472
|
-
const
|
|
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
|
|
481
|
+
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
482
482
|
case "ValidationException":
|
|
483
483
|
case "com.amazonaws.acm#ValidationException":
|
|
484
|
-
throw await
|
|
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
|
|
495
|
+
const de_ListTagsForCertificateCommand = async (output, context) => {
|
|
496
496
|
if (output.statusCode >= 300) {
|
|
497
|
-
return
|
|
497
|
+
return de_ListTagsForCertificateCommandError(output, context);
|
|
498
498
|
}
|
|
499
499
|
const data = await parseBody(output.body, context);
|
|
500
500
|
let contents = {};
|
|
501
|
-
contents =
|
|
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.
|
|
509
|
-
const
|
|
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
|
|
518
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
519
519
|
case "ResourceNotFoundException":
|
|
520
520
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
521
|
-
throw await
|
|
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
|
|
532
|
+
const de_PutAccountConfigurationCommand = async (output, context) => {
|
|
533
533
|
if (output.statusCode >= 300) {
|
|
534
|
-
return
|
|
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.
|
|
543
|
-
const
|
|
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
|
|
552
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
553
553
|
case "ConflictException":
|
|
554
554
|
case "com.amazonaws.acm#ConflictException":
|
|
555
|
-
throw await
|
|
555
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
556
556
|
case "ThrottlingException":
|
|
557
557
|
case "com.amazonaws.acm#ThrottlingException":
|
|
558
|
-
throw await
|
|
558
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
559
559
|
case "ValidationException":
|
|
560
560
|
case "com.amazonaws.acm#ValidationException":
|
|
561
|
-
throw await
|
|
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
|
|
572
|
+
const de_RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
573
573
|
if (output.statusCode >= 300) {
|
|
574
|
-
return
|
|
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.
|
|
583
|
-
const
|
|
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
|
|
592
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
593
593
|
case "InvalidParameterException":
|
|
594
594
|
case "com.amazonaws.acm#InvalidParameterException":
|
|
595
|
-
throw await
|
|
595
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
596
596
|
case "InvalidTagException":
|
|
597
597
|
case "com.amazonaws.acm#InvalidTagException":
|
|
598
|
-
throw await
|
|
598
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
599
599
|
case "ResourceNotFoundException":
|
|
600
600
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
601
|
-
throw await
|
|
601
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
602
602
|
case "TagPolicyException":
|
|
603
603
|
case "com.amazonaws.acm#TagPolicyException":
|
|
604
|
-
throw await
|
|
604
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
605
605
|
case "ThrottlingException":
|
|
606
606
|
case "com.amazonaws.acm#ThrottlingException":
|
|
607
|
-
throw await
|
|
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
|
|
618
|
+
const de_RenewCertificateCommand = async (output, context) => {
|
|
619
619
|
if (output.statusCode >= 300) {
|
|
620
|
-
return
|
|
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.
|
|
629
|
-
const
|
|
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
|
|
638
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
639
639
|
case "ResourceNotFoundException":
|
|
640
640
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
641
|
-
throw await
|
|
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
|
|
652
|
+
const de_RequestCertificateCommand = async (output, context) => {
|
|
653
653
|
if (output.statusCode >= 300) {
|
|
654
|
-
return
|
|
654
|
+
return de_RequestCertificateCommandError(output, context);
|
|
655
655
|
}
|
|
656
656
|
const data = await parseBody(output.body, context);
|
|
657
657
|
let contents = {};
|
|
658
|
-
contents =
|
|
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.
|
|
666
|
-
const
|
|
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
|
|
675
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
676
676
|
case "InvalidDomainValidationOptionsException":
|
|
677
677
|
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
678
|
-
throw await
|
|
678
|
+
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
679
679
|
case "InvalidParameterException":
|
|
680
680
|
case "com.amazonaws.acm#InvalidParameterException":
|
|
681
|
-
throw await
|
|
681
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
682
682
|
case "InvalidTagException":
|
|
683
683
|
case "com.amazonaws.acm#InvalidTagException":
|
|
684
|
-
throw await
|
|
684
|
+
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
685
685
|
case "LimitExceededException":
|
|
686
686
|
case "com.amazonaws.acm#LimitExceededException":
|
|
687
|
-
throw await
|
|
687
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
688
688
|
case "TagPolicyException":
|
|
689
689
|
case "com.amazonaws.acm#TagPolicyException":
|
|
690
|
-
throw await
|
|
690
|
+
throw await de_TagPolicyExceptionRes(parsedOutput, context);
|
|
691
691
|
case "TooManyTagsException":
|
|
692
692
|
case "com.amazonaws.acm#TooManyTagsException":
|
|
693
|
-
throw await
|
|
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
|
|
704
|
+
const de_ResendValidationEmailCommand = async (output, context) => {
|
|
705
705
|
if (output.statusCode >= 300) {
|
|
706
|
-
return
|
|
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.
|
|
715
|
-
const
|
|
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
|
|
724
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
725
725
|
case "InvalidDomainValidationOptionsException":
|
|
726
726
|
case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
|
|
727
|
-
throw await
|
|
727
|
+
throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput, context);
|
|
728
728
|
case "InvalidStateException":
|
|
729
729
|
case "com.amazonaws.acm#InvalidStateException":
|
|
730
|
-
throw await
|
|
730
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
731
731
|
case "ResourceNotFoundException":
|
|
732
732
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
733
|
-
throw await
|
|
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
|
|
744
|
+
const de_UpdateCertificateOptionsCommand = async (output, context) => {
|
|
745
745
|
if (output.statusCode >= 300) {
|
|
746
|
-
return
|
|
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.
|
|
755
|
-
const
|
|
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
|
|
764
|
+
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
765
765
|
case "InvalidStateException":
|
|
766
766
|
case "com.amazonaws.acm#InvalidStateException":
|
|
767
|
-
throw await
|
|
767
|
+
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
768
768
|
case "LimitExceededException":
|
|
769
769
|
case "com.amazonaws.acm#LimitExceededException":
|
|
770
|
-
throw await
|
|
770
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
771
771
|
case "ResourceNotFoundException":
|
|
772
772
|
case "com.amazonaws.acm#ResourceNotFoundException":
|
|
773
|
-
throw await
|
|
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
|
|
784
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
785
785
|
const body = parsedOutput.body;
|
|
786
|
-
const deserialized =
|
|
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
|
|
793
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
794
794
|
const body = parsedOutput.body;
|
|
795
|
-
const deserialized =
|
|
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
|
|
802
|
+
const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
|
|
803
803
|
const body = parsedOutput.body;
|
|
804
|
-
const deserialized =
|
|
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
|
|
811
|
+
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
812
812
|
const body = parsedOutput.body;
|
|
813
|
-
const deserialized =
|
|
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
|
|
820
|
+
const de_InvalidDomainValidationOptionsExceptionRes = async (parsedOutput, context) => {
|
|
821
821
|
const body = parsedOutput.body;
|
|
822
|
-
const deserialized =
|
|
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
|
|
829
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
830
830
|
const body = parsedOutput.body;
|
|
831
|
-
const deserialized =
|
|
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
|
|
838
|
+
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
839
839
|
const body = parsedOutput.body;
|
|
840
|
-
const deserialized =
|
|
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
|
|
847
|
+
const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
848
848
|
const body = parsedOutput.body;
|
|
849
|
-
const deserialized =
|
|
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
|
|
856
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
857
857
|
const body = parsedOutput.body;
|
|
858
|
-
const deserialized =
|
|
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
|
|
865
|
+
const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
|
|
866
866
|
const body = parsedOutput.body;
|
|
867
|
-
const deserialized =
|
|
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
|
|
874
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
875
875
|
const body = parsedOutput.body;
|
|
876
|
-
const deserialized =
|
|
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
|
|
883
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
884
884
|
const body = parsedOutput.body;
|
|
885
|
-
const deserialized =
|
|
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
|
|
892
|
+
const de_TagPolicyExceptionRes = async (parsedOutput, context) => {
|
|
893
893
|
const body = parsedOutput.body;
|
|
894
|
-
const deserialized =
|
|
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
|
|
901
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
902
902
|
const body = parsedOutput.body;
|
|
903
|
-
const deserialized =
|
|
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
|
|
910
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
911
911
|
const body = parsedOutput.body;
|
|
912
|
-
const deserialized =
|
|
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
|
|
919
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
920
920
|
const body = parsedOutput.body;
|
|
921
|
-
const deserialized =
|
|
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
|
|
928
|
+
const se_AddTagsToCertificateRequest = (input, context) => {
|
|
929
929
|
return {
|
|
930
930
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
931
|
-
...(input.Tags != null && { Tags:
|
|
931
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
932
932
|
};
|
|
933
933
|
};
|
|
934
|
-
const
|
|
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
|
|
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
|
|
948
|
+
const se_DeleteCertificateRequest = (input, context) => {
|
|
949
949
|
return {
|
|
950
950
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
951
951
|
};
|
|
952
952
|
};
|
|
953
|
-
const
|
|
953
|
+
const se_DescribeCertificateRequest = (input, context) => {
|
|
954
954
|
return {
|
|
955
955
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
956
956
|
};
|
|
957
957
|
};
|
|
958
|
-
const
|
|
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
|
|
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
|
|
971
|
+
const se_DomainValidationOptionList = (input, context) => {
|
|
972
972
|
return input
|
|
973
973
|
.filter((e) => e != null)
|
|
974
974
|
.map((entry) => {
|
|
975
|
-
return
|
|
975
|
+
return se_DomainValidationOption(entry, context);
|
|
976
976
|
});
|
|
977
977
|
};
|
|
978
|
-
const
|
|
978
|
+
const se_ExpiryEventsConfiguration = (input, context) => {
|
|
979
979
|
return {
|
|
980
980
|
...(input.DaysBeforeExpiry != null && { DaysBeforeExpiry: input.DaysBeforeExpiry }),
|
|
981
981
|
};
|
|
982
982
|
};
|
|
983
|
-
const
|
|
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
|
|
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
|
|
996
|
+
const se_Filters = (input, context) => {
|
|
997
997
|
return {
|
|
998
998
|
...(input.extendedKeyUsage != null && {
|
|
999
|
-
extendedKeyUsage:
|
|
999
|
+
extendedKeyUsage: se_ExtendedKeyUsageFilterList(input.extendedKeyUsage, context),
|
|
1000
1000
|
}),
|
|
1001
|
-
...(input.keyTypes != null && { keyTypes:
|
|
1002
|
-
...(input.keyUsage != null && { keyUsage:
|
|
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
|
|
1005
|
+
const se_GetCertificateRequest = (input, context) => {
|
|
1006
1006
|
return {
|
|
1007
1007
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
1008
1008
|
};
|
|
1009
1009
|
};
|
|
1010
|
-
const
|
|
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:
|
|
1016
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1017
1017
|
};
|
|
1018
1018
|
};
|
|
1019
|
-
const
|
|
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
|
|
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
|
|
1033
|
+
const se_ListCertificatesRequest = (input, context) => {
|
|
1034
1034
|
return {
|
|
1035
1035
|
...(input.CertificateStatuses != null && {
|
|
1036
|
-
CertificateStatuses:
|
|
1036
|
+
CertificateStatuses: se_CertificateStatuses(input.CertificateStatuses, context),
|
|
1037
1037
|
}),
|
|
1038
|
-
...(input.Includes != null && { Includes:
|
|
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
|
|
1045
|
+
const se_ListTagsForCertificateRequest = (input, context) => {
|
|
1046
1046
|
return {
|
|
1047
1047
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
1048
1048
|
};
|
|
1049
1049
|
};
|
|
1050
|
-
const
|
|
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
|
|
1056
|
+
const se_RemoveTagsFromCertificateRequest = (input, context) => {
|
|
1059
1057
|
return {
|
|
1060
1058
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
1061
|
-
...(input.Tags != null && { Tags:
|
|
1059
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1062
1060
|
};
|
|
1063
1061
|
};
|
|
1064
|
-
const
|
|
1062
|
+
const se_RenewCertificateRequest = (input, context) => {
|
|
1065
1063
|
return {
|
|
1066
1064
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
1067
1065
|
};
|
|
1068
1066
|
};
|
|
1069
|
-
const
|
|
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:
|
|
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:
|
|
1076
|
+
...(input.Options != null && { Options: se_CertificateOptions(input.Options, context) }),
|
|
1079
1077
|
...(input.SubjectAlternativeNames != null && {
|
|
1080
|
-
SubjectAlternativeNames:
|
|
1078
|
+
SubjectAlternativeNames: se_DomainList(input.SubjectAlternativeNames, context),
|
|
1081
1079
|
}),
|
|
1082
|
-
...(input.Tags != null && { Tags:
|
|
1080
|
+
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1083
1081
|
...(input.ValidationMethod != null && { ValidationMethod: input.ValidationMethod }),
|
|
1084
1082
|
};
|
|
1085
1083
|
};
|
|
1086
|
-
const
|
|
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
|
|
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
|
|
1097
|
+
const se_TagList = (input, context) => {
|
|
1100
1098
|
return input
|
|
1101
1099
|
.filter((e) => e != null)
|
|
1102
1100
|
.map((entry) => {
|
|
1103
|
-
return
|
|
1101
|
+
return se_Tag(entry, context);
|
|
1104
1102
|
});
|
|
1105
1103
|
};
|
|
1106
|
-
const
|
|
1104
|
+
const se_UpdateCertificateOptionsRequest = (input, context) => {
|
|
1107
1105
|
return {
|
|
1108
1106
|
...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
|
|
1109
|
-
...(input.Options != null && { Options:
|
|
1107
|
+
...(input.Options != null && { Options: se_CertificateOptions(input.Options, context) }),
|
|
1110
1108
|
};
|
|
1111
1109
|
};
|
|
1112
|
-
const
|
|
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
|
|
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
|
-
?
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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
|
|
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
|
|
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 ?
|
|
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
|
-
?
|
|
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
|
|
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
|
|
1183
|
+
return de_CertificateSummary(entry, context);
|
|
1192
1184
|
});
|
|
1193
1185
|
return retVal;
|
|
1194
1186
|
};
|
|
1195
|
-
const
|
|
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
|
|
1192
|
+
const de_DescribeCertificateResponse = (output, context) => {
|
|
1201
1193
|
return {
|
|
1202
|
-
Certificate: output.Certificate != null ?
|
|
1194
|
+
Certificate: output.Certificate != null ? de_CertificateDetail(output.Certificate, context) : undefined,
|
|
1203
1195
|
};
|
|
1204
1196
|
};
|
|
1205
|
-
const
|
|
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
|
|
1208
|
+
const de_DomainValidation = (output, context) => {
|
|
1217
1209
|
return {
|
|
1218
1210
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
1219
|
-
ResourceRecord: output.ResourceRecord != null ?
|
|
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
|
|
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
|
|
1225
|
+
return de_DomainValidation(entry, context);
|
|
1236
1226
|
});
|
|
1237
1227
|
return retVal;
|
|
1238
1228
|
};
|
|
1239
|
-
const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1254
|
+
return de_ExtendedKeyUsage(entry, context);
|
|
1265
1255
|
});
|
|
1266
1256
|
return retVal;
|
|
1267
1257
|
};
|
|
1268
|
-
const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1338
|
+
return de_KeyUsage(entry, context);
|
|
1351
1339
|
});
|
|
1352
1340
|
return retVal;
|
|
1353
1341
|
};
|
|
1354
|
-
const
|
|
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
|
|
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
|
|
1358
|
+
const de_ListCertificatesResponse = (output, context) => {
|
|
1371
1359
|
return {
|
|
1372
1360
|
CertificateSummaryList: output.CertificateSummaryList != null
|
|
1373
|
-
?
|
|
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
|
|
1366
|
+
const de_ListTagsForCertificateResponse = (output, context) => {
|
|
1379
1367
|
return {
|
|
1380
|
-
Tags: output.Tags != null ?
|
|
1368
|
+
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
1381
1369
|
};
|
|
1382
1370
|
};
|
|
1383
|
-
const
|
|
1371
|
+
const de_RenewalSummary = (output, context) => {
|
|
1384
1372
|
return {
|
|
1385
1373
|
DomainValidationOptions: output.DomainValidationOptions != null
|
|
1386
|
-
?
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1421
|
+
return de_Tag(entry, context);
|
|
1434
1422
|
});
|
|
1435
1423
|
return retVal;
|
|
1436
1424
|
};
|
|
1437
|
-
const
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1451
|
+
const de_ValidationException = (output, context) => {
|
|
1464
1452
|
return {
|
|
1465
1453
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1466
1454
|
};
|