You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe there's a pre-existing issue filed for botocore against this.
This has been reported in the AWS CLI repo here: aws/aws-cli#356
The fix will have to happen in botocore.
From looking into this, it looks like the Map parameter is missing a build_parameter_rest. It has a build_parameter_query/build_parameter_json method, but the build_parameter_rest is inherited from the base class. This means that the final serialization of the metadata param is:
And because x-amz-meta- is a dictionary, this will raise an error later on in the auth module which expects the header to be a string. The expected serialization is:
I don't believe there's a pre-existing issue filed for botocore against this.
This has been reported in the AWS CLI repo here: aws/aws-cli#356
The fix will have to happen in botocore.
From looking into this, it looks like the Map parameter is missing a build_parameter_rest. It has a build_parameter_query/build_parameter_json method, but the build_parameter_rest is inherited from the base class. This means that the final serialization of the
metadata
param is:And because
x-amz-meta-
is a dictionary, this will raise an error later on in the auth module which expects the header to be a string. The expected serialization is:From what I can tell, s3 is the only rest-xml service that uses map types, so we can put in a specific case for rest-xml:
The text was updated successfully, but these errors were encountered: