Skip to content

Commit b1e2cd0

Browse files
author
AWS
committed
AWS Key Management Service Update: Remove unpopulated KeyMaterialId from Encrypt Response
1 parent 00ee1e5 commit b1e2cd0

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Key Management Service",
4+
"contributor": "",
5+
"description": "Remove unpopulated KeyMaterialId from Encrypt Response"
6+
}

services/kms/src/main/resources/codegen-resources/service-2.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@
16081608
},
16091609
"KeyMaterialId":{
16101610
"shape":"BackingKeyIdType",
1611-
"documentation":"<p>The identifier of the key material used to decrypt the ciphertext. This field is present only when the operation uses a symmetric encryption KMS key.</p>"
1611+
"documentation":"<p>The identifier of the key material used to decrypt the ciphertext. This field is present only when the operation uses a symmetric encryption KMS key. This field is omitted if the request includes the <code>Recipient</code> parameter.</p>"
16121612
}
16131613
}
16141614
},
@@ -1918,10 +1918,6 @@
19181918
"EncryptionAlgorithm":{
19191919
"shape":"EncryptionAlgorithmSpec",
19201920
"documentation":"<p>The encryption algorithm that was used to encrypt the plaintext.</p>"
1921-
},
1922-
"KeyMaterialId":{
1923-
"shape":"BackingKeyIdType",
1924-
"documentation":"<p>The identifier of the key material used to encrypt the ciphertext. This field is present only when the operation uses a symmetric encryption KMS key.</p>"
19251921
}
19261922
}
19271923
},
@@ -2023,7 +2019,7 @@
20232019
},
20242020
"KeyMaterialId":{
20252021
"shape":"BackingKeyIdType",
2026-
"documentation":"<p>The identifier of the key material used to encrypt the private key.</p>"
2022+
"documentation":"<p>The identifier of the key material used to encrypt the private key. This field is omitted if the request includes the <code>Recipient</code> parameter.</p>"
20272023
}
20282024
}
20292025
},
@@ -2136,7 +2132,7 @@
21362132
},
21372133
"KeyMaterialId":{
21382134
"shape":"BackingKeyIdType",
2139-
"documentation":"<p>The identifier of the key material used to encrypt the data key.</p>"
2135+
"documentation":"<p>The identifier of the key material used to encrypt the data key. This field is omitted if the request includes the <code>Recipient</code> parameter.</p>"
21402136
}
21412137
}
21422138
},

0 commit comments

Comments
 (0)