@aws-sdk/client-kms 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KMSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +433 -3
- package/dist-cjs/protocols/Aws_json1_1.js +624 -2521
- package/dist-es/index.js +1 -0
- package/dist-es/models/KMSServiceException.js +12 -0
- package/dist-es/models/models_0.js +398 -1
- package/dist-es/protocols/Aws_json1_1.js +1320 -2648
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KMSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +233 -133
- package/dist-types/ts3.4/KMS.d.ts +245 -0
- package/dist-types/ts3.4/KMSClient.d.ts +121 -0
- package/dist-types/ts3.4/commands/CancelKeyDeletionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConnectCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DecryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteImportedKeyMaterialCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCustomKeyStoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableKeyRotationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableKeyRotationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EncryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateRandomCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyRotationStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportKeyMaterialCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGrantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeyPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourceTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRetirableGrantsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutKeyPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReEncryptCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReplicateKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RetireGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RevokeGrantCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ScheduleKeyDeletionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SignCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCustomKeyStoreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateKeyDescriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryRegionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VerifyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +48 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/KMSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1484 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGrantsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKeyPoliciesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-kms
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-kms
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kms
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KMSServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./KMS"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./KMSClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var KMSServiceException_1 = require("./models/KMSServiceException");
|
|
11
|
+
Object.defineProperty(exports, "KMSServiceException", { enumerable: true, get: function () { return KMSServiceException_1.KMSServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KMSServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class KMSServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, KMSServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.KMSServiceException = KMSServiceException;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.VerifyResponse = exports.VerifyRequest = exports.UpdatePrimaryRegionRequest = exports.UpdateKeyDescriptionRequest = exports.UpdateCustomKeyStoreResponse = exports.UpdateCustomKeyStoreRequest = exports.UpdateAliasRequest = void 0;
|
|
3
|
+
exports.CreateKeyResponse = exports.KeyMetadata = exports.SigningAlgorithmSpec = exports.MultiRegionConfiguration = exports.MultiRegionKey = exports.MultiRegionKeyType = exports.KeyState = exports.KeyManagerType = exports.ExpirationModelType = exports.EncryptionAlgorithmSpec = exports.CreateKeyRequest = exports.Tag = exports.OriginType = exports.KeyUsageType = exports.KeySpec = exports.CustomerMasterKeySpec = exports.InvalidGrantTokenException = exports.DisabledException = exports.CreateGrantResponse = exports.CreateGrantRequest = exports.GrantOperation = exports.GrantConstraints = exports.IncorrectTrustAnchorException = exports.CustomKeyStoreNameInUseException = exports.CreateCustomKeyStoreResponse = exports.CreateCustomKeyStoreRequest = exports.LimitExceededException = exports.InvalidAliasNameException = exports.CreateAliasRequest = exports.ConnectionStateType = exports.ConnectionErrorCodeType = exports.CustomKeyStoreNotFoundException = exports.CustomKeyStoreInvalidStateException = exports.ConnectCustomKeyStoreResponse = exports.ConnectCustomKeyStoreRequest = exports.CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotActiveException = exports.CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInUseException = exports.NotFoundException = exports.KMSInvalidStateException = exports.KMSInternalException = exports.InvalidArnException = exports.DependencyTimeoutException = exports.CancelKeyDeletionResponse = exports.CancelKeyDeletionRequest = exports.AlreadyExistsException = exports.AliasListEntry = exports.AlgorithmSpec = void 0;
|
|
4
|
+
exports.GetPublicKeyResponse = exports.GetPublicKeyRequest = exports.GetParametersForImportResponse = exports.GetParametersForImportRequest = exports.WrappingKeySpec = exports.GetKeyRotationStatusResponse = exports.GetKeyRotationStatusRequest = exports.GetKeyPolicyResponse = exports.GetKeyPolicyRequest = exports.GenerateRandomResponse = exports.GenerateRandomRequest = exports.GenerateDataKeyWithoutPlaintextResponse = exports.GenerateDataKeyWithoutPlaintextRequest = exports.GenerateDataKeyPairWithoutPlaintextResponse = exports.GenerateDataKeyPairWithoutPlaintextRequest = exports.GenerateDataKeyPairResponse = exports.GenerateDataKeyPairRequest = exports.GenerateDataKeyResponse = exports.GenerateDataKeyRequest = exports.ExpiredImportTokenException = exports.EncryptResponse = exports.EncryptRequest = exports.EnableKeyRotationRequest = exports.EnableKeyRequest = exports.DisconnectCustomKeyStoreResponse = exports.DisconnectCustomKeyStoreRequest = exports.DisableKeyRotationRequest = exports.DisableKeyRequest = exports.DescribeKeyResponse = exports.DescribeKeyRequest = exports.InvalidMarkerException = exports.DescribeCustomKeyStoresResponse = exports.DescribeCustomKeyStoresRequest = exports.DeleteImportedKeyMaterialRequest = exports.DeleteCustomKeyStoreResponse = exports.DeleteCustomKeyStoreRequest = exports.DeleteAliasRequest = exports.KeyUnavailableException = exports.InvalidKeyUsageException = exports.InvalidCiphertextException = exports.IncorrectKeyException = exports.DecryptResponse = exports.DecryptRequest = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoresListEntry = exports.CustomKeyStoreHasCMKsException = exports.UnsupportedOperationException = exports.TagException = exports.MalformedPolicyDocumentException = void 0;
|
|
5
|
+
exports.VerifyResponse = exports.VerifyRequest = exports.UpdatePrimaryRegionRequest = exports.UpdateKeyDescriptionRequest = exports.UpdateCustomKeyStoreResponse = exports.UpdateCustomKeyStoreRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.SignResponse = exports.SignRequest = exports.ScheduleKeyDeletionResponse = exports.ScheduleKeyDeletionRequest = exports.RevokeGrantRequest = exports.RetireGrantRequest = exports.ReplicateKeyResponse = exports.ReplicateKeyRequest = exports.ReEncryptResponse = exports.ReEncryptRequest = exports.PutKeyPolicyRequest = exports.MessageType = exports.ListRetirableGrantsRequest = exports.ListResourceTagsResponse = exports.ListResourceTagsRequest = exports.ListKeysResponse = exports.ListKeysRequest = exports.ListKeyPoliciesResponse = exports.ListKeyPoliciesRequest = exports.ListGrantsResponse = exports.ListGrantsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.KMSInvalidSignatureException = exports.KeyListEntry = exports.InvalidGrantIdException = exports.InvalidImportTokenException = exports.IncorrectKeyMaterialException = exports.ImportKeyMaterialResponse = exports.ImportKeyMaterialRequest = exports.GrantListEntry = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const KMSServiceException_1 = require("./KMSServiceException");
|
|
7
8
|
var AlgorithmSpec;
|
|
8
9
|
(function (AlgorithmSpec) {
|
|
9
10
|
AlgorithmSpec["RSAES_OAEP_SHA_1"] = "RSAES_OAEP_SHA_1";
|
|
@@ -16,6 +17,19 @@ var AliasListEntry;
|
|
|
16
17
|
...obj,
|
|
17
18
|
});
|
|
18
19
|
})(AliasListEntry = exports.AliasListEntry || (exports.AliasListEntry = {}));
|
|
20
|
+
class AlreadyExistsException extends KMSServiceException_1.KMSServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "AlreadyExistsException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "AlreadyExistsException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.AlreadyExistsException = AlreadyExistsException;
|
|
19
33
|
var CancelKeyDeletionRequest;
|
|
20
34
|
(function (CancelKeyDeletionRequest) {
|
|
21
35
|
CancelKeyDeletionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -28,6 +42,136 @@ var CancelKeyDeletionResponse;
|
|
|
28
42
|
...obj,
|
|
29
43
|
});
|
|
30
44
|
})(CancelKeyDeletionResponse = exports.CancelKeyDeletionResponse || (exports.CancelKeyDeletionResponse = {}));
|
|
45
|
+
class DependencyTimeoutException extends KMSServiceException_1.KMSServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "DependencyTimeoutException",
|
|
49
|
+
$fault: "server",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
this.name = "DependencyTimeoutException";
|
|
53
|
+
this.$fault = "server";
|
|
54
|
+
Object.setPrototypeOf(this, DependencyTimeoutException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DependencyTimeoutException = DependencyTimeoutException;
|
|
58
|
+
class InvalidArnException extends KMSServiceException_1.KMSServiceException {
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "InvalidArnException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
this.name = "InvalidArnException";
|
|
66
|
+
this.$fault = "client";
|
|
67
|
+
Object.setPrototypeOf(this, InvalidArnException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.InvalidArnException = InvalidArnException;
|
|
71
|
+
class KMSInternalException extends KMSServiceException_1.KMSServiceException {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
super({
|
|
74
|
+
name: "KMSInternalException",
|
|
75
|
+
$fault: "server",
|
|
76
|
+
...opts,
|
|
77
|
+
});
|
|
78
|
+
this.name = "KMSInternalException";
|
|
79
|
+
this.$fault = "server";
|
|
80
|
+
Object.setPrototypeOf(this, KMSInternalException.prototype);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.KMSInternalException = KMSInternalException;
|
|
84
|
+
class KMSInvalidStateException extends KMSServiceException_1.KMSServiceException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "KMSInvalidStateException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "KMSInvalidStateException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.KMSInvalidStateException = KMSInvalidStateException;
|
|
97
|
+
class NotFoundException extends KMSServiceException_1.KMSServiceException {
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "NotFoundException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
this.name = "NotFoundException";
|
|
105
|
+
this.$fault = "client";
|
|
106
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.NotFoundException = NotFoundException;
|
|
110
|
+
class CloudHsmClusterInUseException extends KMSServiceException_1.KMSServiceException {
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "CloudHsmClusterInUseException",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
this.name = "CloudHsmClusterInUseException";
|
|
118
|
+
this.$fault = "client";
|
|
119
|
+
Object.setPrototypeOf(this, CloudHsmClusterInUseException.prototype);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.CloudHsmClusterInUseException = CloudHsmClusterInUseException;
|
|
123
|
+
class CloudHsmClusterInvalidConfigurationException extends KMSServiceException_1.KMSServiceException {
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "CloudHsmClusterInvalidConfigurationException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
this.name = "CloudHsmClusterInvalidConfigurationException";
|
|
131
|
+
this.$fault = "client";
|
|
132
|
+
Object.setPrototypeOf(this, CloudHsmClusterInvalidConfigurationException.prototype);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.CloudHsmClusterInvalidConfigurationException = CloudHsmClusterInvalidConfigurationException;
|
|
136
|
+
class CloudHsmClusterNotActiveException extends KMSServiceException_1.KMSServiceException {
|
|
137
|
+
constructor(opts) {
|
|
138
|
+
super({
|
|
139
|
+
name: "CloudHsmClusterNotActiveException",
|
|
140
|
+
$fault: "client",
|
|
141
|
+
...opts,
|
|
142
|
+
});
|
|
143
|
+
this.name = "CloudHsmClusterNotActiveException";
|
|
144
|
+
this.$fault = "client";
|
|
145
|
+
Object.setPrototypeOf(this, CloudHsmClusterNotActiveException.prototype);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
exports.CloudHsmClusterNotActiveException = CloudHsmClusterNotActiveException;
|
|
149
|
+
class CloudHsmClusterNotFoundException extends KMSServiceException_1.KMSServiceException {
|
|
150
|
+
constructor(opts) {
|
|
151
|
+
super({
|
|
152
|
+
name: "CloudHsmClusterNotFoundException",
|
|
153
|
+
$fault: "client",
|
|
154
|
+
...opts,
|
|
155
|
+
});
|
|
156
|
+
this.name = "CloudHsmClusterNotFoundException";
|
|
157
|
+
this.$fault = "client";
|
|
158
|
+
Object.setPrototypeOf(this, CloudHsmClusterNotFoundException.prototype);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.CloudHsmClusterNotFoundException = CloudHsmClusterNotFoundException;
|
|
162
|
+
class CloudHsmClusterNotRelatedException extends KMSServiceException_1.KMSServiceException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "CloudHsmClusterNotRelatedException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "CloudHsmClusterNotRelatedException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, CloudHsmClusterNotRelatedException.prototype);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
exports.CloudHsmClusterNotRelatedException = CloudHsmClusterNotRelatedException;
|
|
31
175
|
var ConnectCustomKeyStoreRequest;
|
|
32
176
|
(function (ConnectCustomKeyStoreRequest) {
|
|
33
177
|
ConnectCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -40,6 +184,32 @@ var ConnectCustomKeyStoreResponse;
|
|
|
40
184
|
...obj,
|
|
41
185
|
});
|
|
42
186
|
})(ConnectCustomKeyStoreResponse = exports.ConnectCustomKeyStoreResponse || (exports.ConnectCustomKeyStoreResponse = {}));
|
|
187
|
+
class CustomKeyStoreInvalidStateException extends KMSServiceException_1.KMSServiceException {
|
|
188
|
+
constructor(opts) {
|
|
189
|
+
super({
|
|
190
|
+
name: "CustomKeyStoreInvalidStateException",
|
|
191
|
+
$fault: "client",
|
|
192
|
+
...opts,
|
|
193
|
+
});
|
|
194
|
+
this.name = "CustomKeyStoreInvalidStateException";
|
|
195
|
+
this.$fault = "client";
|
|
196
|
+
Object.setPrototypeOf(this, CustomKeyStoreInvalidStateException.prototype);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.CustomKeyStoreInvalidStateException = CustomKeyStoreInvalidStateException;
|
|
200
|
+
class CustomKeyStoreNotFoundException extends KMSServiceException_1.KMSServiceException {
|
|
201
|
+
constructor(opts) {
|
|
202
|
+
super({
|
|
203
|
+
name: "CustomKeyStoreNotFoundException",
|
|
204
|
+
$fault: "client",
|
|
205
|
+
...opts,
|
|
206
|
+
});
|
|
207
|
+
this.name = "CustomKeyStoreNotFoundException";
|
|
208
|
+
this.$fault = "client";
|
|
209
|
+
Object.setPrototypeOf(this, CustomKeyStoreNotFoundException.prototype);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
exports.CustomKeyStoreNotFoundException = CustomKeyStoreNotFoundException;
|
|
43
213
|
var ConnectionErrorCodeType;
|
|
44
214
|
(function (ConnectionErrorCodeType) {
|
|
45
215
|
ConnectionErrorCodeType["CLUSTER_NOT_FOUND"] = "CLUSTER_NOT_FOUND";
|
|
@@ -66,6 +236,32 @@ var CreateAliasRequest;
|
|
|
66
236
|
...obj,
|
|
67
237
|
});
|
|
68
238
|
})(CreateAliasRequest = exports.CreateAliasRequest || (exports.CreateAliasRequest = {}));
|
|
239
|
+
class InvalidAliasNameException extends KMSServiceException_1.KMSServiceException {
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "InvalidAliasNameException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts,
|
|
245
|
+
});
|
|
246
|
+
this.name = "InvalidAliasNameException";
|
|
247
|
+
this.$fault = "client";
|
|
248
|
+
Object.setPrototypeOf(this, InvalidAliasNameException.prototype);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.InvalidAliasNameException = InvalidAliasNameException;
|
|
252
|
+
class LimitExceededException extends KMSServiceException_1.KMSServiceException {
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "LimitExceededException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts,
|
|
258
|
+
});
|
|
259
|
+
this.name = "LimitExceededException";
|
|
260
|
+
this.$fault = "client";
|
|
261
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
exports.LimitExceededException = LimitExceededException;
|
|
69
265
|
var CreateCustomKeyStoreRequest;
|
|
70
266
|
(function (CreateCustomKeyStoreRequest) {
|
|
71
267
|
CreateCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -79,6 +275,32 @@ var CreateCustomKeyStoreResponse;
|
|
|
79
275
|
...obj,
|
|
80
276
|
});
|
|
81
277
|
})(CreateCustomKeyStoreResponse = exports.CreateCustomKeyStoreResponse || (exports.CreateCustomKeyStoreResponse = {}));
|
|
278
|
+
class CustomKeyStoreNameInUseException extends KMSServiceException_1.KMSServiceException {
|
|
279
|
+
constructor(opts) {
|
|
280
|
+
super({
|
|
281
|
+
name: "CustomKeyStoreNameInUseException",
|
|
282
|
+
$fault: "client",
|
|
283
|
+
...opts,
|
|
284
|
+
});
|
|
285
|
+
this.name = "CustomKeyStoreNameInUseException";
|
|
286
|
+
this.$fault = "client";
|
|
287
|
+
Object.setPrototypeOf(this, CustomKeyStoreNameInUseException.prototype);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
exports.CustomKeyStoreNameInUseException = CustomKeyStoreNameInUseException;
|
|
291
|
+
class IncorrectTrustAnchorException extends KMSServiceException_1.KMSServiceException {
|
|
292
|
+
constructor(opts) {
|
|
293
|
+
super({
|
|
294
|
+
name: "IncorrectTrustAnchorException",
|
|
295
|
+
$fault: "client",
|
|
296
|
+
...opts,
|
|
297
|
+
});
|
|
298
|
+
this.name = "IncorrectTrustAnchorException";
|
|
299
|
+
this.$fault = "client";
|
|
300
|
+
Object.setPrototypeOf(this, IncorrectTrustAnchorException.prototype);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
exports.IncorrectTrustAnchorException = IncorrectTrustAnchorException;
|
|
82
304
|
var GrantConstraints;
|
|
83
305
|
(function (GrantConstraints) {
|
|
84
306
|
GrantConstraints.filterSensitiveLog = (obj) => ({
|
|
@@ -114,6 +336,32 @@ var CreateGrantResponse;
|
|
|
114
336
|
...obj,
|
|
115
337
|
});
|
|
116
338
|
})(CreateGrantResponse = exports.CreateGrantResponse || (exports.CreateGrantResponse = {}));
|
|
339
|
+
class DisabledException extends KMSServiceException_1.KMSServiceException {
|
|
340
|
+
constructor(opts) {
|
|
341
|
+
super({
|
|
342
|
+
name: "DisabledException",
|
|
343
|
+
$fault: "client",
|
|
344
|
+
...opts,
|
|
345
|
+
});
|
|
346
|
+
this.name = "DisabledException";
|
|
347
|
+
this.$fault = "client";
|
|
348
|
+
Object.setPrototypeOf(this, DisabledException.prototype);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
exports.DisabledException = DisabledException;
|
|
352
|
+
class InvalidGrantTokenException extends KMSServiceException_1.KMSServiceException {
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "InvalidGrantTokenException",
|
|
356
|
+
$fault: "client",
|
|
357
|
+
...opts,
|
|
358
|
+
});
|
|
359
|
+
this.name = "InvalidGrantTokenException";
|
|
360
|
+
this.$fault = "client";
|
|
361
|
+
Object.setPrototypeOf(this, InvalidGrantTokenException.prototype);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
exports.InvalidGrantTokenException = InvalidGrantTokenException;
|
|
117
365
|
var CustomerMasterKeySpec;
|
|
118
366
|
(function (CustomerMasterKeySpec) {
|
|
119
367
|
CustomerMasterKeySpec["ECC_NIST_P256"] = "ECC_NIST_P256";
|
|
@@ -227,6 +475,58 @@ var CreateKeyResponse;
|
|
|
227
475
|
...obj,
|
|
228
476
|
});
|
|
229
477
|
})(CreateKeyResponse = exports.CreateKeyResponse || (exports.CreateKeyResponse = {}));
|
|
478
|
+
class MalformedPolicyDocumentException extends KMSServiceException_1.KMSServiceException {
|
|
479
|
+
constructor(opts) {
|
|
480
|
+
super({
|
|
481
|
+
name: "MalformedPolicyDocumentException",
|
|
482
|
+
$fault: "client",
|
|
483
|
+
...opts,
|
|
484
|
+
});
|
|
485
|
+
this.name = "MalformedPolicyDocumentException";
|
|
486
|
+
this.$fault = "client";
|
|
487
|
+
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
491
|
+
class TagException extends KMSServiceException_1.KMSServiceException {
|
|
492
|
+
constructor(opts) {
|
|
493
|
+
super({
|
|
494
|
+
name: "TagException",
|
|
495
|
+
$fault: "client",
|
|
496
|
+
...opts,
|
|
497
|
+
});
|
|
498
|
+
this.name = "TagException";
|
|
499
|
+
this.$fault = "client";
|
|
500
|
+
Object.setPrototypeOf(this, TagException.prototype);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
exports.TagException = TagException;
|
|
504
|
+
class UnsupportedOperationException extends KMSServiceException_1.KMSServiceException {
|
|
505
|
+
constructor(opts) {
|
|
506
|
+
super({
|
|
507
|
+
name: "UnsupportedOperationException",
|
|
508
|
+
$fault: "client",
|
|
509
|
+
...opts,
|
|
510
|
+
});
|
|
511
|
+
this.name = "UnsupportedOperationException";
|
|
512
|
+
this.$fault = "client";
|
|
513
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
517
|
+
class CustomKeyStoreHasCMKsException extends KMSServiceException_1.KMSServiceException {
|
|
518
|
+
constructor(opts) {
|
|
519
|
+
super({
|
|
520
|
+
name: "CustomKeyStoreHasCMKsException",
|
|
521
|
+
$fault: "client",
|
|
522
|
+
...opts,
|
|
523
|
+
});
|
|
524
|
+
this.name = "CustomKeyStoreHasCMKsException";
|
|
525
|
+
this.$fault = "client";
|
|
526
|
+
Object.setPrototypeOf(this, CustomKeyStoreHasCMKsException.prototype);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
exports.CustomKeyStoreHasCMKsException = CustomKeyStoreHasCMKsException;
|
|
230
530
|
var CustomKeyStoresListEntry;
|
|
231
531
|
(function (CustomKeyStoresListEntry) {
|
|
232
532
|
CustomKeyStoresListEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -261,6 +561,58 @@ var DecryptResponse;
|
|
|
261
561
|
...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
|
|
262
562
|
});
|
|
263
563
|
})(DecryptResponse = exports.DecryptResponse || (exports.DecryptResponse = {}));
|
|
564
|
+
class IncorrectKeyException extends KMSServiceException_1.KMSServiceException {
|
|
565
|
+
constructor(opts) {
|
|
566
|
+
super({
|
|
567
|
+
name: "IncorrectKeyException",
|
|
568
|
+
$fault: "client",
|
|
569
|
+
...opts,
|
|
570
|
+
});
|
|
571
|
+
this.name = "IncorrectKeyException";
|
|
572
|
+
this.$fault = "client";
|
|
573
|
+
Object.setPrototypeOf(this, IncorrectKeyException.prototype);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
exports.IncorrectKeyException = IncorrectKeyException;
|
|
577
|
+
class InvalidCiphertextException extends KMSServiceException_1.KMSServiceException {
|
|
578
|
+
constructor(opts) {
|
|
579
|
+
super({
|
|
580
|
+
name: "InvalidCiphertextException",
|
|
581
|
+
$fault: "client",
|
|
582
|
+
...opts,
|
|
583
|
+
});
|
|
584
|
+
this.name = "InvalidCiphertextException";
|
|
585
|
+
this.$fault = "client";
|
|
586
|
+
Object.setPrototypeOf(this, InvalidCiphertextException.prototype);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
exports.InvalidCiphertextException = InvalidCiphertextException;
|
|
590
|
+
class InvalidKeyUsageException extends KMSServiceException_1.KMSServiceException {
|
|
591
|
+
constructor(opts) {
|
|
592
|
+
super({
|
|
593
|
+
name: "InvalidKeyUsageException",
|
|
594
|
+
$fault: "client",
|
|
595
|
+
...opts,
|
|
596
|
+
});
|
|
597
|
+
this.name = "InvalidKeyUsageException";
|
|
598
|
+
this.$fault = "client";
|
|
599
|
+
Object.setPrototypeOf(this, InvalidKeyUsageException.prototype);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
exports.InvalidKeyUsageException = InvalidKeyUsageException;
|
|
603
|
+
class KeyUnavailableException extends KMSServiceException_1.KMSServiceException {
|
|
604
|
+
constructor(opts) {
|
|
605
|
+
super({
|
|
606
|
+
name: "KeyUnavailableException",
|
|
607
|
+
$fault: "server",
|
|
608
|
+
...opts,
|
|
609
|
+
});
|
|
610
|
+
this.name = "KeyUnavailableException";
|
|
611
|
+
this.$fault = "server";
|
|
612
|
+
Object.setPrototypeOf(this, KeyUnavailableException.prototype);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
exports.KeyUnavailableException = KeyUnavailableException;
|
|
264
616
|
var DeleteAliasRequest;
|
|
265
617
|
(function (DeleteAliasRequest) {
|
|
266
618
|
DeleteAliasRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -297,6 +649,19 @@ var DescribeCustomKeyStoresResponse;
|
|
|
297
649
|
...obj,
|
|
298
650
|
});
|
|
299
651
|
})(DescribeCustomKeyStoresResponse = exports.DescribeCustomKeyStoresResponse || (exports.DescribeCustomKeyStoresResponse = {}));
|
|
652
|
+
class InvalidMarkerException extends KMSServiceException_1.KMSServiceException {
|
|
653
|
+
constructor(opts) {
|
|
654
|
+
super({
|
|
655
|
+
name: "InvalidMarkerException",
|
|
656
|
+
$fault: "client",
|
|
657
|
+
...opts,
|
|
658
|
+
});
|
|
659
|
+
this.name = "InvalidMarkerException";
|
|
660
|
+
this.$fault = "client";
|
|
661
|
+
Object.setPrototypeOf(this, InvalidMarkerException.prototype);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
exports.InvalidMarkerException = InvalidMarkerException;
|
|
300
665
|
var DescribeKeyRequest;
|
|
301
666
|
(function (DescribeKeyRequest) {
|
|
302
667
|
DescribeKeyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -358,6 +723,19 @@ var EncryptResponse;
|
|
|
358
723
|
...obj,
|
|
359
724
|
});
|
|
360
725
|
})(EncryptResponse = exports.EncryptResponse || (exports.EncryptResponse = {}));
|
|
726
|
+
class ExpiredImportTokenException extends KMSServiceException_1.KMSServiceException {
|
|
727
|
+
constructor(opts) {
|
|
728
|
+
super({
|
|
729
|
+
name: "ExpiredImportTokenException",
|
|
730
|
+
$fault: "client",
|
|
731
|
+
...opts,
|
|
732
|
+
});
|
|
733
|
+
this.name = "ExpiredImportTokenException";
|
|
734
|
+
this.$fault = "client";
|
|
735
|
+
Object.setPrototypeOf(this, ExpiredImportTokenException.prototype);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
exports.ExpiredImportTokenException = ExpiredImportTokenException;
|
|
361
739
|
var GenerateDataKeyRequest;
|
|
362
740
|
(function (GenerateDataKeyRequest) {
|
|
363
741
|
GenerateDataKeyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -492,12 +870,64 @@ var ImportKeyMaterialResponse;
|
|
|
492
870
|
...obj,
|
|
493
871
|
});
|
|
494
872
|
})(ImportKeyMaterialResponse = exports.ImportKeyMaterialResponse || (exports.ImportKeyMaterialResponse = {}));
|
|
873
|
+
class IncorrectKeyMaterialException extends KMSServiceException_1.KMSServiceException {
|
|
874
|
+
constructor(opts) {
|
|
875
|
+
super({
|
|
876
|
+
name: "IncorrectKeyMaterialException",
|
|
877
|
+
$fault: "client",
|
|
878
|
+
...opts,
|
|
879
|
+
});
|
|
880
|
+
this.name = "IncorrectKeyMaterialException";
|
|
881
|
+
this.$fault = "client";
|
|
882
|
+
Object.setPrototypeOf(this, IncorrectKeyMaterialException.prototype);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
exports.IncorrectKeyMaterialException = IncorrectKeyMaterialException;
|
|
886
|
+
class InvalidImportTokenException extends KMSServiceException_1.KMSServiceException {
|
|
887
|
+
constructor(opts) {
|
|
888
|
+
super({
|
|
889
|
+
name: "InvalidImportTokenException",
|
|
890
|
+
$fault: "client",
|
|
891
|
+
...opts,
|
|
892
|
+
});
|
|
893
|
+
this.name = "InvalidImportTokenException";
|
|
894
|
+
this.$fault = "client";
|
|
895
|
+
Object.setPrototypeOf(this, InvalidImportTokenException.prototype);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
exports.InvalidImportTokenException = InvalidImportTokenException;
|
|
899
|
+
class InvalidGrantIdException extends KMSServiceException_1.KMSServiceException {
|
|
900
|
+
constructor(opts) {
|
|
901
|
+
super({
|
|
902
|
+
name: "InvalidGrantIdException",
|
|
903
|
+
$fault: "client",
|
|
904
|
+
...opts,
|
|
905
|
+
});
|
|
906
|
+
this.name = "InvalidGrantIdException";
|
|
907
|
+
this.$fault = "client";
|
|
908
|
+
Object.setPrototypeOf(this, InvalidGrantIdException.prototype);
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
exports.InvalidGrantIdException = InvalidGrantIdException;
|
|
495
912
|
var KeyListEntry;
|
|
496
913
|
(function (KeyListEntry) {
|
|
497
914
|
KeyListEntry.filterSensitiveLog = (obj) => ({
|
|
498
915
|
...obj,
|
|
499
916
|
});
|
|
500
917
|
})(KeyListEntry = exports.KeyListEntry || (exports.KeyListEntry = {}));
|
|
918
|
+
class KMSInvalidSignatureException extends KMSServiceException_1.KMSServiceException {
|
|
919
|
+
constructor(opts) {
|
|
920
|
+
super({
|
|
921
|
+
name: "KMSInvalidSignatureException",
|
|
922
|
+
$fault: "client",
|
|
923
|
+
...opts,
|
|
924
|
+
});
|
|
925
|
+
this.name = "KMSInvalidSignatureException";
|
|
926
|
+
this.$fault = "client";
|
|
927
|
+
Object.setPrototypeOf(this, KMSInvalidSignatureException.prototype);
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
exports.KMSInvalidSignatureException = KMSInvalidSignatureException;
|
|
501
931
|
var ListAliasesRequest;
|
|
502
932
|
(function (ListAliasesRequest) {
|
|
503
933
|
ListAliasesRequest.filterSensitiveLog = (obj) => ({
|