aws-sdk-core 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/cloudfront/{2014-11-06 → 2015-04-17}/api-2.json +92 -52
- data/apis/cloudfront/{2014-11-06 → 2015-04-17}/paginators-1.json +0 -0
- data/apis/cloudfront/{2014-11-06 → 2015-04-17}/waiters-2.json +0 -0
- data/apis/cognito-identity/2014-06-30/api-2.json +18 -0
- data/apis/cognito-sync/2014-06-30/api-2.json +22 -0
- data/apis/config/2014-11-12/api-2.json +24 -1
- data/apis/glacier/2012-06-01/api-2.json +174 -0
- data/apis/lambda/2015-03-31/api-2.json +4 -1
- data/apis/opsworks/2013-02-18/api-2.json +88 -34
- data/apis/redshift/2012-12-01/api-2.json +423 -5
- data/apis/redshift/2012-12-01/waiters-2.json +33 -23
- data/lib/aws-sdk-core/api/docs/operation_documenter.rb +1 -1
- data/lib/aws-sdk-core/client_stubs.rb +2 -2
- data/lib/aws-sdk-core/cloudfront.rb +4 -4
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +6 -6
@@ -2,45 +2,50 @@
|
|
2
2
|
"version": 2,
|
3
3
|
"waiters": {
|
4
4
|
"ClusterAvailable": {
|
5
|
+
"delay": 60,
|
5
6
|
"operation": "DescribeClusters",
|
6
7
|
"maxAttempts": 30,
|
7
|
-
"delay": 60,
|
8
8
|
"acceptors": [
|
9
9
|
{
|
10
|
-
"
|
10
|
+
"expected": "available",
|
11
11
|
"matcher": "pathAll",
|
12
|
-
"
|
13
|
-
"
|
12
|
+
"state": "success",
|
13
|
+
"argument": "Clusters[].ClusterStatus"
|
14
14
|
},
|
15
15
|
{
|
16
|
-
"
|
16
|
+
"expected": "deleting",
|
17
17
|
"matcher": "pathAny",
|
18
|
-
"
|
19
|
-
"
|
18
|
+
"state": "failure",
|
19
|
+
"argument": "Clusters[].ClusterStatus"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"expected": "ClusterNotFound",
|
23
|
+
"matcher": "error",
|
24
|
+
"state": "retry"
|
20
25
|
}
|
21
26
|
]
|
22
27
|
},
|
23
28
|
"ClusterDeleted": {
|
29
|
+
"delay": 60,
|
24
30
|
"operation": "DescribeClusters",
|
25
31
|
"maxAttempts": 30,
|
26
|
-
"delay": 60,
|
27
32
|
"acceptors": [
|
28
33
|
{
|
29
|
-
"
|
34
|
+
"expected": "ClusterNotFound",
|
30
35
|
"matcher": "error",
|
31
|
-
"
|
36
|
+
"state": "success"
|
32
37
|
},
|
33
38
|
{
|
34
|
-
"
|
39
|
+
"expected": "creating",
|
35
40
|
"matcher": "pathAny",
|
36
|
-
"
|
37
|
-
"
|
41
|
+
"state": "failure",
|
42
|
+
"argument": "Clusters[].ClusterStatus"
|
38
43
|
},
|
39
44
|
{
|
45
|
+
"expected": "pathAny",
|
46
|
+
"matcher": "pathList",
|
40
47
|
"state": "failure",
|
41
|
-
"
|
42
|
-
"argument": "Clusters[].ClusterStatus",
|
43
|
-
"expected": "rebooting"
|
48
|
+
"argument": "Clusters[].ClusterStatus"
|
44
49
|
}
|
45
50
|
]
|
46
51
|
},
|
@@ -64,22 +69,27 @@
|
|
64
69
|
]
|
65
70
|
},
|
66
71
|
"SnapshotAvailable": {
|
72
|
+
"delay": 15,
|
67
73
|
"operation": "DescribeClusterSnapshots",
|
68
74
|
"maxAttempts": 20,
|
69
|
-
"delay": 15,
|
70
75
|
"acceptors": [
|
71
76
|
{
|
72
|
-
"
|
77
|
+
"expected": "available",
|
73
78
|
"matcher": "pathAll",
|
74
|
-
"
|
75
|
-
"
|
79
|
+
"state": "success",
|
80
|
+
"argument": "Snapshots[].Status"
|
76
81
|
},
|
77
82
|
{
|
83
|
+
"expected": "failed",
|
84
|
+
"matcher": "pathAny",
|
78
85
|
"state": "failure",
|
86
|
+
"argument": "Snapshots[].Status"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"expected": "deleted",
|
79
90
|
"matcher": "pathAny",
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"expected": "deleted"
|
91
|
+
"state": "failure",
|
92
|
+
"argument": "Snapshots[].Status"
|
83
93
|
}
|
84
94
|
]
|
85
95
|
}
|
@@ -71,7 +71,7 @@ module Aws
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def examples_from_disk(method_name, operation)
|
74
|
-
dir = "examples/#{@service_name.downcase}/client/#{method_name}/*.
|
74
|
+
dir = "examples/#{@service_name.downcase}/client/#{method_name}/*.rb"
|
75
75
|
Dir.glob(dir).map do |path|
|
76
76
|
title = File.basename(path).split(/\./).first
|
77
77
|
title = title.sub(/^\d+_/, '').gsub(/_/, ' ')
|
@@ -36,7 +36,7 @@ module Aws
|
|
36
36
|
#
|
37
37
|
# # stub data in the constructor
|
38
38
|
# client = Aws::S3::Client.new(stub_responses: {
|
39
|
-
# list_buckets: {
|
39
|
+
# list_buckets: { buckets: [{name: 'my-bucket' }] },
|
40
40
|
# get_object: { body: 'data' },
|
41
41
|
# })
|
42
42
|
#
|
@@ -46,7 +46,7 @@ module Aws
|
|
46
46
|
# You can also specify the stub data using {#stub_responses}
|
47
47
|
#
|
48
48
|
# client = Aws::S3::Client.new(stub_responses: true)
|
49
|
-
# client.
|
49
|
+
# client.stub_responses(:list_buckets, {
|
50
50
|
# buckets: [{ name: 'my-bucket' }]
|
51
51
|
# })
|
52
52
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Aws.add_service(:CloudFront, {
|
2
|
-
api: "#{Aws::API_DIR}/cloudfront/
|
3
|
-
docs: "#{Aws::API_DIR}/cloudfront/
|
4
|
-
paginators: "#{Aws::API_DIR}/cloudfront/
|
5
|
-
waiters: "#{Aws::API_DIR}/cloudfront/
|
2
|
+
api: "#{Aws::API_DIR}/cloudfront/2015-04-17/api-2.json",
|
3
|
+
docs: "#{Aws::API_DIR}/cloudfront/2015-04-17/docs-2.json",
|
4
|
+
paginators: "#{Aws::API_DIR}/cloudfront/2015-04-17/paginators-1.json",
|
5
|
+
waiters: "#{Aws::API_DIR}/cloudfront/2015-04-17/waiters-2.json",
|
6
6
|
})
|
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.2
|
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-06-
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jmespath
|
@@ -39,9 +39,9 @@ files:
|
|
39
39
|
- apis/cloudformation/2010-05-15/paginators-1.json
|
40
40
|
- apis/cloudformation/2010-05-15/resources-1.json
|
41
41
|
- apis/cloudformation/2010-05-15/waiters-2.json
|
42
|
-
- apis/cloudfront/
|
43
|
-
- apis/cloudfront/
|
44
|
-
- apis/cloudfront/
|
42
|
+
- apis/cloudfront/2015-04-17/api-2.json
|
43
|
+
- apis/cloudfront/2015-04-17/paginators-1.json
|
44
|
+
- apis/cloudfront/2015-04-17/waiters-2.json
|
45
45
|
- apis/cloudhsm/2014-05-30/api-2.json
|
46
46
|
- apis/cloudsearch/2013-01-01/api-2.json
|
47
47
|
- apis/cloudsearch/2013-01-01/paginators-1.json
|
@@ -386,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
386
386
|
version: '0'
|
387
387
|
requirements: []
|
388
388
|
rubyforge_project:
|
389
|
-
rubygems_version: 2.4.
|
389
|
+
rubygems_version: 2.4.6
|
390
390
|
signing_key:
|
391
391
|
specification_version: 4
|
392
392
|
summary: AWS SDK for Ruby - Core
|