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 KeyRange = KeyRange' {}
- newKeyRange :: KeyRange
- keyRange_endMarker :: Lens' KeyRange (Maybe Text)
- keyRange_beginMarker :: Lens' KeyRange (Maybe Text)
Documentation
Contains a key range. For export jobs, a S3Resource
object can have an
optional KeyRange
value. The length of the range is defined at job
creation, and has either an inclusive BeginMarker
, an inclusive
EndMarker
, or both. Ranges are UTF-8 binary sorted.
See: newKeyRange
smart constructor.
Instances
Eq KeyRange Source # | |
Read KeyRange Source # | |
Show KeyRange Source # | |
Generic KeyRange Source # | |
NFData KeyRange Source # | |
Defined in Amazonka.Snowball.Types.KeyRange | |
Hashable KeyRange Source # | |
Defined in Amazonka.Snowball.Types.KeyRange | |
ToJSON KeyRange Source # | |
Defined in Amazonka.Snowball.Types.KeyRange | |
FromJSON KeyRange Source # | |
type Rep KeyRange Source # | |
Defined in Amazonka.Snowball.Types.KeyRange type Rep KeyRange = D1 ('MetaData "KeyRange" "Amazonka.Snowball.Types.KeyRange" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "KeyRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "beginMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newKeyRange :: KeyRange Source #
Create a value of KeyRange
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:endMarker:KeyRange'
, keyRange_endMarker
- The key that ends an optional key range for an export job. Ranges are
inclusive and UTF-8 binary sorted.
$sel:beginMarker:KeyRange'
, keyRange_beginMarker
- The key that starts an optional key range for an export job. Ranges are
inclusive and UTF-8 binary sorted.