Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Record = Record' {}
- newRecord :: ByteString -> Record
- record_data :: Lens' Record ByteString
Documentation
The unit of data in a delivery stream.
See: newRecord
smart constructor.
Instances
Eq Record Source # | |
Read Record Source # | |
Show Record Source # | |
Generic Record Source # | |
NFData Record Source # | |
Defined in Amazonka.Firehose.Types.Record | |
Hashable Record Source # | |
Defined in Amazonka.Firehose.Types.Record | |
ToJSON Record Source # | |
Defined in Amazonka.Firehose.Types.Record | |
type Rep Record Source # | |
Defined in Amazonka.Firehose.Types.Record |
Create a value of Record
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':Record'
, record_data
- The data blob, which is base64-encoded when the blob is serialized. The
maximum size of the data blob, before base64-encoding, is 1,000 KiB.--
-- 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.
record_data :: Lens' Record ByteString Source #
The data blob, which is base64-encoded when the blob is serialized. The
maximum size of the data blob, before base64-encoding, is 1,000 KiB.--
-- 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.