aws-sdk-core 2.1.23 → 2.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/apis/cloudformation/2010-05-15/api-2.json +45 -0
- data/apis/cognito-identity/2014-06-30/api-2.json +2 -2
- data/apis/cognito-sync/2014-06-30/api-2.json +2 -2
- data/apis/ec2/{2015-04-15 → 2015-10-01}/api-2.json +63 -5
- data/apis/ec2/{2015-04-15 → 2015-10-01}/paginators-1.json +0 -0
- data/apis/ec2/{2015-04-15 → 2015-10-01}/resources-1.json +0 -0
- data/apis/ec2/{2015-04-15 → 2015-10-01}/waiters-2.json +0 -0
- data/apis/email/2010-12-01/api-2.json +1134 -18
- data/lib/aws-sdk-core.rb +1 -0
- data/lib/aws-sdk-core/dynamodb/attribute_value.rb +3 -0
- data/lib/aws-sdk-core/ec2.rb +5 -5
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +6 -6
data/lib/aws-sdk-core.rb
CHANGED
|
@@ -21,6 +21,7 @@ module Aws
|
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
class Marshaler
|
|
24
|
+
STRINGY_TEST = lambda { |val| val.respond_to?(:to_str) }
|
|
24
25
|
|
|
25
26
|
def format(obj)
|
|
26
27
|
case obj
|
|
@@ -34,6 +35,7 @@ module Aws
|
|
|
34
35
|
end
|
|
35
36
|
when String then { s: obj }
|
|
36
37
|
when Symbol then { s: obj.to_s }
|
|
38
|
+
when STRINGY_TEST then { s: obj.to_str }
|
|
37
39
|
when Numeric then { n: obj.to_s }
|
|
38
40
|
when StringIO, IO then { b: obj }
|
|
39
41
|
when Set then format_set(obj)
|
|
@@ -51,6 +53,7 @@ module Aws
|
|
|
51
53
|
def format_set(set)
|
|
52
54
|
case set.first
|
|
53
55
|
when String, Symbol then { ss: set.map(&:to_s) }
|
|
56
|
+
when STRINGY_TEST then { ss: set.map(&:to_str) }
|
|
54
57
|
when Numeric then { ns: set.map(&:to_s) }
|
|
55
58
|
when StringIO, IO then { bs: set.to_a }
|
|
56
59
|
else
|
data/lib/aws-sdk-core/ec2.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Aws.add_service(:EC2, {
|
|
2
|
-
api: "#{Aws::API_DIR}/ec2/2015-
|
|
3
|
-
docs: "#{Aws::API_DIR}/ec2/2015-
|
|
4
|
-
paginators: "#{Aws::API_DIR}/ec2/2015-
|
|
5
|
-
resources: "#{Aws::API_DIR}/ec2/2015-
|
|
6
|
-
waiters: "#{Aws::API_DIR}/ec2/2015-
|
|
2
|
+
api: "#{Aws::API_DIR}/ec2/2015-10-01/api-2.json",
|
|
3
|
+
docs: "#{Aws::API_DIR}/ec2/2015-10-01/docs-2.json",
|
|
4
|
+
paginators: "#{Aws::API_DIR}/ec2/2015-10-01/paginators-1.json",
|
|
5
|
+
resources: "#{Aws::API_DIR}/ec2/2015-10-01/resources-1.json",
|
|
6
|
+
waiters: "#{Aws::API_DIR}/ec2/2015-10-01/waiters-2.json",
|
|
7
7
|
})
|
data/lib/aws-sdk-core/version.rb
CHANGED
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.1.
|
|
4
|
+
version: 2.1.24
|
|
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: 2015-09-
|
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|
|
@@ -68,10 +68,10 @@ files:
|
|
|
68
68
|
- apis/dynamodb/2012-08-10/paginators-1.json
|
|
69
69
|
- apis/dynamodb/2012-08-10/resources-1.json
|
|
70
70
|
- apis/dynamodb/2012-08-10/waiters-2.json
|
|
71
|
-
- apis/ec2/2015-
|
|
72
|
-
- apis/ec2/2015-
|
|
73
|
-
- apis/ec2/2015-
|
|
74
|
-
- apis/ec2/2015-
|
|
71
|
+
- apis/ec2/2015-10-01/api-2.json
|
|
72
|
+
- apis/ec2/2015-10-01/paginators-1.json
|
|
73
|
+
- apis/ec2/2015-10-01/resources-1.json
|
|
74
|
+
- apis/ec2/2015-10-01/waiters-2.json
|
|
75
75
|
- apis/ecs/2014-11-13/api-2.json
|
|
76
76
|
- apis/ecs/2014-11-13/paginators-1.json
|
|
77
77
|
- apis/ecs/2014-11-13/waiters-2.json
|