@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
|
@@ -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 { ListAliases$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAliasesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListAliases", {})
|
|
13
|
-
.n("KMSClient", "ListAliasesCommand")
|
|
14
|
-
.sc(ListAliases$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAliasesCommand extends command(_ep0, _mw0, "ListAliases", ListAliases$) {
|
|
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 { ListGrants$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListGrantsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListGrants", {})
|
|
13
|
-
.n("KMSClient", "ListGrantsCommand")
|
|
14
|
-
.sc(ListGrants$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListGrantsCommand extends command(_ep0, _mw0, "ListGrants", ListGrants$) {
|
|
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 { ListKeyPolicies$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListKeyPoliciesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListKeyPolicies", {})
|
|
13
|
-
.n("KMSClient", "ListKeyPoliciesCommand")
|
|
14
|
-
.sc(ListKeyPolicies$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListKeyPoliciesCommand extends command(_ep0, _mw0, "ListKeyPolicies", ListKeyPolicies$) {
|
|
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 { ListKeyRotations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListKeyRotationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListKeyRotations", {})
|
|
13
|
-
.n("KMSClient", "ListKeyRotationsCommand")
|
|
14
|
-
.sc(ListKeyRotations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListKeyRotationsCommand extends command(_ep0, _mw0, "ListKeyRotations", ListKeyRotations$) {
|
|
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 { ListKeys$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListKeysCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListKeys", {})
|
|
13
|
-
.n("KMSClient", "ListKeysCommand")
|
|
14
|
-
.sc(ListKeys$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
|
|
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 { ListResourceTags$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListResourceTagsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListResourceTags", {})
|
|
13
|
-
.n("KMSClient", "ListResourceTagsCommand")
|
|
14
|
-
.sc(ListResourceTags$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListResourceTagsCommand extends command(_ep0, _mw0, "ListResourceTags", ListResourceTags$) {
|
|
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 { ListRetirableGrants$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListRetirableGrantsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ListRetirableGrants", {})
|
|
13
|
-
.n("KMSClient", "ListRetirableGrantsCommand")
|
|
14
|
-
.sc(ListRetirableGrants$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListRetirableGrantsCommand extends command(_ep0, _mw0, "ListRetirableGrants", ListRetirableGrants$) {
|
|
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 { PutKeyPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutKeyPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "PutKeyPolicy", {})
|
|
13
|
-
.n("KMSClient", "PutKeyPolicyCommand")
|
|
14
|
-
.sc(PutKeyPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutKeyPolicyCommand extends command(_ep0, _mw0, "PutKeyPolicy", PutKeyPolicy$) {
|
|
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 { ReEncrypt$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ReEncryptCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ReEncrypt", {})
|
|
13
|
-
.n("KMSClient", "ReEncryptCommand")
|
|
14
|
-
.sc(ReEncrypt$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ReEncryptCommand extends command(_ep0, _mw0, "ReEncrypt", ReEncrypt$) {
|
|
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 { ReplicateKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ReplicateKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ReplicateKey", {})
|
|
13
|
-
.n("KMSClient", "ReplicateKeyCommand")
|
|
14
|
-
.sc(ReplicateKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ReplicateKeyCommand extends command(_ep0, _mw0, "ReplicateKey", ReplicateKey$) {
|
|
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 { RetireGrant$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RetireGrantCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "RetireGrant", {})
|
|
13
|
-
.n("KMSClient", "RetireGrantCommand")
|
|
14
|
-
.sc(RetireGrant$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RetireGrantCommand extends command(_ep0, _mw0, "RetireGrant", RetireGrant$) {
|
|
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 { RevokeGrant$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RevokeGrantCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "RevokeGrant", {})
|
|
13
|
-
.n("KMSClient", "RevokeGrantCommand")
|
|
14
|
-
.sc(RevokeGrant$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RevokeGrantCommand extends command(_ep0, _mw0, "RevokeGrant", RevokeGrant$) {
|
|
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 { RotateKeyOnDemand$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RotateKeyOnDemandCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "RotateKeyOnDemand", {})
|
|
13
|
-
.n("KMSClient", "RotateKeyOnDemandCommand")
|
|
14
|
-
.sc(RotateKeyOnDemand$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RotateKeyOnDemandCommand extends command(_ep0, _mw0, "RotateKeyOnDemand", RotateKeyOnDemand$) {
|
|
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 { ScheduleKeyDeletion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ScheduleKeyDeletionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "ScheduleKeyDeletion", {})
|
|
13
|
-
.n("KMSClient", "ScheduleKeyDeletionCommand")
|
|
14
|
-
.sc(ScheduleKeyDeletion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ScheduleKeyDeletionCommand extends command(_ep0, _mw0, "ScheduleKeyDeletion", ScheduleKeyDeletion$) {
|
|
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 { Sign$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SignCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "Sign", {})
|
|
13
|
-
.n("KMSClient", "SignCommand")
|
|
14
|
-
.sc(Sign$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SignCommand extends command(_ep0, _mw0, "Sign", Sign$) {
|
|
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 { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "TagResource", {})
|
|
13
|
-
.n("KMSClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
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 { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "UntagResource", {})
|
|
13
|
-
.n("KMSClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
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 { UpdateAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "UpdateAlias", {})
|
|
13
|
-
.n("KMSClient", "UpdateAliasCommand")
|
|
14
|
-
.sc(UpdateAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAliasCommand extends command(_ep0, _mw0, "UpdateAlias", UpdateAlias$) {
|
|
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 { UpdateCustomKeyStore$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateCustomKeyStoreCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "UpdateCustomKeyStore", {})
|
|
13
|
-
.n("KMSClient", "UpdateCustomKeyStoreCommand")
|
|
14
|
-
.sc(UpdateCustomKeyStore$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateCustomKeyStoreCommand extends command(_ep0, _mw0, "UpdateCustomKeyStore", UpdateCustomKeyStore$) {
|
|
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 { UpdateKeyDescription$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateKeyDescriptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "UpdateKeyDescription", {})
|
|
13
|
-
.n("KMSClient", "UpdateKeyDescriptionCommand")
|
|
14
|
-
.sc(UpdateKeyDescription$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateKeyDescriptionCommand extends command(_ep0, _mw0, "UpdateKeyDescription", UpdateKeyDescription$) {
|
|
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 { UpdatePrimaryRegion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePrimaryRegionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "UpdatePrimaryRegion", {})
|
|
13
|
-
.n("KMSClient", "UpdatePrimaryRegionCommand")
|
|
14
|
-
.sc(UpdatePrimaryRegion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePrimaryRegionCommand extends command(_ep0, _mw0, "UpdatePrimaryRegion", UpdatePrimaryRegion$) {
|
|
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 { Verify$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class VerifyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "Verify", {})
|
|
13
|
-
.n("KMSClient", "VerifyCommand")
|
|
14
|
-
.sc(Verify$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class VerifyCommand extends command(_ep0, _mw0, "Verify", Verify$) {
|
|
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 { VerifyMac$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class VerifyMacCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("TrentService", "VerifyMac", {})
|
|
13
|
-
.n("KMSClient", "VerifyMacCommand")
|
|
14
|
-
.sc(VerifyMac$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class VerifyMacCommand extends command(_ep0, _mw0, "VerifyMac", VerifyMac$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "TrentService",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "KMS",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./KMSClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
4
2
|
import type { CancelKeyDeletionRequest, CancelKeyDeletionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CancelKeyDeletionCommandInput extends CancelKeyDeletionRequest
|
|
|
22
19
|
export interface CancelKeyDeletionCommandOutput extends CancelKeyDeletionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CancelKeyDeletionCommand_base: {
|
|
25
|
-
new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, import("..").KMSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CancelKeyDeletionCommandInput): import("@smithy/core/client").CommandImpl<CancelKeyDeletionCommandInput, CancelKeyDeletionCommandOutput, import("..").KMSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KMSClient";
|
|
4
2
|
import type { ConnectCustomKeyStoreRequest, ConnectCustomKeyStoreResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ConnectCustomKeyStoreCommandInput extends ConnectCustomKeyStore
|
|
|
22
19
|
export interface ConnectCustomKeyStoreCommandOutput extends ConnectCustomKeyStoreResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ConnectCustomKeyStoreCommand_base: {
|
|
25
|
-
new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, KMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, import("..").KMSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ConnectCustomKeyStoreCommandInput): import("@smithy/core/client").CommandImpl<ConnectCustomKeyStoreCommandInput, ConnectCustomKeyStoreCommandOutput, import("..").KMSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Connects or reconnects a <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.html">custom key store</a> to its backing key store. For an CloudHSM key
|