@aws-sdk/client-payment-cryptography 3.883.0 → 3.887.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.
Files changed (55) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +336 -169
  3. package/dist-es/PaymentCryptography.js +10 -0
  4. package/dist-es/commands/AddKeyReplicationRegionsCommand.js +22 -0
  5. package/dist-es/commands/DisableDefaultKeyReplicationRegionsCommand.js +22 -0
  6. package/dist-es/commands/EnableDefaultKeyReplicationRegionsCommand.js +22 -0
  7. package/dist-es/commands/GetDefaultKeyReplicationRegionsCommand.js +22 -0
  8. package/dist-es/commands/GetParametersForExportCommand.js +1 -2
  9. package/dist-es/commands/GetParametersForImportCommand.js +1 -2
  10. package/dist-es/commands/GetPublicKeyCertificateCommand.js +1 -2
  11. package/dist-es/commands/RemoveKeyReplicationRegionsCommand.js +22 -0
  12. package/dist-es/commands/index.js +5 -0
  13. package/dist-es/models/models_0.js +112 -134
  14. package/dist-es/protocols/Aws_json1_0.js +112 -3
  15. package/dist-types/PaymentCryptography.d.ts +36 -0
  16. package/dist-types/PaymentCryptographyClient.d.ts +7 -2
  17. package/dist-types/commands/AddKeyReplicationRegionsCommand.d.ts +135 -0
  18. package/dist-types/commands/CreateAliasCommand.d.ts +8 -8
  19. package/dist-types/commands/CreateKeyCommand.d.ts +20 -8
  20. package/dist-types/commands/DeleteAliasCommand.d.ts +7 -7
  21. package/dist-types/commands/DeleteKeyCommand.d.ts +16 -7
  22. package/dist-types/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +97 -0
  23. package/dist-types/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +97 -0
  24. package/dist-types/commands/ExportKeyCommand.d.ts +7 -7
  25. package/dist-types/commands/GetAliasCommand.d.ts +6 -6
  26. package/dist-types/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +93 -0
  27. package/dist-types/commands/GetKeyCommand.d.ts +16 -7
  28. package/dist-types/commands/GetParametersForExportCommand.d.ts +8 -8
  29. package/dist-types/commands/GetParametersForImportCommand.d.ts +8 -8
  30. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +6 -6
  31. package/dist-types/commands/ImportKeyCommand.d.ts +20 -8
  32. package/dist-types/commands/ListAliasesCommand.d.ts +6 -6
  33. package/dist-types/commands/ListKeysCommand.d.ts +8 -6
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -6
  35. package/dist-types/commands/RemoveKeyReplicationRegionsCommand.d.ts +135 -0
  36. package/dist-types/commands/RestoreKeyCommand.d.ts +17 -8
  37. package/dist-types/commands/StartKeyUsageCommand.d.ts +17 -8
  38. package/dist-types/commands/StopKeyUsageCommand.d.ts +17 -8
  39. package/dist-types/commands/TagResourceCommand.d.ts +8 -8
  40. package/dist-types/commands/UntagResourceCommand.d.ts +7 -7
  41. package/dist-types/commands/UpdateAliasCommand.d.ts +7 -7
  42. package/dist-types/commands/index.d.ts +5 -0
  43. package/dist-types/models/models_0.d.ts +538 -364
  44. package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
  45. package/dist-types/ts3.4/PaymentCryptography.d.ts +98 -0
  46. package/dist-types/ts3.4/PaymentCryptographyClient.d.ts +30 -0
  47. package/dist-types/ts3.4/commands/AddKeyReplicationRegionsCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/RemoveKeyReplicationRegionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +159 -120
  54. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
  55. package/package.json +37 -37
@@ -1,10 +1,14 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { AddKeyReplicationRegionsCommand, } from "./commands/AddKeyReplicationRegionsCommand";
2
3
  import { CreateAliasCommand } from "./commands/CreateAliasCommand";
3
4
  import { CreateKeyCommand } from "./commands/CreateKeyCommand";
4
5
  import { DeleteAliasCommand } from "./commands/DeleteAliasCommand";
5
6
  import { DeleteKeyCommand } from "./commands/DeleteKeyCommand";
7
+ import { DisableDefaultKeyReplicationRegionsCommand, } from "./commands/DisableDefaultKeyReplicationRegionsCommand";
8
+ import { EnableDefaultKeyReplicationRegionsCommand, } from "./commands/EnableDefaultKeyReplicationRegionsCommand";
6
9
  import { ExportKeyCommand } from "./commands/ExportKeyCommand";
7
10
  import { GetAliasCommand } from "./commands/GetAliasCommand";
11
+ import { GetDefaultKeyReplicationRegionsCommand, } from "./commands/GetDefaultKeyReplicationRegionsCommand";
8
12
  import { GetKeyCommand } from "./commands/GetKeyCommand";
9
13
  import { GetParametersForExportCommand, } from "./commands/GetParametersForExportCommand";
10
14
  import { GetParametersForImportCommand, } from "./commands/GetParametersForImportCommand";
@@ -13,6 +17,7 @@ import { ImportKeyCommand } from "./commands/ImportKeyCommand";
13
17
  import { ListAliasesCommand } from "./commands/ListAliasesCommand";
14
18
  import { ListKeysCommand } from "./commands/ListKeysCommand";
15
19
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
20
+ import { RemoveKeyReplicationRegionsCommand, } from "./commands/RemoveKeyReplicationRegionsCommand";
16
21
  import { RestoreKeyCommand } from "./commands/RestoreKeyCommand";
17
22
  import { StartKeyUsageCommand, } from "./commands/StartKeyUsageCommand";
18
23
  import { StopKeyUsageCommand, } from "./commands/StopKeyUsageCommand";
@@ -21,12 +26,16 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
21
26
  import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
22
27
  import { PaymentCryptographyClient } from "./PaymentCryptographyClient";
23
28
  const commands = {
29
+ AddKeyReplicationRegionsCommand,
24
30
  CreateAliasCommand,
25
31
  CreateKeyCommand,
26
32
  DeleteAliasCommand,
27
33
  DeleteKeyCommand,
34
+ DisableDefaultKeyReplicationRegionsCommand,
35
+ EnableDefaultKeyReplicationRegionsCommand,
28
36
  ExportKeyCommand,
29
37
  GetAliasCommand,
38
+ GetDefaultKeyReplicationRegionsCommand,
30
39
  GetKeyCommand,
31
40
  GetParametersForExportCommand,
32
41
  GetParametersForImportCommand,
@@ -35,6 +44,7 @@ const commands = {
35
44
  ListAliasesCommand,
36
45
  ListKeysCommand,
37
46
  ListTagsForResourceCommand,
47
+ RemoveKeyReplicationRegionsCommand,
38
48
  RestoreKeyCommand,
39
49
  StartKeyUsageCommand,
40
50
  StopKeyUsageCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_AddKeyReplicationRegionsCommand, se_AddKeyReplicationRegionsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class AddKeyReplicationRegionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("PaymentCryptographyControlPlane", "AddKeyReplicationRegions", {})
17
+ .n("PaymentCryptographyClient", "AddKeyReplicationRegionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_AddKeyReplicationRegionsCommand)
20
+ .de(de_AddKeyReplicationRegionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DisableDefaultKeyReplicationRegionsCommand, se_DisableDefaultKeyReplicationRegionsCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DisableDefaultKeyReplicationRegionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("PaymentCryptographyControlPlane", "DisableDefaultKeyReplicationRegions", {})
17
+ .n("PaymentCryptographyClient", "DisableDefaultKeyReplicationRegionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DisableDefaultKeyReplicationRegionsCommand)
20
+ .de(de_DisableDefaultKeyReplicationRegionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_EnableDefaultKeyReplicationRegionsCommand, se_EnableDefaultKeyReplicationRegionsCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class EnableDefaultKeyReplicationRegionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("PaymentCryptographyControlPlane", "EnableDefaultKeyReplicationRegions", {})
17
+ .n("PaymentCryptographyClient", "EnableDefaultKeyReplicationRegionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_EnableDefaultKeyReplicationRegionsCommand)
20
+ .de(de_EnableDefaultKeyReplicationRegionsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDefaultKeyReplicationRegionsCommand, se_GetDefaultKeyReplicationRegionsCommand, } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetDefaultKeyReplicationRegionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("PaymentCryptographyControlPlane", "GetDefaultKeyReplicationRegions", {})
17
+ .n("PaymentCryptographyClient", "GetDefaultKeyReplicationRegionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetDefaultKeyReplicationRegionsCommand)
20
+ .de(de_GetDefaultKeyReplicationRegionsCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetParametersForExportOutputFilterSensitiveLog, } from "../models/models_0";
6
5
  import { de_GetParametersForExportCommand, se_GetParametersForExportCommand } from "../protocols/Aws_json1_0";
7
6
  export { $Command };
8
7
  export class GetParametersForExportCommand extends $Command
@@ -16,7 +15,7 @@ export class GetParametersForExportCommand extends $Command
16
15
  })
17
16
  .s("PaymentCryptographyControlPlane", "GetParametersForExport", {})
18
17
  .n("PaymentCryptographyClient", "GetParametersForExportCommand")
19
- .f(void 0, GetParametersForExportOutputFilterSensitiveLog)
18
+ .f(void 0, void 0)
20
19
  .ser(se_GetParametersForExportCommand)
21
20
  .de(de_GetParametersForExportCommand)
22
21
  .build() {
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetParametersForImportOutputFilterSensitiveLog, } from "../models/models_0";
6
5
  import { de_GetParametersForImportCommand, se_GetParametersForImportCommand } from "../protocols/Aws_json1_0";
7
6
  export { $Command };
8
7
  export class GetParametersForImportCommand extends $Command
@@ -16,7 +15,7 @@ export class GetParametersForImportCommand extends $Command
16
15
  })
17
16
  .s("PaymentCryptographyControlPlane", "GetParametersForImport", {})
18
17
  .n("PaymentCryptographyClient", "GetParametersForImportCommand")
19
- .f(void 0, GetParametersForImportOutputFilterSensitiveLog)
18
+ .f(void 0, void 0)
20
19
  .ser(se_GetParametersForImportCommand)
21
20
  .de(de_GetParametersForImportCommand)
22
21
  .build() {
@@ -2,7 +2,6 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetPublicKeyCertificateOutputFilterSensitiveLog, } from "../models/models_0";
6
5
  import { de_GetPublicKeyCertificateCommand, se_GetPublicKeyCertificateCommand } from "../protocols/Aws_json1_0";
7
6
  export { $Command };
8
7
  export class GetPublicKeyCertificateCommand extends $Command
@@ -16,7 +15,7 @@ export class GetPublicKeyCertificateCommand extends $Command
16
15
  })
17
16
  .s("PaymentCryptographyControlPlane", "GetPublicKeyCertificate", {})
18
17
  .n("PaymentCryptographyClient", "GetPublicKeyCertificateCommand")
19
- .f(void 0, GetPublicKeyCertificateOutputFilterSensitiveLog)
18
+ .f(void 0, void 0)
20
19
  .ser(se_GetPublicKeyCertificateCommand)
21
20
  .de(de_GetPublicKeyCertificateCommand)
22
21
  .build() {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_RemoveKeyReplicationRegionsCommand, se_RemoveKeyReplicationRegionsCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class RemoveKeyReplicationRegionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("PaymentCryptographyControlPlane", "RemoveKeyReplicationRegions", {})
17
+ .n("PaymentCryptographyClient", "RemoveKeyReplicationRegionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_RemoveKeyReplicationRegionsCommand)
20
+ .de(de_RemoveKeyReplicationRegionsCommand)
21
+ .build() {
22
+ }
@@ -1,9 +1,13 @@
1
+ export * from "./AddKeyReplicationRegionsCommand";
1
2
  export * from "./CreateAliasCommand";
2
3
  export * from "./CreateKeyCommand";
3
4
  export * from "./DeleteAliasCommand";
4
5
  export * from "./DeleteKeyCommand";
6
+ export * from "./DisableDefaultKeyReplicationRegionsCommand";
7
+ export * from "./EnableDefaultKeyReplicationRegionsCommand";
5
8
  export * from "./ExportKeyCommand";
6
9
  export * from "./GetAliasCommand";
10
+ export * from "./GetDefaultKeyReplicationRegionsCommand";
7
11
  export * from "./GetKeyCommand";
8
12
  export * from "./GetParametersForExportCommand";
9
13
  export * from "./GetParametersForImportCommand";
@@ -12,6 +16,7 @@ export * from "./ImportKeyCommand";
12
16
  export * from "./ListAliasesCommand";
13
17
  export * from "./ListKeysCommand";
14
18
  export * from "./ListTagsForResourceCommand";
19
+ export * from "./RemoveKeyReplicationRegionsCommand";
15
20
  export * from "./RestoreKeyCommand";
16
21
  export * from "./StartKeyUsageCommand";
17
22
  export * from "./StopKeyUsageCommand";
@@ -14,104 +14,6 @@ export class AccessDeniedException extends __BaseException {
14
14
  this.Message = opts.Message;
15
15
  }
16
16
  }
17
- export class ConflictException extends __BaseException {
18
- name = "ConflictException";
19
- $fault = "client";
20
- Message;
21
- constructor(opts) {
22
- super({
23
- name: "ConflictException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- Object.setPrototypeOf(this, ConflictException.prototype);
28
- this.Message = opts.Message;
29
- }
30
- }
31
- export class InternalServerException extends __BaseException {
32
- name = "InternalServerException";
33
- $fault = "server";
34
- Message;
35
- constructor(opts) {
36
- super({
37
- name: "InternalServerException",
38
- $fault: "server",
39
- ...opts,
40
- });
41
- Object.setPrototypeOf(this, InternalServerException.prototype);
42
- this.Message = opts.Message;
43
- }
44
- }
45
- export class ResourceNotFoundException extends __BaseException {
46
- name = "ResourceNotFoundException";
47
- $fault = "client";
48
- ResourceId;
49
- constructor(opts) {
50
- super({
51
- name: "ResourceNotFoundException",
52
- $fault: "client",
53
- ...opts,
54
- });
55
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
56
- this.ResourceId = opts.ResourceId;
57
- }
58
- }
59
- export class ServiceQuotaExceededException extends __BaseException {
60
- name = "ServiceQuotaExceededException";
61
- $fault = "client";
62
- Message;
63
- constructor(opts) {
64
- super({
65
- name: "ServiceQuotaExceededException",
66
- $fault: "client",
67
- ...opts,
68
- });
69
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
70
- this.Message = opts.Message;
71
- }
72
- }
73
- export class ServiceUnavailableException extends __BaseException {
74
- name = "ServiceUnavailableException";
75
- $fault = "server";
76
- Message;
77
- constructor(opts) {
78
- super({
79
- name: "ServiceUnavailableException",
80
- $fault: "server",
81
- ...opts,
82
- });
83
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
84
- this.Message = opts.Message;
85
- }
86
- }
87
- export class ThrottlingException extends __BaseException {
88
- name = "ThrottlingException";
89
- $fault = "client";
90
- Message;
91
- constructor(opts) {
92
- super({
93
- name: "ThrottlingException",
94
- $fault: "client",
95
- ...opts,
96
- });
97
- Object.setPrototypeOf(this, ThrottlingException.prototype);
98
- this.Message = opts.Message;
99
- }
100
- }
101
- export class ValidationException extends __BaseException {
102
- name = "ValidationException";
103
- $fault = "client";
104
- Message;
105
- constructor(opts) {
106
- super({
107
- name: "ValidationException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- Object.setPrototypeOf(this, ValidationException.prototype);
112
- this.Message = opts.Message;
113
- }
114
- }
115
17
  export const DeriveKeyUsage = {
116
18
  TR31_B0_BASE_DERIVATION_KEY: "TR31_B0_BASE_DERIVATION_KEY",
117
19
  TR31_C0_CARD_VERIFICATION_KEY: "TR31_C0_CARD_VERIFICATION_KEY",
@@ -185,6 +87,7 @@ export const KeyCheckValueAlgorithm = {
185
87
  ANSI_X9_24: "ANSI_X9_24",
186
88
  CMAC: "CMAC",
187
89
  HMAC: "HMAC",
90
+ SHA_1: "SHA_1",
188
91
  };
189
92
  export const KeyOrigin = {
190
93
  AWS_PAYMENT_CRYPTOGRAPHY: "AWS_PAYMENT_CRYPTOGRAPHY",
@@ -196,6 +99,114 @@ export const KeyState = {
196
99
  DELETE_COMPLETE: "DELETE_COMPLETE",
197
100
  DELETE_PENDING: "DELETE_PENDING",
198
101
  };
102
+ export const MultiRegionKeyType = {
103
+ PRIMARY: "PRIMARY",
104
+ REPLICA: "REPLICA",
105
+ };
106
+ export const KeyReplicationState = {
107
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
108
+ FAILED: "FAILED",
109
+ IN_PROGRESS: "IN_PROGRESS",
110
+ SYNCHRONIZED: "SYNCHRONIZED",
111
+ };
112
+ export class ConflictException extends __BaseException {
113
+ name = "ConflictException";
114
+ $fault = "client";
115
+ Message;
116
+ constructor(opts) {
117
+ super({
118
+ name: "ConflictException",
119
+ $fault: "client",
120
+ ...opts,
121
+ });
122
+ Object.setPrototypeOf(this, ConflictException.prototype);
123
+ this.Message = opts.Message;
124
+ }
125
+ }
126
+ export class InternalServerException extends __BaseException {
127
+ name = "InternalServerException";
128
+ $fault = "server";
129
+ Message;
130
+ constructor(opts) {
131
+ super({
132
+ name: "InternalServerException",
133
+ $fault: "server",
134
+ ...opts,
135
+ });
136
+ Object.setPrototypeOf(this, InternalServerException.prototype);
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ export class ResourceNotFoundException extends __BaseException {
141
+ name = "ResourceNotFoundException";
142
+ $fault = "client";
143
+ ResourceId;
144
+ constructor(opts) {
145
+ super({
146
+ name: "ResourceNotFoundException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
151
+ this.ResourceId = opts.ResourceId;
152
+ }
153
+ }
154
+ export class ServiceQuotaExceededException extends __BaseException {
155
+ name = "ServiceQuotaExceededException";
156
+ $fault = "client";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "ServiceQuotaExceededException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ export class ThrottlingException extends __BaseException {
169
+ name = "ThrottlingException";
170
+ $fault = "client";
171
+ Message;
172
+ constructor(opts) {
173
+ super({
174
+ name: "ThrottlingException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
182
+ export class ValidationException extends __BaseException {
183
+ name = "ValidationException";
184
+ $fault = "client";
185
+ Message;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ValidationException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ValidationException.prototype);
193
+ this.Message = opts.Message;
194
+ }
195
+ }
196
+ export class ServiceUnavailableException extends __BaseException {
197
+ name = "ServiceUnavailableException";
198
+ $fault = "server";
199
+ Message;
200
+ constructor(opts) {
201
+ super({
202
+ name: "ServiceUnavailableException",
203
+ $fault: "server",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
199
210
  export var DiffieHellmanDerivationData;
200
211
  (function (DiffieHellmanDerivationData) {
201
212
  DiffieHellmanDerivationData.visit = (value, visitor) => {
@@ -286,21 +297,15 @@ export const KeyBlockHeadersFilterSensitiveLog = (obj) => ({
286
297
  });
287
298
  export const ExportDiffieHellmanTr31KeyBlockFilterSensitiveLog = (obj) => ({
288
299
  ...obj,
289
- ...(obj.PublicKeyCertificate && { PublicKeyCertificate: SENSITIVE_STRING }),
290
300
  ...(obj.DerivationData && { DerivationData: obj.DerivationData }),
291
301
  ...(obj.KeyBlockHeaders && { KeyBlockHeaders: KeyBlockHeadersFilterSensitiveLog(obj.KeyBlockHeaders) }),
292
302
  });
293
- export const ExportKeyCryptogramFilterSensitiveLog = (obj) => ({
294
- ...obj,
295
- ...(obj.WrappingKeyCertificate && { WrappingKeyCertificate: SENSITIVE_STRING }),
296
- });
297
303
  export const ExportTr31KeyBlockFilterSensitiveLog = (obj) => ({
298
304
  ...obj,
299
305
  ...(obj.KeyBlockHeaders && { KeyBlockHeaders: KeyBlockHeadersFilterSensitiveLog(obj.KeyBlockHeaders) }),
300
306
  });
301
307
  export const ExportTr34KeyBlockFilterSensitiveLog = (obj) => ({
302
308
  ...obj,
303
- ...(obj.WrappingKeyCertificate && { WrappingKeyCertificate: SENSITIVE_STRING }),
304
309
  ...(obj.KeyBlockHeaders && { KeyBlockHeaders: KeyBlockHeadersFilterSensitiveLog(obj.KeyBlockHeaders) }),
305
310
  });
306
311
  export const ExportKeyMaterialFilterSensitiveLog = (obj) => {
@@ -309,7 +314,7 @@ export const ExportKeyMaterialFilterSensitiveLog = (obj) => {
309
314
  if (obj.Tr34KeyBlock !== undefined)
310
315
  return { Tr34KeyBlock: ExportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
311
316
  if (obj.KeyCryptogram !== undefined)
312
- return { KeyCryptogram: ExportKeyCryptogramFilterSensitiveLog(obj.KeyCryptogram) };
317
+ return { KeyCryptogram: obj.KeyCryptogram };
313
318
  if (obj.DiffieHellmanTr31KeyBlock !== undefined)
314
319
  return {
315
320
  DiffieHellmanTr31KeyBlock: ExportDiffieHellmanTr31KeyBlockFilterSensitiveLog(obj.DiffieHellmanTr31KeyBlock),
@@ -329,24 +334,8 @@ export const ExportKeyOutputFilterSensitiveLog = (obj) => ({
329
334
  ...obj,
330
335
  ...(obj.WrappedKey && { WrappedKey: WrappedKeyFilterSensitiveLog(obj.WrappedKey) }),
331
336
  });
332
- export const GetParametersForExportOutputFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- ...(obj.SigningKeyCertificate && { SigningKeyCertificate: SENSITIVE_STRING }),
335
- ...(obj.SigningKeyCertificateChain && { SigningKeyCertificateChain: SENSITIVE_STRING }),
336
- });
337
- export const GetParametersForImportOutputFilterSensitiveLog = (obj) => ({
338
- ...obj,
339
- ...(obj.WrappingKeyCertificate && { WrappingKeyCertificate: SENSITIVE_STRING }),
340
- ...(obj.WrappingKeyCertificateChain && { WrappingKeyCertificateChain: SENSITIVE_STRING }),
341
- });
342
- export const GetPublicKeyCertificateOutputFilterSensitiveLog = (obj) => ({
343
- ...obj,
344
- ...(obj.KeyCertificate && { KeyCertificate: SENSITIVE_STRING }),
345
- ...(obj.KeyCertificateChain && { KeyCertificateChain: SENSITIVE_STRING }),
346
- });
347
337
  export const ImportDiffieHellmanTr31KeyBlockFilterSensitiveLog = (obj) => ({
348
338
  ...obj,
349
- ...(obj.PublicKeyCertificate && { PublicKeyCertificate: SENSITIVE_STRING }),
350
339
  ...(obj.DerivationData && { DerivationData: obj.DerivationData }),
351
340
  ...(obj.WrappedKeyBlock && { WrappedKeyBlock: SENSITIVE_STRING }),
352
341
  });
@@ -354,30 +343,19 @@ export const ImportKeyCryptogramFilterSensitiveLog = (obj) => ({
354
343
  ...obj,
355
344
  ...(obj.WrappedKeyCryptogram && { WrappedKeyCryptogram: SENSITIVE_STRING }),
356
345
  });
357
- export const RootCertificatePublicKeyFilterSensitiveLog = (obj) => ({
358
- ...obj,
359
- ...(obj.PublicKeyCertificate && { PublicKeyCertificate: SENSITIVE_STRING }),
360
- });
361
346
  export const ImportTr31KeyBlockFilterSensitiveLog = (obj) => ({
362
347
  ...obj,
363
348
  ...(obj.WrappedKeyBlock && { WrappedKeyBlock: SENSITIVE_STRING }),
364
349
  });
365
350
  export const ImportTr34KeyBlockFilterSensitiveLog = (obj) => ({
366
351
  ...obj,
367
- ...(obj.SigningKeyCertificate && { SigningKeyCertificate: SENSITIVE_STRING }),
368
352
  ...(obj.WrappedKeyBlock && { WrappedKeyBlock: SENSITIVE_STRING }),
369
353
  });
370
- export const TrustedCertificatePublicKeyFilterSensitiveLog = (obj) => ({
371
- ...obj,
372
- ...(obj.PublicKeyCertificate && { PublicKeyCertificate: SENSITIVE_STRING }),
373
- });
374
354
  export const ImportKeyMaterialFilterSensitiveLog = (obj) => {
375
355
  if (obj.RootCertificatePublicKey !== undefined)
376
- return { RootCertificatePublicKey: RootCertificatePublicKeyFilterSensitiveLog(obj.RootCertificatePublicKey) };
356
+ return { RootCertificatePublicKey: obj.RootCertificatePublicKey };
377
357
  if (obj.TrustedCertificatePublicKey !== undefined)
378
- return {
379
- TrustedCertificatePublicKey: TrustedCertificatePublicKeyFilterSensitiveLog(obj.TrustedCertificatePublicKey),
380
- };
358
+ return { TrustedCertificatePublicKey: obj.TrustedCertificatePublicKey };
381
359
  if (obj.Tr31KeyBlock !== undefined)
382
360
  return { Tr31KeyBlock: ImportTr31KeyBlockFilterSensitiveLog(obj.Tr31KeyBlock) };
383
361
  if (obj.Tr34KeyBlock !== undefined)