-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete Tags in Elemental MediaTailor Playback Configurations #4337
Comments
For everyone else encountering the same problem, I am using the I manually check for differences in the tags and create a list of values that have to be removed, then I call both the |
Hi, I have reproduced this and seems like when the |
Hi there, This is a service related API design choice and not an issue with the SDK. From an API design perspective. It seems like Thanks, |
Comments on closed issues are hard for our team to see. |
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug
I am using the SDK to update Elemental MediaTailor Playback Configuration using the PutPlaybackConfiguration method.
When I try to update the Tags field (type
map[string]*string
) of a Playback Configuration with another map that does not include some or all the tags previously included, the previous tags are not deleted.Version of AWS SDK for Go?
v1.43.27
Version of Go (
go version
)?Go1.17.6
To Reproduce (observed behavior)
Initialize MediaTailor
Create a Playback Configuration with tags
Run
aws mediatailor get-playback-configuration --name="example"
and verify thatTags
is equal to:Update the Tags value to an empty map
Run
aws mediatailor get-playback-configuration --name="example"
and verify thatTags
is still equal to:Expected behavior
After updating the
Tags
field with an empty map, its value should be equal to:"Tags": {}
The text was updated successfully, but these errors were encountered: