@aws-sdk/client-kms 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/KMS.js +0 -92
- package/dist-cjs/KMSClient.js +0 -97
- package/dist-cjs/commands/CancelKeyDeletionCommand.js +0 -37
- package/dist-cjs/commands/ConnectCustomKeyStoreCommand.js +0 -85
- package/dist-cjs/commands/CreateAliasCommand.js +0 -81
- package/dist-cjs/commands/CreateCustomKeyStoreCommand.js +0 -73
- package/dist-cjs/commands/CreateGrantCommand.js +0 -86
- package/dist-cjs/commands/CreateKeyCommand.js +0 -148
- package/dist-cjs/commands/DecryptCommand.js +0 -112
- package/dist-cjs/commands/DeleteAliasCommand.js +0 -71
- package/dist-cjs/commands/DeleteCustomKeyStoreCommand.js +0 -78
- package/dist-cjs/commands/DeleteImportedKeyMaterialCommand.js +0 -53
- package/dist-cjs/commands/DescribeCustomKeyStoresCommand.js +0 -77
- package/dist-cjs/commands/DescribeKeyCommand.js +0 -103
- package/dist-cjs/commands/DisableKeyCommand.js +0 -39
- package/dist-cjs/commands/DisableKeyRotationCommand.js +0 -49
- package/dist-cjs/commands/DisconnectCustomKeyStoreCommand.js +0 -76
- package/dist-cjs/commands/EnableKeyCommand.js +0 -36
- package/dist-cjs/commands/EnableKeyRotationCommand.js +0 -49
- package/dist-cjs/commands/EncryptCommand.js +0 -148
- package/dist-cjs/commands/GenerateDataKeyCommand.js +0 -121
- package/dist-cjs/commands/GenerateDataKeyPairCommand.js +0 -100
- package/dist-cjs/commands/GenerateDataKeyPairWithoutPlaintextCommand.js +0 -90
- package/dist-cjs/commands/GenerateDataKeyWithoutPlaintextCommand.js +0 -95
- package/dist-cjs/commands/GenerateRandomCommand.js +0 -33
- package/dist-cjs/commands/GetKeyPolicyCommand.js +0 -32
- package/dist-cjs/commands/GetKeyRotationStatusCommand.js +0 -61
- package/dist-cjs/commands/GetParametersForImportCommand.js +0 -58
- package/dist-cjs/commands/GetPublicKeyCommand.js +0 -70
- package/dist-cjs/commands/ImportKeyMaterialCommand.js +0 -87
- package/dist-cjs/commands/ListAliasesCommand.js +0 -66
- package/dist-cjs/commands/ListGrantsCommand.js +0 -69
- package/dist-cjs/commands/ListKeyPoliciesCommand.js +0 -46
- package/dist-cjs/commands/ListKeysCommand.js +0 -54
- package/dist-cjs/commands/ListResourceTagsCommand.js +0 -58
- package/dist-cjs/commands/ListRetirableGrantsCommand.js +0 -67
- package/dist-cjs/commands/PutKeyPolicyCommand.js +0 -37
- package/dist-cjs/commands/ReEncryptCommand.js +0 -122
- package/dist-cjs/commands/ReplicateKeyCommand.js +0 -101
- package/dist-cjs/commands/RetireGrantCommand.js +0 -70
- package/dist-cjs/commands/RevokeGrantCommand.js +0 -67
- package/dist-cjs/commands/ScheduleKeyDeletionCommand.js +0 -78
- package/dist-cjs/commands/SignCommand.js +0 -69
- package/dist-cjs/commands/TagResourceCommand.js +0 -71
- package/dist-cjs/commands/UntagResourceCommand.js +0 -67
- package/dist-cjs/commands/UpdateAliasCommand.js +0 -86
- package/dist-cjs/commands/UpdateCustomKeyStoreCommand.js +0 -96
- package/dist-cjs/commands/UpdateKeyDescriptionCommand.js +0 -47
- package/dist-cjs/commands/UpdatePrimaryRegionCommand.js +0 -89
- package/dist-cjs/commands/VerifyCommand.js +0 -54
- package/dist-cjs/commands/index.js +51 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -55
- package/dist-cjs/models/models_0.js +0 -366
- package/dist-cjs/pagination/ListAliasesPaginator.js +0 -10
- package/dist-cjs/pagination/ListGrantsPaginator.js +0 -10
- package/dist-cjs/pagination/ListKeyPoliciesPaginator.js +0 -10
- package/dist-cjs/pagination/ListKeysPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +48 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -55
- package/dist-es/pagination/index.js +5 -0
- package/dist-types/commands/index.d.ts +48 -0
- package/dist-types/index.d.ts +4 -55
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/KMS.d.ts +49 -2646
- package/dist-types/ts3.4/KMSClient.d.ts +24 -178
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +2 -81
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -77
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +2 -69
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -144
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +2 -108
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +2 -74
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +2 -73
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -99
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +2 -35
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +2 -72
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +2 -144
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +2 -117
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +2 -96
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +2 -86
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +2 -91
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +2 -57
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -62
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +2 -54
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +2 -118
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +2 -97
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +2 -74
- package/dist-types/ts3.4/commands/SignCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -82
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +2 -92
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +2 -85
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/index.d.ts +48 -0
- package/dist-types/ts3.4/index.d.ts +4 -55
- package/dist-types/ts3.4/models/models_0.d.ts +445 -2963
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -4,22 +4,13 @@ exports.paginateListAliases = void 0;
|
|
|
4
4
|
const ListAliasesCommand_1 = require("../commands/ListAliasesCommand");
|
|
5
5
|
const KMS_1 = require("../KMS");
|
|
6
6
|
const KMSClient_1 = require("../KMSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListAliasesCommand_1.ListAliasesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listAliases(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextMarker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListAliases = paginateListAliases;
|
|
@@ -4,22 +4,13 @@ exports.paginateListGrants = void 0;
|
|
|
4
4
|
const ListGrantsCommand_1 = require("../commands/ListGrantsCommand");
|
|
5
5
|
const KMS_1 = require("../KMS");
|
|
6
6
|
const KMSClient_1 = require("../KMSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListGrantsCommand_1.ListGrantsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listGrants(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListGrants(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListGrants(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextMarker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListGrants = paginateListGrants;
|
|
@@ -4,22 +4,13 @@ exports.paginateListKeyPolicies = void 0;
|
|
|
4
4
|
const ListKeyPoliciesCommand_1 = require("../commands/ListKeyPoliciesCommand");
|
|
5
5
|
const KMS_1 = require("../KMS");
|
|
6
6
|
const KMSClient_1 = require("../KMSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListKeyPoliciesCommand_1.ListKeyPoliciesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listKeyPolicies(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListKeyPolicies(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListKeyPolicies(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextMarker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListKeyPolicies = paginateListKeyPolicies;
|
|
@@ -4,22 +4,13 @@ exports.paginateListKeys = void 0;
|
|
|
4
4
|
const ListKeysCommand_1 = require("../commands/ListKeysCommand");
|
|
5
5
|
const KMS_1 = require("../KMS");
|
|
6
6
|
const KMSClient_1 = require("../KMSClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListKeysCommand_1.ListKeysCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listKeys(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateListKeys(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.NextMarker;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListKeys = paginateListKeys;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListGrantsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListKeyPoliciesPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListKeysPaginator"), exports);
|
|
@@ -6314,14 +6314,12 @@ const deserializeMetadata = (output) => {
|
|
|
6314
6314
|
cfId: output.headers["x-amz-cf-id"],
|
|
6315
6315
|
});
|
|
6316
6316
|
};
|
|
6317
|
-
// Collect low-level response body stream to Uint8Array.
|
|
6318
6317
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
6319
6318
|
if (streamBody instanceof Uint8Array) {
|
|
6320
6319
|
return Promise.resolve(streamBody);
|
|
6321
6320
|
}
|
|
6322
6321
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6323
6322
|
};
|
|
6324
|
-
// Encode Uint8Array data into string with utf-8.
|
|
6325
6323
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
6326
6324
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6327
6325
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -6347,9 +6345,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6347
6345
|
}
|
|
6348
6346
|
return {};
|
|
6349
6347
|
});
|
|
6350
|
-
/**
|
|
6351
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
6352
|
-
*/
|
|
6353
6348
|
const loadRestJsonErrorCode = (output, data) => {
|
|
6354
6349
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6355
6350
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from "./CancelKeyDeletionCommand";
|
|
2
|
+
export * from "./ConnectCustomKeyStoreCommand";
|
|
3
|
+
export * from "./CreateAliasCommand";
|
|
4
|
+
export * from "./CreateCustomKeyStoreCommand";
|
|
5
|
+
export * from "./CreateGrantCommand";
|
|
6
|
+
export * from "./CreateKeyCommand";
|
|
7
|
+
export * from "./DecryptCommand";
|
|
8
|
+
export * from "./DeleteAliasCommand";
|
|
9
|
+
export * from "./DeleteCustomKeyStoreCommand";
|
|
10
|
+
export * from "./DeleteImportedKeyMaterialCommand";
|
|
11
|
+
export * from "./DescribeCustomKeyStoresCommand";
|
|
12
|
+
export * from "./DescribeKeyCommand";
|
|
13
|
+
export * from "./DisableKeyCommand";
|
|
14
|
+
export * from "./DisableKeyRotationCommand";
|
|
15
|
+
export * from "./DisconnectCustomKeyStoreCommand";
|
|
16
|
+
export * from "./EnableKeyCommand";
|
|
17
|
+
export * from "./EnableKeyRotationCommand";
|
|
18
|
+
export * from "./EncryptCommand";
|
|
19
|
+
export * from "./GenerateDataKeyCommand";
|
|
20
|
+
export * from "./GenerateDataKeyPairCommand";
|
|
21
|
+
export * from "./GenerateDataKeyPairWithoutPlaintextCommand";
|
|
22
|
+
export * from "./GenerateDataKeyWithoutPlaintextCommand";
|
|
23
|
+
export * from "./GenerateRandomCommand";
|
|
24
|
+
export * from "./GetKeyPolicyCommand";
|
|
25
|
+
export * from "./GetKeyRotationStatusCommand";
|
|
26
|
+
export * from "./GetParametersForImportCommand";
|
|
27
|
+
export * from "./GetPublicKeyCommand";
|
|
28
|
+
export * from "./ImportKeyMaterialCommand";
|
|
29
|
+
export * from "./ListAliasesCommand";
|
|
30
|
+
export * from "./ListGrantsCommand";
|
|
31
|
+
export * from "./ListKeyPoliciesCommand";
|
|
32
|
+
export * from "./ListKeysCommand";
|
|
33
|
+
export * from "./ListResourceTagsCommand";
|
|
34
|
+
export * from "./ListRetirableGrantsCommand";
|
|
35
|
+
export * from "./PutKeyPolicyCommand";
|
|
36
|
+
export * from "./ReEncryptCommand";
|
|
37
|
+
export * from "./ReplicateKeyCommand";
|
|
38
|
+
export * from "./RetireGrantCommand";
|
|
39
|
+
export * from "./RevokeGrantCommand";
|
|
40
|
+
export * from "./ScheduleKeyDeletionCommand";
|
|
41
|
+
export * from "./SignCommand";
|
|
42
|
+
export * from "./TagResourceCommand";
|
|
43
|
+
export * from "./UntagResourceCommand";
|
|
44
|
+
export * from "./UpdateAliasCommand";
|
|
45
|
+
export * from "./UpdateCustomKeyStoreCommand";
|
|
46
|
+
export * from "./UpdateKeyDescriptionCommand";
|
|
47
|
+
export * from "./UpdatePrimaryRegionCommand";
|
|
48
|
+
export * from "./VerifyCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -31,22 +31,27 @@ var partitionHash = {
|
|
|
31
31
|
"us-west-1",
|
|
32
32
|
"us-west-2",
|
|
33
33
|
],
|
|
34
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
34
35
|
hostname: "kms.{region}.amazonaws.com",
|
|
35
36
|
},
|
|
36
37
|
"aws-cn": {
|
|
37
38
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
39
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
38
40
|
hostname: "kms.{region}.amazonaws.com.cn",
|
|
39
41
|
},
|
|
40
42
|
"aws-iso": {
|
|
41
|
-
regions: ["ProdFips", "us-iso-east-1"],
|
|
43
|
+
regions: ["ProdFips", "us-iso-east-1", "us-iso-west-1"],
|
|
44
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
42
45
|
hostname: "kms.{region}.c2s.ic.gov",
|
|
43
46
|
},
|
|
44
47
|
"aws-iso-b": {
|
|
45
48
|
regions: ["ProdFips", "us-isob-east-1"],
|
|
49
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
46
50
|
hostname: "kms.{region}.sc2s.sgov.gov",
|
|
47
51
|
},
|
|
48
52
|
"aws-us-gov": {
|
|
49
53
|
regions: ["ProdFips", "us-gov-east-1", "us-gov-west-1"],
|
|
54
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
50
55
|
hostname: "kms.{region}.amazonaws.com",
|
|
51
56
|
},
|
|
52
57
|
};
|
package/dist-es/index.js
CHANGED
|
@@ -1,56 +1,5 @@
|
|
|
1
|
-
export * from "./KMSClient";
|
|
2
1
|
export * from "./KMS";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateGrantCommand";
|
|
8
|
-
export * from "./commands/CreateKeyCommand";
|
|
9
|
-
export * from "./commands/DecryptCommand";
|
|
10
|
-
export * from "./commands/DeleteAliasCommand";
|
|
11
|
-
export * from "./commands/DeleteCustomKeyStoreCommand";
|
|
12
|
-
export * from "./commands/DeleteImportedKeyMaterialCommand";
|
|
13
|
-
export * from "./commands/DescribeCustomKeyStoresCommand";
|
|
14
|
-
export * from "./commands/DescribeKeyCommand";
|
|
15
|
-
export * from "./commands/DisableKeyCommand";
|
|
16
|
-
export * from "./commands/DisableKeyRotationCommand";
|
|
17
|
-
export * from "./commands/DisconnectCustomKeyStoreCommand";
|
|
18
|
-
export * from "./commands/EnableKeyCommand";
|
|
19
|
-
export * from "./commands/EnableKeyRotationCommand";
|
|
20
|
-
export * from "./commands/EncryptCommand";
|
|
21
|
-
export * from "./commands/GenerateDataKeyCommand";
|
|
22
|
-
export * from "./commands/GenerateDataKeyPairCommand";
|
|
23
|
-
export * from "./commands/GenerateDataKeyPairWithoutPlaintextCommand";
|
|
24
|
-
export * from "./commands/GenerateDataKeyWithoutPlaintextCommand";
|
|
25
|
-
export * from "./commands/GenerateRandomCommand";
|
|
26
|
-
export * from "./commands/GetKeyPolicyCommand";
|
|
27
|
-
export * from "./commands/GetKeyRotationStatusCommand";
|
|
28
|
-
export * from "./commands/GetParametersForImportCommand";
|
|
29
|
-
export * from "./commands/GetPublicKeyCommand";
|
|
30
|
-
export * from "./commands/ImportKeyMaterialCommand";
|
|
31
|
-
export * from "./commands/ListAliasesCommand";
|
|
32
|
-
export * from "./pagination/ListAliasesPaginator";
|
|
33
|
-
export * from "./commands/ListGrantsCommand";
|
|
34
|
-
export * from "./pagination/ListGrantsPaginator";
|
|
35
|
-
export * from "./commands/ListKeyPoliciesCommand";
|
|
36
|
-
export * from "./pagination/ListKeyPoliciesPaginator";
|
|
37
|
-
export * from "./commands/ListKeysCommand";
|
|
38
|
-
export * from "./pagination/ListKeysPaginator";
|
|
39
|
-
export * from "./commands/ListResourceTagsCommand";
|
|
40
|
-
export * from "./commands/ListRetirableGrantsCommand";
|
|
41
|
-
export * from "./commands/PutKeyPolicyCommand";
|
|
42
|
-
export * from "./commands/ReEncryptCommand";
|
|
43
|
-
export * from "./commands/ReplicateKeyCommand";
|
|
44
|
-
export * from "./commands/RetireGrantCommand";
|
|
45
|
-
export * from "./commands/RevokeGrantCommand";
|
|
46
|
-
export * from "./commands/ScheduleKeyDeletionCommand";
|
|
47
|
-
export * from "./commands/SignCommand";
|
|
48
|
-
export * from "./commands/TagResourceCommand";
|
|
49
|
-
export * from "./commands/UntagResourceCommand";
|
|
50
|
-
export * from "./commands/UpdateAliasCommand";
|
|
51
|
-
export * from "./commands/UpdateCustomKeyStoreCommand";
|
|
52
|
-
export * from "./commands/UpdateKeyDescriptionCommand";
|
|
53
|
-
export * from "./commands/UpdatePrimaryRegionCommand";
|
|
54
|
-
export * from "./commands/VerifyCommand";
|
|
55
|
-
export * from "./pagination/Interfaces";
|
|
56
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./KMSClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from "./CancelKeyDeletionCommand";
|
|
2
|
+
export * from "./ConnectCustomKeyStoreCommand";
|
|
3
|
+
export * from "./CreateAliasCommand";
|
|
4
|
+
export * from "./CreateCustomKeyStoreCommand";
|
|
5
|
+
export * from "./CreateGrantCommand";
|
|
6
|
+
export * from "./CreateKeyCommand";
|
|
7
|
+
export * from "./DecryptCommand";
|
|
8
|
+
export * from "./DeleteAliasCommand";
|
|
9
|
+
export * from "./DeleteCustomKeyStoreCommand";
|
|
10
|
+
export * from "./DeleteImportedKeyMaterialCommand";
|
|
11
|
+
export * from "./DescribeCustomKeyStoresCommand";
|
|
12
|
+
export * from "./DescribeKeyCommand";
|
|
13
|
+
export * from "./DisableKeyCommand";
|
|
14
|
+
export * from "./DisableKeyRotationCommand";
|
|
15
|
+
export * from "./DisconnectCustomKeyStoreCommand";
|
|
16
|
+
export * from "./EnableKeyCommand";
|
|
17
|
+
export * from "./EnableKeyRotationCommand";
|
|
18
|
+
export * from "./EncryptCommand";
|
|
19
|
+
export * from "./GenerateDataKeyCommand";
|
|
20
|
+
export * from "./GenerateDataKeyPairCommand";
|
|
21
|
+
export * from "./GenerateDataKeyPairWithoutPlaintextCommand";
|
|
22
|
+
export * from "./GenerateDataKeyWithoutPlaintextCommand";
|
|
23
|
+
export * from "./GenerateRandomCommand";
|
|
24
|
+
export * from "./GetKeyPolicyCommand";
|
|
25
|
+
export * from "./GetKeyRotationStatusCommand";
|
|
26
|
+
export * from "./GetParametersForImportCommand";
|
|
27
|
+
export * from "./GetPublicKeyCommand";
|
|
28
|
+
export * from "./ImportKeyMaterialCommand";
|
|
29
|
+
export * from "./ListAliasesCommand";
|
|
30
|
+
export * from "./ListGrantsCommand";
|
|
31
|
+
export * from "./ListKeyPoliciesCommand";
|
|
32
|
+
export * from "./ListKeysCommand";
|
|
33
|
+
export * from "./ListResourceTagsCommand";
|
|
34
|
+
export * from "./ListRetirableGrantsCommand";
|
|
35
|
+
export * from "./PutKeyPolicyCommand";
|
|
36
|
+
export * from "./ReEncryptCommand";
|
|
37
|
+
export * from "./ReplicateKeyCommand";
|
|
38
|
+
export * from "./RetireGrantCommand";
|
|
39
|
+
export * from "./RevokeGrantCommand";
|
|
40
|
+
export * from "./ScheduleKeyDeletionCommand";
|
|
41
|
+
export * from "./SignCommand";
|
|
42
|
+
export * from "./TagResourceCommand";
|
|
43
|
+
export * from "./UntagResourceCommand";
|
|
44
|
+
export * from "./UpdateAliasCommand";
|
|
45
|
+
export * from "./UpdateCustomKeyStoreCommand";
|
|
46
|
+
export * from "./UpdateKeyDescriptionCommand";
|
|
47
|
+
export * from "./UpdatePrimaryRegionCommand";
|
|
48
|
+
export * from "./VerifyCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,56 +1,5 @@
|
|
|
1
|
-
export * from "./KMSClient";
|
|
2
1
|
export * from "./KMS";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./commands/CreateGrantCommand";
|
|
8
|
-
export * from "./commands/CreateKeyCommand";
|
|
9
|
-
export * from "./commands/DecryptCommand";
|
|
10
|
-
export * from "./commands/DeleteAliasCommand";
|
|
11
|
-
export * from "./commands/DeleteCustomKeyStoreCommand";
|
|
12
|
-
export * from "./commands/DeleteImportedKeyMaterialCommand";
|
|
13
|
-
export * from "./commands/DescribeCustomKeyStoresCommand";
|
|
14
|
-
export * from "./commands/DescribeKeyCommand";
|
|
15
|
-
export * from "./commands/DisableKeyCommand";
|
|
16
|
-
export * from "./commands/DisableKeyRotationCommand";
|
|
17
|
-
export * from "./commands/DisconnectCustomKeyStoreCommand";
|
|
18
|
-
export * from "./commands/EnableKeyCommand";
|
|
19
|
-
export * from "./commands/EnableKeyRotationCommand";
|
|
20
|
-
export * from "./commands/EncryptCommand";
|
|
21
|
-
export * from "./commands/GenerateDataKeyCommand";
|
|
22
|
-
export * from "./commands/GenerateDataKeyPairCommand";
|
|
23
|
-
export * from "./commands/GenerateDataKeyPairWithoutPlaintextCommand";
|
|
24
|
-
export * from "./commands/GenerateDataKeyWithoutPlaintextCommand";
|
|
25
|
-
export * from "./commands/GenerateRandomCommand";
|
|
26
|
-
export * from "./commands/GetKeyPolicyCommand";
|
|
27
|
-
export * from "./commands/GetKeyRotationStatusCommand";
|
|
28
|
-
export * from "./commands/GetParametersForImportCommand";
|
|
29
|
-
export * from "./commands/GetPublicKeyCommand";
|
|
30
|
-
export * from "./commands/ImportKeyMaterialCommand";
|
|
31
|
-
export * from "./commands/ListAliasesCommand";
|
|
32
|
-
export * from "./pagination/ListAliasesPaginator";
|
|
33
|
-
export * from "./commands/ListGrantsCommand";
|
|
34
|
-
export * from "./pagination/ListGrantsPaginator";
|
|
35
|
-
export * from "./commands/ListKeyPoliciesCommand";
|
|
36
|
-
export * from "./pagination/ListKeyPoliciesPaginator";
|
|
37
|
-
export * from "./commands/ListKeysCommand";
|
|
38
|
-
export * from "./pagination/ListKeysPaginator";
|
|
39
|
-
export * from "./commands/ListResourceTagsCommand";
|
|
40
|
-
export * from "./commands/ListRetirableGrantsCommand";
|
|
41
|
-
export * from "./commands/PutKeyPolicyCommand";
|
|
42
|
-
export * from "./commands/ReEncryptCommand";
|
|
43
|
-
export * from "./commands/ReplicateKeyCommand";
|
|
44
|
-
export * from "./commands/RetireGrantCommand";
|
|
45
|
-
export * from "./commands/RevokeGrantCommand";
|
|
46
|
-
export * from "./commands/ScheduleKeyDeletionCommand";
|
|
47
|
-
export * from "./commands/SignCommand";
|
|
48
|
-
export * from "./commands/TagResourceCommand";
|
|
49
|
-
export * from "./commands/UntagResourceCommand";
|
|
50
|
-
export * from "./commands/UpdateAliasCommand";
|
|
51
|
-
export * from "./commands/UpdateCustomKeyStoreCommand";
|
|
52
|
-
export * from "./commands/UpdateKeyDescriptionCommand";
|
|
53
|
-
export * from "./commands/UpdatePrimaryRegionCommand";
|
|
54
|
-
export * from "./commands/VerifyCommand";
|
|
55
|
-
export * from "./pagination/Interfaces";
|
|
56
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./KMSClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|