libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.Part

Description

 
Synopsis

Documentation

data Part Source #

Container for elements related to a part.

See: newPart smart constructor.

Constructors

Part' 

Fields

Instances

Instances details
Eq Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

(==) :: Part -> Part -> Bool #

(/=) :: Part -> Part -> Bool #

Read Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Show Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

showsPrec :: Int -> Part -> ShowS #

show :: Part -> String #

showList :: [Part] -> ShowS #

Generic Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Associated Types

type Rep Part :: Type -> Type #

Methods

from :: Part -> Rep Part x #

to :: Rep Part x -> Part #

NFData Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

rnf :: Part -> () #

Hashable Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

hashWithSalt :: Int -> Part -> Int #

hash :: Part -> Int #

FromXML Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

parseXML :: [Node] -> Either String Part #

type Rep Part Source # 
Instance details

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)))))

newPart :: Part Source #

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.

part_eTag :: Lens' Part (Maybe ETag) Source #

Entity tag returned when the part was uploaded.

part_size :: Lens' Part (Maybe Integer) Source #

Size in bytes of the uploaded part data.

part_partNumber :: Lens' Part (Maybe Int) Source #

Part number identifying the part. This is a positive integer between 1 and 10,000.

part_lastModified :: Lens' Part (Maybe UTCTime) Source #

Date and time at which the part was uploaded.