@aws-sdk/client-acm-pca 3.1076.0 → 3.1078.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 +34 -235
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +2 -14
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/CreatePermissionCommand.js +2 -14
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/DeletePermissionCommand.js +2 -14
- package/dist-es/commands/DeletePolicyCommand.js +2 -14
- package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +2 -14
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +2 -14
- package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +2 -14
- package/dist-es/commands/GetCertificateCommand.js +2 -14
- package/dist-es/commands/GetPolicyCommand.js +2 -14
- package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +2 -14
- package/dist-es/commands/IssueCertificateCommand.js +2 -14
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js +2 -14
- package/dist-es/commands/ListPermissionsCommand.js +2 -14
- package/dist-es/commands/ListTagsCommand.js +2 -14
- package/dist-es/commands/PutPolicyCommand.js +2 -14
- package/dist-es/commands/RestoreCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/RevokeCertificateCommand.js +2 -14
- package/dist-es/commands/TagCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/UntagCertificateAuthorityCommand.js +2 -14
- package/dist-es/commands/UpdateCertificateAuthorityCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +3 -8
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/CreatePermissionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/DeletePermissionCommand.d.ts +3 -8
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +3 -8
- package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +3 -8
- package/dist-types/commands/GetCertificateCommand.d.ts +3 -8
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +3 -8
- package/dist-types/commands/IssueCertificateCommand.d.ts +3 -8
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +3 -8
- package/dist-types/commands/ListPermissionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsCommand.d.ts +3 -8
- package/dist-types/commands/PutPolicyCommand.d.ts +3 -8
- package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/RevokeCertificateCommand.d.ts +3 -8
- package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultACMPCAHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1133,6 +1135,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1133
1135
|
serviceTarget: "ACMPrivateCA",
|
|
1134
1136
|
},
|
|
1135
1137
|
serviceId: config?.serviceId ?? "ACM PCA",
|
|
1138
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1136
1139
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1137
1140
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1138
1141
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1166,7 +1169,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1166
1169
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1167
1170
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1168
1171
|
}, config),
|
|
1169
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1170
1172
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1171
1173
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1172
1174
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1254,280 +1256,77 @@ class ACMPCAClient extends Client {
|
|
|
1254
1256
|
}
|
|
1255
1257
|
}
|
|
1256
1258
|
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
})
|
|
1263
|
-
.s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
|
|
1264
|
-
.n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
|
|
1265
|
-
.sc(CreateCertificateAuthorityAuditReport$)
|
|
1266
|
-
.build() {
|
|
1259
|
+
const command = makeBuilder(commonParams, "ACMPrivateCA", "ACMPCAClient", getEndpointPlugin);
|
|
1260
|
+
const _ep0 = {};
|
|
1261
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1262
|
+
|
|
1263
|
+
class CreateCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "CreateCertificateAuthorityAuditReport", CreateCertificateAuthorityAuditReport$) {
|
|
1267
1264
|
}
|
|
1268
1265
|
|
|
1269
|
-
class CreateCertificateAuthorityCommand extends
|
|
1270
|
-
.classBuilder()
|
|
1271
|
-
.ep(commonParams)
|
|
1272
|
-
.m(function (Command, cs, config, o) {
|
|
1273
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1274
|
-
})
|
|
1275
|
-
.s("ACMPrivateCA", "CreateCertificateAuthority", {})
|
|
1276
|
-
.n("ACMPCAClient", "CreateCertificateAuthorityCommand")
|
|
1277
|
-
.sc(CreateCertificateAuthority$)
|
|
1278
|
-
.build() {
|
|
1266
|
+
class CreateCertificateAuthorityCommand extends command(_ep0, _mw0, "CreateCertificateAuthority", CreateCertificateAuthority$) {
|
|
1279
1267
|
}
|
|
1280
1268
|
|
|
1281
|
-
class CreatePermissionCommand extends
|
|
1282
|
-
.classBuilder()
|
|
1283
|
-
.ep(commonParams)
|
|
1284
|
-
.m(function (Command, cs, config, o) {
|
|
1285
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1286
|
-
})
|
|
1287
|
-
.s("ACMPrivateCA", "CreatePermission", {})
|
|
1288
|
-
.n("ACMPCAClient", "CreatePermissionCommand")
|
|
1289
|
-
.sc(CreatePermission$)
|
|
1290
|
-
.build() {
|
|
1269
|
+
class CreatePermissionCommand extends command(_ep0, _mw0, "CreatePermission", CreatePermission$) {
|
|
1291
1270
|
}
|
|
1292
1271
|
|
|
1293
|
-
class DeleteCertificateAuthorityCommand extends
|
|
1294
|
-
.classBuilder()
|
|
1295
|
-
.ep(commonParams)
|
|
1296
|
-
.m(function (Command, cs, config, o) {
|
|
1297
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1298
|
-
})
|
|
1299
|
-
.s("ACMPrivateCA", "DeleteCertificateAuthority", {})
|
|
1300
|
-
.n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
|
|
1301
|
-
.sc(DeleteCertificateAuthority$)
|
|
1302
|
-
.build() {
|
|
1272
|
+
class DeleteCertificateAuthorityCommand extends command(_ep0, _mw0, "DeleteCertificateAuthority", DeleteCertificateAuthority$) {
|
|
1303
1273
|
}
|
|
1304
1274
|
|
|
1305
|
-
class DeletePermissionCommand extends
|
|
1306
|
-
.classBuilder()
|
|
1307
|
-
.ep(commonParams)
|
|
1308
|
-
.m(function (Command, cs, config, o) {
|
|
1309
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1310
|
-
})
|
|
1311
|
-
.s("ACMPrivateCA", "DeletePermission", {})
|
|
1312
|
-
.n("ACMPCAClient", "DeletePermissionCommand")
|
|
1313
|
-
.sc(DeletePermission$)
|
|
1314
|
-
.build() {
|
|
1275
|
+
class DeletePermissionCommand extends command(_ep0, _mw0, "DeletePermission", DeletePermission$) {
|
|
1315
1276
|
}
|
|
1316
1277
|
|
|
1317
|
-
class DeletePolicyCommand extends
|
|
1318
|
-
.classBuilder()
|
|
1319
|
-
.ep(commonParams)
|
|
1320
|
-
.m(function (Command, cs, config, o) {
|
|
1321
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1322
|
-
})
|
|
1323
|
-
.s("ACMPrivateCA", "DeletePolicy", {})
|
|
1324
|
-
.n("ACMPCAClient", "DeletePolicyCommand")
|
|
1325
|
-
.sc(DeletePolicy$)
|
|
1326
|
-
.build() {
|
|
1278
|
+
class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
|
|
1327
1279
|
}
|
|
1328
1280
|
|
|
1329
|
-
class DescribeCertificateAuthorityAuditReportCommand extends
|
|
1330
|
-
.classBuilder()
|
|
1331
|
-
.ep(commonParams)
|
|
1332
|
-
.m(function (Command, cs, config, o) {
|
|
1333
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1334
|
-
})
|
|
1335
|
-
.s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
|
|
1336
|
-
.n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
|
|
1337
|
-
.sc(DescribeCertificateAuthorityAuditReport$)
|
|
1338
|
-
.build() {
|
|
1281
|
+
class DescribeCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "DescribeCertificateAuthorityAuditReport", DescribeCertificateAuthorityAuditReport$) {
|
|
1339
1282
|
}
|
|
1340
1283
|
|
|
1341
|
-
class DescribeCertificateAuthorityCommand extends
|
|
1342
|
-
.classBuilder()
|
|
1343
|
-
.ep(commonParams)
|
|
1344
|
-
.m(function (Command, cs, config, o) {
|
|
1345
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1346
|
-
})
|
|
1347
|
-
.s("ACMPrivateCA", "DescribeCertificateAuthority", {})
|
|
1348
|
-
.n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
|
|
1349
|
-
.sc(DescribeCertificateAuthority$)
|
|
1350
|
-
.build() {
|
|
1284
|
+
class DescribeCertificateAuthorityCommand extends command(_ep0, _mw0, "DescribeCertificateAuthority", DescribeCertificateAuthority$) {
|
|
1351
1285
|
}
|
|
1352
1286
|
|
|
1353
|
-
class GetCertificateAuthorityCertificateCommand extends
|
|
1354
|
-
.classBuilder()
|
|
1355
|
-
.ep(commonParams)
|
|
1356
|
-
.m(function (Command, cs, config, o) {
|
|
1357
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1358
|
-
})
|
|
1359
|
-
.s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
|
|
1360
|
-
.n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
|
|
1361
|
-
.sc(GetCertificateAuthorityCertificate$)
|
|
1362
|
-
.build() {
|
|
1287
|
+
class GetCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCertificate", GetCertificateAuthorityCertificate$) {
|
|
1363
1288
|
}
|
|
1364
1289
|
|
|
1365
|
-
class GetCertificateAuthorityCsrCommand extends
|
|
1366
|
-
.classBuilder()
|
|
1367
|
-
.ep(commonParams)
|
|
1368
|
-
.m(function (Command, cs, config, o) {
|
|
1369
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1370
|
-
})
|
|
1371
|
-
.s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
|
|
1372
|
-
.n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
|
|
1373
|
-
.sc(GetCertificateAuthorityCsr$)
|
|
1374
|
-
.build() {
|
|
1290
|
+
class GetCertificateAuthorityCsrCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCsr", GetCertificateAuthorityCsr$) {
|
|
1375
1291
|
}
|
|
1376
1292
|
|
|
1377
|
-
class GetCertificateCommand extends
|
|
1378
|
-
.classBuilder()
|
|
1379
|
-
.ep(commonParams)
|
|
1380
|
-
.m(function (Command, cs, config, o) {
|
|
1381
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1382
|
-
})
|
|
1383
|
-
.s("ACMPrivateCA", "GetCertificate", {})
|
|
1384
|
-
.n("ACMPCAClient", "GetCertificateCommand")
|
|
1385
|
-
.sc(GetCertificate$)
|
|
1386
|
-
.build() {
|
|
1293
|
+
class GetCertificateCommand extends command(_ep0, _mw0, "GetCertificate", GetCertificate$) {
|
|
1387
1294
|
}
|
|
1388
1295
|
|
|
1389
|
-
class GetPolicyCommand extends
|
|
1390
|
-
.classBuilder()
|
|
1391
|
-
.ep(commonParams)
|
|
1392
|
-
.m(function (Command, cs, config, o) {
|
|
1393
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1394
|
-
})
|
|
1395
|
-
.s("ACMPrivateCA", "GetPolicy", {})
|
|
1396
|
-
.n("ACMPCAClient", "GetPolicyCommand")
|
|
1397
|
-
.sc(GetPolicy$)
|
|
1398
|
-
.build() {
|
|
1296
|
+
class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
|
|
1399
1297
|
}
|
|
1400
1298
|
|
|
1401
|
-
class ImportCertificateAuthorityCertificateCommand extends
|
|
1402
|
-
.classBuilder()
|
|
1403
|
-
.ep(commonParams)
|
|
1404
|
-
.m(function (Command, cs, config, o) {
|
|
1405
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1406
|
-
})
|
|
1407
|
-
.s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
|
|
1408
|
-
.n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
|
|
1409
|
-
.sc(ImportCertificateAuthorityCertificate$)
|
|
1410
|
-
.build() {
|
|
1299
|
+
class ImportCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "ImportCertificateAuthorityCertificate", ImportCertificateAuthorityCertificate$) {
|
|
1411
1300
|
}
|
|
1412
1301
|
|
|
1413
|
-
class IssueCertificateCommand extends
|
|
1414
|
-
.classBuilder()
|
|
1415
|
-
.ep(commonParams)
|
|
1416
|
-
.m(function (Command, cs, config, o) {
|
|
1417
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1418
|
-
})
|
|
1419
|
-
.s("ACMPrivateCA", "IssueCertificate", {})
|
|
1420
|
-
.n("ACMPCAClient", "IssueCertificateCommand")
|
|
1421
|
-
.sc(IssueCertificate$)
|
|
1422
|
-
.build() {
|
|
1302
|
+
class IssueCertificateCommand extends command(_ep0, _mw0, "IssueCertificate", IssueCertificate$) {
|
|
1423
1303
|
}
|
|
1424
1304
|
|
|
1425
|
-
class ListCertificateAuthoritiesCommand extends
|
|
1426
|
-
.classBuilder()
|
|
1427
|
-
.ep(commonParams)
|
|
1428
|
-
.m(function (Command, cs, config, o) {
|
|
1429
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1430
|
-
})
|
|
1431
|
-
.s("ACMPrivateCA", "ListCertificateAuthorities", {})
|
|
1432
|
-
.n("ACMPCAClient", "ListCertificateAuthoritiesCommand")
|
|
1433
|
-
.sc(ListCertificateAuthorities$)
|
|
1434
|
-
.build() {
|
|
1305
|
+
class ListCertificateAuthoritiesCommand extends command(_ep0, _mw0, "ListCertificateAuthorities", ListCertificateAuthorities$) {
|
|
1435
1306
|
}
|
|
1436
1307
|
|
|
1437
|
-
class ListPermissionsCommand extends
|
|
1438
|
-
.classBuilder()
|
|
1439
|
-
.ep(commonParams)
|
|
1440
|
-
.m(function (Command, cs, config, o) {
|
|
1441
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1442
|
-
})
|
|
1443
|
-
.s("ACMPrivateCA", "ListPermissions", {})
|
|
1444
|
-
.n("ACMPCAClient", "ListPermissionsCommand")
|
|
1445
|
-
.sc(ListPermissions$)
|
|
1446
|
-
.build() {
|
|
1308
|
+
class ListPermissionsCommand extends command(_ep0, _mw0, "ListPermissions", ListPermissions$) {
|
|
1447
1309
|
}
|
|
1448
1310
|
|
|
1449
|
-
class ListTagsCommand extends
|
|
1450
|
-
.classBuilder()
|
|
1451
|
-
.ep(commonParams)
|
|
1452
|
-
.m(function (Command, cs, config, o) {
|
|
1453
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1454
|
-
})
|
|
1455
|
-
.s("ACMPrivateCA", "ListTags", {})
|
|
1456
|
-
.n("ACMPCAClient", "ListTagsCommand")
|
|
1457
|
-
.sc(ListTags$)
|
|
1458
|
-
.build() {
|
|
1311
|
+
class ListTagsCommand extends command(_ep0, _mw0, "ListTags", ListTags$) {
|
|
1459
1312
|
}
|
|
1460
1313
|
|
|
1461
|
-
class PutPolicyCommand extends
|
|
1462
|
-
.classBuilder()
|
|
1463
|
-
.ep(commonParams)
|
|
1464
|
-
.m(function (Command, cs, config, o) {
|
|
1465
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1466
|
-
})
|
|
1467
|
-
.s("ACMPrivateCA", "PutPolicy", {})
|
|
1468
|
-
.n("ACMPCAClient", "PutPolicyCommand")
|
|
1469
|
-
.sc(PutPolicy$)
|
|
1470
|
-
.build() {
|
|
1314
|
+
class PutPolicyCommand extends command(_ep0, _mw0, "PutPolicy", PutPolicy$) {
|
|
1471
1315
|
}
|
|
1472
1316
|
|
|
1473
|
-
class RestoreCertificateAuthorityCommand extends
|
|
1474
|
-
.classBuilder()
|
|
1475
|
-
.ep(commonParams)
|
|
1476
|
-
.m(function (Command, cs, config, o) {
|
|
1477
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1478
|
-
})
|
|
1479
|
-
.s("ACMPrivateCA", "RestoreCertificateAuthority", {})
|
|
1480
|
-
.n("ACMPCAClient", "RestoreCertificateAuthorityCommand")
|
|
1481
|
-
.sc(RestoreCertificateAuthority$)
|
|
1482
|
-
.build() {
|
|
1317
|
+
class RestoreCertificateAuthorityCommand extends command(_ep0, _mw0, "RestoreCertificateAuthority", RestoreCertificateAuthority$) {
|
|
1483
1318
|
}
|
|
1484
1319
|
|
|
1485
|
-
class RevokeCertificateCommand extends
|
|
1486
|
-
.classBuilder()
|
|
1487
|
-
.ep(commonParams)
|
|
1488
|
-
.m(function (Command, cs, config, o) {
|
|
1489
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1490
|
-
})
|
|
1491
|
-
.s("ACMPrivateCA", "RevokeCertificate", {})
|
|
1492
|
-
.n("ACMPCAClient", "RevokeCertificateCommand")
|
|
1493
|
-
.sc(RevokeCertificate$)
|
|
1494
|
-
.build() {
|
|
1320
|
+
class RevokeCertificateCommand extends command(_ep0, _mw0, "RevokeCertificate", RevokeCertificate$) {
|
|
1495
1321
|
}
|
|
1496
1322
|
|
|
1497
|
-
class TagCertificateAuthorityCommand extends
|
|
1498
|
-
.classBuilder()
|
|
1499
|
-
.ep(commonParams)
|
|
1500
|
-
.m(function (Command, cs, config, o) {
|
|
1501
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1502
|
-
})
|
|
1503
|
-
.s("ACMPrivateCA", "TagCertificateAuthority", {})
|
|
1504
|
-
.n("ACMPCAClient", "TagCertificateAuthorityCommand")
|
|
1505
|
-
.sc(TagCertificateAuthority$)
|
|
1506
|
-
.build() {
|
|
1323
|
+
class TagCertificateAuthorityCommand extends command(_ep0, _mw0, "TagCertificateAuthority", TagCertificateAuthority$) {
|
|
1507
1324
|
}
|
|
1508
1325
|
|
|
1509
|
-
class UntagCertificateAuthorityCommand extends
|
|
1510
|
-
.classBuilder()
|
|
1511
|
-
.ep(commonParams)
|
|
1512
|
-
.m(function (Command, cs, config, o) {
|
|
1513
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1514
|
-
})
|
|
1515
|
-
.s("ACMPrivateCA", "UntagCertificateAuthority", {})
|
|
1516
|
-
.n("ACMPCAClient", "UntagCertificateAuthorityCommand")
|
|
1517
|
-
.sc(UntagCertificateAuthority$)
|
|
1518
|
-
.build() {
|
|
1326
|
+
class UntagCertificateAuthorityCommand extends command(_ep0, _mw0, "UntagCertificateAuthority", UntagCertificateAuthority$) {
|
|
1519
1327
|
}
|
|
1520
1328
|
|
|
1521
|
-
class UpdateCertificateAuthorityCommand extends
|
|
1522
|
-
.classBuilder()
|
|
1523
|
-
.ep(commonParams)
|
|
1524
|
-
.m(function (Command, cs, config, o) {
|
|
1525
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1526
|
-
})
|
|
1527
|
-
.s("ACMPrivateCA", "UpdateCertificateAuthority", {})
|
|
1528
|
-
.n("ACMPCAClient", "UpdateCertificateAuthorityCommand")
|
|
1529
|
-
.sc(UpdateCertificateAuthority$)
|
|
1530
|
-
.build() {
|
|
1329
|
+
class UpdateCertificateAuthorityCommand extends command(_ep0, _mw0, "UpdateCertificateAuthority", UpdateCertificateAuthority$) {
|
|
1531
1330
|
}
|
|
1532
1331
|
|
|
1533
1332
|
const paginateListCertificateAuthorities = createPaginator(ACMPCAClient, ListCertificateAuthoritiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "ACMPrivateCA", "ACMPCAClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateCertificateAuthorityAuditReport$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateCertificateAuthorityAuditReportCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "CreateCertificateAuthorityAuditReport", {})
|
|
13
|
-
.n("ACMPCAClient", "CreateCertificateAuthorityAuditReportCommand")
|
|
14
|
-
.sc(CreateCertificateAuthorityAuditReport$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "CreateCertificateAuthorityAuditReport", CreateCertificateAuthorityAuditReport$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateCertificateAuthority$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateCertificateAuthorityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "CreateCertificateAuthority", {})
|
|
13
|
-
.n("ACMPCAClient", "CreateCertificateAuthorityCommand")
|
|
14
|
-
.sc(CreateCertificateAuthority$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateCertificateAuthorityCommand extends command(_ep0, _mw0, "CreateCertificateAuthority", CreateCertificateAuthority$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreatePermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreatePermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "CreatePermission", {})
|
|
13
|
-
.n("ACMPCAClient", "CreatePermissionCommand")
|
|
14
|
-
.sc(CreatePermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreatePermissionCommand extends command(_ep0, _mw0, "CreatePermission", CreatePermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteCertificateAuthority$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteCertificateAuthorityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "DeleteCertificateAuthority", {})
|
|
13
|
-
.n("ACMPCAClient", "DeleteCertificateAuthorityCommand")
|
|
14
|
-
.sc(DeleteCertificateAuthority$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteCertificateAuthorityCommand extends command(_ep0, _mw0, "DeleteCertificateAuthority", DeleteCertificateAuthority$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePermission$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePermissionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "DeletePermission", {})
|
|
13
|
-
.n("ACMPCAClient", "DeletePermissionCommand")
|
|
14
|
-
.sc(DeletePermission$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePermissionCommand extends command(_ep0, _mw0, "DeletePermission", DeletePermission$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeletePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeletePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "DeletePolicy", {})
|
|
13
|
-
.n("ACMPCAClient", "DeletePolicyCommand")
|
|
14
|
-
.sc(DeletePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeletePolicyCommand extends command(_ep0, _mw0, "DeletePolicy", DeletePolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeCertificateAuthorityAuditReport$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeCertificateAuthorityAuditReportCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "DescribeCertificateAuthorityAuditReport", {})
|
|
13
|
-
.n("ACMPCAClient", "DescribeCertificateAuthorityAuditReportCommand")
|
|
14
|
-
.sc(DescribeCertificateAuthorityAuditReport$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeCertificateAuthorityAuditReportCommand extends command(_ep0, _mw0, "DescribeCertificateAuthorityAuditReport", DescribeCertificateAuthorityAuditReport$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeCertificateAuthority$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeCertificateAuthorityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "DescribeCertificateAuthority", {})
|
|
13
|
-
.n("ACMPCAClient", "DescribeCertificateAuthorityCommand")
|
|
14
|
-
.sc(DescribeCertificateAuthority$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeCertificateAuthorityCommand extends command(_ep0, _mw0, "DescribeCertificateAuthority", DescribeCertificateAuthority$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetCertificateAuthorityCertificate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCertificateAuthorityCertificateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "GetCertificateAuthorityCertificate", {})
|
|
13
|
-
.n("ACMPCAClient", "GetCertificateAuthorityCertificateCommand")
|
|
14
|
-
.sc(GetCertificateAuthorityCertificate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCertificate", GetCertificateAuthorityCertificate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetCertificateAuthorityCsr$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCertificateAuthorityCsrCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "GetCertificateAuthorityCsr", {})
|
|
13
|
-
.n("ACMPCAClient", "GetCertificateAuthorityCsrCommand")
|
|
14
|
-
.sc(GetCertificateAuthorityCsr$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCertificateAuthorityCsrCommand extends command(_ep0, _mw0, "GetCertificateAuthorityCsr", GetCertificateAuthorityCsr$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetCertificate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCertificateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "GetCertificate", {})
|
|
13
|
-
.n("ACMPCAClient", "GetCertificateCommand")
|
|
14
|
-
.sc(GetCertificate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCertificateCommand extends command(_ep0, _mw0, "GetCertificate", GetCertificate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "GetPolicy", {})
|
|
13
|
-
.n("ACMPCAClient", "GetPolicyCommand")
|
|
14
|
-
.sc(GetPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPolicyCommand extends command(_ep0, _mw0, "GetPolicy", GetPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ImportCertificateAuthorityCertificate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportCertificateAuthorityCertificateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "ImportCertificateAuthorityCertificate", {})
|
|
13
|
-
.n("ACMPCAClient", "ImportCertificateAuthorityCertificateCommand")
|
|
14
|
-
.sc(ImportCertificateAuthorityCertificate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportCertificateAuthorityCertificateCommand extends command(_ep0, _mw0, "ImportCertificateAuthorityCertificate", ImportCertificateAuthorityCertificate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { IssueCertificate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class IssueCertificateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("ACMPrivateCA", "IssueCertificate", {})
|
|
13
|
-
.n("ACMPCAClient", "IssueCertificateCommand")
|
|
14
|
-
.sc(IssueCertificate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class IssueCertificateCommand extends command(_ep0, _mw0, "IssueCertificate", IssueCertificate$) {
|
|
16
4
|
}
|