amazonka-s3-1.4.5: Amazon Simple Storage Service SDK.

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

Network.AWS.S3.ListParts

Contents

Description

Lists the parts that have been uploaded for a specific multipart upload.

This operation returns paginated results.

Synopsis

Creating a Request

listParts #

Creates a value of ListParts with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lpMaxParts - Sets the maximum number of parts to return.
  • lpRequestPayer - Undocumented member.
  • lpPartNumberMarker - Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.
  • lpBucket - Undocumented member.
  • lpKey - Undocumented member.
  • lpUploadId - Upload ID identifying the multipart upload whose parts are being listed.

data ListParts #

See: listParts smart constructor.

Instances

Eq ListParts # 
Data ListParts # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListParts -> c ListParts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListParts #

toConstr :: ListParts -> Constr #

dataTypeOf :: ListParts -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListParts) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListParts) #

gmapT :: (forall b. Data b => b -> b) -> ListParts -> ListParts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListParts -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListParts -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListParts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListParts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListParts -> m ListParts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListParts -> m ListParts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListParts -> m ListParts #

Read ListParts # 
Show ListParts # 
Generic ListParts # 

Associated Types

type Rep ListParts :: * -> * #

Hashable ListParts # 
NFData ListParts # 

Methods

rnf :: ListParts -> () #

AWSPager ListParts # 
AWSRequest ListParts # 
ToQuery ListParts # 
ToPath ListParts # 
ToHeaders ListParts # 

Methods

toHeaders :: ListParts -> [Header] #

type Rep ListParts # 
type Rs ListParts # 

Request Lenses

lpMaxParts :: Lens' ListParts (Maybe Int) #

Sets the maximum number of parts to return.

lpPartNumberMarker :: Lens' ListParts (Maybe Int) #

Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.

lpBucket :: Lens' ListParts BucketName #

Undocumented member.

lpKey :: Lens' ListParts ObjectKey #

Undocumented member.

lpUploadId :: Lens' ListParts Text #

Upload ID identifying the multipart upload whose parts are being listed.

Destructuring the Response

listPartsResponse #

Creates a value of ListPartsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lprsParts - Undocumented member.
  • lprsRequestCharged - Undocumented member.
  • lprsMaxParts - Maximum number of parts that were allowed in the response.
  • lprsInitiator - Identifies who initiated the multipart upload.
  • lprsBucket - Name of the bucket to which the multipart upload was initiated.
  • lprsAbortDate - Date when multipart upload will become eligible for abort operation by lifecycle.
  • lprsNextPartNumberMarker - When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.
  • lprsAbortRuleId - Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
  • lprsOwner - Undocumented member.
  • lprsKey - Object key for which the multipart upload was initiated.
  • lprsStorageClass - The class of storage used to store the object.
  • lprsIsTruncated - Indicates whether the returned list of parts is truncated.
  • lprsPartNumberMarker - Part number after which listing begins.
  • lprsUploadId - Upload ID identifying the multipart upload whose parts are being listed.
  • lprsResponseStatus - -- | The response status code.

data ListPartsResponse #

See: listPartsResponse smart constructor.

Instances

Eq ListPartsResponse # 
Data ListPartsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPartsResponse -> c ListPartsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPartsResponse #

toConstr :: ListPartsResponse -> Constr #

dataTypeOf :: ListPartsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListPartsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPartsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListPartsResponse -> ListPartsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPartsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPartsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPartsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPartsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPartsResponse -> m ListPartsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPartsResponse -> m ListPartsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPartsResponse -> m ListPartsResponse #

Read ListPartsResponse # 
Show ListPartsResponse # 
Generic ListPartsResponse # 
NFData ListPartsResponse # 

Methods

rnf :: ListPartsResponse -> () #

type Rep ListPartsResponse # 
type Rep ListPartsResponse = D1 (MetaData "ListPartsResponse" "Network.AWS.S3.ListParts" "amazonka-s3-1.4.5-2aWx4hFX4jc9aUoF72WoFH" False) (C1 (MetaCons "ListPartsResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lprsParts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Part]))) ((:*:) (S1 (MetaSel (Just Symbol "_lprsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged))) (S1 (MetaSel (Just Symbol "_lprsMaxParts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lprsInitiator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Initiator))) (S1 (MetaSel (Just Symbol "_lprsBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketName)))) ((:*:) (S1 (MetaSel (Just Symbol "_lprsAbortDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RFC822))) (S1 (MetaSel (Just Symbol "_lprsNextPartNumberMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lprsAbortRuleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lprsOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Owner)))) ((:*:) (S1 (MetaSel (Just Symbol "_lprsKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectKey))) (S1 (MetaSel (Just Symbol "_lprsStorageClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StorageClass))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lprsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lprsPartNumberMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_lprsUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))))

Response Lenses

lprsParts :: Lens' ListPartsResponse [Part] #

Undocumented member.

lprsMaxParts :: Lens' ListPartsResponse (Maybe Int) #

Maximum number of parts that were allowed in the response.

lprsInitiator :: Lens' ListPartsResponse (Maybe Initiator) #

Identifies who initiated the multipart upload.

lprsBucket :: Lens' ListPartsResponse (Maybe BucketName) #

Name of the bucket to which the multipart upload was initiated.

lprsAbortDate :: Lens' ListPartsResponse (Maybe UTCTime) #

Date when multipart upload will become eligible for abort operation by lifecycle.

lprsNextPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) #

When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.

lprsAbortRuleId :: Lens' ListPartsResponse (Maybe Text) #

Id of the lifecycle rule that makes a multipart upload eligible for abort operation.

lprsOwner :: Lens' ListPartsResponse (Maybe Owner) #

Undocumented member.

lprsKey :: Lens' ListPartsResponse (Maybe ObjectKey) #

Object key for which the multipart upload was initiated.

lprsStorageClass :: Lens' ListPartsResponse (Maybe StorageClass) #

The class of storage used to store the object.

lprsIsTruncated :: Lens' ListPartsResponse (Maybe Bool) #

Indicates whether the returned list of parts is truncated.

lprsPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) #

Part number after which listing begins.

lprsUploadId :: Lens' ListPartsResponse (Maybe Text) #

Upload ID identifying the multipart upload whose parts are being listed.

lprsResponseStatus :: Lens' ListPartsResponse Int #

  • - | The response status code.