-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
bugThis issue is a bug.This issue is a bug.module/powershell-cmdletsp0This issue is the highest priorityThis issue is the highest prioritypotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member
Description
Describe the bug
Starting from v4.1.883 sending email with Send-SES2Email cmdlet using a template generates an error:
Send-SES2Email: 1 validation error detected: Value at 'content.simple.subject' failed to satisfy constraint: Member must not be null
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Send-SES2Email sends email successfully
Current Behavior
Send-SES2Email: 1 validation error detected: Value at 'content.simple.subject' failed to satisfy constraint: Member must not be null
Reproduction Steps
Example command that works fine up to v4.1.882 but errors out with higher versions:
Send-SES2Email `
-TemplateContent_Subject 'Test' `
-TemplateContent_Html '<html><body>Hello {{NAME}}!</body></html>' `
-FromEmailAddress '[email protected]' `
-Destination_ToAddresses '[email protected]' `
-Template_TemplateData '{"NAME": "World"}'
Possible Solution
No response
Additional Information/Context
Issue seems to be related to commit 8085761 on branch v4.1
8085761#diff-0cd425a3dbe483647e69f884075ff0dc73826dad65bab072c0af0ad485da8d49
AWS Tools for PowerShell version used
AWSPowerShell.NetCore
AWS.Tools.SimpleEmailV2
PowerShell version used
4.1.883
Operating System and version
Windows 10, Windows 11
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.module/powershell-cmdletsp0This issue is the highest priorityThis issue is the highest prioritypotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member