aws-sdk-paymentcryptography 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-paymentcryptography/client.rb +574 -376
- data/lib/aws-sdk-paymentcryptography/client_api.rb +67 -50
- data/lib/aws-sdk-paymentcryptography/types.rb +380 -288
- data/lib/aws-sdk-paymentcryptography/waiters.rb +15 -0
- data/lib/aws-sdk-paymentcryptography.rb +2 -1
- data/sig/client.rbs +112 -80
- data/sig/types.rbs +62 -52
- metadata +5 -4
data/sig/types.rbs
CHANGED
@@ -36,10 +36,10 @@ module Aws::PaymentCryptography
|
|
36
36
|
end
|
37
37
|
|
38
38
|
class CreateKeyInput
|
39
|
-
attr_accessor enabled: bool
|
40
|
-
attr_accessor exportable: bool
|
41
39
|
attr_accessor key_attributes: Types::KeyAttributes
|
42
40
|
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
41
|
+
attr_accessor exportable: bool
|
42
|
+
attr_accessor enabled: bool
|
43
43
|
attr_accessor tags: ::Array[Types::Tag]
|
44
44
|
SENSITIVE: []
|
45
45
|
end
|
@@ -58,8 +58,8 @@ module Aws::PaymentCryptography
|
|
58
58
|
end
|
59
59
|
|
60
60
|
class DeleteKeyInput
|
61
|
-
attr_accessor delete_key_in_days: ::Integer
|
62
61
|
attr_accessor key_identifier: ::String
|
62
|
+
attr_accessor delete_key_in_days: ::Integer
|
63
63
|
SENSITIVE: []
|
64
64
|
end
|
65
65
|
|
@@ -87,25 +87,25 @@ module Aws::PaymentCryptography
|
|
87
87
|
end
|
88
88
|
|
89
89
|
class ExportKeyInput
|
90
|
-
attr_accessor export_attributes: Types::ExportAttributes
|
91
|
-
attr_accessor export_key_identifier: ::String
|
92
90
|
attr_accessor key_material: Types::ExportKeyMaterial
|
91
|
+
attr_accessor export_key_identifier: ::String
|
92
|
+
attr_accessor export_attributes: Types::ExportAttributes
|
93
93
|
SENSITIVE: []
|
94
94
|
end
|
95
95
|
|
96
96
|
class ExportKeyMaterial
|
97
|
-
attr_accessor key_cryptogram: Types::ExportKeyCryptogram
|
98
97
|
attr_accessor tr_31_key_block: Types::ExportTr31KeyBlock
|
99
98
|
attr_accessor tr_34_key_block: Types::ExportTr34KeyBlock
|
99
|
+
attr_accessor key_cryptogram: Types::ExportKeyCryptogram
|
100
100
|
attr_accessor unknown: untyped
|
101
101
|
SENSITIVE: []
|
102
102
|
|
103
|
-
class KeyCryptogram < ExportKeyMaterial
|
104
|
-
end
|
105
103
|
class Tr31KeyBlock < ExportKeyMaterial
|
106
104
|
end
|
107
105
|
class Tr34KeyBlock < ExportKeyMaterial
|
108
106
|
end
|
107
|
+
class KeyCryptogram < ExportKeyMaterial
|
108
|
+
end
|
109
109
|
class Unknown < ExportKeyMaterial
|
110
110
|
end
|
111
111
|
end
|
@@ -117,15 +117,17 @@ module Aws::PaymentCryptography
|
|
117
117
|
|
118
118
|
class ExportTr31KeyBlock
|
119
119
|
attr_accessor wrapping_key_identifier: ::String
|
120
|
+
attr_accessor key_block_headers: Types::KeyBlockHeaders
|
120
121
|
SENSITIVE: []
|
121
122
|
end
|
122
123
|
|
123
124
|
class ExportTr34KeyBlock
|
124
125
|
attr_accessor certificate_authority_public_key_identifier: ::String
|
126
|
+
attr_accessor wrapping_key_certificate: ::String
|
125
127
|
attr_accessor export_token: ::String
|
126
128
|
attr_accessor key_block_format: ("X9_TR34_2012")
|
127
129
|
attr_accessor random_nonce: ::String
|
128
|
-
attr_accessor
|
130
|
+
attr_accessor key_block_headers: Types::KeyBlockHeaders
|
129
131
|
SENSITIVE: [:wrapping_key_certificate]
|
130
132
|
end
|
131
133
|
|
@@ -156,11 +158,11 @@ module Aws::PaymentCryptography
|
|
156
158
|
end
|
157
159
|
|
158
160
|
class GetParametersForExportOutput
|
159
|
-
attr_accessor export_token: ::String
|
160
|
-
attr_accessor parameters_valid_until_timestamp: ::Time
|
161
|
-
attr_accessor signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
|
162
161
|
attr_accessor signing_key_certificate: ::String
|
163
162
|
attr_accessor signing_key_certificate_chain: ::String
|
163
|
+
attr_accessor signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
|
164
|
+
attr_accessor export_token: ::String
|
165
|
+
attr_accessor parameters_valid_until_timestamp: ::Time
|
164
166
|
SENSITIVE: [:signing_key_certificate, :signing_key_certificate_chain]
|
165
167
|
end
|
166
168
|
|
@@ -171,11 +173,11 @@ module Aws::PaymentCryptography
|
|
171
173
|
end
|
172
174
|
|
173
175
|
class GetParametersForImportOutput
|
174
|
-
attr_accessor import_token: ::String
|
175
|
-
attr_accessor parameters_valid_until_timestamp: ::Time
|
176
|
-
attr_accessor wrapping_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
|
177
176
|
attr_accessor wrapping_key_certificate: ::String
|
178
177
|
attr_accessor wrapping_key_certificate_chain: ::String
|
178
|
+
attr_accessor wrapping_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
|
179
|
+
attr_accessor import_token: ::String
|
180
|
+
attr_accessor parameters_valid_until_timestamp: ::Time
|
179
181
|
SENSITIVE: [:wrapping_key_certificate, :wrapping_key_certificate_chain]
|
180
182
|
end
|
181
183
|
|
@@ -191,40 +193,40 @@ module Aws::PaymentCryptography
|
|
191
193
|
end
|
192
194
|
|
193
195
|
class ImportKeyCryptogram
|
194
|
-
attr_accessor exportable: bool
|
195
|
-
attr_accessor import_token: ::String
|
196
196
|
attr_accessor key_attributes: Types::KeyAttributes
|
197
|
+
attr_accessor exportable: bool
|
197
198
|
attr_accessor wrapped_key_cryptogram: ::String
|
199
|
+
attr_accessor import_token: ::String
|
198
200
|
attr_accessor wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")
|
199
201
|
SENSITIVE: []
|
200
202
|
end
|
201
203
|
|
202
204
|
class ImportKeyInput
|
203
|
-
attr_accessor enabled: bool
|
204
|
-
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
205
205
|
attr_accessor key_material: Types::ImportKeyMaterial
|
206
|
+
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
207
|
+
attr_accessor enabled: bool
|
206
208
|
attr_accessor tags: ::Array[Types::Tag]
|
207
209
|
SENSITIVE: []
|
208
210
|
end
|
209
211
|
|
210
212
|
class ImportKeyMaterial
|
211
|
-
attr_accessor key_cryptogram: Types::ImportKeyCryptogram
|
212
213
|
attr_accessor root_certificate_public_key: Types::RootCertificatePublicKey
|
214
|
+
attr_accessor trusted_certificate_public_key: Types::TrustedCertificatePublicKey
|
213
215
|
attr_accessor tr_31_key_block: Types::ImportTr31KeyBlock
|
214
216
|
attr_accessor tr_34_key_block: Types::ImportTr34KeyBlock
|
215
|
-
attr_accessor
|
217
|
+
attr_accessor key_cryptogram: Types::ImportKeyCryptogram
|
216
218
|
attr_accessor unknown: untyped
|
217
219
|
SENSITIVE: []
|
218
220
|
|
219
|
-
class KeyCryptogram < ImportKeyMaterial
|
220
|
-
end
|
221
221
|
class RootCertificatePublicKey < ImportKeyMaterial
|
222
222
|
end
|
223
|
+
class TrustedCertificatePublicKey < ImportKeyMaterial
|
224
|
+
end
|
223
225
|
class Tr31KeyBlock < ImportKeyMaterial
|
224
226
|
end
|
225
227
|
class Tr34KeyBlock < ImportKeyMaterial
|
226
228
|
end
|
227
|
-
class
|
229
|
+
class KeyCryptogram < ImportKeyMaterial
|
228
230
|
end
|
229
231
|
class Unknown < ImportKeyMaterial
|
230
232
|
end
|
@@ -236,18 +238,18 @@ module Aws::PaymentCryptography
|
|
236
238
|
end
|
237
239
|
|
238
240
|
class ImportTr31KeyBlock
|
239
|
-
attr_accessor wrapped_key_block: ::String
|
240
241
|
attr_accessor wrapping_key_identifier: ::String
|
242
|
+
attr_accessor wrapped_key_block: ::String
|
241
243
|
SENSITIVE: []
|
242
244
|
end
|
243
245
|
|
244
246
|
class ImportTr34KeyBlock
|
245
247
|
attr_accessor certificate_authority_public_key_identifier: ::String
|
248
|
+
attr_accessor signing_key_certificate: ::String
|
246
249
|
attr_accessor import_token: ::String
|
250
|
+
attr_accessor wrapped_key_block: ::String
|
247
251
|
attr_accessor key_block_format: ("X9_TR34_2012")
|
248
252
|
attr_accessor random_nonce: ::String
|
249
|
-
attr_accessor signing_key_certificate: ::String
|
250
|
-
attr_accessor wrapped_key_block: ::String
|
251
253
|
SENSITIVE: [:signing_key_certificate]
|
252
254
|
end
|
253
255
|
|
@@ -257,56 +259,64 @@ module Aws::PaymentCryptography
|
|
257
259
|
end
|
258
260
|
|
259
261
|
class Key
|
260
|
-
attr_accessor create_timestamp: ::Time
|
261
|
-
attr_accessor delete_pending_timestamp: ::Time
|
262
|
-
attr_accessor delete_timestamp: ::Time
|
263
|
-
attr_accessor enabled: bool
|
264
|
-
attr_accessor exportable: bool
|
265
262
|
attr_accessor key_arn: ::String
|
266
263
|
attr_accessor key_attributes: Types::KeyAttributes
|
267
264
|
attr_accessor key_check_value: ::String
|
268
265
|
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
269
|
-
attr_accessor
|
266
|
+
attr_accessor enabled: bool
|
267
|
+
attr_accessor exportable: bool
|
270
268
|
attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
|
269
|
+
attr_accessor key_origin: ("EXTERNAL" | "AWS_PAYMENT_CRYPTOGRAPHY")
|
270
|
+
attr_accessor create_timestamp: ::Time
|
271
271
|
attr_accessor usage_start_timestamp: ::Time
|
272
272
|
attr_accessor usage_stop_timestamp: ::Time
|
273
|
+
attr_accessor delete_pending_timestamp: ::Time
|
274
|
+
attr_accessor delete_timestamp: ::Time
|
273
275
|
SENSITIVE: []
|
274
276
|
end
|
275
277
|
|
276
278
|
class KeyAttributes
|
277
|
-
attr_accessor
|
279
|
+
attr_accessor key_usage: ("TR31_B0_BASE_DERIVATION_KEY" | "TR31_C0_CARD_VERIFICATION_KEY" | "TR31_D0_SYMMETRIC_DATA_ENCRYPTION_KEY" | "TR31_D1_ASYMMETRIC_KEY_FOR_DATA_ENCRYPTION" | "TR31_E0_EMV_MKEY_APP_CRYPTOGRAMS" | "TR31_E1_EMV_MKEY_CONFIDENTIALITY" | "TR31_E2_EMV_MKEY_INTEGRITY" | "TR31_E4_EMV_MKEY_DYNAMIC_NUMBERS" | "TR31_E5_EMV_MKEY_CARD_PERSONALIZATION" | "TR31_E6_EMV_MKEY_OTHER" | "TR31_K0_KEY_ENCRYPTION_KEY" | "TR31_K1_KEY_BLOCK_PROTECTION_KEY" | "TR31_K3_ASYMMETRIC_KEY_FOR_KEY_AGREEMENT" | "TR31_M3_ISO_9797_3_MAC_KEY" | "TR31_M1_ISO_9797_1_MAC_KEY" | "TR31_M6_ISO_9797_5_CMAC_KEY" | "TR31_M7_HMAC_KEY" | "TR31_P0_PIN_ENCRYPTION_KEY" | "TR31_P1_PIN_GENERATION_KEY" | "TR31_S0_ASYMMETRIC_KEY_FOR_DIGITAL_SIGNATURE" | "TR31_V1_IBM3624_PIN_VERIFICATION_KEY" | "TR31_V2_VISA_PIN_VERIFICATION_KEY" | "TR31_K2_TR34_ASYMMETRIC_KEY")
|
278
280
|
attr_accessor key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY")
|
281
|
+
attr_accessor key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
|
279
282
|
attr_accessor key_modes_of_use: Types::KeyModesOfUse
|
280
|
-
|
283
|
+
SENSITIVE: []
|
284
|
+
end
|
285
|
+
|
286
|
+
class KeyBlockHeaders
|
287
|
+
attr_accessor key_modes_of_use: Types::KeyModesOfUse
|
288
|
+
attr_accessor key_exportability: ("EXPORTABLE" | "NON_EXPORTABLE" | "SENSITIVE")
|
289
|
+
attr_accessor key_version: ::String
|
290
|
+
attr_accessor optional_blocks: ::Hash[::String, ::String]
|
281
291
|
SENSITIVE: []
|
282
292
|
end
|
283
293
|
|
284
294
|
class KeyModesOfUse
|
285
|
-
attr_accessor decrypt: bool
|
286
|
-
attr_accessor derive_key: bool
|
287
295
|
attr_accessor encrypt: bool
|
296
|
+
attr_accessor decrypt: bool
|
297
|
+
attr_accessor wrap: bool
|
298
|
+
attr_accessor unwrap: bool
|
288
299
|
attr_accessor generate: bool
|
289
|
-
attr_accessor no_restrictions: bool
|
290
300
|
attr_accessor sign: bool
|
291
|
-
attr_accessor unwrap: bool
|
292
301
|
attr_accessor verify: bool
|
293
|
-
attr_accessor
|
302
|
+
attr_accessor derive_key: bool
|
303
|
+
attr_accessor no_restrictions: bool
|
294
304
|
SENSITIVE: []
|
295
305
|
end
|
296
306
|
|
297
307
|
class KeySummary
|
298
|
-
attr_accessor enabled: bool
|
299
|
-
attr_accessor exportable: bool
|
300
308
|
attr_accessor key_arn: ::String
|
309
|
+
attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
|
301
310
|
attr_accessor key_attributes: Types::KeyAttributes
|
302
311
|
attr_accessor key_check_value: ::String
|
303
|
-
attr_accessor
|
312
|
+
attr_accessor exportable: bool
|
313
|
+
attr_accessor enabled: bool
|
304
314
|
SENSITIVE: []
|
305
315
|
end
|
306
316
|
|
307
317
|
class ListAliasesInput
|
308
|
-
attr_accessor max_results: ::Integer
|
309
318
|
attr_accessor next_token: ::String
|
319
|
+
attr_accessor max_results: ::Integer
|
310
320
|
SENSITIVE: []
|
311
321
|
end
|
312
322
|
|
@@ -318,8 +328,8 @@ module Aws::PaymentCryptography
|
|
318
328
|
|
319
329
|
class ListKeysInput
|
320
330
|
attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
|
321
|
-
attr_accessor max_results: ::Integer
|
322
331
|
attr_accessor next_token: ::String
|
332
|
+
attr_accessor max_results: ::Integer
|
323
333
|
SENSITIVE: []
|
324
334
|
end
|
325
335
|
|
@@ -330,15 +340,15 @@ module Aws::PaymentCryptography
|
|
330
340
|
end
|
331
341
|
|
332
342
|
class ListTagsForResourceInput
|
333
|
-
attr_accessor max_results: ::Integer
|
334
|
-
attr_accessor next_token: ::String
|
335
343
|
attr_accessor resource_arn: ::String
|
344
|
+
attr_accessor next_token: ::String
|
345
|
+
attr_accessor max_results: ::Integer
|
336
346
|
SENSITIVE: []
|
337
347
|
end
|
338
348
|
|
339
349
|
class ListTagsForResourceOutput
|
340
|
-
attr_accessor next_token: ::String
|
341
350
|
attr_accessor tags: ::Array[Types::Tag]
|
351
|
+
attr_accessor next_token: ::String
|
342
352
|
SENSITIVE: []
|
343
353
|
end
|
344
354
|
|
@@ -414,9 +424,9 @@ module Aws::PaymentCryptography
|
|
414
424
|
end
|
415
425
|
|
416
426
|
class TrustedCertificatePublicKey
|
417
|
-
attr_accessor certificate_authority_public_key_identifier: ::String
|
418
427
|
attr_accessor key_attributes: Types::KeyAttributes
|
419
428
|
attr_accessor public_key_certificate: ::String
|
429
|
+
attr_accessor certificate_authority_public_key_identifier: ::String
|
420
430
|
SENSITIVE: [:public_key_certificate]
|
421
431
|
end
|
422
432
|
|
@@ -446,11 +456,11 @@ module Aws::PaymentCryptography
|
|
446
456
|
end
|
447
457
|
|
448
458
|
class WrappedKey
|
459
|
+
attr_accessor wrapping_key_arn: ::String
|
460
|
+
attr_accessor wrapped_key_material_format: ("KEY_CRYPTOGRAM" | "TR31_KEY_BLOCK" | "TR34_KEY_BLOCK")
|
461
|
+
attr_accessor key_material: ::String
|
449
462
|
attr_accessor key_check_value: ::String
|
450
463
|
attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
|
451
|
-
attr_accessor key_material: ::String
|
452
|
-
attr_accessor wrapped_key_material_format: ("KEY_CRYPTOGRAM" | "TR31_KEY_BLOCK" | "TR34_KEY_BLOCK")
|
453
|
-
attr_accessor wrapping_key_arn: ::String
|
454
464
|
SENSITIVE: [:key_material]
|
455
465
|
end
|
456
466
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-paymentcryptography
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/aws-sdk-paymentcryptography/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-paymentcryptography/resource.rb
|
68
68
|
- lib/aws-sdk-paymentcryptography/types.rb
|
69
|
+
- lib/aws-sdk-paymentcryptography/waiters.rb
|
69
70
|
- sig/client.rbs
|
70
71
|
- sig/errors.rbs
|
71
72
|
- sig/resource.rbs
|