1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/lib/fog/aws/requests
Stan Hu 3546408e47 Filter unknown UploadPartCopy paramaters
Previously attempting to use S3 server side encryption headers
(e.g. `x-amz-server-side-encryption`) would fail when attempting to use
`File#copy` because the method would pass these headers to the UploadPartCopy
(https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html)
API call. However, this would fail with an error:

```
<Code>InvalidArgument</Code>
<Message>x-amz-server-side-encryption header is not supported for this operation.</Message>
<ArgumentName>x-amz-server-side-encryption</ArgumentName>
<ArgumentValue>AES256</ArgumentValue>
```

This header can and should be used in the CompleteMultipartUpload
call. To support this, we filter out unknown headers in the
UploadPartCopy.
2021-01-09 21:35:18 -08:00
..
auto_scaling SetInstanceProtection endopoint for auto scaling groups support 2018-03-22 16:14:35 +07:00
beanstalk working tests 2015-01-02 09:42:20 -08:00
cdn Rename CDN::AWS to AWS::CDN 2018-09-06 14:53:44 -04:00
cloud_formation Added the Capabilities parameter to be able to change IAM related stuff 2016-11-25 15:47:04 +02:00
cloud_watch git grep -l "Compute::AWS" -- lib/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
compute allow for longer spot instance ids in mocks 2020-10-26 08:47:13 -05:00
data_pipeline data pipeline mocks 2016-11-04 09:02:49 -04:00
dns consolidate dns class methods, and fix broken tests 2019-06-26 10:47:56 -05:00
dynamodb Updated the update_item documentation based on the AWS DynamoDB API docs. 2019-02-08 13:05:21 -08:00
ecs Add missing parameter to update_service request documentation 2015-06-13 12:51:59 -03:00
efs Add encryption to EFS FileSystem creation 2018-06-20 12:37:09 -04:00
elasticache Add SecurityGroups to default keys in mock create_cache_cluster 2015-10-13 18:46:24 -04:00
elb git grep -l "Compute::AWS" -- lib/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
elbv2 Implement tests for ELBV2 tags 2020-01-13 17:17:13 +01:00
emr initial import 2014-12-31 09:17:51 -08:00
federation get signin token for federation 2015-01-29 12:44:50 -05:00
glacier Replaces usage of Digest with OpenSSL::Digest for #261 2016-06-22 22:54:05 -07:00
iam more instance profile mocks 2017-01-19 13:24:44 -05:00
kinesis Drop Ruby<2.0 support 2017-10-23 16:49:59 +03:00
kms kms service 2015-05-12 13:50:55 -07:00
lambda Fixed issue with InvocationType header for AWS Lambda 2019-06-07 09:49:07 +03:00
rds git grep -l "Compute::AWS" -- lib/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g" 2018-09-17 23:02:03 +09:00
redshift working tests 2015-01-02 09:42:20 -08:00
ses initial import 2014-12-31 09:17:51 -08:00
simpledb initial import 2014-12-31 09:17:51 -08:00
sns workaround 1.8.7 Hash#select 2015-05-13 09:54:58 -07:00
sqs Replaces usage of Digest with OpenSSL::Digest for #261 2016-06-22 22:54:05 -07:00
storage Filter unknown UploadPartCopy paramaters 2021-01-09 21:35:18 -08:00
sts Adds missing param WebIdentityToken for the request to the AWS api 2020-02-27 11:21:29 -08:00
support add support endpoint and models/requests for trusted advisor checks 2016-09-21 14:51:27 -04:00