Skip to content

Commit

Permalink
Update tagged union message with clearer description (#2516)
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt authored Oct 4, 2021
1 parent ee45929 commit 1a50773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions botocore/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ def _has_unknown_tagged_union_member(self, shape, value):
if shape.is_tagged_union:
if len(value) != 1:
error_msg = (
"Invalid service response: %s must only have one member "
"set."
"Invalid service response: %s must have one and only "
"one member set."
)
raise ResponseParserError(error_msg % shape.name)
tag = self._get_first_key(value)
Expand Down

0 comments on commit 1a50773

Please sign in to comment.