| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Support.Types.Attachment
Description
Synopsis
- data Attachment = Attachment' {}
- newAttachment :: Attachment
- attachment_data :: Lens' Attachment (Maybe ByteString)
- attachment_fileName :: Lens' Attachment (Maybe Text)
Documentation
data Attachment Source #
An attachment to a case communication. The attachment consists of the file name and the content of the file.
See: newAttachment smart constructor.
Constructors
| Attachment' | |
Instances
newAttachment :: Attachment Source #
Create a value of Attachment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:data':Attachment', attachment_data - The content of the attachment file.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
$sel:fileName:Attachment', attachment_fileName - The name of the attachment file.
attachment_data :: Lens' Attachment (Maybe ByteString) Source #
The content of the attachment file.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
attachment_fileName :: Lens' Attachment (Maybe Text) Source #
The name of the attachment file.