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.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 # 
Data CompleteMultipartUpload Source # 

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

Methods

rnf :: CompleteMultipartUpload -> () #

AWSRequest CompleteMultipartUpload Source # 
ToElement CompleteMultipartUpload Source # 
ToQuery CompleteMultipartUpload Source # 
ToPath CompleteMultipartUpload Source # 
ToHeaders CompleteMultipartUpload Source # 
type Rep CompleteMultipartUpload Source # 
type Rep CompleteMultipartUpload = D1 (MetaData "CompleteMultipartUpload" "Network.AWS.S3.CompleteMultipartUpload" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "CompleteMultipartUpload'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cRequestPayer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestPayer))) (S1 (MetaSel (Just Symbol "_cMultipartUpload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CompletedMultipartUpload)))) ((:*:) (S1 (MetaSel (Just Symbol "_cBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) ((:*:) (S1 (MetaSel (Just Symbol "_cKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectKey)) (S1 (MetaSel (Just Symbol "_cUploadId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CompleteMultipartUpload Source # 

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

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 # 
Generic CompleteMultipartUploadResponse Source # 
NFData CompleteMultipartUploadResponse Source # 
type Rep CompleteMultipartUploadResponse Source # 
type Rep CompleteMultipartUploadResponse = D1 (MetaData "CompleteMultipartUploadResponse" "Network.AWS.S3.CompleteMultipartUpload" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "CompleteMultipartUploadResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_crsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged))) (S1 (MetaSel (Just Symbol "_crsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ETag)))) ((:*:) (S1 (MetaSel (Just Symbol "_crsVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectVersionId))) ((:*:) (S1 (MetaSel (Just Symbol "_crsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_crsExpiration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_crsBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketName))) (S1 (MetaSel (Just Symbol "_crsKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectKey)))) ((:*:) (S1 (MetaSel (Just Symbol "_crsSSEKMSKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_crsServerSideEncryption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServerSideEncryption))) (S1 (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))))

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