aws-sdk-kms 1.76.0 → 1.122.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/client.rbs ADDED
@@ -0,0 +1,830 @@
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 KMS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _CancelKeyDeletionResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelKeyDeletionResponse]
84
+ def key_id: () -> ::String
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#cancel_key_deletion-instance_method
87
+ def cancel_key_deletion: (
88
+ key_id: ::String
89
+ ) -> _CancelKeyDeletionResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelKeyDeletionResponseSuccess
91
+
92
+ interface _ConnectCustomKeyStoreResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::ConnectCustomKeyStoreResponse]
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#connect_custom_key_store-instance_method
96
+ def connect_custom_key_store: (
97
+ custom_key_store_id: ::String
98
+ ) -> _ConnectCustomKeyStoreResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ConnectCustomKeyStoreResponseSuccess
100
+
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#create_alias-instance_method
102
+ def create_alias: (
103
+ alias_name: ::String,
104
+ target_key_id: ::String
105
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
107
+
108
+ interface _CreateCustomKeyStoreResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomKeyStoreResponse]
110
+ def custom_key_store_id: () -> ::String
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#create_custom_key_store-instance_method
113
+ def create_custom_key_store: (
114
+ custom_key_store_name: ::String,
115
+ ?cloud_hsm_cluster_id: ::String,
116
+ ?trust_anchor_certificate: ::String,
117
+ ?key_store_password: ::String,
118
+ ?custom_key_store_type: ("AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE"),
119
+ ?xks_proxy_uri_endpoint: ::String,
120
+ ?xks_proxy_uri_path: ::String,
121
+ ?xks_proxy_vpc_endpoint_service_name: ::String,
122
+ ?xks_proxy_vpc_endpoint_service_owner: ::String,
123
+ ?xks_proxy_authentication_credential: {
124
+ access_key_id: ::String,
125
+ raw_secret_access_key: ::String
126
+ },
127
+ ?xks_proxy_connectivity: ("PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE")
128
+ ) -> _CreateCustomKeyStoreResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomKeyStoreResponseSuccess
130
+
131
+ interface _CreateGrantResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGrantResponse]
133
+ def grant_token: () -> ::String
134
+ def grant_id: () -> ::String
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#create_grant-instance_method
137
+ def create_grant: (
138
+ key_id: ::String,
139
+ grantee_principal: ::String,
140
+ ?retiring_principal: ::String,
141
+ operations: Array[("Decrypt" | "Encrypt" | "GenerateDataKey" | "GenerateDataKeyWithoutPlaintext" | "ReEncryptFrom" | "ReEncryptTo" | "Sign" | "Verify" | "GetPublicKey" | "CreateGrant" | "RetireGrant" | "DescribeKey" | "GenerateDataKeyPair" | "GenerateDataKeyPairWithoutPlaintext" | "GenerateMac" | "VerifyMac" | "DeriveSharedSecret")],
142
+ ?constraints: {
143
+ encryption_context_subset: Hash[::String, ::String]?,
144
+ encryption_context_equals: Hash[::String, ::String]?
145
+ },
146
+ ?grant_tokens: Array[::String],
147
+ ?name: ::String,
148
+ ?dry_run: bool
149
+ ) -> _CreateGrantResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGrantResponseSuccess
151
+
152
+ interface _CreateKeyResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateKeyResponse]
154
+ def key_metadata: () -> Types::KeyMetadata
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#create_key-instance_method
157
+ def create_key: (
158
+ ?policy: ::String,
159
+ ?description: ::String,
160
+ ?key_usage: ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT"),
161
+ ?customer_master_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2"),
162
+ ?key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87" | "ECC_NIST_EDWARDS25519"),
163
+ ?origin: ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE"),
164
+ ?custom_key_store_id: ::String,
165
+ ?bypass_policy_lockout_safety_check: bool,
166
+ ?tags: Array[
167
+ {
168
+ tag_key: ::String,
169
+ tag_value: ::String
170
+ },
171
+ ],
172
+ ?multi_region: bool,
173
+ ?xks_key_id: ::String
174
+ ) -> _CreateKeyResponseSuccess
175
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyResponseSuccess
176
+
177
+ interface _DecryptResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::DecryptResponse]
179
+ def key_id: () -> ::String
180
+ def plaintext: () -> ::String
181
+ def encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
182
+ def ciphertext_for_recipient: () -> ::String
183
+ def key_material_id: () -> ::String
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#decrypt-instance_method
186
+ def decrypt: (
187
+ ?ciphertext_blob: ::String,
188
+ ?encryption_context: Hash[::String, ::String],
189
+ ?grant_tokens: Array[::String],
190
+ ?key_id: ::String,
191
+ ?encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE"),
192
+ ?recipient: {
193
+ key_encryption_algorithm: ("RSAES_OAEP_SHA_256")?,
194
+ attestation_document: ::String?
195
+ },
196
+ ?dry_run: bool,
197
+ ?dry_run_modifiers: Array[("IGNORE_CIPHERTEXT")]
198
+ ) -> _DecryptResponseSuccess
199
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DecryptResponseSuccess
200
+
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#delete_alias-instance_method
202
+ def delete_alias: (
203
+ alias_name: ::String
204
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
206
+
207
+ interface _DeleteCustomKeyStoreResponseSuccess
208
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomKeyStoreResponse]
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#delete_custom_key_store-instance_method
211
+ def delete_custom_key_store: (
212
+ custom_key_store_id: ::String
213
+ ) -> _DeleteCustomKeyStoreResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomKeyStoreResponseSuccess
215
+
216
+ interface _DeleteImportedKeyMaterialResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteImportedKeyMaterialResponse]
218
+ def key_id: () -> ::String
219
+ def key_material_id: () -> ::String
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#delete_imported_key_material-instance_method
222
+ def delete_imported_key_material: (
223
+ key_id: ::String,
224
+ ?key_material_id: ::String
225
+ ) -> _DeleteImportedKeyMaterialResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteImportedKeyMaterialResponseSuccess
227
+
228
+ interface _DeriveSharedSecretResponseSuccess
229
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeriveSharedSecretResponse]
230
+ def key_id: () -> ::String
231
+ def shared_secret: () -> ::String
232
+ def ciphertext_for_recipient: () -> ::String
233
+ def key_agreement_algorithm: () -> ("ECDH")
234
+ def key_origin: () -> ("AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE")
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#derive_shared_secret-instance_method
237
+ def derive_shared_secret: (
238
+ key_id: ::String,
239
+ key_agreement_algorithm: ("ECDH"),
240
+ public_key: ::String,
241
+ ?grant_tokens: Array[::String],
242
+ ?dry_run: bool,
243
+ ?recipient: {
244
+ key_encryption_algorithm: ("RSAES_OAEP_SHA_256")?,
245
+ attestation_document: ::String?
246
+ }
247
+ ) -> _DeriveSharedSecretResponseSuccess
248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeriveSharedSecretResponseSuccess
249
+
250
+ interface _DescribeCustomKeyStoresResponseSuccess
251
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCustomKeyStoresResponse]
252
+ def custom_key_stores: () -> ::Array[Types::CustomKeyStoresListEntry]
253
+ def next_marker: () -> ::String
254
+ def truncated: () -> bool
255
+ end
256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#describe_custom_key_stores-instance_method
257
+ def describe_custom_key_stores: (
258
+ ?custom_key_store_id: ::String,
259
+ ?custom_key_store_name: ::String,
260
+ ?limit: ::Integer,
261
+ ?marker: ::String
262
+ ) -> _DescribeCustomKeyStoresResponseSuccess
263
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCustomKeyStoresResponseSuccess
264
+
265
+ interface _DescribeKeyResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeKeyResponse]
267
+ def key_metadata: () -> Types::KeyMetadata
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#describe_key-instance_method
270
+ def describe_key: (
271
+ key_id: ::String,
272
+ ?grant_tokens: Array[::String]
273
+ ) -> _DescribeKeyResponseSuccess
274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeKeyResponseSuccess
275
+
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#disable_key-instance_method
277
+ def disable_key: (
278
+ key_id: ::String
279
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
281
+
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#disable_key_rotation-instance_method
283
+ def disable_key_rotation: (
284
+ key_id: ::String
285
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
287
+
288
+ interface _DisconnectCustomKeyStoreResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisconnectCustomKeyStoreResponse]
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#disconnect_custom_key_store-instance_method
292
+ def disconnect_custom_key_store: (
293
+ custom_key_store_id: ::String
294
+ ) -> _DisconnectCustomKeyStoreResponseSuccess
295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisconnectCustomKeyStoreResponseSuccess
296
+
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#enable_key-instance_method
298
+ def enable_key: (
299
+ key_id: ::String
300
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
302
+
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#enable_key_rotation-instance_method
304
+ def enable_key_rotation: (
305
+ key_id: ::String,
306
+ ?rotation_period_in_days: ::Integer
307
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
308
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
309
+
310
+ interface _EncryptResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::EncryptResponse]
312
+ def ciphertext_blob: () -> ::String
313
+ def key_id: () -> ::String
314
+ def encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#encrypt-instance_method
317
+ def encrypt: (
318
+ key_id: ::String,
319
+ plaintext: ::String,
320
+ ?encryption_context: Hash[::String, ::String],
321
+ ?grant_tokens: Array[::String],
322
+ ?encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE"),
323
+ ?dry_run: bool
324
+ ) -> _EncryptResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EncryptResponseSuccess
326
+
327
+ interface _GenerateDataKeyResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateDataKeyResponse]
329
+ def ciphertext_blob: () -> ::String
330
+ def plaintext: () -> ::String
331
+ def key_id: () -> ::String
332
+ def ciphertext_for_recipient: () -> ::String
333
+ def key_material_id: () -> ::String
334
+ end
335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key-instance_method
336
+ def generate_data_key: (
337
+ key_id: ::String,
338
+ ?encryption_context: Hash[::String, ::String],
339
+ ?number_of_bytes: ::Integer,
340
+ ?key_spec: ("AES_256" | "AES_128"),
341
+ ?grant_tokens: Array[::String],
342
+ ?recipient: {
343
+ key_encryption_algorithm: ("RSAES_OAEP_SHA_256")?,
344
+ attestation_document: ::String?
345
+ },
346
+ ?dry_run: bool
347
+ ) -> _GenerateDataKeyResponseSuccess
348
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateDataKeyResponseSuccess
349
+
350
+ interface _GenerateDataKeyPairResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateDataKeyPairResponse]
352
+ def private_key_ciphertext_blob: () -> ::String
353
+ def private_key_plaintext: () -> ::String
354
+ def public_key: () -> ::String
355
+ def key_id: () -> ::String
356
+ def key_pair_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2" | "ECC_NIST_EDWARDS25519")
357
+ def ciphertext_for_recipient: () -> ::String
358
+ def key_material_id: () -> ::String
359
+ end
360
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_pair-instance_method
361
+ def generate_data_key_pair: (
362
+ ?encryption_context: Hash[::String, ::String],
363
+ key_id: ::String,
364
+ key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2" | "ECC_NIST_EDWARDS25519"),
365
+ ?grant_tokens: Array[::String],
366
+ ?recipient: {
367
+ key_encryption_algorithm: ("RSAES_OAEP_SHA_256")?,
368
+ attestation_document: ::String?
369
+ },
370
+ ?dry_run: bool
371
+ ) -> _GenerateDataKeyPairResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateDataKeyPairResponseSuccess
373
+
374
+ interface _GenerateDataKeyPairWithoutPlaintextResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateDataKeyPairWithoutPlaintextResponse]
376
+ def private_key_ciphertext_blob: () -> ::String
377
+ def public_key: () -> ::String
378
+ def key_id: () -> ::String
379
+ def key_pair_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2" | "ECC_NIST_EDWARDS25519")
380
+ def key_material_id: () -> ::String
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_pair_without_plaintext-instance_method
383
+ def generate_data_key_pair_without_plaintext: (
384
+ ?encryption_context: Hash[::String, ::String],
385
+ key_id: ::String,
386
+ key_pair_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2" | "ECC_NIST_EDWARDS25519"),
387
+ ?grant_tokens: Array[::String],
388
+ ?dry_run: bool
389
+ ) -> _GenerateDataKeyPairWithoutPlaintextResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateDataKeyPairWithoutPlaintextResponseSuccess
391
+
392
+ interface _GenerateDataKeyWithoutPlaintextResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateDataKeyWithoutPlaintextResponse]
394
+ def ciphertext_blob: () -> ::String
395
+ def key_id: () -> ::String
396
+ def key_material_id: () -> ::String
397
+ end
398
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_data_key_without_plaintext-instance_method
399
+ def generate_data_key_without_plaintext: (
400
+ key_id: ::String,
401
+ ?encryption_context: Hash[::String, ::String],
402
+ ?key_spec: ("AES_256" | "AES_128"),
403
+ ?number_of_bytes: ::Integer,
404
+ ?grant_tokens: Array[::String],
405
+ ?dry_run: bool
406
+ ) -> _GenerateDataKeyWithoutPlaintextResponseSuccess
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateDataKeyWithoutPlaintextResponseSuccess
408
+
409
+ interface _GenerateMacResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateMacResponse]
411
+ def mac: () -> ::String
412
+ def mac_algorithm: () -> ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
413
+ def key_id: () -> ::String
414
+ end
415
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_mac-instance_method
416
+ def generate_mac: (
417
+ message: ::String,
418
+ key_id: ::String,
419
+ mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512"),
420
+ ?grant_tokens: Array[::String],
421
+ ?dry_run: bool
422
+ ) -> _GenerateMacResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateMacResponseSuccess
424
+
425
+ interface _GenerateRandomResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateRandomResponse]
427
+ def plaintext: () -> ::String
428
+ def ciphertext_for_recipient: () -> ::String
429
+ end
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#generate_random-instance_method
431
+ def generate_random: (
432
+ ?number_of_bytes: ::Integer,
433
+ ?custom_key_store_id: ::String,
434
+ ?recipient: {
435
+ key_encryption_algorithm: ("RSAES_OAEP_SHA_256")?,
436
+ attestation_document: ::String?
437
+ }
438
+ ) -> _GenerateRandomResponseSuccess
439
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateRandomResponseSuccess
440
+
441
+ interface _GetKeyPolicyResponseSuccess
442
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyPolicyResponse]
443
+ def policy: () -> ::String
444
+ def policy_name: () -> ::String
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#get_key_policy-instance_method
447
+ def get_key_policy: (
448
+ key_id: ::String,
449
+ ?policy_name: ::String
450
+ ) -> _GetKeyPolicyResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyPolicyResponseSuccess
452
+
453
+ interface _GetKeyRotationStatusResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKeyRotationStatusResponse]
455
+ def key_rotation_enabled: () -> bool
456
+ def key_id: () -> ::String
457
+ def rotation_period_in_days: () -> ::Integer
458
+ def next_rotation_date: () -> ::Time
459
+ def on_demand_rotation_start_date: () -> ::Time
460
+ end
461
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#get_key_rotation_status-instance_method
462
+ def get_key_rotation_status: (
463
+ key_id: ::String
464
+ ) -> _GetKeyRotationStatusResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKeyRotationStatusResponseSuccess
466
+
467
+ interface _GetParametersForImportResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetParametersForImportResponse]
469
+ def key_id: () -> ::String
470
+ def import_token: () -> ::String
471
+ def public_key: () -> ::String
472
+ def parameters_valid_to: () -> ::Time
473
+ end
474
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#get_parameters_for_import-instance_method
475
+ def get_parameters_for_import: (
476
+ key_id: ::String,
477
+ wrapping_algorithm: ("RSAES_PKCS1_V1_5" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "RSA_AES_KEY_WRAP_SHA_1" | "RSA_AES_KEY_WRAP_SHA_256" | "SM2PKE"),
478
+ wrapping_key_spec: ("RSA_2048" | "RSA_3072" | "RSA_4096" | "SM2")
479
+ ) -> _GetParametersForImportResponseSuccess
480
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetParametersForImportResponseSuccess
481
+
482
+ interface _GetPublicKeyResponseSuccess
483
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicKeyResponse]
484
+ def key_id: () -> ::String
485
+ def public_key: () -> ::String
486
+ def customer_master_key_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2")
487
+ def key_spec: () -> ("RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87" | "ECC_NIST_EDWARDS25519")
488
+ def key_usage: () -> ("SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT")
489
+ def encryption_algorithms: () -> ::Array[("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")]
490
+ def signing_algorithms: () -> ::Array[("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256" | "ED25519_SHA_512" | "ED25519_PH_SHA_512")]
491
+ def key_agreement_algorithms: () -> ::Array[("ECDH")]
492
+ end
493
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#get_public_key-instance_method
494
+ def get_public_key: (
495
+ key_id: ::String,
496
+ ?grant_tokens: Array[::String]
497
+ ) -> _GetPublicKeyResponseSuccess
498
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicKeyResponseSuccess
499
+
500
+ interface _ImportKeyMaterialResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::ImportKeyMaterialResponse]
502
+ def key_id: () -> ::String
503
+ def key_material_id: () -> ::String
504
+ end
505
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#import_key_material-instance_method
506
+ def import_key_material: (
507
+ key_id: ::String,
508
+ import_token: ::String,
509
+ encrypted_key_material: ::String,
510
+ ?valid_to: ::Time,
511
+ ?expiration_model: ("KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE"),
512
+ ?import_type: ("NEW_KEY_MATERIAL" | "EXISTING_KEY_MATERIAL"),
513
+ ?key_material_description: ::String,
514
+ ?key_material_id: ::String
515
+ ) -> _ImportKeyMaterialResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportKeyMaterialResponseSuccess
517
+
518
+ interface _ListAliasesResponseSuccess
519
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAliasesResponse]
520
+ def aliases: () -> ::Array[Types::AliasListEntry]
521
+ def next_marker: () -> ::String
522
+ def truncated: () -> bool
523
+ end
524
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_aliases-instance_method
525
+ def list_aliases: (
526
+ ?key_id: ::String,
527
+ ?limit: ::Integer,
528
+ ?marker: ::String
529
+ ) -> _ListAliasesResponseSuccess
530
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAliasesResponseSuccess
531
+
532
+ interface _ListGrantsResponseSuccess
533
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGrantsResponse]
534
+ def grants: () -> ::Array[Types::GrantListEntry]
535
+ def next_marker: () -> ::String
536
+ def truncated: () -> bool
537
+ end
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_grants-instance_method
539
+ def list_grants: (
540
+ ?limit: ::Integer,
541
+ ?marker: ::String,
542
+ key_id: ::String,
543
+ ?grant_id: ::String,
544
+ ?grantee_principal: ::String
545
+ ) -> _ListGrantsResponseSuccess
546
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGrantsResponseSuccess
547
+
548
+ interface _ListKeyPoliciesResponseSuccess
549
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyPoliciesResponse]
550
+ def policy_names: () -> ::Array[::String]
551
+ def next_marker: () -> ::String
552
+ def truncated: () -> bool
553
+ end
554
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_key_policies-instance_method
555
+ def list_key_policies: (
556
+ key_id: ::String,
557
+ ?limit: ::Integer,
558
+ ?marker: ::String
559
+ ) -> _ListKeyPoliciesResponseSuccess
560
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyPoliciesResponseSuccess
561
+
562
+ interface _ListKeyRotationsResponseSuccess
563
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeyRotationsResponse]
564
+ def rotations: () -> ::Array[Types::RotationsListEntry]
565
+ def next_marker: () -> ::String
566
+ def truncated: () -> bool
567
+ end
568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_key_rotations-instance_method
569
+ def list_key_rotations: (
570
+ key_id: ::String,
571
+ ?include_key_material: ("ALL_KEY_MATERIAL" | "ROTATIONS_ONLY"),
572
+ ?limit: ::Integer,
573
+ ?marker: ::String
574
+ ) -> _ListKeyRotationsResponseSuccess
575
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeyRotationsResponseSuccess
576
+
577
+ interface _ListKeysResponseSuccess
578
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListKeysResponse]
579
+ def keys: () -> ::Array[Types::KeyListEntry]
580
+ def next_marker: () -> ::String
581
+ def truncated: () -> bool
582
+ end
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_keys-instance_method
584
+ def list_keys: (
585
+ ?limit: ::Integer,
586
+ ?marker: ::String
587
+ ) -> _ListKeysResponseSuccess
588
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKeysResponseSuccess
589
+
590
+ interface _ListResourceTagsResponseSuccess
591
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTagsResponse]
592
+ def tags: () -> ::Array[Types::Tag]
593
+ def next_marker: () -> ::String
594
+ def truncated: () -> bool
595
+ end
596
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_resource_tags-instance_method
597
+ def list_resource_tags: (
598
+ key_id: ::String,
599
+ ?limit: ::Integer,
600
+ ?marker: ::String
601
+ ) -> _ListResourceTagsResponseSuccess
602
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTagsResponseSuccess
603
+
604
+ interface _ListRetirableGrantsResponseSuccess
605
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGrantsResponse]
606
+ def grants: () -> ::Array[Types::GrantListEntry]
607
+ def next_marker: () -> ::String
608
+ def truncated: () -> bool
609
+ end
610
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#list_retirable_grants-instance_method
611
+ def list_retirable_grants: (
612
+ ?limit: ::Integer,
613
+ ?marker: ::String,
614
+ retiring_principal: ::String
615
+ ) -> _ListRetirableGrantsResponseSuccess
616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRetirableGrantsResponseSuccess
617
+
618
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#put_key_policy-instance_method
619
+ def put_key_policy: (
620
+ key_id: ::String,
621
+ ?policy_name: ::String,
622
+ policy: ::String,
623
+ ?bypass_policy_lockout_safety_check: bool
624
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
625
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
626
+
627
+ interface _ReEncryptResponseSuccess
628
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReEncryptResponse]
629
+ def ciphertext_blob: () -> ::String
630
+ def source_key_id: () -> ::String
631
+ def key_id: () -> ::String
632
+ def source_encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
633
+ def destination_encryption_algorithm: () -> ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE")
634
+ def source_key_material_id: () -> ::String
635
+ def destination_key_material_id: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#re_encrypt-instance_method
638
+ def re_encrypt: (
639
+ ?ciphertext_blob: ::String,
640
+ ?source_encryption_context: Hash[::String, ::String],
641
+ ?source_key_id: ::String,
642
+ destination_key_id: ::String,
643
+ ?destination_encryption_context: Hash[::String, ::String],
644
+ ?source_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE"),
645
+ ?destination_encryption_algorithm: ("SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE"),
646
+ ?grant_tokens: Array[::String],
647
+ ?dry_run: bool,
648
+ ?dry_run_modifiers: Array[("IGNORE_CIPHERTEXT")]
649
+ ) -> _ReEncryptResponseSuccess
650
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReEncryptResponseSuccess
651
+
652
+ interface _ReplicateKeyResponseSuccess
653
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReplicateKeyResponse]
654
+ def replica_key_metadata: () -> Types::KeyMetadata
655
+ def replica_policy: () -> ::String
656
+ def replica_tags: () -> ::Array[Types::Tag]
657
+ end
658
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#replicate_key-instance_method
659
+ def replicate_key: (
660
+ key_id: ::String,
661
+ replica_region: ::String,
662
+ ?policy: ::String,
663
+ ?bypass_policy_lockout_safety_check: bool,
664
+ ?description: ::String,
665
+ ?tags: Array[
666
+ {
667
+ tag_key: ::String,
668
+ tag_value: ::String
669
+ },
670
+ ]
671
+ ) -> _ReplicateKeyResponseSuccess
672
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReplicateKeyResponseSuccess
673
+
674
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#retire_grant-instance_method
675
+ def retire_grant: (
676
+ ?grant_token: ::String,
677
+ ?key_id: ::String,
678
+ ?grant_id: ::String,
679
+ ?dry_run: bool
680
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
681
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
682
+
683
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#revoke_grant-instance_method
684
+ def revoke_grant: (
685
+ key_id: ::String,
686
+ grant_id: ::String,
687
+ ?dry_run: bool
688
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
689
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
690
+
691
+ interface _RotateKeyOnDemandResponseSuccess
692
+ include ::Seahorse::Client::_ResponseSuccess[Types::RotateKeyOnDemandResponse]
693
+ def key_id: () -> ::String
694
+ end
695
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#rotate_key_on_demand-instance_method
696
+ def rotate_key_on_demand: (
697
+ key_id: ::String
698
+ ) -> _RotateKeyOnDemandResponseSuccess
699
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotateKeyOnDemandResponseSuccess
700
+
701
+ interface _ScheduleKeyDeletionResponseSuccess
702
+ include ::Seahorse::Client::_ResponseSuccess[Types::ScheduleKeyDeletionResponse]
703
+ def key_id: () -> ::String
704
+ def deletion_date: () -> ::Time
705
+ def key_state: () -> ("Creating" | "Enabled" | "Disabled" | "PendingDeletion" | "PendingImport" | "PendingReplicaDeletion" | "Unavailable" | "Updating")
706
+ def pending_window_in_days: () -> ::Integer
707
+ end
708
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#schedule_key_deletion-instance_method
709
+ def schedule_key_deletion: (
710
+ key_id: ::String,
711
+ ?pending_window_in_days: ::Integer
712
+ ) -> _ScheduleKeyDeletionResponseSuccess
713
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ScheduleKeyDeletionResponseSuccess
714
+
715
+ interface _SignResponseSuccess
716
+ include ::Seahorse::Client::_ResponseSuccess[Types::SignResponse]
717
+ def key_id: () -> ::String
718
+ def signature: () -> ::String
719
+ def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256" | "ED25519_SHA_512" | "ED25519_PH_SHA_512")
720
+ end
721
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#sign-instance_method
722
+ def sign: (
723
+ key_id: ::String,
724
+ message: ::String,
725
+ ?message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU"),
726
+ ?grant_tokens: Array[::String],
727
+ signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256" | "ED25519_SHA_512" | "ED25519_PH_SHA_512"),
728
+ ?dry_run: bool
729
+ ) -> _SignResponseSuccess
730
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SignResponseSuccess
731
+
732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#tag_resource-instance_method
733
+ def tag_resource: (
734
+ key_id: ::String,
735
+ tags: Array[
736
+ {
737
+ tag_key: ::String,
738
+ tag_value: ::String
739
+ },
740
+ ]
741
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
742
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
743
+
744
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#untag_resource-instance_method
745
+ def untag_resource: (
746
+ key_id: ::String,
747
+ tag_keys: Array[::String]
748
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
749
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
750
+
751
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#update_alias-instance_method
752
+ def update_alias: (
753
+ alias_name: ::String,
754
+ target_key_id: ::String
755
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
756
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
757
+
758
+ interface _UpdateCustomKeyStoreResponseSuccess
759
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomKeyStoreResponse]
760
+ end
761
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#update_custom_key_store-instance_method
762
+ def update_custom_key_store: (
763
+ custom_key_store_id: ::String,
764
+ ?new_custom_key_store_name: ::String,
765
+ ?key_store_password: ::String,
766
+ ?cloud_hsm_cluster_id: ::String,
767
+ ?xks_proxy_uri_endpoint: ::String,
768
+ ?xks_proxy_uri_path: ::String,
769
+ ?xks_proxy_vpc_endpoint_service_name: ::String,
770
+ ?xks_proxy_vpc_endpoint_service_owner: ::String,
771
+ ?xks_proxy_authentication_credential: {
772
+ access_key_id: ::String,
773
+ raw_secret_access_key: ::String
774
+ },
775
+ ?xks_proxy_connectivity: ("PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE")
776
+ ) -> _UpdateCustomKeyStoreResponseSuccess
777
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomKeyStoreResponseSuccess
778
+
779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#update_key_description-instance_method
780
+ def update_key_description: (
781
+ key_id: ::String,
782
+ description: ::String
783
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
784
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
785
+
786
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#update_primary_region-instance_method
787
+ def update_primary_region: (
788
+ key_id: ::String,
789
+ primary_region: ::String
790
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
791
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
792
+
793
+ interface _VerifyResponseSuccess
794
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyResponse]
795
+ def key_id: () -> ::String
796
+ def signature_valid: () -> bool
797
+ def signing_algorithm: () -> ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256" | "ED25519_SHA_512" | "ED25519_PH_SHA_512")
798
+ end
799
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#verify-instance_method
800
+ def verify: (
801
+ key_id: ::String,
802
+ message: ::String,
803
+ ?message_type: ("RAW" | "DIGEST" | "EXTERNAL_MU"),
804
+ signature: ::String,
805
+ signing_algorithm: ("RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256" | "ED25519_SHA_512" | "ED25519_PH_SHA_512"),
806
+ ?grant_tokens: Array[::String],
807
+ ?dry_run: bool
808
+ ) -> _VerifyResponseSuccess
809
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyResponseSuccess
810
+
811
+ interface _VerifyMacResponseSuccess
812
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyMacResponse]
813
+ def key_id: () -> ::String
814
+ def mac_valid: () -> bool
815
+ def mac_algorithm: () -> ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512")
816
+ end
817
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Client.html#verify_mac-instance_method
818
+ def verify_mac: (
819
+ message: ::String,
820
+ key_id: ::String,
821
+ mac_algorithm: ("HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512"),
822
+ mac: ::String,
823
+ ?grant_tokens: Array[::String],
824
+ ?dry_run: bool
825
+ ) -> _VerifyMacResponseSuccess
826
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyMacResponseSuccess
827
+ end
828
+ end
829
+ end
830
+