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