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