Symptoms:
toString()
method for data received with the AWS Orchestrator plugin produces an incorrect JSON formatvar instanceDetails = ec2Client.describeInstances(new EC2DescribeInstancesRequest().withInstanceIds([instanceId]));
System.log(instanceDetails.toString());
Aria Automation Orchestrator AWS plugin 1.3.1
The toString() method is implemented by the AWS SDK, not by the plug-in code: "Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value."
The AWS SDK returns a string and not a JSON format, although the returned objects may look like JSON.