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

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

See: listParts smart constructor.

Instances

Eq ListParts Source # 
Data ListParts Source # 

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 Source # 
Show ListParts Source # 
Generic ListParts Source # 

Associated Types

type Rep ListParts :: * -> * #

Hashable ListParts Source # 
NFData ListParts Source # 

Methods

rnf :: ListParts -> () #

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

Methods

toHeaders :: ListParts -> [Header] #

type Rep ListParts Source # 
type Rs ListParts Source # 

Request Lenses

lpMaxParts :: Lens' ListParts (Maybe Int) Source #

Sets the maximum number of parts to return.

lpPartNumberMarker :: Lens' ListParts (Maybe Int) Source #

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

lpBucket :: Lens' ListParts BucketName Source #

Undocumented member.

lpKey :: Lens' ListParts ObjectKey Source #

Undocumented member.

lpUploadId :: Lens' ListParts Text Source #

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

Destructuring the Response

listPartsResponse Source #

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 Source #

See: listPartsResponse smart constructor.

Instances

Eq ListPartsResponse Source # 
Data ListPartsResponse Source # 

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 Source # 
Show ListPartsResponse Source # 
Generic ListPartsResponse Source # 
NFData ListPartsResponse Source # 

Methods

rnf :: ListPartsResponse -> () #

type Rep ListPartsResponse Source # 
type Rep ListPartsResponse = D1 (MetaData "ListPartsResponse" "Network.AWS.S3.ListParts" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" 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 DecidedStrict) (Rec0 Int)))))))

Response Lenses

lprsParts :: Lens' ListPartsResponse [Part] Source #

Undocumented member.

lprsMaxParts :: Lens' ListPartsResponse (Maybe Int) Source #

Maximum number of parts that were allowed in the response.

lprsInitiator :: Lens' ListPartsResponse (Maybe Initiator) Source #

Identifies who initiated the multipart upload.

lprsBucket :: Lens' ListPartsResponse (Maybe BucketName) Source #

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

lprsAbortDate :: Lens' ListPartsResponse (Maybe UTCTime) Source #

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

lprsNextPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) Source #

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

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

lprsKey :: Lens' ListPartsResponse (Maybe ObjectKey) Source #

Object key for which the multipart upload was initiated.

lprsStorageClass :: Lens' ListPartsResponse (Maybe StorageClass) Source #

The class of storage used to store the object.

lprsIsTruncated :: Lens' ListPartsResponse (Maybe Bool) Source #

Indicates whether the returned list of parts is truncated.

lprsPartNumberMarker :: Lens' ListPartsResponse (Maybe Int) Source #

Part number after which listing begins.

lprsUploadId :: Lens' ListPartsResponse (Maybe Text) Source #

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

lprsResponseStatus :: Lens' ListPartsResponse Int Source #

  • - | The response status code.