-- | Optional. Optional data that, if specified, must also be provided during
-- decryption through DecryptRequest.additional_authenticated_data. The
-- maximum size depends on the key version\'s protection_level. For
-- SOFTWARE keys, the AAD must be no larger than 64KiB. For HSM keys, the
-- combined length of the plaintext and additional_authenticated_data
-- fields must be no larger than 8KiB.
erAdditionalAuthenticatedData :: Lens' EncryptRequest (Maybe ByteString)
erAdditionalAuthenticatedData
  = lens _erAdditionalAuthenticatedData
      (\ s a -> s{_erAdditionalAuthenticatedData = a})
      . mapping _Bytes
erAdditionalAuthenticatedData :: Lens' EncryptRequest (Maybe ByteString)
erAdditionalAuthenticatedData
  = lens _erAdditionalAuthenticatedData
      (\ s a -> s{_erAdditionalAuthenticatedData = a})
      . mapping _Bytes
erAdditionalAuthenticatedData
  = lens _erAdditionalAuthenticatedData
      (\ s a -> s{_erAdditionalAuthenticatedData = a})
      . mapping _Bytes