aws-sdk-kms 1.72.0 → 1.96.0

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