@aws-sdk/client-payment-cryptography 3.349.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +369 -0
  3. package/dist-cjs/PaymentCryptography.js +51 -0
  4. package/dist-cjs/PaymentCryptographyClient.js +41 -0
  5. package/dist-cjs/commands/CreateAliasCommand.js +46 -0
  6. package/dist-cjs/commands/CreateKeyCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteAliasCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteKeyCommand.js +46 -0
  9. package/dist-cjs/commands/ExportKeyCommand.js +47 -0
  10. package/dist-cjs/commands/GetAliasCommand.js +46 -0
  11. package/dist-cjs/commands/GetKeyCommand.js +46 -0
  12. package/dist-cjs/commands/GetParametersForExportCommand.js +47 -0
  13. package/dist-cjs/commands/GetParametersForImportCommand.js +47 -0
  14. package/dist-cjs/commands/GetPublicKeyCertificateCommand.js +47 -0
  15. package/dist-cjs/commands/ImportKeyCommand.js +47 -0
  16. package/dist-cjs/commands/ListAliasesCommand.js +46 -0
  17. package/dist-cjs/commands/ListKeysCommand.js +46 -0
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  19. package/dist-cjs/commands/RestoreKeyCommand.js +46 -0
  20. package/dist-cjs/commands/StartKeyUsageCommand.js +46 -0
  21. package/dist-cjs/commands/StopKeyUsageCommand.js +46 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  23. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateAliasCommand.js +46 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  28. package/dist-cjs/endpoint/ruleset.js +7 -0
  29. package/dist-cjs/index.js +11 -0
  30. package/dist-cjs/models/PaymentCryptographyServiceException.js +12 -0
  31. package/dist-cjs/models/index.js +4 -0
  32. package/dist-cjs/models/models_0.js +291 -0
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListAliasesPaginator.js +29 -0
  35. package/dist-cjs/pagination/ListKeysPaginator.js +29 -0
  36. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +29 -0
  37. package/dist-cjs/pagination/index.js +7 -0
  38. package/dist-cjs/protocols/Aws_json1_0.js +1396 -0
  39. package/dist-cjs/runtimeConfig.browser.js +39 -0
  40. package/dist-cjs/runtimeConfig.js +48 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +21 -0
  43. package/dist-es/PaymentCryptography.js +47 -0
  44. package/dist-es/PaymentCryptographyClient.js +37 -0
  45. package/dist-es/commands/CreateAliasCommand.js +42 -0
  46. package/dist-es/commands/CreateKeyCommand.js +42 -0
  47. package/dist-es/commands/DeleteAliasCommand.js +42 -0
  48. package/dist-es/commands/DeleteKeyCommand.js +42 -0
  49. package/dist-es/commands/ExportKeyCommand.js +43 -0
  50. package/dist-es/commands/GetAliasCommand.js +42 -0
  51. package/dist-es/commands/GetKeyCommand.js +42 -0
  52. package/dist-es/commands/GetParametersForExportCommand.js +43 -0
  53. package/dist-es/commands/GetParametersForImportCommand.js +43 -0
  54. package/dist-es/commands/GetPublicKeyCertificateCommand.js +43 -0
  55. package/dist-es/commands/ImportKeyCommand.js +43 -0
  56. package/dist-es/commands/ListAliasesCommand.js +42 -0
  57. package/dist-es/commands/ListKeysCommand.js +42 -0
  58. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  59. package/dist-es/commands/RestoreKeyCommand.js +42 -0
  60. package/dist-es/commands/StartKeyUsageCommand.js +42 -0
  61. package/dist-es/commands/StopKeyUsageCommand.js +42 -0
  62. package/dist-es/commands/TagResourceCommand.js +42 -0
  63. package/dist-es/commands/UntagResourceCommand.js +42 -0
  64. package/dist-es/commands/UpdateAliasCommand.js +42 -0
  65. package/dist-es/commands/index.js +20 -0
  66. package/dist-es/endpoint/EndpointParameters.js +8 -0
  67. package/dist-es/endpoint/endpointResolver.js +8 -0
  68. package/dist-es/endpoint/ruleset.js +4 -0
  69. package/dist-es/index.js +6 -0
  70. package/dist-es/models/PaymentCryptographyServiceException.js +8 -0
  71. package/dist-es/models/index.js +1 -0
  72. package/dist-es/models/models_0.js +267 -0
  73. package/dist-es/pagination/Interfaces.js +1 -0
  74. package/dist-es/pagination/ListAliasesPaginator.js +25 -0
  75. package/dist-es/pagination/ListKeysPaginator.js +25 -0
  76. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -0
  77. package/dist-es/pagination/index.js +4 -0
  78. package/dist-es/protocols/Aws_json1_0.js +1353 -0
  79. package/dist-es/runtimeConfig.browser.js +34 -0
  80. package/dist-es/runtimeConfig.js +43 -0
  81. package/dist-es/runtimeConfig.native.js +11 -0
  82. package/dist-es/runtimeConfig.shared.js +17 -0
  83. package/dist-types/PaymentCryptography.d.ts +154 -0
  84. package/dist-types/PaymentCryptographyClient.d.ts +186 -0
  85. package/dist-types/commands/CreateAliasCommand.d.ts +130 -0
  86. package/dist-types/commands/CreateKeyCommand.d.ts +175 -0
  87. package/dist-types/commands/DeleteAliasCommand.d.ts +120 -0
  88. package/dist-types/commands/DeleteKeyCommand.d.ts +149 -0
  89. package/dist-types/commands/ExportKeyCommand.d.ts +153 -0
  90. package/dist-types/commands/GetAliasCommand.d.ts +121 -0
  91. package/dist-types/commands/GetKeyCommand.d.ts +142 -0
  92. package/dist-types/commands/GetParametersForExportCommand.d.ts +120 -0
  93. package/dist-types/commands/GetParametersForImportCommand.d.ts +120 -0
  94. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +95 -0
  95. package/dist-types/commands/ImportKeyCommand.d.ts +301 -0
  96. package/dist-types/commands/ListAliasesCommand.d.ts +127 -0
  97. package/dist-types/commands/ListKeysCommand.d.ts +143 -0
  98. package/dist-types/commands/ListTagsForResourceCommand.d.ts +119 -0
  99. package/dist-types/commands/RestoreKeyCommand.d.ts +150 -0
  100. package/dist-types/commands/StartKeyUsageCommand.d.ts +138 -0
  101. package/dist-types/commands/StopKeyUsageCommand.d.ts +144 -0
  102. package/dist-types/commands/TagResourceCommand.d.ts +122 -0
  103. package/dist-types/commands/UntagResourceCommand.d.ts +115 -0
  104. package/dist-types/commands/UpdateAliasCommand.d.ts +125 -0
  105. package/dist-types/commands/index.d.ts +20 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  108. package/dist-types/endpoint/ruleset.d.ts +2 -0
  109. package/dist-types/index.d.ts +15 -0
  110. package/dist-types/models/PaymentCryptographyServiceException.d.ts +13 -0
  111. package/dist-types/models/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +1222 -0
  113. package/dist-types/pagination/Interfaces.d.ts +8 -0
  114. package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListKeysPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +7 -0
  117. package/dist-types/pagination/index.d.ts +4 -0
  118. package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
  119. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  120. package/dist-types/runtimeConfig.d.ts +42 -0
  121. package/dist-types/runtimeConfig.native.d.ts +41 -0
  122. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  123. package/dist-types/ts3.4/PaymentCryptography.d.ts +347 -0
  124. package/dist-types/ts3.4/PaymentCryptographyClient.d.ts +235 -0
  125. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +35 -0
  126. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +35 -0
  128. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +35 -0
  129. package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +35 -0
  130. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +35 -0
  131. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +33 -0
  132. package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +42 -0
  133. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +42 -0
  135. package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +35 -0
  136. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +35 -0
  137. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +35 -0
  138. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  139. package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +35 -0
  140. package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +35 -0
  141. package/dist-types/ts3.4/commands/StopKeyUsageCommand.d.ts +35 -0
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  144. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +35 -0
  145. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  146. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  147. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  148. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  149. package/dist-types/ts3.4/index.d.ts +6 -0
  150. package/dist-types/ts3.4/models/PaymentCryptographyServiceException.d.ts +8 -0
  151. package/dist-types/ts3.4/models/index.d.ts +1 -0
  152. package/dist-types/ts3.4/models/models_0.d.ts +490 -0
  153. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  154. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  158. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
  159. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  160. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  161. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  162. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  163. package/package.json +99 -0
@@ -0,0 +1,347 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ CreateAliasCommandInput,
4
+ CreateAliasCommandOutput,
5
+ } from "./commands/CreateAliasCommand";
6
+ import {
7
+ CreateKeyCommandInput,
8
+ CreateKeyCommandOutput,
9
+ } from "./commands/CreateKeyCommand";
10
+ import {
11
+ DeleteAliasCommandInput,
12
+ DeleteAliasCommandOutput,
13
+ } from "./commands/DeleteAliasCommand";
14
+ import {
15
+ DeleteKeyCommandInput,
16
+ DeleteKeyCommandOutput,
17
+ } from "./commands/DeleteKeyCommand";
18
+ import {
19
+ ExportKeyCommandInput,
20
+ ExportKeyCommandOutput,
21
+ } from "./commands/ExportKeyCommand";
22
+ import {
23
+ GetAliasCommandInput,
24
+ GetAliasCommandOutput,
25
+ } from "./commands/GetAliasCommand";
26
+ import {
27
+ GetKeyCommandInput,
28
+ GetKeyCommandOutput,
29
+ } from "./commands/GetKeyCommand";
30
+ import {
31
+ GetParametersForExportCommandInput,
32
+ GetParametersForExportCommandOutput,
33
+ } from "./commands/GetParametersForExportCommand";
34
+ import {
35
+ GetParametersForImportCommandInput,
36
+ GetParametersForImportCommandOutput,
37
+ } from "./commands/GetParametersForImportCommand";
38
+ import {
39
+ GetPublicKeyCertificateCommandInput,
40
+ GetPublicKeyCertificateCommandOutput,
41
+ } from "./commands/GetPublicKeyCertificateCommand";
42
+ import {
43
+ ImportKeyCommandInput,
44
+ ImportKeyCommandOutput,
45
+ } from "./commands/ImportKeyCommand";
46
+ import {
47
+ ListAliasesCommandInput,
48
+ ListAliasesCommandOutput,
49
+ } from "./commands/ListAliasesCommand";
50
+ import {
51
+ ListKeysCommandInput,
52
+ ListKeysCommandOutput,
53
+ } from "./commands/ListKeysCommand";
54
+ import {
55
+ ListTagsForResourceCommandInput,
56
+ ListTagsForResourceCommandOutput,
57
+ } from "./commands/ListTagsForResourceCommand";
58
+ import {
59
+ RestoreKeyCommandInput,
60
+ RestoreKeyCommandOutput,
61
+ } from "./commands/RestoreKeyCommand";
62
+ import {
63
+ StartKeyUsageCommandInput,
64
+ StartKeyUsageCommandOutput,
65
+ } from "./commands/StartKeyUsageCommand";
66
+ import {
67
+ StopKeyUsageCommandInput,
68
+ StopKeyUsageCommandOutput,
69
+ } from "./commands/StopKeyUsageCommand";
70
+ import {
71
+ TagResourceCommandInput,
72
+ TagResourceCommandOutput,
73
+ } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
78
+ import {
79
+ UpdateAliasCommandInput,
80
+ UpdateAliasCommandOutput,
81
+ } from "./commands/UpdateAliasCommand";
82
+ import { PaymentCryptographyClient } from "./PaymentCryptographyClient";
83
+ export interface PaymentCryptography {
84
+ createAlias(
85
+ args: CreateAliasCommandInput,
86
+ options?: __HttpHandlerOptions
87
+ ): Promise<CreateAliasCommandOutput>;
88
+ createAlias(
89
+ args: CreateAliasCommandInput,
90
+ cb: (err: any, data?: CreateAliasCommandOutput) => void
91
+ ): void;
92
+ createAlias(
93
+ args: CreateAliasCommandInput,
94
+ options: __HttpHandlerOptions,
95
+ cb: (err: any, data?: CreateAliasCommandOutput) => void
96
+ ): void;
97
+ createKey(
98
+ args: CreateKeyCommandInput,
99
+ options?: __HttpHandlerOptions
100
+ ): Promise<CreateKeyCommandOutput>;
101
+ createKey(
102
+ args: CreateKeyCommandInput,
103
+ cb: (err: any, data?: CreateKeyCommandOutput) => void
104
+ ): void;
105
+ createKey(
106
+ args: CreateKeyCommandInput,
107
+ options: __HttpHandlerOptions,
108
+ cb: (err: any, data?: CreateKeyCommandOutput) => void
109
+ ): void;
110
+ deleteAlias(
111
+ args: DeleteAliasCommandInput,
112
+ options?: __HttpHandlerOptions
113
+ ): Promise<DeleteAliasCommandOutput>;
114
+ deleteAlias(
115
+ args: DeleteAliasCommandInput,
116
+ cb: (err: any, data?: DeleteAliasCommandOutput) => void
117
+ ): void;
118
+ deleteAlias(
119
+ args: DeleteAliasCommandInput,
120
+ options: __HttpHandlerOptions,
121
+ cb: (err: any, data?: DeleteAliasCommandOutput) => void
122
+ ): void;
123
+ deleteKey(
124
+ args: DeleteKeyCommandInput,
125
+ options?: __HttpHandlerOptions
126
+ ): Promise<DeleteKeyCommandOutput>;
127
+ deleteKey(
128
+ args: DeleteKeyCommandInput,
129
+ cb: (err: any, data?: DeleteKeyCommandOutput) => void
130
+ ): void;
131
+ deleteKey(
132
+ args: DeleteKeyCommandInput,
133
+ options: __HttpHandlerOptions,
134
+ cb: (err: any, data?: DeleteKeyCommandOutput) => void
135
+ ): void;
136
+ exportKey(
137
+ args: ExportKeyCommandInput,
138
+ options?: __HttpHandlerOptions
139
+ ): Promise<ExportKeyCommandOutput>;
140
+ exportKey(
141
+ args: ExportKeyCommandInput,
142
+ cb: (err: any, data?: ExportKeyCommandOutput) => void
143
+ ): void;
144
+ exportKey(
145
+ args: ExportKeyCommandInput,
146
+ options: __HttpHandlerOptions,
147
+ cb: (err: any, data?: ExportKeyCommandOutput) => void
148
+ ): void;
149
+ getAlias(
150
+ args: GetAliasCommandInput,
151
+ options?: __HttpHandlerOptions
152
+ ): Promise<GetAliasCommandOutput>;
153
+ getAlias(
154
+ args: GetAliasCommandInput,
155
+ cb: (err: any, data?: GetAliasCommandOutput) => void
156
+ ): void;
157
+ getAlias(
158
+ args: GetAliasCommandInput,
159
+ options: __HttpHandlerOptions,
160
+ cb: (err: any, data?: GetAliasCommandOutput) => void
161
+ ): void;
162
+ getKey(
163
+ args: GetKeyCommandInput,
164
+ options?: __HttpHandlerOptions
165
+ ): Promise<GetKeyCommandOutput>;
166
+ getKey(
167
+ args: GetKeyCommandInput,
168
+ cb: (err: any, data?: GetKeyCommandOutput) => void
169
+ ): void;
170
+ getKey(
171
+ args: GetKeyCommandInput,
172
+ options: __HttpHandlerOptions,
173
+ cb: (err: any, data?: GetKeyCommandOutput) => void
174
+ ): void;
175
+ getParametersForExport(
176
+ args: GetParametersForExportCommandInput,
177
+ options?: __HttpHandlerOptions
178
+ ): Promise<GetParametersForExportCommandOutput>;
179
+ getParametersForExport(
180
+ args: GetParametersForExportCommandInput,
181
+ cb: (err: any, data?: GetParametersForExportCommandOutput) => void
182
+ ): void;
183
+ getParametersForExport(
184
+ args: GetParametersForExportCommandInput,
185
+ options: __HttpHandlerOptions,
186
+ cb: (err: any, data?: GetParametersForExportCommandOutput) => void
187
+ ): void;
188
+ getParametersForImport(
189
+ args: GetParametersForImportCommandInput,
190
+ options?: __HttpHandlerOptions
191
+ ): Promise<GetParametersForImportCommandOutput>;
192
+ getParametersForImport(
193
+ args: GetParametersForImportCommandInput,
194
+ cb: (err: any, data?: GetParametersForImportCommandOutput) => void
195
+ ): void;
196
+ getParametersForImport(
197
+ args: GetParametersForImportCommandInput,
198
+ options: __HttpHandlerOptions,
199
+ cb: (err: any, data?: GetParametersForImportCommandOutput) => void
200
+ ): void;
201
+ getPublicKeyCertificate(
202
+ args: GetPublicKeyCertificateCommandInput,
203
+ options?: __HttpHandlerOptions
204
+ ): Promise<GetPublicKeyCertificateCommandOutput>;
205
+ getPublicKeyCertificate(
206
+ args: GetPublicKeyCertificateCommandInput,
207
+ cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void
208
+ ): void;
209
+ getPublicKeyCertificate(
210
+ args: GetPublicKeyCertificateCommandInput,
211
+ options: __HttpHandlerOptions,
212
+ cb: (err: any, data?: GetPublicKeyCertificateCommandOutput) => void
213
+ ): void;
214
+ importKey(
215
+ args: ImportKeyCommandInput,
216
+ options?: __HttpHandlerOptions
217
+ ): Promise<ImportKeyCommandOutput>;
218
+ importKey(
219
+ args: ImportKeyCommandInput,
220
+ cb: (err: any, data?: ImportKeyCommandOutput) => void
221
+ ): void;
222
+ importKey(
223
+ args: ImportKeyCommandInput,
224
+ options: __HttpHandlerOptions,
225
+ cb: (err: any, data?: ImportKeyCommandOutput) => void
226
+ ): void;
227
+ listAliases(
228
+ args: ListAliasesCommandInput,
229
+ options?: __HttpHandlerOptions
230
+ ): Promise<ListAliasesCommandOutput>;
231
+ listAliases(
232
+ args: ListAliasesCommandInput,
233
+ cb: (err: any, data?: ListAliasesCommandOutput) => void
234
+ ): void;
235
+ listAliases(
236
+ args: ListAliasesCommandInput,
237
+ options: __HttpHandlerOptions,
238
+ cb: (err: any, data?: ListAliasesCommandOutput) => void
239
+ ): void;
240
+ listKeys(
241
+ args: ListKeysCommandInput,
242
+ options?: __HttpHandlerOptions
243
+ ): Promise<ListKeysCommandOutput>;
244
+ listKeys(
245
+ args: ListKeysCommandInput,
246
+ cb: (err: any, data?: ListKeysCommandOutput) => void
247
+ ): void;
248
+ listKeys(
249
+ args: ListKeysCommandInput,
250
+ options: __HttpHandlerOptions,
251
+ cb: (err: any, data?: ListKeysCommandOutput) => void
252
+ ): void;
253
+ listTagsForResource(
254
+ args: ListTagsForResourceCommandInput,
255
+ options?: __HttpHandlerOptions
256
+ ): Promise<ListTagsForResourceCommandOutput>;
257
+ listTagsForResource(
258
+ args: ListTagsForResourceCommandInput,
259
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
260
+ ): void;
261
+ listTagsForResource(
262
+ args: ListTagsForResourceCommandInput,
263
+ options: __HttpHandlerOptions,
264
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
265
+ ): void;
266
+ restoreKey(
267
+ args: RestoreKeyCommandInput,
268
+ options?: __HttpHandlerOptions
269
+ ): Promise<RestoreKeyCommandOutput>;
270
+ restoreKey(
271
+ args: RestoreKeyCommandInput,
272
+ cb: (err: any, data?: RestoreKeyCommandOutput) => void
273
+ ): void;
274
+ restoreKey(
275
+ args: RestoreKeyCommandInput,
276
+ options: __HttpHandlerOptions,
277
+ cb: (err: any, data?: RestoreKeyCommandOutput) => void
278
+ ): void;
279
+ startKeyUsage(
280
+ args: StartKeyUsageCommandInput,
281
+ options?: __HttpHandlerOptions
282
+ ): Promise<StartKeyUsageCommandOutput>;
283
+ startKeyUsage(
284
+ args: StartKeyUsageCommandInput,
285
+ cb: (err: any, data?: StartKeyUsageCommandOutput) => void
286
+ ): void;
287
+ startKeyUsage(
288
+ args: StartKeyUsageCommandInput,
289
+ options: __HttpHandlerOptions,
290
+ cb: (err: any, data?: StartKeyUsageCommandOutput) => void
291
+ ): void;
292
+ stopKeyUsage(
293
+ args: StopKeyUsageCommandInput,
294
+ options?: __HttpHandlerOptions
295
+ ): Promise<StopKeyUsageCommandOutput>;
296
+ stopKeyUsage(
297
+ args: StopKeyUsageCommandInput,
298
+ cb: (err: any, data?: StopKeyUsageCommandOutput) => void
299
+ ): void;
300
+ stopKeyUsage(
301
+ args: StopKeyUsageCommandInput,
302
+ options: __HttpHandlerOptions,
303
+ cb: (err: any, data?: StopKeyUsageCommandOutput) => void
304
+ ): void;
305
+ tagResource(
306
+ args: TagResourceCommandInput,
307
+ options?: __HttpHandlerOptions
308
+ ): Promise<TagResourceCommandOutput>;
309
+ tagResource(
310
+ args: TagResourceCommandInput,
311
+ cb: (err: any, data?: TagResourceCommandOutput) => void
312
+ ): void;
313
+ tagResource(
314
+ args: TagResourceCommandInput,
315
+ options: __HttpHandlerOptions,
316
+ cb: (err: any, data?: TagResourceCommandOutput) => void
317
+ ): void;
318
+ untagResource(
319
+ args: UntagResourceCommandInput,
320
+ options?: __HttpHandlerOptions
321
+ ): Promise<UntagResourceCommandOutput>;
322
+ untagResource(
323
+ args: UntagResourceCommandInput,
324
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
325
+ ): void;
326
+ untagResource(
327
+ args: UntagResourceCommandInput,
328
+ options: __HttpHandlerOptions,
329
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
330
+ ): void;
331
+ updateAlias(
332
+ args: UpdateAliasCommandInput,
333
+ options?: __HttpHandlerOptions
334
+ ): Promise<UpdateAliasCommandOutput>;
335
+ updateAlias(
336
+ args: UpdateAliasCommandInput,
337
+ cb: (err: any, data?: UpdateAliasCommandOutput) => void
338
+ ): void;
339
+ updateAlias(
340
+ args: UpdateAliasCommandInput,
341
+ options: __HttpHandlerOptions,
342
+ cb: (err: any, data?: UpdateAliasCommandOutput) => void
343
+ ): void;
344
+ }
345
+ export declare class PaymentCryptography
346
+ extends PaymentCryptographyClient
347
+ implements PaymentCryptography {}
@@ -0,0 +1,235 @@
1
+ import {
2
+ RegionInputConfig,
3
+ RegionResolvedConfig,
4
+ } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
9
+ import {
10
+ HostHeaderInputConfig,
11
+ HostHeaderResolvedConfig,
12
+ } from "@aws-sdk/middleware-host-header";
13
+ import {
14
+ RetryInputConfig,
15
+ RetryResolvedConfig,
16
+ } from "@aws-sdk/middleware-retry";
17
+ import {
18
+ AwsAuthInputConfig,
19
+ AwsAuthResolvedConfig,
20
+ } from "@aws-sdk/middleware-signing";
21
+ import {
22
+ UserAgentInputConfig,
23
+ UserAgentResolvedConfig,
24
+ } from "@aws-sdk/middleware-user-agent";
25
+ import {
26
+ Client as __Client,
27
+ DefaultsMode as __DefaultsMode,
28
+ SmithyConfiguration as __SmithyConfiguration,
29
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
+ } from "@aws-sdk/smithy-client";
31
+ import {
32
+ BodyLengthCalculator as __BodyLengthCalculator,
33
+ ChecksumConstructor as __ChecksumConstructor,
34
+ Credentials as __Credentials,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider,
39
+ UrlParser as __UrlParser,
40
+ UserAgent as __UserAgent,
41
+ } from "@aws-sdk/types";
42
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
+ import {
44
+ Decoder as __Decoder,
45
+ Encoder as __Encoder,
46
+ Provider as __Provider,
47
+ StreamCollector as __StreamCollector,
48
+ } from "@smithy/types";
49
+ import {
50
+ CreateAliasCommandInput,
51
+ CreateAliasCommandOutput,
52
+ } from "./commands/CreateAliasCommand";
53
+ import {
54
+ CreateKeyCommandInput,
55
+ CreateKeyCommandOutput,
56
+ } from "./commands/CreateKeyCommand";
57
+ import {
58
+ DeleteAliasCommandInput,
59
+ DeleteAliasCommandOutput,
60
+ } from "./commands/DeleteAliasCommand";
61
+ import {
62
+ DeleteKeyCommandInput,
63
+ DeleteKeyCommandOutput,
64
+ } from "./commands/DeleteKeyCommand";
65
+ import {
66
+ ExportKeyCommandInput,
67
+ ExportKeyCommandOutput,
68
+ } from "./commands/ExportKeyCommand";
69
+ import {
70
+ GetAliasCommandInput,
71
+ GetAliasCommandOutput,
72
+ } from "./commands/GetAliasCommand";
73
+ import {
74
+ GetKeyCommandInput,
75
+ GetKeyCommandOutput,
76
+ } from "./commands/GetKeyCommand";
77
+ import {
78
+ GetParametersForExportCommandInput,
79
+ GetParametersForExportCommandOutput,
80
+ } from "./commands/GetParametersForExportCommand";
81
+ import {
82
+ GetParametersForImportCommandInput,
83
+ GetParametersForImportCommandOutput,
84
+ } from "./commands/GetParametersForImportCommand";
85
+ import {
86
+ GetPublicKeyCertificateCommandInput,
87
+ GetPublicKeyCertificateCommandOutput,
88
+ } from "./commands/GetPublicKeyCertificateCommand";
89
+ import {
90
+ ImportKeyCommandInput,
91
+ ImportKeyCommandOutput,
92
+ } from "./commands/ImportKeyCommand";
93
+ import {
94
+ ListAliasesCommandInput,
95
+ ListAliasesCommandOutput,
96
+ } from "./commands/ListAliasesCommand";
97
+ import {
98
+ ListKeysCommandInput,
99
+ ListKeysCommandOutput,
100
+ } from "./commands/ListKeysCommand";
101
+ import {
102
+ ListTagsForResourceCommandInput,
103
+ ListTagsForResourceCommandOutput,
104
+ } from "./commands/ListTagsForResourceCommand";
105
+ import {
106
+ RestoreKeyCommandInput,
107
+ RestoreKeyCommandOutput,
108
+ } from "./commands/RestoreKeyCommand";
109
+ import {
110
+ StartKeyUsageCommandInput,
111
+ StartKeyUsageCommandOutput,
112
+ } from "./commands/StartKeyUsageCommand";
113
+ import {
114
+ StopKeyUsageCommandInput,
115
+ StopKeyUsageCommandOutput,
116
+ } from "./commands/StopKeyUsageCommand";
117
+ import {
118
+ TagResourceCommandInput,
119
+ TagResourceCommandOutput,
120
+ } from "./commands/TagResourceCommand";
121
+ import {
122
+ UntagResourceCommandInput,
123
+ UntagResourceCommandOutput,
124
+ } from "./commands/UntagResourceCommand";
125
+ import {
126
+ UpdateAliasCommandInput,
127
+ UpdateAliasCommandOutput,
128
+ } from "./commands/UpdateAliasCommand";
129
+ import {
130
+ ClientInputEndpointParameters,
131
+ ClientResolvedEndpointParameters,
132
+ EndpointParameters,
133
+ } from "./endpoint/EndpointParameters";
134
+ export { __Client };
135
+ export type ServiceInputTypes =
136
+ | CreateAliasCommandInput
137
+ | CreateKeyCommandInput
138
+ | DeleteAliasCommandInput
139
+ | DeleteKeyCommandInput
140
+ | ExportKeyCommandInput
141
+ | GetAliasCommandInput
142
+ | GetKeyCommandInput
143
+ | GetParametersForExportCommandInput
144
+ | GetParametersForImportCommandInput
145
+ | GetPublicKeyCertificateCommandInput
146
+ | ImportKeyCommandInput
147
+ | ListAliasesCommandInput
148
+ | ListKeysCommandInput
149
+ | ListTagsForResourceCommandInput
150
+ | RestoreKeyCommandInput
151
+ | StartKeyUsageCommandInput
152
+ | StopKeyUsageCommandInput
153
+ | TagResourceCommandInput
154
+ | UntagResourceCommandInput
155
+ | UpdateAliasCommandInput;
156
+ export type ServiceOutputTypes =
157
+ | CreateAliasCommandOutput
158
+ | CreateKeyCommandOutput
159
+ | DeleteAliasCommandOutput
160
+ | DeleteKeyCommandOutput
161
+ | ExportKeyCommandOutput
162
+ | GetAliasCommandOutput
163
+ | GetKeyCommandOutput
164
+ | GetParametersForExportCommandOutput
165
+ | GetParametersForImportCommandOutput
166
+ | GetPublicKeyCertificateCommandOutput
167
+ | ImportKeyCommandOutput
168
+ | ListAliasesCommandOutput
169
+ | ListKeysCommandOutput
170
+ | ListTagsForResourceCommandOutput
171
+ | RestoreKeyCommandOutput
172
+ | StartKeyUsageCommandOutput
173
+ | StopKeyUsageCommandOutput
174
+ | TagResourceCommandOutput
175
+ | UntagResourceCommandOutput
176
+ | UpdateAliasCommandOutput;
177
+ export interface ClientDefaults
178
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
179
+ requestHandler?: __HttpHandler;
180
+ sha256?: __ChecksumConstructor | __HashConstructor;
181
+ urlParser?: __UrlParser;
182
+ bodyLengthChecker?: __BodyLengthCalculator;
183
+ streamCollector?: __StreamCollector;
184
+ base64Decoder?: __Decoder;
185
+ base64Encoder?: __Encoder;
186
+ utf8Decoder?: __Decoder;
187
+ utf8Encoder?: __Encoder;
188
+ runtime?: string;
189
+ disableHostPrefix?: boolean;
190
+ serviceId?: string;
191
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
192
+ useFipsEndpoint?: boolean | __Provider<boolean>;
193
+ region?: string | __Provider<string>;
194
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
195
+ defaultUserAgentProvider?: Provider<__UserAgent>;
196
+ maxAttempts?: number | __Provider<number>;
197
+ retryMode?: string | __Provider<string>;
198
+ logger?: __Logger;
199
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
200
+ }
201
+ export type PaymentCryptographyClientConfigType = Partial<
202
+ __SmithyConfiguration<__HttpHandlerOptions>
203
+ > &
204
+ ClientDefaults &
205
+ RegionInputConfig &
206
+ EndpointInputConfig<EndpointParameters> &
207
+ RetryInputConfig &
208
+ HostHeaderInputConfig &
209
+ AwsAuthInputConfig &
210
+ UserAgentInputConfig &
211
+ ClientInputEndpointParameters;
212
+ export interface PaymentCryptographyClientConfig
213
+ extends PaymentCryptographyClientConfigType {}
214
+ export type PaymentCryptographyClientResolvedConfigType =
215
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
216
+ Required<ClientDefaults> &
217
+ RegionResolvedConfig &
218
+ EndpointResolvedConfig<EndpointParameters> &
219
+ RetryResolvedConfig &
220
+ HostHeaderResolvedConfig &
221
+ AwsAuthResolvedConfig &
222
+ UserAgentResolvedConfig &
223
+ ClientResolvedEndpointParameters;
224
+ export interface PaymentCryptographyClientResolvedConfig
225
+ extends PaymentCryptographyClientResolvedConfigType {}
226
+ export declare class PaymentCryptographyClient extends __Client<
227
+ __HttpHandlerOptions,
228
+ ServiceInputTypes,
229
+ ServiceOutputTypes,
230
+ PaymentCryptographyClientResolvedConfig
231
+ > {
232
+ readonly config: PaymentCryptographyClientResolvedConfig;
233
+ constructor(configuration: PaymentCryptographyClientConfig);
234
+ destroy(): void;
235
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { CreateAliasInput, CreateAliasOutput } from "../models/models_0";
10
+ import {
11
+ PaymentCryptographyClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../PaymentCryptographyClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface CreateAliasCommandInput extends CreateAliasInput {}
17
+ export interface CreateAliasCommandOutput
18
+ extends CreateAliasOutput,
19
+ __MetadataBearer {}
20
+ export declare class CreateAliasCommand extends $Command<
21
+ CreateAliasCommandInput,
22
+ CreateAliasCommandOutput,
23
+ PaymentCryptographyClientResolvedConfig
24
+ > {
25
+ readonly input: CreateAliasCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: CreateAliasCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: PaymentCryptographyClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<CreateAliasCommandInput, CreateAliasCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { CreateKeyInput, CreateKeyOutput } from "../models/models_0";
10
+ import {
11
+ PaymentCryptographyClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../PaymentCryptographyClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface CreateKeyCommandInput extends CreateKeyInput {}
17
+ export interface CreateKeyCommandOutput
18
+ extends CreateKeyOutput,
19
+ __MetadataBearer {}
20
+ export declare class CreateKeyCommand extends $Command<
21
+ CreateKeyCommandInput,
22
+ CreateKeyCommandOutput,
23
+ PaymentCryptographyClientResolvedConfig
24
+ > {
25
+ readonly input: CreateKeyCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: CreateKeyCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: PaymentCryptographyClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<CreateKeyCommandInput, CreateKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import { DeleteAliasInput, DeleteAliasOutput } from "../models/models_0";
10
+ import {
11
+ PaymentCryptographyClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../PaymentCryptographyClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface DeleteAliasCommandInput extends DeleteAliasInput {}
17
+ export interface DeleteAliasCommandOutput
18
+ extends DeleteAliasOutput,
19
+ __MetadataBearer {}
20
+ export declare class DeleteAliasCommand extends $Command<
21
+ DeleteAliasCommandInput,
22
+ DeleteAliasCommandOutput,
23
+ PaymentCryptographyClientResolvedConfig
24
+ > {
25
+ readonly input: DeleteAliasCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: DeleteAliasCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: PaymentCryptographyClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<DeleteAliasCommandInput, DeleteAliasCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }