@aws-sdk/client-acm-pca 3.306.0 → 3.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -2
  2. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +2 -2
  3. package/dist-cjs/commands/CreatePermissionCommand.js +2 -2
  4. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +2 -2
  5. package/dist-cjs/commands/DeletePermissionCommand.js +2 -2
  6. package/dist-cjs/commands/DeletePolicyCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +2 -2
  9. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +2 -2
  10. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +2 -2
  11. package/dist-cjs/commands/GetCertificateCommand.js +2 -2
  12. package/dist-cjs/commands/GetPolicyCommand.js +2 -2
  13. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +2 -2
  14. package/dist-cjs/commands/IssueCertificateCommand.js +2 -2
  15. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +2 -2
  16. package/dist-cjs/commands/ListPermissionsCommand.js +2 -2
  17. package/dist-cjs/commands/ListTagsCommand.js +2 -2
  18. package/dist-cjs/commands/PutPolicyCommand.js +2 -2
  19. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +2 -2
  20. package/dist-cjs/commands/RevokeCertificateCommand.js +2 -2
  21. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +2 -2
  22. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +2 -2
  24. package/dist-cjs/protocols/Aws_json1_1.js +492 -512
  25. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -3
  26. package/dist-es/commands/CreateCertificateAuthorityCommand.js +3 -3
  27. package/dist-es/commands/CreatePermissionCommand.js +3 -3
  28. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +3 -3
  29. package/dist-es/commands/DeletePermissionCommand.js +3 -3
  30. package/dist-es/commands/DeletePolicyCommand.js +3 -3
  31. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -3
  32. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +3 -3
  33. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +3 -3
  34. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +3 -3
  35. package/dist-es/commands/GetCertificateCommand.js +3 -3
  36. package/dist-es/commands/GetPolicyCommand.js +3 -3
  37. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +3 -3
  38. package/dist-es/commands/IssueCertificateCommand.js +3 -3
  39. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +3 -3
  40. package/dist-es/commands/ListPermissionsCommand.js +3 -3
  41. package/dist-es/commands/ListTagsCommand.js +3 -3
  42. package/dist-es/commands/PutPolicyCommand.js +3 -3
  43. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +3 -3
  44. package/dist-es/commands/RevokeCertificateCommand.js +3 -3
  45. package/dist-es/commands/TagCertificateAuthorityCommand.js +3 -3
  46. package/dist-es/commands/UntagCertificateAuthorityCommand.js +3 -3
  47. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +3 -3
  48. package/dist-es/protocols/Aws_json1_1.js +445 -465
  49. package/dist-types/protocols/Aws_json1_1.d.ts +184 -46
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +46 -46
  51. package/package.json +36 -36
@@ -1,255 +1,255 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_1UpdateCertificateAuthorityCommand = exports.deserializeAws_json1_1UntagCertificateAuthorityCommand = exports.deserializeAws_json1_1TagCertificateAuthorityCommand = exports.deserializeAws_json1_1RevokeCertificateCommand = exports.deserializeAws_json1_1RestoreCertificateAuthorityCommand = exports.deserializeAws_json1_1PutPolicyCommand = exports.deserializeAws_json1_1ListTagsCommand = exports.deserializeAws_json1_1ListPermissionsCommand = exports.deserializeAws_json1_1ListCertificateAuthoritiesCommand = exports.deserializeAws_json1_1IssueCertificateCommand = exports.deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand = exports.deserializeAws_json1_1GetPolicyCommand = exports.deserializeAws_json1_1GetCertificateAuthorityCsrCommand = exports.deserializeAws_json1_1GetCertificateAuthorityCertificateCommand = exports.deserializeAws_json1_1GetCertificateCommand = exports.deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = exports.deserializeAws_json1_1DescribeCertificateAuthorityCommand = exports.deserializeAws_json1_1DeletePolicyCommand = exports.deserializeAws_json1_1DeletePermissionCommand = exports.deserializeAws_json1_1DeleteCertificateAuthorityCommand = exports.deserializeAws_json1_1CreatePermissionCommand = exports.deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = exports.deserializeAws_json1_1CreateCertificateAuthorityCommand = exports.serializeAws_json1_1UpdateCertificateAuthorityCommand = exports.serializeAws_json1_1UntagCertificateAuthorityCommand = exports.serializeAws_json1_1TagCertificateAuthorityCommand = exports.serializeAws_json1_1RevokeCertificateCommand = exports.serializeAws_json1_1RestoreCertificateAuthorityCommand = exports.serializeAws_json1_1PutPolicyCommand = exports.serializeAws_json1_1ListTagsCommand = exports.serializeAws_json1_1ListPermissionsCommand = exports.serializeAws_json1_1ListCertificateAuthoritiesCommand = exports.serializeAws_json1_1IssueCertificateCommand = exports.serializeAws_json1_1ImportCertificateAuthorityCertificateCommand = exports.serializeAws_json1_1GetPolicyCommand = exports.serializeAws_json1_1GetCertificateAuthorityCsrCommand = exports.serializeAws_json1_1GetCertificateAuthorityCertificateCommand = exports.serializeAws_json1_1GetCertificateCommand = exports.serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = exports.serializeAws_json1_1DescribeCertificateAuthorityCommand = exports.serializeAws_json1_1DeletePolicyCommand = exports.serializeAws_json1_1DeletePermissionCommand = exports.serializeAws_json1_1DeleteCertificateAuthorityCommand = exports.serializeAws_json1_1CreatePermissionCommand = exports.serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = exports.serializeAws_json1_1CreateCertificateAuthorityCommand = void 0;
3
+ exports.de_UpdateCertificateAuthorityCommand = exports.de_UntagCertificateAuthorityCommand = exports.de_TagCertificateAuthorityCommand = exports.de_RevokeCertificateCommand = exports.de_RestoreCertificateAuthorityCommand = exports.de_PutPolicyCommand = exports.de_ListTagsCommand = exports.de_ListPermissionsCommand = exports.de_ListCertificateAuthoritiesCommand = exports.de_IssueCertificateCommand = exports.de_ImportCertificateAuthorityCertificateCommand = exports.de_GetPolicyCommand = exports.de_GetCertificateAuthorityCsrCommand = exports.de_GetCertificateAuthorityCertificateCommand = exports.de_GetCertificateCommand = exports.de_DescribeCertificateAuthorityAuditReportCommand = exports.de_DescribeCertificateAuthorityCommand = exports.de_DeletePolicyCommand = exports.de_DeletePermissionCommand = exports.de_DeleteCertificateAuthorityCommand = exports.de_CreatePermissionCommand = exports.de_CreateCertificateAuthorityAuditReportCommand = exports.de_CreateCertificateAuthorityCommand = exports.se_UpdateCertificateAuthorityCommand = exports.se_UntagCertificateAuthorityCommand = exports.se_TagCertificateAuthorityCommand = exports.se_RevokeCertificateCommand = exports.se_RestoreCertificateAuthorityCommand = exports.se_PutPolicyCommand = exports.se_ListTagsCommand = exports.se_ListPermissionsCommand = exports.se_ListCertificateAuthoritiesCommand = exports.se_IssueCertificateCommand = exports.se_ImportCertificateAuthorityCertificateCommand = exports.se_GetPolicyCommand = exports.se_GetCertificateAuthorityCsrCommand = exports.se_GetCertificateAuthorityCertificateCommand = exports.se_GetCertificateCommand = exports.se_DescribeCertificateAuthorityAuditReportCommand = exports.se_DescribeCertificateAuthorityCommand = exports.se_DeletePolicyCommand = exports.se_DeletePermissionCommand = exports.se_DeleteCertificateAuthorityCommand = exports.se_CreatePermissionCommand = exports.se_CreateCertificateAuthorityAuditReportCommand = exports.se_CreateCertificateAuthorityCommand = 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 ACMPCAServiceException_1 = require("../models/ACMPCAServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
- const serializeAws_json1_1CreateCertificateAuthorityCommand = async (input, context) => {
8
+ const se_CreateCertificateAuthorityCommand = async (input, context) => {
9
9
  const headers = {
10
10
  "content-type": "application/x-amz-json-1.1",
11
11
  "x-amz-target": "ACMPrivateCA.CreateCertificateAuthority",
12
12
  };
13
13
  let body;
14
- body = JSON.stringify(serializeAws_json1_1CreateCertificateAuthorityRequest(input, context));
14
+ body = JSON.stringify(se_CreateCertificateAuthorityRequest(input, context));
15
15
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
16
16
  };
17
- exports.serializeAws_json1_1CreateCertificateAuthorityCommand = serializeAws_json1_1CreateCertificateAuthorityCommand;
18
- const serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = async (input, context) => {
17
+ exports.se_CreateCertificateAuthorityCommand = se_CreateCertificateAuthorityCommand;
18
+ const se_CreateCertificateAuthorityAuditReportCommand = async (input, context) => {
19
19
  const headers = {
20
20
  "content-type": "application/x-amz-json-1.1",
21
21
  "x-amz-target": "ACMPrivateCA.CreateCertificateAuthorityAuditReport",
22
22
  };
23
23
  let body;
24
- body = JSON.stringify(serializeAws_json1_1CreateCertificateAuthorityAuditReportRequest(input, context));
24
+ body = JSON.stringify(se_CreateCertificateAuthorityAuditReportRequest(input, context));
25
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
26
26
  };
27
- exports.serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = serializeAws_json1_1CreateCertificateAuthorityAuditReportCommand;
28
- const serializeAws_json1_1CreatePermissionCommand = async (input, context) => {
27
+ exports.se_CreateCertificateAuthorityAuditReportCommand = se_CreateCertificateAuthorityAuditReportCommand;
28
+ const se_CreatePermissionCommand = async (input, context) => {
29
29
  const headers = {
30
30
  "content-type": "application/x-amz-json-1.1",
31
31
  "x-amz-target": "ACMPrivateCA.CreatePermission",
32
32
  };
33
33
  let body;
34
- body = JSON.stringify(serializeAws_json1_1CreatePermissionRequest(input, context));
34
+ body = JSON.stringify(se_CreatePermissionRequest(input, context));
35
35
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
36
36
  };
37
- exports.serializeAws_json1_1CreatePermissionCommand = serializeAws_json1_1CreatePermissionCommand;
38
- const serializeAws_json1_1DeleteCertificateAuthorityCommand = async (input, context) => {
37
+ exports.se_CreatePermissionCommand = se_CreatePermissionCommand;
38
+ const se_DeleteCertificateAuthorityCommand = async (input, context) => {
39
39
  const headers = {
40
40
  "content-type": "application/x-amz-json-1.1",
41
41
  "x-amz-target": "ACMPrivateCA.DeleteCertificateAuthority",
42
42
  };
43
43
  let body;
44
- body = JSON.stringify(serializeAws_json1_1DeleteCertificateAuthorityRequest(input, context));
44
+ body = JSON.stringify(se_DeleteCertificateAuthorityRequest(input, context));
45
45
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
46
46
  };
47
- exports.serializeAws_json1_1DeleteCertificateAuthorityCommand = serializeAws_json1_1DeleteCertificateAuthorityCommand;
48
- const serializeAws_json1_1DeletePermissionCommand = async (input, context) => {
47
+ exports.se_DeleteCertificateAuthorityCommand = se_DeleteCertificateAuthorityCommand;
48
+ const se_DeletePermissionCommand = async (input, context) => {
49
49
  const headers = {
50
50
  "content-type": "application/x-amz-json-1.1",
51
51
  "x-amz-target": "ACMPrivateCA.DeletePermission",
52
52
  };
53
53
  let body;
54
- body = JSON.stringify(serializeAws_json1_1DeletePermissionRequest(input, context));
54
+ body = JSON.stringify(se_DeletePermissionRequest(input, context));
55
55
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
56
56
  };
57
- exports.serializeAws_json1_1DeletePermissionCommand = serializeAws_json1_1DeletePermissionCommand;
58
- const serializeAws_json1_1DeletePolicyCommand = async (input, context) => {
57
+ exports.se_DeletePermissionCommand = se_DeletePermissionCommand;
58
+ const se_DeletePolicyCommand = async (input, context) => {
59
59
  const headers = {
60
60
  "content-type": "application/x-amz-json-1.1",
61
61
  "x-amz-target": "ACMPrivateCA.DeletePolicy",
62
62
  };
63
63
  let body;
64
- body = JSON.stringify(serializeAws_json1_1DeletePolicyRequest(input, context));
64
+ body = JSON.stringify(se_DeletePolicyRequest(input, context));
65
65
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
66
66
  };
67
- exports.serializeAws_json1_1DeletePolicyCommand = serializeAws_json1_1DeletePolicyCommand;
68
- const serializeAws_json1_1DescribeCertificateAuthorityCommand = async (input, context) => {
67
+ exports.se_DeletePolicyCommand = se_DeletePolicyCommand;
68
+ const se_DescribeCertificateAuthorityCommand = async (input, context) => {
69
69
  const headers = {
70
70
  "content-type": "application/x-amz-json-1.1",
71
71
  "x-amz-target": "ACMPrivateCA.DescribeCertificateAuthority",
72
72
  };
73
73
  let body;
74
- body = JSON.stringify(serializeAws_json1_1DescribeCertificateAuthorityRequest(input, context));
74
+ body = JSON.stringify(se_DescribeCertificateAuthorityRequest(input, context));
75
75
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
76
  };
77
- exports.serializeAws_json1_1DescribeCertificateAuthorityCommand = serializeAws_json1_1DescribeCertificateAuthorityCommand;
78
- const serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = async (input, context) => {
77
+ exports.se_DescribeCertificateAuthorityCommand = se_DescribeCertificateAuthorityCommand;
78
+ const se_DescribeCertificateAuthorityAuditReportCommand = async (input, context) => {
79
79
  const headers = {
80
80
  "content-type": "application/x-amz-json-1.1",
81
81
  "x-amz-target": "ACMPrivateCA.DescribeCertificateAuthorityAuditReport",
82
82
  };
83
83
  let body;
84
- body = JSON.stringify(serializeAws_json1_1DescribeCertificateAuthorityAuditReportRequest(input, context));
84
+ body = JSON.stringify(se_DescribeCertificateAuthorityAuditReportRequest(input, context));
85
85
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
86
86
  };
87
- exports.serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = serializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand;
88
- const serializeAws_json1_1GetCertificateCommand = async (input, context) => {
87
+ exports.se_DescribeCertificateAuthorityAuditReportCommand = se_DescribeCertificateAuthorityAuditReportCommand;
88
+ const se_GetCertificateCommand = async (input, context) => {
89
89
  const headers = {
90
90
  "content-type": "application/x-amz-json-1.1",
91
91
  "x-amz-target": "ACMPrivateCA.GetCertificate",
92
92
  };
93
93
  let body;
94
- body = JSON.stringify(serializeAws_json1_1GetCertificateRequest(input, context));
94
+ body = JSON.stringify(se_GetCertificateRequest(input, context));
95
95
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
96
96
  };
97
- exports.serializeAws_json1_1GetCertificateCommand = serializeAws_json1_1GetCertificateCommand;
98
- const serializeAws_json1_1GetCertificateAuthorityCertificateCommand = async (input, context) => {
97
+ exports.se_GetCertificateCommand = se_GetCertificateCommand;
98
+ const se_GetCertificateAuthorityCertificateCommand = async (input, context) => {
99
99
  const headers = {
100
100
  "content-type": "application/x-amz-json-1.1",
101
101
  "x-amz-target": "ACMPrivateCA.GetCertificateAuthorityCertificate",
102
102
  };
103
103
  let body;
104
- body = JSON.stringify(serializeAws_json1_1GetCertificateAuthorityCertificateRequest(input, context));
104
+ body = JSON.stringify(se_GetCertificateAuthorityCertificateRequest(input, context));
105
105
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
106
106
  };
107
- exports.serializeAws_json1_1GetCertificateAuthorityCertificateCommand = serializeAws_json1_1GetCertificateAuthorityCertificateCommand;
108
- const serializeAws_json1_1GetCertificateAuthorityCsrCommand = async (input, context) => {
107
+ exports.se_GetCertificateAuthorityCertificateCommand = se_GetCertificateAuthorityCertificateCommand;
108
+ const se_GetCertificateAuthorityCsrCommand = async (input, context) => {
109
109
  const headers = {
110
110
  "content-type": "application/x-amz-json-1.1",
111
111
  "x-amz-target": "ACMPrivateCA.GetCertificateAuthorityCsr",
112
112
  };
113
113
  let body;
114
- body = JSON.stringify(serializeAws_json1_1GetCertificateAuthorityCsrRequest(input, context));
114
+ body = JSON.stringify(se_GetCertificateAuthorityCsrRequest(input, context));
115
115
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
116
116
  };
117
- exports.serializeAws_json1_1GetCertificateAuthorityCsrCommand = serializeAws_json1_1GetCertificateAuthorityCsrCommand;
118
- const serializeAws_json1_1GetPolicyCommand = async (input, context) => {
117
+ exports.se_GetCertificateAuthorityCsrCommand = se_GetCertificateAuthorityCsrCommand;
118
+ const se_GetPolicyCommand = async (input, context) => {
119
119
  const headers = {
120
120
  "content-type": "application/x-amz-json-1.1",
121
121
  "x-amz-target": "ACMPrivateCA.GetPolicy",
122
122
  };
123
123
  let body;
124
- body = JSON.stringify(serializeAws_json1_1GetPolicyRequest(input, context));
124
+ body = JSON.stringify(se_GetPolicyRequest(input, context));
125
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
126
  };
127
- exports.serializeAws_json1_1GetPolicyCommand = serializeAws_json1_1GetPolicyCommand;
128
- const serializeAws_json1_1ImportCertificateAuthorityCertificateCommand = async (input, context) => {
127
+ exports.se_GetPolicyCommand = se_GetPolicyCommand;
128
+ const se_ImportCertificateAuthorityCertificateCommand = async (input, context) => {
129
129
  const headers = {
130
130
  "content-type": "application/x-amz-json-1.1",
131
131
  "x-amz-target": "ACMPrivateCA.ImportCertificateAuthorityCertificate",
132
132
  };
133
133
  let body;
134
- body = JSON.stringify(serializeAws_json1_1ImportCertificateAuthorityCertificateRequest(input, context));
134
+ body = JSON.stringify(se_ImportCertificateAuthorityCertificateRequest(input, context));
135
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
136
136
  };
137
- exports.serializeAws_json1_1ImportCertificateAuthorityCertificateCommand = serializeAws_json1_1ImportCertificateAuthorityCertificateCommand;
138
- const serializeAws_json1_1IssueCertificateCommand = async (input, context) => {
137
+ exports.se_ImportCertificateAuthorityCertificateCommand = se_ImportCertificateAuthorityCertificateCommand;
138
+ const se_IssueCertificateCommand = async (input, context) => {
139
139
  const headers = {
140
140
  "content-type": "application/x-amz-json-1.1",
141
141
  "x-amz-target": "ACMPrivateCA.IssueCertificate",
142
142
  };
143
143
  let body;
144
- body = JSON.stringify(serializeAws_json1_1IssueCertificateRequest(input, context));
144
+ body = JSON.stringify(se_IssueCertificateRequest(input, context));
145
145
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
146
146
  };
147
- exports.serializeAws_json1_1IssueCertificateCommand = serializeAws_json1_1IssueCertificateCommand;
148
- const serializeAws_json1_1ListCertificateAuthoritiesCommand = async (input, context) => {
147
+ exports.se_IssueCertificateCommand = se_IssueCertificateCommand;
148
+ const se_ListCertificateAuthoritiesCommand = async (input, context) => {
149
149
  const headers = {
150
150
  "content-type": "application/x-amz-json-1.1",
151
151
  "x-amz-target": "ACMPrivateCA.ListCertificateAuthorities",
152
152
  };
153
153
  let body;
154
- body = JSON.stringify(serializeAws_json1_1ListCertificateAuthoritiesRequest(input, context));
154
+ body = JSON.stringify(se_ListCertificateAuthoritiesRequest(input, context));
155
155
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
156
156
  };
157
- exports.serializeAws_json1_1ListCertificateAuthoritiesCommand = serializeAws_json1_1ListCertificateAuthoritiesCommand;
158
- const serializeAws_json1_1ListPermissionsCommand = async (input, context) => {
157
+ exports.se_ListCertificateAuthoritiesCommand = se_ListCertificateAuthoritiesCommand;
158
+ const se_ListPermissionsCommand = async (input, context) => {
159
159
  const headers = {
160
160
  "content-type": "application/x-amz-json-1.1",
161
161
  "x-amz-target": "ACMPrivateCA.ListPermissions",
162
162
  };
163
163
  let body;
164
- body = JSON.stringify(serializeAws_json1_1ListPermissionsRequest(input, context));
164
+ body = JSON.stringify(se_ListPermissionsRequest(input, context));
165
165
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
166
166
  };
167
- exports.serializeAws_json1_1ListPermissionsCommand = serializeAws_json1_1ListPermissionsCommand;
168
- const serializeAws_json1_1ListTagsCommand = async (input, context) => {
167
+ exports.se_ListPermissionsCommand = se_ListPermissionsCommand;
168
+ const se_ListTagsCommand = async (input, context) => {
169
169
  const headers = {
170
170
  "content-type": "application/x-amz-json-1.1",
171
171
  "x-amz-target": "ACMPrivateCA.ListTags",
172
172
  };
173
173
  let body;
174
- body = JSON.stringify(serializeAws_json1_1ListTagsRequest(input, context));
174
+ body = JSON.stringify(se_ListTagsRequest(input, context));
175
175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
176
176
  };
177
- exports.serializeAws_json1_1ListTagsCommand = serializeAws_json1_1ListTagsCommand;
178
- const serializeAws_json1_1PutPolicyCommand = async (input, context) => {
177
+ exports.se_ListTagsCommand = se_ListTagsCommand;
178
+ const se_PutPolicyCommand = async (input, context) => {
179
179
  const headers = {
180
180
  "content-type": "application/x-amz-json-1.1",
181
181
  "x-amz-target": "ACMPrivateCA.PutPolicy",
182
182
  };
183
183
  let body;
184
- body = JSON.stringify(serializeAws_json1_1PutPolicyRequest(input, context));
184
+ body = JSON.stringify(se_PutPolicyRequest(input, context));
185
185
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
186
186
  };
187
- exports.serializeAws_json1_1PutPolicyCommand = serializeAws_json1_1PutPolicyCommand;
188
- const serializeAws_json1_1RestoreCertificateAuthorityCommand = async (input, context) => {
187
+ exports.se_PutPolicyCommand = se_PutPolicyCommand;
188
+ const se_RestoreCertificateAuthorityCommand = async (input, context) => {
189
189
  const headers = {
190
190
  "content-type": "application/x-amz-json-1.1",
191
191
  "x-amz-target": "ACMPrivateCA.RestoreCertificateAuthority",
192
192
  };
193
193
  let body;
194
- body = JSON.stringify(serializeAws_json1_1RestoreCertificateAuthorityRequest(input, context));
194
+ body = JSON.stringify(se_RestoreCertificateAuthorityRequest(input, context));
195
195
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
196
196
  };
197
- exports.serializeAws_json1_1RestoreCertificateAuthorityCommand = serializeAws_json1_1RestoreCertificateAuthorityCommand;
198
- const serializeAws_json1_1RevokeCertificateCommand = async (input, context) => {
197
+ exports.se_RestoreCertificateAuthorityCommand = se_RestoreCertificateAuthorityCommand;
198
+ const se_RevokeCertificateCommand = async (input, context) => {
199
199
  const headers = {
200
200
  "content-type": "application/x-amz-json-1.1",
201
201
  "x-amz-target": "ACMPrivateCA.RevokeCertificate",
202
202
  };
203
203
  let body;
204
- body = JSON.stringify(serializeAws_json1_1RevokeCertificateRequest(input, context));
204
+ body = JSON.stringify(se_RevokeCertificateRequest(input, context));
205
205
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
206
206
  };
207
- exports.serializeAws_json1_1RevokeCertificateCommand = serializeAws_json1_1RevokeCertificateCommand;
208
- const serializeAws_json1_1TagCertificateAuthorityCommand = async (input, context) => {
207
+ exports.se_RevokeCertificateCommand = se_RevokeCertificateCommand;
208
+ const se_TagCertificateAuthorityCommand = async (input, context) => {
209
209
  const headers = {
210
210
  "content-type": "application/x-amz-json-1.1",
211
211
  "x-amz-target": "ACMPrivateCA.TagCertificateAuthority",
212
212
  };
213
213
  let body;
214
- body = JSON.stringify(serializeAws_json1_1TagCertificateAuthorityRequest(input, context));
214
+ body = JSON.stringify(se_TagCertificateAuthorityRequest(input, context));
215
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
216
216
  };
217
- exports.serializeAws_json1_1TagCertificateAuthorityCommand = serializeAws_json1_1TagCertificateAuthorityCommand;
218
- const serializeAws_json1_1UntagCertificateAuthorityCommand = async (input, context) => {
217
+ exports.se_TagCertificateAuthorityCommand = se_TagCertificateAuthorityCommand;
218
+ const se_UntagCertificateAuthorityCommand = async (input, context) => {
219
219
  const headers = {
220
220
  "content-type": "application/x-amz-json-1.1",
221
221
  "x-amz-target": "ACMPrivateCA.UntagCertificateAuthority",
222
222
  };
223
223
  let body;
224
- body = JSON.stringify(serializeAws_json1_1UntagCertificateAuthorityRequest(input, context));
224
+ body = JSON.stringify(se_UntagCertificateAuthorityRequest(input, context));
225
225
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
226
226
  };
227
- exports.serializeAws_json1_1UntagCertificateAuthorityCommand = serializeAws_json1_1UntagCertificateAuthorityCommand;
228
- const serializeAws_json1_1UpdateCertificateAuthorityCommand = async (input, context) => {
227
+ exports.se_UntagCertificateAuthorityCommand = se_UntagCertificateAuthorityCommand;
228
+ const se_UpdateCertificateAuthorityCommand = async (input, context) => {
229
229
  const headers = {
230
230
  "content-type": "application/x-amz-json-1.1",
231
231
  "x-amz-target": "ACMPrivateCA.UpdateCertificateAuthority",
232
232
  };
233
233
  let body;
234
- body = JSON.stringify(serializeAws_json1_1UpdateCertificateAuthorityRequest(input, context));
234
+ body = JSON.stringify(se_UpdateCertificateAuthorityRequest(input, context));
235
235
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
236
236
  };
237
- exports.serializeAws_json1_1UpdateCertificateAuthorityCommand = serializeAws_json1_1UpdateCertificateAuthorityCommand;
238
- const deserializeAws_json1_1CreateCertificateAuthorityCommand = async (output, context) => {
237
+ exports.se_UpdateCertificateAuthorityCommand = se_UpdateCertificateAuthorityCommand;
238
+ const de_CreateCertificateAuthorityCommand = async (output, context) => {
239
239
  if (output.statusCode >= 300) {
240
- return deserializeAws_json1_1CreateCertificateAuthorityCommandError(output, context);
240
+ return de_CreateCertificateAuthorityCommandError(output, context);
241
241
  }
242
242
  const data = await parseBody(output.body, context);
243
243
  let contents = {};
244
- contents = deserializeAws_json1_1CreateCertificateAuthorityResponse(data, context);
244
+ contents = de_CreateCertificateAuthorityResponse(data, context);
245
245
  const response = {
246
246
  $metadata: deserializeMetadata(output),
247
247
  ...contents,
248
248
  };
249
249
  return Promise.resolve(response);
250
250
  };
251
- exports.deserializeAws_json1_1CreateCertificateAuthorityCommand = deserializeAws_json1_1CreateCertificateAuthorityCommand;
252
- const deserializeAws_json1_1CreateCertificateAuthorityCommandError = async (output, context) => {
251
+ exports.de_CreateCertificateAuthorityCommand = de_CreateCertificateAuthorityCommand;
252
+ const de_CreateCertificateAuthorityCommandError = async (output, context) => {
253
253
  const parsedOutput = {
254
254
  ...output,
255
255
  body: await parseErrorBody(output.body, context),
@@ -258,16 +258,16 @@ const deserializeAws_json1_1CreateCertificateAuthorityCommandError = async (outp
258
258
  switch (errorCode) {
259
259
  case "InvalidArgsException":
260
260
  case "com.amazonaws.acmpca#InvalidArgsException":
261
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
261
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
262
262
  case "InvalidPolicyException":
263
263
  case "com.amazonaws.acmpca#InvalidPolicyException":
264
- throw await deserializeAws_json1_1InvalidPolicyExceptionResponse(parsedOutput, context);
264
+ throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
265
265
  case "InvalidTagException":
266
266
  case "com.amazonaws.acmpca#InvalidTagException":
267
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
267
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
268
268
  case "LimitExceededException":
269
269
  case "com.amazonaws.acmpca#LimitExceededException":
270
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
270
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
271
271
  default:
272
272
  const parsedBody = parsedOutput.body;
273
273
  (0, smithy_client_1.throwDefaultError)({
@@ -278,21 +278,21 @@ const deserializeAws_json1_1CreateCertificateAuthorityCommandError = async (outp
278
278
  });
279
279
  }
280
280
  };
281
- const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = async (output, context) => {
281
+ const de_CreateCertificateAuthorityAuditReportCommand = async (output, context) => {
282
282
  if (output.statusCode >= 300) {
283
- return deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommandError(output, context);
283
+ return de_CreateCertificateAuthorityAuditReportCommandError(output, context);
284
284
  }
285
285
  const data = await parseBody(output.body, context);
286
286
  let contents = {};
287
- contents = deserializeAws_json1_1CreateCertificateAuthorityAuditReportResponse(data, context);
287
+ contents = de_CreateCertificateAuthorityAuditReportResponse(data, context);
288
288
  const response = {
289
289
  $metadata: deserializeMetadata(output),
290
290
  ...contents,
291
291
  };
292
292
  return Promise.resolve(response);
293
293
  };
294
- exports.deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand;
295
- const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommandError = async (output, context) => {
294
+ exports.de_CreateCertificateAuthorityAuditReportCommand = de_CreateCertificateAuthorityAuditReportCommand;
295
+ const de_CreateCertificateAuthorityAuditReportCommandError = async (output, context) => {
296
296
  const parsedOutput = {
297
297
  ...output,
298
298
  body: await parseErrorBody(output.body, context),
@@ -301,22 +301,22 @@ const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommandError =
301
301
  switch (errorCode) {
302
302
  case "InvalidArgsException":
303
303
  case "com.amazonaws.acmpca#InvalidArgsException":
304
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
304
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
305
305
  case "InvalidArnException":
306
306
  case "com.amazonaws.acmpca#InvalidArnException":
307
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
307
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
308
308
  case "InvalidStateException":
309
309
  case "com.amazonaws.acmpca#InvalidStateException":
310
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
310
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
311
311
  case "RequestFailedException":
312
312
  case "com.amazonaws.acmpca#RequestFailedException":
313
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
313
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
314
314
  case "RequestInProgressException":
315
315
  case "com.amazonaws.acmpca#RequestInProgressException":
316
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
316
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
317
317
  case "ResourceNotFoundException":
318
318
  case "com.amazonaws.acmpca#ResourceNotFoundException":
319
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
319
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
320
320
  default:
321
321
  const parsedBody = parsedOutput.body;
322
322
  (0, smithy_client_1.throwDefaultError)({
@@ -327,9 +327,9 @@ const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommandError =
327
327
  });
328
328
  }
329
329
  };
330
- const deserializeAws_json1_1CreatePermissionCommand = async (output, context) => {
330
+ const de_CreatePermissionCommand = async (output, context) => {
331
331
  if (output.statusCode >= 300) {
332
- return deserializeAws_json1_1CreatePermissionCommandError(output, context);
332
+ return de_CreatePermissionCommandError(output, context);
333
333
  }
334
334
  await collectBody(output.body, context);
335
335
  const response = {
@@ -337,8 +337,8 @@ const deserializeAws_json1_1CreatePermissionCommand = async (output, context) =>
337
337
  };
338
338
  return Promise.resolve(response);
339
339
  };
340
- exports.deserializeAws_json1_1CreatePermissionCommand = deserializeAws_json1_1CreatePermissionCommand;
341
- const deserializeAws_json1_1CreatePermissionCommandError = async (output, context) => {
340
+ exports.de_CreatePermissionCommand = de_CreatePermissionCommand;
341
+ const de_CreatePermissionCommandError = async (output, context) => {
342
342
  const parsedOutput = {
343
343
  ...output,
344
344
  body: await parseErrorBody(output.body, context),
@@ -347,22 +347,22 @@ const deserializeAws_json1_1CreatePermissionCommandError = async (output, contex
347
347
  switch (errorCode) {
348
348
  case "InvalidArnException":
349
349
  case "com.amazonaws.acmpca#InvalidArnException":
350
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
350
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
351
351
  case "InvalidStateException":
352
352
  case "com.amazonaws.acmpca#InvalidStateException":
353
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
353
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
354
354
  case "LimitExceededException":
355
355
  case "com.amazonaws.acmpca#LimitExceededException":
356
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
356
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
357
357
  case "PermissionAlreadyExistsException":
358
358
  case "com.amazonaws.acmpca#PermissionAlreadyExistsException":
359
- throw await deserializeAws_json1_1PermissionAlreadyExistsExceptionResponse(parsedOutput, context);
359
+ throw await de_PermissionAlreadyExistsExceptionRes(parsedOutput, context);
360
360
  case "RequestFailedException":
361
361
  case "com.amazonaws.acmpca#RequestFailedException":
362
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
362
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
363
363
  case "ResourceNotFoundException":
364
364
  case "com.amazonaws.acmpca#ResourceNotFoundException":
365
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
365
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
366
366
  default:
367
367
  const parsedBody = parsedOutput.body;
368
368
  (0, smithy_client_1.throwDefaultError)({
@@ -373,9 +373,9 @@ const deserializeAws_json1_1CreatePermissionCommandError = async (output, contex
373
373
  });
374
374
  }
375
375
  };
376
- const deserializeAws_json1_1DeleteCertificateAuthorityCommand = async (output, context) => {
376
+ const de_DeleteCertificateAuthorityCommand = async (output, context) => {
377
377
  if (output.statusCode >= 300) {
378
- return deserializeAws_json1_1DeleteCertificateAuthorityCommandError(output, context);
378
+ return de_DeleteCertificateAuthorityCommandError(output, context);
379
379
  }
380
380
  await collectBody(output.body, context);
381
381
  const response = {
@@ -383,8 +383,8 @@ const deserializeAws_json1_1DeleteCertificateAuthorityCommand = async (output, c
383
383
  };
384
384
  return Promise.resolve(response);
385
385
  };
386
- exports.deserializeAws_json1_1DeleteCertificateAuthorityCommand = deserializeAws_json1_1DeleteCertificateAuthorityCommand;
387
- const deserializeAws_json1_1DeleteCertificateAuthorityCommandError = async (output, context) => {
386
+ exports.de_DeleteCertificateAuthorityCommand = de_DeleteCertificateAuthorityCommand;
387
+ const de_DeleteCertificateAuthorityCommandError = async (output, context) => {
388
388
  const parsedOutput = {
389
389
  ...output,
390
390
  body: await parseErrorBody(output.body, context),
@@ -393,16 +393,16 @@ const deserializeAws_json1_1DeleteCertificateAuthorityCommandError = async (outp
393
393
  switch (errorCode) {
394
394
  case "ConcurrentModificationException":
395
395
  case "com.amazonaws.acmpca#ConcurrentModificationException":
396
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
396
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
397
397
  case "InvalidArnException":
398
398
  case "com.amazonaws.acmpca#InvalidArnException":
399
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
399
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
400
400
  case "InvalidStateException":
401
401
  case "com.amazonaws.acmpca#InvalidStateException":
402
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
402
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
403
403
  case "ResourceNotFoundException":
404
404
  case "com.amazonaws.acmpca#ResourceNotFoundException":
405
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
405
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
406
406
  default:
407
407
  const parsedBody = parsedOutput.body;
408
408
  (0, smithy_client_1.throwDefaultError)({
@@ -413,9 +413,9 @@ const deserializeAws_json1_1DeleteCertificateAuthorityCommandError = async (outp
413
413
  });
414
414
  }
415
415
  };
416
- const deserializeAws_json1_1DeletePermissionCommand = async (output, context) => {
416
+ const de_DeletePermissionCommand = async (output, context) => {
417
417
  if (output.statusCode >= 300) {
418
- return deserializeAws_json1_1DeletePermissionCommandError(output, context);
418
+ return de_DeletePermissionCommandError(output, context);
419
419
  }
420
420
  await collectBody(output.body, context);
421
421
  const response = {
@@ -423,8 +423,8 @@ const deserializeAws_json1_1DeletePermissionCommand = async (output, context) =>
423
423
  };
424
424
  return Promise.resolve(response);
425
425
  };
426
- exports.deserializeAws_json1_1DeletePermissionCommand = deserializeAws_json1_1DeletePermissionCommand;
427
- const deserializeAws_json1_1DeletePermissionCommandError = async (output, context) => {
426
+ exports.de_DeletePermissionCommand = de_DeletePermissionCommand;
427
+ const de_DeletePermissionCommandError = async (output, context) => {
428
428
  const parsedOutput = {
429
429
  ...output,
430
430
  body: await parseErrorBody(output.body, context),
@@ -433,16 +433,16 @@ const deserializeAws_json1_1DeletePermissionCommandError = async (output, contex
433
433
  switch (errorCode) {
434
434
  case "InvalidArnException":
435
435
  case "com.amazonaws.acmpca#InvalidArnException":
436
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
436
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
437
437
  case "InvalidStateException":
438
438
  case "com.amazonaws.acmpca#InvalidStateException":
439
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
439
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
440
440
  case "RequestFailedException":
441
441
  case "com.amazonaws.acmpca#RequestFailedException":
442
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
442
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
443
443
  case "ResourceNotFoundException":
444
444
  case "com.amazonaws.acmpca#ResourceNotFoundException":
445
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
445
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
446
446
  default:
447
447
  const parsedBody = parsedOutput.body;
448
448
  (0, smithy_client_1.throwDefaultError)({
@@ -453,9 +453,9 @@ const deserializeAws_json1_1DeletePermissionCommandError = async (output, contex
453
453
  });
454
454
  }
455
455
  };
456
- const deserializeAws_json1_1DeletePolicyCommand = async (output, context) => {
456
+ const de_DeletePolicyCommand = async (output, context) => {
457
457
  if (output.statusCode >= 300) {
458
- return deserializeAws_json1_1DeletePolicyCommandError(output, context);
458
+ return de_DeletePolicyCommandError(output, context);
459
459
  }
460
460
  await collectBody(output.body, context);
461
461
  const response = {
@@ -463,8 +463,8 @@ const deserializeAws_json1_1DeletePolicyCommand = async (output, context) => {
463
463
  };
464
464
  return Promise.resolve(response);
465
465
  };
466
- exports.deserializeAws_json1_1DeletePolicyCommand = deserializeAws_json1_1DeletePolicyCommand;
467
- const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) => {
466
+ exports.de_DeletePolicyCommand = de_DeletePolicyCommand;
467
+ const de_DeletePolicyCommandError = async (output, context) => {
468
468
  const parsedOutput = {
469
469
  ...output,
470
470
  body: await parseErrorBody(output.body, context),
@@ -473,22 +473,22 @@ const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) =
473
473
  switch (errorCode) {
474
474
  case "ConcurrentModificationException":
475
475
  case "com.amazonaws.acmpca#ConcurrentModificationException":
476
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
476
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
477
477
  case "InvalidArnException":
478
478
  case "com.amazonaws.acmpca#InvalidArnException":
479
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
479
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
480
480
  case "InvalidStateException":
481
481
  case "com.amazonaws.acmpca#InvalidStateException":
482
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
482
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
483
483
  case "LockoutPreventedException":
484
484
  case "com.amazonaws.acmpca#LockoutPreventedException":
485
- throw await deserializeAws_json1_1LockoutPreventedExceptionResponse(parsedOutput, context);
485
+ throw await de_LockoutPreventedExceptionRes(parsedOutput, context);
486
486
  case "RequestFailedException":
487
487
  case "com.amazonaws.acmpca#RequestFailedException":
488
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
488
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
489
489
  case "ResourceNotFoundException":
490
490
  case "com.amazonaws.acmpca#ResourceNotFoundException":
491
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
491
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
492
492
  default:
493
493
  const parsedBody = parsedOutput.body;
494
494
  (0, smithy_client_1.throwDefaultError)({
@@ -499,21 +499,21 @@ const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) =
499
499
  });
500
500
  }
501
501
  };
502
- const deserializeAws_json1_1DescribeCertificateAuthorityCommand = async (output, context) => {
502
+ const de_DescribeCertificateAuthorityCommand = async (output, context) => {
503
503
  if (output.statusCode >= 300) {
504
- return deserializeAws_json1_1DescribeCertificateAuthorityCommandError(output, context);
504
+ return de_DescribeCertificateAuthorityCommandError(output, context);
505
505
  }
506
506
  const data = await parseBody(output.body, context);
507
507
  let contents = {};
508
- contents = deserializeAws_json1_1DescribeCertificateAuthorityResponse(data, context);
508
+ contents = de_DescribeCertificateAuthorityResponse(data, context);
509
509
  const response = {
510
510
  $metadata: deserializeMetadata(output),
511
511
  ...contents,
512
512
  };
513
513
  return Promise.resolve(response);
514
514
  };
515
- exports.deserializeAws_json1_1DescribeCertificateAuthorityCommand = deserializeAws_json1_1DescribeCertificateAuthorityCommand;
516
- const deserializeAws_json1_1DescribeCertificateAuthorityCommandError = async (output, context) => {
515
+ exports.de_DescribeCertificateAuthorityCommand = de_DescribeCertificateAuthorityCommand;
516
+ const de_DescribeCertificateAuthorityCommandError = async (output, context) => {
517
517
  const parsedOutput = {
518
518
  ...output,
519
519
  body: await parseErrorBody(output.body, context),
@@ -522,10 +522,10 @@ const deserializeAws_json1_1DescribeCertificateAuthorityCommandError = async (ou
522
522
  switch (errorCode) {
523
523
  case "InvalidArnException":
524
524
  case "com.amazonaws.acmpca#InvalidArnException":
525
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
525
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
526
526
  case "ResourceNotFoundException":
527
527
  case "com.amazonaws.acmpca#ResourceNotFoundException":
528
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
528
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
529
529
  default:
530
530
  const parsedBody = parsedOutput.body;
531
531
  (0, smithy_client_1.throwDefaultError)({
@@ -536,21 +536,21 @@ const deserializeAws_json1_1DescribeCertificateAuthorityCommandError = async (ou
536
536
  });
537
537
  }
538
538
  };
539
- const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = async (output, context) => {
539
+ const de_DescribeCertificateAuthorityAuditReportCommand = async (output, context) => {
540
540
  if (output.statusCode >= 300) {
541
- return deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommandError(output, context);
541
+ return de_DescribeCertificateAuthorityAuditReportCommandError(output, context);
542
542
  }
543
543
  const data = await parseBody(output.body, context);
544
544
  let contents = {};
545
- contents = deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse(data, context);
545
+ contents = de_DescribeCertificateAuthorityAuditReportResponse(data, context);
546
546
  const response = {
547
547
  $metadata: deserializeMetadata(output),
548
548
  ...contents,
549
549
  };
550
550
  return Promise.resolve(response);
551
551
  };
552
- exports.deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand;
553
- const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommandError = async (output, context) => {
552
+ exports.de_DescribeCertificateAuthorityAuditReportCommand = de_DescribeCertificateAuthorityAuditReportCommand;
553
+ const de_DescribeCertificateAuthorityAuditReportCommandError = async (output, context) => {
554
554
  const parsedOutput = {
555
555
  ...output,
556
556
  body: await parseErrorBody(output.body, context),
@@ -559,13 +559,13 @@ const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommandError
559
559
  switch (errorCode) {
560
560
  case "InvalidArgsException":
561
561
  case "com.amazonaws.acmpca#InvalidArgsException":
562
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
562
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
563
563
  case "InvalidArnException":
564
564
  case "com.amazonaws.acmpca#InvalidArnException":
565
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
565
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
566
566
  case "ResourceNotFoundException":
567
567
  case "com.amazonaws.acmpca#ResourceNotFoundException":
568
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
568
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
569
569
  default:
570
570
  const parsedBody = parsedOutput.body;
571
571
  (0, smithy_client_1.throwDefaultError)({
@@ -576,21 +576,21 @@ const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommandError
576
576
  });
577
577
  }
578
578
  };
579
- const deserializeAws_json1_1GetCertificateCommand = async (output, context) => {
579
+ const de_GetCertificateCommand = async (output, context) => {
580
580
  if (output.statusCode >= 300) {
581
- return deserializeAws_json1_1GetCertificateCommandError(output, context);
581
+ return de_GetCertificateCommandError(output, context);
582
582
  }
583
583
  const data = await parseBody(output.body, context);
584
584
  let contents = {};
585
- contents = deserializeAws_json1_1GetCertificateResponse(data, context);
585
+ contents = de_GetCertificateResponse(data, context);
586
586
  const response = {
587
587
  $metadata: deserializeMetadata(output),
588
588
  ...contents,
589
589
  };
590
590
  return Promise.resolve(response);
591
591
  };
592
- exports.deserializeAws_json1_1GetCertificateCommand = deserializeAws_json1_1GetCertificateCommand;
593
- const deserializeAws_json1_1GetCertificateCommandError = async (output, context) => {
592
+ exports.de_GetCertificateCommand = de_GetCertificateCommand;
593
+ const de_GetCertificateCommandError = async (output, context) => {
594
594
  const parsedOutput = {
595
595
  ...output,
596
596
  body: await parseErrorBody(output.body, context),
@@ -599,19 +599,19 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
599
599
  switch (errorCode) {
600
600
  case "InvalidArnException":
601
601
  case "com.amazonaws.acmpca#InvalidArnException":
602
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
602
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
603
603
  case "InvalidStateException":
604
604
  case "com.amazonaws.acmpca#InvalidStateException":
605
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
605
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
606
606
  case "RequestFailedException":
607
607
  case "com.amazonaws.acmpca#RequestFailedException":
608
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
608
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
609
609
  case "RequestInProgressException":
610
610
  case "com.amazonaws.acmpca#RequestInProgressException":
611
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
611
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
612
612
  case "ResourceNotFoundException":
613
613
  case "com.amazonaws.acmpca#ResourceNotFoundException":
614
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
614
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
615
615
  default:
616
616
  const parsedBody = parsedOutput.body;
617
617
  (0, smithy_client_1.throwDefaultError)({
@@ -622,21 +622,21 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
622
622
  });
623
623
  }
624
624
  };
625
- const deserializeAws_json1_1GetCertificateAuthorityCertificateCommand = async (output, context) => {
625
+ const de_GetCertificateAuthorityCertificateCommand = async (output, context) => {
626
626
  if (output.statusCode >= 300) {
627
- return deserializeAws_json1_1GetCertificateAuthorityCertificateCommandError(output, context);
627
+ return de_GetCertificateAuthorityCertificateCommandError(output, context);
628
628
  }
629
629
  const data = await parseBody(output.body, context);
630
630
  let contents = {};
631
- contents = deserializeAws_json1_1GetCertificateAuthorityCertificateResponse(data, context);
631
+ contents = de_GetCertificateAuthorityCertificateResponse(data, context);
632
632
  const response = {
633
633
  $metadata: deserializeMetadata(output),
634
634
  ...contents,
635
635
  };
636
636
  return Promise.resolve(response);
637
637
  };
638
- exports.deserializeAws_json1_1GetCertificateAuthorityCertificateCommand = deserializeAws_json1_1GetCertificateAuthorityCertificateCommand;
639
- const deserializeAws_json1_1GetCertificateAuthorityCertificateCommandError = async (output, context) => {
638
+ exports.de_GetCertificateAuthorityCertificateCommand = de_GetCertificateAuthorityCertificateCommand;
639
+ const de_GetCertificateAuthorityCertificateCommandError = async (output, context) => {
640
640
  const parsedOutput = {
641
641
  ...output,
642
642
  body: await parseErrorBody(output.body, context),
@@ -645,13 +645,13 @@ const deserializeAws_json1_1GetCertificateAuthorityCertificateCommandError = asy
645
645
  switch (errorCode) {
646
646
  case "InvalidArnException":
647
647
  case "com.amazonaws.acmpca#InvalidArnException":
648
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
648
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
649
649
  case "InvalidStateException":
650
650
  case "com.amazonaws.acmpca#InvalidStateException":
651
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
651
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
652
652
  case "ResourceNotFoundException":
653
653
  case "com.amazonaws.acmpca#ResourceNotFoundException":
654
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
654
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
655
655
  default:
656
656
  const parsedBody = parsedOutput.body;
657
657
  (0, smithy_client_1.throwDefaultError)({
@@ -662,21 +662,21 @@ const deserializeAws_json1_1GetCertificateAuthorityCertificateCommandError = asy
662
662
  });
663
663
  }
664
664
  };
665
- const deserializeAws_json1_1GetCertificateAuthorityCsrCommand = async (output, context) => {
665
+ const de_GetCertificateAuthorityCsrCommand = async (output, context) => {
666
666
  if (output.statusCode >= 300) {
667
- return deserializeAws_json1_1GetCertificateAuthorityCsrCommandError(output, context);
667
+ return de_GetCertificateAuthorityCsrCommandError(output, context);
668
668
  }
669
669
  const data = await parseBody(output.body, context);
670
670
  let contents = {};
671
- contents = deserializeAws_json1_1GetCertificateAuthorityCsrResponse(data, context);
671
+ contents = de_GetCertificateAuthorityCsrResponse(data, context);
672
672
  const response = {
673
673
  $metadata: deserializeMetadata(output),
674
674
  ...contents,
675
675
  };
676
676
  return Promise.resolve(response);
677
677
  };
678
- exports.deserializeAws_json1_1GetCertificateAuthorityCsrCommand = deserializeAws_json1_1GetCertificateAuthorityCsrCommand;
679
- const deserializeAws_json1_1GetCertificateAuthorityCsrCommandError = async (output, context) => {
678
+ exports.de_GetCertificateAuthorityCsrCommand = de_GetCertificateAuthorityCsrCommand;
679
+ const de_GetCertificateAuthorityCsrCommandError = async (output, context) => {
680
680
  const parsedOutput = {
681
681
  ...output,
682
682
  body: await parseErrorBody(output.body, context),
@@ -685,19 +685,19 @@ const deserializeAws_json1_1GetCertificateAuthorityCsrCommandError = async (outp
685
685
  switch (errorCode) {
686
686
  case "InvalidArnException":
687
687
  case "com.amazonaws.acmpca#InvalidArnException":
688
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
688
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
689
689
  case "InvalidStateException":
690
690
  case "com.amazonaws.acmpca#InvalidStateException":
691
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
691
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
692
692
  case "RequestFailedException":
693
693
  case "com.amazonaws.acmpca#RequestFailedException":
694
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
694
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
695
695
  case "RequestInProgressException":
696
696
  case "com.amazonaws.acmpca#RequestInProgressException":
697
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
697
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
698
698
  case "ResourceNotFoundException":
699
699
  case "com.amazonaws.acmpca#ResourceNotFoundException":
700
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
700
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
701
701
  default:
702
702
  const parsedBody = parsedOutput.body;
703
703
  (0, smithy_client_1.throwDefaultError)({
@@ -708,21 +708,21 @@ const deserializeAws_json1_1GetCertificateAuthorityCsrCommandError = async (outp
708
708
  });
709
709
  }
710
710
  };
711
- const deserializeAws_json1_1GetPolicyCommand = async (output, context) => {
711
+ const de_GetPolicyCommand = async (output, context) => {
712
712
  if (output.statusCode >= 300) {
713
- return deserializeAws_json1_1GetPolicyCommandError(output, context);
713
+ return de_GetPolicyCommandError(output, context);
714
714
  }
715
715
  const data = await parseBody(output.body, context);
716
716
  let contents = {};
717
- contents = deserializeAws_json1_1GetPolicyResponse(data, context);
717
+ contents = de_GetPolicyResponse(data, context);
718
718
  const response = {
719
719
  $metadata: deserializeMetadata(output),
720
720
  ...contents,
721
721
  };
722
722
  return Promise.resolve(response);
723
723
  };
724
- exports.deserializeAws_json1_1GetPolicyCommand = deserializeAws_json1_1GetPolicyCommand;
725
- const deserializeAws_json1_1GetPolicyCommandError = async (output, context) => {
724
+ exports.de_GetPolicyCommand = de_GetPolicyCommand;
725
+ const de_GetPolicyCommandError = async (output, context) => {
726
726
  const parsedOutput = {
727
727
  ...output,
728
728
  body: await parseErrorBody(output.body, context),
@@ -731,16 +731,16 @@ const deserializeAws_json1_1GetPolicyCommandError = async (output, context) => {
731
731
  switch (errorCode) {
732
732
  case "InvalidArnException":
733
733
  case "com.amazonaws.acmpca#InvalidArnException":
734
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
734
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
735
735
  case "InvalidStateException":
736
736
  case "com.amazonaws.acmpca#InvalidStateException":
737
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
737
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
738
738
  case "RequestFailedException":
739
739
  case "com.amazonaws.acmpca#RequestFailedException":
740
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
740
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
741
741
  case "ResourceNotFoundException":
742
742
  case "com.amazonaws.acmpca#ResourceNotFoundException":
743
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
743
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
744
744
  default:
745
745
  const parsedBody = parsedOutput.body;
746
746
  (0, smithy_client_1.throwDefaultError)({
@@ -751,9 +751,9 @@ const deserializeAws_json1_1GetPolicyCommandError = async (output, context) => {
751
751
  });
752
752
  }
753
753
  };
754
- const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand = async (output, context) => {
754
+ const de_ImportCertificateAuthorityCertificateCommand = async (output, context) => {
755
755
  if (output.statusCode >= 300) {
756
- return deserializeAws_json1_1ImportCertificateAuthorityCertificateCommandError(output, context);
756
+ return de_ImportCertificateAuthorityCertificateCommandError(output, context);
757
757
  }
758
758
  await collectBody(output.body, context);
759
759
  const response = {
@@ -761,8 +761,8 @@ const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand = async
761
761
  };
762
762
  return Promise.resolve(response);
763
763
  };
764
- exports.deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand = deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand;
765
- const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommandError = async (output, context) => {
764
+ exports.de_ImportCertificateAuthorityCertificateCommand = de_ImportCertificateAuthorityCertificateCommand;
765
+ const de_ImportCertificateAuthorityCertificateCommandError = async (output, context) => {
766
766
  const parsedOutput = {
767
767
  ...output,
768
768
  body: await parseErrorBody(output.body, context),
@@ -771,31 +771,31 @@ const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommandError =
771
771
  switch (errorCode) {
772
772
  case "CertificateMismatchException":
773
773
  case "com.amazonaws.acmpca#CertificateMismatchException":
774
- throw await deserializeAws_json1_1CertificateMismatchExceptionResponse(parsedOutput, context);
774
+ throw await de_CertificateMismatchExceptionRes(parsedOutput, context);
775
775
  case "ConcurrentModificationException":
776
776
  case "com.amazonaws.acmpca#ConcurrentModificationException":
777
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
777
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
778
778
  case "InvalidArnException":
779
779
  case "com.amazonaws.acmpca#InvalidArnException":
780
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
780
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
781
781
  case "InvalidRequestException":
782
782
  case "com.amazonaws.acmpca#InvalidRequestException":
783
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
783
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
784
784
  case "InvalidStateException":
785
785
  case "com.amazonaws.acmpca#InvalidStateException":
786
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
786
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
787
787
  case "MalformedCertificateException":
788
788
  case "com.amazonaws.acmpca#MalformedCertificateException":
789
- throw await deserializeAws_json1_1MalformedCertificateExceptionResponse(parsedOutput, context);
789
+ throw await de_MalformedCertificateExceptionRes(parsedOutput, context);
790
790
  case "RequestFailedException":
791
791
  case "com.amazonaws.acmpca#RequestFailedException":
792
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
792
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
793
793
  case "RequestInProgressException":
794
794
  case "com.amazonaws.acmpca#RequestInProgressException":
795
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
795
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
796
796
  case "ResourceNotFoundException":
797
797
  case "com.amazonaws.acmpca#ResourceNotFoundException":
798
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
798
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
799
799
  default:
800
800
  const parsedBody = parsedOutput.body;
801
801
  (0, smithy_client_1.throwDefaultError)({
@@ -806,21 +806,21 @@ const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommandError =
806
806
  });
807
807
  }
808
808
  };
809
- const deserializeAws_json1_1IssueCertificateCommand = async (output, context) => {
809
+ const de_IssueCertificateCommand = async (output, context) => {
810
810
  if (output.statusCode >= 300) {
811
- return deserializeAws_json1_1IssueCertificateCommandError(output, context);
811
+ return de_IssueCertificateCommandError(output, context);
812
812
  }
813
813
  const data = await parseBody(output.body, context);
814
814
  let contents = {};
815
- contents = deserializeAws_json1_1IssueCertificateResponse(data, context);
815
+ contents = de_IssueCertificateResponse(data, context);
816
816
  const response = {
817
817
  $metadata: deserializeMetadata(output),
818
818
  ...contents,
819
819
  };
820
820
  return Promise.resolve(response);
821
821
  };
822
- exports.deserializeAws_json1_1IssueCertificateCommand = deserializeAws_json1_1IssueCertificateCommand;
823
- const deserializeAws_json1_1IssueCertificateCommandError = async (output, context) => {
822
+ exports.de_IssueCertificateCommand = de_IssueCertificateCommand;
823
+ const de_IssueCertificateCommandError = async (output, context) => {
824
824
  const parsedOutput = {
825
825
  ...output,
826
826
  body: await parseErrorBody(output.body, context),
@@ -829,22 +829,22 @@ const deserializeAws_json1_1IssueCertificateCommandError = async (output, contex
829
829
  switch (errorCode) {
830
830
  case "InvalidArgsException":
831
831
  case "com.amazonaws.acmpca#InvalidArgsException":
832
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
832
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
833
833
  case "InvalidArnException":
834
834
  case "com.amazonaws.acmpca#InvalidArnException":
835
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
835
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
836
836
  case "InvalidStateException":
837
837
  case "com.amazonaws.acmpca#InvalidStateException":
838
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
838
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
839
839
  case "LimitExceededException":
840
840
  case "com.amazonaws.acmpca#LimitExceededException":
841
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
841
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
842
842
  case "MalformedCSRException":
843
843
  case "com.amazonaws.acmpca#MalformedCSRException":
844
- throw await deserializeAws_json1_1MalformedCSRExceptionResponse(parsedOutput, context);
844
+ throw await de_MalformedCSRExceptionRes(parsedOutput, context);
845
845
  case "ResourceNotFoundException":
846
846
  case "com.amazonaws.acmpca#ResourceNotFoundException":
847
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
847
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
848
848
  default:
849
849
  const parsedBody = parsedOutput.body;
850
850
  (0, smithy_client_1.throwDefaultError)({
@@ -855,21 +855,21 @@ const deserializeAws_json1_1IssueCertificateCommandError = async (output, contex
855
855
  });
856
856
  }
857
857
  };
858
- const deserializeAws_json1_1ListCertificateAuthoritiesCommand = async (output, context) => {
858
+ const de_ListCertificateAuthoritiesCommand = async (output, context) => {
859
859
  if (output.statusCode >= 300) {
860
- return deserializeAws_json1_1ListCertificateAuthoritiesCommandError(output, context);
860
+ return de_ListCertificateAuthoritiesCommandError(output, context);
861
861
  }
862
862
  const data = await parseBody(output.body, context);
863
863
  let contents = {};
864
- contents = deserializeAws_json1_1ListCertificateAuthoritiesResponse(data, context);
864
+ contents = de_ListCertificateAuthoritiesResponse(data, context);
865
865
  const response = {
866
866
  $metadata: deserializeMetadata(output),
867
867
  ...contents,
868
868
  };
869
869
  return Promise.resolve(response);
870
870
  };
871
- exports.deserializeAws_json1_1ListCertificateAuthoritiesCommand = deserializeAws_json1_1ListCertificateAuthoritiesCommand;
872
- const deserializeAws_json1_1ListCertificateAuthoritiesCommandError = async (output, context) => {
871
+ exports.de_ListCertificateAuthoritiesCommand = de_ListCertificateAuthoritiesCommand;
872
+ const de_ListCertificateAuthoritiesCommandError = async (output, context) => {
873
873
  const parsedOutput = {
874
874
  ...output,
875
875
  body: await parseErrorBody(output.body, context),
@@ -878,7 +878,7 @@ const deserializeAws_json1_1ListCertificateAuthoritiesCommandError = async (outp
878
878
  switch (errorCode) {
879
879
  case "InvalidNextTokenException":
880
880
  case "com.amazonaws.acmpca#InvalidNextTokenException":
881
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
881
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
882
882
  default:
883
883
  const parsedBody = parsedOutput.body;
884
884
  (0, smithy_client_1.throwDefaultError)({
@@ -889,21 +889,21 @@ const deserializeAws_json1_1ListCertificateAuthoritiesCommandError = async (outp
889
889
  });
890
890
  }
891
891
  };
892
- const deserializeAws_json1_1ListPermissionsCommand = async (output, context) => {
892
+ const de_ListPermissionsCommand = async (output, context) => {
893
893
  if (output.statusCode >= 300) {
894
- return deserializeAws_json1_1ListPermissionsCommandError(output, context);
894
+ return de_ListPermissionsCommandError(output, context);
895
895
  }
896
896
  const data = await parseBody(output.body, context);
897
897
  let contents = {};
898
- contents = deserializeAws_json1_1ListPermissionsResponse(data, context);
898
+ contents = de_ListPermissionsResponse(data, context);
899
899
  const response = {
900
900
  $metadata: deserializeMetadata(output),
901
901
  ...contents,
902
902
  };
903
903
  return Promise.resolve(response);
904
904
  };
905
- exports.deserializeAws_json1_1ListPermissionsCommand = deserializeAws_json1_1ListPermissionsCommand;
906
- const deserializeAws_json1_1ListPermissionsCommandError = async (output, context) => {
905
+ exports.de_ListPermissionsCommand = de_ListPermissionsCommand;
906
+ const de_ListPermissionsCommandError = async (output, context) => {
907
907
  const parsedOutput = {
908
908
  ...output,
909
909
  body: await parseErrorBody(output.body, context),
@@ -912,19 +912,19 @@ const deserializeAws_json1_1ListPermissionsCommandError = async (output, context
912
912
  switch (errorCode) {
913
913
  case "InvalidArnException":
914
914
  case "com.amazonaws.acmpca#InvalidArnException":
915
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
915
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
916
916
  case "InvalidNextTokenException":
917
917
  case "com.amazonaws.acmpca#InvalidNextTokenException":
918
- throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
918
+ throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
919
919
  case "InvalidStateException":
920
920
  case "com.amazonaws.acmpca#InvalidStateException":
921
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
921
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
922
922
  case "RequestFailedException":
923
923
  case "com.amazonaws.acmpca#RequestFailedException":
924
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
924
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
925
925
  case "ResourceNotFoundException":
926
926
  case "com.amazonaws.acmpca#ResourceNotFoundException":
927
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
927
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
928
928
  default:
929
929
  const parsedBody = parsedOutput.body;
930
930
  (0, smithy_client_1.throwDefaultError)({
@@ -935,21 +935,21 @@ const deserializeAws_json1_1ListPermissionsCommandError = async (output, context
935
935
  });
936
936
  }
937
937
  };
938
- const deserializeAws_json1_1ListTagsCommand = async (output, context) => {
938
+ const de_ListTagsCommand = async (output, context) => {
939
939
  if (output.statusCode >= 300) {
940
- return deserializeAws_json1_1ListTagsCommandError(output, context);
940
+ return de_ListTagsCommandError(output, context);
941
941
  }
942
942
  const data = await parseBody(output.body, context);
943
943
  let contents = {};
944
- contents = deserializeAws_json1_1ListTagsResponse(data, context);
944
+ contents = de_ListTagsResponse(data, context);
945
945
  const response = {
946
946
  $metadata: deserializeMetadata(output),
947
947
  ...contents,
948
948
  };
949
949
  return Promise.resolve(response);
950
950
  };
951
- exports.deserializeAws_json1_1ListTagsCommand = deserializeAws_json1_1ListTagsCommand;
952
- const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
951
+ exports.de_ListTagsCommand = de_ListTagsCommand;
952
+ const de_ListTagsCommandError = async (output, context) => {
953
953
  const parsedOutput = {
954
954
  ...output,
955
955
  body: await parseErrorBody(output.body, context),
@@ -958,13 +958,13 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
958
958
  switch (errorCode) {
959
959
  case "InvalidArnException":
960
960
  case "com.amazonaws.acmpca#InvalidArnException":
961
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
961
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
962
962
  case "InvalidStateException":
963
963
  case "com.amazonaws.acmpca#InvalidStateException":
964
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
964
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
965
965
  case "ResourceNotFoundException":
966
966
  case "com.amazonaws.acmpca#ResourceNotFoundException":
967
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
967
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
968
968
  default:
969
969
  const parsedBody = parsedOutput.body;
970
970
  (0, smithy_client_1.throwDefaultError)({
@@ -975,9 +975,9 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
975
975
  });
976
976
  }
977
977
  };
978
- const deserializeAws_json1_1PutPolicyCommand = async (output, context) => {
978
+ const de_PutPolicyCommand = async (output, context) => {
979
979
  if (output.statusCode >= 300) {
980
- return deserializeAws_json1_1PutPolicyCommandError(output, context);
980
+ return de_PutPolicyCommandError(output, context);
981
981
  }
982
982
  await collectBody(output.body, context);
983
983
  const response = {
@@ -985,8 +985,8 @@ const deserializeAws_json1_1PutPolicyCommand = async (output, context) => {
985
985
  };
986
986
  return Promise.resolve(response);
987
987
  };
988
- exports.deserializeAws_json1_1PutPolicyCommand = deserializeAws_json1_1PutPolicyCommand;
989
- const deserializeAws_json1_1PutPolicyCommandError = async (output, context) => {
988
+ exports.de_PutPolicyCommand = de_PutPolicyCommand;
989
+ const de_PutPolicyCommandError = async (output, context) => {
990
990
  const parsedOutput = {
991
991
  ...output,
992
992
  body: await parseErrorBody(output.body, context),
@@ -995,25 +995,25 @@ const deserializeAws_json1_1PutPolicyCommandError = async (output, context) => {
995
995
  switch (errorCode) {
996
996
  case "ConcurrentModificationException":
997
997
  case "com.amazonaws.acmpca#ConcurrentModificationException":
998
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
998
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
999
999
  case "InvalidArnException":
1000
1000
  case "com.amazonaws.acmpca#InvalidArnException":
1001
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1001
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1002
1002
  case "InvalidPolicyException":
1003
1003
  case "com.amazonaws.acmpca#InvalidPolicyException":
1004
- throw await deserializeAws_json1_1InvalidPolicyExceptionResponse(parsedOutput, context);
1004
+ throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
1005
1005
  case "InvalidStateException":
1006
1006
  case "com.amazonaws.acmpca#InvalidStateException":
1007
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1007
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1008
1008
  case "LockoutPreventedException":
1009
1009
  case "com.amazonaws.acmpca#LockoutPreventedException":
1010
- throw await deserializeAws_json1_1LockoutPreventedExceptionResponse(parsedOutput, context);
1010
+ throw await de_LockoutPreventedExceptionRes(parsedOutput, context);
1011
1011
  case "RequestFailedException":
1012
1012
  case "com.amazonaws.acmpca#RequestFailedException":
1013
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
1013
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
1014
1014
  case "ResourceNotFoundException":
1015
1015
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1016
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1016
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1017
1017
  default:
1018
1018
  const parsedBody = parsedOutput.body;
1019
1019
  (0, smithy_client_1.throwDefaultError)({
@@ -1024,9 +1024,9 @@ const deserializeAws_json1_1PutPolicyCommandError = async (output, context) => {
1024
1024
  });
1025
1025
  }
1026
1026
  };
1027
- const deserializeAws_json1_1RestoreCertificateAuthorityCommand = async (output, context) => {
1027
+ const de_RestoreCertificateAuthorityCommand = async (output, context) => {
1028
1028
  if (output.statusCode >= 300) {
1029
- return deserializeAws_json1_1RestoreCertificateAuthorityCommandError(output, context);
1029
+ return de_RestoreCertificateAuthorityCommandError(output, context);
1030
1030
  }
1031
1031
  await collectBody(output.body, context);
1032
1032
  const response = {
@@ -1034,8 +1034,8 @@ const deserializeAws_json1_1RestoreCertificateAuthorityCommand = async (output,
1034
1034
  };
1035
1035
  return Promise.resolve(response);
1036
1036
  };
1037
- exports.deserializeAws_json1_1RestoreCertificateAuthorityCommand = deserializeAws_json1_1RestoreCertificateAuthorityCommand;
1038
- const deserializeAws_json1_1RestoreCertificateAuthorityCommandError = async (output, context) => {
1037
+ exports.de_RestoreCertificateAuthorityCommand = de_RestoreCertificateAuthorityCommand;
1038
+ const de_RestoreCertificateAuthorityCommandError = async (output, context) => {
1039
1039
  const parsedOutput = {
1040
1040
  ...output,
1041
1041
  body: await parseErrorBody(output.body, context),
@@ -1044,13 +1044,13 @@ const deserializeAws_json1_1RestoreCertificateAuthorityCommandError = async (out
1044
1044
  switch (errorCode) {
1045
1045
  case "InvalidArnException":
1046
1046
  case "com.amazonaws.acmpca#InvalidArnException":
1047
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1047
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1048
1048
  case "InvalidStateException":
1049
1049
  case "com.amazonaws.acmpca#InvalidStateException":
1050
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1050
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1051
1051
  case "ResourceNotFoundException":
1052
1052
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1053
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1053
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1054
1054
  default:
1055
1055
  const parsedBody = parsedOutput.body;
1056
1056
  (0, smithy_client_1.throwDefaultError)({
@@ -1061,9 +1061,9 @@ const deserializeAws_json1_1RestoreCertificateAuthorityCommandError = async (out
1061
1061
  });
1062
1062
  }
1063
1063
  };
1064
- const deserializeAws_json1_1RevokeCertificateCommand = async (output, context) => {
1064
+ const de_RevokeCertificateCommand = async (output, context) => {
1065
1065
  if (output.statusCode >= 300) {
1066
- return deserializeAws_json1_1RevokeCertificateCommandError(output, context);
1066
+ return de_RevokeCertificateCommandError(output, context);
1067
1067
  }
1068
1068
  await collectBody(output.body, context);
1069
1069
  const response = {
@@ -1071,8 +1071,8 @@ const deserializeAws_json1_1RevokeCertificateCommand = async (output, context) =
1071
1071
  };
1072
1072
  return Promise.resolve(response);
1073
1073
  };
1074
- exports.deserializeAws_json1_1RevokeCertificateCommand = deserializeAws_json1_1RevokeCertificateCommand;
1075
- const deserializeAws_json1_1RevokeCertificateCommandError = async (output, context) => {
1074
+ exports.de_RevokeCertificateCommand = de_RevokeCertificateCommand;
1075
+ const de_RevokeCertificateCommandError = async (output, context) => {
1076
1076
  const parsedOutput = {
1077
1077
  ...output,
1078
1078
  body: await parseErrorBody(output.body, context),
@@ -1081,31 +1081,31 @@ const deserializeAws_json1_1RevokeCertificateCommandError = async (output, conte
1081
1081
  switch (errorCode) {
1082
1082
  case "ConcurrentModificationException":
1083
1083
  case "com.amazonaws.acmpca#ConcurrentModificationException":
1084
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
1084
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1085
1085
  case "InvalidArnException":
1086
1086
  case "com.amazonaws.acmpca#InvalidArnException":
1087
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1087
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1088
1088
  case "InvalidRequestException":
1089
1089
  case "com.amazonaws.acmpca#InvalidRequestException":
1090
- throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
1090
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1091
1091
  case "InvalidStateException":
1092
1092
  case "com.amazonaws.acmpca#InvalidStateException":
1093
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1093
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1094
1094
  case "LimitExceededException":
1095
1095
  case "com.amazonaws.acmpca#LimitExceededException":
1096
- throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
1096
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1097
1097
  case "RequestAlreadyProcessedException":
1098
1098
  case "com.amazonaws.acmpca#RequestAlreadyProcessedException":
1099
- throw await deserializeAws_json1_1RequestAlreadyProcessedExceptionResponse(parsedOutput, context);
1099
+ throw await de_RequestAlreadyProcessedExceptionRes(parsedOutput, context);
1100
1100
  case "RequestFailedException":
1101
1101
  case "com.amazonaws.acmpca#RequestFailedException":
1102
- throw await deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context);
1102
+ throw await de_RequestFailedExceptionRes(parsedOutput, context);
1103
1103
  case "RequestInProgressException":
1104
1104
  case "com.amazonaws.acmpca#RequestInProgressException":
1105
- throw await deserializeAws_json1_1RequestInProgressExceptionResponse(parsedOutput, context);
1105
+ throw await de_RequestInProgressExceptionRes(parsedOutput, context);
1106
1106
  case "ResourceNotFoundException":
1107
1107
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1108
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1108
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1109
1109
  default:
1110
1110
  const parsedBody = parsedOutput.body;
1111
1111
  (0, smithy_client_1.throwDefaultError)({
@@ -1116,9 +1116,9 @@ const deserializeAws_json1_1RevokeCertificateCommandError = async (output, conte
1116
1116
  });
1117
1117
  }
1118
1118
  };
1119
- const deserializeAws_json1_1TagCertificateAuthorityCommand = async (output, context) => {
1119
+ const de_TagCertificateAuthorityCommand = async (output, context) => {
1120
1120
  if (output.statusCode >= 300) {
1121
- return deserializeAws_json1_1TagCertificateAuthorityCommandError(output, context);
1121
+ return de_TagCertificateAuthorityCommandError(output, context);
1122
1122
  }
1123
1123
  await collectBody(output.body, context);
1124
1124
  const response = {
@@ -1126,8 +1126,8 @@ const deserializeAws_json1_1TagCertificateAuthorityCommand = async (output, cont
1126
1126
  };
1127
1127
  return Promise.resolve(response);
1128
1128
  };
1129
- exports.deserializeAws_json1_1TagCertificateAuthorityCommand = deserializeAws_json1_1TagCertificateAuthorityCommand;
1130
- const deserializeAws_json1_1TagCertificateAuthorityCommandError = async (output, context) => {
1129
+ exports.de_TagCertificateAuthorityCommand = de_TagCertificateAuthorityCommand;
1130
+ const de_TagCertificateAuthorityCommandError = async (output, context) => {
1131
1131
  const parsedOutput = {
1132
1132
  ...output,
1133
1133
  body: await parseErrorBody(output.body, context),
@@ -1136,19 +1136,19 @@ const deserializeAws_json1_1TagCertificateAuthorityCommandError = async (output,
1136
1136
  switch (errorCode) {
1137
1137
  case "InvalidArnException":
1138
1138
  case "com.amazonaws.acmpca#InvalidArnException":
1139
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1139
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1140
1140
  case "InvalidStateException":
1141
1141
  case "com.amazonaws.acmpca#InvalidStateException":
1142
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1142
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1143
1143
  case "InvalidTagException":
1144
1144
  case "com.amazonaws.acmpca#InvalidTagException":
1145
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
1145
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
1146
1146
  case "ResourceNotFoundException":
1147
1147
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1148
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1148
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1149
1149
  case "TooManyTagsException":
1150
1150
  case "com.amazonaws.acmpca#TooManyTagsException":
1151
- throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
1151
+ throw await de_TooManyTagsExceptionRes(parsedOutput, context);
1152
1152
  default:
1153
1153
  const parsedBody = parsedOutput.body;
1154
1154
  (0, smithy_client_1.throwDefaultError)({
@@ -1159,9 +1159,9 @@ const deserializeAws_json1_1TagCertificateAuthorityCommandError = async (output,
1159
1159
  });
1160
1160
  }
1161
1161
  };
1162
- const deserializeAws_json1_1UntagCertificateAuthorityCommand = async (output, context) => {
1162
+ const de_UntagCertificateAuthorityCommand = async (output, context) => {
1163
1163
  if (output.statusCode >= 300) {
1164
- return deserializeAws_json1_1UntagCertificateAuthorityCommandError(output, context);
1164
+ return de_UntagCertificateAuthorityCommandError(output, context);
1165
1165
  }
1166
1166
  await collectBody(output.body, context);
1167
1167
  const response = {
@@ -1169,8 +1169,8 @@ const deserializeAws_json1_1UntagCertificateAuthorityCommand = async (output, co
1169
1169
  };
1170
1170
  return Promise.resolve(response);
1171
1171
  };
1172
- exports.deserializeAws_json1_1UntagCertificateAuthorityCommand = deserializeAws_json1_1UntagCertificateAuthorityCommand;
1173
- const deserializeAws_json1_1UntagCertificateAuthorityCommandError = async (output, context) => {
1172
+ exports.de_UntagCertificateAuthorityCommand = de_UntagCertificateAuthorityCommand;
1173
+ const de_UntagCertificateAuthorityCommandError = async (output, context) => {
1174
1174
  const parsedOutput = {
1175
1175
  ...output,
1176
1176
  body: await parseErrorBody(output.body, context),
@@ -1179,16 +1179,16 @@ const deserializeAws_json1_1UntagCertificateAuthorityCommandError = async (outpu
1179
1179
  switch (errorCode) {
1180
1180
  case "InvalidArnException":
1181
1181
  case "com.amazonaws.acmpca#InvalidArnException":
1182
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1182
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1183
1183
  case "InvalidStateException":
1184
1184
  case "com.amazonaws.acmpca#InvalidStateException":
1185
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1185
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1186
1186
  case "InvalidTagException":
1187
1187
  case "com.amazonaws.acmpca#InvalidTagException":
1188
- throw await deserializeAws_json1_1InvalidTagExceptionResponse(parsedOutput, context);
1188
+ throw await de_InvalidTagExceptionRes(parsedOutput, context);
1189
1189
  case "ResourceNotFoundException":
1190
1190
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1191
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1191
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1192
1192
  default:
1193
1193
  const parsedBody = parsedOutput.body;
1194
1194
  (0, smithy_client_1.throwDefaultError)({
@@ -1199,9 +1199,9 @@ const deserializeAws_json1_1UntagCertificateAuthorityCommandError = async (outpu
1199
1199
  });
1200
1200
  }
1201
1201
  };
1202
- const deserializeAws_json1_1UpdateCertificateAuthorityCommand = async (output, context) => {
1202
+ const de_UpdateCertificateAuthorityCommand = async (output, context) => {
1203
1203
  if (output.statusCode >= 300) {
1204
- return deserializeAws_json1_1UpdateCertificateAuthorityCommandError(output, context);
1204
+ return de_UpdateCertificateAuthorityCommandError(output, context);
1205
1205
  }
1206
1206
  await collectBody(output.body, context);
1207
1207
  const response = {
@@ -1209,8 +1209,8 @@ const deserializeAws_json1_1UpdateCertificateAuthorityCommand = async (output, c
1209
1209
  };
1210
1210
  return Promise.resolve(response);
1211
1211
  };
1212
- exports.deserializeAws_json1_1UpdateCertificateAuthorityCommand = deserializeAws_json1_1UpdateCertificateAuthorityCommand;
1213
- const deserializeAws_json1_1UpdateCertificateAuthorityCommandError = async (output, context) => {
1212
+ exports.de_UpdateCertificateAuthorityCommand = de_UpdateCertificateAuthorityCommand;
1213
+ const de_UpdateCertificateAuthorityCommandError = async (output, context) => {
1214
1214
  const parsedOutput = {
1215
1215
  ...output,
1216
1216
  body: await parseErrorBody(output.body, context),
@@ -1219,22 +1219,22 @@ const deserializeAws_json1_1UpdateCertificateAuthorityCommandError = async (outp
1219
1219
  switch (errorCode) {
1220
1220
  case "ConcurrentModificationException":
1221
1221
  case "com.amazonaws.acmpca#ConcurrentModificationException":
1222
- throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
1222
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1223
1223
  case "InvalidArgsException":
1224
1224
  case "com.amazonaws.acmpca#InvalidArgsException":
1225
- throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
1225
+ throw await de_InvalidArgsExceptionRes(parsedOutput, context);
1226
1226
  case "InvalidArnException":
1227
1227
  case "com.amazonaws.acmpca#InvalidArnException":
1228
- throw await deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context);
1228
+ throw await de_InvalidArnExceptionRes(parsedOutput, context);
1229
1229
  case "InvalidPolicyException":
1230
1230
  case "com.amazonaws.acmpca#InvalidPolicyException":
1231
- throw await deserializeAws_json1_1InvalidPolicyExceptionResponse(parsedOutput, context);
1231
+ throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
1232
1232
  case "InvalidStateException":
1233
1233
  case "com.amazonaws.acmpca#InvalidStateException":
1234
- throw await deserializeAws_json1_1InvalidStateExceptionResponse(parsedOutput, context);
1234
+ throw await de_InvalidStateExceptionRes(parsedOutput, context);
1235
1235
  case "ResourceNotFoundException":
1236
1236
  case "com.amazonaws.acmpca#ResourceNotFoundException":
1237
- throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
1237
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1238
1238
  default:
1239
1239
  const parsedBody = parsedOutput.body;
1240
1240
  (0, smithy_client_1.throwDefaultError)({
@@ -1245,217 +1245,215 @@ const deserializeAws_json1_1UpdateCertificateAuthorityCommandError = async (outp
1245
1245
  });
1246
1246
  }
1247
1247
  };
1248
- const deserializeAws_json1_1CertificateMismatchExceptionResponse = async (parsedOutput, context) => {
1248
+ const de_CertificateMismatchExceptionRes = async (parsedOutput, context) => {
1249
1249
  const body = parsedOutput.body;
1250
- const deserialized = deserializeAws_json1_1CertificateMismatchException(body, context);
1250
+ const deserialized = de_CertificateMismatchException(body, context);
1251
1251
  const exception = new models_0_1.CertificateMismatchException({
1252
1252
  $metadata: deserializeMetadata(parsedOutput),
1253
1253
  ...deserialized,
1254
1254
  });
1255
1255
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1256
1256
  };
1257
- const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
1257
+ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
1258
1258
  const body = parsedOutput.body;
1259
- const deserialized = deserializeAws_json1_1ConcurrentModificationException(body, context);
1259
+ const deserialized = de_ConcurrentModificationException(body, context);
1260
1260
  const exception = new models_0_1.ConcurrentModificationException({
1261
1261
  $metadata: deserializeMetadata(parsedOutput),
1262
1262
  ...deserialized,
1263
1263
  });
1264
1264
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1265
1265
  };
1266
- const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput, context) => {
1266
+ const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
1267
1267
  const body = parsedOutput.body;
1268
- const deserialized = deserializeAws_json1_1InvalidArgsException(body, context);
1268
+ const deserialized = de_InvalidArgsException(body, context);
1269
1269
  const exception = new models_0_1.InvalidArgsException({
1270
1270
  $metadata: deserializeMetadata(parsedOutput),
1271
1271
  ...deserialized,
1272
1272
  });
1273
1273
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1274
1274
  };
1275
- const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
1275
+ const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
1276
1276
  const body = parsedOutput.body;
1277
- const deserialized = deserializeAws_json1_1InvalidArnException(body, context);
1277
+ const deserialized = de_InvalidArnException(body, context);
1278
1278
  const exception = new models_0_1.InvalidArnException({
1279
1279
  $metadata: deserializeMetadata(parsedOutput),
1280
1280
  ...deserialized,
1281
1281
  });
1282
1282
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1283
1283
  };
1284
- const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
1284
+ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
1285
1285
  const body = parsedOutput.body;
1286
- const deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
1286
+ const deserialized = de_InvalidNextTokenException(body, context);
1287
1287
  const exception = new models_0_1.InvalidNextTokenException({
1288
1288
  $metadata: deserializeMetadata(parsedOutput),
1289
1289
  ...deserialized,
1290
1290
  });
1291
1291
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1292
1292
  };
1293
- const deserializeAws_json1_1InvalidPolicyExceptionResponse = async (parsedOutput, context) => {
1293
+ const de_InvalidPolicyExceptionRes = async (parsedOutput, context) => {
1294
1294
  const body = parsedOutput.body;
1295
- const deserialized = deserializeAws_json1_1InvalidPolicyException(body, context);
1295
+ const deserialized = de_InvalidPolicyException(body, context);
1296
1296
  const exception = new models_0_1.InvalidPolicyException({
1297
1297
  $metadata: deserializeMetadata(parsedOutput),
1298
1298
  ...deserialized,
1299
1299
  });
1300
1300
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1301
1301
  };
1302
- const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1302
+ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
1303
1303
  const body = parsedOutput.body;
1304
- const deserialized = deserializeAws_json1_1InvalidRequestException(body, context);
1304
+ const deserialized = de_InvalidRequestException(body, context);
1305
1305
  const exception = new models_0_1.InvalidRequestException({
1306
1306
  $metadata: deserializeMetadata(parsedOutput),
1307
1307
  ...deserialized,
1308
1308
  });
1309
1309
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1310
1310
  };
1311
- const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput, context) => {
1311
+ const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
1312
1312
  const body = parsedOutput.body;
1313
- const deserialized = deserializeAws_json1_1InvalidStateException(body, context);
1313
+ const deserialized = de_InvalidStateException(body, context);
1314
1314
  const exception = new models_0_1.InvalidStateException({
1315
1315
  $metadata: deserializeMetadata(parsedOutput),
1316
1316
  ...deserialized,
1317
1317
  });
1318
1318
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1319
1319
  };
1320
- const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, context) => {
1320
+ const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
1321
1321
  const body = parsedOutput.body;
1322
- const deserialized = deserializeAws_json1_1InvalidTagException(body, context);
1322
+ const deserialized = de_InvalidTagException(body, context);
1323
1323
  const exception = new models_0_1.InvalidTagException({
1324
1324
  $metadata: deserializeMetadata(parsedOutput),
1325
1325
  ...deserialized,
1326
1326
  });
1327
1327
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1328
1328
  };
1329
- const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1329
+ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1330
1330
  const body = parsedOutput.body;
1331
- const deserialized = deserializeAws_json1_1LimitExceededException(body, context);
1331
+ const deserialized = de_LimitExceededException(body, context);
1332
1332
  const exception = new models_0_1.LimitExceededException({
1333
1333
  $metadata: deserializeMetadata(parsedOutput),
1334
1334
  ...deserialized,
1335
1335
  });
1336
1336
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1337
1337
  };
1338
- const deserializeAws_json1_1LockoutPreventedExceptionResponse = async (parsedOutput, context) => {
1338
+ const de_LockoutPreventedExceptionRes = async (parsedOutput, context) => {
1339
1339
  const body = parsedOutput.body;
1340
- const deserialized = deserializeAws_json1_1LockoutPreventedException(body, context);
1340
+ const deserialized = de_LockoutPreventedException(body, context);
1341
1341
  const exception = new models_0_1.LockoutPreventedException({
1342
1342
  $metadata: deserializeMetadata(parsedOutput),
1343
1343
  ...deserialized,
1344
1344
  });
1345
1345
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1346
1346
  };
1347
- const deserializeAws_json1_1MalformedCertificateExceptionResponse = async (parsedOutput, context) => {
1347
+ const de_MalformedCertificateExceptionRes = async (parsedOutput, context) => {
1348
1348
  const body = parsedOutput.body;
1349
- const deserialized = deserializeAws_json1_1MalformedCertificateException(body, context);
1349
+ const deserialized = de_MalformedCertificateException(body, context);
1350
1350
  const exception = new models_0_1.MalformedCertificateException({
1351
1351
  $metadata: deserializeMetadata(parsedOutput),
1352
1352
  ...deserialized,
1353
1353
  });
1354
1354
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1355
1355
  };
1356
- const deserializeAws_json1_1MalformedCSRExceptionResponse = async (parsedOutput, context) => {
1356
+ const de_MalformedCSRExceptionRes = async (parsedOutput, context) => {
1357
1357
  const body = parsedOutput.body;
1358
- const deserialized = deserializeAws_json1_1MalformedCSRException(body, context);
1358
+ const deserialized = de_MalformedCSRException(body, context);
1359
1359
  const exception = new models_0_1.MalformedCSRException({
1360
1360
  $metadata: deserializeMetadata(parsedOutput),
1361
1361
  ...deserialized,
1362
1362
  });
1363
1363
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1364
1364
  };
1365
- const deserializeAws_json1_1PermissionAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1365
+ const de_PermissionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1366
1366
  const body = parsedOutput.body;
1367
- const deserialized = deserializeAws_json1_1PermissionAlreadyExistsException(body, context);
1367
+ const deserialized = de_PermissionAlreadyExistsException(body, context);
1368
1368
  const exception = new models_0_1.PermissionAlreadyExistsException({
1369
1369
  $metadata: deserializeMetadata(parsedOutput),
1370
1370
  ...deserialized,
1371
1371
  });
1372
1372
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1373
1373
  };
1374
- const deserializeAws_json1_1RequestAlreadyProcessedExceptionResponse = async (parsedOutput, context) => {
1374
+ const de_RequestAlreadyProcessedExceptionRes = async (parsedOutput, context) => {
1375
1375
  const body = parsedOutput.body;
1376
- const deserialized = deserializeAws_json1_1RequestAlreadyProcessedException(body, context);
1376
+ const deserialized = de_RequestAlreadyProcessedException(body, context);
1377
1377
  const exception = new models_0_1.RequestAlreadyProcessedException({
1378
1378
  $metadata: deserializeMetadata(parsedOutput),
1379
1379
  ...deserialized,
1380
1380
  });
1381
1381
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1382
1382
  };
1383
- const deserializeAws_json1_1RequestFailedExceptionResponse = async (parsedOutput, context) => {
1383
+ const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
1384
1384
  const body = parsedOutput.body;
1385
- const deserialized = deserializeAws_json1_1RequestFailedException(body, context);
1385
+ const deserialized = de_RequestFailedException(body, context);
1386
1386
  const exception = new models_0_1.RequestFailedException({
1387
1387
  $metadata: deserializeMetadata(parsedOutput),
1388
1388
  ...deserialized,
1389
1389
  });
1390
1390
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1391
1391
  };
1392
- const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOutput, context) => {
1392
+ const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
1393
1393
  const body = parsedOutput.body;
1394
- const deserialized = deserializeAws_json1_1RequestInProgressException(body, context);
1394
+ const deserialized = de_RequestInProgressException(body, context);
1395
1395
  const exception = new models_0_1.RequestInProgressException({
1396
1396
  $metadata: deserializeMetadata(parsedOutput),
1397
1397
  ...deserialized,
1398
1398
  });
1399
1399
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1400
1400
  };
1401
- const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1401
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1402
1402
  const body = parsedOutput.body;
1403
- const deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
1403
+ const deserialized = de_ResourceNotFoundException(body, context);
1404
1404
  const exception = new models_0_1.ResourceNotFoundException({
1405
1405
  $metadata: deserializeMetadata(parsedOutput),
1406
1406
  ...deserialized,
1407
1407
  });
1408
1408
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1409
1409
  };
1410
- const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1410
+ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
1411
1411
  const body = parsedOutput.body;
1412
- const deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
1412
+ const deserialized = de_TooManyTagsException(body, context);
1413
1413
  const exception = new models_0_1.TooManyTagsException({
1414
1414
  $metadata: deserializeMetadata(parsedOutput),
1415
1415
  ...deserialized,
1416
1416
  });
1417
1417
  return (0, smithy_client_1.decorateServiceException)(exception, body);
1418
1418
  };
1419
- const serializeAws_json1_1AccessDescription = (input, context) => {
1419
+ const se_AccessDescription = (input, context) => {
1420
1420
  return {
1421
- ...(input.AccessLocation != null && {
1422
- AccessLocation: serializeAws_json1_1GeneralName(input.AccessLocation, context),
1423
- }),
1424
- ...(input.AccessMethod != null && { AccessMethod: serializeAws_json1_1AccessMethod(input.AccessMethod, context) }),
1421
+ ...(input.AccessLocation != null && { AccessLocation: se_GeneralName(input.AccessLocation, context) }),
1422
+ ...(input.AccessMethod != null && { AccessMethod: se_AccessMethod(input.AccessMethod, context) }),
1425
1423
  };
1426
1424
  };
1427
- const serializeAws_json1_1AccessDescriptionList = (input, context) => {
1425
+ const se_AccessDescriptionList = (input, context) => {
1428
1426
  return input
1429
1427
  .filter((e) => e != null)
1430
1428
  .map((entry) => {
1431
- return serializeAws_json1_1AccessDescription(entry, context);
1429
+ return se_AccessDescription(entry, context);
1432
1430
  });
1433
1431
  };
1434
- const serializeAws_json1_1AccessMethod = (input, context) => {
1432
+ const se_AccessMethod = (input, context) => {
1435
1433
  return {
1436
1434
  ...(input.AccessMethodType != null && { AccessMethodType: input.AccessMethodType }),
1437
1435
  ...(input.CustomObjectIdentifier != null && { CustomObjectIdentifier: input.CustomObjectIdentifier }),
1438
1436
  };
1439
1437
  };
1440
- const serializeAws_json1_1ActionList = (input, context) => {
1438
+ const se_ActionList = (input, context) => {
1441
1439
  return input
1442
1440
  .filter((e) => e != null)
1443
1441
  .map((entry) => {
1444
1442
  return entry;
1445
1443
  });
1446
1444
  };
1447
- const serializeAws_json1_1ApiPassthrough = (input, context) => {
1445
+ const se_ApiPassthrough = (input, context) => {
1448
1446
  return {
1449
- ...(input.Extensions != null && { Extensions: serializeAws_json1_1Extensions(input.Extensions, context) }),
1450
- ...(input.Subject != null && { Subject: serializeAws_json1_1ASN1Subject(input.Subject, context) }),
1447
+ ...(input.Extensions != null && { Extensions: se_Extensions(input.Extensions, context) }),
1448
+ ...(input.Subject != null && { Subject: se_ASN1Subject(input.Subject, context) }),
1451
1449
  };
1452
1450
  };
1453
- const serializeAws_json1_1ASN1Subject = (input, context) => {
1451
+ const se_ASN1Subject = (input, context) => {
1454
1452
  return {
1455
1453
  ...(input.CommonName != null && { CommonName: input.CommonName }),
1456
1454
  ...(input.Country != null && { Country: input.Country }),
1457
1455
  ...(input.CustomAttributes != null && {
1458
- CustomAttributes: serializeAws_json1_1CustomAttributeList(input.CustomAttributes, context),
1456
+ CustomAttributes: se_CustomAttributeList(input.CustomAttributes, context),
1459
1457
  }),
1460
1458
  ...(input.DistinguishedNameQualifier != null && { DistinguishedNameQualifier: input.DistinguishedNameQualifier }),
1461
1459
  ...(input.GenerationQualifier != null && { GenerationQualifier: input.GenerationQualifier }),
@@ -1471,54 +1469,52 @@ const serializeAws_json1_1ASN1Subject = (input, context) => {
1471
1469
  ...(input.Title != null && { Title: input.Title }),
1472
1470
  };
1473
1471
  };
1474
- const serializeAws_json1_1CertificateAuthorityConfiguration = (input, context) => {
1472
+ const se_CertificateAuthorityConfiguration = (input, context) => {
1475
1473
  return {
1476
- ...(input.CsrExtensions != null && {
1477
- CsrExtensions: serializeAws_json1_1CsrExtensions(input.CsrExtensions, context),
1478
- }),
1474
+ ...(input.CsrExtensions != null && { CsrExtensions: se_CsrExtensions(input.CsrExtensions, context) }),
1479
1475
  ...(input.KeyAlgorithm != null && { KeyAlgorithm: input.KeyAlgorithm }),
1480
1476
  ...(input.SigningAlgorithm != null && { SigningAlgorithm: input.SigningAlgorithm }),
1481
- ...(input.Subject != null && { Subject: serializeAws_json1_1ASN1Subject(input.Subject, context) }),
1477
+ ...(input.Subject != null && { Subject: se_ASN1Subject(input.Subject, context) }),
1482
1478
  };
1483
1479
  };
1484
- const serializeAws_json1_1CertificatePolicyList = (input, context) => {
1480
+ const se_CertificatePolicyList = (input, context) => {
1485
1481
  return input
1486
1482
  .filter((e) => e != null)
1487
1483
  .map((entry) => {
1488
- return serializeAws_json1_1PolicyInformation(entry, context);
1484
+ return se_PolicyInformation(entry, context);
1489
1485
  });
1490
1486
  };
1491
- const serializeAws_json1_1CreateCertificateAuthorityAuditReportRequest = (input, context) => {
1487
+ const se_CreateCertificateAuthorityAuditReportRequest = (input, context) => {
1492
1488
  return {
1493
1489
  ...(input.AuditReportResponseFormat != null && { AuditReportResponseFormat: input.AuditReportResponseFormat }),
1494
1490
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1495
1491
  ...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
1496
1492
  };
1497
1493
  };
1498
- const serializeAws_json1_1CreateCertificateAuthorityRequest = (input, context) => {
1494
+ const se_CreateCertificateAuthorityRequest = (input, context) => {
1499
1495
  return {
1500
1496
  ...(input.CertificateAuthorityConfiguration != null && {
1501
- CertificateAuthorityConfiguration: serializeAws_json1_1CertificateAuthorityConfiguration(input.CertificateAuthorityConfiguration, context),
1497
+ CertificateAuthorityConfiguration: se_CertificateAuthorityConfiguration(input.CertificateAuthorityConfiguration, context),
1502
1498
  }),
1503
1499
  ...(input.CertificateAuthorityType != null && { CertificateAuthorityType: input.CertificateAuthorityType }),
1504
1500
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1505
1501
  ...(input.KeyStorageSecurityStandard != null && { KeyStorageSecurityStandard: input.KeyStorageSecurityStandard }),
1506
1502
  ...(input.RevocationConfiguration != null && {
1507
- RevocationConfiguration: serializeAws_json1_1RevocationConfiguration(input.RevocationConfiguration, context),
1503
+ RevocationConfiguration: se_RevocationConfiguration(input.RevocationConfiguration, context),
1508
1504
  }),
1509
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1505
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1510
1506
  ...(input.UsageMode != null && { UsageMode: input.UsageMode }),
1511
1507
  };
1512
1508
  };
1513
- const serializeAws_json1_1CreatePermissionRequest = (input, context) => {
1509
+ const se_CreatePermissionRequest = (input, context) => {
1514
1510
  return {
1515
- ...(input.Actions != null && { Actions: serializeAws_json1_1ActionList(input.Actions, context) }),
1511
+ ...(input.Actions != null && { Actions: se_ActionList(input.Actions, context) }),
1516
1512
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1517
1513
  ...(input.Principal != null && { Principal: input.Principal }),
1518
1514
  ...(input.SourceAccount != null && { SourceAccount: input.SourceAccount }),
1519
1515
  };
1520
1516
  };
1521
- const serializeAws_json1_1CrlConfiguration = (input, context) => {
1517
+ const se_CrlConfiguration = (input, context) => {
1522
1518
  return {
1523
1519
  ...(input.CustomCname != null && { CustomCname: input.CustomCname }),
1524
1520
  ...(input.Enabled != null && { Enabled: input.Enabled }),
@@ -1527,42 +1523,42 @@ const serializeAws_json1_1CrlConfiguration = (input, context) => {
1527
1523
  ...(input.S3ObjectAcl != null && { S3ObjectAcl: input.S3ObjectAcl }),
1528
1524
  };
1529
1525
  };
1530
- const serializeAws_json1_1CsrExtensions = (input, context) => {
1526
+ const se_CsrExtensions = (input, context) => {
1531
1527
  return {
1532
- ...(input.KeyUsage != null && { KeyUsage: serializeAws_json1_1KeyUsage(input.KeyUsage, context) }),
1528
+ ...(input.KeyUsage != null && { KeyUsage: se_KeyUsage(input.KeyUsage, context) }),
1533
1529
  ...(input.SubjectInformationAccess != null && {
1534
- SubjectInformationAccess: serializeAws_json1_1AccessDescriptionList(input.SubjectInformationAccess, context),
1530
+ SubjectInformationAccess: se_AccessDescriptionList(input.SubjectInformationAccess, context),
1535
1531
  }),
1536
1532
  };
1537
1533
  };
1538
- const serializeAws_json1_1CustomAttribute = (input, context) => {
1534
+ const se_CustomAttribute = (input, context) => {
1539
1535
  return {
1540
1536
  ...(input.ObjectIdentifier != null && { ObjectIdentifier: input.ObjectIdentifier }),
1541
1537
  ...(input.Value != null && { Value: input.Value }),
1542
1538
  };
1543
1539
  };
1544
- const serializeAws_json1_1CustomAttributeList = (input, context) => {
1540
+ const se_CustomAttributeList = (input, context) => {
1545
1541
  return input
1546
1542
  .filter((e) => e != null)
1547
1543
  .map((entry) => {
1548
- return serializeAws_json1_1CustomAttribute(entry, context);
1544
+ return se_CustomAttribute(entry, context);
1549
1545
  });
1550
1546
  };
1551
- const serializeAws_json1_1CustomExtension = (input, context) => {
1547
+ const se_CustomExtension = (input, context) => {
1552
1548
  return {
1553
1549
  ...(input.Critical != null && { Critical: input.Critical }),
1554
1550
  ...(input.ObjectIdentifier != null && { ObjectIdentifier: input.ObjectIdentifier }),
1555
1551
  ...(input.Value != null && { Value: input.Value }),
1556
1552
  };
1557
1553
  };
1558
- const serializeAws_json1_1CustomExtensionList = (input, context) => {
1554
+ const se_CustomExtensionList = (input, context) => {
1559
1555
  return input
1560
1556
  .filter((e) => e != null)
1561
1557
  .map((entry) => {
1562
- return serializeAws_json1_1CustomExtension(entry, context);
1558
+ return se_CustomExtension(entry, context);
1563
1559
  });
1564
1560
  };
1565
- const serializeAws_json1_1DeleteCertificateAuthorityRequest = (input, context) => {
1561
+ const se_DeleteCertificateAuthorityRequest = (input, context) => {
1566
1562
  return {
1567
1563
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1568
1564
  ...(input.PermanentDeletionTimeInDays != null && {
@@ -1570,36 +1566,36 @@ const serializeAws_json1_1DeleteCertificateAuthorityRequest = (input, context) =
1570
1566
  }),
1571
1567
  };
1572
1568
  };
1573
- const serializeAws_json1_1DeletePermissionRequest = (input, context) => {
1569
+ const se_DeletePermissionRequest = (input, context) => {
1574
1570
  return {
1575
1571
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1576
1572
  ...(input.Principal != null && { Principal: input.Principal }),
1577
1573
  ...(input.SourceAccount != null && { SourceAccount: input.SourceAccount }),
1578
1574
  };
1579
1575
  };
1580
- const serializeAws_json1_1DeletePolicyRequest = (input, context) => {
1576
+ const se_DeletePolicyRequest = (input, context) => {
1581
1577
  return {
1582
1578
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1583
1579
  };
1584
1580
  };
1585
- const serializeAws_json1_1DescribeCertificateAuthorityAuditReportRequest = (input, context) => {
1581
+ const se_DescribeCertificateAuthorityAuditReportRequest = (input, context) => {
1586
1582
  return {
1587
1583
  ...(input.AuditReportId != null && { AuditReportId: input.AuditReportId }),
1588
1584
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1589
1585
  };
1590
1586
  };
1591
- const serializeAws_json1_1DescribeCertificateAuthorityRequest = (input, context) => {
1587
+ const se_DescribeCertificateAuthorityRequest = (input, context) => {
1592
1588
  return {
1593
1589
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1594
1590
  };
1595
1591
  };
1596
- const serializeAws_json1_1EdiPartyName = (input, context) => {
1592
+ const se_EdiPartyName = (input, context) => {
1597
1593
  return {
1598
1594
  ...(input.NameAssigner != null && { NameAssigner: input.NameAssigner }),
1599
1595
  ...(input.PartyName != null && { PartyName: input.PartyName }),
1600
1596
  };
1601
1597
  };
1602
- const serializeAws_json1_1ExtendedKeyUsage = (input, context) => {
1598
+ const se_ExtendedKeyUsage = (input, context) => {
1603
1599
  return {
1604
1600
  ...(input.ExtendedKeyUsageObjectIdentifier != null && {
1605
1601
  ExtendedKeyUsageObjectIdentifier: input.ExtendedKeyUsageObjectIdentifier,
@@ -1607,96 +1603,90 @@ const serializeAws_json1_1ExtendedKeyUsage = (input, context) => {
1607
1603
  ...(input.ExtendedKeyUsageType != null && { ExtendedKeyUsageType: input.ExtendedKeyUsageType }),
1608
1604
  };
1609
1605
  };
1610
- const serializeAws_json1_1ExtendedKeyUsageList = (input, context) => {
1606
+ const se_ExtendedKeyUsageList = (input, context) => {
1611
1607
  return input
1612
1608
  .filter((e) => e != null)
1613
1609
  .map((entry) => {
1614
- return serializeAws_json1_1ExtendedKeyUsage(entry, context);
1610
+ return se_ExtendedKeyUsage(entry, context);
1615
1611
  });
1616
1612
  };
1617
- const serializeAws_json1_1Extensions = (input, context) => {
1613
+ const se_Extensions = (input, context) => {
1618
1614
  return {
1619
1615
  ...(input.CertificatePolicies != null && {
1620
- CertificatePolicies: serializeAws_json1_1CertificatePolicyList(input.CertificatePolicies, context),
1616
+ CertificatePolicies: se_CertificatePolicyList(input.CertificatePolicies, context),
1621
1617
  }),
1622
1618
  ...(input.CustomExtensions != null && {
1623
- CustomExtensions: serializeAws_json1_1CustomExtensionList(input.CustomExtensions, context),
1619
+ CustomExtensions: se_CustomExtensionList(input.CustomExtensions, context),
1624
1620
  }),
1625
1621
  ...(input.ExtendedKeyUsage != null && {
1626
- ExtendedKeyUsage: serializeAws_json1_1ExtendedKeyUsageList(input.ExtendedKeyUsage, context),
1622
+ ExtendedKeyUsage: se_ExtendedKeyUsageList(input.ExtendedKeyUsage, context),
1627
1623
  }),
1628
- ...(input.KeyUsage != null && { KeyUsage: serializeAws_json1_1KeyUsage(input.KeyUsage, context) }),
1624
+ ...(input.KeyUsage != null && { KeyUsage: se_KeyUsage(input.KeyUsage, context) }),
1629
1625
  ...(input.SubjectAlternativeNames != null && {
1630
- SubjectAlternativeNames: serializeAws_json1_1GeneralNameList(input.SubjectAlternativeNames, context),
1626
+ SubjectAlternativeNames: se_GeneralNameList(input.SubjectAlternativeNames, context),
1631
1627
  }),
1632
1628
  };
1633
1629
  };
1634
- const serializeAws_json1_1GeneralName = (input, context) => {
1630
+ const se_GeneralName = (input, context) => {
1635
1631
  return {
1636
- ...(input.DirectoryName != null && {
1637
- DirectoryName: serializeAws_json1_1ASN1Subject(input.DirectoryName, context),
1638
- }),
1632
+ ...(input.DirectoryName != null && { DirectoryName: se_ASN1Subject(input.DirectoryName, context) }),
1639
1633
  ...(input.DnsName != null && { DnsName: input.DnsName }),
1640
- ...(input.EdiPartyName != null && { EdiPartyName: serializeAws_json1_1EdiPartyName(input.EdiPartyName, context) }),
1634
+ ...(input.EdiPartyName != null && { EdiPartyName: se_EdiPartyName(input.EdiPartyName, context) }),
1641
1635
  ...(input.IpAddress != null && { IpAddress: input.IpAddress }),
1642
- ...(input.OtherName != null && { OtherName: serializeAws_json1_1OtherName(input.OtherName, context) }),
1636
+ ...(input.OtherName != null && { OtherName: se_OtherName(input.OtherName, context) }),
1643
1637
  ...(input.RegisteredId != null && { RegisteredId: input.RegisteredId }),
1644
1638
  ...(input.Rfc822Name != null && { Rfc822Name: input.Rfc822Name }),
1645
1639
  ...(input.UniformResourceIdentifier != null && { UniformResourceIdentifier: input.UniformResourceIdentifier }),
1646
1640
  };
1647
1641
  };
1648
- const serializeAws_json1_1GeneralNameList = (input, context) => {
1642
+ const se_GeneralNameList = (input, context) => {
1649
1643
  return input
1650
1644
  .filter((e) => e != null)
1651
1645
  .map((entry) => {
1652
- return serializeAws_json1_1GeneralName(entry, context);
1646
+ return se_GeneralName(entry, context);
1653
1647
  });
1654
1648
  };
1655
- const serializeAws_json1_1GetCertificateAuthorityCertificateRequest = (input, context) => {
1649
+ const se_GetCertificateAuthorityCertificateRequest = (input, context) => {
1656
1650
  return {
1657
1651
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1658
1652
  };
1659
1653
  };
1660
- const serializeAws_json1_1GetCertificateAuthorityCsrRequest = (input, context) => {
1654
+ const se_GetCertificateAuthorityCsrRequest = (input, context) => {
1661
1655
  return {
1662
1656
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1663
1657
  };
1664
1658
  };
1665
- const serializeAws_json1_1GetCertificateRequest = (input, context) => {
1659
+ const se_GetCertificateRequest = (input, context) => {
1666
1660
  return {
1667
1661
  ...(input.CertificateArn != null && { CertificateArn: input.CertificateArn }),
1668
1662
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1669
1663
  };
1670
1664
  };
1671
- const serializeAws_json1_1GetPolicyRequest = (input, context) => {
1665
+ const se_GetPolicyRequest = (input, context) => {
1672
1666
  return {
1673
1667
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1674
1668
  };
1675
1669
  };
1676
- const serializeAws_json1_1ImportCertificateAuthorityCertificateRequest = (input, context) => {
1670
+ const se_ImportCertificateAuthorityCertificateRequest = (input, context) => {
1677
1671
  return {
1678
1672
  ...(input.Certificate != null && { Certificate: context.base64Encoder(input.Certificate) }),
1679
1673
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1680
1674
  ...(input.CertificateChain != null && { CertificateChain: context.base64Encoder(input.CertificateChain) }),
1681
1675
  };
1682
1676
  };
1683
- const serializeAws_json1_1IssueCertificateRequest = (input, context) => {
1677
+ const se_IssueCertificateRequest = (input, context) => {
1684
1678
  return {
1685
- ...(input.ApiPassthrough != null && {
1686
- ApiPassthrough: serializeAws_json1_1ApiPassthrough(input.ApiPassthrough, context),
1687
- }),
1679
+ ...(input.ApiPassthrough != null && { ApiPassthrough: se_ApiPassthrough(input.ApiPassthrough, context) }),
1688
1680
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1689
1681
  ...(input.Csr != null && { Csr: context.base64Encoder(input.Csr) }),
1690
1682
  ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1691
1683
  ...(input.SigningAlgorithm != null && { SigningAlgorithm: input.SigningAlgorithm }),
1692
1684
  ...(input.TemplateArn != null && { TemplateArn: input.TemplateArn }),
1693
- ...(input.Validity != null && { Validity: serializeAws_json1_1Validity(input.Validity, context) }),
1694
- ...(input.ValidityNotBefore != null && {
1695
- ValidityNotBefore: serializeAws_json1_1Validity(input.ValidityNotBefore, context),
1696
- }),
1685
+ ...(input.Validity != null && { Validity: se_Validity(input.Validity, context) }),
1686
+ ...(input.ValidityNotBefore != null && { ValidityNotBefore: se_Validity(input.ValidityNotBefore, context) }),
1697
1687
  };
1698
1688
  };
1699
- const serializeAws_json1_1KeyUsage = (input, context) => {
1689
+ const se_KeyUsage = (input, context) => {
1700
1690
  return {
1701
1691
  ...(input.CRLSign != null && { CRLSign: input.CRLSign }),
1702
1692
  ...(input.DataEncipherment != null && { DataEncipherment: input.DataEncipherment }),
@@ -1709,157 +1699,155 @@ const serializeAws_json1_1KeyUsage = (input, context) => {
1709
1699
  ...(input.NonRepudiation != null && { NonRepudiation: input.NonRepudiation }),
1710
1700
  };
1711
1701
  };
1712
- const serializeAws_json1_1ListCertificateAuthoritiesRequest = (input, context) => {
1702
+ const se_ListCertificateAuthoritiesRequest = (input, context) => {
1713
1703
  return {
1714
1704
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1715
1705
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1716
1706
  ...(input.ResourceOwner != null && { ResourceOwner: input.ResourceOwner }),
1717
1707
  };
1718
1708
  };
1719
- const serializeAws_json1_1ListPermissionsRequest = (input, context) => {
1709
+ const se_ListPermissionsRequest = (input, context) => {
1720
1710
  return {
1721
1711
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1722
1712
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1723
1713
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1724
1714
  };
1725
1715
  };
1726
- const serializeAws_json1_1ListTagsRequest = (input, context) => {
1716
+ const se_ListTagsRequest = (input, context) => {
1727
1717
  return {
1728
1718
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1729
1719
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1730
1720
  ...(input.NextToken != null && { NextToken: input.NextToken }),
1731
1721
  };
1732
1722
  };
1733
- const serializeAws_json1_1OcspConfiguration = (input, context) => {
1723
+ const se_OcspConfiguration = (input, context) => {
1734
1724
  return {
1735
1725
  ...(input.Enabled != null && { Enabled: input.Enabled }),
1736
1726
  ...(input.OcspCustomCname != null && { OcspCustomCname: input.OcspCustomCname }),
1737
1727
  };
1738
1728
  };
1739
- const serializeAws_json1_1OtherName = (input, context) => {
1729
+ const se_OtherName = (input, context) => {
1740
1730
  return {
1741
1731
  ...(input.TypeId != null && { TypeId: input.TypeId }),
1742
1732
  ...(input.Value != null && { Value: input.Value }),
1743
1733
  };
1744
1734
  };
1745
- const serializeAws_json1_1PolicyInformation = (input, context) => {
1735
+ const se_PolicyInformation = (input, context) => {
1746
1736
  return {
1747
1737
  ...(input.CertPolicyId != null && { CertPolicyId: input.CertPolicyId }),
1748
1738
  ...(input.PolicyQualifiers != null && {
1749
- PolicyQualifiers: serializeAws_json1_1PolicyQualifierInfoList(input.PolicyQualifiers, context),
1739
+ PolicyQualifiers: se_PolicyQualifierInfoList(input.PolicyQualifiers, context),
1750
1740
  }),
1751
1741
  };
1752
1742
  };
1753
- const serializeAws_json1_1PolicyQualifierInfo = (input, context) => {
1743
+ const se_PolicyQualifierInfo = (input, context) => {
1754
1744
  return {
1755
1745
  ...(input.PolicyQualifierId != null && { PolicyQualifierId: input.PolicyQualifierId }),
1756
- ...(input.Qualifier != null && { Qualifier: serializeAws_json1_1Qualifier(input.Qualifier, context) }),
1746
+ ...(input.Qualifier != null && { Qualifier: se_Qualifier(input.Qualifier, context) }),
1757
1747
  };
1758
1748
  };
1759
- const serializeAws_json1_1PolicyQualifierInfoList = (input, context) => {
1749
+ const se_PolicyQualifierInfoList = (input, context) => {
1760
1750
  return input
1761
1751
  .filter((e) => e != null)
1762
1752
  .map((entry) => {
1763
- return serializeAws_json1_1PolicyQualifierInfo(entry, context);
1753
+ return se_PolicyQualifierInfo(entry, context);
1764
1754
  });
1765
1755
  };
1766
- const serializeAws_json1_1PutPolicyRequest = (input, context) => {
1756
+ const se_PutPolicyRequest = (input, context) => {
1767
1757
  return {
1768
1758
  ...(input.Policy != null && { Policy: input.Policy }),
1769
1759
  ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1770
1760
  };
1771
1761
  };
1772
- const serializeAws_json1_1Qualifier = (input, context) => {
1762
+ const se_Qualifier = (input, context) => {
1773
1763
  return {
1774
1764
  ...(input.CpsUri != null && { CpsUri: input.CpsUri }),
1775
1765
  };
1776
1766
  };
1777
- const serializeAws_json1_1RestoreCertificateAuthorityRequest = (input, context) => {
1767
+ const se_RestoreCertificateAuthorityRequest = (input, context) => {
1778
1768
  return {
1779
1769
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1780
1770
  };
1781
1771
  };
1782
- const serializeAws_json1_1RevocationConfiguration = (input, context) => {
1772
+ const se_RevocationConfiguration = (input, context) => {
1783
1773
  return {
1784
- ...(input.CrlConfiguration != null && {
1785
- CrlConfiguration: serializeAws_json1_1CrlConfiguration(input.CrlConfiguration, context),
1786
- }),
1774
+ ...(input.CrlConfiguration != null && { CrlConfiguration: se_CrlConfiguration(input.CrlConfiguration, context) }),
1787
1775
  ...(input.OcspConfiguration != null && {
1788
- OcspConfiguration: serializeAws_json1_1OcspConfiguration(input.OcspConfiguration, context),
1776
+ OcspConfiguration: se_OcspConfiguration(input.OcspConfiguration, context),
1789
1777
  }),
1790
1778
  };
1791
1779
  };
1792
- const serializeAws_json1_1RevokeCertificateRequest = (input, context) => {
1780
+ const se_RevokeCertificateRequest = (input, context) => {
1793
1781
  return {
1794
1782
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1795
1783
  ...(input.CertificateSerial != null && { CertificateSerial: input.CertificateSerial }),
1796
1784
  ...(input.RevocationReason != null && { RevocationReason: input.RevocationReason }),
1797
1785
  };
1798
1786
  };
1799
- const serializeAws_json1_1Tag = (input, context) => {
1787
+ const se_Tag = (input, context) => {
1800
1788
  return {
1801
1789
  ...(input.Key != null && { Key: input.Key }),
1802
1790
  ...(input.Value != null && { Value: input.Value }),
1803
1791
  };
1804
1792
  };
1805
- const serializeAws_json1_1TagCertificateAuthorityRequest = (input, context) => {
1793
+ const se_TagCertificateAuthorityRequest = (input, context) => {
1806
1794
  return {
1807
1795
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1808
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1796
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1809
1797
  };
1810
1798
  };
1811
- const serializeAws_json1_1TagList = (input, context) => {
1799
+ const se_TagList = (input, context) => {
1812
1800
  return input
1813
1801
  .filter((e) => e != null)
1814
1802
  .map((entry) => {
1815
- return serializeAws_json1_1Tag(entry, context);
1803
+ return se_Tag(entry, context);
1816
1804
  });
1817
1805
  };
1818
- const serializeAws_json1_1UntagCertificateAuthorityRequest = (input, context) => {
1806
+ const se_UntagCertificateAuthorityRequest = (input, context) => {
1819
1807
  return {
1820
1808
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1821
- ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1809
+ ...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
1822
1810
  };
1823
1811
  };
1824
- const serializeAws_json1_1UpdateCertificateAuthorityRequest = (input, context) => {
1812
+ const se_UpdateCertificateAuthorityRequest = (input, context) => {
1825
1813
  return {
1826
1814
  ...(input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn }),
1827
1815
  ...(input.RevocationConfiguration != null && {
1828
- RevocationConfiguration: serializeAws_json1_1RevocationConfiguration(input.RevocationConfiguration, context),
1816
+ RevocationConfiguration: se_RevocationConfiguration(input.RevocationConfiguration, context),
1829
1817
  }),
1830
1818
  ...(input.Status != null && { Status: input.Status }),
1831
1819
  };
1832
1820
  };
1833
- const serializeAws_json1_1Validity = (input, context) => {
1821
+ const se_Validity = (input, context) => {
1834
1822
  return {
1835
1823
  ...(input.Type != null && { Type: input.Type }),
1836
1824
  ...(input.Value != null && { Value: input.Value }),
1837
1825
  };
1838
1826
  };
1839
- const deserializeAws_json1_1AccessDescription = (output, context) => {
1827
+ const de_AccessDescription = (output, context) => {
1840
1828
  return {
1841
- AccessLocation: output.AccessLocation != null ? deserializeAws_json1_1GeneralName(output.AccessLocation, context) : undefined,
1842
- AccessMethod: output.AccessMethod != null ? deserializeAws_json1_1AccessMethod(output.AccessMethod, context) : undefined,
1829
+ AccessLocation: output.AccessLocation != null ? de_GeneralName(output.AccessLocation, context) : undefined,
1830
+ AccessMethod: output.AccessMethod != null ? de_AccessMethod(output.AccessMethod, context) : undefined,
1843
1831
  };
1844
1832
  };
1845
- const deserializeAws_json1_1AccessDescriptionList = (output, context) => {
1833
+ const de_AccessDescriptionList = (output, context) => {
1846
1834
  const retVal = (output || [])
1847
1835
  .filter((e) => e != null)
1848
1836
  .map((entry) => {
1849
1837
  if (entry === null) {
1850
1838
  return null;
1851
1839
  }
1852
- return deserializeAws_json1_1AccessDescription(entry, context);
1840
+ return de_AccessDescription(entry, context);
1853
1841
  });
1854
1842
  return retVal;
1855
1843
  };
1856
- const deserializeAws_json1_1AccessMethod = (output, context) => {
1844
+ const de_AccessMethod = (output, context) => {
1857
1845
  return {
1858
1846
  AccessMethodType: (0, smithy_client_1.expectString)(output.AccessMethodType),
1859
1847
  CustomObjectIdentifier: (0, smithy_client_1.expectString)(output.CustomObjectIdentifier),
1860
1848
  };
1861
1849
  };
1862
- const deserializeAws_json1_1ActionList = (output, context) => {
1850
+ const de_ActionList = (output, context) => {
1863
1851
  const retVal = (output || [])
1864
1852
  .filter((e) => e != null)
1865
1853
  .map((entry) => {
@@ -1870,13 +1858,11 @@ const deserializeAws_json1_1ActionList = (output, context) => {
1870
1858
  });
1871
1859
  return retVal;
1872
1860
  };
1873
- const deserializeAws_json1_1ASN1Subject = (output, context) => {
1861
+ const de_ASN1Subject = (output, context) => {
1874
1862
  return {
1875
1863
  CommonName: (0, smithy_client_1.expectString)(output.CommonName),
1876
1864
  Country: (0, smithy_client_1.expectString)(output.Country),
1877
- CustomAttributes: output.CustomAttributes != null
1878
- ? deserializeAws_json1_1CustomAttributeList(output.CustomAttributes, context)
1879
- : undefined,
1865
+ CustomAttributes: output.CustomAttributes != null ? de_CustomAttributeList(output.CustomAttributes, context) : undefined,
1880
1866
  DistinguishedNameQualifier: (0, smithy_client_1.expectString)(output.DistinguishedNameQualifier),
1881
1867
  GenerationQualifier: (0, smithy_client_1.expectString)(output.GenerationQualifier),
1882
1868
  GivenName: (0, smithy_client_1.expectString)(output.GivenName),
@@ -1891,22 +1877,22 @@ const deserializeAws_json1_1ASN1Subject = (output, context) => {
1891
1877
  Title: (0, smithy_client_1.expectString)(output.Title),
1892
1878
  };
1893
1879
  };
1894
- const deserializeAws_json1_1CertificateAuthorities = (output, context) => {
1880
+ const de_CertificateAuthorities = (output, context) => {
1895
1881
  const retVal = (output || [])
1896
1882
  .filter((e) => e != null)
1897
1883
  .map((entry) => {
1898
1884
  if (entry === null) {
1899
1885
  return null;
1900
1886
  }
1901
- return deserializeAws_json1_1CertificateAuthority(entry, context);
1887
+ return de_CertificateAuthority(entry, context);
1902
1888
  });
1903
1889
  return retVal;
1904
1890
  };
1905
- const deserializeAws_json1_1CertificateAuthority = (output, context) => {
1891
+ const de_CertificateAuthority = (output, context) => {
1906
1892
  return {
1907
1893
  Arn: (0, smithy_client_1.expectString)(output.Arn),
1908
1894
  CertificateAuthorityConfiguration: output.CertificateAuthorityConfiguration != null
1909
- ? deserializeAws_json1_1CertificateAuthorityConfiguration(output.CertificateAuthorityConfiguration, context)
1895
+ ? de_CertificateAuthorityConfiguration(output.CertificateAuthorityConfiguration, context)
1910
1896
  : undefined,
1911
1897
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
1912
1898
  FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
@@ -1921,7 +1907,7 @@ const deserializeAws_json1_1CertificateAuthority = (output, context) => {
1921
1907
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RestorableUntil)))
1922
1908
  : undefined,
1923
1909
  RevocationConfiguration: output.RevocationConfiguration != null
1924
- ? deserializeAws_json1_1RevocationConfiguration(output.RevocationConfiguration, context)
1910
+ ? de_RevocationConfiguration(output.RevocationConfiguration, context)
1925
1911
  : undefined,
1926
1912
  Serial: (0, smithy_client_1.expectString)(output.Serial),
1927
1913
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -1929,36 +1915,36 @@ const deserializeAws_json1_1CertificateAuthority = (output, context) => {
1929
1915
  UsageMode: (0, smithy_client_1.expectString)(output.UsageMode),
1930
1916
  };
1931
1917
  };
1932
- const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context) => {
1918
+ const de_CertificateAuthorityConfiguration = (output, context) => {
1933
1919
  return {
1934
- CsrExtensions: output.CsrExtensions != null ? deserializeAws_json1_1CsrExtensions(output.CsrExtensions, context) : undefined,
1920
+ CsrExtensions: output.CsrExtensions != null ? de_CsrExtensions(output.CsrExtensions, context) : undefined,
1935
1921
  KeyAlgorithm: (0, smithy_client_1.expectString)(output.KeyAlgorithm),
1936
1922
  SigningAlgorithm: (0, smithy_client_1.expectString)(output.SigningAlgorithm),
1937
- Subject: output.Subject != null ? deserializeAws_json1_1ASN1Subject(output.Subject, context) : undefined,
1923
+ Subject: output.Subject != null ? de_ASN1Subject(output.Subject, context) : undefined,
1938
1924
  };
1939
1925
  };
1940
- const deserializeAws_json1_1CertificateMismatchException = (output, context) => {
1926
+ const de_CertificateMismatchException = (output, context) => {
1941
1927
  return {
1942
1928
  message: (0, smithy_client_1.expectString)(output.message),
1943
1929
  };
1944
1930
  };
1945
- const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
1931
+ const de_ConcurrentModificationException = (output, context) => {
1946
1932
  return {
1947
1933
  message: (0, smithy_client_1.expectString)(output.message),
1948
1934
  };
1949
1935
  };
1950
- const deserializeAws_json1_1CreateCertificateAuthorityAuditReportResponse = (output, context) => {
1936
+ const de_CreateCertificateAuthorityAuditReportResponse = (output, context) => {
1951
1937
  return {
1952
1938
  AuditReportId: (0, smithy_client_1.expectString)(output.AuditReportId),
1953
1939
  S3Key: (0, smithy_client_1.expectString)(output.S3Key),
1954
1940
  };
1955
1941
  };
1956
- const deserializeAws_json1_1CreateCertificateAuthorityResponse = (output, context) => {
1942
+ const de_CreateCertificateAuthorityResponse = (output, context) => {
1957
1943
  return {
1958
1944
  CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
1959
1945
  };
1960
1946
  };
1961
- const deserializeAws_json1_1CrlConfiguration = (output, context) => {
1947
+ const de_CrlConfiguration = (output, context) => {
1962
1948
  return {
1963
1949
  CustomCname: (0, smithy_client_1.expectString)(output.CustomCname),
1964
1950
  Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
@@ -1967,32 +1953,32 @@ const deserializeAws_json1_1CrlConfiguration = (output, context) => {
1967
1953
  S3ObjectAcl: (0, smithy_client_1.expectString)(output.S3ObjectAcl),
1968
1954
  };
1969
1955
  };
1970
- const deserializeAws_json1_1CsrExtensions = (output, context) => {
1956
+ const de_CsrExtensions = (output, context) => {
1971
1957
  return {
1972
- KeyUsage: output.KeyUsage != null ? deserializeAws_json1_1KeyUsage(output.KeyUsage, context) : undefined,
1958
+ KeyUsage: output.KeyUsage != null ? de_KeyUsage(output.KeyUsage, context) : undefined,
1973
1959
  SubjectInformationAccess: output.SubjectInformationAccess != null
1974
- ? deserializeAws_json1_1AccessDescriptionList(output.SubjectInformationAccess, context)
1960
+ ? de_AccessDescriptionList(output.SubjectInformationAccess, context)
1975
1961
  : undefined,
1976
1962
  };
1977
1963
  };
1978
- const deserializeAws_json1_1CustomAttribute = (output, context) => {
1964
+ const de_CustomAttribute = (output, context) => {
1979
1965
  return {
1980
1966
  ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
1981
1967
  Value: (0, smithy_client_1.expectString)(output.Value),
1982
1968
  };
1983
1969
  };
1984
- const deserializeAws_json1_1CustomAttributeList = (output, context) => {
1970
+ const de_CustomAttributeList = (output, context) => {
1985
1971
  const retVal = (output || [])
1986
1972
  .filter((e) => e != null)
1987
1973
  .map((entry) => {
1988
1974
  if (entry === null) {
1989
1975
  return null;
1990
1976
  }
1991
- return deserializeAws_json1_1CustomAttribute(entry, context);
1977
+ return de_CustomAttribute(entry, context);
1992
1978
  });
1993
1979
  return retVal;
1994
1980
  };
1995
- const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
1981
+ const de_DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
1996
1982
  return {
1997
1983
  AuditReportStatus: (0, smithy_client_1.expectString)(output.AuditReportStatus),
1998
1984
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
@@ -2000,94 +1986,92 @@ const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse = (o
2000
1986
  S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2001
1987
  };
2002
1988
  };
2003
- const deserializeAws_json1_1DescribeCertificateAuthorityResponse = (output, context) => {
1989
+ const de_DescribeCertificateAuthorityResponse = (output, context) => {
2004
1990
  return {
2005
- CertificateAuthority: output.CertificateAuthority != null
2006
- ? deserializeAws_json1_1CertificateAuthority(output.CertificateAuthority, context)
2007
- : undefined,
1991
+ CertificateAuthority: output.CertificateAuthority != null ? de_CertificateAuthority(output.CertificateAuthority, context) : undefined,
2008
1992
  };
2009
1993
  };
2010
- const deserializeAws_json1_1EdiPartyName = (output, context) => {
1994
+ const de_EdiPartyName = (output, context) => {
2011
1995
  return {
2012
1996
  NameAssigner: (0, smithy_client_1.expectString)(output.NameAssigner),
2013
1997
  PartyName: (0, smithy_client_1.expectString)(output.PartyName),
2014
1998
  };
2015
1999
  };
2016
- const deserializeAws_json1_1GeneralName = (output, context) => {
2000
+ const de_GeneralName = (output, context) => {
2017
2001
  return {
2018
- DirectoryName: output.DirectoryName != null ? deserializeAws_json1_1ASN1Subject(output.DirectoryName, context) : undefined,
2002
+ DirectoryName: output.DirectoryName != null ? de_ASN1Subject(output.DirectoryName, context) : undefined,
2019
2003
  DnsName: (0, smithy_client_1.expectString)(output.DnsName),
2020
- EdiPartyName: output.EdiPartyName != null ? deserializeAws_json1_1EdiPartyName(output.EdiPartyName, context) : undefined,
2004
+ EdiPartyName: output.EdiPartyName != null ? de_EdiPartyName(output.EdiPartyName, context) : undefined,
2021
2005
  IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
2022
- OtherName: output.OtherName != null ? deserializeAws_json1_1OtherName(output.OtherName, context) : undefined,
2006
+ OtherName: output.OtherName != null ? de_OtherName(output.OtherName, context) : undefined,
2023
2007
  RegisteredId: (0, smithy_client_1.expectString)(output.RegisteredId),
2024
2008
  Rfc822Name: (0, smithy_client_1.expectString)(output.Rfc822Name),
2025
2009
  UniformResourceIdentifier: (0, smithy_client_1.expectString)(output.UniformResourceIdentifier),
2026
2010
  };
2027
2011
  };
2028
- const deserializeAws_json1_1GetCertificateAuthorityCertificateResponse = (output, context) => {
2012
+ const de_GetCertificateAuthorityCertificateResponse = (output, context) => {
2029
2013
  return {
2030
2014
  Certificate: (0, smithy_client_1.expectString)(output.Certificate),
2031
2015
  CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
2032
2016
  };
2033
2017
  };
2034
- const deserializeAws_json1_1GetCertificateAuthorityCsrResponse = (output, context) => {
2018
+ const de_GetCertificateAuthorityCsrResponse = (output, context) => {
2035
2019
  return {
2036
2020
  Csr: (0, smithy_client_1.expectString)(output.Csr),
2037
2021
  };
2038
2022
  };
2039
- const deserializeAws_json1_1GetCertificateResponse = (output, context) => {
2023
+ const de_GetCertificateResponse = (output, context) => {
2040
2024
  return {
2041
2025
  Certificate: (0, smithy_client_1.expectString)(output.Certificate),
2042
2026
  CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
2043
2027
  };
2044
2028
  };
2045
- const deserializeAws_json1_1GetPolicyResponse = (output, context) => {
2029
+ const de_GetPolicyResponse = (output, context) => {
2046
2030
  return {
2047
2031
  Policy: (0, smithy_client_1.expectString)(output.Policy),
2048
2032
  };
2049
2033
  };
2050
- const deserializeAws_json1_1InvalidArgsException = (output, context) => {
2034
+ const de_InvalidArgsException = (output, context) => {
2051
2035
  return {
2052
2036
  message: (0, smithy_client_1.expectString)(output.message),
2053
2037
  };
2054
2038
  };
2055
- const deserializeAws_json1_1InvalidArnException = (output, context) => {
2039
+ const de_InvalidArnException = (output, context) => {
2056
2040
  return {
2057
2041
  message: (0, smithy_client_1.expectString)(output.message),
2058
2042
  };
2059
2043
  };
2060
- const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
2044
+ const de_InvalidNextTokenException = (output, context) => {
2061
2045
  return {
2062
2046
  message: (0, smithy_client_1.expectString)(output.message),
2063
2047
  };
2064
2048
  };
2065
- const deserializeAws_json1_1InvalidPolicyException = (output, context) => {
2049
+ const de_InvalidPolicyException = (output, context) => {
2066
2050
  return {
2067
2051
  message: (0, smithy_client_1.expectString)(output.message),
2068
2052
  };
2069
2053
  };
2070
- const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2054
+ const de_InvalidRequestException = (output, context) => {
2071
2055
  return {
2072
2056
  message: (0, smithy_client_1.expectString)(output.message),
2073
2057
  };
2074
2058
  };
2075
- const deserializeAws_json1_1InvalidStateException = (output, context) => {
2059
+ const de_InvalidStateException = (output, context) => {
2076
2060
  return {
2077
2061
  message: (0, smithy_client_1.expectString)(output.message),
2078
2062
  };
2079
2063
  };
2080
- const deserializeAws_json1_1InvalidTagException = (output, context) => {
2064
+ const de_InvalidTagException = (output, context) => {
2081
2065
  return {
2082
2066
  message: (0, smithy_client_1.expectString)(output.message),
2083
2067
  };
2084
2068
  };
2085
- const deserializeAws_json1_1IssueCertificateResponse = (output, context) => {
2069
+ const de_IssueCertificateResponse = (output, context) => {
2086
2070
  return {
2087
2071
  CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
2088
2072
  };
2089
2073
  };
2090
- const deserializeAws_json1_1KeyUsage = (output, context) => {
2074
+ const de_KeyUsage = (output, context) => {
2091
2075
  return {
2092
2076
  CRLSign: (0, smithy_client_1.expectBoolean)(output.CRLSign),
2093
2077
  DataEncipherment: (0, smithy_client_1.expectBoolean)(output.DataEncipherment),
@@ -2100,61 +2084,61 @@ const deserializeAws_json1_1KeyUsage = (output, context) => {
2100
2084
  NonRepudiation: (0, smithy_client_1.expectBoolean)(output.NonRepudiation),
2101
2085
  };
2102
2086
  };
2103
- const deserializeAws_json1_1LimitExceededException = (output, context) => {
2087
+ const de_LimitExceededException = (output, context) => {
2104
2088
  return {
2105
2089
  message: (0, smithy_client_1.expectString)(output.message),
2106
2090
  };
2107
2091
  };
2108
- const deserializeAws_json1_1ListCertificateAuthoritiesResponse = (output, context) => {
2092
+ const de_ListCertificateAuthoritiesResponse = (output, context) => {
2109
2093
  return {
2110
2094
  CertificateAuthorities: output.CertificateAuthorities != null
2111
- ? deserializeAws_json1_1CertificateAuthorities(output.CertificateAuthorities, context)
2095
+ ? de_CertificateAuthorities(output.CertificateAuthorities, context)
2112
2096
  : undefined,
2113
2097
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2114
2098
  };
2115
2099
  };
2116
- const deserializeAws_json1_1ListPermissionsResponse = (output, context) => {
2100
+ const de_ListPermissionsResponse = (output, context) => {
2117
2101
  return {
2118
2102
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2119
- Permissions: output.Permissions != null ? deserializeAws_json1_1PermissionList(output.Permissions, context) : undefined,
2103
+ Permissions: output.Permissions != null ? de_PermissionList(output.Permissions, context) : undefined,
2120
2104
  };
2121
2105
  };
2122
- const deserializeAws_json1_1ListTagsResponse = (output, context) => {
2106
+ const de_ListTagsResponse = (output, context) => {
2123
2107
  return {
2124
2108
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2125
- Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
2109
+ Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
2126
2110
  };
2127
2111
  };
2128
- const deserializeAws_json1_1LockoutPreventedException = (output, context) => {
2112
+ const de_LockoutPreventedException = (output, context) => {
2129
2113
  return {
2130
2114
  message: (0, smithy_client_1.expectString)(output.message),
2131
2115
  };
2132
2116
  };
2133
- const deserializeAws_json1_1MalformedCertificateException = (output, context) => {
2117
+ const de_MalformedCertificateException = (output, context) => {
2134
2118
  return {
2135
2119
  message: (0, smithy_client_1.expectString)(output.message),
2136
2120
  };
2137
2121
  };
2138
- const deserializeAws_json1_1MalformedCSRException = (output, context) => {
2122
+ const de_MalformedCSRException = (output, context) => {
2139
2123
  return {
2140
2124
  message: (0, smithy_client_1.expectString)(output.message),
2141
2125
  };
2142
2126
  };
2143
- const deserializeAws_json1_1OcspConfiguration = (output, context) => {
2127
+ const de_OcspConfiguration = (output, context) => {
2144
2128
  return {
2145
2129
  Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2146
2130
  OcspCustomCname: (0, smithy_client_1.expectString)(output.OcspCustomCname),
2147
2131
  };
2148
2132
  };
2149
- const deserializeAws_json1_1OtherName = (output, context) => {
2133
+ const de_OtherName = (output, context) => {
2150
2134
  return {
2151
2135
  TypeId: (0, smithy_client_1.expectString)(output.TypeId),
2152
2136
  Value: (0, smithy_client_1.expectString)(output.Value),
2153
2137
  };
2154
2138
  };
2155
- const deserializeAws_json1_1Permission = (output, context) => {
2139
+ const de_Permission = (output, context) => {
2156
2140
  return {
2157
- Actions: output.Actions != null ? deserializeAws_json1_1ActionList(output.Actions, context) : undefined,
2141
+ Actions: output.Actions != null ? de_ActionList(output.Actions, context) : undefined,
2158
2142
  CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
2159
2143
  CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
2160
2144
  Policy: (0, smithy_client_1.expectString)(output.Policy),
@@ -2162,70 +2146,66 @@ const deserializeAws_json1_1Permission = (output, context) => {
2162
2146
  SourceAccount: (0, smithy_client_1.expectString)(output.SourceAccount),
2163
2147
  };
2164
2148
  };
2165
- const deserializeAws_json1_1PermissionAlreadyExistsException = (output, context) => {
2149
+ const de_PermissionAlreadyExistsException = (output, context) => {
2166
2150
  return {
2167
2151
  message: (0, smithy_client_1.expectString)(output.message),
2168
2152
  };
2169
2153
  };
2170
- const deserializeAws_json1_1PermissionList = (output, context) => {
2154
+ const de_PermissionList = (output, context) => {
2171
2155
  const retVal = (output || [])
2172
2156
  .filter((e) => e != null)
2173
2157
  .map((entry) => {
2174
2158
  if (entry === null) {
2175
2159
  return null;
2176
2160
  }
2177
- return deserializeAws_json1_1Permission(entry, context);
2161
+ return de_Permission(entry, context);
2178
2162
  });
2179
2163
  return retVal;
2180
2164
  };
2181
- const deserializeAws_json1_1RequestAlreadyProcessedException = (output, context) => {
2165
+ const de_RequestAlreadyProcessedException = (output, context) => {
2182
2166
  return {
2183
2167
  message: (0, smithy_client_1.expectString)(output.message),
2184
2168
  };
2185
2169
  };
2186
- const deserializeAws_json1_1RequestFailedException = (output, context) => {
2170
+ const de_RequestFailedException = (output, context) => {
2187
2171
  return {
2188
2172
  message: (0, smithy_client_1.expectString)(output.message),
2189
2173
  };
2190
2174
  };
2191
- const deserializeAws_json1_1RequestInProgressException = (output, context) => {
2175
+ const de_RequestInProgressException = (output, context) => {
2192
2176
  return {
2193
2177
  message: (0, smithy_client_1.expectString)(output.message),
2194
2178
  };
2195
2179
  };
2196
- const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2180
+ const de_ResourceNotFoundException = (output, context) => {
2197
2181
  return {
2198
2182
  message: (0, smithy_client_1.expectString)(output.message),
2199
2183
  };
2200
2184
  };
2201
- const deserializeAws_json1_1RevocationConfiguration = (output, context) => {
2185
+ const de_RevocationConfiguration = (output, context) => {
2202
2186
  return {
2203
- CrlConfiguration: output.CrlConfiguration != null
2204
- ? deserializeAws_json1_1CrlConfiguration(output.CrlConfiguration, context)
2205
- : undefined,
2206
- OcspConfiguration: output.OcspConfiguration != null
2207
- ? deserializeAws_json1_1OcspConfiguration(output.OcspConfiguration, context)
2208
- : undefined,
2187
+ CrlConfiguration: output.CrlConfiguration != null ? de_CrlConfiguration(output.CrlConfiguration, context) : undefined,
2188
+ OcspConfiguration: output.OcspConfiguration != null ? de_OcspConfiguration(output.OcspConfiguration, context) : undefined,
2209
2189
  };
2210
2190
  };
2211
- const deserializeAws_json1_1Tag = (output, context) => {
2191
+ const de_Tag = (output, context) => {
2212
2192
  return {
2213
2193
  Key: (0, smithy_client_1.expectString)(output.Key),
2214
2194
  Value: (0, smithy_client_1.expectString)(output.Value),
2215
2195
  };
2216
2196
  };
2217
- const deserializeAws_json1_1TagList = (output, context) => {
2197
+ const de_TagList = (output, context) => {
2218
2198
  const retVal = (output || [])
2219
2199
  .filter((e) => e != null)
2220
2200
  .map((entry) => {
2221
2201
  if (entry === null) {
2222
2202
  return null;
2223
2203
  }
2224
- return deserializeAws_json1_1Tag(entry, context);
2204
+ return de_Tag(entry, context);
2225
2205
  });
2226
2206
  return retVal;
2227
2207
  };
2228
- const deserializeAws_json1_1TooManyTagsException = (output, context) => {
2208
+ const de_TooManyTagsException = (output, context) => {
2229
2209
  return {
2230
2210
  message: (0, smithy_client_1.expectString)(output.message),
2231
2211
  };