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

Copyright(c) 2013-2018 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 # 
Instance details

Defined in Network.AWS.S3.ListParts

Data ListParts Source # 
Instance details

Defined in Network.AWS.S3.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 Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Show ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Generic ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Associated Types

type Rep ListParts :: Type -> Type #

Hashable ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

AWSPager ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

AWSRequest ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Associated Types

type Rs ListParts :: Type #

ToHeaders ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Methods

toHeaders :: ListParts -> [Header] #

ToPath ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

ToQuery ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

NFData ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Methods

rnf :: ListParts -> () #

type Rep ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

type Rs ListParts Source # 
Instance details

Defined in Network.AWS.S3.ListParts

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 # 
Instance details

Defined in Network.AWS.S3.ListParts

Data ListPartsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListParts

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 # 
Instance details

Defined in Network.AWS.S3.ListParts

Show ListPartsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Generic ListPartsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Associated Types

type Rep ListPartsResponse :: Type -> Type #

NFData ListPartsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListParts

Methods

rnf :: ListPartsResponse -> () #

type Rep ListPartsResponse Source # 
Instance details

Defined in Network.AWS.S3.ListParts

type Rep ListPartsResponse = D1 (MetaData "ListPartsResponse" "Network.AWS.S3.ListParts" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "ListPartsResponse'" PrefixI True) (((S1 (MetaSel (Just "_lprsParts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Part])) :*: (S1 (MetaSel (Just "_lprsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged)) :*: S1 (MetaSel (Just "_lprsMaxParts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 (MetaSel (Just "_lprsInitiator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Initiator)) :*: S1 (MetaSel (Just "_lprsBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketName))) :*: (S1 (MetaSel (Just "_lprsAbortDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RFC822)) :*: S1 (MetaSel (Just "_lprsNextPartNumberMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 (MetaSel (Just "_lprsAbortRuleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lprsOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Owner))) :*: (S1 (MetaSel (Just "_lprsKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectKey)) :*: S1 (MetaSel (Just "_lprsStorageClass") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StorageClass)))) :*: ((S1 (MetaSel (Just "_lprsIsTruncated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lprsPartNumberMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_lprsUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.