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.
@@ -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
- "state": "success",
10
+ "expected": "available",
11
11
  "matcher": "pathAll",
12
- "argument": "Clusters[].ClusterStatus",
13
- "expected": "available"
12
+ "state": "success",
13
+ "argument": "Clusters[].ClusterStatus"
14
14
  },
15
15
  {
16
- "state": "failure",
16
+ "expected": "deleting",
17
17
  "matcher": "pathAny",
18
- "argument": "Clusters[].ClusterStatus",
19
- "expected": "deleting"
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
- "state": "success",
34
+ "expected": "ClusterNotFound",
30
35
  "matcher": "error",
31
- "expected": "ClusterNotFound"
36
+ "state": "success"
32
37
  },
33
38
  {
34
- "state": "failure",
39
+ "expected": "creating",
35
40
  "matcher": "pathAny",
36
- "argument": "Clusters[].ClusterStatus",
37
- "expected": "creating"
41
+ "state": "failure",
42
+ "argument": "Clusters[].ClusterStatus"
38
43
  },
39
44
  {
45
+ "expected": "pathAny",
46
+ "matcher": "pathList",
40
47
  "state": "failure",
41
- "matcher": "pathAny",
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
- "state": "success",
77
+ "expected": "available",
73
78
  "matcher": "pathAll",
74
- "argument": "Snapshots[].Status",
75
- "expected": "available"
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
- "argument": "Snapshots[].Status",
81
- "expected": "failed",
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}/*.md"
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: { bukets: [{name: 'my-bucket' }] },
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.stub_resposnes(:list_buckets, {
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/2014-11-06/api-2.json",
3
- docs: "#{Aws::API_DIR}/cloudfront/2014-11-06/docs-2.json",
4
- paginators: "#{Aws::API_DIR}/cloudfront/2014-11-06/paginators-1.json",
5
- waiters: "#{Aws::API_DIR}/cloudfront/2014-11-06/waiters-2.json",
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
  })
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
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.1.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-18 00:00:00.000000000 Z
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/2014-11-06/api-2.json
43
- - apis/cloudfront/2014-11-06/paginators-1.json
44
- - apis/cloudfront/2014-11-06/waiters-2.json
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.5
389
+ rubygems_version: 2.4.6
390
390
  signing_key:
391
391
  specification_version: 4
392
392
  summary: AWS SDK for Ruby - Core