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 Segment = Segment' {}
- newSegment :: Natural -> Natural -> Segment
- segment_segmentNumber :: Lens' Segment Natural
- segment_totalSegments :: Lens' Segment Natural
Documentation
Defines a non-overlapping region of a table's partitions, allowing multiple requests to be run in parallel.
See: newSegment
smart constructor.
Segment' | |
|
Instances
Eq Segment Source # | |
Read Segment Source # | |
Show Segment Source # | |
Generic Segment Source # | |
NFData Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
Hashable Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
ToJSON Segment Source # | |
Defined in Amazonka.Glue.Types.Segment | |
type Rep Segment Source # | |
Defined in Amazonka.Glue.Types.Segment type Rep Segment = D1 ('MetaData "Segment" "Amazonka.Glue.Types.Segment" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "Segment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "segmentNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "totalSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))) |
Create a value of Segment
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:segmentNumber:Segment'
, segment_segmentNumber
- The zero-based index number of the segment. For example, if the total
number of segments is 4, SegmentNumber
values range from 0 through 3.
$sel:totalSegments:Segment'
, segment_totalSegments
- The total number of segments.