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 |
Documentation
Container for elements related to a part.
See: newPart
smart constructor.
Part' | |
|
Instances
Eq Part Source # | |
Read Part Source # | |
Show Part Source # | |
Generic Part Source # | |
NFData Part Source # | |
Defined in Amazonka.S3.Types.Part | |
Hashable Part Source # | |
Defined in Amazonka.S3.Types.Part | |
FromXML Part Source # | |
type Rep Part Source # | |
Defined in Amazonka.S3.Types.Part type Rep Part = D1 ('MetaData "Part" "Amazonka.S3.Types.Part" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Part'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ETag)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "partNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))) |
Create a value of Part
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:eTag:Part'
, part_eTag
- Entity tag returned when the part was uploaded.
$sel:size:Part'
, part_size
- Size in bytes of the uploaded part data.
$sel:partNumber:Part'
, part_partNumber
- Part number identifying the part. This is a positive integer between 1
and 10,000.
$sel:lastModified:Part'
, part_lastModified
- Date and time at which the part was uploaded.