moto
moto copied to clipboard
DeliveryTimedOutCount missing from ssm list_commands output
import boto3
from moto import mock_ssm
mock = mock_ssm()
mock.start()
client = boto3.client("ssm", region_name="us-east-1")
client.send_command(DocumentName="AWS-RunShellScript", Parameters={"commands": ["ls"]})
response = client.list_commands()
print(response)
# this fails with a KeyError
assert response['Commands'][0]['DeliveryTimedOutCount'] == 0
moto 4.0.1
Thanks for raising this @tekumara - marking it as an enhancement to add this attribute.