aws-sdk-kms 1.52.0 → 1.72.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.
@@ -20,6 +20,7 @@ module Aws::KMS
20
20
  AliasNameType = Shapes::StringShape.new(name: 'AliasNameType')
21
21
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
22
22
  ArnType = Shapes::StringShape.new(name: 'ArnType')
23
+ AttestationDocumentType = Shapes::BlobShape.new(name: 'AttestationDocumentType')
23
24
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
24
25
  CancelKeyDeletionRequest = Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
25
26
  CancelKeyDeletionResponse = Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
@@ -47,6 +48,7 @@ module Aws::KMS
47
48
  CustomKeyStoreNameInUseException = Shapes::StructureShape.new(name: 'CustomKeyStoreNameInUseException')
48
49
  CustomKeyStoreNameType = Shapes::StringShape.new(name: 'CustomKeyStoreNameType')
49
50
  CustomKeyStoreNotFoundException = Shapes::StructureShape.new(name: 'CustomKeyStoreNotFoundException')
51
+ CustomKeyStoreType = Shapes::StringShape.new(name: 'CustomKeyStoreType')
50
52
  CustomKeyStoresList = Shapes::ListShape.new(name: 'CustomKeyStoresList')
51
53
  CustomKeyStoresListEntry = Shapes::StructureShape.new(name: 'CustomKeyStoresListEntry')
52
54
  CustomerMasterKeySpec = Shapes::StringShape.new(name: 'CustomerMasterKeySpec')
@@ -70,6 +72,7 @@ module Aws::KMS
70
72
  DisabledException = Shapes::StructureShape.new(name: 'DisabledException')
71
73
  DisconnectCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreRequest')
72
74
  DisconnectCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'DisconnectCustomKeyStoreResponse')
75
+ DryRunOperationException = Shapes::StructureShape.new(name: 'DryRunOperationException')
73
76
  EnableKeyRequest = Shapes::StructureShape.new(name: 'EnableKeyRequest')
74
77
  EnableKeyRotationRequest = Shapes::StructureShape.new(name: 'EnableKeyRotationRequest')
75
78
  EncryptRequest = Shapes::StructureShape.new(name: 'EncryptRequest')
@@ -90,6 +93,8 @@ module Aws::KMS
90
93
  GenerateDataKeyResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyResponse')
91
94
  GenerateDataKeyWithoutPlaintextRequest = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextRequest')
92
95
  GenerateDataKeyWithoutPlaintextResponse = Shapes::StructureShape.new(name: 'GenerateDataKeyWithoutPlaintextResponse')
96
+ GenerateMacRequest = Shapes::StructureShape.new(name: 'GenerateMacRequest')
97
+ GenerateMacResponse = Shapes::StructureShape.new(name: 'GenerateMacResponse')
93
98
  GenerateRandomRequest = Shapes::StructureShape.new(name: 'GenerateRandomRequest')
94
99
  GenerateRandomResponse = Shapes::StructureShape.new(name: 'GenerateRandomResponse')
95
100
  GetKeyPolicyRequest = Shapes::StructureShape.new(name: 'GetKeyPolicyRequest')
@@ -123,8 +128,10 @@ module Aws::KMS
123
128
  InvalidKeyUsageException = Shapes::StructureShape.new(name: 'InvalidKeyUsageException')
124
129
  InvalidMarkerException = Shapes::StructureShape.new(name: 'InvalidMarkerException')
125
130
  KMSInternalException = Shapes::StructureShape.new(name: 'KMSInternalException')
131
+ KMSInvalidMacException = Shapes::StructureShape.new(name: 'KMSInvalidMacException')
126
132
  KMSInvalidSignatureException = Shapes::StructureShape.new(name: 'KMSInvalidSignatureException')
127
133
  KMSInvalidStateException = Shapes::StructureShape.new(name: 'KMSInvalidStateException')
134
+ KeyEncryptionMechanism = Shapes::StringShape.new(name: 'KeyEncryptionMechanism')
128
135
  KeyIdType = Shapes::StringShape.new(name: 'KeyIdType')
129
136
  KeyList = Shapes::ListShape.new(name: 'KeyList')
130
137
  KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
@@ -148,6 +155,8 @@ module Aws::KMS
148
155
  ListResourceTagsRequest = Shapes::StructureShape.new(name: 'ListResourceTagsRequest')
149
156
  ListResourceTagsResponse = Shapes::StructureShape.new(name: 'ListResourceTagsResponse')
150
157
  ListRetirableGrantsRequest = Shapes::StructureShape.new(name: 'ListRetirableGrantsRequest')
158
+ MacAlgorithmSpec = Shapes::StringShape.new(name: 'MacAlgorithmSpec')
159
+ MacAlgorithmSpecList = Shapes::ListShape.new(name: 'MacAlgorithmSpecList')
151
160
  MalformedPolicyDocumentException = Shapes::StructureShape.new(name: 'MalformedPolicyDocumentException')
152
161
  MarkerType = Shapes::StringShape.new(name: 'MarkerType')
153
162
  MessageType = Shapes::StringShape.new(name: 'MessageType')
@@ -169,6 +178,7 @@ module Aws::KMS
169
178
  PutKeyPolicyRequest = Shapes::StructureShape.new(name: 'PutKeyPolicyRequest')
170
179
  ReEncryptRequest = Shapes::StructureShape.new(name: 'ReEncryptRequest')
171
180
  ReEncryptResponse = Shapes::StructureShape.new(name: 'ReEncryptResponse')
181
+ RecipientInfo = Shapes::StructureShape.new(name: 'RecipientInfo')
172
182
  RegionType = Shapes::StringShape.new(name: 'RegionType')
173
183
  ReplicateKeyRequest = Shapes::StructureShape.new(name: 'ReplicateKeyRequest')
174
184
  ReplicateKeyResponse = Shapes::StructureShape.new(name: 'ReplicateKeyResponse')
@@ -195,9 +205,33 @@ module Aws::KMS
195
205
  UpdateCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'UpdateCustomKeyStoreResponse')
196
206
  UpdateKeyDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateKeyDescriptionRequest')
197
207
  UpdatePrimaryRegionRequest = Shapes::StructureShape.new(name: 'UpdatePrimaryRegionRequest')
208
+ VerifyMacRequest = Shapes::StructureShape.new(name: 'VerifyMacRequest')
209
+ VerifyMacResponse = Shapes::StructureShape.new(name: 'VerifyMacResponse')
198
210
  VerifyRequest = Shapes::StructureShape.new(name: 'VerifyRequest')
199
211
  VerifyResponse = Shapes::StructureShape.new(name: 'VerifyResponse')
200
212
  WrappingKeySpec = Shapes::StringShape.new(name: 'WrappingKeySpec')
213
+ XksKeyAlreadyInUseException = Shapes::StructureShape.new(name: 'XksKeyAlreadyInUseException')
214
+ XksKeyConfigurationType = Shapes::StructureShape.new(name: 'XksKeyConfigurationType')
215
+ XksKeyIdType = Shapes::StringShape.new(name: 'XksKeyIdType')
216
+ XksKeyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksKeyInvalidConfigurationException')
217
+ XksKeyNotFoundException = Shapes::StructureShape.new(name: 'XksKeyNotFoundException')
218
+ XksProxyAuthenticationAccessKeyIdType = Shapes::StringShape.new(name: 'XksProxyAuthenticationAccessKeyIdType')
219
+ XksProxyAuthenticationCredentialType = Shapes::StructureShape.new(name: 'XksProxyAuthenticationCredentialType')
220
+ XksProxyAuthenticationRawSecretAccessKeyType = Shapes::StringShape.new(name: 'XksProxyAuthenticationRawSecretAccessKeyType')
221
+ XksProxyConfigurationType = Shapes::StructureShape.new(name: 'XksProxyConfigurationType')
222
+ XksProxyConnectivityType = Shapes::StringShape.new(name: 'XksProxyConnectivityType')
223
+ XksProxyIncorrectAuthenticationCredentialException = Shapes::StructureShape.new(name: 'XksProxyIncorrectAuthenticationCredentialException')
224
+ XksProxyInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyInvalidConfigurationException')
225
+ XksProxyInvalidResponseException = Shapes::StructureShape.new(name: 'XksProxyInvalidResponseException')
226
+ XksProxyUriEndpointInUseException = Shapes::StructureShape.new(name: 'XksProxyUriEndpointInUseException')
227
+ XksProxyUriEndpointType = Shapes::StringShape.new(name: 'XksProxyUriEndpointType')
228
+ XksProxyUriInUseException = Shapes::StructureShape.new(name: 'XksProxyUriInUseException')
229
+ XksProxyUriPathType = Shapes::StringShape.new(name: 'XksProxyUriPathType')
230
+ XksProxyUriUnreachableException = Shapes::StructureShape.new(name: 'XksProxyUriUnreachableException')
231
+ XksProxyVpcEndpointServiceInUseException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInUseException')
232
+ XksProxyVpcEndpointServiceInvalidConfigurationException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceInvalidConfigurationException')
233
+ XksProxyVpcEndpointServiceNameType = Shapes::StringShape.new(name: 'XksProxyVpcEndpointServiceNameType')
234
+ XksProxyVpcEndpointServiceNotFoundException = Shapes::StructureShape.new(name: 'XksProxyVpcEndpointServiceNotFoundException')
201
235
 
202
236
  AliasList.member = Shapes::ShapeRef.new(shape: AliasListEntry)
203
237
 
@@ -242,9 +276,15 @@ module Aws::KMS
242
276
  CreateAliasRequest.struct_class = Types::CreateAliasRequest
243
277
 
244
278
  CreateCustomKeyStoreRequest.add_member(:custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, required: true, location_name: "CustomKeyStoreName"))
245
- CreateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, required: true, location_name: "CloudHsmClusterId"))
246
- CreateCustomKeyStoreRequest.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType, required: true, location_name: "TrustAnchorCertificate"))
247
- CreateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, required: true, location_name: "KeyStorePassword"))
279
+ CreateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
280
+ CreateCustomKeyStoreRequest.add_member(:trust_anchor_certificate, Shapes::ShapeRef.new(shape: TrustAnchorCertificateType, location_name: "TrustAnchorCertificate"))
281
+ CreateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
282
+ CreateCustomKeyStoreRequest.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
283
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
284
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
285
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
286
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
287
+ CreateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
248
288
  CreateCustomKeyStoreRequest.struct_class = Types::CreateCustomKeyStoreRequest
249
289
 
250
290
  CreateCustomKeyStoreResponse.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
@@ -257,6 +297,7 @@ module Aws::KMS
257
297
  CreateGrantRequest.add_member(:constraints, Shapes::ShapeRef.new(shape: GrantConstraints, location_name: "Constraints"))
258
298
  CreateGrantRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
259
299
  CreateGrantRequest.add_member(:name, Shapes::ShapeRef.new(shape: GrantNameType, location_name: "Name"))
300
+ CreateGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
260
301
  CreateGrantRequest.struct_class = Types::CreateGrantRequest
261
302
 
262
303
  CreateGrantResponse.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
@@ -273,6 +314,7 @@ module Aws::KMS
273
314
  CreateKeyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BooleanType, location_name: "BypassPolicyLockoutSafetyCheck"))
274
315
  CreateKeyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
275
316
  CreateKeyRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
317
+ CreateKeyRequest.add_member(:xks_key_id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "XksKeyId"))
276
318
  CreateKeyRequest.struct_class = Types::CreateKeyRequest
277
319
 
278
320
  CreateKeyResponse.add_member(:key_metadata, Shapes::ShapeRef.new(shape: KeyMetadata, location_name: "KeyMetadata"))
@@ -299,6 +341,8 @@ module Aws::KMS
299
341
  CustomKeyStoresListEntry.add_member(:connection_state, Shapes::ShapeRef.new(shape: ConnectionStateType, location_name: "ConnectionState"))
300
342
  CustomKeyStoresListEntry.add_member(:connection_error_code, Shapes::ShapeRef.new(shape: ConnectionErrorCodeType, location_name: "ConnectionErrorCode"))
301
343
  CustomKeyStoresListEntry.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
344
+ CustomKeyStoresListEntry.add_member(:custom_key_store_type, Shapes::ShapeRef.new(shape: CustomKeyStoreType, location_name: "CustomKeyStoreType"))
345
+ CustomKeyStoresListEntry.add_member(:xks_proxy_configuration, Shapes::ShapeRef.new(shape: XksProxyConfigurationType, location_name: "XksProxyConfiguration"))
302
346
  CustomKeyStoresListEntry.struct_class = Types::CustomKeyStoresListEntry
303
347
 
304
348
  DecryptRequest.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "CiphertextBlob"))
@@ -306,11 +350,14 @@ module Aws::KMS
306
350
  DecryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
307
351
  DecryptRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
308
352
  DecryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
353
+ DecryptRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
354
+ DecryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
309
355
  DecryptRequest.struct_class = Types::DecryptRequest
310
356
 
311
357
  DecryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
312
358
  DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
313
359
  DecryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
360
+ DecryptResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
314
361
  DecryptResponse.struct_class = Types::DecryptResponse
315
362
 
316
363
  DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
@@ -359,6 +406,9 @@ module Aws::KMS
359
406
 
360
407
  DisconnectCustomKeyStoreResponse.struct_class = Types::DisconnectCustomKeyStoreResponse
361
408
 
409
+ DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
410
+ DryRunOperationException.struct_class = Types::DryRunOperationException
411
+
362
412
  EnableKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
363
413
  EnableKeyRequest.struct_class = Types::EnableKeyRequest
364
414
 
@@ -370,6 +420,7 @@ module Aws::KMS
370
420
  EncryptRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
371
421
  EncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
372
422
  EncryptRequest.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
423
+ EncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
373
424
  EncryptRequest.struct_class = Types::EncryptRequest
374
425
 
375
426
  EncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
@@ -389,6 +440,8 @@ module Aws::KMS
389
440
  GenerateDataKeyPairRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
390
441
  GenerateDataKeyPairRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
391
442
  GenerateDataKeyPairRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
443
+ GenerateDataKeyPairRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
444
+ GenerateDataKeyPairRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
392
445
  GenerateDataKeyPairRequest.struct_class = Types::GenerateDataKeyPairRequest
393
446
 
394
447
  GenerateDataKeyPairResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
@@ -396,12 +449,14 @@ module Aws::KMS
396
449
  GenerateDataKeyPairResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
397
450
  GenerateDataKeyPairResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
398
451
  GenerateDataKeyPairResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
452
+ GenerateDataKeyPairResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
399
453
  GenerateDataKeyPairResponse.struct_class = Types::GenerateDataKeyPairResponse
400
454
 
401
455
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
402
456
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
403
457
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, required: true, location_name: "KeyPairSpec"))
404
458
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
459
+ GenerateDataKeyPairWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
405
460
  GenerateDataKeyPairWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyPairWithoutPlaintextRequest
406
461
 
407
462
  GenerateDataKeyPairWithoutPlaintextResponse.add_member(:private_key_ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "PrivateKeyCiphertextBlob"))
@@ -415,11 +470,14 @@ module Aws::KMS
415
470
  GenerateDataKeyRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
416
471
  GenerateDataKeyRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
417
472
  GenerateDataKeyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
473
+ GenerateDataKeyRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
474
+ GenerateDataKeyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
418
475
  GenerateDataKeyRequest.struct_class = Types::GenerateDataKeyRequest
419
476
 
420
477
  GenerateDataKeyResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
421
478
  GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
422
479
  GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
480
+ GenerateDataKeyResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
423
481
  GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
424
482
 
425
483
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -427,17 +485,32 @@ module Aws::KMS
427
485
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_spec, Shapes::ShapeRef.new(shape: DataKeySpec, location_name: "KeySpec"))
428
486
  GenerateDataKeyWithoutPlaintextRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
429
487
  GenerateDataKeyWithoutPlaintextRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
488
+ GenerateDataKeyWithoutPlaintextRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
430
489
  GenerateDataKeyWithoutPlaintextRequest.struct_class = Types::GenerateDataKeyWithoutPlaintextRequest
431
490
 
432
491
  GenerateDataKeyWithoutPlaintextResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
433
492
  GenerateDataKeyWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
434
493
  GenerateDataKeyWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyWithoutPlaintextResponse
435
494
 
495
+ GenerateMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
496
+ GenerateMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
497
+ GenerateMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
498
+ GenerateMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
499
+ GenerateMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
500
+ GenerateMacRequest.struct_class = Types::GenerateMacRequest
501
+
502
+ GenerateMacResponse.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "Mac"))
503
+ GenerateMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
504
+ GenerateMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
505
+ GenerateMacResponse.struct_class = Types::GenerateMacResponse
506
+
436
507
  GenerateRandomRequest.add_member(:number_of_bytes, Shapes::ShapeRef.new(shape: NumberOfBytesType, location_name: "NumberOfBytes"))
437
508
  GenerateRandomRequest.add_member(:custom_key_store_id, Shapes::ShapeRef.new(shape: CustomKeyStoreIdType, location_name: "CustomKeyStoreId"))
509
+ GenerateRandomRequest.add_member(:recipient, Shapes::ShapeRef.new(shape: RecipientInfo, location_name: "Recipient"))
438
510
  GenerateRandomRequest.struct_class = Types::GenerateRandomRequest
439
511
 
440
512
  GenerateRandomResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
513
+ GenerateRandomResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
441
514
  GenerateRandomResponse.struct_class = Types::GenerateRandomResponse
442
515
 
443
516
  GetKeyPolicyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -543,6 +616,9 @@ module Aws::KMS
543
616
  KMSInternalException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
544
617
  KMSInternalException.struct_class = Types::KMSInternalException
545
618
 
619
+ KMSInvalidMacException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
620
+ KMSInvalidMacException.struct_class = Types::KMSInvalidMacException
621
+
546
622
  KMSInvalidSignatureException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
547
623
  KMSInvalidSignatureException.struct_class = Types::KMSInvalidSignatureException
548
624
 
@@ -577,6 +653,8 @@ module Aws::KMS
577
653
  KeyMetadata.add_member(:multi_region, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "MultiRegion"))
578
654
  KeyMetadata.add_member(:multi_region_configuration, Shapes::ShapeRef.new(shape: MultiRegionConfiguration, location_name: "MultiRegionConfiguration"))
579
655
  KeyMetadata.add_member(:pending_deletion_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingDeletionWindowInDays"))
656
+ KeyMetadata.add_member(:mac_algorithms, Shapes::ShapeRef.new(shape: MacAlgorithmSpecList, location_name: "MacAlgorithms"))
657
+ KeyMetadata.add_member(:xks_key_configuration, Shapes::ShapeRef.new(shape: XksKeyConfigurationType, location_name: "XksKeyConfiguration"))
580
658
  KeyMetadata.struct_class = Types::KeyMetadata
581
659
 
582
660
  KeyUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
@@ -641,6 +719,8 @@ module Aws::KMS
641
719
  ListRetirableGrantsRequest.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: PrincipalIdType, required: true, location_name: "RetiringPrincipal"))
642
720
  ListRetirableGrantsRequest.struct_class = Types::ListRetirableGrantsRequest
643
721
 
722
+ MacAlgorithmSpecList.member = Shapes::ShapeRef.new(shape: MacAlgorithmSpec)
723
+
644
724
  MalformedPolicyDocumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
645
725
  MalformedPolicyDocumentException.struct_class = Types::MalformedPolicyDocumentException
646
726
 
@@ -674,6 +754,7 @@ module Aws::KMS
674
754
  ReEncryptRequest.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
675
755
  ReEncryptRequest.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
676
756
  ReEncryptRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
757
+ ReEncryptRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
677
758
  ReEncryptRequest.struct_class = Types::ReEncryptRequest
678
759
 
679
760
  ReEncryptResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
@@ -683,6 +764,10 @@ module Aws::KMS
683
764
  ReEncryptResponse.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
684
765
  ReEncryptResponse.struct_class = Types::ReEncryptResponse
685
766
 
767
+ RecipientInfo.add_member(:key_encryption_algorithm, Shapes::ShapeRef.new(shape: KeyEncryptionMechanism, location_name: "KeyEncryptionAlgorithm"))
768
+ RecipientInfo.add_member(:attestation_document, Shapes::ShapeRef.new(shape: AttestationDocumentType, location_name: "AttestationDocument"))
769
+ RecipientInfo.struct_class = Types::RecipientInfo
770
+
686
771
  ReplicateKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
687
772
  ReplicateKeyRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "ReplicaRegion"))
688
773
  ReplicateKeyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyType, location_name: "Policy"))
@@ -699,10 +784,12 @@ module Aws::KMS
699
784
  RetireGrantRequest.add_member(:grant_token, Shapes::ShapeRef.new(shape: GrantTokenType, location_name: "GrantToken"))
700
785
  RetireGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
701
786
  RetireGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, location_name: "GrantId"))
787
+ RetireGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
702
788
  RetireGrantRequest.struct_class = Types::RetireGrantRequest
703
789
 
704
790
  RevokeGrantRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
705
791
  RevokeGrantRequest.add_member(:grant_id, Shapes::ShapeRef.new(shape: GrantIdType, required: true, location_name: "GrantId"))
792
+ RevokeGrantRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
706
793
  RevokeGrantRequest.struct_class = Types::RevokeGrantRequest
707
794
 
708
795
  ScheduleKeyDeletionRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -720,6 +807,7 @@ module Aws::KMS
720
807
  SignRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
721
808
  SignRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
722
809
  SignRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
810
+ SignRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
723
811
  SignRequest.struct_class = Types::SignRequest
724
812
 
725
813
  SignResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
@@ -759,6 +847,11 @@ module Aws::KMS
759
847
  UpdateCustomKeyStoreRequest.add_member(:new_custom_key_store_name, Shapes::ShapeRef.new(shape: CustomKeyStoreNameType, location_name: "NewCustomKeyStoreName"))
760
848
  UpdateCustomKeyStoreRequest.add_member(:key_store_password, Shapes::ShapeRef.new(shape: KeyStorePasswordType, location_name: "KeyStorePassword"))
761
849
  UpdateCustomKeyStoreRequest.add_member(:cloud_hsm_cluster_id, Shapes::ShapeRef.new(shape: CloudHsmClusterIdType, location_name: "CloudHsmClusterId"))
850
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "XksProxyUriEndpoint"))
851
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "XksProxyUriPath"))
852
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "XksProxyVpcEndpointServiceName"))
853
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_authentication_credential, Shapes::ShapeRef.new(shape: XksProxyAuthenticationCredentialType, location_name: "XksProxyAuthenticationCredential"))
854
+ UpdateCustomKeyStoreRequest.add_member(:xks_proxy_connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "XksProxyConnectivity"))
762
855
  UpdateCustomKeyStoreRequest.struct_class = Types::UpdateCustomKeyStoreRequest
763
856
 
764
857
  UpdateCustomKeyStoreResponse.struct_class = Types::UpdateCustomKeyStoreResponse
@@ -771,12 +864,26 @@ module Aws::KMS
771
864
  UpdatePrimaryRegionRequest.add_member(:primary_region, Shapes::ShapeRef.new(shape: RegionType, required: true, location_name: "PrimaryRegion"))
772
865
  UpdatePrimaryRegionRequest.struct_class = Types::UpdatePrimaryRegionRequest
773
866
 
867
+ VerifyMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
868
+ VerifyMacRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
869
+ VerifyMacRequest.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, required: true, location_name: "MacAlgorithm"))
870
+ VerifyMacRequest.add_member(:mac, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Mac"))
871
+ VerifyMacRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
872
+ VerifyMacRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
873
+ VerifyMacRequest.struct_class = Types::VerifyMacRequest
874
+
875
+ VerifyMacResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
876
+ VerifyMacResponse.add_member(:mac_valid, Shapes::ShapeRef.new(shape: BooleanType, location_name: "MacValid"))
877
+ VerifyMacResponse.add_member(:mac_algorithm, Shapes::ShapeRef.new(shape: MacAlgorithmSpec, location_name: "MacAlgorithm"))
878
+ VerifyMacResponse.struct_class = Types::VerifyMacResponse
879
+
774
880
  VerifyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
775
881
  VerifyRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
776
882
  VerifyRequest.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
777
883
  VerifyRequest.add_member(:signature, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "Signature"))
778
884
  VerifyRequest.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, required: true, location_name: "SigningAlgorithm"))
779
885
  VerifyRequest.add_member(:grant_tokens, Shapes::ShapeRef.new(shape: GrantTokenList, location_name: "GrantTokens"))
886
+ VerifyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: NullableBooleanType, location_name: "DryRun"))
780
887
  VerifyRequest.struct_class = Types::VerifyRequest
781
888
 
782
889
  VerifyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
@@ -784,6 +891,56 @@ module Aws::KMS
784
891
  VerifyResponse.add_member(:signing_algorithm, Shapes::ShapeRef.new(shape: SigningAlgorithmSpec, location_name: "SigningAlgorithm"))
785
892
  VerifyResponse.struct_class = Types::VerifyResponse
786
893
 
894
+ XksKeyAlreadyInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
895
+ XksKeyAlreadyInUseException.struct_class = Types::XksKeyAlreadyInUseException
896
+
897
+ XksKeyConfigurationType.add_member(:id, Shapes::ShapeRef.new(shape: XksKeyIdType, location_name: "Id"))
898
+ XksKeyConfigurationType.struct_class = Types::XksKeyConfigurationType
899
+
900
+ XksKeyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
901
+ XksKeyInvalidConfigurationException.struct_class = Types::XksKeyInvalidConfigurationException
902
+
903
+ XksKeyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
904
+ XksKeyNotFoundException.struct_class = Types::XksKeyNotFoundException
905
+
906
+ XksProxyAuthenticationCredentialType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, required: true, location_name: "AccessKeyId"))
907
+ XksProxyAuthenticationCredentialType.add_member(:raw_secret_access_key, Shapes::ShapeRef.new(shape: XksProxyAuthenticationRawSecretAccessKeyType, required: true, location_name: "RawSecretAccessKey"))
908
+ XksProxyAuthenticationCredentialType.struct_class = Types::XksProxyAuthenticationCredentialType
909
+
910
+ XksProxyConfigurationType.add_member(:connectivity, Shapes::ShapeRef.new(shape: XksProxyConnectivityType, location_name: "Connectivity"))
911
+ XksProxyConfigurationType.add_member(:access_key_id, Shapes::ShapeRef.new(shape: XksProxyAuthenticationAccessKeyIdType, location_name: "AccessKeyId"))
912
+ XksProxyConfigurationType.add_member(:uri_endpoint, Shapes::ShapeRef.new(shape: XksProxyUriEndpointType, location_name: "UriEndpoint"))
913
+ XksProxyConfigurationType.add_member(:uri_path, Shapes::ShapeRef.new(shape: XksProxyUriPathType, location_name: "UriPath"))
914
+ XksProxyConfigurationType.add_member(:vpc_endpoint_service_name, Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNameType, location_name: "VpcEndpointServiceName"))
915
+ XksProxyConfigurationType.struct_class = Types::XksProxyConfigurationType
916
+
917
+ XksProxyIncorrectAuthenticationCredentialException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
918
+ XksProxyIncorrectAuthenticationCredentialException.struct_class = Types::XksProxyIncorrectAuthenticationCredentialException
919
+
920
+ XksProxyInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
921
+ XksProxyInvalidConfigurationException.struct_class = Types::XksProxyInvalidConfigurationException
922
+
923
+ XksProxyInvalidResponseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
924
+ XksProxyInvalidResponseException.struct_class = Types::XksProxyInvalidResponseException
925
+
926
+ XksProxyUriEndpointInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
927
+ XksProxyUriEndpointInUseException.struct_class = Types::XksProxyUriEndpointInUseException
928
+
929
+ XksProxyUriInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
930
+ XksProxyUriInUseException.struct_class = Types::XksProxyUriInUseException
931
+
932
+ XksProxyUriUnreachableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
933
+ XksProxyUriUnreachableException.struct_class = Types::XksProxyUriUnreachableException
934
+
935
+ XksProxyVpcEndpointServiceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
936
+ XksProxyVpcEndpointServiceInUseException.struct_class = Types::XksProxyVpcEndpointServiceInUseException
937
+
938
+ XksProxyVpcEndpointServiceInvalidConfigurationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
939
+ XksProxyVpcEndpointServiceInvalidConfigurationException.struct_class = Types::XksProxyVpcEndpointServiceInvalidConfigurationException
940
+
941
+ XksProxyVpcEndpointServiceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
942
+ XksProxyVpcEndpointServiceNotFoundException.struct_class = Types::XksProxyVpcEndpointServiceNotFoundException
943
+
787
944
 
788
945
  # @api private
789
946
  API = Seahorse::Model::Api.new.tap do |api|
@@ -857,6 +1014,16 @@ module Aws::KMS
857
1014
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
858
1015
  o.errors << Shapes::ShapeRef.new(shape: IncorrectTrustAnchorException)
859
1016
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
860
1027
  end)
861
1028
 
862
1029
  api.add_operation(:create_grant, Seahorse::Model::Operation.new.tap do |o|
@@ -873,6 +1040,7 @@ module Aws::KMS
873
1040
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
874
1041
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
875
1042
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
876
1044
  end)
877
1045
 
878
1046
  api.add_operation(:create_key, Seahorse::Model::Operation.new.tap do |o|
@@ -891,6 +1059,9 @@ module Aws::KMS
891
1059
  o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
892
1060
  o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
893
1061
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyInvalidConfigurationException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyAlreadyInUseException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: XksKeyNotFoundException)
894
1065
  end)
895
1066
 
896
1067
  api.add_operation(:decrypt, Seahorse::Model::Operation.new.tap do |o|
@@ -909,6 +1080,7 @@ module Aws::KMS
909
1080
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
910
1081
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
911
1082
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
912
1084
  end)
913
1085
 
914
1086
  api.add_operation(:delete_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -958,6 +1130,12 @@ module Aws::KMS
958
1130
  o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
959
1131
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
960
1132
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1133
+ o[:pager] = Aws::Pager.new(
1134
+ limit_key: "limit",
1135
+ tokens: {
1136
+ "next_marker" => "marker"
1137
+ }
1138
+ )
961
1139
  end)
962
1140
 
963
1141
  api.add_operation(:describe_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1054,6 +1232,7 @@ module Aws::KMS
1054
1232
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1055
1233
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1056
1234
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1235
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1057
1236
  end)
1058
1237
 
1059
1238
  api.add_operation(:generate_data_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1070,6 +1249,7 @@ module Aws::KMS
1070
1249
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1071
1250
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1072
1251
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1073
1253
  end)
1074
1254
 
1075
1255
  api.add_operation(:generate_data_key_pair, Seahorse::Model::Operation.new.tap do |o|
@@ -1087,6 +1267,7 @@ module Aws::KMS
1087
1267
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1088
1268
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1089
1269
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1270
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1090
1271
  end)
1091
1272
 
1092
1273
  api.add_operation(:generate_data_key_pair_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
@@ -1104,6 +1285,7 @@ module Aws::KMS
1104
1285
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1105
1286
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1106
1287
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1107
1289
  end)
1108
1290
 
1109
1291
  api.add_operation(:generate_data_key_without_plaintext, Seahorse::Model::Operation.new.tap do |o|
@@ -1120,6 +1302,23 @@ module Aws::KMS
1120
1302
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1121
1303
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1122
1304
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1305
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1306
+ end)
1307
+
1308
+ api.add_operation(:generate_mac, Seahorse::Model::Operation.new.tap do |o|
1309
+ o.name = "GenerateMac"
1310
+ o.http_method = "POST"
1311
+ o.http_request_uri = "/"
1312
+ o.input = Shapes::ShapeRef.new(shape: GenerateMacRequest)
1313
+ o.output = Shapes::ShapeRef.new(shape: GenerateMacResponse)
1314
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1316
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1317
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1123
1322
  end)
1124
1323
 
1125
1324
  api.add_operation(:generate_random, Seahorse::Model::Operation.new.tap do |o|
@@ -1130,6 +1329,7 @@ module Aws::KMS
1130
1329
  o.output = Shapes::ShapeRef.new(shape: GenerateRandomResponse)
1131
1330
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1132
1331
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1332
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1133
1333
  o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreNotFoundException)
1134
1334
  o.errors << Shapes::ShapeRef.new(shape: CustomKeyStoreInvalidStateException)
1135
1335
  end)
@@ -1223,7 +1423,6 @@ module Aws::KMS
1223
1423
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1224
1424
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1225
1425
  o[:pager] = Aws::Pager.new(
1226
- more_results: "truncated",
1227
1426
  limit_key: "limit",
1228
1427
  tokens: {
1229
1428
  "next_marker" => "marker"
@@ -1245,7 +1444,6 @@ module Aws::KMS
1245
1444
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1246
1445
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1247
1446
  o[:pager] = Aws::Pager.new(
1248
- more_results: "truncated",
1249
1447
  limit_key: "limit",
1250
1448
  tokens: {
1251
1449
  "next_marker" => "marker"
@@ -1265,7 +1463,6 @@ module Aws::KMS
1265
1463
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1266
1464
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1267
1465
  o[:pager] = Aws::Pager.new(
1268
- more_results: "truncated",
1269
1466
  limit_key: "limit",
1270
1467
  tokens: {
1271
1468
  "next_marker" => "marker"
@@ -1283,7 +1480,6 @@ module Aws::KMS
1283
1480
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1284
1481
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1285
1482
  o[:pager] = Aws::Pager.new(
1286
- more_results: "truncated",
1287
1483
  limit_key: "limit",
1288
1484
  tokens: {
1289
1485
  "next_marker" => "marker"
@@ -1301,6 +1497,12 @@ module Aws::KMS
1301
1497
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1302
1498
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1303
1499
  o.errors << Shapes::ShapeRef.new(shape: InvalidMarkerException)
1500
+ o[:pager] = Aws::Pager.new(
1501
+ limit_key: "limit",
1502
+ tokens: {
1503
+ "next_marker" => "marker"
1504
+ }
1505
+ )
1304
1506
  end)
1305
1507
 
1306
1508
  api.add_operation(:list_retirable_grants, Seahorse::Model::Operation.new.tap do |o|
@@ -1314,6 +1516,12 @@ module Aws::KMS
1314
1516
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1315
1517
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1316
1518
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1519
+ o[:pager] = Aws::Pager.new(
1520
+ limit_key: "limit",
1521
+ tokens: {
1522
+ "next_marker" => "marker"
1523
+ }
1524
+ )
1317
1525
  end)
1318
1526
 
1319
1527
  api.add_operation(:put_key_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1348,6 +1556,7 @@ module Aws::KMS
1348
1556
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1349
1557
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1350
1558
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1559
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1351
1560
  end)
1352
1561
 
1353
1562
  api.add_operation(:replicate_key, Seahorse::Model::Operation.new.tap do |o|
@@ -1381,6 +1590,7 @@ module Aws::KMS
1381
1590
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)
1382
1591
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1383
1592
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1384
1594
  end)
1385
1595
 
1386
1596
  api.add_operation(:revoke_grant, Seahorse::Model::Operation.new.tap do |o|
@@ -1395,6 +1605,7 @@ module Aws::KMS
1395
1605
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantIdException)
1396
1606
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1397
1607
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1398
1609
  end)
1399
1610
 
1400
1611
  api.add_operation(:schedule_key_deletion, Seahorse::Model::Operation.new.tap do |o|
@@ -1424,6 +1635,7 @@ module Aws::KMS
1424
1635
  o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1425
1636
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1426
1637
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1638
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1427
1639
  end)
1428
1640
 
1429
1641
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1480,6 +1692,15 @@ module Aws::KMS
1480
1692
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1481
1693
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterNotActiveException)
1482
1694
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmClusterInvalidConfigurationException)
1695
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriInUseException)
1696
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriEndpointInUseException)
1697
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyUriUnreachableException)
1698
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyIncorrectAuthenticationCredentialException)
1699
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInUseException)
1700
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceNotFoundException)
1701
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyVpcEndpointServiceInvalidConfigurationException)
1702
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidResponseException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: XksProxyInvalidConfigurationException)
1483
1704
  end)
1484
1705
 
1485
1706
  api.add_operation(:update_key_description, Seahorse::Model::Operation.new.tap do |o|
@@ -1524,6 +1745,24 @@ module Aws::KMS
1524
1745
  o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1525
1746
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1526
1747
  o.errors << Shapes::ShapeRef.new(shape: KMSInvalidSignatureException)
1748
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1749
+ end)
1750
+
1751
+ api.add_operation(:verify_mac, Seahorse::Model::Operation.new.tap do |o|
1752
+ o.name = "VerifyMac"
1753
+ o.http_method = "POST"
1754
+ o.http_request_uri = "/"
1755
+ o.input = Shapes::ShapeRef.new(shape: VerifyMacRequest)
1756
+ o.output = Shapes::ShapeRef.new(shape: VerifyMacResponse)
1757
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1758
+ o.errors << Shapes::ShapeRef.new(shape: DisabledException)
1759
+ o.errors << Shapes::ShapeRef.new(shape: KeyUnavailableException)
1760
+ o.errors << Shapes::ShapeRef.new(shape: InvalidKeyUsageException)
1761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGrantTokenException)
1762
+ o.errors << Shapes::ShapeRef.new(shape: KMSInternalException)
1763
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidMacException)
1764
+ o.errors << Shapes::ShapeRef.new(shape: KMSInvalidStateException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
1527
1766
  end)
1528
1767
  end
1529
1768