@aws-sdk/client-kms 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 +171 -651
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CancelKeyDeletionCommand.js +2 -14
- package/dist-es/commands/ConnectCustomKeyStoreCommand.js +2 -14
- package/dist-es/commands/CreateAliasCommand.js +2 -14
- package/dist-es/commands/CreateCustomKeyStoreCommand.js +2 -14
- package/dist-es/commands/CreateGrantCommand.js +2 -14
- package/dist-es/commands/CreateKeyCommand.js +2 -14
- package/dist-es/commands/DecryptCommand.js +2 -14
- package/dist-es/commands/DeleteAliasCommand.js +2 -14
- package/dist-es/commands/DeleteCustomKeyStoreCommand.js +2 -14
- package/dist-es/commands/DeleteImportedKeyMaterialCommand.js +2 -14
- package/dist-es/commands/DeriveSharedSecretCommand.js +2 -14
- package/dist-es/commands/DescribeCustomKeyStoresCommand.js +2 -14
- package/dist-es/commands/DescribeKeyCommand.js +2 -14
- package/dist-es/commands/DisableKeyCommand.js +2 -14
- package/dist-es/commands/DisableKeyRotationCommand.js +2 -14
- package/dist-es/commands/DisconnectCustomKeyStoreCommand.js +2 -14
- package/dist-es/commands/EnableKeyCommand.js +2 -14
- package/dist-es/commands/EnableKeyRotationCommand.js +2 -14
- package/dist-es/commands/EncryptCommand.js +2 -14
- package/dist-es/commands/GenerateDataKeyCommand.js +2 -14
- package/dist-es/commands/GenerateDataKeyPairCommand.js +2 -14
- package/dist-es/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +2 -14
- package/dist-es/commands/GenerateDataKeyWithoutPlaintextCommand.js +2 -14
- package/dist-es/commands/GenerateMacCommand.js +2 -14
- package/dist-es/commands/GenerateRandomCommand.js +2 -14
- package/dist-es/commands/GetKeyLastUsageCommand.js +2 -14
- package/dist-es/commands/GetKeyPolicyCommand.js +2 -14
- package/dist-es/commands/GetKeyRotationStatusCommand.js +2 -14
- package/dist-es/commands/GetParametersForImportCommand.js +2 -14
- package/dist-es/commands/GetPublicKeyCommand.js +2 -14
- package/dist-es/commands/ImportKeyMaterialCommand.js +2 -14
- package/dist-es/commands/ListAliasesCommand.js +2 -14
- package/dist-es/commands/ListGrantsCommand.js +2 -14
- package/dist-es/commands/ListKeyPoliciesCommand.js +2 -14
- package/dist-es/commands/ListKeyRotationsCommand.js +2 -14
- package/dist-es/commands/ListKeysCommand.js +2 -14
- package/dist-es/commands/ListResourceTagsCommand.js +2 -14
- package/dist-es/commands/ListRetirableGrantsCommand.js +2 -14
- package/dist-es/commands/PutKeyPolicyCommand.js +2 -14
- package/dist-es/commands/ReEncryptCommand.js +2 -14
- package/dist-es/commands/ReplicateKeyCommand.js +2 -14
- package/dist-es/commands/RetireGrantCommand.js +2 -14
- package/dist-es/commands/RevokeGrantCommand.js +2 -14
- package/dist-es/commands/RotateKeyOnDemandCommand.js +2 -14
- package/dist-es/commands/ScheduleKeyDeletionCommand.js +2 -14
- package/dist-es/commands/SignCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAliasCommand.js +2 -14
- package/dist-es/commands/UpdateCustomKeyStoreCommand.js +2 -14
- package/dist-es/commands/UpdateKeyDescriptionCommand.js +2 -14
- package/dist-es/commands/UpdatePrimaryRegionCommand.js +2 -14
- package/dist-es/commands/VerifyCommand.js +2 -14
- package/dist-es/commands/VerifyMacCommand.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/CancelKeyDeletionCommand.d.ts +3 -8
- package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +3 -8
- package/dist-types/commands/CreateAliasCommand.d.ts +3 -8
- package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +3 -8
- package/dist-types/commands/CreateGrantCommand.d.ts +3 -8
- package/dist-types/commands/CreateKeyCommand.d.ts +3 -8
- package/dist-types/commands/DecryptCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAliasCommand.d.ts +3 -8
- package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +3 -8
- package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -8
- package/dist-types/commands/DeriveSharedSecretCommand.d.ts +3 -8
- package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +3 -8
- package/dist-types/commands/DescribeKeyCommand.d.ts +3 -8
- package/dist-types/commands/DisableKeyCommand.d.ts +3 -8
- package/dist-types/commands/DisableKeyRotationCommand.d.ts +3 -8
- package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -8
- package/dist-types/commands/EnableKeyCommand.d.ts +3 -8
- package/dist-types/commands/EnableKeyRotationCommand.d.ts +3 -8
- package/dist-types/commands/EncryptCommand.d.ts +3 -8
- package/dist-types/commands/GenerateDataKeyCommand.d.ts +3 -8
- package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -8
- package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -8
- package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -8
- package/dist-types/commands/GenerateMacCommand.d.ts +3 -8
- package/dist-types/commands/GenerateRandomCommand.d.ts +3 -8
- package/dist-types/commands/GetKeyLastUsageCommand.d.ts +3 -8
- package/dist-types/commands/GetKeyPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +3 -8
- package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -8
- package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -8
- package/dist-types/commands/ImportKeyMaterialCommand.d.ts +3 -8
- package/dist-types/commands/ListAliasesCommand.d.ts +3 -8
- package/dist-types/commands/ListGrantsCommand.d.ts +3 -8
- package/dist-types/commands/ListKeyPoliciesCommand.d.ts +3 -8
- package/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -8
- package/dist-types/commands/ListKeysCommand.d.ts +3 -8
- package/dist-types/commands/ListResourceTagsCommand.d.ts +3 -8
- package/dist-types/commands/ListRetirableGrantsCommand.d.ts +3 -8
- package/dist-types/commands/PutKeyPolicyCommand.d.ts +3 -8
- package/dist-types/commands/ReEncryptCommand.d.ts +3 -8
- package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -8
- package/dist-types/commands/RetireGrantCommand.d.ts +3 -8
- package/dist-types/commands/RevokeGrantCommand.d.ts +3 -8
- package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +3 -8
- package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +3 -8
- package/dist-types/commands/SignCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAliasCommand.d.ts +3 -8
- package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +3 -8
- package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +3 -8
- package/dist-types/commands/VerifyCommand.d.ts +3 -8
- package/dist-types/commands/VerifyMacCommand.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/CancelKeyDeletionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeriveSharedSecretCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateMacCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKeyLastUsageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKeyRotationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RotateKeyOnDemandCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SignCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/VerifyMacCommand.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, 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 defaultKMSHttpAuthSchemeParametersProvider = 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
|
|
|
@@ -2146,6 +2148,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
2146
2148
|
serviceTarget: "TrentService",
|
|
2147
2149
|
},
|
|
2148
2150
|
serviceId: config?.serviceId ?? "KMS",
|
|
2151
|
+
sha256: config?.sha256 ?? Sha256,
|
|
2149
2152
|
urlParser: config?.urlParser ?? parseUrl,
|
|
2150
2153
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
2151
2154
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -2179,7 +2182,6 @@ const getRuntimeConfig = (config) => {
|
|
|
2179
2182
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
2180
2183
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
2181
2184
|
}, config),
|
|
2182
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
2183
2185
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
2184
2186
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
2185
2187
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -2267,652 +2269,170 @@ class KMSClient extends Client {
|
|
|
2267
2269
|
}
|
|
2268
2270
|
}
|
|
2269
2271
|
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
}
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
}
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
}
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
}
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
}
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
}
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
.sc(DisableKey$)
|
|
2435
|
-
.build() {
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
class DisableKeyRotationCommand extends Command
|
|
2439
|
-
.classBuilder()
|
|
2440
|
-
.ep(commonParams)
|
|
2441
|
-
.m(function (Command, cs, config, o) {
|
|
2442
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2443
|
-
})
|
|
2444
|
-
.s("TrentService", "DisableKeyRotation", {})
|
|
2445
|
-
.n("KMSClient", "DisableKeyRotationCommand")
|
|
2446
|
-
.sc(DisableKeyRotation$)
|
|
2447
|
-
.build() {
|
|
2448
|
-
}
|
|
2449
|
-
|
|
2450
|
-
class DisconnectCustomKeyStoreCommand extends Command
|
|
2451
|
-
.classBuilder()
|
|
2452
|
-
.ep(commonParams)
|
|
2453
|
-
.m(function (Command, cs, config, o) {
|
|
2454
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2455
|
-
})
|
|
2456
|
-
.s("TrentService", "DisconnectCustomKeyStore", {})
|
|
2457
|
-
.n("KMSClient", "DisconnectCustomKeyStoreCommand")
|
|
2458
|
-
.sc(DisconnectCustomKeyStore$)
|
|
2459
|
-
.build() {
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
class EnableKeyCommand extends Command
|
|
2463
|
-
.classBuilder()
|
|
2464
|
-
.ep(commonParams)
|
|
2465
|
-
.m(function (Command, cs, config, o) {
|
|
2466
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2467
|
-
})
|
|
2468
|
-
.s("TrentService", "EnableKey", {})
|
|
2469
|
-
.n("KMSClient", "EnableKeyCommand")
|
|
2470
|
-
.sc(EnableKey$)
|
|
2471
|
-
.build() {
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
class EnableKeyRotationCommand extends Command
|
|
2475
|
-
.classBuilder()
|
|
2476
|
-
.ep(commonParams)
|
|
2477
|
-
.m(function (Command, cs, config, o) {
|
|
2478
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2479
|
-
})
|
|
2480
|
-
.s("TrentService", "EnableKeyRotation", {})
|
|
2481
|
-
.n("KMSClient", "EnableKeyRotationCommand")
|
|
2482
|
-
.sc(EnableKeyRotation$)
|
|
2483
|
-
.build() {
|
|
2484
|
-
}
|
|
2485
|
-
|
|
2486
|
-
class EncryptCommand extends Command
|
|
2487
|
-
.classBuilder()
|
|
2488
|
-
.ep(commonParams)
|
|
2489
|
-
.m(function (Command, cs, config, o) {
|
|
2490
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2491
|
-
})
|
|
2492
|
-
.s("TrentService", "Encrypt", {})
|
|
2493
|
-
.n("KMSClient", "EncryptCommand")
|
|
2494
|
-
.sc(Encrypt$)
|
|
2495
|
-
.build() {
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
class GenerateDataKeyCommand extends Command
|
|
2499
|
-
.classBuilder()
|
|
2500
|
-
.ep(commonParams)
|
|
2501
|
-
.m(function (Command, cs, config, o) {
|
|
2502
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2503
|
-
})
|
|
2504
|
-
.s("TrentService", "GenerateDataKey", {})
|
|
2505
|
-
.n("KMSClient", "GenerateDataKeyCommand")
|
|
2506
|
-
.sc(GenerateDataKey$)
|
|
2507
|
-
.build() {
|
|
2508
|
-
}
|
|
2509
|
-
|
|
2510
|
-
class GenerateDataKeyPairCommand extends Command
|
|
2511
|
-
.classBuilder()
|
|
2512
|
-
.ep(commonParams)
|
|
2513
|
-
.m(function (Command, cs, config, o) {
|
|
2514
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2515
|
-
})
|
|
2516
|
-
.s("TrentService", "GenerateDataKeyPair", {})
|
|
2517
|
-
.n("KMSClient", "GenerateDataKeyPairCommand")
|
|
2518
|
-
.sc(GenerateDataKeyPair$)
|
|
2519
|
-
.build() {
|
|
2520
|
-
}
|
|
2521
|
-
|
|
2522
|
-
class GenerateDataKeyPairWithoutPlaintextCommand extends Command
|
|
2523
|
-
.classBuilder()
|
|
2524
|
-
.ep(commonParams)
|
|
2525
|
-
.m(function (Command, cs, config, o) {
|
|
2526
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2527
|
-
})
|
|
2528
|
-
.s("TrentService", "GenerateDataKeyPairWithoutPlaintext", {})
|
|
2529
|
-
.n("KMSClient", "GenerateDataKeyPairWithoutPlaintextCommand")
|
|
2530
|
-
.sc(GenerateDataKeyPairWithoutPlaintext$)
|
|
2531
|
-
.build() {
|
|
2532
|
-
}
|
|
2533
|
-
|
|
2534
|
-
class GenerateDataKeyWithoutPlaintextCommand extends Command
|
|
2535
|
-
.classBuilder()
|
|
2536
|
-
.ep(commonParams)
|
|
2537
|
-
.m(function (Command, cs, config, o) {
|
|
2538
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2539
|
-
})
|
|
2540
|
-
.s("TrentService", "GenerateDataKeyWithoutPlaintext", {})
|
|
2541
|
-
.n("KMSClient", "GenerateDataKeyWithoutPlaintextCommand")
|
|
2542
|
-
.sc(GenerateDataKeyWithoutPlaintext$)
|
|
2543
|
-
.build() {
|
|
2544
|
-
}
|
|
2545
|
-
|
|
2546
|
-
class GenerateMacCommand extends Command
|
|
2547
|
-
.classBuilder()
|
|
2548
|
-
.ep(commonParams)
|
|
2549
|
-
.m(function (Command, cs, config, o) {
|
|
2550
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2551
|
-
})
|
|
2552
|
-
.s("TrentService", "GenerateMac", {})
|
|
2553
|
-
.n("KMSClient", "GenerateMacCommand")
|
|
2554
|
-
.sc(GenerateMac$)
|
|
2555
|
-
.build() {
|
|
2556
|
-
}
|
|
2557
|
-
|
|
2558
|
-
class GenerateRandomCommand extends Command
|
|
2559
|
-
.classBuilder()
|
|
2560
|
-
.ep(commonParams)
|
|
2561
|
-
.m(function (Command, cs, config, o) {
|
|
2562
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2563
|
-
})
|
|
2564
|
-
.s("TrentService", "GenerateRandom", {})
|
|
2565
|
-
.n("KMSClient", "GenerateRandomCommand")
|
|
2566
|
-
.sc(GenerateRandom$)
|
|
2567
|
-
.build() {
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
class GetKeyLastUsageCommand extends Command
|
|
2571
|
-
.classBuilder()
|
|
2572
|
-
.ep(commonParams)
|
|
2573
|
-
.m(function (Command, cs, config, o) {
|
|
2574
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2575
|
-
})
|
|
2576
|
-
.s("TrentService", "GetKeyLastUsage", {})
|
|
2577
|
-
.n("KMSClient", "GetKeyLastUsageCommand")
|
|
2578
|
-
.sc(GetKeyLastUsage$)
|
|
2579
|
-
.build() {
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
class GetKeyPolicyCommand extends Command
|
|
2583
|
-
.classBuilder()
|
|
2584
|
-
.ep(commonParams)
|
|
2585
|
-
.m(function (Command, cs, config, o) {
|
|
2586
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2587
|
-
})
|
|
2588
|
-
.s("TrentService", "GetKeyPolicy", {})
|
|
2589
|
-
.n("KMSClient", "GetKeyPolicyCommand")
|
|
2590
|
-
.sc(GetKeyPolicy$)
|
|
2591
|
-
.build() {
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2594
|
-
class GetKeyRotationStatusCommand extends Command
|
|
2595
|
-
.classBuilder()
|
|
2596
|
-
.ep(commonParams)
|
|
2597
|
-
.m(function (Command, cs, config, o) {
|
|
2598
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2599
|
-
})
|
|
2600
|
-
.s("TrentService", "GetKeyRotationStatus", {})
|
|
2601
|
-
.n("KMSClient", "GetKeyRotationStatusCommand")
|
|
2602
|
-
.sc(GetKeyRotationStatus$)
|
|
2603
|
-
.build() {
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
class GetParametersForImportCommand extends Command
|
|
2607
|
-
.classBuilder()
|
|
2608
|
-
.ep(commonParams)
|
|
2609
|
-
.m(function (Command, cs, config, o) {
|
|
2610
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2611
|
-
})
|
|
2612
|
-
.s("TrentService", "GetParametersForImport", {})
|
|
2613
|
-
.n("KMSClient", "GetParametersForImportCommand")
|
|
2614
|
-
.sc(GetParametersForImport$)
|
|
2615
|
-
.build() {
|
|
2616
|
-
}
|
|
2617
|
-
|
|
2618
|
-
class GetPublicKeyCommand extends Command
|
|
2619
|
-
.classBuilder()
|
|
2620
|
-
.ep(commonParams)
|
|
2621
|
-
.m(function (Command, cs, config, o) {
|
|
2622
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2623
|
-
})
|
|
2624
|
-
.s("TrentService", "GetPublicKey", {})
|
|
2625
|
-
.n("KMSClient", "GetPublicKeyCommand")
|
|
2626
|
-
.sc(GetPublicKey$)
|
|
2627
|
-
.build() {
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
class ImportKeyMaterialCommand extends Command
|
|
2631
|
-
.classBuilder()
|
|
2632
|
-
.ep(commonParams)
|
|
2633
|
-
.m(function (Command, cs, config, o) {
|
|
2634
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2635
|
-
})
|
|
2636
|
-
.s("TrentService", "ImportKeyMaterial", {})
|
|
2637
|
-
.n("KMSClient", "ImportKeyMaterialCommand")
|
|
2638
|
-
.sc(ImportKeyMaterial$)
|
|
2639
|
-
.build() {
|
|
2640
|
-
}
|
|
2641
|
-
|
|
2642
|
-
class ListAliasesCommand extends Command
|
|
2643
|
-
.classBuilder()
|
|
2644
|
-
.ep(commonParams)
|
|
2645
|
-
.m(function (Command, cs, config, o) {
|
|
2646
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2647
|
-
})
|
|
2648
|
-
.s("TrentService", "ListAliases", {})
|
|
2649
|
-
.n("KMSClient", "ListAliasesCommand")
|
|
2650
|
-
.sc(ListAliases$)
|
|
2651
|
-
.build() {
|
|
2652
|
-
}
|
|
2653
|
-
|
|
2654
|
-
class ListGrantsCommand extends Command
|
|
2655
|
-
.classBuilder()
|
|
2656
|
-
.ep(commonParams)
|
|
2657
|
-
.m(function (Command, cs, config, o) {
|
|
2658
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2659
|
-
})
|
|
2660
|
-
.s("TrentService", "ListGrants", {})
|
|
2661
|
-
.n("KMSClient", "ListGrantsCommand")
|
|
2662
|
-
.sc(ListGrants$)
|
|
2663
|
-
.build() {
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
class ListKeyPoliciesCommand extends Command
|
|
2667
|
-
.classBuilder()
|
|
2668
|
-
.ep(commonParams)
|
|
2669
|
-
.m(function (Command, cs, config, o) {
|
|
2670
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2671
|
-
})
|
|
2672
|
-
.s("TrentService", "ListKeyPolicies", {})
|
|
2673
|
-
.n("KMSClient", "ListKeyPoliciesCommand")
|
|
2674
|
-
.sc(ListKeyPolicies$)
|
|
2675
|
-
.build() {
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
|
-
class ListKeyRotationsCommand extends Command
|
|
2679
|
-
.classBuilder()
|
|
2680
|
-
.ep(commonParams)
|
|
2681
|
-
.m(function (Command, cs, config, o) {
|
|
2682
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2683
|
-
})
|
|
2684
|
-
.s("TrentService", "ListKeyRotations", {})
|
|
2685
|
-
.n("KMSClient", "ListKeyRotationsCommand")
|
|
2686
|
-
.sc(ListKeyRotations$)
|
|
2687
|
-
.build() {
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
class ListKeysCommand extends Command
|
|
2691
|
-
.classBuilder()
|
|
2692
|
-
.ep(commonParams)
|
|
2693
|
-
.m(function (Command, cs, config, o) {
|
|
2694
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2695
|
-
})
|
|
2696
|
-
.s("TrentService", "ListKeys", {})
|
|
2697
|
-
.n("KMSClient", "ListKeysCommand")
|
|
2698
|
-
.sc(ListKeys$)
|
|
2699
|
-
.build() {
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
|
-
class ListResourceTagsCommand extends Command
|
|
2703
|
-
.classBuilder()
|
|
2704
|
-
.ep(commonParams)
|
|
2705
|
-
.m(function (Command, cs, config, o) {
|
|
2706
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2707
|
-
})
|
|
2708
|
-
.s("TrentService", "ListResourceTags", {})
|
|
2709
|
-
.n("KMSClient", "ListResourceTagsCommand")
|
|
2710
|
-
.sc(ListResourceTags$)
|
|
2711
|
-
.build() {
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
class ListRetirableGrantsCommand extends Command
|
|
2715
|
-
.classBuilder()
|
|
2716
|
-
.ep(commonParams)
|
|
2717
|
-
.m(function (Command, cs, config, o) {
|
|
2718
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2719
|
-
})
|
|
2720
|
-
.s("TrentService", "ListRetirableGrants", {})
|
|
2721
|
-
.n("KMSClient", "ListRetirableGrantsCommand")
|
|
2722
|
-
.sc(ListRetirableGrants$)
|
|
2723
|
-
.build() {
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
|
-
class PutKeyPolicyCommand extends Command
|
|
2727
|
-
.classBuilder()
|
|
2728
|
-
.ep(commonParams)
|
|
2729
|
-
.m(function (Command, cs, config, o) {
|
|
2730
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2731
|
-
})
|
|
2732
|
-
.s("TrentService", "PutKeyPolicy", {})
|
|
2733
|
-
.n("KMSClient", "PutKeyPolicyCommand")
|
|
2734
|
-
.sc(PutKeyPolicy$)
|
|
2735
|
-
.build() {
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
class ReEncryptCommand extends Command
|
|
2739
|
-
.classBuilder()
|
|
2740
|
-
.ep(commonParams)
|
|
2741
|
-
.m(function (Command, cs, config, o) {
|
|
2742
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2743
|
-
})
|
|
2744
|
-
.s("TrentService", "ReEncrypt", {})
|
|
2745
|
-
.n("KMSClient", "ReEncryptCommand")
|
|
2746
|
-
.sc(ReEncrypt$)
|
|
2747
|
-
.build() {
|
|
2748
|
-
}
|
|
2749
|
-
|
|
2750
|
-
class ReplicateKeyCommand extends Command
|
|
2751
|
-
.classBuilder()
|
|
2752
|
-
.ep(commonParams)
|
|
2753
|
-
.m(function (Command, cs, config, o) {
|
|
2754
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2755
|
-
})
|
|
2756
|
-
.s("TrentService", "ReplicateKey", {})
|
|
2757
|
-
.n("KMSClient", "ReplicateKeyCommand")
|
|
2758
|
-
.sc(ReplicateKey$)
|
|
2759
|
-
.build() {
|
|
2760
|
-
}
|
|
2761
|
-
|
|
2762
|
-
class RetireGrantCommand extends Command
|
|
2763
|
-
.classBuilder()
|
|
2764
|
-
.ep(commonParams)
|
|
2765
|
-
.m(function (Command, cs, config, o) {
|
|
2766
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2767
|
-
})
|
|
2768
|
-
.s("TrentService", "RetireGrant", {})
|
|
2769
|
-
.n("KMSClient", "RetireGrantCommand")
|
|
2770
|
-
.sc(RetireGrant$)
|
|
2771
|
-
.build() {
|
|
2772
|
-
}
|
|
2773
|
-
|
|
2774
|
-
class RevokeGrantCommand extends Command
|
|
2775
|
-
.classBuilder()
|
|
2776
|
-
.ep(commonParams)
|
|
2777
|
-
.m(function (Command, cs, config, o) {
|
|
2778
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2779
|
-
})
|
|
2780
|
-
.s("TrentService", "RevokeGrant", {})
|
|
2781
|
-
.n("KMSClient", "RevokeGrantCommand")
|
|
2782
|
-
.sc(RevokeGrant$)
|
|
2783
|
-
.build() {
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
class RotateKeyOnDemandCommand extends Command
|
|
2787
|
-
.classBuilder()
|
|
2788
|
-
.ep(commonParams)
|
|
2789
|
-
.m(function (Command, cs, config, o) {
|
|
2790
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2791
|
-
})
|
|
2792
|
-
.s("TrentService", "RotateKeyOnDemand", {})
|
|
2793
|
-
.n("KMSClient", "RotateKeyOnDemandCommand")
|
|
2794
|
-
.sc(RotateKeyOnDemand$)
|
|
2795
|
-
.build() {
|
|
2796
|
-
}
|
|
2797
|
-
|
|
2798
|
-
class ScheduleKeyDeletionCommand extends Command
|
|
2799
|
-
.classBuilder()
|
|
2800
|
-
.ep(commonParams)
|
|
2801
|
-
.m(function (Command, cs, config, o) {
|
|
2802
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2803
|
-
})
|
|
2804
|
-
.s("TrentService", "ScheduleKeyDeletion", {})
|
|
2805
|
-
.n("KMSClient", "ScheduleKeyDeletionCommand")
|
|
2806
|
-
.sc(ScheduleKeyDeletion$)
|
|
2807
|
-
.build() {
|
|
2808
|
-
}
|
|
2809
|
-
|
|
2810
|
-
class SignCommand extends Command
|
|
2811
|
-
.classBuilder()
|
|
2812
|
-
.ep(commonParams)
|
|
2813
|
-
.m(function (Command, cs, config, o) {
|
|
2814
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2815
|
-
})
|
|
2816
|
-
.s("TrentService", "Sign", {})
|
|
2817
|
-
.n("KMSClient", "SignCommand")
|
|
2818
|
-
.sc(Sign$)
|
|
2819
|
-
.build() {
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
class TagResourceCommand extends Command
|
|
2823
|
-
.classBuilder()
|
|
2824
|
-
.ep(commonParams)
|
|
2825
|
-
.m(function (Command, cs, config, o) {
|
|
2826
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2827
|
-
})
|
|
2828
|
-
.s("TrentService", "TagResource", {})
|
|
2829
|
-
.n("KMSClient", "TagResourceCommand")
|
|
2830
|
-
.sc(TagResource$)
|
|
2831
|
-
.build() {
|
|
2832
|
-
}
|
|
2833
|
-
|
|
2834
|
-
class UntagResourceCommand extends Command
|
|
2835
|
-
.classBuilder()
|
|
2836
|
-
.ep(commonParams)
|
|
2837
|
-
.m(function (Command, cs, config, o) {
|
|
2838
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2839
|
-
})
|
|
2840
|
-
.s("TrentService", "UntagResource", {})
|
|
2841
|
-
.n("KMSClient", "UntagResourceCommand")
|
|
2842
|
-
.sc(UntagResource$)
|
|
2843
|
-
.build() {
|
|
2844
|
-
}
|
|
2845
|
-
|
|
2846
|
-
class UpdateAliasCommand extends Command
|
|
2847
|
-
.classBuilder()
|
|
2848
|
-
.ep(commonParams)
|
|
2849
|
-
.m(function (Command, cs, config, o) {
|
|
2850
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2851
|
-
})
|
|
2852
|
-
.s("TrentService", "UpdateAlias", {})
|
|
2853
|
-
.n("KMSClient", "UpdateAliasCommand")
|
|
2854
|
-
.sc(UpdateAlias$)
|
|
2855
|
-
.build() {
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
|
-
class UpdateCustomKeyStoreCommand extends Command
|
|
2859
|
-
.classBuilder()
|
|
2860
|
-
.ep(commonParams)
|
|
2861
|
-
.m(function (Command, cs, config, o) {
|
|
2862
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2863
|
-
})
|
|
2864
|
-
.s("TrentService", "UpdateCustomKeyStore", {})
|
|
2865
|
-
.n("KMSClient", "UpdateCustomKeyStoreCommand")
|
|
2866
|
-
.sc(UpdateCustomKeyStore$)
|
|
2867
|
-
.build() {
|
|
2868
|
-
}
|
|
2869
|
-
|
|
2870
|
-
class UpdateKeyDescriptionCommand extends Command
|
|
2871
|
-
.classBuilder()
|
|
2872
|
-
.ep(commonParams)
|
|
2873
|
-
.m(function (Command, cs, config, o) {
|
|
2874
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2875
|
-
})
|
|
2876
|
-
.s("TrentService", "UpdateKeyDescription", {})
|
|
2877
|
-
.n("KMSClient", "UpdateKeyDescriptionCommand")
|
|
2878
|
-
.sc(UpdateKeyDescription$)
|
|
2879
|
-
.build() {
|
|
2880
|
-
}
|
|
2881
|
-
|
|
2882
|
-
class UpdatePrimaryRegionCommand extends Command
|
|
2883
|
-
.classBuilder()
|
|
2884
|
-
.ep(commonParams)
|
|
2885
|
-
.m(function (Command, cs, config, o) {
|
|
2886
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2887
|
-
})
|
|
2888
|
-
.s("TrentService", "UpdatePrimaryRegion", {})
|
|
2889
|
-
.n("KMSClient", "UpdatePrimaryRegionCommand")
|
|
2890
|
-
.sc(UpdatePrimaryRegion$)
|
|
2891
|
-
.build() {
|
|
2892
|
-
}
|
|
2893
|
-
|
|
2894
|
-
class VerifyCommand extends Command
|
|
2895
|
-
.classBuilder()
|
|
2896
|
-
.ep(commonParams)
|
|
2897
|
-
.m(function (Command, cs, config, o) {
|
|
2898
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2899
|
-
})
|
|
2900
|
-
.s("TrentService", "Verify", {})
|
|
2901
|
-
.n("KMSClient", "VerifyCommand")
|
|
2902
|
-
.sc(Verify$)
|
|
2903
|
-
.build() {
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
class VerifyMacCommand extends Command
|
|
2907
|
-
.classBuilder()
|
|
2908
|
-
.ep(commonParams)
|
|
2909
|
-
.m(function (Command, cs, config, o) {
|
|
2910
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2911
|
-
})
|
|
2912
|
-
.s("TrentService", "VerifyMac", {})
|
|
2913
|
-
.n("KMSClient", "VerifyMacCommand")
|
|
2914
|
-
.sc(VerifyMac$)
|
|
2915
|
-
.build() {
|
|
2272
|
+
const command = makeBuilder(commonParams, "TrentService", "KMSClient", getEndpointPlugin);
|
|
2273
|
+
const _ep0 = {};
|
|
2274
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
2275
|
+
|
|
2276
|
+
class CancelKeyDeletionCommand extends command(_ep0, _mw0, "CancelKeyDeletion", CancelKeyDeletion$) {
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
class ConnectCustomKeyStoreCommand extends command(_ep0, _mw0, "ConnectCustomKeyStore", ConnectCustomKeyStore$) {
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
class CreateAliasCommand extends command(_ep0, _mw0, "CreateAlias", CreateAlias$) {
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
class CreateCustomKeyStoreCommand extends command(_ep0, _mw0, "CreateCustomKeyStore", CreateCustomKeyStore$) {
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
class CreateGrantCommand extends command(_ep0, _mw0, "CreateGrant", CreateGrant$) {
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
class CreateKeyCommand extends command(_ep0, _mw0, "CreateKey", CreateKey$) {
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
class DecryptCommand extends command(_ep0, _mw0, "Decrypt", Decrypt$) {
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
class DeleteAliasCommand extends command(_ep0, _mw0, "DeleteAlias", DeleteAlias$) {
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
class DeleteCustomKeyStoreCommand extends command(_ep0, _mw0, "DeleteCustomKeyStore", DeleteCustomKeyStore$) {
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
class DeleteImportedKeyMaterialCommand extends command(_ep0, _mw0, "DeleteImportedKeyMaterial", DeleteImportedKeyMaterial$) {
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
class DeriveSharedSecretCommand extends command(_ep0, _mw0, "DeriveSharedSecret", DeriveSharedSecret$) {
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
class DescribeCustomKeyStoresCommand extends command(_ep0, _mw0, "DescribeCustomKeyStores", DescribeCustomKeyStores$) {
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
class DescribeKeyCommand extends command(_ep0, _mw0, "DescribeKey", DescribeKey$) {
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
class DisableKeyCommand extends command(_ep0, _mw0, "DisableKey", DisableKey$) {
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
class DisableKeyRotationCommand extends command(_ep0, _mw0, "DisableKeyRotation", DisableKeyRotation$) {
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
class DisconnectCustomKeyStoreCommand extends command(_ep0, _mw0, "DisconnectCustomKeyStore", DisconnectCustomKeyStore$) {
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
class EnableKeyCommand extends command(_ep0, _mw0, "EnableKey", EnableKey$) {
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
class EnableKeyRotationCommand extends command(_ep0, _mw0, "EnableKeyRotation", EnableKeyRotation$) {
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
class EncryptCommand extends command(_ep0, _mw0, "Encrypt", Encrypt$) {
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
class GenerateDataKeyCommand extends command(_ep0, _mw0, "GenerateDataKey", GenerateDataKey$) {
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
class GenerateDataKeyPairCommand extends command(_ep0, _mw0, "GenerateDataKeyPair", GenerateDataKeyPair$) {
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
class GenerateDataKeyPairWithoutPlaintextCommand extends command(_ep0, _mw0, "GenerateDataKeyPairWithoutPlaintext", GenerateDataKeyPairWithoutPlaintext$) {
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
class GenerateDataKeyWithoutPlaintextCommand extends command(_ep0, _mw0, "GenerateDataKeyWithoutPlaintext", GenerateDataKeyWithoutPlaintext$) {
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
class GenerateMacCommand extends command(_ep0, _mw0, "GenerateMac", GenerateMac$) {
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
class GenerateRandomCommand extends command(_ep0, _mw0, "GenerateRandom", GenerateRandom$) {
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
class GetKeyLastUsageCommand extends command(_ep0, _mw0, "GetKeyLastUsage", GetKeyLastUsage$) {
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
class GetKeyPolicyCommand extends command(_ep0, _mw0, "GetKeyPolicy", GetKeyPolicy$) {
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
class GetKeyRotationStatusCommand extends command(_ep0, _mw0, "GetKeyRotationStatus", GetKeyRotationStatus$) {
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
class GetParametersForImportCommand extends command(_ep0, _mw0, "GetParametersForImport", GetParametersForImport$) {
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
class GetPublicKeyCommand extends command(_ep0, _mw0, "GetPublicKey", GetPublicKey$) {
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
class ImportKeyMaterialCommand extends command(_ep0, _mw0, "ImportKeyMaterial", ImportKeyMaterial$) {
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
class ListAliasesCommand extends command(_ep0, _mw0, "ListAliases", ListAliases$) {
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
class ListGrantsCommand extends command(_ep0, _mw0, "ListGrants", ListGrants$) {
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
class ListKeyPoliciesCommand extends command(_ep0, _mw0, "ListKeyPolicies", ListKeyPolicies$) {
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
class ListKeyRotationsCommand extends command(_ep0, _mw0, "ListKeyRotations", ListKeyRotations$) {
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
class ListResourceTagsCommand extends command(_ep0, _mw0, "ListResourceTags", ListResourceTags$) {
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
class ListRetirableGrantsCommand extends command(_ep0, _mw0, "ListRetirableGrants", ListRetirableGrants$) {
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
class PutKeyPolicyCommand extends command(_ep0, _mw0, "PutKeyPolicy", PutKeyPolicy$) {
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
class ReEncryptCommand extends command(_ep0, _mw0, "ReEncrypt", ReEncrypt$) {
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
class ReplicateKeyCommand extends command(_ep0, _mw0, "ReplicateKey", ReplicateKey$) {
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
class RetireGrantCommand extends command(_ep0, _mw0, "RetireGrant", RetireGrant$) {
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
class RevokeGrantCommand extends command(_ep0, _mw0, "RevokeGrant", RevokeGrant$) {
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
class RotateKeyOnDemandCommand extends command(_ep0, _mw0, "RotateKeyOnDemand", RotateKeyOnDemand$) {
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
class ScheduleKeyDeletionCommand extends command(_ep0, _mw0, "ScheduleKeyDeletion", ScheduleKeyDeletion$) {
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
class SignCommand extends command(_ep0, _mw0, "Sign", Sign$) {
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
class UpdateAliasCommand extends command(_ep0, _mw0, "UpdateAlias", UpdateAlias$) {
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
class UpdateCustomKeyStoreCommand extends command(_ep0, _mw0, "UpdateCustomKeyStore", UpdateCustomKeyStore$) {
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
class UpdateKeyDescriptionCommand extends command(_ep0, _mw0, "UpdateKeyDescription", UpdateKeyDescription$) {
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
class UpdatePrimaryRegionCommand extends command(_ep0, _mw0, "UpdatePrimaryRegion", UpdatePrimaryRegion$) {
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
class VerifyCommand extends command(_ep0, _mw0, "Verify", Verify$) {
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
class VerifyMacCommand extends command(_ep0, _mw0, "VerifyMac", VerifyMac$) {
|
|
2916
2436
|
}
|
|
2917
2437
|
|
|
2918
2438
|
const paginateDescribeCustomKeyStores = createPaginator(KMSClient, DescribeCustomKeyStoresCommand, "Marker", "NextMarker", "Limit");
|