aws-sdk-core 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,8 @@ module Aws
17
17
  def build_json(context)
18
18
  if shape = context.operation.input
19
19
  context.http_request.body = Builder.new.to_json(shape, context.params)
20
+ else
21
+ context.http_request.body = '{}'
20
22
  end
21
23
  end
22
24
 
@@ -25,7 +25,7 @@ module Aws
25
25
  def remove_id_prefixes(params)
26
26
  # Many operations accept of :id or :hosted_zone_id as a root-level
27
27
  # param, pruning prefixes from those.
28
- [:id, :hosted_zone_id].each do |key|
28
+ [:id, :hosted_zone_id, :delegation_set_id].each do |key|
29
29
  params[key] = remove_prefix(params[key]) if params[key]
30
30
  end
31
31
 
@@ -41,7 +41,7 @@ module Aws
41
41
  end
42
42
 
43
43
  def remove_prefix(str)
44
- str.sub(/^\/(hostedzone|change)\//, '')
44
+ str.sub(/^\/(hostedzone|change|delegationset)\//, '')
45
45
  end
46
46
 
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.0.6'
2
+ VERSION = '2.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-30 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json