@aws-sdk/client-payment-cryptography 3.533.0 → 3.535.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/PaymentCryptography.d.ts +3 -1
- package/dist-types/PaymentCryptographyClient.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -1
- package/dist-types/commands/CreateKeyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +2 -1
- package/dist-types/commands/DeleteKeyCommand.d.ts +2 -1
- package/dist-types/commands/ExportKeyCommand.d.ts +2 -1
- package/dist-types/commands/GetAliasCommand.d.ts +2 -1
- package/dist-types/commands/GetKeyCommand.d.ts +2 -1
- package/dist-types/commands/GetParametersForExportCommand.d.ts +2 -1
- package/dist-types/commands/GetParametersForImportCommand.d.ts +2 -1
- package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +2 -1
- package/dist-types/commands/ImportKeyCommand.d.ts +2 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +2 -1
- package/dist-types/commands/ListKeysCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/RestoreKeyCommand.d.ts +2 -1
- package/dist-types/commands/StartKeyUsageCommand.d.ts +2 -1
- package/dist-types/commands/StopKeyUsageCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +177 -177
- package/dist-types/ts3.4/PaymentCryptography.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopKeyUsageCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -14,27 +14,27 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* @public
|
|
18
17
|
* <p>Contains information about an alias.</p>
|
|
18
|
+
* @public
|
|
19
19
|
*/
|
|
20
20
|
export interface Alias {
|
|
21
21
|
/**
|
|
22
|
-
* @public
|
|
23
22
|
* <p>A friendly name that you can use to refer to a key. The value must begin with <code>alias/</code>.</p>
|
|
24
23
|
* <important>
|
|
25
24
|
* <p>Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p>
|
|
26
25
|
* </important>
|
|
26
|
+
* @public
|
|
27
27
|
*/
|
|
28
28
|
AliasName: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
* @public
|
|
31
30
|
* <p>The <code>KeyARN</code> of the key associated with the alias.</p>
|
|
31
|
+
* @public
|
|
32
32
|
*/
|
|
33
33
|
KeyArn?: string;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* @public
|
|
37
36
|
* <p>This request can cause an inconsistent state for the resource.</p>
|
|
37
|
+
* @public
|
|
38
38
|
*/
|
|
39
39
|
export declare class ConflictException extends __BaseException {
|
|
40
40
|
readonly name: "ConflictException";
|
|
@@ -50,16 +50,16 @@ export declare class ConflictException extends __BaseException {
|
|
|
50
50
|
*/
|
|
51
51
|
export interface CreateAliasInput {
|
|
52
52
|
/**
|
|
53
|
-
* @public
|
|
54
53
|
* <p>A friendly name that you can use to refer to a key. An alias must begin with <code>alias/</code> followed by a name, for example <code>alias/ExampleAlias</code>. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).</p>
|
|
55
54
|
* <important>
|
|
56
55
|
* <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p>
|
|
57
56
|
* </important>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
AliasName: string | undefined;
|
|
60
60
|
/**
|
|
61
|
-
* @public
|
|
62
61
|
* <p>The <code>KeyARN</code> of the key to associate with the alias.</p>
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
KeyArn?: string;
|
|
65
65
|
}
|
|
@@ -68,14 +68,14 @@ export interface CreateAliasInput {
|
|
|
68
68
|
*/
|
|
69
69
|
export interface CreateAliasOutput {
|
|
70
70
|
/**
|
|
71
|
-
* @public
|
|
72
71
|
* <p>The alias for the key.</p>
|
|
72
|
+
* @public
|
|
73
73
|
*/
|
|
74
74
|
Alias: Alias | undefined;
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
* @public
|
|
78
77
|
* <p>The request processing has failed because of an unknown error, exception, or failure.</p>
|
|
78
|
+
* @public
|
|
79
79
|
*/
|
|
80
80
|
export declare class InternalServerException extends __BaseException {
|
|
81
81
|
readonly name: "InternalServerException";
|
|
@@ -87,15 +87,15 @@ export declare class InternalServerException extends __BaseException {
|
|
|
87
87
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
* @public
|
|
91
90
|
* <p>The request was denied due to an invalid resource error.</p>
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
94
94
|
readonly name: "ResourceNotFoundException";
|
|
95
95
|
readonly $fault: "client";
|
|
96
96
|
/**
|
|
97
|
-
* @public
|
|
98
97
|
* <p>The string for the exception.</p>
|
|
98
|
+
* @public
|
|
99
99
|
*/
|
|
100
100
|
ResourceId?: string;
|
|
101
101
|
/**
|
|
@@ -104,8 +104,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
104
104
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* @public
|
|
108
107
|
* <p>This request would cause a service quota to be exceeded.</p>
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
111
111
|
readonly name: "ServiceQuotaExceededException";
|
|
@@ -117,8 +117,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
117
117
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* @public
|
|
121
120
|
* <p>The service cannot complete the request.</p>
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
124
124
|
readonly name: "ServiceUnavailableException";
|
|
@@ -130,8 +130,8 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
130
130
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* @public
|
|
134
133
|
* <p>The request was denied due to request throttling.</p>
|
|
134
|
+
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare class ThrottlingException extends __BaseException {
|
|
137
137
|
readonly name: "ThrottlingException";
|
|
@@ -143,8 +143,8 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
143
143
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
|
-
* @public
|
|
147
146
|
* <p>The request was denied due to an invalid request error.</p>
|
|
147
|
+
* @public
|
|
148
148
|
*/
|
|
149
149
|
export declare class ValidationException extends __BaseException {
|
|
150
150
|
readonly name: "ValidationException";
|
|
@@ -160,8 +160,8 @@ export declare class ValidationException extends __BaseException {
|
|
|
160
160
|
*/
|
|
161
161
|
export interface DeleteAliasInput {
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>A friendly name that you can use to refer Amazon Web Services Payment Cryptography key. This value must begin with <code>alias/</code> followed by a name, such as <code>alias/ExampleAlias</code>.</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
AliasName: string | undefined;
|
|
167
167
|
}
|
|
@@ -175,8 +175,8 @@ export interface DeleteAliasOutput {
|
|
|
175
175
|
*/
|
|
176
176
|
export interface GetAliasInput {
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>The alias of the Amazon Web Services Payment Cryptography key.</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
AliasName: string | undefined;
|
|
182
182
|
}
|
|
@@ -185,8 +185,8 @@ export interface GetAliasInput {
|
|
|
185
185
|
*/
|
|
186
186
|
export interface GetAliasOutput {
|
|
187
187
|
/**
|
|
188
|
-
* @public
|
|
189
188
|
* <p>The alias of the Amazon Web Services Payment Cryptography key.</p>
|
|
189
|
+
* @public
|
|
190
190
|
*/
|
|
191
191
|
Alias: Alias | undefined;
|
|
192
192
|
}
|
|
@@ -195,14 +195,14 @@ export interface GetAliasOutput {
|
|
|
195
195
|
*/
|
|
196
196
|
export interface ListAliasesInput {
|
|
197
197
|
/**
|
|
198
|
-
* @public
|
|
199
198
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
199
|
+
* @public
|
|
200
200
|
*/
|
|
201
201
|
NextToken?: string;
|
|
202
202
|
/**
|
|
203
|
-
* @public
|
|
204
203
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
205
204
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
205
|
+
* @public
|
|
206
206
|
*/
|
|
207
207
|
MaxResults?: number;
|
|
208
208
|
}
|
|
@@ -211,13 +211,13 @@ export interface ListAliasesInput {
|
|
|
211
211
|
*/
|
|
212
212
|
export interface ListAliasesOutput {
|
|
213
213
|
/**
|
|
214
|
-
* @public
|
|
215
214
|
* <p>The list of aliases. Each alias describes the <code>KeyArn</code> contained within.</p>
|
|
215
|
+
* @public
|
|
216
216
|
*/
|
|
217
217
|
Aliases: Alias[] | undefined;
|
|
218
218
|
/**
|
|
219
|
-
* @public
|
|
220
219
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
220
|
+
* @public
|
|
221
221
|
*/
|
|
222
222
|
NextToken?: string;
|
|
223
223
|
}
|
|
@@ -226,13 +226,13 @@ export interface ListAliasesOutput {
|
|
|
226
226
|
*/
|
|
227
227
|
export interface UpdateAliasInput {
|
|
228
228
|
/**
|
|
229
|
-
* @public
|
|
230
229
|
* <p>The alias whose associated key is changing.</p>
|
|
230
|
+
* @public
|
|
231
231
|
*/
|
|
232
232
|
AliasName: string | undefined;
|
|
233
233
|
/**
|
|
234
|
-
* @public
|
|
235
234
|
* <p>The <code>KeyARN</code> for the key that you are updating or removing from the alias.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
KeyArn?: string;
|
|
238
238
|
}
|
|
@@ -241,8 +241,8 @@ export interface UpdateAliasInput {
|
|
|
241
241
|
*/
|
|
242
242
|
export interface UpdateAliasOutput {
|
|
243
243
|
/**
|
|
244
|
-
* @public
|
|
245
244
|
* <p>The alias name.</p>
|
|
245
|
+
* @public
|
|
246
246
|
*/
|
|
247
247
|
Alias: Alias | undefined;
|
|
248
248
|
}
|
|
@@ -279,53 +279,53 @@ export declare const KeyClass: {
|
|
|
279
279
|
*/
|
|
280
280
|
export type KeyClass = (typeof KeyClass)[keyof typeof KeyClass];
|
|
281
281
|
/**
|
|
282
|
-
* @public
|
|
283
282
|
* <p>The list of cryptographic operations that you can perform using the key. The modes of use are defined in section A.5.3 of the TR-31 spec.</p>
|
|
283
|
+
* @public
|
|
284
284
|
*/
|
|
285
285
|
export interface KeyModesOfUse {
|
|
286
286
|
/**
|
|
287
|
-
* @public
|
|
288
287
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to encrypt data.</p>
|
|
288
|
+
* @public
|
|
289
289
|
*/
|
|
290
290
|
Encrypt?: boolean;
|
|
291
291
|
/**
|
|
292
|
-
* @public
|
|
293
292
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to decrypt data.</p>
|
|
293
|
+
* @public
|
|
294
294
|
*/
|
|
295
295
|
Decrypt?: boolean;
|
|
296
296
|
/**
|
|
297
|
-
* @public
|
|
298
297
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to wrap other keys.</p>
|
|
298
|
+
* @public
|
|
299
299
|
*/
|
|
300
300
|
Wrap?: boolean;
|
|
301
301
|
/**
|
|
302
|
-
* @public
|
|
303
302
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to unwrap other keys.</p>
|
|
303
|
+
* @public
|
|
304
304
|
*/
|
|
305
305
|
Unwrap?: boolean;
|
|
306
306
|
/**
|
|
307
|
-
* @public
|
|
308
307
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to generate and verify other card and PIN verification keys.</p>
|
|
308
|
+
* @public
|
|
309
309
|
*/
|
|
310
310
|
Generate?: boolean;
|
|
311
311
|
/**
|
|
312
|
-
* @public
|
|
313
312
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used for signing.</p>
|
|
313
|
+
* @public
|
|
314
314
|
*/
|
|
315
315
|
Sign?: boolean;
|
|
316
316
|
/**
|
|
317
|
-
* @public
|
|
318
317
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to verify signatures.</p>
|
|
318
|
+
* @public
|
|
319
319
|
*/
|
|
320
320
|
Verify?: boolean;
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key can be used to derive new keys.</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
DeriveKey?: boolean;
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>Specifies whether an Amazon Web Services Payment Cryptography key has no special restrictions other than the restrictions implied by <code>KeyUsage</code>.</p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
NoRestrictions?: boolean;
|
|
331
331
|
}
|
|
@@ -363,29 +363,29 @@ export declare const KeyUsage: {
|
|
|
363
363
|
*/
|
|
364
364
|
export type KeyUsage = (typeof KeyUsage)[keyof typeof KeyUsage];
|
|
365
365
|
/**
|
|
366
|
-
* @public
|
|
367
366
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
export interface KeyAttributes {
|
|
370
370
|
/**
|
|
371
|
-
* @public
|
|
372
371
|
* <p>The cryptographic usage of an Amazon Web Services Payment Cryptography key as defined in section A.5.2 of the TR-31 spec.</p>
|
|
372
|
+
* @public
|
|
373
373
|
*/
|
|
374
374
|
KeyUsage: KeyUsage | undefined;
|
|
375
375
|
/**
|
|
376
|
-
* @public
|
|
377
376
|
* <p>The type of Amazon Web Services Payment Cryptography key to create, which determines the classification of the cryptographic method and whether Amazon Web Services Payment Cryptography key contains a symmetric key or an asymmetric key pair.</p>
|
|
377
|
+
* @public
|
|
378
378
|
*/
|
|
379
379
|
KeyClass: KeyClass | undefined;
|
|
380
380
|
/**
|
|
381
|
-
* @public
|
|
382
381
|
* <p>The key algorithm to be use during creation of an Amazon Web Services Payment Cryptography key.</p>
|
|
383
382
|
* <p>For symmetric keys, Amazon Web Services Payment Cryptography supports <code>AES</code> and <code>TDES</code> algorithms. For asymmetric keys, Amazon Web Services Payment Cryptography supports <code>RSA</code> and <code>ECC_NIST</code> algorithms.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
KeyAlgorithm: KeyAlgorithm | undefined;
|
|
386
386
|
/**
|
|
387
|
-
* @public
|
|
388
387
|
* <p>The list of cryptographic operations that you can perform using the key.</p>
|
|
388
|
+
* @public
|
|
389
389
|
*/
|
|
390
390
|
KeyModesOfUse: KeyModesOfUse | undefined;
|
|
391
391
|
}
|
|
@@ -402,18 +402,18 @@ export declare const KeyCheckValueAlgorithm: {
|
|
|
402
402
|
*/
|
|
403
403
|
export type KeyCheckValueAlgorithm = (typeof KeyCheckValueAlgorithm)[keyof typeof KeyCheckValueAlgorithm];
|
|
404
404
|
/**
|
|
405
|
-
* @public
|
|
406
405
|
* <p>A structure that contains information about a tag.</p>
|
|
406
|
+
* @public
|
|
407
407
|
*/
|
|
408
408
|
export interface Tag {
|
|
409
409
|
/**
|
|
410
|
-
* @public
|
|
411
410
|
* <p>The key of the tag.</p>
|
|
411
|
+
* @public
|
|
412
412
|
*/
|
|
413
413
|
Key: string | undefined;
|
|
414
414
|
/**
|
|
415
|
-
* @public
|
|
416
415
|
* <p>The value of the tag.</p>
|
|
416
|
+
* @public
|
|
417
417
|
*/
|
|
418
418
|
Value?: string;
|
|
419
419
|
}
|
|
@@ -422,28 +422,27 @@ export interface Tag {
|
|
|
422
422
|
*/
|
|
423
423
|
export interface CreateKeyInput {
|
|
424
424
|
/**
|
|
425
|
-
* @public
|
|
426
425
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
|
|
426
|
+
* @public
|
|
427
427
|
*/
|
|
428
428
|
KeyAttributes: KeyAttributes | undefined;
|
|
429
429
|
/**
|
|
430
|
-
* @public
|
|
431
430
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p>
|
|
432
431
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
432
|
+
* @public
|
|
433
433
|
*/
|
|
434
434
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
435
435
|
/**
|
|
436
|
-
* @public
|
|
437
436
|
* <p>Specifies whether the key is exportable from the service.</p>
|
|
437
|
+
* @public
|
|
438
438
|
*/
|
|
439
439
|
Exportable: boolean | undefined;
|
|
440
440
|
/**
|
|
441
|
-
* @public
|
|
442
441
|
* <p>Specifies whether to enable the key. If the key is enabled, it is activated for use within the service. If the key is not enabled, then it is created but not activated. The default value is enabled.</p>
|
|
442
|
+
* @public
|
|
443
443
|
*/
|
|
444
444
|
Enabled?: boolean;
|
|
445
445
|
/**
|
|
446
|
-
* @public
|
|
447
446
|
* <p>Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is created. To tag an existing Amazon Web Services Payment Cryptography key, use the <a>TagResource</a> operation.</p>
|
|
448
447
|
* <p>Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. </p>
|
|
449
448
|
* <important>
|
|
@@ -452,6 +451,7 @@ export interface CreateKeyInput {
|
|
|
452
451
|
* <note>
|
|
453
452
|
* <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p>
|
|
454
453
|
* </note>
|
|
454
|
+
* @public
|
|
455
455
|
*/
|
|
456
456
|
Tags?: Tag[];
|
|
457
457
|
}
|
|
@@ -482,74 +482,74 @@ export declare const KeyState: {
|
|
|
482
482
|
*/
|
|
483
483
|
export type KeyState = (typeof KeyState)[keyof typeof KeyState];
|
|
484
484
|
/**
|
|
485
|
-
* @public
|
|
486
485
|
* <p>Metadata about an Amazon Web Services Payment Cryptography key.</p>
|
|
486
|
+
* @public
|
|
487
487
|
*/
|
|
488
488
|
export interface Key {
|
|
489
489
|
/**
|
|
490
|
-
* @public
|
|
491
490
|
* <p>The Amazon Resource Name (ARN) of the key.</p>
|
|
491
|
+
* @public
|
|
492
492
|
*/
|
|
493
493
|
KeyArn: string | undefined;
|
|
494
494
|
/**
|
|
495
|
-
* @public
|
|
496
495
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
|
|
496
|
+
* @public
|
|
497
497
|
*/
|
|
498
498
|
KeyAttributes: KeyAttributes | undefined;
|
|
499
499
|
/**
|
|
500
|
-
* @public
|
|
501
500
|
* <p>The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
501
|
+
* @public
|
|
502
502
|
*/
|
|
503
503
|
KeyCheckValue: string | undefined;
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p>
|
|
507
506
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
507
|
+
* @public
|
|
508
508
|
*/
|
|
509
509
|
KeyCheckValueAlgorithm: KeyCheckValueAlgorithm | undefined;
|
|
510
510
|
/**
|
|
511
|
-
* @public
|
|
512
511
|
* <p>Specifies whether the key is enabled. </p>
|
|
512
|
+
* @public
|
|
513
513
|
*/
|
|
514
514
|
Enabled: boolean | undefined;
|
|
515
515
|
/**
|
|
516
|
-
* @public
|
|
517
516
|
* <p>Specifies whether the key is exportable. This data is immutable after the key is created.</p>
|
|
517
|
+
* @public
|
|
518
518
|
*/
|
|
519
519
|
Exportable: boolean | undefined;
|
|
520
520
|
/**
|
|
521
|
-
* @public
|
|
522
521
|
* <p>The state of key that is being created or deleted.</p>
|
|
522
|
+
* @public
|
|
523
523
|
*/
|
|
524
524
|
KeyState: KeyState | undefined;
|
|
525
525
|
/**
|
|
526
|
-
* @public
|
|
527
526
|
* <p>The source of the key material. For keys created within Amazon Web Services Payment Cryptography, the value is <code>AWS_PAYMENT_CRYPTOGRAPHY</code>. For keys imported into Amazon Web Services Payment Cryptography, the value is <code>EXTERNAL</code>.</p>
|
|
527
|
+
* @public
|
|
528
528
|
*/
|
|
529
529
|
KeyOrigin: KeyOrigin | undefined;
|
|
530
530
|
/**
|
|
531
|
-
* @public
|
|
532
531
|
* <p>The date and time when the key was created.</p>
|
|
532
|
+
* @public
|
|
533
533
|
*/
|
|
534
534
|
CreateTimestamp: Date | undefined;
|
|
535
535
|
/**
|
|
536
|
-
* @public
|
|
537
536
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will start using the key material for cryptographic operations.</p>
|
|
537
|
+
* @public
|
|
538
538
|
*/
|
|
539
539
|
UsageStartTimestamp?: Date;
|
|
540
540
|
/**
|
|
541
|
-
* @public
|
|
542
541
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will stop using the key material for cryptographic operations.</p>
|
|
542
|
+
* @public
|
|
543
543
|
*/
|
|
544
544
|
UsageStopTimestamp?: Date;
|
|
545
545
|
/**
|
|
546
|
-
* @public
|
|
547
546
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when <code>KeyState</code> is <code>DELETE_PENDING</code> and the key is scheduled for deletion.</p>
|
|
547
|
+
* @public
|
|
548
548
|
*/
|
|
549
549
|
DeletePendingTimestamp?: Date;
|
|
550
550
|
/**
|
|
551
|
-
* @public
|
|
552
551
|
* <p>The date and time after which Amazon Web Services Payment Cryptography will delete the key. This value is present only when when the <code>KeyState</code> is <code>DELETE_COMPLETE</code> and the Amazon Web Services Payment Cryptography key is deleted.</p>
|
|
552
|
+
* @public
|
|
553
553
|
*/
|
|
554
554
|
DeleteTimestamp?: Date;
|
|
555
555
|
}
|
|
@@ -558,8 +558,8 @@ export interface Key {
|
|
|
558
558
|
*/
|
|
559
559
|
export interface CreateKeyOutput {
|
|
560
560
|
/**
|
|
561
|
-
* @public
|
|
562
561
|
* <p>The key material that contains all the key attributes.</p>
|
|
562
|
+
* @public
|
|
563
563
|
*/
|
|
564
564
|
Key: Key | undefined;
|
|
565
565
|
}
|
|
@@ -568,13 +568,13 @@ export interface CreateKeyOutput {
|
|
|
568
568
|
*/
|
|
569
569
|
export interface DeleteKeyInput {
|
|
570
570
|
/**
|
|
571
|
-
* @public
|
|
572
571
|
* <p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>
|
|
572
|
+
* @public
|
|
573
573
|
*/
|
|
574
574
|
KeyIdentifier: string | undefined;
|
|
575
575
|
/**
|
|
576
|
-
* @public
|
|
577
576
|
* <p>The waiting period for key deletion. The default value is seven days.</p>
|
|
577
|
+
* @public
|
|
578
578
|
*/
|
|
579
579
|
DeleteKeyInDays?: number;
|
|
580
580
|
}
|
|
@@ -583,37 +583,37 @@ export interface DeleteKeyInput {
|
|
|
583
583
|
*/
|
|
584
584
|
export interface DeleteKeyOutput {
|
|
585
585
|
/**
|
|
586
|
-
* @public
|
|
587
586
|
* <p>The <code>KeyARN</code> of the key that is scheduled for deletion.</p>
|
|
587
|
+
* @public
|
|
588
588
|
*/
|
|
589
589
|
Key: Key | undefined;
|
|
590
590
|
}
|
|
591
591
|
/**
|
|
592
|
-
* @public
|
|
593
592
|
* <p>Parameter information for IPEK generation during export.</p>
|
|
593
|
+
* @public
|
|
594
594
|
*/
|
|
595
595
|
export interface ExportDukptInitialKey {
|
|
596
596
|
/**
|
|
597
|
-
* @public
|
|
598
597
|
* <p>The KSN for IPEK generation using DUKPT. </p>
|
|
599
598
|
* <p>KSN must be padded before sending to Amazon Web Services Payment Cryptography. KSN hex length should be 20 for a TDES_2KEY key or 24 for an AES key.</p>
|
|
599
|
+
* @public
|
|
600
600
|
*/
|
|
601
601
|
KeySerialNumber: string | undefined;
|
|
602
602
|
}
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>The attributes for IPEK generation during export.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
export interface ExportAttributes {
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>Parameter information for IPEK export.</p>
|
|
610
|
+
* @public
|
|
611
611
|
*/
|
|
612
612
|
ExportDukptInitialKey?: ExportDukptInitialKey;
|
|
613
613
|
/**
|
|
614
|
-
* @public
|
|
615
614
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity. Specify KCV for IPEK export only.</p>
|
|
616
615
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
616
|
+
* @public
|
|
617
617
|
*/
|
|
618
618
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
619
619
|
}
|
|
@@ -630,34 +630,34 @@ export declare const WrappingKeySpec: {
|
|
|
630
630
|
*/
|
|
631
631
|
export type WrappingKeySpec = (typeof WrappingKeySpec)[keyof typeof WrappingKeySpec];
|
|
632
632
|
/**
|
|
633
|
-
* @public
|
|
634
633
|
* <p>Parameter information for key material export using asymmetric RSA wrap and unwrap key exchange method.</p>
|
|
634
|
+
* @public
|
|
635
635
|
*/
|
|
636
636
|
export interface ExportKeyCryptogram {
|
|
637
637
|
/**
|
|
638
|
-
* @public
|
|
639
638
|
* <p>The <code>KeyARN</code> of the certificate chain that signs the wrapping key certificate during RSA wrap and unwrap key export.</p>
|
|
639
|
+
* @public
|
|
640
640
|
*/
|
|
641
641
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
642
642
|
/**
|
|
643
|
-
* @public
|
|
644
643
|
* <p>The wrapping key certificate in PEM format (base64 encoded). Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.</p>
|
|
644
|
+
* @public
|
|
645
645
|
*/
|
|
646
646
|
WrappingKeyCertificate: string | undefined;
|
|
647
647
|
/**
|
|
648
|
-
* @public
|
|
649
648
|
* <p>The wrapping spec for the key under export.</p>
|
|
649
|
+
* @public
|
|
650
650
|
*/
|
|
651
651
|
WrappingSpec?: WrappingKeySpec;
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
|
-
* @public
|
|
655
654
|
* <p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>
|
|
655
|
+
* @public
|
|
656
656
|
*/
|
|
657
657
|
export interface ExportTr31KeyBlock {
|
|
658
658
|
/**
|
|
659
|
-
* @public
|
|
660
659
|
* <p>The <code>KeyARN</code> of the the wrapping key. This key encrypts or wraps the key under export for TR-31 key block generation.</p>
|
|
660
|
+
* @public
|
|
661
661
|
*/
|
|
662
662
|
WrappingKeyIdentifier: string | undefined;
|
|
663
663
|
}
|
|
@@ -673,39 +673,39 @@ export declare const Tr34KeyBlockFormat: {
|
|
|
673
673
|
*/
|
|
674
674
|
export type Tr34KeyBlockFormat = (typeof Tr34KeyBlockFormat)[keyof typeof Tr34KeyBlockFormat];
|
|
675
675
|
/**
|
|
676
|
-
* @public
|
|
677
676
|
* <p>Parameter information for key material export using the asymmetric TR-34 key exchange method.</p>
|
|
677
|
+
* @public
|
|
678
678
|
*/
|
|
679
679
|
export interface ExportTr34KeyBlock {
|
|
680
680
|
/**
|
|
681
|
-
* @public
|
|
682
681
|
* <p>The <code>KeyARN</code> of the certificate chain that signs the wrapping key certificate during TR-34 key export.</p>
|
|
682
|
+
* @public
|
|
683
683
|
*/
|
|
684
684
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
685
685
|
/**
|
|
686
|
-
* @public
|
|
687
686
|
* <p>The <code>KeyARN</code> of the wrapping key certificate. Amazon Web Services Payment Cryptography uses this certificate to wrap the key under export.</p>
|
|
687
|
+
* @public
|
|
688
688
|
*/
|
|
689
689
|
WrappingKeyCertificate: string | undefined;
|
|
690
690
|
/**
|
|
691
|
-
* @public
|
|
692
691
|
* <p>The export token to initiate key export from Amazon Web Services Payment Cryptography. It also contains the signing key certificate that will sign the wrapped key during TR-34 key block generation. Call <a>GetParametersForExport</a> to receive an export token. It expires after 7 days. You can use the same export token to export multiple keys from the same service account.</p>
|
|
692
|
+
* @public
|
|
693
693
|
*/
|
|
694
694
|
ExportToken: string | undefined;
|
|
695
695
|
/**
|
|
696
|
-
* @public
|
|
697
696
|
* <p>The format of key block that Amazon Web Services Payment Cryptography will use during key export.</p>
|
|
697
|
+
* @public
|
|
698
698
|
*/
|
|
699
699
|
KeyBlockFormat: Tr34KeyBlockFormat | undefined;
|
|
700
700
|
/**
|
|
701
|
-
* @public
|
|
702
701
|
* <p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>
|
|
702
|
+
* @public
|
|
703
703
|
*/
|
|
704
704
|
RandomNonce?: string;
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
707
|
-
* @public
|
|
708
707
|
* <p>Parameter information for key material export from Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>
|
|
708
|
+
* @public
|
|
709
709
|
*/
|
|
710
710
|
export type ExportKeyMaterial = ExportKeyMaterial.KeyCryptogramMember | ExportKeyMaterial.Tr31KeyBlockMember | ExportKeyMaterial.Tr34KeyBlockMember | ExportKeyMaterial.$UnknownMember;
|
|
711
711
|
/**
|
|
@@ -713,8 +713,8 @@ export type ExportKeyMaterial = ExportKeyMaterial.KeyCryptogramMember | ExportKe
|
|
|
713
713
|
*/
|
|
714
714
|
export declare namespace ExportKeyMaterial {
|
|
715
715
|
/**
|
|
716
|
-
* @public
|
|
717
716
|
* <p>Parameter information for key material export using symmetric TR-31 key exchange method.</p>
|
|
717
|
+
* @public
|
|
718
718
|
*/
|
|
719
719
|
interface Tr31KeyBlockMember {
|
|
720
720
|
Tr31KeyBlock: ExportTr31KeyBlock;
|
|
@@ -723,8 +723,8 @@ export declare namespace ExportKeyMaterial {
|
|
|
723
723
|
$unknown?: never;
|
|
724
724
|
}
|
|
725
725
|
/**
|
|
726
|
-
* @public
|
|
727
726
|
* <p>Parameter information for key material export using the asymmetric TR-34 key exchange method.</p>
|
|
727
|
+
* @public
|
|
728
728
|
*/
|
|
729
729
|
interface Tr34KeyBlockMember {
|
|
730
730
|
Tr31KeyBlock?: never;
|
|
@@ -733,8 +733,8 @@ export declare namespace ExportKeyMaterial {
|
|
|
733
733
|
$unknown?: never;
|
|
734
734
|
}
|
|
735
735
|
/**
|
|
736
|
-
* @public
|
|
737
736
|
* <p>Parameter information for key material export using asymmetric RSA wrap and unwrap key exchange method</p>
|
|
737
|
+
* @public
|
|
738
738
|
*/
|
|
739
739
|
interface KeyCryptogramMember {
|
|
740
740
|
Tr31KeyBlock?: never;
|
|
@@ -764,18 +764,18 @@ export declare namespace ExportKeyMaterial {
|
|
|
764
764
|
*/
|
|
765
765
|
export interface ExportKeyInput {
|
|
766
766
|
/**
|
|
767
|
-
* @public
|
|
768
767
|
* <p>The key block format type, for example, TR-34 or TR-31, to use during key material export.</p>
|
|
768
|
+
* @public
|
|
769
769
|
*/
|
|
770
770
|
KeyMaterial: ExportKeyMaterial | undefined;
|
|
771
771
|
/**
|
|
772
|
-
* @public
|
|
773
772
|
* <p>The <code>KeyARN</code> of the key under export from Amazon Web Services Payment Cryptography.</p>
|
|
773
|
+
* @public
|
|
774
774
|
*/
|
|
775
775
|
ExportKeyIdentifier: string | undefined;
|
|
776
776
|
/**
|
|
777
|
-
* @public
|
|
778
777
|
* <p>The attributes for IPEK generation during export.</p>
|
|
778
|
+
* @public
|
|
779
779
|
*/
|
|
780
780
|
ExportAttributes?: ExportAttributes;
|
|
781
781
|
}
|
|
@@ -793,34 +793,34 @@ export declare const WrappedKeyMaterialFormat: {
|
|
|
793
793
|
*/
|
|
794
794
|
export type WrappedKeyMaterialFormat = (typeof WrappedKeyMaterialFormat)[keyof typeof WrappedKeyMaterialFormat];
|
|
795
795
|
/**
|
|
796
|
-
* @public
|
|
797
796
|
* <p>Parameter information for generating a WrappedKeyBlock for key exchange.</p>
|
|
797
|
+
* @public
|
|
798
798
|
*/
|
|
799
799
|
export interface WrappedKey {
|
|
800
800
|
/**
|
|
801
|
-
* @public
|
|
802
801
|
* <p>The <code>KeyARN</code> of the wrapped key.</p>
|
|
802
|
+
* @public
|
|
803
803
|
*/
|
|
804
804
|
WrappingKeyArn: string | undefined;
|
|
805
805
|
/**
|
|
806
|
-
* @public
|
|
807
806
|
* <p>The key block format of a wrapped key.</p>
|
|
807
|
+
* @public
|
|
808
808
|
*/
|
|
809
809
|
WrappedKeyMaterialFormat: WrappedKeyMaterialFormat | undefined;
|
|
810
810
|
/**
|
|
811
|
-
* @public
|
|
812
811
|
* <p>Parameter information for generating a wrapped key using TR-31 or TR-34 skey exchange method.</p>
|
|
812
|
+
* @public
|
|
813
813
|
*/
|
|
814
814
|
KeyMaterial: string | undefined;
|
|
815
815
|
/**
|
|
816
|
-
* @public
|
|
817
816
|
* <p>The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
817
|
+
* @public
|
|
818
818
|
*/
|
|
819
819
|
KeyCheckValue?: string;
|
|
820
820
|
/**
|
|
821
|
-
* @public
|
|
822
821
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p>
|
|
823
822
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
823
|
+
* @public
|
|
824
824
|
*/
|
|
825
825
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
826
826
|
}
|
|
@@ -829,8 +829,8 @@ export interface WrappedKey {
|
|
|
829
829
|
*/
|
|
830
830
|
export interface ExportKeyOutput {
|
|
831
831
|
/**
|
|
832
|
-
* @public
|
|
833
832
|
* <p>The key material under export as a TR-34 WrappedKeyBlock or a TR-31 WrappedKeyBlock. or a RSA WrappedKeyCryptogram.</p>
|
|
833
|
+
* @public
|
|
834
834
|
*/
|
|
835
835
|
WrappedKey?: WrappedKey;
|
|
836
836
|
}
|
|
@@ -839,8 +839,8 @@ export interface ExportKeyOutput {
|
|
|
839
839
|
*/
|
|
840
840
|
export interface GetKeyInput {
|
|
841
841
|
/**
|
|
842
|
-
* @public
|
|
843
842
|
* <p>The <code>KeyARN</code> of the Amazon Web Services Payment Cryptography key.</p>
|
|
843
|
+
* @public
|
|
844
844
|
*/
|
|
845
845
|
KeyIdentifier: string | undefined;
|
|
846
846
|
}
|
|
@@ -849,8 +849,8 @@ export interface GetKeyInput {
|
|
|
849
849
|
*/
|
|
850
850
|
export interface GetKeyOutput {
|
|
851
851
|
/**
|
|
852
|
-
* @public
|
|
853
852
|
* <p>The key material, including the immutable and mutable data for the key.</p>
|
|
853
|
+
* @public
|
|
854
854
|
*/
|
|
855
855
|
Key: Key | undefined;
|
|
856
856
|
}
|
|
@@ -874,13 +874,13 @@ export type KeyMaterialType = (typeof KeyMaterialType)[keyof typeof KeyMaterialT
|
|
|
874
874
|
*/
|
|
875
875
|
export interface GetParametersForExportInput {
|
|
876
876
|
/**
|
|
877
|
-
* @public
|
|
878
877
|
* <p>The key block format type (for example, TR-34 or TR-31) to use during key material export. Export token is only required for a TR-34 key export, <code>TR34_KEY_BLOCK</code>. Export token is not required for TR-31 key export.</p>
|
|
878
|
+
* @public
|
|
879
879
|
*/
|
|
880
880
|
KeyMaterialType: KeyMaterialType | undefined;
|
|
881
881
|
/**
|
|
882
|
-
* @public
|
|
883
882
|
* <p>The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>
|
|
883
|
+
* @public
|
|
884
884
|
*/
|
|
885
885
|
SigningKeyAlgorithm: KeyAlgorithm | undefined;
|
|
886
886
|
}
|
|
@@ -889,28 +889,28 @@ export interface GetParametersForExportInput {
|
|
|
889
889
|
*/
|
|
890
890
|
export interface GetParametersForExportOutput {
|
|
891
891
|
/**
|
|
892
|
-
* @public
|
|
893
892
|
* <p>The signing key certificate in PEM format (base64 encoded) of the public key for signature within the TR-34 key block. The certificate expires after 7 days.</p>
|
|
893
|
+
* @public
|
|
894
894
|
*/
|
|
895
895
|
SigningKeyCertificate: string | undefined;
|
|
896
896
|
/**
|
|
897
|
-
* @public
|
|
898
897
|
* <p>The root certificate authority (CA) that signed the signing key certificate in PEM format (base64 encoded).</p>
|
|
898
|
+
* @public
|
|
899
899
|
*/
|
|
900
900
|
SigningKeyCertificateChain: string | undefined;
|
|
901
901
|
/**
|
|
902
|
-
* @public
|
|
903
902
|
* <p>The algorithm of the signing key certificate for use in TR-34 key block generation. <code>RSA_2048</code> is the only signing key algorithm allowed.</p>
|
|
903
|
+
* @public
|
|
904
904
|
*/
|
|
905
905
|
SigningKeyAlgorithm: KeyAlgorithm | undefined;
|
|
906
906
|
/**
|
|
907
|
-
* @public
|
|
908
907
|
* <p>The export token to initiate key export from Amazon Web Services Payment Cryptography. The export token expires after 7 days. You can use the same export token to export multiple keys from the same service account.</p>
|
|
908
|
+
* @public
|
|
909
909
|
*/
|
|
910
910
|
ExportToken: string | undefined;
|
|
911
911
|
/**
|
|
912
|
-
* @public
|
|
913
912
|
* <p>The validity period of the export token.</p>
|
|
913
|
+
* @public
|
|
914
914
|
*/
|
|
915
915
|
ParametersValidUntilTimestamp: Date | undefined;
|
|
916
916
|
}
|
|
@@ -919,15 +919,15 @@ export interface GetParametersForExportOutput {
|
|
|
919
919
|
*/
|
|
920
920
|
export interface GetParametersForImportInput {
|
|
921
921
|
/**
|
|
922
|
-
* @public
|
|
923
922
|
* <p>The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (<code>TR34_KEY_BLOCK</code>) and RSA WrappedKeyCryptogram (<code>KEY_CRYPTOGRAM</code>).</p>
|
|
924
923
|
* <p>Import token is not required for TR-31, root public key cerificate or trusted public key certificate.</p>
|
|
924
|
+
* @public
|
|
925
925
|
*/
|
|
926
926
|
KeyMaterialType: KeyMaterialType | undefined;
|
|
927
927
|
/**
|
|
928
|
-
* @public
|
|
929
928
|
* <p>The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.</p>
|
|
930
929
|
* <p>At this time, <code>RSA_2048</code> is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, <code>RSA_2048</code>, <code>RSA_3072</code>, <code>RSA_4096</code> are the allowed algorithms for RSA WrappedKeyCryptogram import.</p>
|
|
930
|
+
* @public
|
|
931
931
|
*/
|
|
932
932
|
WrappingKeyAlgorithm: KeyAlgorithm | undefined;
|
|
933
933
|
}
|
|
@@ -936,28 +936,28 @@ export interface GetParametersForImportInput {
|
|
|
936
936
|
*/
|
|
937
937
|
export interface GetParametersForImportOutput {
|
|
938
938
|
/**
|
|
939
|
-
* @public
|
|
940
939
|
* <p>The wrapping key certificate in PEM format (base64 encoded) of the wrapping key for use within the TR-34 key block. The certificate expires in 7 days.</p>
|
|
940
|
+
* @public
|
|
941
941
|
*/
|
|
942
942
|
WrappingKeyCertificate: string | undefined;
|
|
943
943
|
/**
|
|
944
|
-
* @public
|
|
945
944
|
* <p>The Amazon Web Services Payment Cryptography root certificate authority (CA) that signed the wrapping key certificate in PEM format (base64 encoded).</p>
|
|
945
|
+
* @public
|
|
946
946
|
*/
|
|
947
947
|
WrappingKeyCertificateChain: string | undefined;
|
|
948
948
|
/**
|
|
949
|
-
* @public
|
|
950
949
|
* <p>The algorithm of the wrapping key for use within TR-34 WrappedKeyBlock or RSA WrappedKeyCryptogram.</p>
|
|
950
|
+
* @public
|
|
951
951
|
*/
|
|
952
952
|
WrappingKeyAlgorithm: KeyAlgorithm | undefined;
|
|
953
953
|
/**
|
|
954
|
-
* @public
|
|
955
954
|
* <p>The import token to initiate key import into Amazon Web Services Payment Cryptography. The import token expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>
|
|
955
|
+
* @public
|
|
956
956
|
*/
|
|
957
957
|
ImportToken: string | undefined;
|
|
958
958
|
/**
|
|
959
|
-
* @public
|
|
960
959
|
* <p>The validity period of the import token.</p>
|
|
960
|
+
* @public
|
|
961
961
|
*/
|
|
962
962
|
ParametersValidUntilTimestamp: Date | undefined;
|
|
963
963
|
}
|
|
@@ -966,8 +966,8 @@ export interface GetParametersForImportOutput {
|
|
|
966
966
|
*/
|
|
967
967
|
export interface GetPublicKeyCertificateInput {
|
|
968
968
|
/**
|
|
969
|
-
* @public
|
|
970
969
|
* <p>The <code>KeyARN</code> of the asymmetric key pair.</p>
|
|
970
|
+
* @public
|
|
971
971
|
*/
|
|
972
972
|
KeyIdentifier: string | undefined;
|
|
973
973
|
}
|
|
@@ -976,139 +976,139 @@ export interface GetPublicKeyCertificateInput {
|
|
|
976
976
|
*/
|
|
977
977
|
export interface GetPublicKeyCertificateOutput {
|
|
978
978
|
/**
|
|
979
|
-
* @public
|
|
980
979
|
* <p>The public key component of the asymmetric key pair in a certificate PEM format (base64 encoded). It is signed by the root certificate authority (CA). The certificate expires in 90 days.</p>
|
|
980
|
+
* @public
|
|
981
981
|
*/
|
|
982
982
|
KeyCertificate: string | undefined;
|
|
983
983
|
/**
|
|
984
|
-
* @public
|
|
985
984
|
* <p>The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.</p>
|
|
985
|
+
* @public
|
|
986
986
|
*/
|
|
987
987
|
KeyCertificateChain: string | undefined;
|
|
988
988
|
}
|
|
989
989
|
/**
|
|
990
|
-
* @public
|
|
991
990
|
* <p>Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.</p>
|
|
991
|
+
* @public
|
|
992
992
|
*/
|
|
993
993
|
export interface ImportKeyCryptogram {
|
|
994
994
|
/**
|
|
995
|
-
* @public
|
|
996
995
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
|
|
996
|
+
* @public
|
|
997
997
|
*/
|
|
998
998
|
KeyAttributes: KeyAttributes | undefined;
|
|
999
999
|
/**
|
|
1000
|
-
* @public
|
|
1001
1000
|
* <p>Specifies whether the key is exportable from the service.</p>
|
|
1001
|
+
* @public
|
|
1002
1002
|
*/
|
|
1003
1003
|
Exportable: boolean | undefined;
|
|
1004
1004
|
/**
|
|
1005
|
-
* @public
|
|
1006
1005
|
* <p>The RSA wrapped key cryptogram under import.</p>
|
|
1006
|
+
* @public
|
|
1007
1007
|
*/
|
|
1008
1008
|
WrappedKeyCryptogram: string | undefined;
|
|
1009
1009
|
/**
|
|
1010
|
-
* @public
|
|
1011
1010
|
* <p>The import token that initiates key import using the asymmetric RSA wrap and unwrap key exchange method into AWS Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>
|
|
1011
|
+
* @public
|
|
1012
1012
|
*/
|
|
1013
1013
|
ImportToken: string | undefined;
|
|
1014
1014
|
/**
|
|
1015
|
-
* @public
|
|
1016
1015
|
* <p>The wrapping spec for the wrapped key cryptogram.</p>
|
|
1016
|
+
* @public
|
|
1017
1017
|
*/
|
|
1018
1018
|
WrappingSpec?: WrappingKeySpec;
|
|
1019
1019
|
}
|
|
1020
1020
|
/**
|
|
1021
|
-
* @public
|
|
1022
1021
|
* <p>Parameter information for root public key certificate import.</p>
|
|
1022
|
+
* @public
|
|
1023
1023
|
*/
|
|
1024
1024
|
export interface RootCertificatePublicKey {
|
|
1025
1025
|
/**
|
|
1026
|
-
* @public
|
|
1027
1026
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.</p>
|
|
1027
|
+
* @public
|
|
1028
1028
|
*/
|
|
1029
1029
|
KeyAttributes: KeyAttributes | undefined;
|
|
1030
1030
|
/**
|
|
1031
|
-
* @public
|
|
1032
1031
|
* <p>Parameter information for root public key certificate import.</p>
|
|
1032
|
+
* @public
|
|
1033
1033
|
*/
|
|
1034
1034
|
PublicKeyCertificate: string | undefined;
|
|
1035
1035
|
}
|
|
1036
1036
|
/**
|
|
1037
|
-
* @public
|
|
1038
1037
|
* <p>Parameter information for key material import using symmetric TR-31 key exchange method.</p>
|
|
1038
|
+
* @public
|
|
1039
1039
|
*/
|
|
1040
1040
|
export interface ImportTr31KeyBlock {
|
|
1041
1041
|
/**
|
|
1042
|
-
* @public
|
|
1043
1042
|
* <p>The <code>KeyARN</code> of the key that will decrypt or unwrap a TR-31 key block during import.</p>
|
|
1043
|
+
* @public
|
|
1044
1044
|
*/
|
|
1045
1045
|
WrappingKeyIdentifier: string | undefined;
|
|
1046
1046
|
/**
|
|
1047
|
-
* @public
|
|
1048
1047
|
* <p>The TR-31 wrapped key block to import.</p>
|
|
1048
|
+
* @public
|
|
1049
1049
|
*/
|
|
1050
1050
|
WrappedKeyBlock: string | undefined;
|
|
1051
1051
|
}
|
|
1052
1052
|
/**
|
|
1053
|
-
* @public
|
|
1054
1053
|
* <p>Parameter information for key material import using the asymmetric TR-34 key exchange method.</p>
|
|
1054
|
+
* @public
|
|
1055
1055
|
*/
|
|
1056
1056
|
export interface ImportTr34KeyBlock {
|
|
1057
1057
|
/**
|
|
1058
|
-
* @public
|
|
1059
1058
|
* <p>The <code>KeyARN</code> of the certificate chain that signs the signing key certificate during TR-34 key import.</p>
|
|
1059
|
+
* @public
|
|
1060
1060
|
*/
|
|
1061
1061
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
1062
1062
|
/**
|
|
1063
|
-
* @public
|
|
1064
1063
|
* <p>The public key component in PEM certificate format of the private key that signs the KDH TR-34 WrappedKeyBlock.</p>
|
|
1064
|
+
* @public
|
|
1065
1065
|
*/
|
|
1066
1066
|
SigningKeyCertificate: string | undefined;
|
|
1067
1067
|
/**
|
|
1068
|
-
* @public
|
|
1069
1068
|
* <p>The import token that initiates key import using the asymmetric TR-34 key exchange method into Amazon Web Services Payment Cryptography. It expires after 7 days. You can use the same import token to import multiple keys to the same service account.</p>
|
|
1069
|
+
* @public
|
|
1070
1070
|
*/
|
|
1071
1071
|
ImportToken: string | undefined;
|
|
1072
1072
|
/**
|
|
1073
|
-
* @public
|
|
1074
1073
|
* <p>The TR-34 wrapped key block to import.</p>
|
|
1074
|
+
* @public
|
|
1075
1075
|
*/
|
|
1076
1076
|
WrappedKeyBlock: string | undefined;
|
|
1077
1077
|
/**
|
|
1078
|
-
* @public
|
|
1079
1078
|
* <p>The key block format to use during key import. The only value allowed is <code>X9_TR34_2012</code>.</p>
|
|
1079
|
+
* @public
|
|
1080
1080
|
*/
|
|
1081
1081
|
KeyBlockFormat: Tr34KeyBlockFormat | undefined;
|
|
1082
1082
|
/**
|
|
1083
|
-
* @public
|
|
1084
1083
|
* <p>A random number value that is unique to the TR-34 key block generated using 2 pass. The operation will fail, if a random nonce value is not provided for a TR-34 key block generated using 2 pass.</p>
|
|
1084
|
+
* @public
|
|
1085
1085
|
*/
|
|
1086
1086
|
RandomNonce?: string;
|
|
1087
1087
|
}
|
|
1088
1088
|
/**
|
|
1089
|
-
* @public
|
|
1090
1089
|
* <p>Parameter information for trusted public key certificate import.</p>
|
|
1090
|
+
* @public
|
|
1091
1091
|
*/
|
|
1092
1092
|
export interface TrustedCertificatePublicKey {
|
|
1093
1093
|
/**
|
|
1094
|
-
* @public
|
|
1095
1094
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after a trusted public key is imported.</p>
|
|
1095
|
+
* @public
|
|
1096
1096
|
*/
|
|
1097
1097
|
KeyAttributes: KeyAttributes | undefined;
|
|
1098
1098
|
/**
|
|
1099
|
-
* @public
|
|
1100
1099
|
* <p>Parameter information for trusted public key certificate import.</p>
|
|
1100
|
+
* @public
|
|
1101
1101
|
*/
|
|
1102
1102
|
PublicKeyCertificate: string | undefined;
|
|
1103
1103
|
/**
|
|
1104
|
-
* @public
|
|
1105
1104
|
* <p>The <code>KeyARN</code> of the root public key certificate or certificate chain that signs the trusted public key certificate import.</p>
|
|
1105
|
+
* @public
|
|
1106
1106
|
*/
|
|
1107
1107
|
CertificateAuthorityPublicKeyIdentifier: string | undefined;
|
|
1108
1108
|
}
|
|
1109
1109
|
/**
|
|
1110
|
-
* @public
|
|
1111
1110
|
* <p>Parameter information for key material import into Amazon Web Services Payment Cryptography using TR-31 or TR-34 or RSA wrap and unwrap key exchange method.</p>
|
|
1111
|
+
* @public
|
|
1112
1112
|
*/
|
|
1113
1113
|
export type ImportKeyMaterial = ImportKeyMaterial.KeyCryptogramMember | ImportKeyMaterial.RootCertificatePublicKeyMember | ImportKeyMaterial.Tr31KeyBlockMember | ImportKeyMaterial.Tr34KeyBlockMember | ImportKeyMaterial.TrustedCertificatePublicKeyMember | ImportKeyMaterial.$UnknownMember;
|
|
1114
1114
|
/**
|
|
@@ -1116,8 +1116,8 @@ export type ImportKeyMaterial = ImportKeyMaterial.KeyCryptogramMember | ImportKe
|
|
|
1116
1116
|
*/
|
|
1117
1117
|
export declare namespace ImportKeyMaterial {
|
|
1118
1118
|
/**
|
|
1119
|
-
* @public
|
|
1120
1119
|
* <p>Parameter information for root public key certificate import.</p>
|
|
1120
|
+
* @public
|
|
1121
1121
|
*/
|
|
1122
1122
|
interface RootCertificatePublicKeyMember {
|
|
1123
1123
|
RootCertificatePublicKey: RootCertificatePublicKey;
|
|
@@ -1128,8 +1128,8 @@ export declare namespace ImportKeyMaterial {
|
|
|
1128
1128
|
$unknown?: never;
|
|
1129
1129
|
}
|
|
1130
1130
|
/**
|
|
1131
|
-
* @public
|
|
1132
1131
|
* <p>Parameter information for trusted public key certificate import.</p>
|
|
1132
|
+
* @public
|
|
1133
1133
|
*/
|
|
1134
1134
|
interface TrustedCertificatePublicKeyMember {
|
|
1135
1135
|
RootCertificatePublicKey?: never;
|
|
@@ -1140,8 +1140,8 @@ export declare namespace ImportKeyMaterial {
|
|
|
1140
1140
|
$unknown?: never;
|
|
1141
1141
|
}
|
|
1142
1142
|
/**
|
|
1143
|
-
* @public
|
|
1144
1143
|
* <p>Parameter information for key material import using symmetric TR-31 key exchange method.</p>
|
|
1144
|
+
* @public
|
|
1145
1145
|
*/
|
|
1146
1146
|
interface Tr31KeyBlockMember {
|
|
1147
1147
|
RootCertificatePublicKey?: never;
|
|
@@ -1152,8 +1152,8 @@ export declare namespace ImportKeyMaterial {
|
|
|
1152
1152
|
$unknown?: never;
|
|
1153
1153
|
}
|
|
1154
1154
|
/**
|
|
1155
|
-
* @public
|
|
1156
1155
|
* <p>Parameter information for key material import using the asymmetric TR-34 key exchange method.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
interface Tr34KeyBlockMember {
|
|
1159
1159
|
RootCertificatePublicKey?: never;
|
|
@@ -1164,8 +1164,8 @@ export declare namespace ImportKeyMaterial {
|
|
|
1164
1164
|
$unknown?: never;
|
|
1165
1165
|
}
|
|
1166
1166
|
/**
|
|
1167
|
-
* @public
|
|
1168
1167
|
* <p>Parameter information for key material import using asymmetric RSA wrap and unwrap key exchange method.</p>
|
|
1168
|
+
* @public
|
|
1169
1169
|
*/
|
|
1170
1170
|
interface KeyCryptogramMember {
|
|
1171
1171
|
RootCertificatePublicKey?: never;
|
|
@@ -1201,23 +1201,22 @@ export declare namespace ImportKeyMaterial {
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
export interface ImportKeyInput {
|
|
1203
1203
|
/**
|
|
1204
|
-
* @public
|
|
1205
1204
|
* <p>The key or public key certificate type to use during key material import, for example TR-34 or RootCertificatePublicKey.</p>
|
|
1205
|
+
* @public
|
|
1206
1206
|
*/
|
|
1207
1207
|
KeyMaterial: ImportKeyMaterial | undefined;
|
|
1208
1208
|
/**
|
|
1209
|
-
* @public
|
|
1210
1209
|
* <p>The algorithm that Amazon Web Services Payment Cryptography uses to calculate the key check value (KCV). It is used to validate the key integrity.</p>
|
|
1211
1210
|
* <p>For TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, with the key to be checked and retaining the 3 highest order bytes of the encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where the input data is 16 bytes of zero and retaining the 3 highest order bytes of the encrypted result.</p>
|
|
1211
|
+
* @public
|
|
1212
1212
|
*/
|
|
1213
1213
|
KeyCheckValueAlgorithm?: KeyCheckValueAlgorithm;
|
|
1214
1214
|
/**
|
|
1215
|
-
* @public
|
|
1216
1215
|
* <p>Specifies whether import key is enabled.</p>
|
|
1216
|
+
* @public
|
|
1217
1217
|
*/
|
|
1218
1218
|
Enabled?: boolean;
|
|
1219
1219
|
/**
|
|
1220
|
-
* @public
|
|
1221
1220
|
* <p>Assigns one or more tags to the Amazon Web Services Payment Cryptography key. Use this parameter to tag a key when it is imported. To tag an existing Amazon Web Services Payment Cryptography key, use the <a>TagResource</a> operation.</p>
|
|
1222
1221
|
* <p>Each tag consists of a tag key and a tag value. Both the tag key and the tag value are required, but the tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the specified one.</p>
|
|
1223
1222
|
* <important>
|
|
@@ -1226,6 +1225,7 @@ export interface ImportKeyInput {
|
|
|
1226
1225
|
* <note>
|
|
1227
1226
|
* <p>Tagging or untagging an Amazon Web Services Payment Cryptography key can allow or deny permission to the key.</p>
|
|
1228
1227
|
* </note>
|
|
1228
|
+
* @public
|
|
1229
1229
|
*/
|
|
1230
1230
|
Tags?: Tag[];
|
|
1231
1231
|
}
|
|
@@ -1234,8 +1234,8 @@ export interface ImportKeyInput {
|
|
|
1234
1234
|
*/
|
|
1235
1235
|
export interface ImportKeyOutput {
|
|
1236
1236
|
/**
|
|
1237
|
-
* @public
|
|
1238
1237
|
* <p>The <code>KeyARN</code> of the key material imported within Amazon Web Services Payment Cryptography.</p>
|
|
1238
|
+
* @public
|
|
1239
1239
|
*/
|
|
1240
1240
|
Key: Key | undefined;
|
|
1241
1241
|
}
|
|
@@ -1244,55 +1244,55 @@ export interface ImportKeyOutput {
|
|
|
1244
1244
|
*/
|
|
1245
1245
|
export interface ListKeysInput {
|
|
1246
1246
|
/**
|
|
1247
|
-
* @public
|
|
1248
1247
|
* <p>The key state of the keys you want to list.</p>
|
|
1248
|
+
* @public
|
|
1249
1249
|
*/
|
|
1250
1250
|
KeyState?: KeyState;
|
|
1251
1251
|
/**
|
|
1252
|
-
* @public
|
|
1253
1252
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
1253
|
+
* @public
|
|
1254
1254
|
*/
|
|
1255
1255
|
NextToken?: string;
|
|
1256
1256
|
/**
|
|
1257
|
-
* @public
|
|
1258
1257
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
1259
1258
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
1259
|
+
* @public
|
|
1260
1260
|
*/
|
|
1261
1261
|
MaxResults?: number;
|
|
1262
1262
|
}
|
|
1263
1263
|
/**
|
|
1264
|
-
* @public
|
|
1265
1264
|
* <p>Metadata about an Amazon Web Services Payment Cryptography key.</p>
|
|
1265
|
+
* @public
|
|
1266
1266
|
*/
|
|
1267
1267
|
export interface KeySummary {
|
|
1268
1268
|
/**
|
|
1269
|
-
* @public
|
|
1270
1269
|
* <p>The Amazon Resource Name (ARN) of the key.</p>
|
|
1270
|
+
* @public
|
|
1271
1271
|
*/
|
|
1272
1272
|
KeyArn: string | undefined;
|
|
1273
1273
|
/**
|
|
1274
|
-
* @public
|
|
1275
1274
|
* <p>The state of an Amazon Web Services Payment Cryptography that is being created or deleted.</p>
|
|
1275
|
+
* @public
|
|
1276
1276
|
*/
|
|
1277
1277
|
KeyState: KeyState | undefined;
|
|
1278
1278
|
/**
|
|
1279
|
-
* @public
|
|
1280
1279
|
* <p>The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.</p>
|
|
1280
|
+
* @public
|
|
1281
1281
|
*/
|
|
1282
1282
|
KeyAttributes: KeyAttributes | undefined;
|
|
1283
1283
|
/**
|
|
1284
|
-
* @public
|
|
1285
1284
|
* <p>The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.</p>
|
|
1285
|
+
* @public
|
|
1286
1286
|
*/
|
|
1287
1287
|
KeyCheckValue: string | undefined;
|
|
1288
1288
|
/**
|
|
1289
|
-
* @public
|
|
1290
1289
|
* <p>Specifies whether the key is exportable. This data is immutable after the key is created.</p>
|
|
1290
|
+
* @public
|
|
1291
1291
|
*/
|
|
1292
1292
|
Exportable: boolean | undefined;
|
|
1293
1293
|
/**
|
|
1294
|
-
* @public
|
|
1295
1294
|
* <p>Specifies whether the key is enabled. </p>
|
|
1295
|
+
* @public
|
|
1296
1296
|
*/
|
|
1297
1297
|
Enabled: boolean | undefined;
|
|
1298
1298
|
}
|
|
@@ -1301,13 +1301,13 @@ export interface KeySummary {
|
|
|
1301
1301
|
*/
|
|
1302
1302
|
export interface ListKeysOutput {
|
|
1303
1303
|
/**
|
|
1304
|
-
* @public
|
|
1305
1304
|
* <p>The list of keys created within the caller's Amazon Web Services account and Amazon Web Services Region.</p>
|
|
1305
|
+
* @public
|
|
1306
1306
|
*/
|
|
1307
1307
|
Keys: KeySummary[] | undefined;
|
|
1308
1308
|
/**
|
|
1309
|
-
* @public
|
|
1310
1309
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
1310
|
+
* @public
|
|
1311
1311
|
*/
|
|
1312
1312
|
NextToken?: string;
|
|
1313
1313
|
}
|
|
@@ -1316,8 +1316,8 @@ export interface ListKeysOutput {
|
|
|
1316
1316
|
*/
|
|
1317
1317
|
export interface RestoreKeyInput {
|
|
1318
1318
|
/**
|
|
1319
|
-
* @public
|
|
1320
1319
|
* <p>The <code>KeyARN</code> of the key to be restored within Amazon Web Services Payment Cryptography.</p>
|
|
1320
|
+
* @public
|
|
1321
1321
|
*/
|
|
1322
1322
|
KeyIdentifier: string | undefined;
|
|
1323
1323
|
}
|
|
@@ -1326,8 +1326,8 @@ export interface RestoreKeyInput {
|
|
|
1326
1326
|
*/
|
|
1327
1327
|
export interface RestoreKeyOutput {
|
|
1328
1328
|
/**
|
|
1329
|
-
* @public
|
|
1330
1329
|
* <p>The key material of the restored key. The <code>KeyState</code> will change to <code>CREATE_COMPLETE</code> and value for <code>DeletePendingTimestamp</code> gets removed. </p>
|
|
1330
|
+
* @public
|
|
1331
1331
|
*/
|
|
1332
1332
|
Key: Key | undefined;
|
|
1333
1333
|
}
|
|
@@ -1336,8 +1336,8 @@ export interface RestoreKeyOutput {
|
|
|
1336
1336
|
*/
|
|
1337
1337
|
export interface StartKeyUsageInput {
|
|
1338
1338
|
/**
|
|
1339
|
-
* @public
|
|
1340
1339
|
* <p>The <code>KeyArn</code> of the key.</p>
|
|
1340
|
+
* @public
|
|
1341
1341
|
*/
|
|
1342
1342
|
KeyIdentifier: string | undefined;
|
|
1343
1343
|
}
|
|
@@ -1346,8 +1346,8 @@ export interface StartKeyUsageInput {
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
export interface StartKeyUsageOutput {
|
|
1348
1348
|
/**
|
|
1349
|
-
* @public
|
|
1350
1349
|
* <p>The <code>KeyARN</code> of the Amazon Web Services Payment Cryptography key activated for use.</p>
|
|
1350
|
+
* @public
|
|
1351
1351
|
*/
|
|
1352
1352
|
Key: Key | undefined;
|
|
1353
1353
|
}
|
|
@@ -1356,8 +1356,8 @@ export interface StartKeyUsageOutput {
|
|
|
1356
1356
|
*/
|
|
1357
1357
|
export interface StopKeyUsageInput {
|
|
1358
1358
|
/**
|
|
1359
|
-
* @public
|
|
1360
1359
|
* <p>The <code>KeyArn</code> of the key.</p>
|
|
1360
|
+
* @public
|
|
1361
1361
|
*/
|
|
1362
1362
|
KeyIdentifier: string | undefined;
|
|
1363
1363
|
}
|
|
@@ -1366,8 +1366,8 @@ export interface StopKeyUsageInput {
|
|
|
1366
1366
|
*/
|
|
1367
1367
|
export interface StopKeyUsageOutput {
|
|
1368
1368
|
/**
|
|
1369
|
-
* @public
|
|
1370
1369
|
* <p>The <code>KeyARN</code> of the key.</p>
|
|
1370
|
+
* @public
|
|
1371
1371
|
*/
|
|
1372
1372
|
Key: Key | undefined;
|
|
1373
1373
|
}
|
|
@@ -1376,19 +1376,19 @@ export interface StopKeyUsageOutput {
|
|
|
1376
1376
|
*/
|
|
1377
1377
|
export interface ListTagsForResourceInput {
|
|
1378
1378
|
/**
|
|
1379
|
-
* @public
|
|
1380
1379
|
* <p>The <code>KeyARN</code> of the key whose tags you are getting.</p>
|
|
1380
|
+
* @public
|
|
1381
1381
|
*/
|
|
1382
1382
|
ResourceArn: string | undefined;
|
|
1383
1383
|
/**
|
|
1384
|
-
* @public
|
|
1385
1384
|
* <p>Use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <code>NextToken</code> from the truncated response you just received.</p>
|
|
1385
|
+
* @public
|
|
1386
1386
|
*/
|
|
1387
1387
|
NextToken?: string;
|
|
1388
1388
|
/**
|
|
1389
|
-
* @public
|
|
1390
1389
|
* <p>Use this parameter to specify the maximum number of items to return. When this value is present, Amazon Web Services Payment Cryptography does not return more than the specified number of items, but it might return fewer.</p>
|
|
1391
1390
|
* <p>This value is optional. If you include a value, it must be between 1 and 100, inclusive. If you do not include a value, it defaults to 50.</p>
|
|
1391
|
+
* @public
|
|
1392
1392
|
*/
|
|
1393
1393
|
MaxResults?: number;
|
|
1394
1394
|
}
|
|
@@ -1397,13 +1397,13 @@ export interface ListTagsForResourceInput {
|
|
|
1397
1397
|
*/
|
|
1398
1398
|
export interface ListTagsForResourceOutput {
|
|
1399
1399
|
/**
|
|
1400
|
-
* @public
|
|
1401
1400
|
* <p>The list of tags associated with a <code>ResourceArn</code>. Each tag will list the key-value pair contained within that tag.</p>
|
|
1401
|
+
* @public
|
|
1402
1402
|
*/
|
|
1403
1403
|
Tags: Tag[] | undefined;
|
|
1404
1404
|
/**
|
|
1405
|
-
* @public
|
|
1406
1405
|
* <p>The token for the next set of results, or an empty or null value if there are no more results.</p>
|
|
1406
|
+
* @public
|
|
1407
1407
|
*/
|
|
1408
1408
|
NextToken?: string;
|
|
1409
1409
|
}
|
|
@@ -1412,12 +1412,11 @@ export interface ListTagsForResourceOutput {
|
|
|
1412
1412
|
*/
|
|
1413
1413
|
export interface TagResourceInput {
|
|
1414
1414
|
/**
|
|
1415
|
-
* @public
|
|
1416
1415
|
* <p>The <code>KeyARN</code> of the key whose tags are being updated.</p>
|
|
1416
|
+
* @public
|
|
1417
1417
|
*/
|
|
1418
1418
|
ResourceArn: string | undefined;
|
|
1419
1419
|
/**
|
|
1420
|
-
* @public
|
|
1421
1420
|
* <p>One or more tags. Each tag consists of a tag key and a tag value. The tag value can be an empty (null) string. You can't have more than one tag on an Amazon Web Services Payment Cryptography key with the same tag key. If you specify an existing tag key with a different tag value, Amazon Web Services Payment Cryptography replaces the current tag value with the new one.</p>
|
|
1422
1421
|
* <important>
|
|
1423
1422
|
* <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p>
|
|
@@ -1426,6 +1425,7 @@ export interface TagResourceInput {
|
|
|
1426
1425
|
* <important>
|
|
1427
1426
|
* <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p>
|
|
1428
1427
|
* </important>
|
|
1428
|
+
* @public
|
|
1429
1429
|
*/
|
|
1430
1430
|
Tags: Tag[] | undefined;
|
|
1431
1431
|
}
|
|
@@ -1439,14 +1439,14 @@ export interface TagResourceOutput {
|
|
|
1439
1439
|
*/
|
|
1440
1440
|
export interface UntagResourceInput {
|
|
1441
1441
|
/**
|
|
1442
|
-
* @public
|
|
1443
1442
|
* <p>The <code>KeyARN</code> of the key whose tags are being removed.</p>
|
|
1443
|
+
* @public
|
|
1444
1444
|
*/
|
|
1445
1445
|
ResourceArn: string | undefined;
|
|
1446
1446
|
/**
|
|
1447
|
-
* @public
|
|
1448
1447
|
* <p>One or more tag keys. Don't include the tag values.</p>
|
|
1449
1448
|
* <p>If the Amazon Web Services Payment Cryptography key doesn't have the specified tag key, Amazon Web Services Payment Cryptography doesn't throw an exception or return a response. To confirm that the operation succeeded, use the <a>ListTagsForResource</a> operation.</p>
|
|
1449
|
+
* @public
|
|
1450
1450
|
*/
|
|
1451
1451
|
TagKeys: string[] | undefined;
|
|
1452
1452
|
}
|