fix: remove namespace restrictions on tag xml input

Fixes #447. Previously we required XML namespace and got these
errors with this input:
DEBUG:  <Tagging><TagSet><Tag><Key>mykey</Key><Value>myvalue</Value></Tag></TagSet></Tagging>
DEBUG: expected element <Tagging> in name space http://s3.amazonaws.com/doc/2006-03-01/ but have no name space
This commit is contained in:
Ben McClelland
2024-03-11 21:01:37 -07:00
parent 541fa58ef0
commit 0d8a4f5791
2 changed files with 6 additions and 2 deletions

View File

@@ -112,6 +112,10 @@ type Tagging struct {
TagSet TagSet `xml:"TagSet"`
}
type TaggingInput struct {
TagSet TagSet `xml:"TagSet"`
}
type DeleteObjects struct {
Objects []types.ObjectIdentifier `xml:"Object"`
}