AWS cli documentation change
Summary
Added error documentation for checksum validation and updated Requester Pays description
Security assessment
Added checksum mismatch error documentation which relates to data integrity security feature, but no evidence of specific vulnerability addressed
Diff
diff --git a/cli/latest/reference/s3api/put-object.md b/cli/latest/reference/s3api/put-object.md index 9b4166282..58d426c40 100644 --- a//cli/latest/reference/s3api/put-object.md +++ b//cli/latest/reference/s3api/put-object.md @@ -15 +15 @@ - * [AWS CLI 2.33.8 Command Reference](../../index.html) » + * [AWS CLI 2.33.12 Command Reference](../../index.html) » @@ -122,0 +123,9 @@ HTTP Host header syntax +> +>> Errors + + * You might receive an `InvalidRequest` error for several reasons. Depending on the reason for the error, you might receive one of the following messages: + * Cannot specify both a write offset value and user-defined object metadata for existing objects. + * Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: crc32c. + * Request body cannot be empty when ‘write offset’ is specified. + + @@ -575 +584 @@ JSON Syntax: -> Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for corresponding charges to copy the object. For information about downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the _Amazon S3 User Guide_ . +> Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. If either the source or destination S3 bucket has Requester Pays enabled, the requester will pay for the corresponding charges. For information about downloading objects from Requester Pays buckets, see [Downloading Objects in Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the _Amazon S3 User Guide_ . @@ -904 +913 @@ RequestCharged -> (string) - * [AWS CLI 2.33.8 Command Reference](../../index.html) » + * [AWS CLI 2.33.12 Command Reference](../../index.html) »