1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/aws
Matthew O'Riordan 602f7d3355 Support for required EvaluateTargetHealth for ALIAS records
Note an error was being raised when using the old API about EvaluateTargetHealth being missing.

```
Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request)
  response => #<Excon::Response:0x007fde3baf66a0 @data={:body=>"<?xml version=\"1.0\"?>\n<ErrorResponse xmlns=\"https://route53.amazonaws.com/doc/2013-04-01/\"><Error><Type>Sender</Type><Code>InvalidInput</Code><Message>Invalid XML ; cvc-complex-type.2.4.b: The content of element 'AliasTarget' is not complete. One of '{&quot;https://route53.amazonaws.com/doc/2013-04-01/&quot;:EvaluateTargetHealth}' is expected.</Message></Error><RequestId>f141b55c-f726-11e3-b2ac-73337c63db62</RequestId></ErrorResponse>", :headers=>{"x-amzn-RequestId"=>"f141b55c-f726-11e3-b2ac-73337c63db62", "Content-Type"=>"text/xml", "Content-Length"=>"438", "Date"=>"Wed, 18 Jun 2014 20:27:17 GMT"}, :status=>400, :remote_ip=>"72.21.214.31", :local_port=>60240, :local_address=>"192.168.1.85"}, @body="<?xml version=\"1.0\"?>\n<ErrorResponse xmlns=\"https://route53.amazonaws.com/doc/2013-04-01/\"><Error><Type>Sender</Type><Code>InvalidInput</Code><Message>Invalid XML ; cvc-complex-type.2.4.b: The content of element 'AliasTarget' is not complete. One of '{&quot;https://route53.amazonaws.com/doc/2013-04-01/&quot;:EvaluateTargetHealth}' is expected.</Message></Error><RequestId>f141b55c-f726-11e3-b2ac-73337c63db62</RequestId></ErrorResponse>", @headers={"x-amzn-RequestId"=>"f141b55c-f726-11e3-b2ac-73337c63db62", "Content-Type"=>"text/xml", "Content-Length"=>"438", "Date"=>"Wed, 18 Jun 2014 20:27:17 GMT"}, @status=400, @remote_ip="72.21.214.31", @local_port=60240, @local_address="192.168.1.85">
	from /gems/ruby-2.0.0-p353/gems/excon-0.37.0/lib/excon/middlewares/expects.rb:6:in `response_call'
	from /gems/ruby-2.0.0-p353/gems/excon-0.37.0/lib/excon/middlewares/response_parser.rb:26:in `response_call'
	from /gems/ruby-2.0.0-p353/gems/excon-0.37.0/lib/excon/connection.rb:402:in `response'
	from /gems/ruby-2.0.0-p353/gems/excon-0.37.0/lib/excon/connection.rb:272:in `request'
	from /gems/ruby-2.0.0-p353/gems/fog-1.22.1/lib/fog/xml/sax_parser_connection.rb:35:in `request'
	from /gems/ruby-2.0.0-p353/gems/fog-1.22.1/lib/fog/xml.rb:21:in `request'
	from /gems/ruby-2.0.0-p353/gems/fog-1.22.1/lib/fog/aws/dns.rb:126:in `request'
	from /gems/ruby-2.0.0-p353/gems/fog-1.22.1/lib/fog/aws/requests/dns/change_resource_record_sets.rb:120:in `change_resource_record_sets'
```
2014-06-18 23:32:57 +01:00
..
elb [AWS|ELB] add ProxyProtocolPolicyType (and formatting) 2013-07-31 23:34:21 -04:00
models Merge pull request #2975 from engineyard/r3 2014-06-05 09:31:34 -05:00
parsers Merge pull request #2982 from 20goto10/feature/fix_pending_engine_version 2014-06-06 15:11:51 -05:00
requests Support for required EvaluateTargetHealth for ALIAS records 2014-06-18 23:32:57 +01:00
auto_scaling.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
beanstalk.rb Remove trailing whitespace 2014-05-26 14:44:18 +01:00
cdn.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
cloud_formation.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
cloud_watch.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
compute.rb Merge pull request #2947 from gregburek/correct-ec2-api-version 2014-05-27 14:06:31 -05:00
core.rb Standardise on collection methods 2014-05-26 16:22:07 +01:00
credential_fetcher.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
data_pipeline.rb [GH-2711] Replace Fog::Connection with XML shim 2014-02-27 00:54:17 +00:00
dns.rb Support for required EvaluateTargetHealth for ALIAS records 2014-06-18 23:32:57 +01:00
dynamodb.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
elasticache.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
elb.rb properly initialize compute object inside elb methods 2014-06-05 11:56:40 -04:00
emr.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
glacier.rb Standardise on collection methods 2014-05-26 16:22:07 +01:00
iam.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
rds.rb Remove trailing whitespace 2014-05-26 14:44:18 +01:00
redshift.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
region_methods.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
ses.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
signaturev4.rb Standardise on collection methods 2014-05-26 16:22:07 +01:00
simpledb.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
sns.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
sqs.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
storage.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00
sts.rb Standardise empty lines throughout codebase 2014-05-26 14:20:02 +01:00