boto/boto — pull request #2096 by stfp (2014-02-12 19:31:56+00:00)
Title: Route53: support "alias" rrs by exposing requirement element EvaluateTargetHealth

This hopefully very straightforward change makes it possible to create "alias resource record sets" from boto, by exposing the EvaluateTargetHealth element, which is mandatory for these records (see http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html#change-rrsets-request-evaluate-target-health)

As one of the provided tests shows, when omitting alias_evaluate_target_health=True|False (or without this change), AWS returns an error:

Request:

None

UPSERT

alias.example.com.
A

Z2ZCBXT3F7WTVE
target.example.com

Response:

SenderInvalidInput
Invalid XML ; cvc-complex-type.2.4.b: The content of element 'AliasTarget' is not complete.
One of '{"https://route53.amazonaws.com/doc/2013-04-01/":EvaluateTargetHealth}' is expected.

16f31455-9415-11e3-a090-a3885997c561