@aws-sdk/client-acm-pca 3.901.0 → 3.907.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1749 -1975
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2052 +1,1826 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AccessMethodType: () => AccessMethodType,
|
|
28
|
-
ActionType: () => ActionType,
|
|
29
|
-
AuditReportResponseFormat: () => AuditReportResponseFormat,
|
|
30
|
-
AuditReportStatus: () => AuditReportStatus,
|
|
31
|
-
CertificateAuthorityStatus: () => CertificateAuthorityStatus,
|
|
32
|
-
CertificateAuthorityType: () => CertificateAuthorityType,
|
|
33
|
-
CertificateAuthorityUsageMode: () => CertificateAuthorityUsageMode,
|
|
34
|
-
CertificateMismatchException: () => CertificateMismatchException,
|
|
35
|
-
ConcurrentModificationException: () => ConcurrentModificationException,
|
|
36
|
-
CreateCertificateAuthorityAuditReportCommand: () => CreateCertificateAuthorityAuditReportCommand,
|
|
37
|
-
CreateCertificateAuthorityCommand: () => CreateCertificateAuthorityCommand,
|
|
38
|
-
CreatePermissionCommand: () => CreatePermissionCommand,
|
|
39
|
-
CrlType: () => CrlType,
|
|
40
|
-
DeleteCertificateAuthorityCommand: () => DeleteCertificateAuthorityCommand,
|
|
41
|
-
DeletePermissionCommand: () => DeletePermissionCommand,
|
|
42
|
-
DeletePolicyCommand: () => DeletePolicyCommand,
|
|
43
|
-
DescribeCertificateAuthorityAuditReportCommand: () => DescribeCertificateAuthorityAuditReportCommand,
|
|
44
|
-
DescribeCertificateAuthorityCommand: () => DescribeCertificateAuthorityCommand,
|
|
45
|
-
ExtendedKeyUsageType: () => ExtendedKeyUsageType,
|
|
46
|
-
FailureReason: () => FailureReason,
|
|
47
|
-
GetCertificateAuthorityCertificateCommand: () => GetCertificateAuthorityCertificateCommand,
|
|
48
|
-
GetCertificateAuthorityCsrCommand: () => GetCertificateAuthorityCsrCommand,
|
|
49
|
-
GetCertificateCommand: () => GetCertificateCommand,
|
|
50
|
-
GetPolicyCommand: () => GetPolicyCommand,
|
|
51
|
-
ImportCertificateAuthorityCertificateCommand: () => ImportCertificateAuthorityCertificateCommand,
|
|
52
|
-
InvalidArgsException: () => InvalidArgsException,
|
|
53
|
-
InvalidArnException: () => InvalidArnException,
|
|
54
|
-
InvalidNextTokenException: () => InvalidNextTokenException,
|
|
55
|
-
InvalidPolicyException: () => InvalidPolicyException,
|
|
56
|
-
InvalidRequestException: () => InvalidRequestException,
|
|
57
|
-
InvalidStateException: () => InvalidStateException,
|
|
58
|
-
InvalidTagException: () => InvalidTagException,
|
|
59
|
-
IssueCertificateCommand: () => IssueCertificateCommand,
|
|
60
|
-
KeyAlgorithm: () => KeyAlgorithm,
|
|
61
|
-
KeyStorageSecurityStandard: () => KeyStorageSecurityStandard,
|
|
62
|
-
LimitExceededException: () => LimitExceededException,
|
|
63
|
-
ListCertificateAuthoritiesCommand: () => ListCertificateAuthoritiesCommand,
|
|
64
|
-
ListPermissionsCommand: () => ListPermissionsCommand,
|
|
65
|
-
ListTagsCommand: () => ListTagsCommand,
|
|
66
|
-
LockoutPreventedException: () => LockoutPreventedException,
|
|
67
|
-
MalformedCSRException: () => MalformedCSRException,
|
|
68
|
-
MalformedCertificateException: () => MalformedCertificateException,
|
|
69
|
-
PermissionAlreadyExistsException: () => PermissionAlreadyExistsException,
|
|
70
|
-
PolicyQualifierId: () => PolicyQualifierId,
|
|
71
|
-
PutPolicyCommand: () => PutPolicyCommand,
|
|
72
|
-
RequestAlreadyProcessedException: () => RequestAlreadyProcessedException,
|
|
73
|
-
RequestFailedException: () => RequestFailedException,
|
|
74
|
-
RequestInProgressException: () => RequestInProgressException,
|
|
75
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
76
|
-
ResourceOwner: () => ResourceOwner,
|
|
77
|
-
RestoreCertificateAuthorityCommand: () => RestoreCertificateAuthorityCommand,
|
|
78
|
-
RevocationReason: () => RevocationReason,
|
|
79
|
-
RevokeCertificateCommand: () => RevokeCertificateCommand,
|
|
80
|
-
S3ObjectAcl: () => S3ObjectAcl,
|
|
81
|
-
SigningAlgorithm: () => SigningAlgorithm,
|
|
82
|
-
TagCertificateAuthorityCommand: () => TagCertificateAuthorityCommand,
|
|
83
|
-
TooManyTagsException: () => TooManyTagsException,
|
|
84
|
-
UntagCertificateAuthorityCommand: () => UntagCertificateAuthorityCommand,
|
|
85
|
-
UpdateCertificateAuthorityCommand: () => UpdateCertificateAuthorityCommand,
|
|
86
|
-
ValidityPeriodType: () => ValidityPeriodType,
|
|
87
|
-
__Client: () => import_smithy_client.Client,
|
|
88
|
-
paginateListCertificateAuthorities: () => paginateListCertificateAuthorities,
|
|
89
|
-
paginateListPermissions: () => paginateListPermissions,
|
|
90
|
-
paginateListTags: () => paginateListTags,
|
|
91
|
-
waitForAuditReportCreated: () => waitForAuditReportCreated,
|
|
92
|
-
waitForCertificateAuthorityCSRCreated: () => waitForCertificateAuthorityCSRCreated,
|
|
93
|
-
waitForCertificateIssued: () => waitForCertificateIssued,
|
|
94
|
-
waitUntilAuditReportCreated: () => waitUntilAuditReportCreated,
|
|
95
|
-
waitUntilCertificateAuthorityCSRCreated: () => waitUntilCertificateAuthorityCSRCreated,
|
|
96
|
-
waitUntilCertificateIssued: () => waitUntilCertificateIssued
|
|
97
|
-
});
|
|
98
|
-
module.exports = __toCommonJS(index_exports);
|
|
99
|
-
|
|
100
|
-
// src/ACMPCAClient.ts
|
|
101
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
102
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
103
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
104
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
105
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
106
|
-
var import_core = require("@smithy/core");
|
|
107
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
108
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
109
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
110
|
-
|
|
111
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
112
|
-
|
|
113
|
-
// src/endpoint/EndpointParameters.ts
|
|
114
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
115
|
-
return Object.assign(options, {
|
|
116
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
117
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
118
|
-
defaultSigningName: "acm-pca"
|
|
119
|
-
});
|
|
120
|
-
}, "resolveClientEndpointParameters");
|
|
121
|
-
var commonParams = {
|
|
122
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
123
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
124
|
-
Region: { type: "builtInParams", name: "region" },
|
|
125
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var utilWaiter = require('@smithy/util-waiter');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "acm-pca",
|
|
26
|
+
});
|
|
126
27
|
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
class ACMPCAClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultACMPCAHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
164
108
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
170
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
171
|
-
credentials: config.credentials()
|
|
172
|
-
};
|
|
173
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
174
|
-
|
|
175
|
-
// src/runtimeExtensions.ts
|
|
176
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
177
|
-
const extensionConfiguration = Object.assign(
|
|
178
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
179
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
180
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
181
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
182
|
-
);
|
|
183
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
184
|
-
return Object.assign(
|
|
185
|
-
runtimeConfig,
|
|
186
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
187
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
188
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
189
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
190
|
-
);
|
|
191
|
-
}, "resolveRuntimeExtensions");
|
|
192
|
-
|
|
193
|
-
// src/ACMPCAClient.ts
|
|
194
|
-
var ACMPCAClient = class extends import_smithy_client.Client {
|
|
195
|
-
static {
|
|
196
|
-
__name(this, "ACMPCAClient");
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* The resolved configuration of ACMPCAClient class. This is resolved and normalized from the {@link ACMPCAClientConfig | constructor configuration interface}.
|
|
200
|
-
*/
|
|
201
|
-
config;
|
|
202
|
-
constructor(...[configuration]) {
|
|
203
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
204
|
-
super(_config_0);
|
|
205
|
-
this.initConfig = _config_0;
|
|
206
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
207
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
208
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
209
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
210
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
211
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
212
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
213
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
214
|
-
this.config = _config_8;
|
|
215
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
216
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
217
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
218
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
219
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
220
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
221
|
-
this.middlewareStack.use(
|
|
222
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
223
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultACMPCAHttpAuthSchemeParametersProvider,
|
|
224
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
225
|
-
"aws.auth#sigv4": config.credentials
|
|
226
|
-
}), "identityProviderConfigProvider")
|
|
227
|
-
})
|
|
228
|
-
);
|
|
229
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
233
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
234
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
235
|
-
*/
|
|
236
|
-
destroy() {
|
|
237
|
-
super.destroy();
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
// src/ACMPCA.ts
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
// src/commands/CreateCertificateAuthorityAuditReportCommand.ts
|
|
245
|
-
|
|
246
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
// src/protocols/Aws_json1_1.ts
|
|
250
|
-
var import_core2 = require("@aws-sdk/core");
|
|
251
|
-
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
252
113
|
|
|
114
|
+
class ACMPCAServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, ACMPCAServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
253
120
|
|
|
254
|
-
|
|
121
|
+
const AccessMethodType = {
|
|
122
|
+
CA_REPOSITORY: "CA_REPOSITORY",
|
|
123
|
+
RESOURCE_PKI_MANIFEST: "RESOURCE_PKI_MANIFEST",
|
|
124
|
+
RESOURCE_PKI_NOTIFY: "RESOURCE_PKI_NOTIFY",
|
|
125
|
+
};
|
|
126
|
+
const KeyAlgorithm = {
|
|
127
|
+
EC_prime256v1: "EC_prime256v1",
|
|
128
|
+
EC_secp384r1: "EC_secp384r1",
|
|
129
|
+
EC_secp521r1: "EC_secp521r1",
|
|
130
|
+
RSA_2048: "RSA_2048",
|
|
131
|
+
RSA_3072: "RSA_3072",
|
|
132
|
+
RSA_4096: "RSA_4096",
|
|
133
|
+
SM2: "SM2",
|
|
134
|
+
};
|
|
135
|
+
const SigningAlgorithm = {
|
|
136
|
+
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
137
|
+
SHA256WITHRSA: "SHA256WITHRSA",
|
|
138
|
+
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
139
|
+
SHA384WITHRSA: "SHA384WITHRSA",
|
|
140
|
+
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
141
|
+
SHA512WITHRSA: "SHA512WITHRSA",
|
|
142
|
+
SM3WITHSM2: "SM3WITHSM2",
|
|
143
|
+
};
|
|
144
|
+
const CertificateAuthorityType = {
|
|
145
|
+
ROOT: "ROOT",
|
|
146
|
+
SUBORDINATE: "SUBORDINATE",
|
|
147
|
+
};
|
|
148
|
+
const KeyStorageSecurityStandard = {
|
|
149
|
+
CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER",
|
|
150
|
+
FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER",
|
|
151
|
+
FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER",
|
|
152
|
+
};
|
|
153
|
+
const CrlType = {
|
|
154
|
+
COMPLETE: "COMPLETE",
|
|
155
|
+
PARTITIONED: "PARTITIONED",
|
|
156
|
+
};
|
|
157
|
+
const S3ObjectAcl = {
|
|
158
|
+
BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
|
|
159
|
+
PUBLIC_READ: "PUBLIC_READ",
|
|
160
|
+
};
|
|
161
|
+
const CertificateAuthorityUsageMode = {
|
|
162
|
+
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
163
|
+
SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE",
|
|
164
|
+
};
|
|
165
|
+
class InvalidArgsException extends ACMPCAServiceException {
|
|
166
|
+
name = "InvalidArgsException";
|
|
167
|
+
$fault = "client";
|
|
168
|
+
constructor(opts) {
|
|
169
|
+
super({
|
|
170
|
+
name: "InvalidArgsException",
|
|
171
|
+
$fault: "client",
|
|
172
|
+
...opts,
|
|
173
|
+
});
|
|
174
|
+
Object.setPrototypeOf(this, InvalidArgsException.prototype);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
class InvalidPolicyException extends ACMPCAServiceException {
|
|
178
|
+
name = "InvalidPolicyException";
|
|
179
|
+
$fault = "client";
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "InvalidPolicyException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, InvalidPolicyException.prototype);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
class InvalidTagException extends ACMPCAServiceException {
|
|
190
|
+
name = "InvalidTagException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
constructor(opts) {
|
|
193
|
+
super({
|
|
194
|
+
name: "InvalidTagException",
|
|
195
|
+
$fault: "client",
|
|
196
|
+
...opts,
|
|
197
|
+
});
|
|
198
|
+
Object.setPrototypeOf(this, InvalidTagException.prototype);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
class LimitExceededException extends ACMPCAServiceException {
|
|
202
|
+
name = "LimitExceededException";
|
|
203
|
+
$fault = "client";
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "LimitExceededException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
const AuditReportResponseFormat = {
|
|
214
|
+
CSV: "CSV",
|
|
215
|
+
JSON: "JSON",
|
|
216
|
+
};
|
|
217
|
+
class InvalidArnException extends ACMPCAServiceException {
|
|
218
|
+
name = "InvalidArnException";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
constructor(opts) {
|
|
221
|
+
super({
|
|
222
|
+
name: "InvalidArnException",
|
|
223
|
+
$fault: "client",
|
|
224
|
+
...opts,
|
|
225
|
+
});
|
|
226
|
+
Object.setPrototypeOf(this, InvalidArnException.prototype);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
class InvalidStateException extends ACMPCAServiceException {
|
|
230
|
+
name = "InvalidStateException";
|
|
231
|
+
$fault = "client";
|
|
232
|
+
constructor(opts) {
|
|
233
|
+
super({
|
|
234
|
+
name: "InvalidStateException",
|
|
235
|
+
$fault: "client",
|
|
236
|
+
...opts,
|
|
237
|
+
});
|
|
238
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
class RequestFailedException extends ACMPCAServiceException {
|
|
242
|
+
name = "RequestFailedException";
|
|
243
|
+
$fault = "client";
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "RequestFailedException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
Object.setPrototypeOf(this, RequestFailedException.prototype);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
class RequestInProgressException extends ACMPCAServiceException {
|
|
254
|
+
name = "RequestInProgressException";
|
|
255
|
+
$fault = "client";
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "RequestInProgressException",
|
|
259
|
+
$fault: "client",
|
|
260
|
+
...opts,
|
|
261
|
+
});
|
|
262
|
+
Object.setPrototypeOf(this, RequestInProgressException.prototype);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
class ResourceNotFoundException extends ACMPCAServiceException {
|
|
266
|
+
name = "ResourceNotFoundException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "ResourceNotFoundException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
const ActionType = {
|
|
278
|
+
GetCertificate: "GetCertificate",
|
|
279
|
+
IssueCertificate: "IssueCertificate",
|
|
280
|
+
ListPermissions: "ListPermissions",
|
|
281
|
+
};
|
|
282
|
+
class PermissionAlreadyExistsException extends ACMPCAServiceException {
|
|
283
|
+
name = "PermissionAlreadyExistsException";
|
|
284
|
+
$fault = "client";
|
|
285
|
+
constructor(opts) {
|
|
286
|
+
super({
|
|
287
|
+
name: "PermissionAlreadyExistsException",
|
|
288
|
+
$fault: "client",
|
|
289
|
+
...opts,
|
|
290
|
+
});
|
|
291
|
+
Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
class ConcurrentModificationException extends ACMPCAServiceException {
|
|
295
|
+
name = "ConcurrentModificationException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "ConcurrentModificationException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts,
|
|
302
|
+
});
|
|
303
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
class LockoutPreventedException extends ACMPCAServiceException {
|
|
307
|
+
name = "LockoutPreventedException";
|
|
308
|
+
$fault = "client";
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "LockoutPreventedException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts,
|
|
314
|
+
});
|
|
315
|
+
Object.setPrototypeOf(this, LockoutPreventedException.prototype);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
const FailureReason = {
|
|
319
|
+
OTHER: "OTHER",
|
|
320
|
+
REQUEST_TIMED_OUT: "REQUEST_TIMED_OUT",
|
|
321
|
+
UNSUPPORTED_ALGORITHM: "UNSUPPORTED_ALGORITHM",
|
|
322
|
+
};
|
|
323
|
+
const CertificateAuthorityStatus = {
|
|
324
|
+
ACTIVE: "ACTIVE",
|
|
325
|
+
CREATING: "CREATING",
|
|
326
|
+
DELETED: "DELETED",
|
|
327
|
+
DISABLED: "DISABLED",
|
|
328
|
+
EXPIRED: "EXPIRED",
|
|
329
|
+
FAILED: "FAILED",
|
|
330
|
+
PENDING_CERTIFICATE: "PENDING_CERTIFICATE",
|
|
331
|
+
};
|
|
332
|
+
const AuditReportStatus = {
|
|
333
|
+
CREATING: "CREATING",
|
|
334
|
+
FAILED: "FAILED",
|
|
335
|
+
SUCCESS: "SUCCESS",
|
|
336
|
+
};
|
|
337
|
+
class CertificateMismatchException extends ACMPCAServiceException {
|
|
338
|
+
name = "CertificateMismatchException";
|
|
339
|
+
$fault = "client";
|
|
340
|
+
constructor(opts) {
|
|
341
|
+
super({
|
|
342
|
+
name: "CertificateMismatchException",
|
|
343
|
+
$fault: "client",
|
|
344
|
+
...opts,
|
|
345
|
+
});
|
|
346
|
+
Object.setPrototypeOf(this, CertificateMismatchException.prototype);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
class InvalidRequestException extends ACMPCAServiceException {
|
|
350
|
+
name = "InvalidRequestException";
|
|
351
|
+
$fault = "client";
|
|
352
|
+
constructor(opts) {
|
|
353
|
+
super({
|
|
354
|
+
name: "InvalidRequestException",
|
|
355
|
+
$fault: "client",
|
|
356
|
+
...opts,
|
|
357
|
+
});
|
|
358
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
class MalformedCertificateException extends ACMPCAServiceException {
|
|
362
|
+
name = "MalformedCertificateException";
|
|
363
|
+
$fault = "client";
|
|
364
|
+
constructor(opts) {
|
|
365
|
+
super({
|
|
366
|
+
name: "MalformedCertificateException",
|
|
367
|
+
$fault: "client",
|
|
368
|
+
...opts,
|
|
369
|
+
});
|
|
370
|
+
Object.setPrototypeOf(this, MalformedCertificateException.prototype);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
const PolicyQualifierId = {
|
|
374
|
+
CPS: "CPS",
|
|
375
|
+
};
|
|
376
|
+
const ExtendedKeyUsageType = {
|
|
377
|
+
CERTIFICATE_TRANSPARENCY: "CERTIFICATE_TRANSPARENCY",
|
|
378
|
+
CLIENT_AUTH: "CLIENT_AUTH",
|
|
379
|
+
CODE_SIGNING: "CODE_SIGNING",
|
|
380
|
+
DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
|
|
381
|
+
EMAIL_PROTECTION: "EMAIL_PROTECTION",
|
|
382
|
+
OCSP_SIGNING: "OCSP_SIGNING",
|
|
383
|
+
SERVER_AUTH: "SERVER_AUTH",
|
|
384
|
+
SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
|
|
385
|
+
TIME_STAMPING: "TIME_STAMPING",
|
|
386
|
+
};
|
|
387
|
+
const ValidityPeriodType = {
|
|
388
|
+
ABSOLUTE: "ABSOLUTE",
|
|
389
|
+
DAYS: "DAYS",
|
|
390
|
+
END_DATE: "END_DATE",
|
|
391
|
+
MONTHS: "MONTHS",
|
|
392
|
+
YEARS: "YEARS",
|
|
393
|
+
};
|
|
394
|
+
class MalformedCSRException extends ACMPCAServiceException {
|
|
395
|
+
name = "MalformedCSRException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
constructor(opts) {
|
|
398
|
+
super({
|
|
399
|
+
name: "MalformedCSRException",
|
|
400
|
+
$fault: "client",
|
|
401
|
+
...opts,
|
|
402
|
+
});
|
|
403
|
+
Object.setPrototypeOf(this, MalformedCSRException.prototype);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
class InvalidNextTokenException extends ACMPCAServiceException {
|
|
407
|
+
name = "InvalidNextTokenException";
|
|
408
|
+
$fault = "client";
|
|
409
|
+
constructor(opts) {
|
|
410
|
+
super({
|
|
411
|
+
name: "InvalidNextTokenException",
|
|
412
|
+
$fault: "client",
|
|
413
|
+
...opts,
|
|
414
|
+
});
|
|
415
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
const ResourceOwner = {
|
|
419
|
+
OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
|
|
420
|
+
SELF: "SELF",
|
|
421
|
+
};
|
|
422
|
+
class RequestAlreadyProcessedException extends ACMPCAServiceException {
|
|
423
|
+
name = "RequestAlreadyProcessedException";
|
|
424
|
+
$fault = "client";
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
super({
|
|
427
|
+
name: "RequestAlreadyProcessedException",
|
|
428
|
+
$fault: "client",
|
|
429
|
+
...opts,
|
|
430
|
+
});
|
|
431
|
+
Object.setPrototypeOf(this, RequestAlreadyProcessedException.prototype);
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
const RevocationReason = {
|
|
435
|
+
AFFILIATION_CHANGED: "AFFILIATION_CHANGED",
|
|
436
|
+
A_A_COMPROMISE: "A_A_COMPROMISE",
|
|
437
|
+
CERTIFICATE_AUTHORITY_COMPROMISE: "CERTIFICATE_AUTHORITY_COMPROMISE",
|
|
438
|
+
CESSATION_OF_OPERATION: "CESSATION_OF_OPERATION",
|
|
439
|
+
KEY_COMPROMISE: "KEY_COMPROMISE",
|
|
440
|
+
PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN",
|
|
441
|
+
SUPERSEDED: "SUPERSEDED",
|
|
442
|
+
UNSPECIFIED: "UNSPECIFIED",
|
|
443
|
+
};
|
|
444
|
+
class TooManyTagsException extends ACMPCAServiceException {
|
|
445
|
+
name = "TooManyTagsException";
|
|
446
|
+
$fault = "client";
|
|
447
|
+
constructor(opts) {
|
|
448
|
+
super({
|
|
449
|
+
name: "TooManyTagsException",
|
|
450
|
+
$fault: "client",
|
|
451
|
+
...opts,
|
|
452
|
+
});
|
|
453
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
255
456
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
457
|
+
const se_CreateCertificateAuthorityCommand = async (input, context) => {
|
|
458
|
+
const headers = sharedHeaders("CreateCertificateAuthority");
|
|
459
|
+
let body;
|
|
460
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
461
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
462
|
+
};
|
|
463
|
+
const se_CreateCertificateAuthorityAuditReportCommand = async (input, context) => {
|
|
464
|
+
const headers = sharedHeaders("CreateCertificateAuthorityAuditReport");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
467
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
468
|
+
};
|
|
469
|
+
const se_CreatePermissionCommand = async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("CreatePermission");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
474
|
+
};
|
|
475
|
+
const se_DeleteCertificateAuthorityCommand = async (input, context) => {
|
|
476
|
+
const headers = sharedHeaders("DeleteCertificateAuthority");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
479
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
480
|
+
};
|
|
481
|
+
const se_DeletePermissionCommand = async (input, context) => {
|
|
482
|
+
const headers = sharedHeaders("DeletePermission");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
485
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
486
|
+
};
|
|
487
|
+
const se_DeletePolicyCommand = async (input, context) => {
|
|
488
|
+
const headers = sharedHeaders("DeletePolicy");
|
|
489
|
+
let body;
|
|
490
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
491
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
|
+
};
|
|
493
|
+
const se_DescribeCertificateAuthorityCommand = async (input, context) => {
|
|
494
|
+
const headers = sharedHeaders("DescribeCertificateAuthority");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
497
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
498
|
+
};
|
|
499
|
+
const se_DescribeCertificateAuthorityAuditReportCommand = async (input, context) => {
|
|
500
|
+
const headers = sharedHeaders("DescribeCertificateAuthorityAuditReport");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
504
|
+
};
|
|
505
|
+
const se_GetCertificateCommand = async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("GetCertificate");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
510
|
+
};
|
|
511
|
+
const se_GetCertificateAuthorityCertificateCommand = async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("GetCertificateAuthorityCertificate");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
+
};
|
|
517
|
+
const se_GetCertificateAuthorityCsrCommand = async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("GetCertificateAuthorityCsr");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
522
|
+
};
|
|
523
|
+
const se_GetPolicyCommand = async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("GetPolicy");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
528
|
+
};
|
|
529
|
+
const se_ImportCertificateAuthorityCertificateCommand = async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("ImportCertificateAuthorityCertificate");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify(se_ImportCertificateAuthorityCertificateRequest(input, context));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
534
|
+
};
|
|
535
|
+
const se_IssueCertificateCommand = async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("IssueCertificate");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify(se_IssueCertificateRequest(input, context));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
540
|
+
};
|
|
541
|
+
const se_ListCertificateAuthoritiesCommand = async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("ListCertificateAuthorities");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
546
|
+
};
|
|
547
|
+
const se_ListPermissionsCommand = async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("ListPermissions");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
552
|
+
};
|
|
553
|
+
const se_ListTagsCommand = async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("ListTags");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
558
|
+
};
|
|
559
|
+
const se_PutPolicyCommand = async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("PutPolicy");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
564
|
+
};
|
|
565
|
+
const se_RestoreCertificateAuthorityCommand = async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("RestoreCertificateAuthority");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
570
|
+
};
|
|
571
|
+
const se_RevokeCertificateCommand = async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("RevokeCertificate");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
576
|
+
};
|
|
577
|
+
const se_TagCertificateAuthorityCommand = async (input, context) => {
|
|
578
|
+
const headers = sharedHeaders("TagCertificateAuthority");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
581
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
582
|
+
};
|
|
583
|
+
const se_UntagCertificateAuthorityCommand = async (input, context) => {
|
|
584
|
+
const headers = sharedHeaders("UntagCertificateAuthority");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
587
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
588
|
+
};
|
|
589
|
+
const se_UpdateCertificateAuthorityCommand = async (input, context) => {
|
|
590
|
+
const headers = sharedHeaders("UpdateCertificateAuthority");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
593
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
594
|
+
};
|
|
595
|
+
const de_CreateCertificateAuthorityCommand = async (output, context) => {
|
|
596
|
+
if (output.statusCode >= 300) {
|
|
597
|
+
return de_CommandError(output, context);
|
|
598
|
+
}
|
|
599
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
600
|
+
let contents = {};
|
|
601
|
+
contents = smithyClient._json(data);
|
|
602
|
+
const response = {
|
|
603
|
+
$metadata: deserializeMetadata(output),
|
|
604
|
+
...contents,
|
|
605
|
+
};
|
|
606
|
+
return response;
|
|
607
|
+
};
|
|
608
|
+
const de_CreateCertificateAuthorityAuditReportCommand = async (output, context) => {
|
|
609
|
+
if (output.statusCode >= 300) {
|
|
610
|
+
return de_CommandError(output, context);
|
|
611
|
+
}
|
|
612
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
613
|
+
let contents = {};
|
|
614
|
+
contents = smithyClient._json(data);
|
|
615
|
+
const response = {
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
...contents,
|
|
618
|
+
};
|
|
619
|
+
return response;
|
|
620
|
+
};
|
|
621
|
+
const de_CreatePermissionCommand = async (output, context) => {
|
|
622
|
+
if (output.statusCode >= 300) {
|
|
623
|
+
return de_CommandError(output, context);
|
|
624
|
+
}
|
|
625
|
+
await smithyClient.collectBody(output.body, context);
|
|
626
|
+
const response = {
|
|
627
|
+
$metadata: deserializeMetadata(output),
|
|
628
|
+
};
|
|
629
|
+
return response;
|
|
630
|
+
};
|
|
631
|
+
const de_DeleteCertificateAuthorityCommand = async (output, context) => {
|
|
632
|
+
if (output.statusCode >= 300) {
|
|
633
|
+
return de_CommandError(output, context);
|
|
634
|
+
}
|
|
635
|
+
await smithyClient.collectBody(output.body, context);
|
|
636
|
+
const response = {
|
|
637
|
+
$metadata: deserializeMetadata(output),
|
|
638
|
+
};
|
|
639
|
+
return response;
|
|
640
|
+
};
|
|
641
|
+
const de_DeletePermissionCommand = async (output, context) => {
|
|
642
|
+
if (output.statusCode >= 300) {
|
|
643
|
+
return de_CommandError(output, context);
|
|
644
|
+
}
|
|
645
|
+
await smithyClient.collectBody(output.body, context);
|
|
646
|
+
const response = {
|
|
647
|
+
$metadata: deserializeMetadata(output),
|
|
648
|
+
};
|
|
649
|
+
return response;
|
|
650
|
+
};
|
|
651
|
+
const de_DeletePolicyCommand = async (output, context) => {
|
|
652
|
+
if (output.statusCode >= 300) {
|
|
653
|
+
return de_CommandError(output, context);
|
|
654
|
+
}
|
|
655
|
+
await smithyClient.collectBody(output.body, context);
|
|
656
|
+
const response = {
|
|
657
|
+
$metadata: deserializeMetadata(output),
|
|
658
|
+
};
|
|
659
|
+
return response;
|
|
660
|
+
};
|
|
661
|
+
const de_DescribeCertificateAuthorityCommand = async (output, context) => {
|
|
662
|
+
if (output.statusCode >= 300) {
|
|
663
|
+
return de_CommandError(output, context);
|
|
664
|
+
}
|
|
665
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
666
|
+
let contents = {};
|
|
667
|
+
contents = de_DescribeCertificateAuthorityResponse(data);
|
|
668
|
+
const response = {
|
|
669
|
+
$metadata: deserializeMetadata(output),
|
|
670
|
+
...contents,
|
|
671
|
+
};
|
|
672
|
+
return response;
|
|
673
|
+
};
|
|
674
|
+
const de_DescribeCertificateAuthorityAuditReportCommand = async (output, context) => {
|
|
675
|
+
if (output.statusCode >= 300) {
|
|
676
|
+
return de_CommandError(output, context);
|
|
677
|
+
}
|
|
678
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
679
|
+
let contents = {};
|
|
680
|
+
contents = de_DescribeCertificateAuthorityAuditReportResponse(data);
|
|
681
|
+
const response = {
|
|
682
|
+
$metadata: deserializeMetadata(output),
|
|
683
|
+
...contents,
|
|
684
|
+
};
|
|
685
|
+
return response;
|
|
686
|
+
};
|
|
687
|
+
const de_GetCertificateCommand = async (output, context) => {
|
|
688
|
+
if (output.statusCode >= 300) {
|
|
689
|
+
return de_CommandError(output, context);
|
|
690
|
+
}
|
|
691
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
692
|
+
let contents = {};
|
|
693
|
+
contents = smithyClient._json(data);
|
|
694
|
+
const response = {
|
|
695
|
+
$metadata: deserializeMetadata(output),
|
|
696
|
+
...contents,
|
|
697
|
+
};
|
|
698
|
+
return response;
|
|
699
|
+
};
|
|
700
|
+
const de_GetCertificateAuthorityCertificateCommand = async (output, context) => {
|
|
701
|
+
if (output.statusCode >= 300) {
|
|
702
|
+
return de_CommandError(output, context);
|
|
703
|
+
}
|
|
704
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
705
|
+
let contents = {};
|
|
706
|
+
contents = smithyClient._json(data);
|
|
707
|
+
const response = {
|
|
708
|
+
$metadata: deserializeMetadata(output),
|
|
709
|
+
...contents,
|
|
710
|
+
};
|
|
711
|
+
return response;
|
|
712
|
+
};
|
|
713
|
+
const de_GetCertificateAuthorityCsrCommand = async (output, context) => {
|
|
714
|
+
if (output.statusCode >= 300) {
|
|
715
|
+
return de_CommandError(output, context);
|
|
716
|
+
}
|
|
717
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
718
|
+
let contents = {};
|
|
719
|
+
contents = smithyClient._json(data);
|
|
720
|
+
const response = {
|
|
721
|
+
$metadata: deserializeMetadata(output),
|
|
722
|
+
...contents,
|
|
723
|
+
};
|
|
724
|
+
return response;
|
|
725
|
+
};
|
|
726
|
+
const de_GetPolicyCommand = async (output, context) => {
|
|
727
|
+
if (output.statusCode >= 300) {
|
|
728
|
+
return de_CommandError(output, context);
|
|
729
|
+
}
|
|
730
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
731
|
+
let contents = {};
|
|
732
|
+
contents = smithyClient._json(data);
|
|
733
|
+
const response = {
|
|
734
|
+
$metadata: deserializeMetadata(output),
|
|
735
|
+
...contents,
|
|
736
|
+
};
|
|
737
|
+
return response;
|
|
738
|
+
};
|
|
739
|
+
const de_ImportCertificateAuthorityCertificateCommand = async (output, context) => {
|
|
740
|
+
if (output.statusCode >= 300) {
|
|
741
|
+
return de_CommandError(output, context);
|
|
742
|
+
}
|
|
743
|
+
await smithyClient.collectBody(output.body, context);
|
|
744
|
+
const response = {
|
|
745
|
+
$metadata: deserializeMetadata(output),
|
|
746
|
+
};
|
|
747
|
+
return response;
|
|
748
|
+
};
|
|
749
|
+
const de_IssueCertificateCommand = async (output, context) => {
|
|
750
|
+
if (output.statusCode >= 300) {
|
|
751
|
+
return de_CommandError(output, context);
|
|
752
|
+
}
|
|
753
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
754
|
+
let contents = {};
|
|
755
|
+
contents = smithyClient._json(data);
|
|
756
|
+
const response = {
|
|
757
|
+
$metadata: deserializeMetadata(output),
|
|
758
|
+
...contents,
|
|
759
|
+
};
|
|
760
|
+
return response;
|
|
761
|
+
};
|
|
762
|
+
const de_ListCertificateAuthoritiesCommand = async (output, context) => {
|
|
763
|
+
if (output.statusCode >= 300) {
|
|
764
|
+
return de_CommandError(output, context);
|
|
765
|
+
}
|
|
766
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
767
|
+
let contents = {};
|
|
768
|
+
contents = de_ListCertificateAuthoritiesResponse(data);
|
|
769
|
+
const response = {
|
|
770
|
+
$metadata: deserializeMetadata(output),
|
|
771
|
+
...contents,
|
|
772
|
+
};
|
|
773
|
+
return response;
|
|
774
|
+
};
|
|
775
|
+
const de_ListPermissionsCommand = async (output, context) => {
|
|
776
|
+
if (output.statusCode >= 300) {
|
|
777
|
+
return de_CommandError(output, context);
|
|
778
|
+
}
|
|
779
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
780
|
+
let contents = {};
|
|
781
|
+
contents = de_ListPermissionsResponse(data);
|
|
782
|
+
const response = {
|
|
783
|
+
$metadata: deserializeMetadata(output),
|
|
784
|
+
...contents,
|
|
785
|
+
};
|
|
786
|
+
return response;
|
|
787
|
+
};
|
|
788
|
+
const de_ListTagsCommand = async (output, context) => {
|
|
789
|
+
if (output.statusCode >= 300) {
|
|
790
|
+
return de_CommandError(output, context);
|
|
791
|
+
}
|
|
792
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
793
|
+
let contents = {};
|
|
794
|
+
contents = smithyClient._json(data);
|
|
795
|
+
const response = {
|
|
796
|
+
$metadata: deserializeMetadata(output),
|
|
797
|
+
...contents,
|
|
798
|
+
};
|
|
799
|
+
return response;
|
|
800
|
+
};
|
|
801
|
+
const de_PutPolicyCommand = async (output, context) => {
|
|
802
|
+
if (output.statusCode >= 300) {
|
|
803
|
+
return de_CommandError(output, context);
|
|
804
|
+
}
|
|
805
|
+
await smithyClient.collectBody(output.body, context);
|
|
806
|
+
const response = {
|
|
807
|
+
$metadata: deserializeMetadata(output),
|
|
808
|
+
};
|
|
809
|
+
return response;
|
|
810
|
+
};
|
|
811
|
+
const de_RestoreCertificateAuthorityCommand = async (output, context) => {
|
|
812
|
+
if (output.statusCode >= 300) {
|
|
813
|
+
return de_CommandError(output, context);
|
|
814
|
+
}
|
|
815
|
+
await smithyClient.collectBody(output.body, context);
|
|
816
|
+
const response = {
|
|
817
|
+
$metadata: deserializeMetadata(output),
|
|
818
|
+
};
|
|
819
|
+
return response;
|
|
820
|
+
};
|
|
821
|
+
const de_RevokeCertificateCommand = async (output, context) => {
|
|
822
|
+
if (output.statusCode >= 300) {
|
|
823
|
+
return de_CommandError(output, context);
|
|
824
|
+
}
|
|
825
|
+
await smithyClient.collectBody(output.body, context);
|
|
826
|
+
const response = {
|
|
827
|
+
$metadata: deserializeMetadata(output),
|
|
828
|
+
};
|
|
829
|
+
return response;
|
|
830
|
+
};
|
|
831
|
+
const de_TagCertificateAuthorityCommand = async (output, context) => {
|
|
832
|
+
if (output.statusCode >= 300) {
|
|
833
|
+
return de_CommandError(output, context);
|
|
834
|
+
}
|
|
835
|
+
await smithyClient.collectBody(output.body, context);
|
|
836
|
+
const response = {
|
|
837
|
+
$metadata: deserializeMetadata(output),
|
|
838
|
+
};
|
|
839
|
+
return response;
|
|
840
|
+
};
|
|
841
|
+
const de_UntagCertificateAuthorityCommand = async (output, context) => {
|
|
842
|
+
if (output.statusCode >= 300) {
|
|
843
|
+
return de_CommandError(output, context);
|
|
844
|
+
}
|
|
845
|
+
await smithyClient.collectBody(output.body, context);
|
|
846
|
+
const response = {
|
|
847
|
+
$metadata: deserializeMetadata(output),
|
|
848
|
+
};
|
|
849
|
+
return response;
|
|
850
|
+
};
|
|
851
|
+
const de_UpdateCertificateAuthorityCommand = async (output, context) => {
|
|
852
|
+
if (output.statusCode >= 300) {
|
|
853
|
+
return de_CommandError(output, context);
|
|
854
|
+
}
|
|
855
|
+
await smithyClient.collectBody(output.body, context);
|
|
856
|
+
const response = {
|
|
857
|
+
$metadata: deserializeMetadata(output),
|
|
858
|
+
};
|
|
859
|
+
return response;
|
|
860
|
+
};
|
|
861
|
+
const de_CommandError = async (output, context) => {
|
|
862
|
+
const parsedOutput = {
|
|
863
|
+
...output,
|
|
864
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
865
|
+
};
|
|
866
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
867
|
+
switch (errorCode) {
|
|
868
|
+
case "InvalidArgsException":
|
|
869
|
+
case "com.amazonaws.acmpca#InvalidArgsException":
|
|
870
|
+
throw await de_InvalidArgsExceptionRes(parsedOutput);
|
|
871
|
+
case "InvalidPolicyException":
|
|
872
|
+
case "com.amazonaws.acmpca#InvalidPolicyException":
|
|
873
|
+
throw await de_InvalidPolicyExceptionRes(parsedOutput);
|
|
874
|
+
case "InvalidTagException":
|
|
875
|
+
case "com.amazonaws.acmpca#InvalidTagException":
|
|
876
|
+
throw await de_InvalidTagExceptionRes(parsedOutput);
|
|
877
|
+
case "LimitExceededException":
|
|
878
|
+
case "com.amazonaws.acmpca#LimitExceededException":
|
|
879
|
+
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
880
|
+
case "InvalidArnException":
|
|
881
|
+
case "com.amazonaws.acmpca#InvalidArnException":
|
|
882
|
+
throw await de_InvalidArnExceptionRes(parsedOutput);
|
|
883
|
+
case "InvalidStateException":
|
|
884
|
+
case "com.amazonaws.acmpca#InvalidStateException":
|
|
885
|
+
throw await de_InvalidStateExceptionRes(parsedOutput);
|
|
886
|
+
case "RequestFailedException":
|
|
887
|
+
case "com.amazonaws.acmpca#RequestFailedException":
|
|
888
|
+
throw await de_RequestFailedExceptionRes(parsedOutput);
|
|
889
|
+
case "RequestInProgressException":
|
|
890
|
+
case "com.amazonaws.acmpca#RequestInProgressException":
|
|
891
|
+
throw await de_RequestInProgressExceptionRes(parsedOutput);
|
|
892
|
+
case "ResourceNotFoundException":
|
|
893
|
+
case "com.amazonaws.acmpca#ResourceNotFoundException":
|
|
894
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
895
|
+
case "PermissionAlreadyExistsException":
|
|
896
|
+
case "com.amazonaws.acmpca#PermissionAlreadyExistsException":
|
|
897
|
+
throw await de_PermissionAlreadyExistsExceptionRes(parsedOutput);
|
|
898
|
+
case "ConcurrentModificationException":
|
|
899
|
+
case "com.amazonaws.acmpca#ConcurrentModificationException":
|
|
900
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput);
|
|
901
|
+
case "LockoutPreventedException":
|
|
902
|
+
case "com.amazonaws.acmpca#LockoutPreventedException":
|
|
903
|
+
throw await de_LockoutPreventedExceptionRes(parsedOutput);
|
|
904
|
+
case "CertificateMismatchException":
|
|
905
|
+
case "com.amazonaws.acmpca#CertificateMismatchException":
|
|
906
|
+
throw await de_CertificateMismatchExceptionRes(parsedOutput);
|
|
907
|
+
case "InvalidRequestException":
|
|
908
|
+
case "com.amazonaws.acmpca#InvalidRequestException":
|
|
909
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput);
|
|
910
|
+
case "MalformedCertificateException":
|
|
911
|
+
case "com.amazonaws.acmpca#MalformedCertificateException":
|
|
912
|
+
throw await de_MalformedCertificateExceptionRes(parsedOutput);
|
|
913
|
+
case "MalformedCSRException":
|
|
914
|
+
case "com.amazonaws.acmpca#MalformedCSRException":
|
|
915
|
+
throw await de_MalformedCSRExceptionRes(parsedOutput);
|
|
916
|
+
case "InvalidNextTokenException":
|
|
917
|
+
case "com.amazonaws.acmpca#InvalidNextTokenException":
|
|
918
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput);
|
|
919
|
+
case "RequestAlreadyProcessedException":
|
|
920
|
+
case "com.amazonaws.acmpca#RequestAlreadyProcessedException":
|
|
921
|
+
throw await de_RequestAlreadyProcessedExceptionRes(parsedOutput);
|
|
922
|
+
case "TooManyTagsException":
|
|
923
|
+
case "com.amazonaws.acmpca#TooManyTagsException":
|
|
924
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput);
|
|
925
|
+
default:
|
|
926
|
+
const parsedBody = parsedOutput.body;
|
|
927
|
+
return throwDefaultError({
|
|
928
|
+
output,
|
|
929
|
+
parsedBody,
|
|
930
|
+
errorCode,
|
|
931
|
+
});
|
|
932
|
+
}
|
|
267
933
|
};
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
};
|
|
275
|
-
var KeyAlgorithm = {
|
|
276
|
-
EC_prime256v1: "EC_prime256v1",
|
|
277
|
-
EC_secp384r1: "EC_secp384r1",
|
|
278
|
-
EC_secp521r1: "EC_secp521r1",
|
|
279
|
-
RSA_2048: "RSA_2048",
|
|
280
|
-
RSA_3072: "RSA_3072",
|
|
281
|
-
RSA_4096: "RSA_4096",
|
|
282
|
-
SM2: "SM2"
|
|
283
|
-
};
|
|
284
|
-
var SigningAlgorithm = {
|
|
285
|
-
SHA256WITHECDSA: "SHA256WITHECDSA",
|
|
286
|
-
SHA256WITHRSA: "SHA256WITHRSA",
|
|
287
|
-
SHA384WITHECDSA: "SHA384WITHECDSA",
|
|
288
|
-
SHA384WITHRSA: "SHA384WITHRSA",
|
|
289
|
-
SHA512WITHECDSA: "SHA512WITHECDSA",
|
|
290
|
-
SHA512WITHRSA: "SHA512WITHRSA",
|
|
291
|
-
SM3WITHSM2: "SM3WITHSM2"
|
|
292
|
-
};
|
|
293
|
-
var CertificateAuthorityType = {
|
|
294
|
-
ROOT: "ROOT",
|
|
295
|
-
SUBORDINATE: "SUBORDINATE"
|
|
296
|
-
};
|
|
297
|
-
var KeyStorageSecurityStandard = {
|
|
298
|
-
CCPC_LEVEL_1_OR_HIGHER: "CCPC_LEVEL_1_OR_HIGHER",
|
|
299
|
-
FIPS_140_2_LEVEL_2_OR_HIGHER: "FIPS_140_2_LEVEL_2_OR_HIGHER",
|
|
300
|
-
FIPS_140_2_LEVEL_3_OR_HIGHER: "FIPS_140_2_LEVEL_3_OR_HIGHER"
|
|
301
|
-
};
|
|
302
|
-
var CrlType = {
|
|
303
|
-
COMPLETE: "COMPLETE",
|
|
304
|
-
PARTITIONED: "PARTITIONED"
|
|
305
|
-
};
|
|
306
|
-
var S3ObjectAcl = {
|
|
307
|
-
BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
|
|
308
|
-
PUBLIC_READ: "PUBLIC_READ"
|
|
309
|
-
};
|
|
310
|
-
var CertificateAuthorityUsageMode = {
|
|
311
|
-
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
312
|
-
SHORT_LIVED_CERTIFICATE: "SHORT_LIVED_CERTIFICATE"
|
|
313
|
-
};
|
|
314
|
-
var InvalidArgsException = class _InvalidArgsException extends ACMPCAServiceException {
|
|
315
|
-
static {
|
|
316
|
-
__name(this, "InvalidArgsException");
|
|
317
|
-
}
|
|
318
|
-
name = "InvalidArgsException";
|
|
319
|
-
$fault = "client";
|
|
320
|
-
/**
|
|
321
|
-
* @internal
|
|
322
|
-
*/
|
|
323
|
-
constructor(opts) {
|
|
324
|
-
super({
|
|
325
|
-
name: "InvalidArgsException",
|
|
326
|
-
$fault: "client",
|
|
327
|
-
...opts
|
|
934
|
+
const de_CertificateMismatchExceptionRes = async (parsedOutput, context) => {
|
|
935
|
+
const body = parsedOutput.body;
|
|
936
|
+
const deserialized = smithyClient._json(body);
|
|
937
|
+
const exception = new CertificateMismatchException({
|
|
938
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
939
|
+
...deserialized,
|
|
328
940
|
});
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
$fault = "client";
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
constructor(opts) {
|
|
342
|
-
super({
|
|
343
|
-
name: "InvalidPolicyException",
|
|
344
|
-
$fault: "client",
|
|
345
|
-
...opts
|
|
941
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
942
|
+
};
|
|
943
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
944
|
+
const body = parsedOutput.body;
|
|
945
|
+
const deserialized = smithyClient._json(body);
|
|
946
|
+
const exception = new ConcurrentModificationException({
|
|
947
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
948
|
+
...deserialized,
|
|
346
949
|
});
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
$fault = "client";
|
|
356
|
-
/**
|
|
357
|
-
* @internal
|
|
358
|
-
*/
|
|
359
|
-
constructor(opts) {
|
|
360
|
-
super({
|
|
361
|
-
name: "InvalidTagException",
|
|
362
|
-
$fault: "client",
|
|
363
|
-
...opts
|
|
950
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
951
|
+
};
|
|
952
|
+
const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
|
|
953
|
+
const body = parsedOutput.body;
|
|
954
|
+
const deserialized = smithyClient._json(body);
|
|
955
|
+
const exception = new InvalidArgsException({
|
|
956
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
957
|
+
...deserialized,
|
|
364
958
|
});
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
$fault = "client";
|
|
374
|
-
/**
|
|
375
|
-
* @internal
|
|
376
|
-
*/
|
|
377
|
-
constructor(opts) {
|
|
378
|
-
super({
|
|
379
|
-
name: "LimitExceededException",
|
|
380
|
-
$fault: "client",
|
|
381
|
-
...opts
|
|
959
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
960
|
+
};
|
|
961
|
+
const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
|
|
962
|
+
const body = parsedOutput.body;
|
|
963
|
+
const deserialized = smithyClient._json(body);
|
|
964
|
+
const exception = new InvalidArnException({
|
|
965
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
966
|
+
...deserialized,
|
|
382
967
|
});
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
static {
|
|
392
|
-
__name(this, "InvalidArnException");
|
|
393
|
-
}
|
|
394
|
-
name = "InvalidArnException";
|
|
395
|
-
$fault = "client";
|
|
396
|
-
/**
|
|
397
|
-
* @internal
|
|
398
|
-
*/
|
|
399
|
-
constructor(opts) {
|
|
400
|
-
super({
|
|
401
|
-
name: "InvalidArnException",
|
|
402
|
-
$fault: "client",
|
|
403
|
-
...opts
|
|
968
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
969
|
+
};
|
|
970
|
+
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
971
|
+
const body = parsedOutput.body;
|
|
972
|
+
const deserialized = smithyClient._json(body);
|
|
973
|
+
const exception = new InvalidNextTokenException({
|
|
974
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
975
|
+
...deserialized,
|
|
404
976
|
});
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
$fault = "client";
|
|
414
|
-
/**
|
|
415
|
-
* @internal
|
|
416
|
-
*/
|
|
417
|
-
constructor(opts) {
|
|
418
|
-
super({
|
|
419
|
-
name: "InvalidStateException",
|
|
420
|
-
$fault: "client",
|
|
421
|
-
...opts
|
|
977
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
978
|
+
};
|
|
979
|
+
const de_InvalidPolicyExceptionRes = async (parsedOutput, context) => {
|
|
980
|
+
const body = parsedOutput.body;
|
|
981
|
+
const deserialized = smithyClient._json(body);
|
|
982
|
+
const exception = new InvalidPolicyException({
|
|
983
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
984
|
+
...deserialized,
|
|
422
985
|
});
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
$fault = "client";
|
|
432
|
-
/**
|
|
433
|
-
* @internal
|
|
434
|
-
*/
|
|
435
|
-
constructor(opts) {
|
|
436
|
-
super({
|
|
437
|
-
name: "RequestFailedException",
|
|
438
|
-
$fault: "client",
|
|
439
|
-
...opts
|
|
986
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
987
|
+
};
|
|
988
|
+
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
989
|
+
const body = parsedOutput.body;
|
|
990
|
+
const deserialized = smithyClient._json(body);
|
|
991
|
+
const exception = new InvalidRequestException({
|
|
992
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
993
|
+
...deserialized,
|
|
440
994
|
});
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
$fault = "client";
|
|
450
|
-
/**
|
|
451
|
-
* @internal
|
|
452
|
-
*/
|
|
453
|
-
constructor(opts) {
|
|
454
|
-
super({
|
|
455
|
-
name: "RequestInProgressException",
|
|
456
|
-
$fault: "client",
|
|
457
|
-
...opts
|
|
995
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
996
|
+
};
|
|
997
|
+
const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
|
|
998
|
+
const body = parsedOutput.body;
|
|
999
|
+
const deserialized = smithyClient._json(body);
|
|
1000
|
+
const exception = new InvalidStateException({
|
|
1001
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1002
|
+
...deserialized,
|
|
458
1003
|
});
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
$fault = "client";
|
|
468
|
-
/**
|
|
469
|
-
* @internal
|
|
470
|
-
*/
|
|
471
|
-
constructor(opts) {
|
|
472
|
-
super({
|
|
473
|
-
name: "ResourceNotFoundException",
|
|
474
|
-
$fault: "client",
|
|
475
|
-
...opts
|
|
1004
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1005
|
+
};
|
|
1006
|
+
const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
1007
|
+
const body = parsedOutput.body;
|
|
1008
|
+
const deserialized = smithyClient._json(body);
|
|
1009
|
+
const exception = new InvalidTagException({
|
|
1010
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1011
|
+
...deserialized,
|
|
476
1012
|
});
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
var PermissionAlreadyExistsException = class _PermissionAlreadyExistsException extends ACMPCAServiceException {
|
|
486
|
-
static {
|
|
487
|
-
__name(this, "PermissionAlreadyExistsException");
|
|
488
|
-
}
|
|
489
|
-
name = "PermissionAlreadyExistsException";
|
|
490
|
-
$fault = "client";
|
|
491
|
-
/**
|
|
492
|
-
* @internal
|
|
493
|
-
*/
|
|
494
|
-
constructor(opts) {
|
|
495
|
-
super({
|
|
496
|
-
name: "PermissionAlreadyExistsException",
|
|
497
|
-
$fault: "client",
|
|
498
|
-
...opts
|
|
1013
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1014
|
+
};
|
|
1015
|
+
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1016
|
+
const body = parsedOutput.body;
|
|
1017
|
+
const deserialized = smithyClient._json(body);
|
|
1018
|
+
const exception = new LimitExceededException({
|
|
1019
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1020
|
+
...deserialized,
|
|
499
1021
|
});
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
$fault = "client";
|
|
509
|
-
/**
|
|
510
|
-
* @internal
|
|
511
|
-
*/
|
|
512
|
-
constructor(opts) {
|
|
513
|
-
super({
|
|
514
|
-
name: "ConcurrentModificationException",
|
|
515
|
-
$fault: "client",
|
|
516
|
-
...opts
|
|
1022
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1023
|
+
};
|
|
1024
|
+
const de_LockoutPreventedExceptionRes = async (parsedOutput, context) => {
|
|
1025
|
+
const body = parsedOutput.body;
|
|
1026
|
+
const deserialized = smithyClient._json(body);
|
|
1027
|
+
const exception = new LockoutPreventedException({
|
|
1028
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1029
|
+
...deserialized,
|
|
517
1030
|
});
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
$fault = "client";
|
|
527
|
-
/**
|
|
528
|
-
* @internal
|
|
529
|
-
*/
|
|
530
|
-
constructor(opts) {
|
|
531
|
-
super({
|
|
532
|
-
name: "LockoutPreventedException",
|
|
533
|
-
$fault: "client",
|
|
534
|
-
...opts
|
|
1031
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1032
|
+
};
|
|
1033
|
+
const de_MalformedCertificateExceptionRes = async (parsedOutput, context) => {
|
|
1034
|
+
const body = parsedOutput.body;
|
|
1035
|
+
const deserialized = smithyClient._json(body);
|
|
1036
|
+
const exception = new MalformedCertificateException({
|
|
1037
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1038
|
+
...deserialized,
|
|
535
1039
|
});
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
var CertificateAuthorityStatus = {
|
|
545
|
-
ACTIVE: "ACTIVE",
|
|
546
|
-
CREATING: "CREATING",
|
|
547
|
-
DELETED: "DELETED",
|
|
548
|
-
DISABLED: "DISABLED",
|
|
549
|
-
EXPIRED: "EXPIRED",
|
|
550
|
-
FAILED: "FAILED",
|
|
551
|
-
PENDING_CERTIFICATE: "PENDING_CERTIFICATE"
|
|
552
|
-
};
|
|
553
|
-
var AuditReportStatus = {
|
|
554
|
-
CREATING: "CREATING",
|
|
555
|
-
FAILED: "FAILED",
|
|
556
|
-
SUCCESS: "SUCCESS"
|
|
557
|
-
};
|
|
558
|
-
var CertificateMismatchException = class _CertificateMismatchException extends ACMPCAServiceException {
|
|
559
|
-
static {
|
|
560
|
-
__name(this, "CertificateMismatchException");
|
|
561
|
-
}
|
|
562
|
-
name = "CertificateMismatchException";
|
|
563
|
-
$fault = "client";
|
|
564
|
-
/**
|
|
565
|
-
* @internal
|
|
566
|
-
*/
|
|
567
|
-
constructor(opts) {
|
|
568
|
-
super({
|
|
569
|
-
name: "CertificateMismatchException",
|
|
570
|
-
$fault: "client",
|
|
571
|
-
...opts
|
|
1040
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1041
|
+
};
|
|
1042
|
+
const de_MalformedCSRExceptionRes = async (parsedOutput, context) => {
|
|
1043
|
+
const body = parsedOutput.body;
|
|
1044
|
+
const deserialized = smithyClient._json(body);
|
|
1045
|
+
const exception = new MalformedCSRException({
|
|
1046
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1047
|
+
...deserialized,
|
|
572
1048
|
});
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
$fault = "client";
|
|
582
|
-
/**
|
|
583
|
-
* @internal
|
|
584
|
-
*/
|
|
585
|
-
constructor(opts) {
|
|
586
|
-
super({
|
|
587
|
-
name: "InvalidRequestException",
|
|
588
|
-
$fault: "client",
|
|
589
|
-
...opts
|
|
1049
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1050
|
+
};
|
|
1051
|
+
const de_PermissionAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1052
|
+
const body = parsedOutput.body;
|
|
1053
|
+
const deserialized = smithyClient._json(body);
|
|
1054
|
+
const exception = new PermissionAlreadyExistsException({
|
|
1055
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1056
|
+
...deserialized,
|
|
590
1057
|
});
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
$fault = "client";
|
|
600
|
-
/**
|
|
601
|
-
* @internal
|
|
602
|
-
*/
|
|
603
|
-
constructor(opts) {
|
|
604
|
-
super({
|
|
605
|
-
name: "MalformedCertificateException",
|
|
606
|
-
$fault: "client",
|
|
607
|
-
...opts
|
|
1058
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1059
|
+
};
|
|
1060
|
+
const de_RequestAlreadyProcessedExceptionRes = async (parsedOutput, context) => {
|
|
1061
|
+
const body = parsedOutput.body;
|
|
1062
|
+
const deserialized = smithyClient._json(body);
|
|
1063
|
+
const exception = new RequestAlreadyProcessedException({
|
|
1064
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1065
|
+
...deserialized,
|
|
608
1066
|
});
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
CLIENT_AUTH: "CLIENT_AUTH",
|
|
618
|
-
CODE_SIGNING: "CODE_SIGNING",
|
|
619
|
-
DOCUMENT_SIGNING: "DOCUMENT_SIGNING",
|
|
620
|
-
EMAIL_PROTECTION: "EMAIL_PROTECTION",
|
|
621
|
-
OCSP_SIGNING: "OCSP_SIGNING",
|
|
622
|
-
SERVER_AUTH: "SERVER_AUTH",
|
|
623
|
-
SMART_CARD_LOGIN: "SMART_CARD_LOGIN",
|
|
624
|
-
TIME_STAMPING: "TIME_STAMPING"
|
|
625
|
-
};
|
|
626
|
-
var ValidityPeriodType = {
|
|
627
|
-
ABSOLUTE: "ABSOLUTE",
|
|
628
|
-
DAYS: "DAYS",
|
|
629
|
-
END_DATE: "END_DATE",
|
|
630
|
-
MONTHS: "MONTHS",
|
|
631
|
-
YEARS: "YEARS"
|
|
632
|
-
};
|
|
633
|
-
var MalformedCSRException = class _MalformedCSRException extends ACMPCAServiceException {
|
|
634
|
-
static {
|
|
635
|
-
__name(this, "MalformedCSRException");
|
|
636
|
-
}
|
|
637
|
-
name = "MalformedCSRException";
|
|
638
|
-
$fault = "client";
|
|
639
|
-
/**
|
|
640
|
-
* @internal
|
|
641
|
-
*/
|
|
642
|
-
constructor(opts) {
|
|
643
|
-
super({
|
|
644
|
-
name: "MalformedCSRException",
|
|
645
|
-
$fault: "client",
|
|
646
|
-
...opts
|
|
1067
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1068
|
+
};
|
|
1069
|
+
const de_RequestFailedExceptionRes = async (parsedOutput, context) => {
|
|
1070
|
+
const body = parsedOutput.body;
|
|
1071
|
+
const deserialized = smithyClient._json(body);
|
|
1072
|
+
const exception = new RequestFailedException({
|
|
1073
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1074
|
+
...deserialized,
|
|
647
1075
|
});
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
$fault = "client";
|
|
657
|
-
/**
|
|
658
|
-
* @internal
|
|
659
|
-
*/
|
|
660
|
-
constructor(opts) {
|
|
661
|
-
super({
|
|
662
|
-
name: "InvalidNextTokenException",
|
|
663
|
-
$fault: "client",
|
|
664
|
-
...opts
|
|
1076
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1077
|
+
};
|
|
1078
|
+
const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
|
|
1079
|
+
const body = parsedOutput.body;
|
|
1080
|
+
const deserialized = smithyClient._json(body);
|
|
1081
|
+
const exception = new RequestInProgressException({
|
|
1082
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1083
|
+
...deserialized,
|
|
665
1084
|
});
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
static {
|
|
675
|
-
__name(this, "RequestAlreadyProcessedException");
|
|
676
|
-
}
|
|
677
|
-
name = "RequestAlreadyProcessedException";
|
|
678
|
-
$fault = "client";
|
|
679
|
-
/**
|
|
680
|
-
* @internal
|
|
681
|
-
*/
|
|
682
|
-
constructor(opts) {
|
|
683
|
-
super({
|
|
684
|
-
name: "RequestAlreadyProcessedException",
|
|
685
|
-
$fault: "client",
|
|
686
|
-
...opts
|
|
1085
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1086
|
+
};
|
|
1087
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1088
|
+
const body = parsedOutput.body;
|
|
1089
|
+
const deserialized = smithyClient._json(body);
|
|
1090
|
+
const exception = new ResourceNotFoundException({
|
|
1091
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1092
|
+
...deserialized,
|
|
687
1093
|
});
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
KEY_COMPROMISE: "KEY_COMPROMISE",
|
|
697
|
-
PRIVILEGE_WITHDRAWN: "PRIVILEGE_WITHDRAWN",
|
|
698
|
-
SUPERSEDED: "SUPERSEDED",
|
|
699
|
-
UNSPECIFIED: "UNSPECIFIED"
|
|
700
|
-
};
|
|
701
|
-
var TooManyTagsException = class _TooManyTagsException extends ACMPCAServiceException {
|
|
702
|
-
static {
|
|
703
|
-
__name(this, "TooManyTagsException");
|
|
704
|
-
}
|
|
705
|
-
name = "TooManyTagsException";
|
|
706
|
-
$fault = "client";
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
710
|
-
constructor(opts) {
|
|
711
|
-
super({
|
|
712
|
-
name: "TooManyTagsException",
|
|
713
|
-
$fault: "client",
|
|
714
|
-
...opts
|
|
1094
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1095
|
+
};
|
|
1096
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1097
|
+
const body = parsedOutput.body;
|
|
1098
|
+
const deserialized = smithyClient._json(body);
|
|
1099
|
+
const exception = new TooManyTagsException({
|
|
1100
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1101
|
+
...deserialized,
|
|
715
1102
|
});
|
|
716
|
-
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
|
|
720
|
-
// src/protocols/Aws_json1_1.ts
|
|
721
|
-
var se_CreateCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
-
const headers = sharedHeaders("CreateCertificateAuthority");
|
|
723
|
-
let body;
|
|
724
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
725
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
726
|
-
}, "se_CreateCertificateAuthorityCommand");
|
|
727
|
-
var se_CreateCertificateAuthorityAuditReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
728
|
-
const headers = sharedHeaders("CreateCertificateAuthorityAuditReport");
|
|
729
|
-
let body;
|
|
730
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
731
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
732
|
-
}, "se_CreateCertificateAuthorityAuditReportCommand");
|
|
733
|
-
var se_CreatePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
734
|
-
const headers = sharedHeaders("CreatePermission");
|
|
735
|
-
let body;
|
|
736
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
737
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
738
|
-
}, "se_CreatePermissionCommand");
|
|
739
|
-
var se_DeleteCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
-
const headers = sharedHeaders("DeleteCertificateAuthority");
|
|
741
|
-
let body;
|
|
742
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
743
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
744
|
-
}, "se_DeleteCertificateAuthorityCommand");
|
|
745
|
-
var se_DeletePermissionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
-
const headers = sharedHeaders("DeletePermission");
|
|
747
|
-
let body;
|
|
748
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
749
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
750
|
-
}, "se_DeletePermissionCommand");
|
|
751
|
-
var se_DeletePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
752
|
-
const headers = sharedHeaders("DeletePolicy");
|
|
753
|
-
let body;
|
|
754
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
755
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
756
|
-
}, "se_DeletePolicyCommand");
|
|
757
|
-
var se_DescribeCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
758
|
-
const headers = sharedHeaders("DescribeCertificateAuthority");
|
|
759
|
-
let body;
|
|
760
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
761
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
762
|
-
}, "se_DescribeCertificateAuthorityCommand");
|
|
763
|
-
var se_DescribeCertificateAuthorityAuditReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
764
|
-
const headers = sharedHeaders("DescribeCertificateAuthorityAuditReport");
|
|
765
|
-
let body;
|
|
766
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
767
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
768
|
-
}, "se_DescribeCertificateAuthorityAuditReportCommand");
|
|
769
|
-
var se_GetCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
770
|
-
const headers = sharedHeaders("GetCertificate");
|
|
771
|
-
let body;
|
|
772
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
773
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
774
|
-
}, "se_GetCertificateCommand");
|
|
775
|
-
var se_GetCertificateAuthorityCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
776
|
-
const headers = sharedHeaders("GetCertificateAuthorityCertificate");
|
|
777
|
-
let body;
|
|
778
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
779
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
780
|
-
}, "se_GetCertificateAuthorityCertificateCommand");
|
|
781
|
-
var se_GetCertificateAuthorityCsrCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
782
|
-
const headers = sharedHeaders("GetCertificateAuthorityCsr");
|
|
783
|
-
let body;
|
|
784
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
785
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
786
|
-
}, "se_GetCertificateAuthorityCsrCommand");
|
|
787
|
-
var se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
788
|
-
const headers = sharedHeaders("GetPolicy");
|
|
789
|
-
let body;
|
|
790
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
791
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
792
|
-
}, "se_GetPolicyCommand");
|
|
793
|
-
var se_ImportCertificateAuthorityCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
794
|
-
const headers = sharedHeaders("ImportCertificateAuthorityCertificate");
|
|
795
|
-
let body;
|
|
796
|
-
body = JSON.stringify(se_ImportCertificateAuthorityCertificateRequest(input, context));
|
|
797
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
798
|
-
}, "se_ImportCertificateAuthorityCertificateCommand");
|
|
799
|
-
var se_IssueCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
-
const headers = sharedHeaders("IssueCertificate");
|
|
801
|
-
let body;
|
|
802
|
-
body = JSON.stringify(se_IssueCertificateRequest(input, context));
|
|
803
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
804
|
-
}, "se_IssueCertificateCommand");
|
|
805
|
-
var se_ListCertificateAuthoritiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
806
|
-
const headers = sharedHeaders("ListCertificateAuthorities");
|
|
807
|
-
let body;
|
|
808
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
809
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
810
|
-
}, "se_ListCertificateAuthoritiesCommand");
|
|
811
|
-
var se_ListPermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
-
const headers = sharedHeaders("ListPermissions");
|
|
813
|
-
let body;
|
|
814
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
815
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
816
|
-
}, "se_ListPermissionsCommand");
|
|
817
|
-
var se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
818
|
-
const headers = sharedHeaders("ListTags");
|
|
819
|
-
let body;
|
|
820
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
821
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
822
|
-
}, "se_ListTagsCommand");
|
|
823
|
-
var se_PutPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
824
|
-
const headers = sharedHeaders("PutPolicy");
|
|
825
|
-
let body;
|
|
826
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
827
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
828
|
-
}, "se_PutPolicyCommand");
|
|
829
|
-
var se_RestoreCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
830
|
-
const headers = sharedHeaders("RestoreCertificateAuthority");
|
|
831
|
-
let body;
|
|
832
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
833
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
834
|
-
}, "se_RestoreCertificateAuthorityCommand");
|
|
835
|
-
var se_RevokeCertificateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
836
|
-
const headers = sharedHeaders("RevokeCertificate");
|
|
837
|
-
let body;
|
|
838
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
839
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
840
|
-
}, "se_RevokeCertificateCommand");
|
|
841
|
-
var se_TagCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
842
|
-
const headers = sharedHeaders("TagCertificateAuthority");
|
|
843
|
-
let body;
|
|
844
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
845
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
846
|
-
}, "se_TagCertificateAuthorityCommand");
|
|
847
|
-
var se_UntagCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
848
|
-
const headers = sharedHeaders("UntagCertificateAuthority");
|
|
849
|
-
let body;
|
|
850
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
851
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
852
|
-
}, "se_UntagCertificateAuthorityCommand");
|
|
853
|
-
var se_UpdateCertificateAuthorityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
854
|
-
const headers = sharedHeaders("UpdateCertificateAuthority");
|
|
855
|
-
let body;
|
|
856
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
857
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
858
|
-
}, "se_UpdateCertificateAuthorityCommand");
|
|
859
|
-
var de_CreateCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
860
|
-
if (output.statusCode >= 300) {
|
|
861
|
-
return de_CommandError(output, context);
|
|
862
|
-
}
|
|
863
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
864
|
-
let contents = {};
|
|
865
|
-
contents = (0, import_smithy_client._json)(data);
|
|
866
|
-
const response = {
|
|
867
|
-
$metadata: deserializeMetadata(output),
|
|
868
|
-
...contents
|
|
869
|
-
};
|
|
870
|
-
return response;
|
|
871
|
-
}, "de_CreateCertificateAuthorityCommand");
|
|
872
|
-
var de_CreateCertificateAuthorityAuditReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
873
|
-
if (output.statusCode >= 300) {
|
|
874
|
-
return de_CommandError(output, context);
|
|
875
|
-
}
|
|
876
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
877
|
-
let contents = {};
|
|
878
|
-
contents = (0, import_smithy_client._json)(data);
|
|
879
|
-
const response = {
|
|
880
|
-
$metadata: deserializeMetadata(output),
|
|
881
|
-
...contents
|
|
882
|
-
};
|
|
883
|
-
return response;
|
|
884
|
-
}, "de_CreateCertificateAuthorityAuditReportCommand");
|
|
885
|
-
var de_CreatePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
886
|
-
if (output.statusCode >= 300) {
|
|
887
|
-
return de_CommandError(output, context);
|
|
888
|
-
}
|
|
889
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
890
|
-
const response = {
|
|
891
|
-
$metadata: deserializeMetadata(output)
|
|
892
|
-
};
|
|
893
|
-
return response;
|
|
894
|
-
}, "de_CreatePermissionCommand");
|
|
895
|
-
var de_DeleteCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
|
-
if (output.statusCode >= 300) {
|
|
897
|
-
return de_CommandError(output, context);
|
|
898
|
-
}
|
|
899
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output)
|
|
902
|
-
};
|
|
903
|
-
return response;
|
|
904
|
-
}, "de_DeleteCertificateAuthorityCommand");
|
|
905
|
-
var de_DeletePermissionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
906
|
-
if (output.statusCode >= 300) {
|
|
907
|
-
return de_CommandError(output, context);
|
|
908
|
-
}
|
|
909
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
910
|
-
const response = {
|
|
911
|
-
$metadata: deserializeMetadata(output)
|
|
912
|
-
};
|
|
913
|
-
return response;
|
|
914
|
-
}, "de_DeletePermissionCommand");
|
|
915
|
-
var de_DeletePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
-
if (output.statusCode >= 300) {
|
|
917
|
-
return de_CommandError(output, context);
|
|
918
|
-
}
|
|
919
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
920
|
-
const response = {
|
|
921
|
-
$metadata: deserializeMetadata(output)
|
|
922
|
-
};
|
|
923
|
-
return response;
|
|
924
|
-
}, "de_DeletePolicyCommand");
|
|
925
|
-
var de_DescribeCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
926
|
-
if (output.statusCode >= 300) {
|
|
927
|
-
return de_CommandError(output, context);
|
|
928
|
-
}
|
|
929
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
930
|
-
let contents = {};
|
|
931
|
-
contents = de_DescribeCertificateAuthorityResponse(data, context);
|
|
932
|
-
const response = {
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
...contents
|
|
935
|
-
};
|
|
936
|
-
return response;
|
|
937
|
-
}, "de_DescribeCertificateAuthorityCommand");
|
|
938
|
-
var de_DescribeCertificateAuthorityAuditReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
-
if (output.statusCode >= 300) {
|
|
940
|
-
return de_CommandError(output, context);
|
|
941
|
-
}
|
|
942
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
943
|
-
let contents = {};
|
|
944
|
-
contents = de_DescribeCertificateAuthorityAuditReportResponse(data, context);
|
|
945
|
-
const response = {
|
|
946
|
-
$metadata: deserializeMetadata(output),
|
|
947
|
-
...contents
|
|
948
|
-
};
|
|
949
|
-
return response;
|
|
950
|
-
}, "de_DescribeCertificateAuthorityAuditReportCommand");
|
|
951
|
-
var de_GetCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
952
|
-
if (output.statusCode >= 300) {
|
|
953
|
-
return de_CommandError(output, context);
|
|
954
|
-
}
|
|
955
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
956
|
-
let contents = {};
|
|
957
|
-
contents = (0, import_smithy_client._json)(data);
|
|
958
|
-
const response = {
|
|
959
|
-
$metadata: deserializeMetadata(output),
|
|
960
|
-
...contents
|
|
961
|
-
};
|
|
962
|
-
return response;
|
|
963
|
-
}, "de_GetCertificateCommand");
|
|
964
|
-
var de_GetCertificateAuthorityCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
965
|
-
if (output.statusCode >= 300) {
|
|
966
|
-
return de_CommandError(output, context);
|
|
967
|
-
}
|
|
968
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
969
|
-
let contents = {};
|
|
970
|
-
contents = (0, import_smithy_client._json)(data);
|
|
971
|
-
const response = {
|
|
972
|
-
$metadata: deserializeMetadata(output),
|
|
973
|
-
...contents
|
|
974
|
-
};
|
|
975
|
-
return response;
|
|
976
|
-
}, "de_GetCertificateAuthorityCertificateCommand");
|
|
977
|
-
var de_GetCertificateAuthorityCsrCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
-
if (output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
982
|
-
let contents = {};
|
|
983
|
-
contents = (0, import_smithy_client._json)(data);
|
|
984
|
-
const response = {
|
|
985
|
-
$metadata: deserializeMetadata(output),
|
|
986
|
-
...contents
|
|
987
|
-
};
|
|
988
|
-
return response;
|
|
989
|
-
}, "de_GetCertificateAuthorityCsrCommand");
|
|
990
|
-
var de_GetPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
991
|
-
if (output.statusCode >= 300) {
|
|
992
|
-
return de_CommandError(output, context);
|
|
993
|
-
}
|
|
994
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
995
|
-
let contents = {};
|
|
996
|
-
contents = (0, import_smithy_client._json)(data);
|
|
997
|
-
const response = {
|
|
998
|
-
$metadata: deserializeMetadata(output),
|
|
999
|
-
...contents
|
|
1000
|
-
};
|
|
1001
|
-
return response;
|
|
1002
|
-
}, "de_GetPolicyCommand");
|
|
1003
|
-
var de_ImportCertificateAuthorityCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1004
|
-
if (output.statusCode >= 300) {
|
|
1005
|
-
return de_CommandError(output, context);
|
|
1006
|
-
}
|
|
1007
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1008
|
-
const response = {
|
|
1009
|
-
$metadata: deserializeMetadata(output)
|
|
1010
|
-
};
|
|
1011
|
-
return response;
|
|
1012
|
-
}, "de_ImportCertificateAuthorityCertificateCommand");
|
|
1013
|
-
var de_IssueCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1014
|
-
if (output.statusCode >= 300) {
|
|
1015
|
-
return de_CommandError(output, context);
|
|
1016
|
-
}
|
|
1017
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1018
|
-
let contents = {};
|
|
1019
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1020
|
-
const response = {
|
|
1021
|
-
$metadata: deserializeMetadata(output),
|
|
1022
|
-
...contents
|
|
1023
|
-
};
|
|
1024
|
-
return response;
|
|
1025
|
-
}, "de_IssueCertificateCommand");
|
|
1026
|
-
var de_ListCertificateAuthoritiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1027
|
-
if (output.statusCode >= 300) {
|
|
1028
|
-
return de_CommandError(output, context);
|
|
1029
|
-
}
|
|
1030
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1031
|
-
let contents = {};
|
|
1032
|
-
contents = de_ListCertificateAuthoritiesResponse(data, context);
|
|
1033
|
-
const response = {
|
|
1034
|
-
$metadata: deserializeMetadata(output),
|
|
1035
|
-
...contents
|
|
1036
|
-
};
|
|
1037
|
-
return response;
|
|
1038
|
-
}, "de_ListCertificateAuthoritiesCommand");
|
|
1039
|
-
var de_ListPermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1040
|
-
if (output.statusCode >= 300) {
|
|
1041
|
-
return de_CommandError(output, context);
|
|
1042
|
-
}
|
|
1043
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1044
|
-
let contents = {};
|
|
1045
|
-
contents = de_ListPermissionsResponse(data, context);
|
|
1046
|
-
const response = {
|
|
1047
|
-
$metadata: deserializeMetadata(output),
|
|
1048
|
-
...contents
|
|
1049
|
-
};
|
|
1050
|
-
return response;
|
|
1051
|
-
}, "de_ListPermissionsCommand");
|
|
1052
|
-
var de_ListTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1053
|
-
if (output.statusCode >= 300) {
|
|
1054
|
-
return de_CommandError(output, context);
|
|
1055
|
-
}
|
|
1056
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1057
|
-
let contents = {};
|
|
1058
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1059
|
-
const response = {
|
|
1060
|
-
$metadata: deserializeMetadata(output),
|
|
1061
|
-
...contents
|
|
1062
|
-
};
|
|
1063
|
-
return response;
|
|
1064
|
-
}, "de_ListTagsCommand");
|
|
1065
|
-
var de_PutPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
-
if (output.statusCode >= 300) {
|
|
1067
|
-
return de_CommandError(output, context);
|
|
1068
|
-
}
|
|
1069
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1070
|
-
const response = {
|
|
1071
|
-
$metadata: deserializeMetadata(output)
|
|
1072
|
-
};
|
|
1073
|
-
return response;
|
|
1074
|
-
}, "de_PutPolicyCommand");
|
|
1075
|
-
var de_RestoreCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
-
if (output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1080
|
-
const response = {
|
|
1081
|
-
$metadata: deserializeMetadata(output)
|
|
1082
|
-
};
|
|
1083
|
-
return response;
|
|
1084
|
-
}, "de_RestoreCertificateAuthorityCommand");
|
|
1085
|
-
var de_RevokeCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
-
if (output.statusCode >= 300) {
|
|
1087
|
-
return de_CommandError(output, context);
|
|
1088
|
-
}
|
|
1089
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1090
|
-
const response = {
|
|
1091
|
-
$metadata: deserializeMetadata(output)
|
|
1092
|
-
};
|
|
1093
|
-
return response;
|
|
1094
|
-
}, "de_RevokeCertificateCommand");
|
|
1095
|
-
var de_TagCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1096
|
-
if (output.statusCode >= 300) {
|
|
1097
|
-
return de_CommandError(output, context);
|
|
1098
|
-
}
|
|
1099
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1100
|
-
const response = {
|
|
1101
|
-
$metadata: deserializeMetadata(output)
|
|
1102
|
-
};
|
|
1103
|
-
return response;
|
|
1104
|
-
}, "de_TagCertificateAuthorityCommand");
|
|
1105
|
-
var de_UntagCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1106
|
-
if (output.statusCode >= 300) {
|
|
1107
|
-
return de_CommandError(output, context);
|
|
1108
|
-
}
|
|
1109
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1110
|
-
const response = {
|
|
1111
|
-
$metadata: deserializeMetadata(output)
|
|
1112
|
-
};
|
|
1113
|
-
return response;
|
|
1114
|
-
}, "de_UntagCertificateAuthorityCommand");
|
|
1115
|
-
var de_UpdateCertificateAuthorityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1116
|
-
if (output.statusCode >= 300) {
|
|
1117
|
-
return de_CommandError(output, context);
|
|
1118
|
-
}
|
|
1119
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1120
|
-
const response = {
|
|
1121
|
-
$metadata: deserializeMetadata(output)
|
|
1122
|
-
};
|
|
1123
|
-
return response;
|
|
1124
|
-
}, "de_UpdateCertificateAuthorityCommand");
|
|
1125
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1126
|
-
const parsedOutput = {
|
|
1127
|
-
...output,
|
|
1128
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1129
|
-
};
|
|
1130
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1131
|
-
switch (errorCode) {
|
|
1132
|
-
case "InvalidArgsException":
|
|
1133
|
-
case "com.amazonaws.acmpca#InvalidArgsException":
|
|
1134
|
-
throw await de_InvalidArgsExceptionRes(parsedOutput, context);
|
|
1135
|
-
case "InvalidPolicyException":
|
|
1136
|
-
case "com.amazonaws.acmpca#InvalidPolicyException":
|
|
1137
|
-
throw await de_InvalidPolicyExceptionRes(parsedOutput, context);
|
|
1138
|
-
case "InvalidTagException":
|
|
1139
|
-
case "com.amazonaws.acmpca#InvalidTagException":
|
|
1140
|
-
throw await de_InvalidTagExceptionRes(parsedOutput, context);
|
|
1141
|
-
case "LimitExceededException":
|
|
1142
|
-
case "com.amazonaws.acmpca#LimitExceededException":
|
|
1143
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1144
|
-
case "InvalidArnException":
|
|
1145
|
-
case "com.amazonaws.acmpca#InvalidArnException":
|
|
1146
|
-
throw await de_InvalidArnExceptionRes(parsedOutput, context);
|
|
1147
|
-
case "InvalidStateException":
|
|
1148
|
-
case "com.amazonaws.acmpca#InvalidStateException":
|
|
1149
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1150
|
-
case "RequestFailedException":
|
|
1151
|
-
case "com.amazonaws.acmpca#RequestFailedException":
|
|
1152
|
-
throw await de_RequestFailedExceptionRes(parsedOutput, context);
|
|
1153
|
-
case "RequestInProgressException":
|
|
1154
|
-
case "com.amazonaws.acmpca#RequestInProgressException":
|
|
1155
|
-
throw await de_RequestInProgressExceptionRes(parsedOutput, context);
|
|
1156
|
-
case "ResourceNotFoundException":
|
|
1157
|
-
case "com.amazonaws.acmpca#ResourceNotFoundException":
|
|
1158
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1159
|
-
case "PermissionAlreadyExistsException":
|
|
1160
|
-
case "com.amazonaws.acmpca#PermissionAlreadyExistsException":
|
|
1161
|
-
throw await de_PermissionAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1162
|
-
case "ConcurrentModificationException":
|
|
1163
|
-
case "com.amazonaws.acmpca#ConcurrentModificationException":
|
|
1164
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1165
|
-
case "LockoutPreventedException":
|
|
1166
|
-
case "com.amazonaws.acmpca#LockoutPreventedException":
|
|
1167
|
-
throw await de_LockoutPreventedExceptionRes(parsedOutput, context);
|
|
1168
|
-
case "CertificateMismatchException":
|
|
1169
|
-
case "com.amazonaws.acmpca#CertificateMismatchException":
|
|
1170
|
-
throw await de_CertificateMismatchExceptionRes(parsedOutput, context);
|
|
1171
|
-
case "InvalidRequestException":
|
|
1172
|
-
case "com.amazonaws.acmpca#InvalidRequestException":
|
|
1173
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1174
|
-
case "MalformedCertificateException":
|
|
1175
|
-
case "com.amazonaws.acmpca#MalformedCertificateException":
|
|
1176
|
-
throw await de_MalformedCertificateExceptionRes(parsedOutput, context);
|
|
1177
|
-
case "MalformedCSRException":
|
|
1178
|
-
case "com.amazonaws.acmpca#MalformedCSRException":
|
|
1179
|
-
throw await de_MalformedCSRExceptionRes(parsedOutput, context);
|
|
1180
|
-
case "InvalidNextTokenException":
|
|
1181
|
-
case "com.amazonaws.acmpca#InvalidNextTokenException":
|
|
1182
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1183
|
-
case "RequestAlreadyProcessedException":
|
|
1184
|
-
case "com.amazonaws.acmpca#RequestAlreadyProcessedException":
|
|
1185
|
-
throw await de_RequestAlreadyProcessedExceptionRes(parsedOutput, context);
|
|
1186
|
-
case "TooManyTagsException":
|
|
1187
|
-
case "com.amazonaws.acmpca#TooManyTagsException":
|
|
1188
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1189
|
-
default:
|
|
1190
|
-
const parsedBody = parsedOutput.body;
|
|
1191
|
-
return throwDefaultError({
|
|
1192
|
-
output,
|
|
1193
|
-
parsedBody,
|
|
1194
|
-
errorCode
|
|
1195
|
-
});
|
|
1196
|
-
}
|
|
1197
|
-
}, "de_CommandError");
|
|
1198
|
-
var de_CertificateMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1199
|
-
const body = parsedOutput.body;
|
|
1200
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1201
|
-
const exception = new CertificateMismatchException({
|
|
1202
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1203
|
-
...deserialized
|
|
1204
|
-
});
|
|
1205
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1206
|
-
}, "de_CertificateMismatchExceptionRes");
|
|
1207
|
-
var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1208
|
-
const body = parsedOutput.body;
|
|
1209
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1210
|
-
const exception = new ConcurrentModificationException({
|
|
1211
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1212
|
-
...deserialized
|
|
1213
|
-
});
|
|
1214
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1215
|
-
}, "de_ConcurrentModificationExceptionRes");
|
|
1216
|
-
var de_InvalidArgsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1217
|
-
const body = parsedOutput.body;
|
|
1218
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1219
|
-
const exception = new InvalidArgsException({
|
|
1220
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1221
|
-
...deserialized
|
|
1222
|
-
});
|
|
1223
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1224
|
-
}, "de_InvalidArgsExceptionRes");
|
|
1225
|
-
var de_InvalidArnExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1226
|
-
const body = parsedOutput.body;
|
|
1227
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1228
|
-
const exception = new InvalidArnException({
|
|
1229
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1230
|
-
...deserialized
|
|
1231
|
-
});
|
|
1232
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1233
|
-
}, "de_InvalidArnExceptionRes");
|
|
1234
|
-
var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1235
|
-
const body = parsedOutput.body;
|
|
1236
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1237
|
-
const exception = new InvalidNextTokenException({
|
|
1238
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1239
|
-
...deserialized
|
|
1240
|
-
});
|
|
1241
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1242
|
-
}, "de_InvalidNextTokenExceptionRes");
|
|
1243
|
-
var de_InvalidPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1244
|
-
const body = parsedOutput.body;
|
|
1245
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1246
|
-
const exception = new InvalidPolicyException({
|
|
1247
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1248
|
-
...deserialized
|
|
1249
|
-
});
|
|
1250
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1251
|
-
}, "de_InvalidPolicyExceptionRes");
|
|
1252
|
-
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1253
|
-
const body = parsedOutput.body;
|
|
1254
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1255
|
-
const exception = new InvalidRequestException({
|
|
1256
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1257
|
-
...deserialized
|
|
1258
|
-
});
|
|
1259
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1260
|
-
}, "de_InvalidRequestExceptionRes");
|
|
1261
|
-
var de_InvalidStateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1262
|
-
const body = parsedOutput.body;
|
|
1263
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1264
|
-
const exception = new InvalidStateException({
|
|
1265
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1266
|
-
...deserialized
|
|
1267
|
-
});
|
|
1268
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1269
|
-
}, "de_InvalidStateExceptionRes");
|
|
1270
|
-
var de_InvalidTagExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1271
|
-
const body = parsedOutput.body;
|
|
1272
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1273
|
-
const exception = new InvalidTagException({
|
|
1274
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1275
|
-
...deserialized
|
|
1276
|
-
});
|
|
1277
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1278
|
-
}, "de_InvalidTagExceptionRes");
|
|
1279
|
-
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1280
|
-
const body = parsedOutput.body;
|
|
1281
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1282
|
-
const exception = new LimitExceededException({
|
|
1283
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1284
|
-
...deserialized
|
|
1285
|
-
});
|
|
1286
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1287
|
-
}, "de_LimitExceededExceptionRes");
|
|
1288
|
-
var de_LockoutPreventedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1289
|
-
const body = parsedOutput.body;
|
|
1290
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1291
|
-
const exception = new LockoutPreventedException({
|
|
1292
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1293
|
-
...deserialized
|
|
1294
|
-
});
|
|
1295
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1296
|
-
}, "de_LockoutPreventedExceptionRes");
|
|
1297
|
-
var de_MalformedCertificateExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1298
|
-
const body = parsedOutput.body;
|
|
1299
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1300
|
-
const exception = new MalformedCertificateException({
|
|
1301
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1302
|
-
...deserialized
|
|
1303
|
-
});
|
|
1304
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1305
|
-
}, "de_MalformedCertificateExceptionRes");
|
|
1306
|
-
var de_MalformedCSRExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1307
|
-
const body = parsedOutput.body;
|
|
1308
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1309
|
-
const exception = new MalformedCSRException({
|
|
1310
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1311
|
-
...deserialized
|
|
1312
|
-
});
|
|
1313
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1314
|
-
}, "de_MalformedCSRExceptionRes");
|
|
1315
|
-
var de_PermissionAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1316
|
-
const body = parsedOutput.body;
|
|
1317
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1318
|
-
const exception = new PermissionAlreadyExistsException({
|
|
1319
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1320
|
-
...deserialized
|
|
1321
|
-
});
|
|
1322
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1323
|
-
}, "de_PermissionAlreadyExistsExceptionRes");
|
|
1324
|
-
var de_RequestAlreadyProcessedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1325
|
-
const body = parsedOutput.body;
|
|
1326
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1327
|
-
const exception = new RequestAlreadyProcessedException({
|
|
1328
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1329
|
-
...deserialized
|
|
1330
|
-
});
|
|
1331
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1332
|
-
}, "de_RequestAlreadyProcessedExceptionRes");
|
|
1333
|
-
var de_RequestFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1334
|
-
const body = parsedOutput.body;
|
|
1335
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1336
|
-
const exception = new RequestFailedException({
|
|
1337
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1338
|
-
...deserialized
|
|
1339
|
-
});
|
|
1340
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1341
|
-
}, "de_RequestFailedExceptionRes");
|
|
1342
|
-
var de_RequestInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1343
|
-
const body = parsedOutput.body;
|
|
1344
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1345
|
-
const exception = new RequestInProgressException({
|
|
1346
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1347
|
-
...deserialized
|
|
1348
|
-
});
|
|
1349
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1350
|
-
}, "de_RequestInProgressExceptionRes");
|
|
1351
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1352
|
-
const body = parsedOutput.body;
|
|
1353
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1354
|
-
const exception = new ResourceNotFoundException({
|
|
1355
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1356
|
-
...deserialized
|
|
1357
|
-
});
|
|
1358
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1359
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1360
|
-
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1361
|
-
const body = parsedOutput.body;
|
|
1362
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1363
|
-
const exception = new TooManyTagsException({
|
|
1364
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1365
|
-
...deserialized
|
|
1366
|
-
});
|
|
1367
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1368
|
-
}, "de_TooManyTagsExceptionRes");
|
|
1369
|
-
var se_ImportCertificateAuthorityCertificateRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1370
|
-
return (0, import_smithy_client.take)(input, {
|
|
1371
|
-
Certificate: context.base64Encoder,
|
|
1372
|
-
CertificateAuthorityArn: [],
|
|
1373
|
-
CertificateChain: context.base64Encoder
|
|
1374
|
-
});
|
|
1375
|
-
}, "se_ImportCertificateAuthorityCertificateRequest");
|
|
1376
|
-
var se_IssueCertificateRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1377
|
-
return (0, import_smithy_client.take)(input, {
|
|
1378
|
-
ApiPassthrough: import_smithy_client._json,
|
|
1379
|
-
CertificateAuthorityArn: [],
|
|
1380
|
-
Csr: context.base64Encoder,
|
|
1381
|
-
IdempotencyToken: [],
|
|
1382
|
-
SigningAlgorithm: [],
|
|
1383
|
-
TemplateArn: [],
|
|
1384
|
-
Validity: import_smithy_client._json,
|
|
1385
|
-
ValidityNotBefore: import_smithy_client._json
|
|
1386
|
-
});
|
|
1387
|
-
}, "se_IssueCertificateRequest");
|
|
1388
|
-
var de_CertificateAuthorities = /* @__PURE__ */ __name((output, context) => {
|
|
1389
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1390
|
-
return de_CertificateAuthority(entry, context);
|
|
1391
|
-
});
|
|
1392
|
-
return retVal;
|
|
1393
|
-
}, "de_CertificateAuthorities");
|
|
1394
|
-
var de_CertificateAuthority = /* @__PURE__ */ __name((output, context) => {
|
|
1395
|
-
return (0, import_smithy_client.take)(output, {
|
|
1396
|
-
Arn: import_smithy_client.expectString,
|
|
1397
|
-
CertificateAuthorityConfiguration: import_smithy_client._json,
|
|
1398
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1399
|
-
FailureReason: import_smithy_client.expectString,
|
|
1400
|
-
KeyStorageSecurityStandard: import_smithy_client.expectString,
|
|
1401
|
-
LastStateChangeAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastStateChangeAt"),
|
|
1402
|
-
NotAfter: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotAfter"),
|
|
1403
|
-
NotBefore: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "NotBefore"),
|
|
1404
|
-
OwnerAccount: import_smithy_client.expectString,
|
|
1405
|
-
RestorableUntil: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RestorableUntil"),
|
|
1406
|
-
RevocationConfiguration: import_smithy_client._json,
|
|
1407
|
-
Serial: import_smithy_client.expectString,
|
|
1408
|
-
Status: import_smithy_client.expectString,
|
|
1409
|
-
Type: import_smithy_client.expectString,
|
|
1410
|
-
UsageMode: import_smithy_client.expectString
|
|
1411
|
-
});
|
|
1412
|
-
}, "de_CertificateAuthority");
|
|
1413
|
-
var de_DescribeCertificateAuthorityAuditReportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1414
|
-
return (0, import_smithy_client.take)(output, {
|
|
1415
|
-
AuditReportStatus: import_smithy_client.expectString,
|
|
1416
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1417
|
-
S3BucketName: import_smithy_client.expectString,
|
|
1418
|
-
S3Key: import_smithy_client.expectString
|
|
1419
|
-
});
|
|
1420
|
-
}, "de_DescribeCertificateAuthorityAuditReportResponse");
|
|
1421
|
-
var de_DescribeCertificateAuthorityResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1422
|
-
return (0, import_smithy_client.take)(output, {
|
|
1423
|
-
CertificateAuthority: /* @__PURE__ */ __name((_) => de_CertificateAuthority(_, context), "CertificateAuthority")
|
|
1424
|
-
});
|
|
1425
|
-
}, "de_DescribeCertificateAuthorityResponse");
|
|
1426
|
-
var de_ListCertificateAuthoritiesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1427
|
-
return (0, import_smithy_client.take)(output, {
|
|
1428
|
-
CertificateAuthorities: /* @__PURE__ */ __name((_) => de_CertificateAuthorities(_, context), "CertificateAuthorities"),
|
|
1429
|
-
NextToken: import_smithy_client.expectString
|
|
1430
|
-
});
|
|
1431
|
-
}, "de_ListCertificateAuthoritiesResponse");
|
|
1432
|
-
var de_ListPermissionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1433
|
-
return (0, import_smithy_client.take)(output, {
|
|
1434
|
-
NextToken: import_smithy_client.expectString,
|
|
1435
|
-
Permissions: /* @__PURE__ */ __name((_) => de_PermissionList(_, context), "Permissions")
|
|
1436
|
-
});
|
|
1437
|
-
}, "de_ListPermissionsResponse");
|
|
1438
|
-
var de_Permission = /* @__PURE__ */ __name((output, context) => {
|
|
1439
|
-
return (0, import_smithy_client.take)(output, {
|
|
1440
|
-
Actions: import_smithy_client._json,
|
|
1441
|
-
CertificateAuthorityArn: import_smithy_client.expectString,
|
|
1442
|
-
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1443
|
-
Policy: import_smithy_client.expectString,
|
|
1444
|
-
Principal: import_smithy_client.expectString,
|
|
1445
|
-
SourceAccount: import_smithy_client.expectString
|
|
1446
|
-
});
|
|
1447
|
-
}, "de_Permission");
|
|
1448
|
-
var de_PermissionList = /* @__PURE__ */ __name((output, context) => {
|
|
1449
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1450
|
-
return de_Permission(entry, context);
|
|
1451
|
-
});
|
|
1452
|
-
return retVal;
|
|
1453
|
-
}, "de_PermissionList");
|
|
1454
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1455
|
-
httpStatusCode: output.statusCode,
|
|
1456
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1457
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1458
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1459
|
-
}), "deserializeMetadata");
|
|
1460
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(ACMPCAServiceException);
|
|
1461
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1462
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1463
|
-
const contents = {
|
|
1464
|
-
protocol,
|
|
1465
|
-
hostname,
|
|
1466
|
-
port,
|
|
1467
|
-
method: "POST",
|
|
1468
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1469
|
-
headers
|
|
1470
|
-
};
|
|
1471
|
-
if (resolvedHostname !== void 0) {
|
|
1472
|
-
contents.hostname = resolvedHostname;
|
|
1473
|
-
}
|
|
1474
|
-
if (body !== void 0) {
|
|
1475
|
-
contents.body = body;
|
|
1476
|
-
}
|
|
1477
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1478
|
-
}, "buildHttpRpcRequest");
|
|
1479
|
-
function sharedHeaders(operation) {
|
|
1480
|
-
return {
|
|
1481
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1482
|
-
"x-amz-target": `ACMPrivateCA.${operation}`
|
|
1483
|
-
};
|
|
1484
|
-
}
|
|
1485
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1486
|
-
|
|
1487
|
-
// src/commands/CreateCertificateAuthorityAuditReportCommand.ts
|
|
1488
|
-
var CreateCertificateAuthorityAuditReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1489
|
-
return [
|
|
1490
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1491
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1492
|
-
];
|
|
1493
|
-
}).s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {}).n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand").f(void 0, void 0).ser(se_CreateCertificateAuthorityAuditReportCommand).de(de_CreateCertificateAuthorityAuditReportCommand).build() {
|
|
1494
|
-
static {
|
|
1495
|
-
__name(this, "CreateCertificateAuthorityAuditReportCommand");
|
|
1496
|
-
}
|
|
1103
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1497
1104
|
};
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
return [
|
|
1505
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1506
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1507
|
-
];
|
|
1508
|
-
}).s("ACMPrivateCA", "CreateCertificateAuthority", {}).n("ACMPCAClient", "CreateCertificateAuthorityCommand").f(void 0, void 0).ser(se_CreateCertificateAuthorityCommand).de(de_CreateCertificateAuthorityCommand).build() {
|
|
1509
|
-
static {
|
|
1510
|
-
__name(this, "CreateCertificateAuthorityCommand");
|
|
1511
|
-
}
|
|
1105
|
+
const se_ImportCertificateAuthorityCertificateRequest = (input, context) => {
|
|
1106
|
+
return smithyClient.take(input, {
|
|
1107
|
+
Certificate: context.base64Encoder,
|
|
1108
|
+
CertificateAuthorityArn: [],
|
|
1109
|
+
CertificateChain: context.base64Encoder,
|
|
1110
|
+
});
|
|
1512
1111
|
};
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
})
|
|
1524
|
-
static {
|
|
1525
|
-
__name(this, "CreatePermissionCommand");
|
|
1526
|
-
}
|
|
1112
|
+
const se_IssueCertificateRequest = (input, context) => {
|
|
1113
|
+
return smithyClient.take(input, {
|
|
1114
|
+
ApiPassthrough: smithyClient._json,
|
|
1115
|
+
CertificateAuthorityArn: [],
|
|
1116
|
+
Csr: context.base64Encoder,
|
|
1117
|
+
IdempotencyToken: [],
|
|
1118
|
+
SigningAlgorithm: [],
|
|
1119
|
+
TemplateArn: [],
|
|
1120
|
+
Validity: smithyClient._json,
|
|
1121
|
+
ValidityNotBefore: smithyClient._json,
|
|
1122
|
+
});
|
|
1527
1123
|
};
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1124
|
+
const de_CertificateAuthorities = (output, context) => {
|
|
1125
|
+
const retVal = (output || [])
|
|
1126
|
+
.filter((e) => e != null)
|
|
1127
|
+
.map((entry) => {
|
|
1128
|
+
return de_CertificateAuthority(entry);
|
|
1129
|
+
});
|
|
1130
|
+
return retVal;
|
|
1131
|
+
};
|
|
1132
|
+
const de_CertificateAuthority = (output, context) => {
|
|
1133
|
+
return smithyClient.take(output, {
|
|
1134
|
+
Arn: smithyClient.expectString,
|
|
1135
|
+
CertificateAuthorityConfiguration: smithyClient._json,
|
|
1136
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1137
|
+
FailureReason: smithyClient.expectString,
|
|
1138
|
+
KeyStorageSecurityStandard: smithyClient.expectString,
|
|
1139
|
+
LastStateChangeAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1140
|
+
NotAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1141
|
+
NotBefore: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1142
|
+
OwnerAccount: smithyClient.expectString,
|
|
1143
|
+
RestorableUntil: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1144
|
+
RevocationConfiguration: smithyClient._json,
|
|
1145
|
+
Serial: smithyClient.expectString,
|
|
1146
|
+
Status: smithyClient.expectString,
|
|
1147
|
+
Type: smithyClient.expectString,
|
|
1148
|
+
UsageMode: smithyClient.expectString,
|
|
1149
|
+
});
|
|
1542
1150
|
};
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1551
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1552
|
-
];
|
|
1553
|
-
}).s("ACMPrivateCA", "DeletePermission", {}).n("ACMPCAClient", "DeletePermissionCommand").f(void 0, void 0).ser(se_DeletePermissionCommand).de(de_DeletePermissionCommand).build() {
|
|
1554
|
-
static {
|
|
1555
|
-
__name(this, "DeletePermissionCommand");
|
|
1556
|
-
}
|
|
1151
|
+
const de_DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
|
|
1152
|
+
return smithyClient.take(output, {
|
|
1153
|
+
AuditReportStatus: smithyClient.expectString,
|
|
1154
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1155
|
+
S3BucketName: smithyClient.expectString,
|
|
1156
|
+
S3Key: smithyClient.expectString,
|
|
1157
|
+
});
|
|
1557
1158
|
};
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
var DeletePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1564
|
-
return [
|
|
1565
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1566
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1567
|
-
];
|
|
1568
|
-
}).s("ACMPrivateCA", "DeletePolicy", {}).n("ACMPCAClient", "DeletePolicyCommand").f(void 0, void 0).ser(se_DeletePolicyCommand).de(de_DeletePolicyCommand).build() {
|
|
1569
|
-
static {
|
|
1570
|
-
__name(this, "DeletePolicyCommand");
|
|
1571
|
-
}
|
|
1159
|
+
const de_DescribeCertificateAuthorityResponse = (output, context) => {
|
|
1160
|
+
return smithyClient.take(output, {
|
|
1161
|
+
CertificateAuthority: (_) => de_CertificateAuthority(_),
|
|
1162
|
+
});
|
|
1572
1163
|
};
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
var DescribeCertificateAuthorityAuditReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1579
|
-
return [
|
|
1580
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1581
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1582
|
-
];
|
|
1583
|
-
}).s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {}).n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand").f(void 0, void 0).ser(se_DescribeCertificateAuthorityAuditReportCommand).de(de_DescribeCertificateAuthorityAuditReportCommand).build() {
|
|
1584
|
-
static {
|
|
1585
|
-
__name(this, "DescribeCertificateAuthorityAuditReportCommand");
|
|
1586
|
-
}
|
|
1164
|
+
const de_ListCertificateAuthoritiesResponse = (output, context) => {
|
|
1165
|
+
return smithyClient.take(output, {
|
|
1166
|
+
CertificateAuthorities: (_) => de_CertificateAuthorities(_),
|
|
1167
|
+
NextToken: smithyClient.expectString,
|
|
1168
|
+
});
|
|
1587
1169
|
};
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
var DescribeCertificateAuthorityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1594
|
-
return [
|
|
1595
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1596
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1597
|
-
];
|
|
1598
|
-
}).s("ACMPrivateCA", "DescribeCertificateAuthority", {}).n("ACMPCAClient", "DescribeCertificateAuthorityCommand").f(void 0, void 0).ser(se_DescribeCertificateAuthorityCommand).de(de_DescribeCertificateAuthorityCommand).build() {
|
|
1599
|
-
static {
|
|
1600
|
-
__name(this, "DescribeCertificateAuthorityCommand");
|
|
1601
|
-
}
|
|
1170
|
+
const de_ListPermissionsResponse = (output, context) => {
|
|
1171
|
+
return smithyClient.take(output, {
|
|
1172
|
+
NextToken: smithyClient.expectString,
|
|
1173
|
+
Permissions: (_) => de_PermissionList(_),
|
|
1174
|
+
});
|
|
1602
1175
|
};
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
];
|
|
1613
|
-
}).s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {}).n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand").f(void 0, void 0).ser(se_GetCertificateAuthorityCertificateCommand).de(de_GetCertificateAuthorityCertificateCommand).build() {
|
|
1614
|
-
static {
|
|
1615
|
-
__name(this, "GetCertificateAuthorityCertificateCommand");
|
|
1616
|
-
}
|
|
1176
|
+
const de_Permission = (output, context) => {
|
|
1177
|
+
return smithyClient.take(output, {
|
|
1178
|
+
Actions: smithyClient._json,
|
|
1179
|
+
CertificateAuthorityArn: smithyClient.expectString,
|
|
1180
|
+
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1181
|
+
Policy: smithyClient.expectString,
|
|
1182
|
+
Principal: smithyClient.expectString,
|
|
1183
|
+
SourceAccount: smithyClient.expectString,
|
|
1184
|
+
});
|
|
1617
1185
|
};
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1626
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1627
|
-
];
|
|
1628
|
-
}).s("ACMPrivateCA", "GetCertificateAuthorityCsr", {}).n("ACMPCAClient", "GetCertificateAuthorityCsrCommand").f(void 0, void 0).ser(se_GetCertificateAuthorityCsrCommand).de(de_GetCertificateAuthorityCsrCommand).build() {
|
|
1629
|
-
static {
|
|
1630
|
-
__name(this, "GetCertificateAuthorityCsrCommand");
|
|
1631
|
-
}
|
|
1186
|
+
const de_PermissionList = (output, context) => {
|
|
1187
|
+
const retVal = (output || [])
|
|
1188
|
+
.filter((e) => e != null)
|
|
1189
|
+
.map((entry) => {
|
|
1190
|
+
return de_Permission(entry);
|
|
1191
|
+
});
|
|
1192
|
+
return retVal;
|
|
1632
1193
|
};
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1194
|
+
const deserializeMetadata = (output) => ({
|
|
1195
|
+
httpStatusCode: output.statusCode,
|
|
1196
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1197
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1198
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1199
|
+
});
|
|
1200
|
+
const throwDefaultError = smithyClient.withBaseException(ACMPCAServiceException);
|
|
1201
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1202
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1203
|
+
const contents = {
|
|
1204
|
+
protocol,
|
|
1205
|
+
hostname,
|
|
1206
|
+
port,
|
|
1207
|
+
method: "POST",
|
|
1208
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1209
|
+
headers,
|
|
1210
|
+
};
|
|
1211
|
+
if (body !== undefined) {
|
|
1212
|
+
contents.body = body;
|
|
1213
|
+
}
|
|
1214
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1647
1215
|
};
|
|
1216
|
+
function sharedHeaders(operation) {
|
|
1217
|
+
return {
|
|
1218
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1219
|
+
"x-amz-target": `ACMPrivateCA.${operation}`,
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1648
1222
|
|
|
1649
|
-
|
|
1223
|
+
class CreateCertificateAuthorityAuditReportCommand extends smithyClient.Command
|
|
1224
|
+
.classBuilder()
|
|
1225
|
+
.ep(commonParams)
|
|
1226
|
+
.m(function (Command, cs, config, o) {
|
|
1227
|
+
return [
|
|
1228
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1229
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1230
|
+
];
|
|
1231
|
+
})
|
|
1232
|
+
.s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
|
|
1233
|
+
.n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
|
|
1234
|
+
.f(void 0, void 0)
|
|
1235
|
+
.ser(se_CreateCertificateAuthorityAuditReportCommand)
|
|
1236
|
+
.de(de_CreateCertificateAuthorityAuditReportCommand)
|
|
1237
|
+
.build() {
|
|
1238
|
+
}
|
|
1650
1239
|
|
|
1240
|
+
class CreateCertificateAuthorityCommand extends smithyClient.Command
|
|
1241
|
+
.classBuilder()
|
|
1242
|
+
.ep(commonParams)
|
|
1243
|
+
.m(function (Command, cs, config, o) {
|
|
1244
|
+
return [
|
|
1245
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1246
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1247
|
+
];
|
|
1248
|
+
})
|
|
1249
|
+
.s("ACMPrivateCA", "CreateCertificateAuthority", {})
|
|
1250
|
+
.n("ACMPCAClient", "CreateCertificateAuthorityCommand")
|
|
1251
|
+
.f(void 0, void 0)
|
|
1252
|
+
.ser(se_CreateCertificateAuthorityCommand)
|
|
1253
|
+
.de(de_CreateCertificateAuthorityCommand)
|
|
1254
|
+
.build() {
|
|
1255
|
+
}
|
|
1651
1256
|
|
|
1257
|
+
class CreatePermissionCommand extends smithyClient.Command
|
|
1258
|
+
.classBuilder()
|
|
1259
|
+
.ep(commonParams)
|
|
1260
|
+
.m(function (Command, cs, config, o) {
|
|
1261
|
+
return [
|
|
1262
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1263
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1264
|
+
];
|
|
1265
|
+
})
|
|
1266
|
+
.s("ACMPrivateCA", "CreatePermission", {})
|
|
1267
|
+
.n("ACMPCAClient", "CreatePermissionCommand")
|
|
1268
|
+
.f(void 0, void 0)
|
|
1269
|
+
.ser(se_CreatePermissionCommand)
|
|
1270
|
+
.de(de_CreatePermissionCommand)
|
|
1271
|
+
.build() {
|
|
1272
|
+
}
|
|
1652
1273
|
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
(
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
}
|
|
1274
|
+
class DeleteCertificateAuthorityCommand extends smithyClient.Command
|
|
1275
|
+
.classBuilder()
|
|
1276
|
+
.ep(commonParams)
|
|
1277
|
+
.m(function (Command, cs, config, o) {
|
|
1278
|
+
return [
|
|
1279
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1280
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1281
|
+
];
|
|
1282
|
+
})
|
|
1283
|
+
.s("ACMPrivateCA", "DeleteCertificateAuthority", {})
|
|
1284
|
+
.n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
|
|
1285
|
+
.f(void 0, void 0)
|
|
1286
|
+
.ser(se_DeleteCertificateAuthorityCommand)
|
|
1287
|
+
.de(de_DeleteCertificateAuthorityCommand)
|
|
1288
|
+
.build() {
|
|
1289
|
+
}
|
|
1663
1290
|
|
|
1664
|
-
|
|
1291
|
+
class DeletePermissionCommand extends smithyClient.Command
|
|
1292
|
+
.classBuilder()
|
|
1293
|
+
.ep(commonParams)
|
|
1294
|
+
.m(function (Command, cs, config, o) {
|
|
1295
|
+
return [
|
|
1296
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1297
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1298
|
+
];
|
|
1299
|
+
})
|
|
1300
|
+
.s("ACMPrivateCA", "DeletePermission", {})
|
|
1301
|
+
.n("ACMPCAClient", "DeletePermissionCommand")
|
|
1302
|
+
.f(void 0, void 0)
|
|
1303
|
+
.ser(se_DeletePermissionCommand)
|
|
1304
|
+
.de(de_DeletePermissionCommand)
|
|
1305
|
+
.build() {
|
|
1306
|
+
}
|
|
1665
1307
|
|
|
1308
|
+
class DeletePolicyCommand extends smithyClient.Command
|
|
1309
|
+
.classBuilder()
|
|
1310
|
+
.ep(commonParams)
|
|
1311
|
+
.m(function (Command, cs, config, o) {
|
|
1312
|
+
return [
|
|
1313
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1314
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1315
|
+
];
|
|
1316
|
+
})
|
|
1317
|
+
.s("ACMPrivateCA", "DeletePolicy", {})
|
|
1318
|
+
.n("ACMPCAClient", "DeletePolicyCommand")
|
|
1319
|
+
.f(void 0, void 0)
|
|
1320
|
+
.ser(se_DeletePolicyCommand)
|
|
1321
|
+
.de(de_DeletePolicyCommand)
|
|
1322
|
+
.build() {
|
|
1323
|
+
}
|
|
1666
1324
|
|
|
1325
|
+
class DescribeCertificateAuthorityAuditReportCommand extends smithyClient.Command
|
|
1326
|
+
.classBuilder()
|
|
1327
|
+
.ep(commonParams)
|
|
1328
|
+
.m(function (Command, cs, config, o) {
|
|
1329
|
+
return [
|
|
1330
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1331
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1332
|
+
];
|
|
1333
|
+
})
|
|
1334
|
+
.s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
|
|
1335
|
+
.n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
|
|
1336
|
+
.f(void 0, void 0)
|
|
1337
|
+
.ser(se_DescribeCertificateAuthorityAuditReportCommand)
|
|
1338
|
+
.de(de_DescribeCertificateAuthorityAuditReportCommand)
|
|
1339
|
+
.build() {
|
|
1340
|
+
}
|
|
1667
1341
|
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
(
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
}
|
|
1342
|
+
class DescribeCertificateAuthorityCommand extends smithyClient.Command
|
|
1343
|
+
.classBuilder()
|
|
1344
|
+
.ep(commonParams)
|
|
1345
|
+
.m(function (Command, cs, config, o) {
|
|
1346
|
+
return [
|
|
1347
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1348
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1349
|
+
];
|
|
1350
|
+
})
|
|
1351
|
+
.s("ACMPrivateCA", "DescribeCertificateAuthority", {})
|
|
1352
|
+
.n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
|
|
1353
|
+
.f(void 0, void 0)
|
|
1354
|
+
.ser(se_DescribeCertificateAuthorityCommand)
|
|
1355
|
+
.de(de_DescribeCertificateAuthorityCommand)
|
|
1356
|
+
.build() {
|
|
1357
|
+
}
|
|
1678
1358
|
|
|
1679
|
-
|
|
1359
|
+
class GetCertificateAuthorityCertificateCommand extends smithyClient.Command
|
|
1360
|
+
.classBuilder()
|
|
1361
|
+
.ep(commonParams)
|
|
1362
|
+
.m(function (Command, cs, config, o) {
|
|
1363
|
+
return [
|
|
1364
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1365
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1366
|
+
];
|
|
1367
|
+
})
|
|
1368
|
+
.s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
|
|
1369
|
+
.n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
|
|
1370
|
+
.f(void 0, void 0)
|
|
1371
|
+
.ser(se_GetCertificateAuthorityCertificateCommand)
|
|
1372
|
+
.de(de_GetCertificateAuthorityCertificateCommand)
|
|
1373
|
+
.build() {
|
|
1374
|
+
}
|
|
1680
1375
|
|
|
1376
|
+
class GetCertificateAuthorityCsrCommand extends smithyClient.Command
|
|
1377
|
+
.classBuilder()
|
|
1378
|
+
.ep(commonParams)
|
|
1379
|
+
.m(function (Command, cs, config, o) {
|
|
1380
|
+
return [
|
|
1381
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1382
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1383
|
+
];
|
|
1384
|
+
})
|
|
1385
|
+
.s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
|
|
1386
|
+
.n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
|
|
1387
|
+
.f(void 0, void 0)
|
|
1388
|
+
.ser(se_GetCertificateAuthorityCsrCommand)
|
|
1389
|
+
.de(de_GetCertificateAuthorityCsrCommand)
|
|
1390
|
+
.build() {
|
|
1391
|
+
}
|
|
1681
1392
|
|
|
1393
|
+
class GetCertificateCommand extends smithyClient.Command
|
|
1394
|
+
.classBuilder()
|
|
1395
|
+
.ep(commonParams)
|
|
1396
|
+
.m(function (Command, cs, config, o) {
|
|
1397
|
+
return [
|
|
1398
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1399
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1400
|
+
];
|
|
1401
|
+
})
|
|
1402
|
+
.s("ACMPrivateCA", "GetCertificate", {})
|
|
1403
|
+
.n("ACMPCAClient", "GetCertificateCommand")
|
|
1404
|
+
.f(void 0, void 0)
|
|
1405
|
+
.ser(se_GetCertificateCommand)
|
|
1406
|
+
.de(de_GetCertificateCommand)
|
|
1407
|
+
.build() {
|
|
1408
|
+
}
|
|
1682
1409
|
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
(
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
}
|
|
1410
|
+
class GetPolicyCommand extends smithyClient.Command
|
|
1411
|
+
.classBuilder()
|
|
1412
|
+
.ep(commonParams)
|
|
1413
|
+
.m(function (Command, cs, config, o) {
|
|
1414
|
+
return [
|
|
1415
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1416
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1417
|
+
];
|
|
1418
|
+
})
|
|
1419
|
+
.s("ACMPrivateCA", "GetPolicy", {})
|
|
1420
|
+
.n("ACMPCAClient", "GetPolicyCommand")
|
|
1421
|
+
.f(void 0, void 0)
|
|
1422
|
+
.ser(se_GetPolicyCommand)
|
|
1423
|
+
.de(de_GetPolicyCommand)
|
|
1424
|
+
.build() {
|
|
1425
|
+
}
|
|
1693
1426
|
|
|
1694
|
-
|
|
1427
|
+
class ImportCertificateAuthorityCertificateCommand extends smithyClient.Command
|
|
1428
|
+
.classBuilder()
|
|
1429
|
+
.ep(commonParams)
|
|
1430
|
+
.m(function (Command, cs, config, o) {
|
|
1431
|
+
return [
|
|
1432
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1433
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1434
|
+
];
|
|
1435
|
+
})
|
|
1436
|
+
.s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
|
|
1437
|
+
.n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
|
|
1438
|
+
.f(void 0, void 0)
|
|
1439
|
+
.ser(se_ImportCertificateAuthorityCertificateCommand)
|
|
1440
|
+
.de(de_ImportCertificateAuthorityCertificateCommand)
|
|
1441
|
+
.build() {
|
|
1442
|
+
}
|
|
1695
1443
|
|
|
1444
|
+
class IssueCertificateCommand extends smithyClient.Command
|
|
1445
|
+
.classBuilder()
|
|
1446
|
+
.ep(commonParams)
|
|
1447
|
+
.m(function (Command, cs, config, o) {
|
|
1448
|
+
return [
|
|
1449
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1450
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1451
|
+
];
|
|
1452
|
+
})
|
|
1453
|
+
.s("ACMPrivateCA", "IssueCertificate", {})
|
|
1454
|
+
.n("ACMPCAClient", "IssueCertificateCommand")
|
|
1455
|
+
.f(void 0, void 0)
|
|
1456
|
+
.ser(se_IssueCertificateCommand)
|
|
1457
|
+
.de(de_IssueCertificateCommand)
|
|
1458
|
+
.build() {
|
|
1459
|
+
}
|
|
1696
1460
|
|
|
1461
|
+
class ListCertificateAuthoritiesCommand extends smithyClient.Command
|
|
1462
|
+
.classBuilder()
|
|
1463
|
+
.ep(commonParams)
|
|
1464
|
+
.m(function (Command, cs, config, o) {
|
|
1465
|
+
return [
|
|
1466
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1467
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1468
|
+
];
|
|
1469
|
+
})
|
|
1470
|
+
.s("ACMPrivateCA", "ListCertificateAuthorities", {})
|
|
1471
|
+
.n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
|
|
1472
|
+
.f(void 0, void 0)
|
|
1473
|
+
.ser(se_ListCertificateAuthoritiesCommand)
|
|
1474
|
+
.de(de_ListCertificateAuthoritiesCommand)
|
|
1475
|
+
.build() {
|
|
1476
|
+
}
|
|
1697
1477
|
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
(
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
}
|
|
1478
|
+
class ListPermissionsCommand extends smithyClient.Command
|
|
1479
|
+
.classBuilder()
|
|
1480
|
+
.ep(commonParams)
|
|
1481
|
+
.m(function (Command, cs, config, o) {
|
|
1482
|
+
return [
|
|
1483
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1484
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1485
|
+
];
|
|
1486
|
+
})
|
|
1487
|
+
.s("ACMPrivateCA", "ListPermissions", {})
|
|
1488
|
+
.n("ACMPCAClient", "ListPermissionsCommand")
|
|
1489
|
+
.f(void 0, void 0)
|
|
1490
|
+
.ser(se_ListPermissionsCommand)
|
|
1491
|
+
.de(de_ListPermissionsCommand)
|
|
1492
|
+
.build() {
|
|
1493
|
+
}
|
|
1708
1494
|
|
|
1709
|
-
|
|
1495
|
+
class ListTagsCommand extends smithyClient.Command
|
|
1496
|
+
.classBuilder()
|
|
1497
|
+
.ep(commonParams)
|
|
1498
|
+
.m(function (Command, cs, config, o) {
|
|
1499
|
+
return [
|
|
1500
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1501
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1502
|
+
];
|
|
1503
|
+
})
|
|
1504
|
+
.s("ACMPrivateCA", "ListTags", {})
|
|
1505
|
+
.n("ACMPCAClient", "ListTagsCommand")
|
|
1506
|
+
.f(void 0, void 0)
|
|
1507
|
+
.ser(se_ListTagsCommand)
|
|
1508
|
+
.de(de_ListTagsCommand)
|
|
1509
|
+
.build() {
|
|
1510
|
+
}
|
|
1710
1511
|
|
|
1512
|
+
class PutPolicyCommand extends smithyClient.Command
|
|
1513
|
+
.classBuilder()
|
|
1514
|
+
.ep(commonParams)
|
|
1515
|
+
.m(function (Command, cs, config, o) {
|
|
1516
|
+
return [
|
|
1517
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1518
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1519
|
+
];
|
|
1520
|
+
})
|
|
1521
|
+
.s("ACMPrivateCA", "PutPolicy", {})
|
|
1522
|
+
.n("ACMPCAClient", "PutPolicyCommand")
|
|
1523
|
+
.f(void 0, void 0)
|
|
1524
|
+
.ser(se_PutPolicyCommand)
|
|
1525
|
+
.de(de_PutPolicyCommand)
|
|
1526
|
+
.build() {
|
|
1527
|
+
}
|
|
1711
1528
|
|
|
1529
|
+
class RestoreCertificateAuthorityCommand extends smithyClient.Command
|
|
1530
|
+
.classBuilder()
|
|
1531
|
+
.ep(commonParams)
|
|
1532
|
+
.m(function (Command, cs, config, o) {
|
|
1533
|
+
return [
|
|
1534
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1535
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1536
|
+
];
|
|
1537
|
+
})
|
|
1538
|
+
.s("ACMPrivateCA", "RestoreCertificateAuthority", {})
|
|
1539
|
+
.n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
|
|
1540
|
+
.f(void 0, void 0)
|
|
1541
|
+
.ser(se_RestoreCertificateAuthorityCommand)
|
|
1542
|
+
.de(de_RestoreCertificateAuthorityCommand)
|
|
1543
|
+
.build() {
|
|
1544
|
+
}
|
|
1712
1545
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
(
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
}
|
|
1546
|
+
class RevokeCertificateCommand extends smithyClient.Command
|
|
1547
|
+
.classBuilder()
|
|
1548
|
+
.ep(commonParams)
|
|
1549
|
+
.m(function (Command, cs, config, o) {
|
|
1550
|
+
return [
|
|
1551
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1552
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1553
|
+
];
|
|
1554
|
+
})
|
|
1555
|
+
.s("ACMPrivateCA", "RevokeCertificate", {})
|
|
1556
|
+
.n("ACMPCAClient", "RevokeCertificateCommand")
|
|
1557
|
+
.f(void 0, void 0)
|
|
1558
|
+
.ser(se_RevokeCertificateCommand)
|
|
1559
|
+
.de(de_RevokeCertificateCommand)
|
|
1560
|
+
.build() {
|
|
1561
|
+
}
|
|
1723
1562
|
|
|
1724
|
-
|
|
1563
|
+
class TagCertificateAuthorityCommand extends smithyClient.Command
|
|
1564
|
+
.classBuilder()
|
|
1565
|
+
.ep(commonParams)
|
|
1566
|
+
.m(function (Command, cs, config, o) {
|
|
1567
|
+
return [
|
|
1568
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1569
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1570
|
+
];
|
|
1571
|
+
})
|
|
1572
|
+
.s("ACMPrivateCA", "TagCertificateAuthority", {})
|
|
1573
|
+
.n("ACMPCAClient", "TagCertificateAuthorityCommand")
|
|
1574
|
+
.f(void 0, void 0)
|
|
1575
|
+
.ser(se_TagCertificateAuthorityCommand)
|
|
1576
|
+
.de(de_TagCertificateAuthorityCommand)
|
|
1577
|
+
.build() {
|
|
1578
|
+
}
|
|
1725
1579
|
|
|
1580
|
+
class UntagCertificateAuthorityCommand extends smithyClient.Command
|
|
1581
|
+
.classBuilder()
|
|
1582
|
+
.ep(commonParams)
|
|
1583
|
+
.m(function (Command, cs, config, o) {
|
|
1584
|
+
return [
|
|
1585
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1586
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1587
|
+
];
|
|
1588
|
+
})
|
|
1589
|
+
.s("ACMPrivateCA", "UntagCertificateAuthority", {})
|
|
1590
|
+
.n("ACMPCAClient", "UntagCertificateAuthorityCommand")
|
|
1591
|
+
.f(void 0, void 0)
|
|
1592
|
+
.ser(se_UntagCertificateAuthorityCommand)
|
|
1593
|
+
.de(de_UntagCertificateAuthorityCommand)
|
|
1594
|
+
.build() {
|
|
1595
|
+
}
|
|
1726
1596
|
|
|
1597
|
+
class UpdateCertificateAuthorityCommand extends smithyClient.Command
|
|
1598
|
+
.classBuilder()
|
|
1599
|
+
.ep(commonParams)
|
|
1600
|
+
.m(function (Command, cs, config, o) {
|
|
1601
|
+
return [
|
|
1602
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1603
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1604
|
+
];
|
|
1605
|
+
})
|
|
1606
|
+
.s("ACMPrivateCA", "UpdateCertificateAuthority", {})
|
|
1607
|
+
.n("ACMPCAClient", "UpdateCertificateAuthorityCommand")
|
|
1608
|
+
.f(void 0, void 0)
|
|
1609
|
+
.ser(se_UpdateCertificateAuthorityCommand)
|
|
1610
|
+
.de(de_UpdateCertificateAuthorityCommand)
|
|
1611
|
+
.build() {
|
|
1612
|
+
}
|
|
1727
1613
|
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1614
|
+
const commands = {
|
|
1615
|
+
CreateCertificateAuthorityCommand,
|
|
1616
|
+
CreateCertificateAuthorityAuditReportCommand,
|
|
1617
|
+
CreatePermissionCommand,
|
|
1618
|
+
DeleteCertificateAuthorityCommand,
|
|
1619
|
+
DeletePermissionCommand,
|
|
1620
|
+
DeletePolicyCommand,
|
|
1621
|
+
DescribeCertificateAuthorityCommand,
|
|
1622
|
+
DescribeCertificateAuthorityAuditReportCommand,
|
|
1623
|
+
GetCertificateCommand,
|
|
1624
|
+
GetCertificateAuthorityCertificateCommand,
|
|
1625
|
+
GetCertificateAuthorityCsrCommand,
|
|
1626
|
+
GetPolicyCommand,
|
|
1627
|
+
ImportCertificateAuthorityCertificateCommand,
|
|
1628
|
+
IssueCertificateCommand,
|
|
1629
|
+
ListCertificateAuthoritiesCommand,
|
|
1630
|
+
ListPermissionsCommand,
|
|
1631
|
+
ListTagsCommand,
|
|
1632
|
+
PutPolicyCommand,
|
|
1633
|
+
RestoreCertificateAuthorityCommand,
|
|
1634
|
+
RevokeCertificateCommand,
|
|
1635
|
+
TagCertificateAuthorityCommand,
|
|
1636
|
+
UntagCertificateAuthorityCommand,
|
|
1637
|
+
UpdateCertificateAuthorityCommand,
|
|
1638
|
+
};
|
|
1639
|
+
class ACMPCA extends ACMPCAClient {
|
|
1640
|
+
}
|
|
1641
|
+
smithyClient.createAggregatedClient(commands, ACMPCA);
|
|
1738
1642
|
|
|
1739
|
-
|
|
1643
|
+
const paginateListCertificateAuthorities = core.createPaginator(ACMPCAClient, ListCertificateAuthoritiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1740
1644
|
|
|
1645
|
+
const paginateListPermissions = core.createPaginator(ACMPCAClient, ListPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1741
1646
|
|
|
1647
|
+
const paginateListTags = core.createPaginator(ACMPCAClient, ListTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1742
1648
|
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1649
|
+
const checkState$2 = async (client, input) => {
|
|
1650
|
+
let reason;
|
|
1651
|
+
try {
|
|
1652
|
+
const result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
|
|
1653
|
+
reason = result;
|
|
1654
|
+
try {
|
|
1655
|
+
const returnComparator = () => {
|
|
1656
|
+
return result.AuditReportStatus;
|
|
1657
|
+
};
|
|
1658
|
+
if (returnComparator() === "SUCCESS") {
|
|
1659
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
catch (e) { }
|
|
1663
|
+
try {
|
|
1664
|
+
const returnComparator = () => {
|
|
1665
|
+
return result.AuditReportStatus;
|
|
1666
|
+
};
|
|
1667
|
+
if (returnComparator() === "FAILED") {
|
|
1668
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
catch (e) { }
|
|
1672
|
+
}
|
|
1673
|
+
catch (exception) {
|
|
1674
|
+
reason = exception;
|
|
1675
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1676
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1752
1680
|
};
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
var RestoreCertificateAuthorityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1759
|
-
return [
|
|
1760
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1761
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1762
|
-
];
|
|
1763
|
-
}).s("ACMPrivateCA", "RestoreCertificateAuthority", {}).n("ACMPCAClient", "RestoreCertificateAuthorityCommand").f(void 0, void 0).ser(se_RestoreCertificateAuthorityCommand).de(de_RestoreCertificateAuthorityCommand).build() {
|
|
1764
|
-
static {
|
|
1765
|
-
__name(this, "RestoreCertificateAuthorityCommand");
|
|
1766
|
-
}
|
|
1681
|
+
const waitForAuditReportCreated = async (params, input) => {
|
|
1682
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1683
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1767
1684
|
};
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
var RevokeCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1774
|
-
return [
|
|
1775
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1776
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1777
|
-
];
|
|
1778
|
-
}).s("ACMPrivateCA", "RevokeCertificate", {}).n("ACMPCAClient", "RevokeCertificateCommand").f(void 0, void 0).ser(se_RevokeCertificateCommand).de(de_RevokeCertificateCommand).build() {
|
|
1779
|
-
static {
|
|
1780
|
-
__name(this, "RevokeCertificateCommand");
|
|
1781
|
-
}
|
|
1685
|
+
const waitUntilAuditReportCreated = async (params, input) => {
|
|
1686
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1687
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1688
|
+
return utilWaiter.checkExceptions(result);
|
|
1782
1689
|
};
|
|
1783
1690
|
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
(
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1691
|
+
const checkState$1 = async (client, input) => {
|
|
1692
|
+
let reason;
|
|
1693
|
+
try {
|
|
1694
|
+
const result = await client.send(new GetCertificateAuthorityCsrCommand(input));
|
|
1695
|
+
reason = result;
|
|
1696
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1697
|
+
}
|
|
1698
|
+
catch (exception) {
|
|
1699
|
+
reason = exception;
|
|
1700
|
+
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1701
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1702
|
+
}
|
|
1703
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1704
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1797
1708
|
};
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
var UntagCertificateAuthorityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1804
|
-
return [
|
|
1805
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1806
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1807
|
-
];
|
|
1808
|
-
}).s("ACMPrivateCA", "UntagCertificateAuthority", {}).n("ACMPCAClient", "UntagCertificateAuthorityCommand").f(void 0, void 0).ser(se_UntagCertificateAuthorityCommand).de(de_UntagCertificateAuthorityCommand).build() {
|
|
1809
|
-
static {
|
|
1810
|
-
__name(this, "UntagCertificateAuthorityCommand");
|
|
1811
|
-
}
|
|
1709
|
+
const waitForCertificateAuthorityCSRCreated = async (params, input) => {
|
|
1710
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1711
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1812
1712
|
};
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
var UpdateCertificateAuthorityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1819
|
-
return [
|
|
1820
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1821
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1822
|
-
];
|
|
1823
|
-
}).s("ACMPrivateCA", "UpdateCertificateAuthority", {}).n("ACMPCAClient", "UpdateCertificateAuthorityCommand").f(void 0, void 0).ser(se_UpdateCertificateAuthorityCommand).de(de_UpdateCertificateAuthorityCommand).build() {
|
|
1824
|
-
static {
|
|
1825
|
-
__name(this, "UpdateCertificateAuthorityCommand");
|
|
1826
|
-
}
|
|
1713
|
+
const waitUntilCertificateAuthorityCSRCreated = async (params, input) => {
|
|
1714
|
+
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1715
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1716
|
+
return utilWaiter.checkExceptions(result);
|
|
1827
1717
|
};
|
|
1828
1718
|
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
CreateCertificateAuthorityCommand,
|
|
1832
|
-
CreateCertificateAuthorityAuditReportCommand,
|
|
1833
|
-
CreatePermissionCommand,
|
|
1834
|
-
DeleteCertificateAuthorityCommand,
|
|
1835
|
-
DeletePermissionCommand,
|
|
1836
|
-
DeletePolicyCommand,
|
|
1837
|
-
DescribeCertificateAuthorityCommand,
|
|
1838
|
-
DescribeCertificateAuthorityAuditReportCommand,
|
|
1839
|
-
GetCertificateCommand,
|
|
1840
|
-
GetCertificateAuthorityCertificateCommand,
|
|
1841
|
-
GetCertificateAuthorityCsrCommand,
|
|
1842
|
-
GetPolicyCommand,
|
|
1843
|
-
ImportCertificateAuthorityCertificateCommand,
|
|
1844
|
-
IssueCertificateCommand,
|
|
1845
|
-
ListCertificateAuthoritiesCommand,
|
|
1846
|
-
ListPermissionsCommand,
|
|
1847
|
-
ListTagsCommand,
|
|
1848
|
-
PutPolicyCommand,
|
|
1849
|
-
RestoreCertificateAuthorityCommand,
|
|
1850
|
-
RevokeCertificateCommand,
|
|
1851
|
-
TagCertificateAuthorityCommand,
|
|
1852
|
-
UntagCertificateAuthorityCommand,
|
|
1853
|
-
UpdateCertificateAuthorityCommand
|
|
1854
|
-
};
|
|
1855
|
-
var ACMPCA = class extends ACMPCAClient {
|
|
1856
|
-
static {
|
|
1857
|
-
__name(this, "ACMPCA");
|
|
1858
|
-
}
|
|
1859
|
-
};
|
|
1860
|
-
(0, import_smithy_client.createAggregatedClient)(commands, ACMPCA);
|
|
1861
|
-
|
|
1862
|
-
// src/pagination/ListCertificateAuthoritiesPaginator.ts
|
|
1863
|
-
|
|
1864
|
-
var paginateListCertificateAuthorities = (0, import_core.createPaginator)(ACMPCAClient, ListCertificateAuthoritiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1865
|
-
|
|
1866
|
-
// src/pagination/ListPermissionsPaginator.ts
|
|
1867
|
-
|
|
1868
|
-
var paginateListPermissions = (0, import_core.createPaginator)(ACMPCAClient, ListPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1869
|
-
|
|
1870
|
-
// src/pagination/ListTagsPaginator.ts
|
|
1871
|
-
|
|
1872
|
-
var paginateListTags = (0, import_core.createPaginator)(ACMPCAClient, ListTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1873
|
-
|
|
1874
|
-
// src/waiters/waitForAuditReportCreated.ts
|
|
1875
|
-
var import_util_waiter = require("@smithy/util-waiter");
|
|
1876
|
-
var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
1877
|
-
let reason;
|
|
1878
|
-
try {
|
|
1879
|
-
const result = await client.send(new DescribeCertificateAuthorityAuditReportCommand(input));
|
|
1880
|
-
reason = result;
|
|
1881
|
-
try {
|
|
1882
|
-
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1883
|
-
return result.AuditReportStatus;
|
|
1884
|
-
}, "returnComparator");
|
|
1885
|
-
if (returnComparator() === "SUCCESS") {
|
|
1886
|
-
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1887
|
-
}
|
|
1888
|
-
} catch (e) {
|
|
1889
|
-
}
|
|
1719
|
+
const checkState = async (client, input) => {
|
|
1720
|
+
let reason;
|
|
1890
1721
|
try {
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
if (returnComparator() === "FAILED") {
|
|
1895
|
-
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1896
|
-
}
|
|
1897
|
-
} catch (e) {
|
|
1722
|
+
const result = await client.send(new GetCertificateCommand(input));
|
|
1723
|
+
reason = result;
|
|
1724
|
+
return { state: utilWaiter.WaiterState.SUCCESS, reason };
|
|
1898
1725
|
}
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1726
|
+
catch (exception) {
|
|
1727
|
+
reason = exception;
|
|
1728
|
+
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1729
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1730
|
+
}
|
|
1731
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1732
|
+
return { state: utilWaiter.WaiterState.FAILURE, reason };
|
|
1733
|
+
}
|
|
1903
1734
|
}
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
}, "waitUntilAuditReportCreated");
|
|
1916
|
-
|
|
1917
|
-
// src/waiters/waitForCertificateAuthorityCSRCreated.ts
|
|
1918
|
-
|
|
1919
|
-
var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
1920
|
-
let reason;
|
|
1921
|
-
try {
|
|
1922
|
-
const result = await client.send(new GetCertificateAuthorityCsrCommand(input));
|
|
1923
|
-
reason = result;
|
|
1924
|
-
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1925
|
-
} catch (exception) {
|
|
1926
|
-
reason = exception;
|
|
1927
|
-
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1928
|
-
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1929
|
-
}
|
|
1930
|
-
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1931
|
-
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1932
|
-
}
|
|
1933
|
-
}
|
|
1934
|
-
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1935
|
-
}, "checkState");
|
|
1936
|
-
var waitForCertificateAuthorityCSRCreated = /* @__PURE__ */ __name(async (params, input) => {
|
|
1937
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1938
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
1939
|
-
}, "waitForCertificateAuthorityCSRCreated");
|
|
1940
|
-
var waitUntilCertificateAuthorityCSRCreated = /* @__PURE__ */ __name(async (params, input) => {
|
|
1941
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 180 };
|
|
1942
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
1943
|
-
return (0, import_util_waiter.checkExceptions)(result);
|
|
1944
|
-
}, "waitUntilCertificateAuthorityCSRCreated");
|
|
1945
|
-
|
|
1946
|
-
// src/waiters/waitForCertificateIssued.ts
|
|
1947
|
-
|
|
1948
|
-
var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
1949
|
-
let reason;
|
|
1950
|
-
try {
|
|
1951
|
-
const result = await client.send(new GetCertificateCommand(input));
|
|
1952
|
-
reason = result;
|
|
1953
|
-
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1954
|
-
} catch (exception) {
|
|
1955
|
-
reason = exception;
|
|
1956
|
-
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1957
|
-
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1958
|
-
}
|
|
1959
|
-
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1960
|
-
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1964
|
-
}, "checkState");
|
|
1965
|
-
var waitForCertificateIssued = /* @__PURE__ */ __name(async (params, input) => {
|
|
1966
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
|
|
1967
|
-
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
1968
|
-
}, "waitForCertificateIssued");
|
|
1969
|
-
var waitUntilCertificateIssued = /* @__PURE__ */ __name(async (params, input) => {
|
|
1970
|
-
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
|
|
1971
|
-
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
1972
|
-
return (0, import_util_waiter.checkExceptions)(result);
|
|
1973
|
-
}, "waitUntilCertificateIssued");
|
|
1974
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1735
|
+
return { state: utilWaiter.WaiterState.RETRY, reason };
|
|
1736
|
+
};
|
|
1737
|
+
const waitForCertificateIssued = async (params, input) => {
|
|
1738
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
|
|
1739
|
+
return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1740
|
+
};
|
|
1741
|
+
const waitUntilCertificateIssued = async (params, input) => {
|
|
1742
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 60 };
|
|
1743
|
+
const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1744
|
+
return utilWaiter.checkExceptions(result);
|
|
1745
|
+
};
|
|
1975
1746
|
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
ACMPCAClient,
|
|
1980
|
-
ACMPCA,
|
|
1981
|
-
$Command,
|
|
1982
|
-
CreateCertificateAuthorityAuditReportCommand,
|
|
1983
|
-
CreateCertificateAuthorityCommand,
|
|
1984
|
-
CreatePermissionCommand,
|
|
1985
|
-
DeleteCertificateAuthorityCommand,
|
|
1986
|
-
DeletePermissionCommand,
|
|
1987
|
-
DeletePolicyCommand,
|
|
1988
|
-
DescribeCertificateAuthorityAuditReportCommand,
|
|
1989
|
-
DescribeCertificateAuthorityCommand,
|
|
1990
|
-
GetCertificateAuthorityCertificateCommand,
|
|
1991
|
-
GetCertificateAuthorityCsrCommand,
|
|
1992
|
-
GetCertificateCommand,
|
|
1993
|
-
GetPolicyCommand,
|
|
1994
|
-
ImportCertificateAuthorityCertificateCommand,
|
|
1995
|
-
IssueCertificateCommand,
|
|
1996
|
-
ListCertificateAuthoritiesCommand,
|
|
1997
|
-
ListPermissionsCommand,
|
|
1998
|
-
ListTagsCommand,
|
|
1999
|
-
PutPolicyCommand,
|
|
2000
|
-
RestoreCertificateAuthorityCommand,
|
|
2001
|
-
RevokeCertificateCommand,
|
|
2002
|
-
TagCertificateAuthorityCommand,
|
|
2003
|
-
UntagCertificateAuthorityCommand,
|
|
2004
|
-
UpdateCertificateAuthorityCommand,
|
|
2005
|
-
paginateListCertificateAuthorities,
|
|
2006
|
-
paginateListPermissions,
|
|
2007
|
-
paginateListTags,
|
|
2008
|
-
waitForAuditReportCreated,
|
|
2009
|
-
waitUntilAuditReportCreated,
|
|
2010
|
-
waitForCertificateAuthorityCSRCreated,
|
|
2011
|
-
waitUntilCertificateAuthorityCSRCreated,
|
|
2012
|
-
waitForCertificateIssued,
|
|
2013
|
-
waitUntilCertificateIssued,
|
|
2014
|
-
AccessMethodType,
|
|
2015
|
-
KeyAlgorithm,
|
|
2016
|
-
SigningAlgorithm,
|
|
2017
|
-
CertificateAuthorityType,
|
|
2018
|
-
KeyStorageSecurityStandard,
|
|
2019
|
-
CrlType,
|
|
2020
|
-
S3ObjectAcl,
|
|
2021
|
-
CertificateAuthorityUsageMode,
|
|
2022
|
-
InvalidArgsException,
|
|
2023
|
-
InvalidPolicyException,
|
|
2024
|
-
InvalidTagException,
|
|
2025
|
-
LimitExceededException,
|
|
2026
|
-
AuditReportResponseFormat,
|
|
2027
|
-
InvalidArnException,
|
|
2028
|
-
InvalidStateException,
|
|
2029
|
-
RequestFailedException,
|
|
2030
|
-
RequestInProgressException,
|
|
2031
|
-
ResourceNotFoundException,
|
|
2032
|
-
ActionType,
|
|
2033
|
-
PermissionAlreadyExistsException,
|
|
2034
|
-
ConcurrentModificationException,
|
|
2035
|
-
LockoutPreventedException,
|
|
2036
|
-
FailureReason,
|
|
2037
|
-
CertificateAuthorityStatus,
|
|
2038
|
-
AuditReportStatus,
|
|
2039
|
-
CertificateMismatchException,
|
|
2040
|
-
InvalidRequestException,
|
|
2041
|
-
MalformedCertificateException,
|
|
2042
|
-
PolicyQualifierId,
|
|
2043
|
-
ExtendedKeyUsageType,
|
|
2044
|
-
ValidityPeriodType,
|
|
2045
|
-
MalformedCSRException,
|
|
2046
|
-
InvalidNextTokenException,
|
|
2047
|
-
ResourceOwner,
|
|
2048
|
-
RequestAlreadyProcessedException,
|
|
2049
|
-
RevocationReason,
|
|
2050
|
-
TooManyTagsException
|
|
1747
|
+
Object.defineProperty(exports, "$Command", {
|
|
1748
|
+
enumerable: true,
|
|
1749
|
+
get: function () { return smithyClient.Command; }
|
|
2051
1750
|
});
|
|
2052
|
-
|
|
1751
|
+
Object.defineProperty(exports, "__Client", {
|
|
1752
|
+
enumerable: true,
|
|
1753
|
+
get: function () { return smithyClient.Client; }
|
|
1754
|
+
});
|
|
1755
|
+
exports.ACMPCA = ACMPCA;
|
|
1756
|
+
exports.ACMPCAClient = ACMPCAClient;
|
|
1757
|
+
exports.ACMPCAServiceException = ACMPCAServiceException;
|
|
1758
|
+
exports.AccessMethodType = AccessMethodType;
|
|
1759
|
+
exports.ActionType = ActionType;
|
|
1760
|
+
exports.AuditReportResponseFormat = AuditReportResponseFormat;
|
|
1761
|
+
exports.AuditReportStatus = AuditReportStatus;
|
|
1762
|
+
exports.CertificateAuthorityStatus = CertificateAuthorityStatus;
|
|
1763
|
+
exports.CertificateAuthorityType = CertificateAuthorityType;
|
|
1764
|
+
exports.CertificateAuthorityUsageMode = CertificateAuthorityUsageMode;
|
|
1765
|
+
exports.CertificateMismatchException = CertificateMismatchException;
|
|
1766
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
1767
|
+
exports.CreateCertificateAuthorityAuditReportCommand = CreateCertificateAuthorityAuditReportCommand;
|
|
1768
|
+
exports.CreateCertificateAuthorityCommand = CreateCertificateAuthorityCommand;
|
|
1769
|
+
exports.CreatePermissionCommand = CreatePermissionCommand;
|
|
1770
|
+
exports.CrlType = CrlType;
|
|
1771
|
+
exports.DeleteCertificateAuthorityCommand = DeleteCertificateAuthorityCommand;
|
|
1772
|
+
exports.DeletePermissionCommand = DeletePermissionCommand;
|
|
1773
|
+
exports.DeletePolicyCommand = DeletePolicyCommand;
|
|
1774
|
+
exports.DescribeCertificateAuthorityAuditReportCommand = DescribeCertificateAuthorityAuditReportCommand;
|
|
1775
|
+
exports.DescribeCertificateAuthorityCommand = DescribeCertificateAuthorityCommand;
|
|
1776
|
+
exports.ExtendedKeyUsageType = ExtendedKeyUsageType;
|
|
1777
|
+
exports.FailureReason = FailureReason;
|
|
1778
|
+
exports.GetCertificateAuthorityCertificateCommand = GetCertificateAuthorityCertificateCommand;
|
|
1779
|
+
exports.GetCertificateAuthorityCsrCommand = GetCertificateAuthorityCsrCommand;
|
|
1780
|
+
exports.GetCertificateCommand = GetCertificateCommand;
|
|
1781
|
+
exports.GetPolicyCommand = GetPolicyCommand;
|
|
1782
|
+
exports.ImportCertificateAuthorityCertificateCommand = ImportCertificateAuthorityCertificateCommand;
|
|
1783
|
+
exports.InvalidArgsException = InvalidArgsException;
|
|
1784
|
+
exports.InvalidArnException = InvalidArnException;
|
|
1785
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
1786
|
+
exports.InvalidPolicyException = InvalidPolicyException;
|
|
1787
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
1788
|
+
exports.InvalidStateException = InvalidStateException;
|
|
1789
|
+
exports.InvalidTagException = InvalidTagException;
|
|
1790
|
+
exports.IssueCertificateCommand = IssueCertificateCommand;
|
|
1791
|
+
exports.KeyAlgorithm = KeyAlgorithm;
|
|
1792
|
+
exports.KeyStorageSecurityStandard = KeyStorageSecurityStandard;
|
|
1793
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1794
|
+
exports.ListCertificateAuthoritiesCommand = ListCertificateAuthoritiesCommand;
|
|
1795
|
+
exports.ListPermissionsCommand = ListPermissionsCommand;
|
|
1796
|
+
exports.ListTagsCommand = ListTagsCommand;
|
|
1797
|
+
exports.LockoutPreventedException = LockoutPreventedException;
|
|
1798
|
+
exports.MalformedCSRException = MalformedCSRException;
|
|
1799
|
+
exports.MalformedCertificateException = MalformedCertificateException;
|
|
1800
|
+
exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
|
|
1801
|
+
exports.PolicyQualifierId = PolicyQualifierId;
|
|
1802
|
+
exports.PutPolicyCommand = PutPolicyCommand;
|
|
1803
|
+
exports.RequestAlreadyProcessedException = RequestAlreadyProcessedException;
|
|
1804
|
+
exports.RequestFailedException = RequestFailedException;
|
|
1805
|
+
exports.RequestInProgressException = RequestInProgressException;
|
|
1806
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1807
|
+
exports.ResourceOwner = ResourceOwner;
|
|
1808
|
+
exports.RestoreCertificateAuthorityCommand = RestoreCertificateAuthorityCommand;
|
|
1809
|
+
exports.RevocationReason = RevocationReason;
|
|
1810
|
+
exports.RevokeCertificateCommand = RevokeCertificateCommand;
|
|
1811
|
+
exports.S3ObjectAcl = S3ObjectAcl;
|
|
1812
|
+
exports.SigningAlgorithm = SigningAlgorithm;
|
|
1813
|
+
exports.TagCertificateAuthorityCommand = TagCertificateAuthorityCommand;
|
|
1814
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1815
|
+
exports.UntagCertificateAuthorityCommand = UntagCertificateAuthorityCommand;
|
|
1816
|
+
exports.UpdateCertificateAuthorityCommand = UpdateCertificateAuthorityCommand;
|
|
1817
|
+
exports.ValidityPeriodType = ValidityPeriodType;
|
|
1818
|
+
exports.paginateListCertificateAuthorities = paginateListCertificateAuthorities;
|
|
1819
|
+
exports.paginateListPermissions = paginateListPermissions;
|
|
1820
|
+
exports.paginateListTags = paginateListTags;
|
|
1821
|
+
exports.waitForAuditReportCreated = waitForAuditReportCreated;
|
|
1822
|
+
exports.waitForCertificateAuthorityCSRCreated = waitForCertificateAuthorityCSRCreated;
|
|
1823
|
+
exports.waitForCertificateIssued = waitForCertificateIssued;
|
|
1824
|
+
exports.waitUntilAuditReportCreated = waitUntilAuditReportCreated;
|
|
1825
|
+
exports.waitUntilCertificateAuthorityCSRCreated = waitUntilCertificateAuthorityCSRCreated;
|
|
1826
|
+
exports.waitUntilCertificateIssued = waitUntilCertificateIssued;
|