aws-sdk-paymentcryptography 1.10.0 → 1.12.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,467 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::PaymentCryptography
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class Alias
17
+ attr_accessor alias_name: ::String
18
+ attr_accessor key_arn: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class ConflictException
23
+ attr_accessor message: ::String
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class CreateAliasInput
28
+ attr_accessor alias_name: ::String
29
+ attr_accessor key_arn: ::String
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class CreateAliasOutput
34
+ attr_accessor alias: Types::Alias
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class CreateKeyInput
39
+ attr_accessor key_attributes: Types::KeyAttributes
40
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
41
+ attr_accessor exportable: bool
42
+ attr_accessor enabled: bool
43
+ attr_accessor tags: ::Array[Types::Tag]
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CreateKeyOutput
48
+ attr_accessor key: Types::Key
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class DeleteAliasInput
53
+ attr_accessor alias_name: ::String
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class DeleteAliasOutput < Aws::EmptyStructure
58
+ end
59
+
60
+ class DeleteKeyInput
61
+ attr_accessor key_identifier: ::String
62
+ attr_accessor delete_key_in_days: ::Integer
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class DeleteKeyOutput
67
+ attr_accessor key: Types::Key
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class ExportAttributes
72
+ attr_accessor export_dukpt_initial_key: Types::ExportDukptInitialKey
73
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class ExportDukptInitialKey
78
+ attr_accessor key_serial_number: ::String
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class ExportKeyCryptogram
83
+ attr_accessor certificate_authority_public_key_identifier: ::String
84
+ attr_accessor wrapping_key_certificate: ::String
85
+ attr_accessor wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")
86
+ SENSITIVE: [:wrapping_key_certificate]
87
+ end
88
+
89
+ class ExportKeyInput
90
+ attr_accessor key_material: Types::ExportKeyMaterial
91
+ attr_accessor export_key_identifier: ::String
92
+ attr_accessor export_attributes: Types::ExportAttributes
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class ExportKeyMaterial
97
+ attr_accessor tr_31_key_block: Types::ExportTr31KeyBlock
98
+ attr_accessor tr_34_key_block: Types::ExportTr34KeyBlock
99
+ attr_accessor key_cryptogram: Types::ExportKeyCryptogram
100
+ attr_accessor unknown: untyped
101
+ SENSITIVE: []
102
+
103
+ class Tr31KeyBlock < ExportKeyMaterial
104
+ end
105
+ class Tr34KeyBlock < ExportKeyMaterial
106
+ end
107
+ class KeyCryptogram < ExportKeyMaterial
108
+ end
109
+ class Unknown < ExportKeyMaterial
110
+ end
111
+ end
112
+
113
+ class ExportKeyOutput
114
+ attr_accessor wrapped_key: Types::WrappedKey
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class ExportTr31KeyBlock
119
+ attr_accessor wrapping_key_identifier: ::String
120
+ attr_accessor key_block_headers: Types::KeyBlockHeaders
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class ExportTr34KeyBlock
125
+ attr_accessor certificate_authority_public_key_identifier: ::String
126
+ attr_accessor wrapping_key_certificate: ::String
127
+ attr_accessor export_token: ::String
128
+ attr_accessor key_block_format: ("X9_TR34_2012")
129
+ attr_accessor random_nonce: ::String
130
+ attr_accessor key_block_headers: Types::KeyBlockHeaders
131
+ SENSITIVE: [:wrapping_key_certificate]
132
+ end
133
+
134
+ class GetAliasInput
135
+ attr_accessor alias_name: ::String
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class GetAliasOutput
140
+ attr_accessor alias: Types::Alias
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class GetKeyInput
145
+ attr_accessor key_identifier: ::String
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class GetKeyOutput
150
+ attr_accessor key: Types::Key
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetParametersForExportInput
155
+ attr_accessor key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM")
156
+ attr_accessor signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class GetParametersForExportOutput
161
+ attr_accessor signing_key_certificate: ::String
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
166
+ SENSITIVE: [:signing_key_certificate, :signing_key_certificate_chain]
167
+ end
168
+
169
+ class GetParametersForImportInput
170
+ attr_accessor key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM")
171
+ attr_accessor wrapping_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class GetParametersForImportOutput
176
+ attr_accessor wrapping_key_certificate: ::String
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
181
+ SENSITIVE: [:wrapping_key_certificate, :wrapping_key_certificate_chain]
182
+ end
183
+
184
+ class GetPublicKeyCertificateInput
185
+ attr_accessor key_identifier: ::String
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class GetPublicKeyCertificateOutput
190
+ attr_accessor key_certificate: ::String
191
+ attr_accessor key_certificate_chain: ::String
192
+ SENSITIVE: [:key_certificate, :key_certificate_chain]
193
+ end
194
+
195
+ class ImportKeyCryptogram
196
+ attr_accessor key_attributes: Types::KeyAttributes
197
+ attr_accessor exportable: bool
198
+ attr_accessor wrapped_key_cryptogram: ::String
199
+ attr_accessor import_token: ::String
200
+ attr_accessor wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class ImportKeyInput
205
+ attr_accessor key_material: Types::ImportKeyMaterial
206
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
207
+ attr_accessor enabled: bool
208
+ attr_accessor tags: ::Array[Types::Tag]
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class ImportKeyMaterial
213
+ attr_accessor root_certificate_public_key: Types::RootCertificatePublicKey
214
+ attr_accessor trusted_certificate_public_key: Types::TrustedCertificatePublicKey
215
+ attr_accessor tr_31_key_block: Types::ImportTr31KeyBlock
216
+ attr_accessor tr_34_key_block: Types::ImportTr34KeyBlock
217
+ attr_accessor key_cryptogram: Types::ImportKeyCryptogram
218
+ attr_accessor unknown: untyped
219
+ SENSITIVE: []
220
+
221
+ class RootCertificatePublicKey < ImportKeyMaterial
222
+ end
223
+ class TrustedCertificatePublicKey < ImportKeyMaterial
224
+ end
225
+ class Tr31KeyBlock < ImportKeyMaterial
226
+ end
227
+ class Tr34KeyBlock < ImportKeyMaterial
228
+ end
229
+ class KeyCryptogram < ImportKeyMaterial
230
+ end
231
+ class Unknown < ImportKeyMaterial
232
+ end
233
+ end
234
+
235
+ class ImportKeyOutput
236
+ attr_accessor key: Types::Key
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class ImportTr31KeyBlock
241
+ attr_accessor wrapping_key_identifier: ::String
242
+ attr_accessor wrapped_key_block: ::String
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class ImportTr34KeyBlock
247
+ attr_accessor certificate_authority_public_key_identifier: ::String
248
+ attr_accessor signing_key_certificate: ::String
249
+ attr_accessor import_token: ::String
250
+ attr_accessor wrapped_key_block: ::String
251
+ attr_accessor key_block_format: ("X9_TR34_2012")
252
+ attr_accessor random_nonce: ::String
253
+ SENSITIVE: [:signing_key_certificate]
254
+ end
255
+
256
+ class InternalServerException
257
+ attr_accessor message: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class Key
262
+ attr_accessor key_arn: ::String
263
+ attr_accessor key_attributes: Types::KeyAttributes
264
+ attr_accessor key_check_value: ::String
265
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
266
+ attr_accessor enabled: bool
267
+ attr_accessor exportable: bool
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
+ attr_accessor usage_start_timestamp: ::Time
272
+ attr_accessor usage_stop_timestamp: ::Time
273
+ attr_accessor delete_pending_timestamp: ::Time
274
+ attr_accessor delete_timestamp: ::Time
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class KeyAttributes
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")
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")
282
+ attr_accessor key_modes_of_use: Types::KeyModesOfUse
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]
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class KeyModesOfUse
295
+ attr_accessor encrypt: bool
296
+ attr_accessor decrypt: bool
297
+ attr_accessor wrap: bool
298
+ attr_accessor unwrap: bool
299
+ attr_accessor generate: bool
300
+ attr_accessor sign: bool
301
+ attr_accessor verify: bool
302
+ attr_accessor derive_key: bool
303
+ attr_accessor no_restrictions: bool
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class KeySummary
308
+ attr_accessor key_arn: ::String
309
+ attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
310
+ attr_accessor key_attributes: Types::KeyAttributes
311
+ attr_accessor key_check_value: ::String
312
+ attr_accessor exportable: bool
313
+ attr_accessor enabled: bool
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class ListAliasesInput
318
+ attr_accessor next_token: ::String
319
+ attr_accessor max_results: ::Integer
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ListAliasesOutput
324
+ attr_accessor aliases: ::Array[Types::Alias]
325
+ attr_accessor next_token: ::String
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class ListKeysInput
330
+ attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
331
+ attr_accessor next_token: ::String
332
+ attr_accessor max_results: ::Integer
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class ListKeysOutput
337
+ attr_accessor keys: ::Array[Types::KeySummary]
338
+ attr_accessor next_token: ::String
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class ListTagsForResourceInput
343
+ attr_accessor resource_arn: ::String
344
+ attr_accessor next_token: ::String
345
+ attr_accessor max_results: ::Integer
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class ListTagsForResourceOutput
350
+ attr_accessor tags: ::Array[Types::Tag]
351
+ attr_accessor next_token: ::String
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class ResourceNotFoundException
356
+ attr_accessor resource_id: ::String
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class RestoreKeyInput
361
+ attr_accessor key_identifier: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class RestoreKeyOutput
366
+ attr_accessor key: Types::Key
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class RootCertificatePublicKey
371
+ attr_accessor key_attributes: Types::KeyAttributes
372
+ attr_accessor public_key_certificate: ::String
373
+ SENSITIVE: [:public_key_certificate]
374
+ end
375
+
376
+ class ServiceQuotaExceededException
377
+ attr_accessor message: ::String
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class ServiceUnavailableException
382
+ attr_accessor message: ::String
383
+ SENSITIVE: []
384
+ end
385
+
386
+ class StartKeyUsageInput
387
+ attr_accessor key_identifier: ::String
388
+ SENSITIVE: []
389
+ end
390
+
391
+ class StartKeyUsageOutput
392
+ attr_accessor key: Types::Key
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class StopKeyUsageInput
397
+ attr_accessor key_identifier: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class StopKeyUsageOutput
402
+ attr_accessor key: Types::Key
403
+ SENSITIVE: []
404
+ end
405
+
406
+ class Tag
407
+ attr_accessor key: ::String
408
+ attr_accessor value: ::String
409
+ SENSITIVE: []
410
+ end
411
+
412
+ class TagResourceInput
413
+ attr_accessor resource_arn: ::String
414
+ attr_accessor tags: ::Array[Types::Tag]
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class TagResourceOutput < Aws::EmptyStructure
419
+ end
420
+
421
+ class ThrottlingException
422
+ attr_accessor message: ::String
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class TrustedCertificatePublicKey
427
+ attr_accessor key_attributes: Types::KeyAttributes
428
+ attr_accessor public_key_certificate: ::String
429
+ attr_accessor certificate_authority_public_key_identifier: ::String
430
+ SENSITIVE: [:public_key_certificate]
431
+ end
432
+
433
+ class UntagResourceInput
434
+ attr_accessor resource_arn: ::String
435
+ attr_accessor tag_keys: ::Array[::String]
436
+ SENSITIVE: []
437
+ end
438
+
439
+ class UntagResourceOutput < Aws::EmptyStructure
440
+ end
441
+
442
+ class UpdateAliasInput
443
+ attr_accessor alias_name: ::String
444
+ attr_accessor key_arn: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class UpdateAliasOutput
449
+ attr_accessor alias: Types::Alias
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class ValidationException
454
+ attr_accessor message: ::String
455
+ SENSITIVE: []
456
+ end
457
+
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
462
+ attr_accessor key_check_value: ::String
463
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
464
+ SENSITIVE: [:key_material]
465
+ end
466
+ end
467
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PaymentCryptography
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.10.0
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-01-16 00:00:00.000000000 Z
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.188.0
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.188.0
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,12 @@ 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
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
69
75
  homepage: https://github.com/aws/aws-sdk-ruby
70
76
  licenses:
71
77
  - Apache-2.0