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.CompleteMultipartUpload

Contents

Description

Completes a multipart upload by assembling previously uploaded parts.

Synopsis

Creating a Request

completeMultipartUpload Source #

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

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

data CompleteMultipartUpload Source #

See: completeMultipartUpload smart constructor.

Instances
Eq CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Data CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Methods

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

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

toConstr :: CompleteMultipartUpload -> Constr #

dataTypeOf :: CompleteMultipartUpload -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Show CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Generic CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Associated Types

type Rep CompleteMultipartUpload :: Type -> Type #

Hashable CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

AWSRequest CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Associated Types

type Rs CompleteMultipartUpload :: Type #

ToElement CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

ToHeaders CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

ToPath CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

ToQuery CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

NFData CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Methods

rnf :: CompleteMultipartUpload -> () #

type Rep CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

type Rep CompleteMultipartUpload = D1 (MetaData "CompleteMultipartUpload" "Network.AWS.S3.CompleteMultipartUpload" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "CompleteMultipartUpload'" PrefixI True) ((S1 (MetaSel (Just "_cRequestPayer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestPayer)) :*: S1 (MetaSel (Just "_cMultipartUpload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CompletedMultipartUpload))) :*: (S1 (MetaSel (Just "_cBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: (S1 (MetaSel (Just "_cKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectKey) :*: S1 (MetaSel (Just "_cUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CompleteMultipartUpload Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Request Lenses

Destructuring the Response

completeMultipartUploadResponse Source #

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

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

  • crsRequestCharged - Undocumented member.
  • crsETag - Entity tag of the object.
  • crsVersionId - Version of the object.
  • crsLocation - Undocumented member.
  • crsExpiration - If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.
  • crsBucket - Undocumented member.
  • crsKey - Undocumented member.
  • crsSSEKMSKeyId - If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object.
  • crsServerSideEncryption - The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
  • crsResponseStatus - -- | The response status code.

data CompleteMultipartUploadResponse Source #

See: completeMultipartUploadResponse smart constructor.

Instances
Eq CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Data CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Methods

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

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

toConstr :: CompleteMultipartUploadResponse -> Constr #

dataTypeOf :: CompleteMultipartUploadResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Generic CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Associated Types

type Rep CompleteMultipartUploadResponse :: Type -> Type #

NFData CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

type Rep CompleteMultipartUploadResponse Source # 
Instance details

Defined in Network.AWS.S3.CompleteMultipartUpload

Response Lenses

crsExpiration :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #

If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.

crsSSEKMSKeyId :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #

If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object.

crsServerSideEncryption :: Lens' CompleteMultipartUploadResponse (Maybe ServerSideEncryption) Source #

The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).