aws-sdk-kms 1.101.0 → 1.104.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.
@@ -22,6 +22,8 @@ module Aws::KMS
22
22
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
23
23
  ArnType = Shapes::StringShape.new(name: 'ArnType')
24
24
  AttestationDocumentType = Shapes::BlobShape.new(name: 'AttestationDocumentType')
25
+ BackingKeyIdResponseType = Shapes::StringShape.new(name: 'BackingKeyIdResponseType')
26
+ BackingKeyIdType = Shapes::StringShape.new(name: 'BackingKeyIdType')
25
27
  BooleanType = Shapes::BooleanShape.new(name: 'BooleanType')
26
28
  CancelKeyDeletionRequest = Shapes::StructureShape.new(name: 'CancelKeyDeletionRequest')
27
29
  CancelKeyDeletionResponse = Shapes::StructureShape.new(name: 'CancelKeyDeletionResponse')
@@ -63,6 +65,7 @@ module Aws::KMS
63
65
  DeleteCustomKeyStoreRequest = Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreRequest')
64
66
  DeleteCustomKeyStoreResponse = Shapes::StructureShape.new(name: 'DeleteCustomKeyStoreResponse')
65
67
  DeleteImportedKeyMaterialRequest = Shapes::StructureShape.new(name: 'DeleteImportedKeyMaterialRequest')
68
+ DeleteImportedKeyMaterialResponse = Shapes::StructureShape.new(name: 'DeleteImportedKeyMaterialResponse')
66
69
  DependencyTimeoutException = Shapes::StructureShape.new(name: 'DependencyTimeoutException')
67
70
  DeriveSharedSecretRequest = Shapes::StructureShape.new(name: 'DeriveSharedSecretRequest')
68
71
  DeriveSharedSecretResponse = Shapes::StructureShape.new(name: 'DeriveSharedSecretResponse')
@@ -120,6 +123,9 @@ module Aws::KMS
120
123
  GrantTokenType = Shapes::StringShape.new(name: 'GrantTokenType')
121
124
  ImportKeyMaterialRequest = Shapes::StructureShape.new(name: 'ImportKeyMaterialRequest')
122
125
  ImportKeyMaterialResponse = Shapes::StructureShape.new(name: 'ImportKeyMaterialResponse')
126
+ ImportState = Shapes::StringShape.new(name: 'ImportState')
127
+ ImportType = Shapes::StringShape.new(name: 'ImportType')
128
+ IncludeKeyMaterial = Shapes::StringShape.new(name: 'IncludeKeyMaterial')
123
129
  IncorrectKeyException = Shapes::StructureShape.new(name: 'IncorrectKeyException')
124
130
  IncorrectKeyMaterialException = Shapes::StructureShape.new(name: 'IncorrectKeyMaterialException')
125
131
  IncorrectTrustAnchorException = Shapes::StructureShape.new(name: 'IncorrectTrustAnchorException')
@@ -142,6 +148,8 @@ module Aws::KMS
142
148
  KeyList = Shapes::ListShape.new(name: 'KeyList')
143
149
  KeyListEntry = Shapes::StructureShape.new(name: 'KeyListEntry')
144
150
  KeyManagerType = Shapes::StringShape.new(name: 'KeyManagerType')
151
+ KeyMaterialDescriptionType = Shapes::StringShape.new(name: 'KeyMaterialDescriptionType')
152
+ KeyMaterialState = Shapes::StringShape.new(name: 'KeyMaterialState')
145
153
  KeyMetadata = Shapes::StructureShape.new(name: 'KeyMetadata')
146
154
  KeySpec = Shapes::StringShape.new(name: 'KeySpec')
147
155
  KeyState = Shapes::StringShape.new(name: 'KeyState')
@@ -375,6 +383,7 @@ module Aws::KMS
375
383
  DecryptResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
376
384
  DecryptResponse.add_member(:encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "EncryptionAlgorithm"))
377
385
  DecryptResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
386
+ DecryptResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
378
387
  DecryptResponse.struct_class = Types::DecryptResponse
379
388
 
380
389
  DeleteAliasRequest.add_member(:alias_name, Shapes::ShapeRef.new(shape: AliasNameType, required: true, location_name: "AliasName"))
@@ -386,8 +395,13 @@ module Aws::KMS
386
395
  DeleteCustomKeyStoreResponse.struct_class = Types::DeleteCustomKeyStoreResponse
387
396
 
388
397
  DeleteImportedKeyMaterialRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
398
+ DeleteImportedKeyMaterialRequest.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
389
399
  DeleteImportedKeyMaterialRequest.struct_class = Types::DeleteImportedKeyMaterialRequest
390
400
 
401
+ DeleteImportedKeyMaterialResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
402
+ DeleteImportedKeyMaterialResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdResponseType, location_name: "KeyMaterialId"))
403
+ DeleteImportedKeyMaterialResponse.struct_class = Types::DeleteImportedKeyMaterialResponse
404
+
391
405
  DependencyTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
392
406
  DependencyTimeoutException.struct_class = Types::DependencyTimeoutException
393
407
 
@@ -483,6 +497,7 @@ module Aws::KMS
483
497
  GenerateDataKeyPairResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
484
498
  GenerateDataKeyPairResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
485
499
  GenerateDataKeyPairResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
500
+ GenerateDataKeyPairResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
486
501
  GenerateDataKeyPairResponse.struct_class = Types::GenerateDataKeyPairResponse
487
502
 
488
503
  GenerateDataKeyPairWithoutPlaintextRequest.add_member(:encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextType, location_name: "EncryptionContext"))
@@ -496,6 +511,7 @@ module Aws::KMS
496
511
  GenerateDataKeyPairWithoutPlaintextResponse.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKeyType, location_name: "PublicKey"))
497
512
  GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
498
513
  GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_pair_spec, Shapes::ShapeRef.new(shape: DataKeyPairSpec, location_name: "KeyPairSpec"))
514
+ GenerateDataKeyPairWithoutPlaintextResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
499
515
  GenerateDataKeyPairWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyPairWithoutPlaintextResponse
500
516
 
501
517
  GenerateDataKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -511,6 +527,7 @@ module Aws::KMS
511
527
  GenerateDataKeyResponse.add_member(:plaintext, Shapes::ShapeRef.new(shape: PlaintextType, location_name: "Plaintext"))
512
528
  GenerateDataKeyResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
513
529
  GenerateDataKeyResponse.add_member(:ciphertext_for_recipient, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextForRecipient"))
530
+ GenerateDataKeyResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
514
531
  GenerateDataKeyResponse.struct_class = Types::GenerateDataKeyResponse
515
532
 
516
533
  GenerateDataKeyWithoutPlaintextRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
@@ -523,6 +540,7 @@ module Aws::KMS
523
540
 
524
541
  GenerateDataKeyWithoutPlaintextResponse.add_member(:ciphertext_blob, Shapes::ShapeRef.new(shape: CiphertextType, location_name: "CiphertextBlob"))
525
542
  GenerateDataKeyWithoutPlaintextResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
543
+ GenerateDataKeyWithoutPlaintextResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
526
544
  GenerateDataKeyWithoutPlaintextResponse.struct_class = Types::GenerateDataKeyWithoutPlaintextResponse
527
545
 
528
546
  GenerateMacRequest.add_member(:message, Shapes::ShapeRef.new(shape: PlaintextType, required: true, location_name: "Message"))
@@ -615,8 +633,13 @@ module Aws::KMS
615
633
  ImportKeyMaterialRequest.add_member(:encrypted_key_material, Shapes::ShapeRef.new(shape: CiphertextType, required: true, location_name: "EncryptedKeyMaterial"))
616
634
  ImportKeyMaterialRequest.add_member(:valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ValidTo"))
617
635
  ImportKeyMaterialRequest.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
636
+ ImportKeyMaterialRequest.add_member(:import_type, Shapes::ShapeRef.new(shape: ImportType, location_name: "ImportType"))
637
+ ImportKeyMaterialRequest.add_member(:key_material_description, Shapes::ShapeRef.new(shape: KeyMaterialDescriptionType, location_name: "KeyMaterialDescription"))
638
+ ImportKeyMaterialRequest.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
618
639
  ImportKeyMaterialRequest.struct_class = Types::ImportKeyMaterialRequest
619
640
 
641
+ ImportKeyMaterialResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
642
+ ImportKeyMaterialResponse.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
620
643
  ImportKeyMaterialResponse.struct_class = Types::ImportKeyMaterialResponse
621
644
 
622
645
  IncorrectKeyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
@@ -697,6 +720,7 @@ module Aws::KMS
697
720
  KeyMetadata.add_member(:pending_deletion_window_in_days, Shapes::ShapeRef.new(shape: PendingWindowInDaysType, location_name: "PendingDeletionWindowInDays"))
698
721
  KeyMetadata.add_member(:mac_algorithms, Shapes::ShapeRef.new(shape: MacAlgorithmSpecList, location_name: "MacAlgorithms"))
699
722
  KeyMetadata.add_member(:xks_key_configuration, Shapes::ShapeRef.new(shape: XksKeyConfigurationType, location_name: "XksKeyConfiguration"))
723
+ KeyMetadata.add_member(:current_key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "CurrentKeyMaterialId"))
700
724
  KeyMetadata.struct_class = Types::KeyMetadata
701
725
 
702
726
  KeyUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessageType, location_name: "message"))
@@ -738,6 +762,7 @@ module Aws::KMS
738
762
  ListKeyPoliciesResponse.struct_class = Types::ListKeyPoliciesResponse
739
763
 
740
764
  ListKeyRotationsRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, required: true, location_name: "KeyId"))
765
+ ListKeyRotationsRequest.add_member(:include_key_material, Shapes::ShapeRef.new(shape: IncludeKeyMaterial, location_name: "IncludeKeyMaterial"))
741
766
  ListKeyRotationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: LimitType, location_name: "Limit"))
742
767
  ListKeyRotationsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: MarkerType, location_name: "Marker"))
743
768
  ListKeyRotationsRequest.struct_class = Types::ListKeyRotationsRequest
@@ -814,6 +839,8 @@ module Aws::KMS
814
839
  ReEncryptResponse.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
815
840
  ReEncryptResponse.add_member(:source_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "SourceEncryptionAlgorithm"))
816
841
  ReEncryptResponse.add_member(:destination_encryption_algorithm, Shapes::ShapeRef.new(shape: EncryptionAlgorithmSpec, location_name: "DestinationEncryptionAlgorithm"))
842
+ ReEncryptResponse.add_member(:source_key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "SourceKeyMaterialId"))
843
+ ReEncryptResponse.add_member(:destination_key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "DestinationKeyMaterialId"))
817
844
  ReEncryptResponse.struct_class = Types::ReEncryptResponse
818
845
 
819
846
  RecipientInfo.add_member(:key_encryption_algorithm, Shapes::ShapeRef.new(shape: KeyEncryptionMechanism, location_name: "KeyEncryptionAlgorithm"))
@@ -853,6 +880,12 @@ module Aws::KMS
853
880
  RotationsList.member = Shapes::ShapeRef.new(shape: RotationsListEntry)
854
881
 
855
882
  RotationsListEntry.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyIdType, location_name: "KeyId"))
883
+ RotationsListEntry.add_member(:key_material_id, Shapes::ShapeRef.new(shape: BackingKeyIdType, location_name: "KeyMaterialId"))
884
+ RotationsListEntry.add_member(:key_material_description, Shapes::ShapeRef.new(shape: KeyMaterialDescriptionType, location_name: "KeyMaterialDescription"))
885
+ RotationsListEntry.add_member(:import_state, Shapes::ShapeRef.new(shape: ImportState, location_name: "ImportState"))
886
+ RotationsListEntry.add_member(:key_material_state, Shapes::ShapeRef.new(shape: KeyMaterialState, location_name: "KeyMaterialState"))
887
+ RotationsListEntry.add_member(:expiration_model, Shapes::ShapeRef.new(shape: ExpirationModelType, location_name: "ExpirationModel"))
888
+ RotationsListEntry.add_member(:valid_to, Shapes::ShapeRef.new(shape: DateType, location_name: "ValidTo"))
856
889
  RotationsListEntry.add_member(:rotation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "RotationDate"))
857
890
  RotationsListEntry.add_member(:rotation_type, Shapes::ShapeRef.new(shape: RotationType, location_name: "RotationType"))
858
891
  RotationsListEntry.struct_class = Types::RotationsListEntry
@@ -1179,7 +1212,7 @@ module Aws::KMS
1179
1212
  o.http_method = "POST"
1180
1213
  o.http_request_uri = "/"
1181
1214
  o.input = Shapes::ShapeRef.new(shape: DeleteImportedKeyMaterialRequest)
1182
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1215
+ o.output = Shapes::ShapeRef.new(shape: DeleteImportedKeyMaterialResponse)
1183
1216
  o.errors << Shapes::ShapeRef.new(shape: InvalidArnException)
1184
1217
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
1185
1218
  o.errors << Shapes::ShapeRef.new(shape: DependencyTimeoutException)