aws-sdk-paymentcryptography 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6a0e84f6b6cc4d1218749035c30c2c2b35902f0e761ab3f4ff9462e9aca82f5
4
- data.tar.gz: a8ab6e055e99a67e605a5dc2a2b9d52b8dea6feaac755612e01cf98f2dc54c45
3
+ metadata.gz: bdacd8bcd5a4deac957c2a36fc22ace69d148a233b2bc0f42fdeaf7c57c01ccf
4
+ data.tar.gz: 8b8548a77c90dd374d7427a73b0a51c6ef141ffcf9bc9aeb14926b3bf4080c6b
5
5
  SHA512:
6
- metadata.gz: 63a06d2b60f98c5393d555c8c4fae533990dc932cad3d7edea6bb342535ef31c7c33439e6018bbb3929b52f35f029410408cdba20c2919dba0ac87501b0b7c40
7
- data.tar.gz: c4ddc6baf34492df16d76be8f3df87d68ceb2bde55a5750dec0bc0977459f63c73a0a5bdabb637641334389064ea889d8255bb6d80b147d402a0b6ae58287d4c
6
+ metadata.gz: 251d559852a55a2f28e4015acdd8d0df8eec4fd71cb9a04e307a19956051f59c6e2e8d0b6efd58ccd36932f5ea429972c919a21fec1f68ed220c8ebd7592f63e
7
+ data.tar.gz: 56c8978da27e6fdf64cc54190ed8aabbb954aecd59b34d31f50f2684b861b868eeabd892ef1ee53fb3413677fad3f2ffe7af901fd770ad0fd0c5a8489f3a9695
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.10.0 (2024-01-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.11.0
@@ -2185,7 +2185,7 @@ module Aws::PaymentCryptography
2185
2185
  params: params,
2186
2186
  config: config)
2187
2187
  context[:gem_name] = 'aws-sdk-paymentcryptography'
2188
- context[:gem_version] = '1.10.0'
2188
+ context[:gem_version] = '1.11.0'
2189
2189
  Seahorse::Client::Request.new(handlers, context)
2190
2190
  end
2191
2191
 
@@ -14,6 +14,7 @@ module Aws::PaymentCryptography
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::PaymentCryptography::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-paymentcryptography/customizations'
52
52
  # @!group service
53
53
  module Aws::PaymentCryptography
54
54
 
55
- GEM_VERSION = '1.10.0'
55
+ GEM_VERSION = '1.11.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,433 @@
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
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateAliasResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAliasOutput]
78
+ def alias: () -> Types::Alias
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#create_alias-instance_method
81
+ def create_alias: (
82
+ alias_name: ::String,
83
+ ?key_arn: ::String
84
+ ) -> _CreateAliasResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAliasResponseSuccess
86
+
87
+ interface _CreateKeyResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyOutput]
89
+ def key: () -> Types::Key
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#create_key-instance_method
92
+ def create_key: (
93
+ ?enabled: bool,
94
+ exportable: bool,
95
+ key_attributes: {
96
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
97
+ key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
98
+ key_modes_of_use: {
99
+ decrypt: bool?,
100
+ derive_key: bool?,
101
+ encrypt: bool?,
102
+ generate: bool?,
103
+ no_restrictions: bool?,
104
+ sign: bool?,
105
+ unwrap: bool?,
106
+ verify: bool?,
107
+ wrap: bool?
108
+ },
109
+ 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")
110
+ },
111
+ ?key_check_value_algorithm: ("CMAC" | "ANSI_X9_24"),
112
+ ?tags: Array[
113
+ {
114
+ key: ::String,
115
+ value: ::String?
116
+ },
117
+ ]
118
+ ) -> _CreateKeyResponseSuccess
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyResponseSuccess
120
+
121
+ interface _DeleteAliasResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAliasOutput]
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#delete_alias-instance_method
125
+ def delete_alias: (
126
+ alias_name: ::String
127
+ ) -> _DeleteAliasResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAliasResponseSuccess
129
+
130
+ interface _DeleteKeyResponseSuccess
131
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKeyOutput]
132
+ def key: () -> Types::Key
133
+ end
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#delete_key-instance_method
135
+ def delete_key: (
136
+ ?delete_key_in_days: ::Integer,
137
+ key_identifier: ::String
138
+ ) -> _DeleteKeyResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKeyResponseSuccess
140
+
141
+ interface _ExportKeyResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportKeyOutput]
143
+ def wrapped_key: () -> Types::WrappedKey
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#export_key-instance_method
146
+ def export_key: (
147
+ ?export_attributes: {
148
+ export_dukpt_initial_key: {
149
+ key_serial_number: ::String
150
+ }?,
151
+ key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")?
152
+ },
153
+ export_key_identifier: ::String,
154
+ key_material: {
155
+ key_cryptogram: {
156
+ certificate_authority_public_key_identifier: ::String,
157
+ wrapping_key_certificate: ::String,
158
+ wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
159
+ }?,
160
+ tr_31_key_block: {
161
+ wrapping_key_identifier: ::String
162
+ }?,
163
+ tr_34_key_block: {
164
+ certificate_authority_public_key_identifier: ::String,
165
+ export_token: ::String,
166
+ key_block_format: ("X9_TR34_2012"),
167
+ random_nonce: ::String?,
168
+ wrapping_key_certificate: ::String
169
+ }?
170
+ }
171
+ ) -> _ExportKeyResponseSuccess
172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportKeyResponseSuccess
173
+
174
+ interface _GetAliasResponseSuccess
175
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAliasOutput]
176
+ def alias: () -> Types::Alias
177
+ end
178
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_alias-instance_method
179
+ def get_alias: (
180
+ alias_name: ::String
181
+ ) -> _GetAliasResponseSuccess
182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAliasResponseSuccess
183
+
184
+ interface _GetKeyResponseSuccess
185
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyOutput]
186
+ def key: () -> Types::Key
187
+ end
188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_key-instance_method
189
+ def get_key: (
190
+ key_identifier: ::String
191
+ ) -> _GetKeyResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyResponseSuccess
193
+
194
+ interface _GetParametersForExportResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForExportOutput]
196
+ def export_token: () -> ::String
197
+ def parameters_valid_until_timestamp: () -> ::Time
198
+ def signing_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
199
+ def signing_key_certificate: () -> ::String
200
+ def signing_key_certificate_chain: () -> ::String
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_parameters_for_export-instance_method
203
+ def get_parameters_for_export: (
204
+ key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM"),
205
+ signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
206
+ ) -> _GetParametersForExportResponseSuccess
207
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetParametersForExportResponseSuccess
208
+
209
+ interface _GetParametersForImportResponseSuccess
210
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForImportOutput]
211
+ def import_token: () -> ::String
212
+ def parameters_valid_until_timestamp: () -> ::Time
213
+ def wrapping_key_algorithm: () -> ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
214
+ def wrapping_key_certificate: () -> ::String
215
+ def wrapping_key_certificate_chain: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_parameters_for_import-instance_method
218
+ def get_parameters_for_import: (
219
+ key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM"),
220
+ wrapping_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
221
+ ) -> _GetParametersForImportResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetParametersForImportResponseSuccess
223
+
224
+ interface _GetPublicKeyCertificateResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicKeyCertificateOutput]
226
+ def key_certificate: () -> ::String
227
+ def key_certificate_chain: () -> ::String
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#get_public_key_certificate-instance_method
230
+ def get_public_key_certificate: (
231
+ key_identifier: ::String
232
+ ) -> _GetPublicKeyCertificateResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyCertificateResponseSuccess
234
+
235
+ interface _ImportKeyResponseSuccess
236
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportKeyOutput]
237
+ def key: () -> Types::Key
238
+ end
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#import_key-instance_method
240
+ def import_key: (
241
+ ?enabled: bool,
242
+ ?key_check_value_algorithm: ("CMAC" | "ANSI_X9_24"),
243
+ key_material: {
244
+ key_cryptogram: {
245
+ exportable: bool,
246
+ import_token: ::String,
247
+ key_attributes: {
248
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
249
+ key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
250
+ key_modes_of_use: {
251
+ decrypt: bool?,
252
+ derive_key: bool?,
253
+ encrypt: bool?,
254
+ generate: bool?,
255
+ no_restrictions: bool?,
256
+ sign: bool?,
257
+ unwrap: bool?,
258
+ verify: bool?,
259
+ wrap: bool?
260
+ },
261
+ 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")
262
+ },
263
+ wrapped_key_cryptogram: ::String,
264
+ wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")?
265
+ }?,
266
+ root_certificate_public_key: {
267
+ key_attributes: {
268
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
269
+ key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
270
+ key_modes_of_use: {
271
+ decrypt: bool?,
272
+ derive_key: bool?,
273
+ encrypt: bool?,
274
+ generate: bool?,
275
+ no_restrictions: bool?,
276
+ sign: bool?,
277
+ unwrap: bool?,
278
+ verify: bool?,
279
+ wrap: bool?
280
+ },
281
+ 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")
282
+ },
283
+ public_key_certificate: ::String
284
+ }?,
285
+ tr_31_key_block: {
286
+ wrapped_key_block: ::String,
287
+ wrapping_key_identifier: ::String
288
+ }?,
289
+ tr_34_key_block: {
290
+ certificate_authority_public_key_identifier: ::String,
291
+ import_token: ::String,
292
+ key_block_format: ("X9_TR34_2012"),
293
+ random_nonce: ::String?,
294
+ signing_key_certificate: ::String,
295
+ wrapped_key_block: ::String
296
+ }?,
297
+ trusted_certificate_public_key: {
298
+ certificate_authority_public_key_identifier: ::String,
299
+ key_attributes: {
300
+ key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096"),
301
+ key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY"),
302
+ key_modes_of_use: {
303
+ decrypt: bool?,
304
+ derive_key: bool?,
305
+ encrypt: bool?,
306
+ generate: bool?,
307
+ no_restrictions: bool?,
308
+ sign: bool?,
309
+ unwrap: bool?,
310
+ verify: bool?,
311
+ wrap: bool?
312
+ },
313
+ 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")
314
+ },
315
+ public_key_certificate: ::String
316
+ }?
317
+ },
318
+ ?tags: Array[
319
+ {
320
+ key: ::String,
321
+ value: ::String?
322
+ },
323
+ ]
324
+ ) -> _ImportKeyResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportKeyResponseSuccess
326
+
327
+ interface _ListAliasesResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAliasesOutput]
329
+ def aliases: () -> ::Array[Types::Alias]
330
+ def next_token: () -> ::String
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_aliases-instance_method
333
+ def list_aliases: (
334
+ ?max_results: ::Integer,
335
+ ?next_token: ::String
336
+ ) -> _ListAliasesResponseSuccess
337
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAliasesResponseSuccess
338
+
339
+ interface _ListKeysResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeysOutput]
341
+ def keys: () -> ::Array[Types::KeySummary]
342
+ def next_token: () -> ::String
343
+ end
344
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_keys-instance_method
345
+ def list_keys: (
346
+ ?key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE"),
347
+ ?max_results: ::Integer,
348
+ ?next_token: ::String
349
+ ) -> _ListKeysResponseSuccess
350
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeysResponseSuccess
351
+
352
+ interface _ListTagsForResourceResponseSuccess
353
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
354
+ def next_token: () -> ::String
355
+ def tags: () -> ::Array[Types::Tag]
356
+ end
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#list_tags_for_resource-instance_method
358
+ def list_tags_for_resource: (
359
+ ?max_results: ::Integer,
360
+ ?next_token: ::String,
361
+ resource_arn: ::String
362
+ ) -> _ListTagsForResourceResponseSuccess
363
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
364
+
365
+ interface _RestoreKeyResponseSuccess
366
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreKeyOutput]
367
+ def key: () -> Types::Key
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#restore_key-instance_method
370
+ def restore_key: (
371
+ key_identifier: ::String
372
+ ) -> _RestoreKeyResponseSuccess
373
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreKeyResponseSuccess
374
+
375
+ interface _StartKeyUsageResponseSuccess
376
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartKeyUsageOutput]
377
+ def key: () -> Types::Key
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#start_key_usage-instance_method
380
+ def start_key_usage: (
381
+ key_identifier: ::String
382
+ ) -> _StartKeyUsageResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartKeyUsageResponseSuccess
384
+
385
+ interface _StopKeyUsageResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopKeyUsageOutput]
387
+ def key: () -> Types::Key
388
+ end
389
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#stop_key_usage-instance_method
390
+ def stop_key_usage: (
391
+ key_identifier: ::String
392
+ ) -> _StopKeyUsageResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopKeyUsageResponseSuccess
394
+
395
+ interface _TagResourceResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
397
+ end
398
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#tag_resource-instance_method
399
+ def tag_resource: (
400
+ resource_arn: ::String,
401
+ tags: Array[
402
+ {
403
+ key: ::String,
404
+ value: ::String?
405
+ },
406
+ ]
407
+ ) -> _TagResourceResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
409
+
410
+ interface _UntagResourceResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#untag_resource-instance_method
414
+ def untag_resource: (
415
+ resource_arn: ::String,
416
+ tag_keys: Array[::String]
417
+ ) -> _UntagResourceResponseSuccess
418
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
419
+
420
+ interface _UpdateAliasResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAliasOutput]
422
+ def alias: () -> Types::Alias
423
+ end
424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Client.html#update_alias-instance_method
425
+ def update_alias: (
426
+ alias_name: ::String,
427
+ ?key_arn: ::String
428
+ ) -> _UpdateAliasResponseSuccess
429
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAliasResponseSuccess
430
+ end
431
+ end
432
+ end
433
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,40 @@
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 Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def resource_id: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ThrottlingException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class ValidationException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ end
39
+ end
40
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
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
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PaymentCryptography/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,457 @@
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 enabled: bool
40
+ attr_accessor exportable: bool
41
+ attr_accessor key_attributes: Types::KeyAttributes
42
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
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 delete_key_in_days: ::Integer
62
+ attr_accessor key_identifier: ::String
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 export_attributes: Types::ExportAttributes
91
+ attr_accessor export_key_identifier: ::String
92
+ attr_accessor key_material: Types::ExportKeyMaterial
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class ExportKeyMaterial
97
+ attr_accessor key_cryptogram: Types::ExportKeyCryptogram
98
+ attr_accessor tr_31_key_block: Types::ExportTr31KeyBlock
99
+ attr_accessor tr_34_key_block: Types::ExportTr34KeyBlock
100
+ attr_accessor unknown: untyped
101
+ SENSITIVE: []
102
+
103
+ class KeyCryptogram < ExportKeyMaterial
104
+ end
105
+ class Tr31KeyBlock < ExportKeyMaterial
106
+ end
107
+ class Tr34KeyBlock < 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
+ SENSITIVE: []
121
+ end
122
+
123
+ class ExportTr34KeyBlock
124
+ attr_accessor certificate_authority_public_key_identifier: ::String
125
+ attr_accessor export_token: ::String
126
+ attr_accessor key_block_format: ("X9_TR34_2012")
127
+ attr_accessor random_nonce: ::String
128
+ attr_accessor wrapping_key_certificate: ::String
129
+ SENSITIVE: [:wrapping_key_certificate]
130
+ end
131
+
132
+ class GetAliasInput
133
+ attr_accessor alias_name: ::String
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class GetAliasOutput
138
+ attr_accessor alias: Types::Alias
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class GetKeyInput
143
+ attr_accessor key_identifier: ::String
144
+ SENSITIVE: []
145
+ end
146
+
147
+ class GetKeyOutput
148
+ attr_accessor key: Types::Key
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class GetParametersForExportInput
153
+ attr_accessor key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM")
154
+ attr_accessor signing_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
155
+ SENSITIVE: []
156
+ end
157
+
158
+ 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
+ attr_accessor signing_key_certificate: ::String
163
+ attr_accessor signing_key_certificate_chain: ::String
164
+ SENSITIVE: [:signing_key_certificate, :signing_key_certificate_chain]
165
+ end
166
+
167
+ class GetParametersForImportInput
168
+ attr_accessor key_material_type: ("TR34_KEY_BLOCK" | "TR31_KEY_BLOCK" | "ROOT_PUBLIC_KEY_CERTIFICATE" | "TRUSTED_PUBLIC_KEY_CERTIFICATE" | "KEY_CRYPTOGRAM")
169
+ attr_accessor wrapping_key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
170
+ SENSITIVE: []
171
+ end
172
+
173
+ 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
+ attr_accessor wrapping_key_certificate: ::String
178
+ attr_accessor wrapping_key_certificate_chain: ::String
179
+ SENSITIVE: [:wrapping_key_certificate, :wrapping_key_certificate_chain]
180
+ end
181
+
182
+ class GetPublicKeyCertificateInput
183
+ attr_accessor key_identifier: ::String
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class GetPublicKeyCertificateOutput
188
+ attr_accessor key_certificate: ::String
189
+ attr_accessor key_certificate_chain: ::String
190
+ SENSITIVE: [:key_certificate, :key_certificate_chain]
191
+ end
192
+
193
+ class ImportKeyCryptogram
194
+ attr_accessor exportable: bool
195
+ attr_accessor import_token: ::String
196
+ attr_accessor key_attributes: Types::KeyAttributes
197
+ attr_accessor wrapped_key_cryptogram: ::String
198
+ attr_accessor wrapping_spec: ("RSA_OAEP_SHA_256" | "RSA_OAEP_SHA_512")
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class ImportKeyInput
203
+ attr_accessor enabled: bool
204
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
205
+ attr_accessor key_material: Types::ImportKeyMaterial
206
+ attr_accessor tags: ::Array[Types::Tag]
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class ImportKeyMaterial
211
+ attr_accessor key_cryptogram: Types::ImportKeyCryptogram
212
+ attr_accessor root_certificate_public_key: Types::RootCertificatePublicKey
213
+ attr_accessor tr_31_key_block: Types::ImportTr31KeyBlock
214
+ attr_accessor tr_34_key_block: Types::ImportTr34KeyBlock
215
+ attr_accessor trusted_certificate_public_key: Types::TrustedCertificatePublicKey
216
+ attr_accessor unknown: untyped
217
+ SENSITIVE: []
218
+
219
+ class KeyCryptogram < ImportKeyMaterial
220
+ end
221
+ class RootCertificatePublicKey < ImportKeyMaterial
222
+ end
223
+ class Tr31KeyBlock < ImportKeyMaterial
224
+ end
225
+ class Tr34KeyBlock < ImportKeyMaterial
226
+ end
227
+ class TrustedCertificatePublicKey < ImportKeyMaterial
228
+ end
229
+ class Unknown < ImportKeyMaterial
230
+ end
231
+ end
232
+
233
+ class ImportKeyOutput
234
+ attr_accessor key: Types::Key
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class ImportTr31KeyBlock
239
+ attr_accessor wrapped_key_block: ::String
240
+ attr_accessor wrapping_key_identifier: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class ImportTr34KeyBlock
245
+ attr_accessor certificate_authority_public_key_identifier: ::String
246
+ attr_accessor import_token: ::String
247
+ attr_accessor key_block_format: ("X9_TR34_2012")
248
+ attr_accessor random_nonce: ::String
249
+ attr_accessor signing_key_certificate: ::String
250
+ attr_accessor wrapped_key_block: ::String
251
+ SENSITIVE: [:signing_key_certificate]
252
+ end
253
+
254
+ class InternalServerException
255
+ attr_accessor message: ::String
256
+ SENSITIVE: []
257
+ end
258
+
259
+ 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
+ attr_accessor key_arn: ::String
266
+ attr_accessor key_attributes: Types::KeyAttributes
267
+ attr_accessor key_check_value: ::String
268
+ attr_accessor key_check_value_algorithm: ("CMAC" | "ANSI_X9_24")
269
+ attr_accessor key_origin: ("EXTERNAL" | "AWS_PAYMENT_CRYPTOGRAPHY")
270
+ attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
271
+ attr_accessor usage_start_timestamp: ::Time
272
+ attr_accessor usage_stop_timestamp: ::Time
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class KeyAttributes
277
+ attr_accessor key_algorithm: ("TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "RSA_2048" | "RSA_3072" | "RSA_4096")
278
+ attr_accessor key_class: ("SYMMETRIC_KEY" | "ASYMMETRIC_KEY_PAIR" | "PRIVATE_KEY" | "PUBLIC_KEY")
279
+ attr_accessor key_modes_of_use: Types::KeyModesOfUse
280
+ 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")
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class KeyModesOfUse
285
+ attr_accessor decrypt: bool
286
+ attr_accessor derive_key: bool
287
+ attr_accessor encrypt: bool
288
+ attr_accessor generate: bool
289
+ attr_accessor no_restrictions: bool
290
+ attr_accessor sign: bool
291
+ attr_accessor unwrap: bool
292
+ attr_accessor verify: bool
293
+ attr_accessor wrap: bool
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class KeySummary
298
+ attr_accessor enabled: bool
299
+ attr_accessor exportable: bool
300
+ attr_accessor key_arn: ::String
301
+ attr_accessor key_attributes: Types::KeyAttributes
302
+ attr_accessor key_check_value: ::String
303
+ attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class ListAliasesInput
308
+ attr_accessor max_results: ::Integer
309
+ attr_accessor next_token: ::String
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class ListAliasesOutput
314
+ attr_accessor aliases: ::Array[Types::Alias]
315
+ attr_accessor next_token: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class ListKeysInput
320
+ attr_accessor key_state: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_COMPLETE")
321
+ attr_accessor max_results: ::Integer
322
+ attr_accessor next_token: ::String
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class ListKeysOutput
327
+ attr_accessor keys: ::Array[Types::KeySummary]
328
+ attr_accessor next_token: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class ListTagsForResourceInput
333
+ attr_accessor max_results: ::Integer
334
+ attr_accessor next_token: ::String
335
+ attr_accessor resource_arn: ::String
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class ListTagsForResourceOutput
340
+ attr_accessor next_token: ::String
341
+ attr_accessor tags: ::Array[Types::Tag]
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class ResourceNotFoundException
346
+ attr_accessor resource_id: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class RestoreKeyInput
351
+ attr_accessor key_identifier: ::String
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class RestoreKeyOutput
356
+ attr_accessor key: Types::Key
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class RootCertificatePublicKey
361
+ attr_accessor key_attributes: Types::KeyAttributes
362
+ attr_accessor public_key_certificate: ::String
363
+ SENSITIVE: [:public_key_certificate]
364
+ end
365
+
366
+ class ServiceQuotaExceededException
367
+ attr_accessor message: ::String
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class ServiceUnavailableException
372
+ attr_accessor message: ::String
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class StartKeyUsageInput
377
+ attr_accessor key_identifier: ::String
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class StartKeyUsageOutput
382
+ attr_accessor key: Types::Key
383
+ SENSITIVE: []
384
+ end
385
+
386
+ class StopKeyUsageInput
387
+ attr_accessor key_identifier: ::String
388
+ SENSITIVE: []
389
+ end
390
+
391
+ class StopKeyUsageOutput
392
+ attr_accessor key: Types::Key
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class Tag
397
+ attr_accessor key: ::String
398
+ attr_accessor value: ::String
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class TagResourceInput
403
+ attr_accessor resource_arn: ::String
404
+ attr_accessor tags: ::Array[Types::Tag]
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class TagResourceOutput < Aws::EmptyStructure
409
+ end
410
+
411
+ class ThrottlingException
412
+ attr_accessor message: ::String
413
+ SENSITIVE: []
414
+ end
415
+
416
+ class TrustedCertificatePublicKey
417
+ attr_accessor certificate_authority_public_key_identifier: ::String
418
+ attr_accessor key_attributes: Types::KeyAttributes
419
+ attr_accessor public_key_certificate: ::String
420
+ SENSITIVE: [:public_key_certificate]
421
+ end
422
+
423
+ class UntagResourceInput
424
+ attr_accessor resource_arn: ::String
425
+ attr_accessor tag_keys: ::Array[::String]
426
+ SENSITIVE: []
427
+ end
428
+
429
+ class UntagResourceOutput < Aws::EmptyStructure
430
+ end
431
+
432
+ class UpdateAliasInput
433
+ attr_accessor alias_name: ::String
434
+ attr_accessor key_arn: ::String
435
+ SENSITIVE: []
436
+ end
437
+
438
+ class UpdateAliasOutput
439
+ attr_accessor alias: Types::Alias
440
+ SENSITIVE: []
441
+ end
442
+
443
+ class ValidationException
444
+ attr_accessor message: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class WrappedKey
449
+ attr_accessor key_check_value: ::String
450
+ 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
+ SENSITIVE: [:key_material]
455
+ end
456
+ end
457
+ 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.11.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-01-26 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.191.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.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,11 @@ 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
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0